Better HN
topnewbestaskshowjobs
Log inSign up

mspreij

10 karma · joined Apr 21, 2012 (14y ago) · 9 submissions

Submissions

comment 4w ago · link · parent

Thank you for that link :-) I miss the old MacOS, often..

comment 2mo ago · link · parent

I was pretty proud of my Game of Life & Wireworld implementations for the terminal, with half-character resolution o.o; Guess I'll have to up my game and start work on Twin Cobra and Dune ][ clones.. now that I've seen it's possible..

Using sprites is clever :-) then I guess that's how these older games worked too.

comment 2mo ago · link · parent

Uh.. that looks freakin' awesome. How?!

comment 5mo ago · link · parent

https://en.wikipedia.org/wiki/ANSI_escape_code goes a bit more in-depth.

comment 9mo ago · link · parent

> CSS should NOT be becoming turing complete. Nor any other DSL

Hasn't it been so for a while? I mean I agree with you but it's a bit late

comment 1y ago · link · parent

I spent longer than I care to admit trying to find the player keys..

comment 1y ago · link · parent

Excellent idea. I could see a scifi story based on that too.

comment 2y ago · link · parent

This should help porting all the old Cobol and Perl apps out there, no?

comment 2y ago · link · parent

ChatGPT 4 pondered for a while, then started "Analyzing..", and eventually "Finished analyzing" (all following verbatim output):

python 9999999999999999.0 - 9999999999999998.0 Result 2.0

The result of the calculation 9999999999999999.0−9999999999999998.0 is 2.0.

This result may seem counterintuitive, but it's due to how floating-point numbers are represented and handled in computing. Floating-point arithmetic can introduce small rounding errors, especially with very large numbers, as precision is limited. In this case, the precision required to represent these large numbers exactly is beyond what typical floating-point representations (like IEEE 754 double precision) can handle, leading to a slight error in the calculation.