HNHacker News
TopNewBestAskShowJobs

matja

1,184 karma · joined December 29, 2018

https://github.com/matja
submissionscomments
matja··on ZFSBootMenu – A boot loader to manage ZFS boot environments for Linux
Wouldn't kexec with a mounted filesystem lose the filesystem state because the kernel heap+stack is overwritten? I think ZBM copies the kernel/initramfs from the ZFS dataset (presumably to tmpfs), unmounts/exports, then kexec's, and the new initramfs imports/mounts the pool/dataset as usual?
matja··on Voting from Antarctica
Requiring to pay US taxes on your income abroad grants you the privilege of a vote :)
matja··on I help seniors with technology issues
On the laptops I've used with pre-installed Windows (which I reinstalled), the license key was in ACPI table "MSDM". I assume Windows gets it from there automatically. You can extract the license key from Linux with: cat /sys/firmware/acpi/tables/MSDM
matja··on Noise cameras to be trialled in England to tackle ‘boy racers’
I'm sure some creative people will find a way to make an EV very noisy.
matja··on Chainalysis CTO said blockchain is easier to trace than paper money
It's not a debt until the produce is sold. Any vendor can refuse to sell, which means there's no debt.
matja··on Simulating protected mode in the Z80 [video]
Yeah, he built an MMU, which is possible for any 8-bit CPU with similar features - nice work but I don't see any previously unknown features.
matja··on Pimping my Casio with Oddly Specific Objects' alternate motherboard and firmware
A microphone and https://github.com/kamalmostafa/minimodem ?
matja··on DIY out-of-band management: remote power button
Had a secure server room with a maglock with very few cardholders and forgot our cards a few times. We wired-up a CD-ROM drive to a server positioned so that it pressed the door unlock button on the wall when it was ejected, so someone could ssh in to the server and "eject /dev/sr0" to get in.
matja··on The Hummingbird Clock: date videos by background mains hum
Fun fact: The source contains: rand = (Math.floor(Math.random() * 3) - 1); vco.frequency.value += rand * hum_delta;
matja··on How to tell a mainframe from a minicomputer from a micro
If there is someone phoning you or knocking on your door when you turn it off, it's not a microcomputer.
matja··on ZFS 2.1.6
Specifically zfs-dkms + the stable kernel package ("linux") can often be an issue because I have seen the kernel version updated by Arch without ZFS support for that version (obviously not something that the Arch kernel package maintainers should care about, but it's a bit inconvenient).

zfs-dkms + "linux-lts" (longterm kernel) seems to work better than zfs-dkms + linux (stable kernel) if you're intending to do frequent system updates - I've been running this on several machines for years with no issues.

matja··on We Need New Motherboards Before GPUs Collapse Under Their Own Gravity
Wouldn't that be a cause of even more e-waste?
matja··on BigFAT – Backward compatible FAT extension for unlimited file size
They have an entire RTOS ecosystem which supports a gazillon different microcontrollers.
matja··on Why A4? – The Mathematical Beauty of Paper Size
I'd guess because 210x297 is closer to 1/16 of a m^2 than 212x300 is.
matja··on WireGuard Servers Running from RAM
Even without network logging, the hypervisor can still access the memory of the VM, parsing the kernel process and paging structures to read process memory, which can store transient logging information.

Things like AMD SEV/SEV-ES are designed to mitigate that aspect, the implementation of which can be proven to end-users of the VM by remote attestation.

matja··on Is JPEG 2000 a preservation risk? (2013)
ImageMagick and GNU parallel happily max-out all cores on my machine and convert a few hundred images per second:

    find -type f -name '*.jp2' | parallel --xargs --max-args=1 convert {} {.}.jpg
matja··on Is JPEG 2000 a preservation risk? (2013)
Well, two hard drives in RAID-0 if you want to play it back in real-time without copying it first to faster storage, because a single SATA drive cannot sustain 597.2MB/sec. Unless your definition of "basic consumer external hard drive" is an NVMe SSD over 10Gbps USB 3.2 or better.
matja··on Why walking on Legos hurts more than walking on fire or ice (2018)
Calling them Legos is torture enough
matja··on The Path Is Set for PCI-Express 7.0 in 2025
AMD EPYC is already that, a SoC - there is no EPYC chipset. They all have 8x 16-lane multi-function interfaces, which can be configured to work as PCIe, xGMI (inter-socket communucation), or SATA, as well as built-in USB, eMMC, LPC, UART, I2C, SMBus, GPIO.
matja··on Modern HDDs have gotten somewhat better
There's one that can do over 500MB/s : https://www.storagereview.com/news/seagate-exos-2x14-hdd-del...
matja··on PostScript Cartridge Plus for HP LaserJet III
And somehow, selecting the generic PCL driver always worked fine, required no 150MB download, and pressing the "Print" button caused the printer to immediately start printing. That's progress!
matja··on Shepard Tone
Reminds me of Ricardo, Butch (Butric) - Up : https://www.youtube.com/watch?v=qR-H36Vgr00
matja··on System Preferences Reimagined on macOS
True enough, exactly how Windows XP had it :) - OK/Cancel/Apply
matja··on System Preferences Reimagined on macOS
First thought, for "About This Mac" I usually want the model number and serial number.

