HNHacker News
TopNewBestAskShowJobs

thought_alarm

5,142 karma · joined April 6, 2010

submissionscomments
thought_alarm··on macOS Golden Gate Is a Buggy Mess
The golden rule with MacOS is never update before February, or after August.

I waited until Aug 31 before updating to MacOS 26, a new record for me. I very much hope 27 will be ready to go by Feb 1.

thought_alarm··on Logo Programming
Try hideturtle or ht.
thought_alarm··on Logo Programming
This on-line version of Logo is pretty great: https://www.calormen.com/jslogo/
thought_alarm··on Why Vancouver is always a stand-in for San Francisco in movies and TV shows (2021)
Or in the case of Superbad, a film based on Seth Rogen's experiences as a Vancouver teenager in the late 90s, Vancouver is a stand-in for Los Angeles, which is a stand-in for Vancouver.
thought_alarm··on Stop the Apple Music app from launching
I use the built-in `hidutil` utility to remap F3-F9 to my preferred keys.

F3/F4 are remapped to the keyboard backlight brightness.

F5-F9 are remapped to be plain old function keys.

This post has a lot of great info: https://news.ycombinator.com/item?id=35555475

This is the mapping I use on an M1 MacBook:

    hidutil property --set '{
      "UserKeyMapping":[
        {"HIDKeyboardModifierMappingSrc":0x0000FF0100000010,"HIDKeyboardModifierMappingDst":0x00FF00000009},
        {"HIDKeyboardModifierMappingSrc":0x0000000c00000221,"HIDKeyboardModifierMappingDst":0x00FF00000008},
        {"HIDKeyboardModifierMappingSrc":0x0000000c000000cf,"HIDKeyboardModifierMappingDst":0x00070000003e},
        {"HIDKeyboardModifierMappingSrc":0x000000010000009b,"HIDKeyboardModifierMappingDst":0x00070000003f},
        {"HIDKeyboardModifierMappingSrc":0x0000000c000000b4,"HIDKeyboardModifierMappingDst":0x000700000040},
        {"HIDKeyboardModifierMappingSrc":0x0000000c000000cd,"HIDKeyboardModifierMappingDst":0x000700000041},
        {"HIDKeyboardModifierMappingSrc":0x0000000c000000b3,"HIDKeyboardModifierMappingDst":0x000700000042}
      ]
     }'
thought_alarm··on Stop the Apple Music app from launching
iTunes didn't go anywhere.

Just about everything I watch or listen to is served from the same iTunes Library I've had for over 20 years. It's more important to me now than it has ever been.

thought_alarm··on I’m writing again
It's always fun when an old relic pops up in ye olde RSS reader. His feed would have been one of the originals I started following 25 years ago or so.
thought_alarm··on What if there was no BASIC in EndBASIC?
I would really love to see something like EndBASIC built around a Lisp-family language.

I've recently been playing around with some of the old Logo implementations from the 80s and I've been really charmed by just how powerful and elegant that language can be once you've wrapped your head around it. It makes BASIC look barbaric by comparison.

