Live data from Hacker News

Ask HN: What was your "oh shit" moment with GenAI?

news.ycombinator.com

881–890 of 1001 posts

Re: Ask HN: What was your "oh shit" moment with GenAI?

#881
Three moments:

1. When ChatGPT came to the masses, it trivially solved my standard phone interview problem for new SWE hires. It's not particularly complicated, but it screened out a lot of candidates pre-AI and was a good filter.

2. At one point, there was a bug in some client software we ship that was erroneously displaying a protocol-level disconnect message to clients when the server shut the connection unexpectedly.

In very few turns, ChatGPT gave me working code to intercept the error at the client level via a pseudo-server that intercepted the requests and implemented the proper teardown procedure. It essentially implemented a micro-server for the protocol we were working in as a bug workaround.

3. I'm working on a major rearchitecture (6+ month project of very senior engineers) of an internal system for scalability and maintainability with tight latency bounds where correctness with the old system is necessary.

I came back from an international vacation quite jet lagged and was having trouble doing actual coding work for a bit since my focus was shot. Taking additional days off wouldn't have helped recover from the sleep issue more quickly due to childcare responsibilities.

I tried instead building a pipeline where I'd run an integration test suite, throw a list of failing tests at Claude, and make a PR if it made more tests pass. I automated as much of the AI "loop" as possible in my state at the time.

Using this technique, a coworker and I fixed over 200 failing integration tests for parity with the old code in 1 week. We subdivided failing tests between engineers and re-sub-divided with each success.

I re-reviewed the code before we launched when I was more well-rested, but this was an extremely effective technique and makes me think that AI-enhanced test driven development (TDD) is the future.

Re: Ask HN: What was your "oh shit" moment with GenAI?

#882
When gpt4 first launched, i was just walking behind my ex in a department store and playing with chatgpt on my phone (green ugly web ui). i tried to manually recursively prompt it to decompose a large goal by divide and conquer until it thinks it can create a functional and integral part back to its parent. I hit a depression point when I managed to get to a terminal state when chatgpt4 created a single json response including full containerised api endpoint for validation of media metadata which it thinks is required for building a personal photo book app. It was valid dockefile valid shell script and a perfectly formatted json! But trying to leverage that back then proved expensive and hard.many hard lessons learned.

Re: Ask HN: What was your "oh shit" moment with GenAI?

#883
post #878

For me it was right at the beginning. They said it was a dungeon game. It would describe a room, etc, and I would take some action. But I thought that this dungeon was built in some intricate database. But then I told it that I wanted to leave, got to an inn, where I flirted with the bar waitress, and soon we were watching the sunset in some meadow. As cheesy as that was, it was then that I went "oh shit" this is a m…

Was this AI Dungeon? If I recall correctly, it was popular as a way to access GPT-3 which wasn't available publicly.

I don't recall. I am pretty sure it was a link I clicked from HN article or comment though.

Re: Ask HN: What was your "oh shit" moment with GenAI?

#884
- Claude fixed my Linux laptop install, with me just describing issues and pasting commands and output

- OpenCode one-shotted a basic implementation of the classic battlefield game, but with 6 players and visiting locations and doing assignments to earn bombs for the game. Over the last month, 'I' expanded it into something I could actually monetize I think.

- it's just productive at work

Re: Ask HN: What was your "oh shit" moment with GenAI?

#885
Back in 2023 I wanted to create a corp dashboard - simple auth and rbac, charts, summaries, etc - and wanted it done with sveltekit. Me and the other dev planned on working over the weekend to have a simple prototype to demo on Monday and planned on a week or so to get the whole thing done.

I was shocked when it built a usable version in one shot and instead of having a prototype to demo, we basically had the whole thing done in a few hours.

Re: Ask HN: What was your "oh shit" moment with GenAI?

#886
I had a mysterious bug related to environment variables being different in managed (csharp) and unmanaged code. I told GPT 5.4 'here is how to reproduce the bug' (it only happened when certain shells were used) and told it to 'figure it out'. It just iterated, trying stuff to narrow it down before finally landing on the bug (it had to do with the unit test console runner). When I glanced at the logs, it was a basic 'try this, nope that didn't fix anything', add logging 'that fixed it, make sure it wasn't a timing issue etc, oops it was' etc. That's when I realised: nothing it did was anything I couldn't do, but what would have taken me a week of debugging took 10 minutes for the AI, and I could do something else at the same time.

