HNHacker News
TopNewBestAskShowJobs

vbernat

1,948 karma · joined October 18, 2011

Personal blog: https://vincent.bernat.ch/en/blog
submissionscomments
vbernat··on Porting Doom to the 3D0 Console
The console name is "3DO". The title should be corrected.
vbernat··on Podman Desktop: A Free OSS Alternative to Docker Desktop
All LTS versions are using 20.10.12. That's less than one year old. I don't see how horribly out of date this is.
vbernat··on Almost monospaced: the perfect fonts for writing
Iosevka, a customizable monospace font, also has quasi-proportional (almost monospace) varients: Iosevka Aile and Iosevka Etoile.
vbernat··on macOS Ventura is now available
What you describe is the cloud image. You can dd it to your hard drive and it should work as is (initial password will be displayed on first boot).

As for Debian, the slowness comes mostly for fsync calls I think. You should be able to use eatmydata to avoid this. See: https://people.skolelinux.org/pere/blog/Quicker_Debian_insta...

vbernat··on Brave browser to start blocking annoying cookie consent banners
Firefox also plans to have builtin support for auto-rejecting cookies when there is a consent banner. See https://bugzilla.mozilla.org/show_bug.cgi?id=1783015. From my understanding, this should be similar to Consent-O-Matic. It will be available on both desktop and mobile versions. This is enabled recently by default in Nightly (but I don't use Nightly).
vbernat··on Entitlement in Open Source
It looks like the change is from an upstream software. Homebrew did communicate the change, which is something that I wouldn't expect from a distributor. In Debian, we have the NEWS file to communicate such breaking changes, but it is seldomly used because most users don't want to be spammed with changes they are not concerned with. Bothering the distributor for changes in upstream software was OK ten years ago. Today, it is not: too many upstreams, not enough people to curate and maintain.
vbernat··on Pingora, the proxy that connects Cloudflare to the Internet
Share-nothing architecture were deemed more scalable as you don't need synchronization. But then, you can't share stuff, like a connection pool. Also, the architecture was simpler this way. Nginx is also an application server and it was "easy" to develop applications on top of it because of this architecture.
vbernat··on Self-hosted email is the hardest it's ever been, but also the easiest
Qmail was undistributable and there were several set of patches to choose from as it was not accepting any contribution.
vbernat··on Self-hosted email is the hardest it's ever been, but also the easiest
The solution is to forward your outgoing emails through a 9$/month provider? It feels like paying protection.
vbernat··on Ask HN: Is there a developer laptop that does not suck and is not a Mac in 2022?
Do you have sound? Both speakers and microphone? It seems to not be handled too well yet.
vbernat··on FreeBSD on the Framework Laptop
Ethernet is likely a Realtek chipset (on the docking station). Intel does not do Ethernet over USB chipsets.
vbernat··on Removing HTTP/2 Server Push from Chrome
It was quite useful to speedup redirects:

    location ~ ^(?<canonical>.*)\.html$ {
      access_log off;
      log_not_found off;
      http2_push $canonical;
      return 301 $canonical;
    }
vbernat··on Serving Netflix Video Traffic at 800Gb/s and Beyond [pdf]
Modern routers are unable to do line-rate regardless of packet size. See for example the Q100 ASIC from Cisco. Rated for 10.8 Tbps, it is only able to achieve 6 Bpps [1]. So it needs 200-byte packets to hit line-rate. However, as for Netflix, this is not problem since they only push big packets.

[1]: https://xrdocs.io/8000/tutorials/8201-architecture-performan...

vbernat··on Using the same Arch Linux installation for a decade
Unfortunately, I migrated to LVM later (I think 2006 too), through a new disk (I suppose with tar | tar). At the time, amd64 was just a port.
vbernat··on Using the same Arch Linux installation for a decade
This seems overly complicated. Nowadays, unstable almost never break (with the exception of files migrating from one package to another without the proper metadata) and I am updating daily. I am curious, are you using testing or unstable?
vbernat··on Using the same Arch Linux installation for a decade
No /var/log/installer (maybe it was not the case for Woody?) and installation-birthday says 2006 but this is the date of the cross-upgrade to amd64 (using debootstrap).
vbernat··on Using the same Arch Linux installation for a decade
It's even better (to use unstable) since you don't have disappearing packages, you have access to packages only in unstable (Firefox instead of Firefox ESR), and you get timely security update.

