HNHacker News
TopNewBestAskShowJobs

terinjokes

833 karma · joined August 9, 2010

Software Engineer in Amsterdam, Netherlands.

https://terinstock.com

[ my public key: https://keybase.io/terin; my proof: https://keybase.io/terin/sigs/khnEj_l9Vwl5RMdfFgWBuouTVsqfpj7REAudE4WdUkQ ]

submissionscomments
terinjokes··on The state of binary compatibility on Linux and how to address it
Yeah, I reached out to Dan a few months back. Unfortunately, didn't have a copy anymore (and they were awesome enough to even check backups, props!). At this point I'd be happy with just the headers, the ones from "0.2001061600-2.3" just a few months later seem different enough.

Not a blocker for what I'm working on, but more of an itch to track down the lost version.

terinjokes··on The state of binary compatibility on Linux and how to address it
The OpenAL source tarball that was imported into Debian as version "0.0.200101102349-1".
terinjokes··on US Administration announces 34% tariffs on China, 20% on EU
Amazon is pretty good at handling VAT and all the import paperwork if it's sold as "Fulfilled by Amazon", regardless if it's the local Amazon site, or the US or Japan sites. I've ordered from all 3.

Even eBay has sorted this out now for orders from the US, with VAT and import fees baked into shipping costs. They give sellers the address for their warehouse in Chicago. eBay then forwards as the seller of record.

terinjokes··on The state of binary compatibility on Linux and how to address it
All since ~mid 2005. Unfortunately a tarball I've been looking for was added before then, but replaced before a release was cut (so it's also missing from those archives).
terinjokes··on The state of binary compatibility on Linux and how to address it
I've recently had to do this (to bisect when a change introduced a superficial bug into a 20-year-old program). I think "simply run" is viewing Linux of that era through rose-tinted glasses.

Even for simple 2D "Super VGA" you're needing to choose the correct XFree86 implementation and still tweak your Xorg configuration. The emulated hardware also has bugs, since most of the focus is now on virtio drivers.

(The 20-year-old program was linked against libsdl, which amusingly means on my modern system it supports Wayland with no issues.)

terinjokes··on Ask HN: What are you working on? (March 2025)
I've got two main projects I'm working concurrently on in my free time:

- Repairing an Apple II+. So far I've converted it to run on 230V and picked up the A2DVI to connect to modern displays. Next working on cleaning up the floppy drives and repairing the one that doesn't work.

- Reverse engineering the Tandy Z-PDA. I want to be able to synchronize with modern desktop Linux applications, and also eventually write my own PEN/GEOS applications for the PDA.

terinjokes··on Everyone knows all the apps on your phone
> Sounds like a broken web app.

>

> You are currently using a webapp that doesn't do this. It's called Hacker News, and it never asks me to login every time on my phone.

Every time I visit Hacker News on my iPad I'm logged out. Apple has decided that if you don't visit a website often enough it will expire all your cookies for the site.

In practice that means I can log in to HN while I'm at the cafe one weekend and be logged out by the time I visit the next weekend.

terinjokes··on Debian bookworm live images now reproducible
Which is also used when the contents of a derivation will be included in a zip file. The Unix epoch is about a decade older than the zip epoch.
terinjokes··on SoftBank Group to Acquire Ampere Computing for 6.5B
AFAICT LOM only has three commands "PowerON", "PowerOFF", and "Reset", a far cry from what other BMC provide. It also requires another Mac in the same LAN to be the controller, and you cant use static IPs (which is pretty common for BMC VLANs).

Also it seems unsupported for the Mac Pro (2023) this thread is about?

terinjokes··on SoftBank Group to Acquire Ampere Computing for 6.5B
No BMC, severally limiting remote management, so operations teams responsible for physical servers don't want to touch it.

JetKVM is a remote KVM, not remote management. It does not have the same integration into the internals of a server.