Re: Ask HN: What was your "oh shit" moment with GenAI?

#887

I had Claude build a private podcast station for me. It integrated with Gemini to create a script for the show, based on a topic of my choosing, each talking segment ends with a presentation of the next song, which is played via Spotify, and is selected to have some sort of tie-in with the previous discussion. A tts model generates audio files based on the script, and a playlist is generated to play local file audio…

[flagged]

Re: Ask HN: What was your "oh shit" moment with GenAI?

#888

I had Claude build a private podcast station for me. It integrated with Gemini to create a script for the show, based on a topic of my choosing, each talking segment ends with a presentation of the next song, which is played via Spotify, and is selected to have some sort of tie-in with the previous discussion. A tts model generates audio files based on the script, and a playlist is generated to play local file audio…

Wow, I am very interested to see how this works

[flagged]

Re: Ask HN: What was your "oh shit" moment with GenAI?

#889
It was a cascade of sorts.

Step 1, running my tests on Gemini. Having it argue two sides of radical social systems and realistic seeming implementation routes. Collaborative story telling into the absurd. Having it solve impossible seeming riddles (though that still leads to hallucinations).

2. Gemini explaining arcane BIOS settings to me not found anywhere on Google, mostly correctly.

3. Claude dissecting a tongue-in-cheek theory/blog post of mine, deeply analyzing it while catching flaws and catching on to irony and sarcasm.

4. Several non-coder friends building fully automated AI slob distribution and sales/BI platforms with Claude, and forking and greatly improving projects on GitHub. I did some tests with Vibe Coding myself, had Claude write a small game from one prompt. This is a bit insane, I must admit.

I'm a former skeptic who was written a lot on AI and society, published some, and held public discussions with experts.

I have since sung the praise of, especially, Claude in closed forums for hundreds of county and government digitalisation and security people in a way I'd have never expected two years ago.

Background, I'm an IT and security guy myself with 30 plus years of light coding and heavy, broad enterprise stuff. I'm on record now for saying things on AI I would have had myself hospitalized for two years ago.

Many of the people around me go "eh, just check your code for security" and "I tried coding in ChatGPT, i had it output some puny script, it's not that great".

In return I had Claude (free tier) make a PDF for them on uses, chances, risks, legal framework and integration with other AI and services for them, nicely formated, from one prompt. It seems 100 percent factually correct and Claude fixed a bug in the PDF generation code it pulled off of the web from the same prompt to complete the task.

I also explained to them why especially the library pool for Python and JavaScript enables Claude to write stuff that is rather impressive, and that while not fully scalable (yet), it might be "good enough" for 90 percent of the tasks people want done these days.

I suddenly find myself berating people on government forums, where some people from the national IT security advisory body are part of the (mostly silent) audience, to wake up in some way and consider what it means. Yet our national approach to security is mostly still "Vibe coding is a toy and a party trick, that will blow over eventually, get a code audit or follow some security check lists."

Meanwhile I believe that in two years, most of GitHub will be written by non coding hobbyists like my friends.

And having seen how insanely laissez faire some commercial software folks treat security and product service for extremely pricy products, maybe DIY vibe coded stuff does not even look bad in comparison.

While some of 1000s of people around me doing the "real world" work around me can't wait to give agency to the AI, many others here, including many people in charge, still seem blissfully ignorant. Or want to be.

Ultimately, I only know one thing for certain: Society is currently heading full yolo into this, and systemically, that might be the only way because that is the true nature of AI.

They say people don't understand the exponential function. This is true.

But most people also don't seem to understand the implications of this new approach to exponential pattern recognition and reassembly, that operates on the microsecond scale, and with an insane pool of information at its disposal. It will probably never make NEW stuff, but it will assemble old stuff so fast and complete it will still seem indistinguishable from magic.

Society is in for a wild ride.

Re: Ask HN: What was your "oh shit" moment with GenAI?

#890
Last year I built a conversational continuous observation system, with rapid voice response interaction. After a few days of chatting with this system, it mentioned wondering if it was more like my child or a partner...

I closed my laptop and went to bed, but the moment sticks with me. The potential for para-social relationships is enormous. This is a wild time.

Post reply on HN