20 years ago, things may break a lot in unstable. But nowadays, you just have to be careful to only use "apt upgrade" and from time to time "apt full-upgrade" (and check what is removed as it could remove everything).

vbernat··on Using the same Arch Linux installation for a decade
Another Debian unstable user. It's hard to remember the exact installation date, but I have a `/var/log/firewalld.1` from Aug 25 2002. So, 20 years soon! And it has been migrated from 32-bit to 64-bit.
vbernat··on Solving a bad ARP behavior on a Linux router
I don't know if this is a typo in the article, but I didn't know that RP filtering would influence how ARP is working. I think it would be better to solve the problem at the root by asking Linux to be more like other OS with:

    sysctl -qw net.ipv4.conf.all.arp_announce=2
    sysctl -qw net.ipv4.conf.all.arp_ignore=1
vbernat··on Linux 5.19
If you take a regular Lenovo laptop, everything likely works out of the box with an upstream kernel. This quite not the case yet with Asahi Linux which does not support power management, no USB, no sound.

There was a time where Apple laptops came with very good Linux support. It was the time were every bit of hardware support was present in Darwin (a 12" iBook G3 was working flawlessly with Linux for example). I think that at each generation, support gets worse because the hardware is closing down. This translates to far more time between release and having something usable with Linux.

vbernat··on Hg Init: A Mercurial Tutorial
You can add a tag to the change you want to keep. Whatever you do, you can recover it (git reset --hard tag). Once you are done, remove the tag. Otherwise, there is the reflog, like mentioned in a sister comment.
vbernat··on Desktop Environments Resource Usage Comparison
On Linux, you also have PSS which is like RSS, but the shared part is divided among the processes sharing the same memory.
vbernat··on StarBook 14-inch
The audio problems with the C7 were unfortunate but more on the Intel side to have force pushed that with this generation of CPU while nothing was ready. I got it 6 months later at the moment where things were starting working. Never got much trouble for resting from sleep.

I am currently still using my old X1C2 from 2014. That's quite reliable by my standards. I would prefer to continue with Lenovo due to reliability and good Linux support (there is a dedicated engineer for that matter who is available on their forums and who help various distributions including Debian and Fedora to make things work). I was waiting for the Gen 10 but battery life seems disappointing on Windows, so I am waiting for people to test on Linux. Gen9 only has FHD+ or 4K+ (too low and too high).

vbernat··on Ask HN: Share your personal site
You mean the reverse? You can use Cloudfront without S3.
vbernat··on Ten Years of ThinkPadding
Lenovo is famous for whitelisting wifi cards in the BIOS. Dunno if it is the case for the X13 G2, but I would expect it to be.
vbernat··on Linux on a 486SX
Most distributions already don't support a 486 anymore. For example, Debian dropped support for Pentium with Stretch (2017). And support for 486 was dropped in Jessie (2015). 386 support was dropped with Sarge (2005).
vbernat··on Do svidaniya, Igor, and thank you for Nginx
There is also the worker model and the zero-impact reload (but I don't know if Zeus had that too).
vbernat··on Set up a practically free CDN
This link may be of interest: https://www.linkedin.com/pulse/build-your-own-anycast-networ...
vbernat··on SSH Agent Restriction (new in OpenSSH 8.9)
You can get what you want by using `ssh-agent ssh -o AddKeysToAgent=confirm -o ForwardAgent=yes` instead of `ssh -A`.
vbernat··on The state of external retina displays
DisplayPort 1.4 (quite old and common) has 8k at 60Hz. DisplayPort 2.0 has 16k at 60Hz. How is that not enough?
← PreviousPage 4 of 16Next →