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

> astronut

I honestly can't say for sure whether that was intentional or an actual typo. Good job.


"Look, Ma, I'm on the Moon!"


Elastic tabspots everywhere would be ideal. But in the real world I think 'tabs to indent, spaces to align' is the superior way, as every dumb text editor will support it.


If you're good at SQL, or SQL-like languages like Linq, it might be more efficient precisely writing a reasonably complex query than trying to explain it in detail to an AI.


I am very good at SQL, I worked half my life with SQL and teached it and know all kinds of SQL flavour. But good luck getting ahead of AI on a complex query with recursive CTEs, left outers, 625-column tables that change semantics conditional to certain prop, and then some obscure Oracle package APIs.

No way U beat an LLM on this, even on trivial ones. LLMs are better at that since at least 2024, if you haven't noticed, then you're not doing enough SQL perhaps.

But, of course it took years for people to realize they cannot outpace Visual Studio in the 90s by being very good at x86 assembly.


> You're absolutely right

This got a smirk out of me.


I'm really enjoying using LLM-isms as a whole new class of phrases I can screw around with.

It's ind of like how you can mockingly invoke politically correct language in certain contexts.


Unless it's being observed externally it is in a state of quantum uncertainty, I think.


Photons are constantly observing everything macroscopic. Asteroids are not in superpositions.


> if you [...] mentally integrate them properly.

There it is.


> Careful not to mix unions with sum types, though. The key distinction is that the latter are disjunct sets, even if you "sum" together the same type twice, you can always tell which "way" you went.

This is a really good point. I'd love to be able to have a sum type of two strings ("escaped" and "unescaped"); or any two kinds of the same type really, to model two kinds of the same type where one has already passed some sort of validation and the other one hasn't.

Edit to add: I figure what I want is for enums to be extended such that different branches are able to carry different properties.

Edit again (I should learn to think things through before posting. sorry): I suppose it can be faked using a union of different wrapper types, and in fact it might be the best way to do it so then methods can take just one of the types in arguments and maybe even provide different overloads.


Which brings us to: SpaceChem's soundtrack.


Elon Musk's ears are burning.


I don't remember which HN thread I've heard this joke originally from, but...

People in Montenegro: it's not .yu, it's .me


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

Search: