HNHacker News
TopNewBestAskShowJobs

vbernat

1,948 karma · joined October 18, 2011

Personal blog: https://vincent.bernat.ch/en/blog
submissionscomments
vbernat··on Piracy release group EVO ‘blames’ movie industry for its popularity
More likely, this is because the DP didn't support HDCP (which requires a dedicated license while the DP port does not). I suppose the HDCP license cannot be shared between HDMI and DP.
vbernat··on Google's new related search box optimizes for the wrong metric
They are likely to get penalized, thanks to the CLS metric.
vbernat··on Ask HN: Functioning hidpi setup on Linux, how?
If you have one screen at 192 dpi, one at 96 dpi, double the resolution of the one at 96 dpi and scale down:

xrandr --dpi 192 --output eDP-1 --auto --output HDMI-1 --left-of e-DP1 --auto --scale 2

I don't have my laptop with me, so I am not 100% sure. You can also go the other way, but the result is more blurry.

Otherwise, as said in another post, apply tips from ArchLinux wiki. I have also put my experience here: https://vincent.bernat.ch/en/blog/2018-4k-hidpi-dual-screen-... (notably if you want something a bit dynamic with a laptop).

vbernat··on Leaving Debian
systemd-networkd is not the default method to get network (this is still ifupdown). systemd-resolved is not installed by default.
vbernat··on Ask HN: What does one look for in a laptop these days?
Lenovo still puts it back on some of the laptops, like the X1 Carbon 9th Gen. So, I suppose this is not strictly dependent on the CPU.
vbernat··on Cloudflare's Disruption
To move bytes out of network, you need more than a transit contract. You need routers, you need people to operate them. All this is absent from Cloudflare's blog post. With the example provided on South Korea, the conclusion should be that the egress fees are only marginally infuenced by the transit cost.
vbernat··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
Lenovo is able to add it back as an option in the BIOS. This is the case for P14s Gen 2 and X1 Carbon Gen 9.
vbernat··on Authenticated Boot and Disk Encryption on Linux
When upgrading, you have to remove old PCR states, so rolling back to an older version is detected.
vbernat··on Ask HN: Why does Zoom Desktop examine all processes and arguments?
It also scans processes. Easy to check: run opensnoop.
vbernat··on Ask HN: Why does Zoom Desktop examine all processes and arguments?
For me: more CPU usage (and more battery usage), not able to see other participants when sharing screen.

But I am running Zoom in a Flatpak to avoid the kind of issues reported here. BTW, the same happens with Discord and it's not possible to disable it.

vbernat··on Firefox 91
For unstable, you should currently take Firefox from experimental. I assume, like for previous releases, it will be here by tomorrow. Due to the freeze for Bullseye release, the dependencies to put it in unstable are not present.
vbernat··on New Laptop: Thinkpad P14s
I am trying to order one. If I unselect Windows, I loose the 4K panel. If I go from 24G to 16G, I loose the 4K panel. If I go from 24G to 32G, I lose the 4K panel. And of course, delays are always 6+ weeks (which is Lenovo lingo to say "forever").
vbernat··on We Switched to Mattermost
As for documentation, it is quite easy to have it available offline.
vbernat··on Command line tools for productive programmers
With Zsh, I am using:

    # Expand ... to ../..
    function vbe-expand-dot-to-parent-directory-path() {
      case $LBUFFER in
        (./..|* ./..) LBUFFER+='.' ;; # In Go: "go list ./..."
        (..|*[ /=]..) LBUFFER+='/..' ;;
        (*) LBUFFER+='.' ;;
      esac
    }
    zle -N vbe-expand-dot-to-parent-directory-path
    bindkey "." vbe-expand-dot-to-parent-directory-path
    bindkey -M isearch "." self-insert
vbernat··on Learn Python by doing fun interactive exercises
When logging with Twitter, it requires access to:

- access to all tweets, lists and collections

- access to profile and account settings

- access to all the accounts you follow, mute, block

Not one thing in this list is necessary.

vbernat··on The Framework Laptop is now shipping
For something running at 5-6W while idle, this is not a small difference.
vbernat··on The Framework Laptop is now shipping
LPDDR4 is always soldered. There are Thinkpad with DDR4 if you prefer. They are usually heavier, thicker and/or more expensive (pick two). This includes the X1 Extreme Gen2 or the T14.
vbernat··on Valve Steam Deck
Gentoo, like Debian, has always been a good distribution for derivatives. It is quite flexible and you can definitely distribute binaries in the case of a commercial derivative. Gentoo has also been used more widely in the embedded world (because it has the ability to lower its footprint). Known derivatives include Chromium OS and CoreOS/Flatcar Linux. Both of them do not use the source model.

