HNHacker News
TopNewBestAskShowJobs

glhaynes

8,577 karma · joined July 21, 2009

submissionscomments
glhaynes··on Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GBps Memory Bandwidth
The earlier post was referring to "a typical REST server" in a context of the claim that memory bandwidth "is becoming the ultimate spec".

simdjson (impressive as it may be) existing as an interesting project seems likely to imply that most JSON parsing isn't done with such performant methods on "the typical REST server".

EDIT: Seeing that it's used in many projects including Node.js shifts me back to thinking more highly of the claim that memory bandwidth is becoming the ultimate spec!

glhaynes··on Amazon Unveils Graviton4: A 96-Core ARM CPU with 536.7 GBps Memory Bandwidth
My first guess would've been that JSON encode/decode wouldn't be memory bandwith-bound because it involves so many operations on single bytes at a time, most of which would be in the cache after the page has been brought in initially. Of course maybe much of that is done with SIMD these days?

Anyway, I have near-zero experience in this area so I'm mostly just posting this hoping for someone to explain why I'm wrong.

glhaynes··on Transistor first reported as "little brain cell"
I've seen quite a bit of USA stuff from ~the 1940s–1950s (maybe even some of the 1960s?) use the term "electronic brain" interchangeably with "computer".
glhaynes··on Super Mario RPG is an endearing, perplexing relic
I enjoyed this, thanks for sharing. That's sad about the 15 year friend disappearing.
glhaynes··on DOS_deck: Play DOS games in the browser with full controller support
Looking at The Black Cauldron, which I'm very familiar with, it's stretched and manually resizing to 4:3 looks right. I think the thing is, the rendered image isn't being stretched, but the problem is that it _should_ be: because the 320×200 resolution that this is emulating has non-square pixels on the 4:3 displays it was displayed on. Essentially everything today uses square ones. It'd need to be 320×240 to have square pixels on a 4:3 display.

As to why the cursor in C&C is a perfect circle: I'm guessing it's because the C&C authors didn't adjust for non-square pixels. So it would've looked slightly-taller than a perfect circle on original hardware.

glhaynes··on Windows CE's final day
I picked up an IBM WorkPad z50[1] in ~2000 at a fire sale price. It felt in many ways like good laptops do today: small, light, quiet (no fan nor spinning disk), instant-on, long battery life, reliable. I can see why people didn't buy them (new, they cost a good chunk of what a "real" laptop would, but couldn't do nearly as much, basically just run a very stripped-down version of Office), but I always had a fondness for that little machine and only realize how much of the user experience was ahead of its time when looking back on it.

[1] https://en.wikipedia.org/wiki/IBM_WorkPad_Z50

glhaynes··on Dave Cutler on Windows [video]
At the time, Windows NT was lauded for having better security than its competitors. I remember “Department of Defense C2 level security” being invoked often. It was a major selling point, though one that didn’t feel relevant for most users (in fact, lots of people felt like “why would I need this?”; it made it seem like an OS that wasn’t for “normal users”).

Early ’90s conceptions of security—both what makes it and how relevant it is/for whom—don’t match our expectations or what we consider state of the art today.