Second thought, is it fashionable now to not include a "Cancel" button in settings dialogs?

Many times, I have navigated all of the pages of a settings dialog to change a setting or multiple settings, then realise I liked it better how it was before, and have no idea what the settings were before I changed them.

Just yesterday I wanted to try a new theme in Xfce - change the theme, not happy with it, and no idea out of the 50 themes what it was before I changed it, so now I have to go through every option to find the one that was (approximately?) what it was before.

matja··on Useless Use of "dd" (2015)
7. Write a new MBR to a disk, keeping the partition table:

    dd bs=440 count=1 if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sda
Even in the age of EFI/GPT, that still gets used often (usually VM providers that only offer MBR boot).
matja··on Intel plans immersion lab to chill its power-hungry chips
AMD's plan with EPYC Zen 4 "Bergamo", with up to 128 Zen 4c cores.
matja··on Yahoo Japan's password-free authentication reduced inquiries, sped up sign-in
How do you mitigate the privacy risk of mail providers reusing email addresses for accounts when their customers stop paying for services? (e.g., I heard that fastmail do this).

For example, user@example.com signs-in to your site and stores data they expect to be private, they stop using the mail provider and the mail provider deletes the user's account which allows it to be re-used, then another unrelated user signs-in to the site and takes-over the account.

I imagine the only viable way would be a whitelist of domains of mail providers that are known to not recycle email addresses (like Gmail), or to also check if the WHOIS data for a domain changed.

matja··on Your phone may soon replace many of your passwords
It's depends on the site that uses OpenID Connect federated sign-in if they ask for your email address from the identity provider.

An application/site can optionally request the "email" scope during OpenID Connect sign-in, but if it is not requested (only the "openid" scope instead) then the provider must not return an email address in the ID token, or an OAuth access token which is authorized for an API method which returns the user's email address (OpenID Connect Core 1.0 section 5.4 - "Requesting Claims using Scope Values").

Google implement this (https://developers.google.com/identity/protocols/oauth2/open...), by returning only a unique numeric user ID in the returned id_token. I haven't checked other OpenID Connect providers.

matja··on Interactive, file-level Time Machine-like tool for ZFS
Yep - this is the VFS shadow copy extension for samba, works great! Actually it doesn't require ZFS, just a method to create snapshots and find them - example smb.conf :

    vfs objects = shadow_copy2
    shadow:snapdir = /home/.zfs/snapshot/
    shadow:basedir = /home
    shadow:sort = desc
    shadow:format = auto:%Y-%m-%dT%H_%M_%SZ
matja··on M1 Thunderbolt ports don’t fully support USB 3.1 Gen 2
Use a filesystem that does end-to-end error detection and correction. I use ZFS on all of my USB drives (even "real" SATA and M.2 SSDs via adaptors) and it frequently finds checksum errors (and thanks to the design of ZFS, is able to completely recover without any risk of further corruption).
← PreviousPage 10 of 13Next →