News for hackers. Stuff that matters.

niloc132

Re:At long last, InfoWars is ours on Monday April 20, 2026 @01:59PM (#47838152)
Or perhaps obvious parody content, such as the type The Onion might publish.
Re:Show HN: Skir – like Protocol Buffer but better on Monday March 09, 2026 @12:06PM (#47310908)
JSON is slightly worse than you describe - the JSON language doesn’t restrict you to 64bit floats, but most implementations do as you describe. On the other hand, the JSON language doesn’t support NaNs or infinities, so the union of language and implementation means that in practice JSON is strictly weaker than IEEE 754.
Re:Simple Screw Counter on Tuesday March 03, 2026 @08:34AM (#47232087)
If you count by threes, the ones place is unique until you pass each multiple of 30 - 3, 6, 9, _8, _1, _4, where was I? I hadn’t made it to 30, ends with a 4, must be 24. 27, 30, 33, _6…

Serves as a sort of checksum, as long as you know roughly how many you have and just the last digit.

Re:Scientists discover recent tectonic activity on the moon on Sunday February 22, 2026 @07:44AM (#47110566)
The meteorite believed to have killed the dinosaurs was about 66 MYA, https://en.wikipedia.org/wiki/Cretaceous%E2%80%93Paleogene_e... - which is more recent than 124 MYA.
Re:You Don't Have Time Not to Test on Sunday April 06, 2025 @08:27AM (#43600961)
I find them vital for side projects - especially if they get set aside for a week/month/year, I sometimes will lose track of assumptions I’ve made or use cases for apis that tests tend to expose.

Sure you can encode all of that as comments, but unless you reread each file when you return from a break, you can’t always trace those thoughts and see where they lead. On the other hand if you “find all references” in your ide or change some implementation so that a test breaks, past-you can save the day with that extra information about what they intended at the time.

Lower case headers are required for http/2 requests and responses.
Re:Making My Own Wedding Rings on Tuesday July 09, 2024 @08:37PM (#40922752)
Thanks - they opted to melt both down and poured around a synthetic opals for a new set.

Plus a new "can't hurt myself with this if I tried" ring for any time spent outside.

Re:Making My Own Wedding Rings on Tuesday July 09, 2024 @08:42AM (#40915418)
Another anecdote for your collection: my father fell off a ladder last year - not far enough to sustain any injury, but far enough to catch his ring slightly in trying to regain his balance. Finger ended up swelling enough that the ring was a problem, ended up having to be cut off.

I wouldn’t have imagined that a fall off of the second step of a ladder could result in the destruction of a 40 year old wedding ring either, but here we are!

Re:How to Produce Green Hydrogen for $1/kg on Saturday March 09, 2024 @11:42AM (#39652827)
I believe we were explicitly told that attention is all you need.
Note that the neighbor’s dad does eventually get a name, as he assists as a birthday party and then grumbles about how they aren’t doing it correctly.
Re:City-Wide IMSI-Catcher Detection on Wednesday August 23, 2023 @08:38PM (#37243758)
“43. If it's stupid and it works, it's still stupid and you're lucky.”

https://tvtropes.org/pmwiki/pmwiki.php/Quotes/SchlockMercena...

I like it as a single appliance to replace a rice cooker, crock pot, and simplify a few things that might be made on the stove.

* hard boiled eggs

* rice

* cheesecake

* yogurt

* chicken wings/drumsticks

* steel cut oats

None of this is terribly amazing, but it is nice to just be able to get some of this stuff cooked simply.

Ah thanks, that does indeed line up the numbers I had misunderstood.
> A gallon of gas is 8887 grams/gallon.

That doesn’t seem right, gas is 20-30% lighter than water and water is only 8lbs~=3600 grams.

Re:The Beginner's Guide to over­Complicating Coffee on Saturday February 25, 2023 @01:46PM (#34939265)
I couldn’t drink it every day, but I can’t imagine a better solution for backpacking.
We are mostly targeting enabling GWT applications to be able to (relatively seamlessly) update to J2CL as a compiler, but are definitely interested in apps or libraries starting their lives as a plain Java project and expose it to JS/TS/closure in a variety of ways.

Aside from the github repo, most of the conversation as we work on this happens at https://gitter.im/vertispan/j2cl - feel free to stop by to ask any questions or share a use case that seems under-represented.