glhaynes··on Apple's use of Swift and SwiftUI in iOS 17
I believe you’re right, thank you!
glhaynes··on Apple's use of Swift and SwiftUI in iOS 17
...so while all this is going on, the Office org came up with its own in-house GPU-accelerated UI introduced in Office 2013 which we can all agree is slow, bloated, glitchy (y'ever used Excel with a 500Hz mouse?), but also proprietary and undocumented, so the wider Windows ecosystem can't benefit from the Office org's framework which would have otherwise (almost) neatly filled the gaps left-behind by the Windows org.

That's funny, just a few hours ago I was looking at some pics of Office 95 running on Windows 95 and reminiscing about how Office's menu bars and toolbars looked/worked differently than the system standard ones despite both being presumably worked on in parallel. Some things never changed.

glhaynes··on Apple's use of Swift and SwiftUI in iOS 17
Additionally, until very recently, there was no (practical) way to reach the performance potential of manual memory management in pure Swift: all heap management was done via Automatic Reference Counting (ARC). A series of "ownership" features have been getting integrated into the most recent versions of the language that let you avoid that runtime cost while retaining memory safety (at the expense of more complex code — the vast majority of code should still use ARC). That makes Swift much more suitable for lots of "systems programming" than it was just a few months ago. https://www.swift.org/blog/swift-5.9-released/#ownership
glhaynes··on Apple's use of Swift and SwiftUI in iOS 17
Oh, very cool. I’d missed that somehow. Thanks for the link!
glhaynes··on Apple's use of Swift and SwiftUI in iOS 17
I don't believe the new Foundation is shipping with any released versions yet, is it?
glhaynes··on Apple's use of Swift and SwiftUI in iOS 17
Objective-C programmers say this, but I note that I've never once heard a Swift developer complain that it's too hard to discover API interface or keep things non-`public`.
glhaynes··on LLMs can't self-correct in reasoning tasks, DeepMind study finds
Isn't this just arguing for giving it more text to do text generation from?
glhaynes··on Sonoma's log gets briefer and more secretive
Yes. It doesn't surprise me that some organizations want to spy on their users, but I'm thankful Apple is making it harder for them to do so without making it transparent to the end users what's going on.
glhaynes··on Bus Sniffing the IBM 5150
I remember! My dad had an extra 3090 metal badge (maybe 2–3× the size of the ones on PCs) that we had glued over our XT's badge for a while lol
glhaynes··on Bus Sniffing the IBM 5150
Did anyone call them by their numbers back in the day? I grew up the child of an IBMer and only recall hearing "PC", "XT", "AT". There were some big IBM machines and displays that would be referred to by numbers ("3090", "8514") but I never heard that for the PC system units.
glhaynes··on Windows NT 3.1 on Dec Alpha AXP
>Bill Gates was seriously arguing for having no virtual memory on this OS!

That’d surprise me. This was a time when one of the major limiting factors to NT adoption was it needing “a lot” of RAM. And he’d had plenty of experience with virtual memory, including his own company’s Xenix and OS/2.

glhaynes··on Apple will no longer fix the $17,000 gold Apple Watch
What about a 17th century dueling pistol?
glhaynes··on Apple will no longer fix the $17,000 gold Apple Watch
If I buy a WWI-era pistol, they’ll fire it before I fork over the cash? Surely not, right?
glhaynes··on A revelation about trees is messing with climate calculations
A lot of those same people seem to treat indigenous people as outside of being touched by the "original sin" that the rest of us are.
glhaynes··on A revelation about trees is messing with climate calculations
Some of the most unreligious people I know are also the most bought-into the idea of a nature/humans dichotomy.
glhaynes··on UTM: An Apple hypervisor with some unique extra abilities
Wow it really needs a Window > UTM (⌘O) menu. But in the meantime, try File > New… or Open… to get back to the "main" window.
glhaynes··on In a Git repository, where do your files live?
I feel like git culture is one of the worst about these sorts of things. I've run into people that think you're a loser if you don't use it from the command line, but my commits using a GUI client are much cleaner and I seem to have much less trouble than they do.
glhaynes··on Bug in macOS 14 Sonoma prevents our app from working
Every time anything breaks in macOS, people come out to claim that the Mac is dying and Snow Leopard [which shipped with a bug that deleted lots of users' home folders] was the one true version. This wouldn't have happened if Steve Jobs were still alive. Netcraft now confirms that the BSD-based macOS is dying.
glhaynes··on How the iMac Saved Apple
For a while there it was off by default, but I'm fairly sure it's back to being on out of the box on current machines. It's also now exposed through the UI: Settings > Sound > Play sound on startup.
glhaynes··on Replacing the bad flyback transformer in Apple's Studio Display 17"
I've never worked inside a CRT (but may need to soon) and am not great at electronics repair, but I'm a little surprised you describe yourself as having a lot of skill but still tend to avoid them. From my understanding, it's straightforward to reliably discharge them and make them safe to work on. Do you think it's easier to get this wrong than I've understood or do you just feel uneasy about it in general? Just curious!
glhaynes··on Cool Retro Terminal
I can easily imagine how stickiness helped, but how did wobbliness?
glhaynes··on A case for toe socks
How would you know?
glhaynes··on Notes on Vision Pro
At 1:31:50 in the Keynote video they mention “Bluetooth accessories like Magic Trackpad and Magic Keyboard” and show those on a table and a person typing on the keyboard. I don’t believe the cursor of the trackpad is shown (but I’m on my phone and my eyes aren’t as good as they used to be!). I bet it’ll work like on iPadOS.

There are a LOT of WWDC sessions on visionOS; hopefully it’s shown off in one of them. EDIT: Trackpad usage shown here https://developer.apple.com/wwdc23/10076?time=914

← PreviousPage 6 of 34Next →