terinjokes··on I-cant-believe-its-not-webusb: Hacking around lack of WebUSB support in Firefox
If you're on reasonably updated distribution, setting the GROUP in the udev rule might be causing issues. The [uaccess way][0] is to just set the TAG.

    SUBSYSTEMS=="usb", ATTRS{idVendor}=="vendor_id", ATTRS{idProduct}=="product_id", MODE="0660", TAG+="uaccess"
The Arch Wiki also has this note:

> For any rule adding the uaccess tag to be effective, the name of the file it is defined in has to lexically precede /usr/lib/udev/rules.d/73-seat-late.rules.

If your application is running as a different user, or in a Flatpak or snap, you may need some additional or alternative configuration.

[0]: https://wiki.archlinux.org/title/Udev#Allowing_regular_users...

terinjokes··on Y Combinator urges the White House to support Europe's Digital Markets Act
You need to be tethered to enable the JIT, without it UTM is very slow. Even TinyCoreLinux was extremely slow.
terinjokes··on Netboot Windows 11 with iSCSI and iPXE
You should speak with your lawyers for concerns about licensing.

I'd note that the installation media was not modified (the DVD ISO provided by Microsoft was used unmodified), only the preinstallation media was modified (governed by ADK license).

As an individual installing onto one machine already licensed, I'm not really worried here.

terinjokes··on Netboot Windows 11 with iSCSI and iPXE
I have rEFInd on a USB stick because I need to recover bootloaders on machines often enough. I commented on Lobsters recently the errors I've seen over the years.[0]

systemd-boot installs itself as bootx64.efi (or platform equivalent) if it doesn't already exist, and most motherboards will scan for it, which has reduced how often I need the USB stick.

[0]: https://lobste.rs/s/c6rk0l/14_years_systemd#c_e3dvnm

terinjokes··on Netboot Windows 11 with iSCSI and iPXE
Thanks, I skimmed some details about iBFT (mostly reading what the Linux kernel does with it) before writing the post, and came away with it likely being a difference in how things were hooked up in BIOS vs UEFI systems. Thanks for your perspective on it!
terinjokes··on Netboot Windows 11 with iSCSI and iPXE
These are the GUIDs from the [Discoverable Partitions Specification][dps] should you want to learn more about it (or the GUIDs for non-amd64 systems).

[dps]: https://uapi-group.org/specifications/specs/discoverable_par...

terinjokes··on Netboot Windows 11 with iSCSI and iPXE
Since the goal was just to have non-virtualized Windows to satisfy game developers, I haven't tried much else. Sorry.

> all the exampled online seem so outdated.

Many of the guides felt like they've been only slightly dusted since the Windows XP days. I've seen none that even hinted at making the DVD ISO a target, leading me to believe it wasn't well supported 20 years ago.

terinjokes··on Netboot Windows 11 with iSCSI and iPXE
Hey Kenton!

I figured you had done something similar with the LAN Party House. If I hadn't figured it out I was going to ask/look for your setup.

> You observed some slowness using Windows over the network.

Mini-ITX makes it a bit difficult to upgrade to 10GbE (only one PCIe slot!), and the slowness isn't bad enough in-game to deal with upgrading it just yet.

> BTW, a frustrating thing: The Windows 10->11 updater also seemingly fails to include network drivers and so you can't just upgrade over iSCSI.

I've read (and also observed, now) that if you install directly on iSCSI Windows doesn't make the recovery partition. This evidently also breaks 10->11 upgrades.

terinjokes··on The History of S.u.S.E
I think I've encountered bugs in every distro's installer from 24 years ago. Fortunately, in 86box it's less painful than I imagine you went through.
terinjokes··on Some flag emojis aren’t working on Chrome on Windows
Still annoyed I have to patch in en_NL on all my systems because glibc developers don't think it's legitimate.
terinjokes··on Caltrain's electric fleet more efficient than expected
Which nearly any campus police will tell you during orientation.
terinjokes··on Using eSIMs with devices that only have a physical SIM slot via a 9eSIM SIM car
Just an end user, so don't quote me on this, but I think that requirement was largely a legacy Sprint requirement.

I've purchased newer Pixel devices from my local shop and activated Google Fi just fine overseas. (with the caveat that I might not have all of T-Mobile's bands if I'm back in the US).

terinjokes··on WorstFit: Unveiling Hidden Transformers in Windows ANSI
>> Those aren't the only options. You (or someone) could also write your own compatibility layers for the APIs that avoid some of the problems I mentioned (e.g., by producing errors on inconvertible characters, by being compatible with former Windows versions, by not affecting other DLLs in your process, etc.)

> That's akin to writing a partial C library. If MSFT makes UTF-8 as the codepage work well enough I'd rather use that.

I found out about activeCodePages thanks to developers of those compatibility layers documenting the option and recommending it over their own solutions.

> The upstream is often not paid for this. Even if they get a PR, if the PR makes their code harder to work on they might reject it

The project I work on is an MFC application stemming from 9x and early XP and abandoned for 15 years. Before I touched it it had no Unicode support at all. I'm definitely not being paid to work on it, let alone the effort to convert everything to UTF-16 when the tide seems to be going the other direction.

> Your program is declaring that everything in the process is UTF-8 compatible, but those DLLs might not be compatible with that, and so you're just praying that they don't use -A functions in an incompatible manner.

Programs much, much, much more popular than mine written by the largest companies in the world, and many programs you likely use as a developer on Windows, set activeCodePage to UTF-8. Notwithstanding the advice in the article to set it globally for all applications (and it implies it already is the default in some locales). Those DLLs will be upgraded, removed, or replaced.

terinjokes··on WorstFit: Unveiling Hidden Transformers in Windows ANSI
Expanding on this a bit, if the manifest is available at compile time it's included as a resource in the executable by the RC resource compiler. You can embed a manifest into an existing executable with mt.exe. Embedding the application manifest is recommended.

If you can't embed it for some reason, then you can distribute the application manifest side-by-side with the executable by appending ".manifest" to the binary filename. In this case probably already have defensive checks for other resources not being found if a user copies just the exe, and if not can add one and exit.

terinjokes··on WorstFit: Unveiling Hidden Transformers in Windows ANSI
Many libraries I've encountered have defines available now to use the -A APIs; previously they were using -W APIs and converting to/from UTF-8 internally.

As for my application, any wchar conversions being done by the runtime are a drop in the bucket compared to the actual compute.

terinjokes··on WorstFit: Unveiling Hidden Transformers in Windows ANSI
The position I got reading documentation Microsoft has written in the last two years is the opposite: set activeCodePage in your application manifest to UTF-8 and only ever use the "ANSI" functions.
terinjokes··on Assembling a Game Boy Game with Meson
Nothing in my post is related to the Chromatic, as I've never heard of it before your comment.

That said, I share in your excitement for new Game Boy games. I occasionally pop over to the RetroBreak YouTube channel to see their reviews of new games. (Though clearly not often enough, as their latest video is about the Chromatic.)

terinjokes··on I Don't Have Spotify
At least for me in the Netherlands, for the past month if I click a link to a specific song, I get redirected to a page to start a radio based on the artist and encouraged to upgrade to Premium.

I've had to get friends to share the titles manually, before I found Odesli to be able to convert them.

terinjokes··on VMware Workstation Shifting from Proprietary Code to Using Upstream KVM
Virtualization (Hyper-V) can also be enabled, without enabling the Hyper-V Manager or WSL2 Windows Components, if the "Core Isolation" security setting is enabled.
terinjokes··on Making FreeDOS Smaller [video]
> This might change is the 16bit mode gets finally removed. If something can't run DOS, then it's technically not a spec-compliant PC.

Manufacturers have been shipping devices without Compatibility Support Module for several years now, so I have many x86(-64) devices that can't boot into an DOS.

I suppose in theory a UEFI+CSM firmware could be flashed, but I'm not aware of anyone adding back in CSM support on devices shipped without it.

← PreviousPage 2 of 14Next →