thought_alarm··on What if the Apple ][ had run on Field-Sequential?
Hypothetical question:

Let's say that back in 1930s when they were assigning frequencies for the broadcast television channels, they allocated enough extra bandwidth for a future color (chroma) signal, apart from the existing monochrome (luma) signal.

If the bandwidth was available, would it have been possible to include separate chroma and luma components in the broadcast signal without the two interfering with each other, thereby producing a much cleaner color image while maintaining backward compatibility with the original B&W TV sets?

thought_alarm··on Apple Studio Display and Studio Display XDR
I just use some old textbooks to raise the height of the display:

- Design Patterns by the Gang of Four

- Modern C++ Design by Andrei Alexandrescu

- Code Complete from the Microsoft Press

That's enough old paper to raise the display height to a comfortable level.

thought_alarm··on Xcode 26.3 – Developers can leverage coding agents directly in Xcode
Release notes: https://developer.apple.com/documentation/xcode-release-note...

Surprisingly, this version does not require MacOS 26 (Tahoe).

thought_alarm··on Stewart Cheifet, creator of The Computer Chronicles, has died
Computer Chronicles and MotorWeek were fixtures of my Saturday afternoons as a young kid in the 80s. 35+ years later both shows became fascinating and priceless time capsules of the era.
thought_alarm··on 30 years ago today "Netscape and Sun announce JavaScript"
That's also why Apple renamed OpenStep to Cocoa. Java was supposed to be the primary development language for Mac OS X (because Java and Cocoa go great together).
thought_alarm··on A brief history of Time Machine (2024)
When you hear people complaining about Time Machine you can stop listening once they mention their NAS. Time Machine over the network has never been properly supported and is inherently unsafe.

Time Machine to a local drive connected via USB is great.

If you want to backup over the network you will have to find another solution.

thought_alarm··on Microsoft BASIC for 6502 Microprocessor – Version 1.1
I'm very surprised it's organized as just a single 162 kB source document instead of being divided into smaller modules to make the code easier to work with, speed up build times, etc.

Were PDP-10 text editors of the day able to easily work with such large documents? And how long would it typically take to assemble all of that code in one go?

thought_alarm··on Bill Atkinson has died
Bill Atkinson was a very fascinating guy. His interview with Leo Laporte from 2013 is a great listen.

Here's a little 6 minute clip: An acid trip, and the origins of Hypercard.

https://www.youtube.com/watch?v=bdJKjBHCh18

thought_alarm··on The Coleco Adam Computer
Sorry, but none of this correct.

While it's true that early production machines had reliability problems, the same was also true for the C64. The machine we got for xmas 1983 was as solid as a tank.

The tapes were extremely robust and resistant to abuse, much more so than floppy disks. I tried to fry tapes, and couldn't.

For games, the tape drives were surprisingly effective. Sequential data transfer rates are faster than the C64 disk drive, and unlike the C64 they operate independently from the main CPU, with DMA access to the full 64 kB address space.

This means that many games were up and running in seconds and could load upcoming levels in the background while you were playing the game.

(The tape drives were much less effective for random-access, file-based storage, as the seek times were obviously atrocious compared to a disk drive.)

First-party software was also very high quality.

The problem was the business plan. Coleco made the same mistake as Atari and Texas Instruments, in that the business plan was modelled after the game console business. The tapes were expensive and proprietary when they didn't need to be, and the 3rd-party software ecosystem was completely locked down. Technical info was unavailable for hobbyists and independent developers.

By the time the Adam is released, the C64 and Apple IIe are already entrenched in the home markets with exponentially expanding library of independent software. The Adam's locked-down ecosystem couldn't complete.

It only took one year for hobbyists to completely reverse engineer the Adam, at which point some interesting independent software starts to appear. But by that time the business was already dead.

thought_alarm··on Redesigned Swift.org is now live
If that kind of complexity frightens you then you probably want to stay away from C++ entirely.
thought_alarm··on Yes, the Apple II MouseCard IRQ is synced to the VBL
It's not odd at all for a machine that was designed in 1976/77.

However, for a machine released in 1983 (the Apple IIe) it is indeed very odd. But the IIe is an odd machine in many ways.

The Apple II platform stagnated as Apple poured all their resources into the Apple III (which has all those features and much more).

The Apple II refused to die, so Apple assigned a pair of engineers to design a cost-reduced version of the Apple II, and this became the IIe. The goal was only to minimize manufacturing costs, so the new features like timers were off the table.

The IIe became an unexpected smash hit in the home and education markets (stealing those markets from the 128k Mac), and only then did Apple devote some new resources to the platform (and reposition the 128k Mac as a laughably underpowered productivity machine).

The Apple IIc (1984) was the first Apple II to get a proper modern makeover. Of course it was a flop, while the odd-ball IIe continued to fly off the shelves.

thought_alarm··on Glider for Apple II
This game achieves its smoothness by synchronizing to the video refresh. That's not a particularly challenging thing to do, but it wasn't a viable option for commercial games back in the day due to uncertainty of how to do it properly across the different Apple II models.

Apple added VBL polling with the IIe in 1983, and then broke it a year later with the IIc. And an unfortunate typo in the IIc technical reference manual meant that developers couldn't figure out how to do it properly.

The only official, cross-platform way to do it was through the mouse firmware, but most users didn't have the mouse hardware installed.

This game uses the mouse firmware, if available (II+ w/ mouse card, IIc, IIgs), to generate VBL interrupts. On the IIe without a mouse card, it polls for VBL.

By the way, if you're running this game on the Virtual ][ emulator for MacOS, be sure to disable the mouse card. Its emulated mouse card only generates VBL interrupts at 30 Hz, so the game runs at half speed.

thought_alarm··on I ditched the algorithm for RSS
I never left RSS.

After Google Reader shut down paid for Feedly for a while before switching to self-hosted FreshRSS. (https://freshrss.org)

I'm not a web guy and I detest all forms of system administration, but I had no trouble setting it up on my host. I've got it configured to update its feeds one per hour from 6AM to 8PM. It just does its thing, and works fine on both desktop and mobile.

thought_alarm··on Performance (On an HP48GX Graphing Calculator)
Flashback to lurking around comp.sys.hp48 looking for downloads.

https://groups.google.com/g/comp.sys.hp48/c/BS7c8hRAau0/m/P5...

thought_alarm··on Apple Photos phones home on iOS 18 and macOS 15
It does not send your photos to be indexed on Apple servers.
thought_alarm··on Microsoft Confirms Password Deletion for 1B Users
It sounds like you're arguing against passkeys, two-factor authentication, and password managers.

Do you use single, easy-to-remember plain-text passwords for all of your accounts and services? If not, you need to understand what the recovery process is when your passkey/2FA/pw-manager is unavailable or lost.

thought_alarm··on M4 Mac mini's efficiency
I wish the same could be said of the Studio Display, which is quite power hungry. If the Mac is running then the display is using minimum 10 Watts of continuous power usage at all times, fan running, with the screen off.

I guess it takes 10 Watts to maintain the Thunderbolt controller, USB hub, A13 processor, and run the fan.

Power usage does drop to <1 Watt when the Mac is actually sleeping, unless anything is plugged into the USB hub. Even an empty iPhone cable will cause the display to draw 5 Watts. It's disappointing.

thought_alarm··on DB48X: High Performance Scientific Calculator, Reinvented
It needs https.

Use https://48calc.org/db48x/index.html

thought_alarm··on Sublime text started adding a “.s” to new files
It's just a bug.

The system save panel (NSSavePanel) is only supposed to infer the file extension when it has been given a list of supported file types/extensions. If the user does not specify a file extension, NSSavePanel will use the first extension in the supported list. If the user specifies an unsupported extension, they see an error message.

Text editors like VSCode and Sublime Text would configure NSSavePanel to allow any file type/extension, which means it's supposed to just accept whatever the user types.

thought_alarm··on Emulating the Early Macintosh Floppy Drive
It's all just an evolution of their existing disk drive technology that started well before the last-minute decision to go with the Sony 3.5" drive.

The variable drive speed comes of the development of the "Twiggy" drive, which was an 850 kB 5.25 disk format originally intended for the Apple III in 1980 but never worked reliably.

BTW, the Atari ST uses the same floppy disk format as the IBM PC, 360 kB per side.

The Amiga uses a variable drive speed like the Mac, but they eke out extra capacity by eliminating sectors. This allows an extra 512 bytes per track, but the trade off is that the disk controller can only read or write an entire track at a time, rather than individual sectors.

An infamous Apple II copy protection scheme used the same trick to expand 5.25 disk capacity from 16 sectors to 18 sectors (512 bytes per track).

thought_alarm··on The Apple IIGS Megahertz Myth
> So I wonder why it wasn't added. It wouldn't have been hard, exactly

The answer to the question "Why didn't Apple add X/Y/Z to the Apple II?" is that they did add those features, starting with the Apple III in 1980, and continuing with the IIc and IIgs.

The problem is that there was a 2-year window between the release of the III and the explosion of the home/education market that Apple ignored the II and assumed sales of that quirky, obsolete system would dry up.

The IIe was designed within that window, and the skeleton crew of engineers who worked on the IIe did not have the green light to add significant new features. The only goal was to reduce manufacturing costs and maintain compatibility.

It wasn't until after the IIe was locked in that the Apple leadership began to realize the importance of the II within the suddenly booming home/education market, and only then did they put any significant resources back into the platform.

The IIc (1984) and IIgs (1986) were the result of those renewed efforts, but by that time the cat was already out of the bag. The IIe remained the most popular machine of the platform, and the "modern" features added to the IIc and IIgs were left unused by most developers and users.

thought_alarm··on The Apple IIGS Megahertz Myth
> I believe the //e and the //c could generate interrupts on vertical blanking

VBlank interrupts were only available through the Mouse Firmware, which was built into the IIc but a rarely-installed option on the IIe. As a result, there were no interrupt-driven games for the 8-bit Apple II machines.

The complete lack of consistent frame rates and timing is a hallmark of Apple II gaming.

Page 1 of 28Next →