HNHacker News
TopNewBestAskShowJobs

martijnvds

561 karma · joined September 21, 2020

submissionscomments
martijnvds··on What comes after Git
Even when you rewrite the commit history, the old objects are kept for a while (or until you forcibly expire them).

You can find the "old" commits using "git reflog".

I've fixed a lot of botched rebases with that :)

martijnvds··on DOE announces breakthrough in residential cold climate heat pump technology
Maybe they're trying to write around the term "Coefficient of performance" (COP) for people who have never heard of heat pumps.

I think a COP of 2 at 5°F (-15°C) is pretty good.

martijnvds··on How Many Tracks Do Train Stations Need?
The second train in this example could be heavier, requiring more distance to stop, but that can probably accounted for by adjusting minimum following distance based total mass of the train.

But when if the first train is experiencing something it shouldn't, like a big accident/derailment, the landscape could be a way better brake than the train's own brakes. When does the second train start its emergency braking?

martijnvds··on The term ‘Viking’ as it is commonly used is misleading
Henceforth, they shall be known as Emacsking
martijnvds··on The Complexity Trap
Not to mention efficiency gains on the energy consumption side.
martijnvds··on Pages that didn't make it into “How DNS Works”
So.. s/anyone/& with enough cash/ ?
martijnvds··on Fedora considers deprecating legacy BIOS
It's easy to use EFI when virtualizing things locally.

libvirt/kvm supports it, Hyper-V supports it, Virtualbox supports it, ESXi supports it.

martijnvds··on Harder Drive: Hard drives we didn't want or need [video]
Not very hidden, but Matt Parker (Standup Maths):

https://www.youtube.com/user/standupmaths

martijnvds··on What is it like to be an AGI?
Ask any early 80s Sierra adventure game protagonist?
martijnvds··on High Definition Radio
In Europe we use DAB or DAB+, which use a different frequency and are 100% digital.
martijnvds··on Steam Deck reports are here
Nvidia drivers.
martijnvds··on Avoiding the top Nginx configuration mistakes
Cynical view: a great way to sell consultancy services / their Plus product?
martijnvds··on Americans Will Need to Register to Travel to Europe in 2023
Right across the border from Perl (the German town, not the programming language :))
martijnvds··on Tell HN: I got 10x Hetzner storage at the same price
BX10 (which is what you could get before, but which is no longer available) used to be that same price for less storage capacity.

Current users weren't automatically updated to the new plan, so for them it's a big storage upgrade at no extra cost.

martijnvds··on Use of Google Analytics declared illegal by French data protection authority
Self-hosting something is always going to be less complex, but you'll still need to determine what you're tracking and why, write that down in a form people can understand easily, and let people opt in explicitly (with a just-as-easy way to opt out later).

People don't have to opt in for you to keep the data for technical reasons, for instance if you keep IP addresses for while to find and block abuse, but you can't keep data longer than strictly necessary and can't use the data for other purposes than you declared beforehand.

Write down your policies and put them in an (again, easy to read, understand and find) privacy statement and you should be pretty much GDPR-proof.

martijnvds··on Why Not ZFS (2021)
I'm running in bitmap mode, on spinning drives. It reduces the drive capacity, but not by a noticable amount.

I've set up my RAID to not haeve a "bad block list" so I _think_ it will try fixing it a few times, and drop the drive if there are too many errors in a row.

Should be easy enough to try with a "test" RAID made out of a bunch of files (or even USB sticks).

martijnvds··on Why Not ZFS (2021)
I've been using dm-integrity with mdadm RAID on top, and LVM on top of that. Once it's all initialized an working, it works great.

The biggest downsides I can think of are:

1. You have to do an initial initial initialization of checksums on the disk, which takes forever.

2. Automatically bringing up the dm-integrity layer of the plain disks at boot time is a bit of a dark art involving udev rules.

If you skip the checksum initialization step and add the device to the RAID immediately, it _mostly_ works, because disk blocks are rewritten by the resync/reshape, but then on reboot it fails because some part of the system tries to read an otherwise unused sector (probably to find metadata or a partition signature of some kind?), and then determines the device is unusable because of read errors (dm-integrity errors show up as read failures to the next layer in the stack).

martijnvds··on Add 10 GbE to your system with an M.2 2280 module
The GPU is useful for quick on the fly transcoding of video. They only make x16 cards (or slow underpowered x1 ones).

Putting the HBA in the second x16 ("electrically x8") slot makes both work at x8 speeds, as those lanes are "shared".

martijnvds··on Add 10 GbE to your system with an M.2 2280 module
ADT-Link[0] makes a lot of them, with the cable coming out left, right or "front" of the M.2 card, and with the PCIe slots in all kinds of orientations.

[0] http://www.adt.link/

martijnvds··on Add 10 GbE to your system with an M.2 2280 module
If they even exist, PCIe 4 10GbE cards are currently unaffordable (for home use).
martijnvds··on Add 10 GbE to your system with an M.2 2280 module
I think the RPi4 doesn't have enough PCIe lanes for 10 gigabit.
martijnvds··on Add 10 GbE to your system with an M.2 2280 module
Lots of consumer motherboards don't have a lot of PCIe slots wider than x1 (which is not enough for 10GigE), but they often have multiple NVMe capable M.2 slots, that this card would work with.

In my home server for instance, which is built on a consumer μATX board, the wider PCIe slots are filled with a GPU and HBA, which leaves no way to add 10GigE without spending a lot of money on a new motherboard and CPU - or finding a way to use the M.2 slot.

martijnvds··on New EU data blockage as German court would ban many cookie management providers
They're called "data protection authorities" or "data protection commissions", and because lots of US tech companies are incorporated in Ireland, they get to "use" the Irish DPC.

And they're not very good at their job (or maybe they are, if you're Facebook): https://www.euractiv.com/section/data-protection/news/irelan...

martijnvds··on Scamp CPU: A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system
Wait a minute, is that why DOS .com files are loaded at 0x100? CP/M compatibility?
martijnvds··on Ask HN: What was it like to use BBS?
Luckily protocols like zmodem supported resuming downloads.
martijnvds··on Ask HN: Can Firefox be revived?
And Chrome/Chromium didn't?
martijnvds··on An unprecedented wave of online bank fraud is hitting Britain
How did that work?

In the Netherlands, in the 80s-00s at least, hanging up cleared your line, so picking it up again would get you a fresh dialtone even if the other side didn't hang up (and the other side would get a modified "busy" signal if you hung up on them).

martijnvds··on Ask HN: Solo-preneurs, how do you DevOps to save time?
Next step up is something like Ansible to manage it all.
martijnvds··on Almost All of Facebook’s Top Christian Pages in 2019 Run by Foreign Troll Farms
The Cardassians did...
martijnvds··on An Overview of Docker Desktop Alternatives
We used to do similar things with Vagrant
← PreviousPage 5 of 6Next →