Hacker Newsnew | past | comments | ask | show | jobs | submit | physicles's commentslogin

I’ve had a couple wins with AI in the design phase, where it helped me reach a conclusion that would’ve taken days of exploration, if I ever got there. Both were very long conversations explicitly about design with lots of back and forth, like whiteboarding. Both involved SQL in ClickHouse, which I’m ok but not amazing at — for example I often write queries with window functions, but my mental model of GROUP BY is still incomplete.

In one of the cases, I was searching for a way to extract a bunch of code that 5-6 queries had in common. Whatever this thing was, its parameters would have to include an array/tuple of IDs, and a parameter that would alter the table being selected from, neither of which is allowed in a clickhouse parameterized view. I could write a normal view for this, but performance would’ve been atrocious given ClickHouse’s ok-but-not-great query optimizer.

I asked AI for alternatives, and to discuss the pros and cons of each. I brought up specific scenarios and asked it how it thought the code would work. I asked it to bring what it knew about SQL’s relational algebra to find the an elegant solution.

It finally suggested a template (we’re using Go) to include another sql file, where the parameter is a _named relation_. It can be a CTE or a table, but it doesn’t matter as long as it has the right columns. Aside from poor tooling that doesn’t find things like typos, it’s been a huge win, much better than the duplication. And we have lots of tests that run against the real database to catch those typos.

Maybe this kind of thing exists out there already (if it does, tell me!) but I probably wouldn’t have found it.


This rings a bell. The model is a search engine, that understands concepts - to some degree. It can find a concept, that you currently need.

I’ve wondered for years if this could be quantified. Three orders of magnitude totally justifies the cost, if you care about science.

Astronauts are made of different stuff. Truly the best of the best.

I was just trying to find a blog post that I read years ago where someone wrote about storing their furniture at IKEA. Couldn't find the post, but the idea helped me downsize during a recent move.

Love it. This is so clearly the way to solve the jq writeability problem. I’m going to replace jq with this immediately.

I’d love for it to be true that Trump isn’t just a narcissistic buffoon. Where are you frequently finding evidence of this?

I’m curious, do you agree with the statement, “it would be better for this personal wiki not to exist, than for it to have been built with AI”?

Because without AI it probably wouldn’t exist.


The family diary I wouldn't want to have AI written. For the family encyclopedia I might be okay to be described as a biographer would about me.

A family diary would be most valuable to me. Knowing what family members did last week, adventures they had, and written down from the horse's mouth. And shared family events, where members make the diary notes together, add quotes on things that were said, etc.

I can also imagine an encyclopedia to be valuable, but it is a different use case entirely. Many people are keen to keep track of their family tree, and record the 'official history' of the family for generations after them. I might consult it before going to a family party to re-remember what university that niece went to again. But it is a more business-like use, less fun, less valuable. Here AI is perfect to do the boring chores of keeping stuff up to date.


Heh. Trump asks the oracle at Delphi what will happen if he launches the war.

“The war will surely achieve regime change,” replies the oracle.

“Great, let’s go,” says Trump, who never read Herodotus.


You’re not missing much.

I used Cursor for the second half of last year. If you’re hand-editing code, its autocomplete is super nice, basically like reading your mind.

But it turns out the people who say we’re moving to a world where programming is automated are pretty much right.

I switched to Claude Code about three weeks ago and haven’t looked back. Being CLI-first is just so much more powerful than IDE-first, because tons of work that isn’t just coding happens there. I use the VSCode extension in maybe 10% of my sessions when I want targeted edits.

So having a good autocomplete story like Cursor is either not useful, or anti-useful because it keeps you from getting your hands off the code.


When your hardware is in the physical custody of the attacker, the threat model changes significantly. Designing a console that takes years for attackers to crack is an impressive feat of engineering.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: