HNHacker News
TopNewBestAskShowJobs

mrpippy

3,373 karma · joined February 7, 2012

Apple platforms -- embedded -- Linux/UNIX -- retrocomputing

https://bslabs.net

https://twitter.com/realmrpippy

submissionscomments
mrpippy··on Memory-safe sudo to become the default in Ubuntu
Did you tell him you were a fan of just the kernel, not the userland?
mrpippy··on A 20-year retrospective on reverse-engineering an Apple bug
Full title is "A 20-year retrospective on reverse-engineering an Apple bug and a very desperate plea for help." but that was too long. Rosyna is awesome and needs help.
mrpippy··on QModem 4.51 Source Code
Yikes, my mistake, fixed.
mrpippy··on QModem 4.51 Source Code
Original post when John Friel passed away: https://news.ycombinator.com/item?id=42551900
mrpippy··on I bought a Mac
Once the G5 came out (without support for booting OS 9 bare-metal) they continued selling special config of the MDD for another year.
mrpippy··on I bought a Mac
Yeah, note that’s at idle! Under full CPU load mine (12 core) pulls 230 watts. I’ve never stressed the GPUs at all.
mrpippy··on A port of Mbed-TLS for the Classic Macintosh OS 7/8/9
I found Rez to be a really good option, see https://github.com/macssh/macssh/blob/master/macssh/source/A... or https://github.com/macssh/macssh/blob/master/macssh/source/t.... Modern macOS still includes Rez and DeRez too!

And new-enough CodeWarrior should be fine with regular \n line-endings and '/' in #include.