Fedora is also very friendly with derivatives and features the ability to upgrade painlessly through atomic upgrades/rollbacks, thanks to rpm-ostree. Something that is shared with Nix. RedHat is mostly a sponsor and Fedora is community-maintained. Unlike CentOS, RedHat didn't get any bad press on how it tries to influence Fedora. Fedora is pretty consistent and quite polished on the desktop side. You also get a distribution who has access to the most influential upstream distributors (including for the graphical stack for example).

Debian/Arch do not offer such things. Arch does not even offer a stable base to start from. Taking a random snapshot of a rolling distribution needs a lot of work. Ubuntu does that with Debian. All Arch derivatives are desktop distributions. It would be interesting to know why Steam did not continue with Debian. Is it bad experience on the previous SteamOS or inability for Debian to move forward?

vbernat··on Valve Steam Deck
And they switched from Debian to Arch. Can't say I don't understand them, but I would have thought there would have been better bases than a rolling distribution (Gentoo, NixOS, Fedora).
vbernat··on Increasing HTTPS Adoption
That's already what Firefox does. Despite not saying it clearly, if you accept a self-signed certificate, it will be used as long as it does not change.
vbernat··on BGP in a Nutshell
Unfortunately, this article seems quite incorrect. It makes it look like iBGP and eBGP are different protocols while they are the same with a slightly different set of rules. Notably, prefixes exchanged by iBGP definitely have an AS path (which can be empty, but usually it is not as most of the routes come from outside the AS). This is not the only error. The definition for iBGP/eBGP is incorrect too: iBGP let's two routers in the same AS exchange routes, while eBGP does the same for two routers in different AS.
vbernat··on Microsoft announces Windows 11
Debian is able to use secure boot. I suppose this is the case of some other distros.
vbernat··on The PsychDOS Desktop Environment
Nice CRT effect using a CSS animation!
vbernat··on NVMe over Fabrics Explained
It still needs to be connected to a host. This is an alternative to iSCSI. Instead of using the SCSI protocol, it uses the NVMe protocol.
vbernat··on Jerikan: A configuration management system for network teams
No, I didn't try. For me, the fact that modules serialize Python code into a zipfile then execute it makes it really hard to have something efficient. I also don't understand why RedHat is not helping Mitogen which could help solve this without breaking everything (as it suppresses a lot of the steps, even on localhost).
vbernat··on Jerikan: A configuration management system for network teams
Hey! I am one of the author of the article. This is not really an abstraction on top of Ansible. Just a tool to generate configuration files from templates as Ansible is pretty bad at this (slow, not providing a line number in case of problem, variable lookup quite rigid). Then, it's just regular Ansible using network modules to deploy the result.

We push the opinion you need to manage the whole configuration to avoid getting out-of-sync with their expected state or putting the state inside your device. Once you are able to manage the whole configuration, the things you describe are possible: propagate a VLAN, adding IP to an access-list, etc. The other way around is not true.

vbernat··on Faster web fonts
Unfortunately, most people won't change their browser defaults. It doesn't mean they won't be annoyed by the bad visuals.
vbernat··on Faster web fonts
I always find builtin fonts difficult to pair when you want to use monospace for code. If you take Times New Roman and Courier New for example, Courier New is quite larger visually, so you would need to use a smaller point size for it. But how to do that when you need to handle fallbacks? On my blog, I am pairing Merriweather with a custom version of Iosevka to match x-height and ascendant height. I think this is less disturbing when reading.
vbernat··on CSS Tips
IE 10 has no TLS 1.2 support. I think you can now safely drop it.
vbernat··on How to navigate directories faster with Bash (2015)
For Zsh, there are better stuff available. For example, you can use `cd +<tab>` to change to a past directory. And instead of aliases for `.....`, you can use:

    # Expand ... to ../..
    function vbe-expand-dot-to-parent-directory-path() {
      case $LBUFFER in
        (./..|* ./..) LBUFFER+='.' ;; # In Go: "go list ./..."
        (..|*[ /=]..) LBUFFER+='/..' ;;
        (*) LBUFFER+='.' ;;
      esac
    }
    zle -N vbe-expand-dot-to-parent-directory-path
    bindkey "." vbe-expand-dot-to-parent-directory-path
    bindkey -M isearch "." self-insert
← PreviousPage 5 of 16Next →