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

The problem with floating point comparison is not that it's nondeterministic, it's that what should be the same number may have different representations, often with different rounding behavior as well, so depending on the exact operations you use to arrive at it, it may not compare as equal, hence the need for the epsilon trick.

If all you're comparing is the result from the same operations, you _may_ be fine using equality, but you should really know that you're never getting a number from an uncontrolled source.


> If you have a system, go is not the right language for it.

FTFY


Didn't know about Pixelorama, looks interesting.

Libresprite (since aseprite went evil) has been the only editor I can use for over a decade, glad there are others now.


They went evil? How? Folks always seem to like them


They turned proprietary. That's why libresprite exists.


Oh. So they're not actually hurting anybody, they're just offering goods for sale...

Evil is a strong word to use for offering goods for sale


Curious on what languages have a hard time saying Libre.

Every latin-derived language (which are most of the western languages) can pronounce it naturally, and even English speakers can approximate it well enough to be understood (even though they're incapable of pronouncing the non-retroflex `r`).


> even English speakers can approximate it well enough to be understood

I'd go for "LEE-broffis" which I don't think is all that hideously far away?


Wait, it's not leeb-er?


The "bre" in "libre" is pronounced similarly to "zebra". Kinda. It'll get you in the ballpark, which is good enough for an Anglo.

"This Hour has 22 Minutes" had a great sketch where both a Francophone (Gavin Crawford impersonating Chantal Hebert) and an Anglo (I forget who) were stumbling over proper nouns from the opposite language. The joke was that both were trying too hard to pronounce things "properly". It came off as inauthentic and awkward.


> Your browser is unable to run this demo.

Fortunately it doesn't work.


You can use lit-html to get declarative reactivity, but then it's just basically react again.


On the inside, but not on the outside. Web Components standardize the interface for components to interact like MCP standardized the protocol but the server itself can be in and language. You can't just mix Solid, React and Vue components together but you can use any web component in a Lit app.


Running apps is what RAM should be used for, not wasted on the base system.


This is just slop.


It was already brought down by Rockstar as well.

This isn't just reverse engineering, it's a decompiled source from the original binary.


Would that be Urban Chaos?


Yes! That's the one! Thanks! Omg, I need to play that game now!


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: