HN user

kayge

481 karma

Programmer by day, bug bounty hunter by night; lots of other stuff in between. At protonmail if you'd like to reach out.

Posts15
Comments197
View on HN
Claude Fable 5 1 month ago

Do you think the models are ready for the next level? I believe that would be: Pelican feeding Spaghetti to Will Smith.

Yea I'm curious if any of those negative commenters considered that the author is German, and English may not be their primary language — but no, apparently there is a new surefire way to detect AI content. Not forced enthusiasm. Not em dashes. Just too many sentences in a row starting with the word Not.

Yep, just a little more context and all/most of the models would do much better. And sure, most average+ intelligence adults whose first language is English (probably) don't need this, but they're not the target audience for the instructions :)

"The 'car wash' is a building I need to drive through."

or

"The 'car wash' is a bottle of cleaning fluid that I left at the end of my driveway."

https://i5.walmartimages.com/seo/Rain-x-Foaming-Car-Wash-Con...

And for anyone who is nervous about clicking that video link at work: BBC in this context stands for British Broadcasting Corporation, which is a fairly well respected news group.

Eat Real Food 7 months ago

The new pyramid looks like a decent step in the right direction, and as other commenters have already mentioned: better definitions of "highly processed" vs "real food" might be helpful (but I think most of us probably have a fairly clear idea of what they mean).

Two more things I think should be considered:

1. Change the Nutrition Facts labels to say "Lipids" instead of "Fats". Seems like no matter how many times "fat doesn't make you fat" is repeated, many people are still scared of consuming fat.

2. Reconsider or recalculate the old 2000 calorie per day guidance. I have no actual data to support this — fitness and nutrition self-experimentation is just a hobby of mine — but I have a feeling that the "Average American" (which may also need to be defined somewhere) probably only needs around 1500 calories per day to maintain a healthy weight. There is obviously a wide range of needs depending on height, activity level, occupation, etc. but I feel like if someone is considering a 500 calorie treat, it would be more helpful if they thought "wow this is 1/3 of my daily calories... maybe I should split it with a friend" instead of "meh this is only 25% of my daily calories <chomp>"

Counterpoint: I've been using em dashes and bulleted lists in my writing (especially in work emails) since around 2015. There are dozens of us! Or maybe I'm just an LLM in a meat suit — who knows at this point.

any value over 2^31 seems to give random results.

Wow he really lucked out... On his way to perfecting a fully functioning and performant Even/Odd Detector, he stumbled upon a fully functioning and performant Coin Flip Simulator!

Size of Life 7 months ago

I don't mind at all, your rewrite looks much more elegant. Thanks!

Size of Life 7 months ago

If anyone wants to set this up to auto-run all the way to the right and then all the way back to the left, here is a vibe-coded (sorry) browser console script. Makes a great "screen-saver" if you kick off the script and then put your browser in full screen mode :)

    (function() {
        let direction = 'right'; // Start by going right
        let intervalId;

        function getCurrentAnimalName() {
            const animalDiv = document.querySelector('.animal-name');
            return animalDiv ? animalDiv.textContent.trim() : '';
        }

        function pressKey(keyCode) {
            const event = new KeyboardEvent('keydown', {
                key: keyCode === 37 ? 'ArrowLeft' : 'ArrowRight',
                keyCode: keyCode,
                code: keyCode === 37 ? 'ArrowLeft' : 'ArrowRight',
                which: keyCode,
                bubbles: true
            });
            document.dispatchEvent(event);
        }

        function autoScroll() {
            const currentName = getCurrentAnimalName();
            
            if (direction === 'right') {
                pressKey(39); // Right arrow
                
                if (currentName === 'Pando Clone') {
                    console.log('Reached Pando Clone, switching to left');
                    direction = 'left';
                }
            } else {
                pressKey(37); // Left arrow
                
                if (currentName === 'DNA') {
                    console.log('Reached DNA, switching to right');
                    direction = 'right';
                }
            }
        }

        // Start the interval
        intervalId = setInterval(autoScroll, 3000);
        
        // Log start message and provide stop function
        console.log('Auto-scroll started! To stop, call: stopAutoScroll()');
        
        // Expose stop function globally
        window.stopAutoScroll = function() {
            clearInterval(intervalId);
            console.log('Auto-scroll stopped');
        };
    })();

If you want to skip to December 31st, you can enter the following into your browser console to make all the tiles/doors openable:

  const elements = document.querySelectorAll(".countdown-calendar__door");
  elements.forEach(element => {
    element.classList.add("will-open");
  });

Yep! Nothing worth sharing/publishing from me, but quite a few mini projects that are specific to my position at a small non-tech company I work for. For example we send data to a client on a regular basis, and they send back an automated report with any data issues (missing fields, invalid entries, etc) in a human-unfriendly XML format. So I one-shotted a helper script to parse that data and append additional information from our environment to make it super easy for my coworkers to find and fix the data issues.

Maybe they aren't, they could just be hosting these interviews as a fresh source of data for Claude to slurp up! ... sorry, I shouldn't be stirring up conspiracy theories this late on a Friday.

Arrrgh I remember an interview where I got this lucky... and I ended up failing it miserably. It was a python-heavy position, and I had been watching some Peter Norvig videos in the weeks beforehand to prepare. They asked me to implement some basic functionality of a poker game, which was EXACTLY what one of the videos was about. I was trying so hard not to copy his approach, and my own 'natural' approach would have been fairly similar (but not nearly as elegant), so by trying to avoid both of those approaches I made a complete mess, haha