Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sehugg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
sehugg
1y ago
Spritemate is built with TypeScript + Vite + JQuery, and has a pretty organized structure: https://github.com/Esshahn/spritemate (I do not condone its use of the 'any' type everywhere tho) I wouldn't use
62.
▲
by
sehugg
1y ago
You mean in 2025 someone is getting paid in their job to mess with x86 segment registers? I'd do that stuff for free.
63.
▲
by
sehugg
1y ago
Very cool, I wish the blogs on his site supported RSS like his Reasons to be Cheerful blog.
64.
▲
by
sehugg
1y ago
Haha, yeah this kind of stuff made HTTP long polling requests over mobile pretty fun. IIRC, we ran HTTP over IMAP and POP3 ports for cases where port 80 was unreliable.
65.
▲
by
sehugg
1y ago
Hopefully the "+" is the thing causing the periodic skipping when I stream music via AirPlay from my Mac's SSD to my TV.
66.
▲
by
sehugg
1y ago
My least favorite animation is in Mobile Safari, when you tap the search bar and it expands and brings up the controls at the bottom. There's a sort of shiny sweep transition from top to bottom, but it's distracting and it's
67.
▲
by
sehugg
1y ago
Last time I played a well-maintained Asteroids cabinet, bullets had obvious bloom, but I was surprised to not see a trail. There wasn't any noticeable bloom or trails on the other objects. I believe the arcade monitors have fast decay
68.
▲
by
sehugg
1y ago
My VanillaTS project has been working well for the last six years. The most painful part was when I moved everything to esbuild w/ async imports (and ES2017 modules) but now I don't even think about it. npm audit gets kinda mad th
69.
▲
by
sehugg
1y ago
On the Vectrex you could only draw lines between 256 x 256 grid points, so in theory 800 x 600 with antialiasing would be enough. But dunno if it would have the same contrast, OLED is as good as you can get I guess.
70.
▲
by
sehugg
1y ago
AliExpress has these 4-inch "flat CRTs" that look like they scan the vertical axis onto a sort of parabolic screen. I've thought about playing with one, but decided I don't want to risk shocking myself for a tiny distort
71.
▲
by
sehugg
1y ago
Turbo Pascal could check ranges on assignment with the {$R+} directive, and Delphi could check arithmetic overflow with {$Q+}. Of course, nobody wanted to waste the cycles to turn those on :)
72.
▲
by
sehugg
1y ago
GNAT has been around since the 90s, based on GCC. My university did some work on the compiler and used it for some undergrad courses like real-time programming. IIRC there was an attempt to use Ada for intro to programming courses, but I th
73.
▲
by
sehugg
1y ago
It doesn't help that app developers don't have a clear idea of how long persistent data will be kept around, as eviction policies are based on complex and often-changing rules/heuristics, despite the availability of navigator
74.
▲
by
sehugg
1y ago
I have tried to get Claude to compile arbitrary C++ projects with Emscripten, and its track record is about as good as mine.
75.
▲
by
sehugg
1y ago
Notable is the recent introduction of Mardi Gras Service, a route from New Orleans from Mobile that hasn't been used for passenger trains since Hurricane Katrina. The maximum one-way fare is $15, and its already popular enough that the
76.
▲
by
sehugg
1y ago
Eh? I'm pretty sure it's had 64-bit math for awhile -- i64.add, etc.
77.
▲
by
sehugg
1y ago
It's kinda nice to have 1st class exception support. C++ exceptions barely work in Emscripten right now. Part of the problem is that you can't branch to arbitrary labels in WASM.
78.
▲
by
sehugg
1y ago
The Atari 2600 had pretty good vertical resolution (assuming you could set up the next line in 76 cycles) but limited horizontal resolution. A 3x5 font is possible, but good luck distinguishing N from M. This font seems to use characters up
79.
▲
by
sehugg
2y ago
OS/2 was pretty boss. I could fuzz test multiple DOS apps while running two Windows 3.1 sessions that communicated over a null modem cable.
80.
▲
by
sehugg
2y ago
Also WWOZ ( https://wwoz.org/ ) from New Orleans.
81.
▲
by
sehugg
2y ago
You could probably monitor the DOS VM to scrape camera/object matrices, render the static world in a huge GL (or what have you) display list, and then the other objects. The mesh formats were reverse engineered long ago.
82.
▲
by
sehugg
2y ago
The engine only copied pixels from fast main RAM to slow VGA RAM when they changed value, so using flat shading for most of the objects was a necessity for performance. IIRC all of the planes used Gouraud shading.
83.
▲
by
sehugg
2y ago
I really like my old 2010 pictures on my Canon PowerShot, I wish I had shot in RAW mode. I even miss my iPhone X, the AI upscaling has gotten out of hand.
84.
▲
by
sehugg
2y ago
It's difficult to impress how cool it was to have a open world flight sim / 3D movie editor in 1995. There's not much like it even today; GTA V's movie editor is close. A small "scene" grew up around it, and th
85.
▲
by
sehugg
2y ago
And if you write an assembler in C#, you could have an assembler in an assembly.
86.
▲
by
sehugg
2y ago
I've noticed that LLMs have a hard time remembering all the constraints of 8-bit programming. Like sometimes it assumes that 6502 registers can have a value above 255, or in C it assumes that ints have 32/64 bits.
87.
▲
by
sehugg
2y ago
TFA mentions the Venona files and the cable that was the basis for this memo.
88.
▲
by
sehugg
2y ago
Good riddance. Crosswalks at intersections are nearly obsolete due to the thick A-pillars in modern cars. I would rather have mid-block crosswalks with warning lights and traffic calming devices.
89.
▲
by
sehugg
2y ago
Many years ago, someone made a pretty good PoC: https://www.youtube.com/watch?v=CHps2SecuDk
90.
▲
by
sehugg
2y ago
GetTickCount() still exists and still returns a DWORD.
More ›