HNHacker News
TopNewBestAskShowJobs

tobyhinloopen

2,961 karma · joined August 29, 2014

submissionscomments
tobyhinloopen··on Show HN: Smooth CLI – Token-efficient browser for AI agents
I'm paying a fixed amount on Claude and other agents, so "more tokens" is "free" for me. There's a lot of niche tools out there but I think we all have "subscription fatigue".

But maybe that's just me - Maybe im just not your target audience :)

tobyhinloopen··on Show HN: Smooth CLI – Token-efficient browser for AI agents
Way too expensive, I'll wait for a free/open source browser optimized to be used by agents.
tobyhinloopen··on Agent Skills
Win developers aren't using WSL?
tobyhinloopen··on Agent Skills
Same! If I put the skill's instructions in the general AGENTS.md, it works just fine.
tobyhinloopen··on Agent Skills
ln -s to the rescue!
tobyhinloopen··on I was banned from Claude for scaffolding a Claude.md file?
I had to read it twice as well, I was so confused hah. I’m still confused
tobyhinloopen··on I was banned from Claude for scaffolding a Claude.md file?
So you were generating and evaluating the performance of your CLAUDE.md files? And you got banned for it?
tobyhinloopen··on Running Claude Code dangerously (safely)
Running it remotely on a VM seems like a very sensible option. Just don't give it permission to nuke the remote repository hah (EG don't allow force-push, use protected branches, only allow write access to branches it created)
tobyhinloopen··on Running Claude Code dangerously (safely)
How about running Claude as a different user with very limited permissions?
tobyhinloopen··on The Overcomplexity of the Shadcn Radio Button
Is this developed by these 10x developers I've heard about?
tobyhinloopen··on Porsche sold more electrified cars in Europe in 2025 than pure gas-powered cars
EU automaters fail at making modern cars. They just put a bunch of screens in there with awful software. If you go all screens, just commit like Tesla. If you can't beat Tesla, just stick with minimal screens and use buttons.

Somewhere between 2010 and 2020, most automakers went crazy with their designs and it went all downhill from there.

tobyhinloopen··on East Germany balloon escape
Your sarcasm isn’t obvious enough
tobyhinloopen··on East Germany balloon escape
Poor family members though
tobyhinloopen··on Ask HN: How do you safely give LLMs SSH/DB access?
A great start is to have LLMs use special UNIX users that can’t do anything except that you allowed them to do, including accessing the database with a read only user.
tobyhinloopen··on What an unprocessed photo looks like
The problem with their example is that you can display linear image data just fine, just not with JPEG. Mapping linear data to 255 RGB that expects the gamma-corrected values is just wrong. They could have used an image format that supports linear data, like JPEG-XL, AVIF or HEIC. No conversion to 0-255 required, just throw in the data as-is.
tobyhinloopen··on What an unprocessed photo looks like
They did:

> Sensor data with the 14 bit ADC values mapped to 0-255 RGB.

tobyhinloopen··on JSDoc is TypeScript
Oh right I forgot Javascript also runs in a browser
tobyhinloopen··on Avoid UUID Version 4 Primary Keys in Postgres
> You're not going to try and extract a timestamp from a uuid.

I totally used uuidv7s as "inserted at" in a small project and I had methods to find records created between two timestamps that literally converted timestamps to uuidv7 values so I could do "WHERE id BETWEEN a AND b"

tobyhinloopen··on Roomba maker goes bankrupt, Chinese owner emerges
Absolutely. I bought a new Roomba after my old one died and was surpised to learn it's basically unchanged and still just as stupid as the old one. Returned it, got a Dreame X40. Much better, night and day difference.
tobyhinloopen··on JSDoc is TypeScript
> Take it from a massive TypeScript nerd: JSDoc is not an anti-TypeScript position to take. It is the same powerful static analysis without the build step.

Ahum https://nodejs.org/en/learn/typescript/run-natively

tobyhinloopen··on Icons in Menus Everywhere – Send Help
I have never known! On my web apps, I _try_ to give buttons that perform an irreversible action a different color, like saving, updating, creating, deleting etc
tobyhinloopen··on Show HN: Reverse perspective camera for OpenGL (Three.js)
That's so cool! I want more cross-eye content.
tobyhinloopen··on Show HN: Reverse perspective camera for OpenGL (Three.js)
Link to live demo linked on the github -> https://bntre.github.io/reverse-perspective-threejs/

Well that is just the right amount of nauseating, trippy and interesting

tobyhinloopen··on Where do the children play?
> City living means we don't know what the other person on the road is thinking.

Usually something like "I hope I'm not late for my job" or "The weather is shit today". Other people aren't that scary.

tobyhinloopen··on Listen to Database Changes Through the Postgres WAL
We use it like this:

    CREATE TRIGGER notify_events_trg AFTER INSERT ON xxx.events FOR EACH ROW EXECUTE PROCEDURE public.notify_events();

    CREATE FUNCTION public.notify_events() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
    BEGIN
      PERFORM pg_notify('events', row_to_json(NEW)::text);
      RETURN NEW;
    END;
    $$;

And then we have a bunch of triggers like this on many tables:

    CREATE TRIGGER create_category_event_trg AFTER INSERT OR DELETE OR UPDATE ON public.categories FOR EACH ROW EXECUTE PROCEDURE public.create_category_event();

    CREATE FUNCTION public.create_category_event() RETURNS trigger
        LANGUAGE plpgsql SECURITY DEFINER
        AS $$
    DECLARE
      category RECORD;
      payload JSONB;
    BEGIN
      category := COALESCE(NEW, OLD);
      payload := jsonb_build_object('id', category.id);
      IF NEW IS NULL OR NEW.deleted_at IS NOT NULL THEN
        payload := jsonb_set(payload, '{deleted}', 'true');
      END IF;
      INSERT INTO xxx.events (channel, inserted_at, payload)
        VALUES ('category', NOW() AT TIME ZONE 'utc', payload);
      RETURN NULL;
    END;
    $$;
We found no notable performance issues. We have a single LISTEN in another application. We did some stress testing and found that it performs way better than we would ever need
tobyhinloopen··on Dark Pattern Games
Thanks for creating a guide on how to create the most addictive mobile game!
tobyhinloopen··on Yt-dlp: External JavaScript runtime now required for full YouTube support
Is this why Youtube stopped working for me on Safari? I'm sure it is one of my adblockers, but I pay for YT Premium.
tobyhinloopen··on Checkout.com hacked, refuses ransom payment, donates to security labs
What if I buy chocolate as a corporate gift to my clients?! /jk
tobyhinloopen··on Checkout.com hacked, refuses ransom payment, donates to security labs
> deduct it via taxes (essentially spending nothing)

That's not how tax deduction works.

tobyhinloopen··on Checkout.com hacked, refuses ransom payment, donates to security labs
Something being tax deductible doesn't mean it is free. It still costs money, you just don't pay taxes over that money.
← PreviousPage 3 of 34Next →