mrpippy··on A port of Mbed-TLS for the Classic Macintosh OS 7/8/9
I was previously maintaining an mbedTLS fork for classic/Carbon Mac OS (https://github.com/bslabs/mbedtls) for use with libssh2, they were still keeping C89 compatibility at the time which was helpful.

Newer versions of CodeWarrior do support C99, but I can't remember if Pro 6 (the last version with a 68k toolchain) does. My go-to was Pro 8, since it's Carbonized you can run it natively on OS X (PPC or under Rosetta 1). It's possible to take the Pro 6 68k tools and use them in Pro 8 as well: https://github.com/macssh/macssh/wiki/Using-CWPro6's-68k-too...

mrpippy··on FSKit: Implement a file system that runs in user space
macOS/iOS/iPadOS has used this internally for several years to implement various ancillary filesystems (like FAT), but macOS 15.4 is the first time it's been exposed as a supported API to 3rd parties.
mrpippy··on Apple needs a Snow Sequoia
It didn’t have anything to do with Sarbanes-Oxley (that was iPhone/iPod touch updates), Apple just charged for OS updates back then.

Snow Leopard was notably cheaper than Leopard ($30 vs $130), Lion was $30 on the App Store, Mountain Lion was $20, then Mavericks and everything after have been free.

Snow Leopard did have a long life though, it was the last OS that could run PowerPC apps, also the last to run on the original 32-bit Core Duo Intel Macs.

mrpippy··on History of Null Pointer Dereferences on macOS
On macOS x86_64, the size of PAGEZERO cannot be set to 0, but it can be set to 0x1000 (4 KiB) instead of the default 4 GiB. Wine does this to support running Windows EXEs which need to load at a fixed address.

On ARM64, PAGEZERO's size cannot be made smaller than 4 GiB.

mrpippy··on Two new PebbleOS watches
I'm sure Intel's law firms are drafting a cease & desist as we speak. I'd bet $10 the name changes.
mrpippy··on Apple restricts Pebble from being awesome with iPhones
Your headphones were probably sending an AVRCP 'play' command every time they connect. This was a common problem with older car radios too.
mrpippy··on Lego says it wants to start to bring video game development in-house
WBD has had a crushing amount of debt since it was formed a few years ago, and they’re in “sell everything that’s not nailed down” mode.
mrpippy··on Kleene as a Container Management Platform for FreeBSD
Podman is in an experimental state for FreeBSD 14, and can even run Linux containers using the Linux binary emulation. https://podman.io/docs/installation#installing-on-freebsd-14...

(I'm personally using it now to run the ArchiveTeam Warrior docker container on FreeBSD, albeit with a few hiccups)

mrpippy··on Better text rendering in Chromium-based browsers on Windows
My overriding feeling after reading this is: displaying text is a key job of a web browser. A browser that showed no text would be useless. And yet, after learning that Chromium's text looked wrong on Windows (by far the most important platform for Edge and Chrome), it took 4 years for the Chromium and/or Edge teams to fix it.

4 years of user research?

3 years to respect the user's ClearType Tuner values?

Being a regression from pre-Chromium Edge, this should have been a release blocker on Chromium-based Edge. Instead, text looked bad for 4 years.

mrpippy··on The missing cross-platform OS API for timers
macOS does support EVFILT_TIMER, unfortunately the man pages that Apple hosts are very out-of-date. A more recent page (https://www.manpagez.com/man/2/kqueue/osx-10.13.1.php) shows support, and it's been there since at least 10.9 (2013).
mrpippy··on Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon
I’m pretty sure there’s no way to pass USB devices through to a guest VM when using Virtualization.framework (which is required for running macOS VMs)
mrpippy··on Show HN: Lume – OS lightweight CLI for MacOS and Linux VMs on Apple Silicon
You can do this without virtualization/emulation, pass ‘-arch x86_64’ or ‘-arch arm64’ to clang. Or both, for a universal binary. And on Apple Silicon, you can test them both thanks to Rosetta.
mrpippy··on Ask HN: Trying to find a post about some OS developer in the 80s coding by hand
I think there’s a story in the Bill Gates biography “Hard Drive” about when he flies to MITS in New Mexico to show off BASIC (I think), then realizes he forgot to write a bootloader, so does it on the plane on a yellow legal pad. Toggles it into the Altair during the demo and it works on the first try.

(Might have a lot of details wrong)

mrpippy··on Docker Desktop Broken on Mac OS Update for over a Week
Correct. Developer ID certs cannot be revoked self-service, you have to email Apple.
mrpippy··on Docker Desktop Broken on Mac OS Update for over a Week
Judging from the script linked here (https://github.com/docker/for-mac/issues/7527), Docker’s Developer ID cert was revoked by Apple. Are…they going to explain why/how that happened?
mrpippy··on Qantas South Africa flights delayed by falling debris from SpaceX rockets
I don't think there are diversion points, you either keep going to destination or turn around. The A380 is rated for ETOPS-330, that's 5hr30min from a diversion airport.
mrpippy··on Wine 10.0 RC4 – Run Windows Applications on Linux, BSD, Solaris and macOS
No, those were just the changes since v9.22
mrpippy··on The legacy of NeXT lives on in OS X (2012)
A bunch of documentation was posted here, although I’m not sure the links still work (might need to go through archive.org)

https://www.pagetable.com/?p=211

mrpippy··on macOS 15.2 breaks the ability to copy the OS to another drive
It’s documented in their older blog posts, I believe they use the ‘asr’ utility to copy the OS install. The many partitions that make up a macOS install means that cp or rsync isn’t enough. dd would do it, but at great cost in flexibility (can’t back up to a smaller disk, or select files) and speed
mrpippy··on DIY Apple iPad Magic Keyboard Portrait Mode Smart Connector Cable
Upgrade to a used or new-old-stock M2 iPad Pro instead?
mrpippy··on Gitlab names Bill Staples as new CEO
Don’t forget Docs (Wordly)
mrpippy··on Latest graphics driver for your Surface devices powered by Snapdragon X Elite
You have to create an account to download updated graphics drivers? Bad move, Qualcomm.
mrpippy··on Why is Apple Rosetta 2 fast? (2022)
Before Sequoia, a Linux VM using Rosetta would have TSO enabled all the time.

With Sequoia, TSO is not enabled for Linux VMs, and that kernel patch (posted in the last few weeks) is required for Rosetta to be able to enable TSO for itself. If the kernel patch isn't present, Rosetta has a non-TSO fallback mode.

← PreviousPage 4 of 27Next →