Better HN
topnewbestaskshowjobs
Log inSign up

vbernat

1,956 karma · joined Oct 18, 2011 (15y ago) · 504 submissions

Personal blog: https://vincent.bernat.ch/en/blog
Submissions

comment 1w ago · link · parent

On composite, the game can display more colors. I never knew at the time and was only aware of that a decade ago. ScummVM and DOSBox but knows how to render composite.

comment 2w ago · link · parent

Of course, my setup is overkill. It's mostly something to play with.

But, I also serve HTML pages "myself." CDN is only used for assets. I want to control the integrity of the content. CSS and JavaScript files served by the CDN are protected by an integrity hash (SRI). If I could, I would also include images in this, but this is not possible (and not something that looks planned).

comment 2w ago · link · parent

Happy to hear that! I don't mind at all.

comment 2w ago · link · parent

There is a community fork: CDK Terrain (https://cdktn.io/).

comment 2w ago · link · parent

Thanks. I spent a non-trivial time just on the little animations!

comment 2w ago · link · parent

Some hobbyists do anycast on their own, but this is more complex. See https://tylerobrien.dev/posts/2022/06/28/building-an-anycast... for example. This also require some advanced traffic engineering: what looks close for BGP may be on the other side of the planet. Relying on DNS only is more accessible.

comment 1mo ago · link · parent

I love it as I can customize it to match the metrics and weights of my main font on web pages. See here for me: https://github.com/vincentbernat/vincent.bernat.ch/blob/main....

comment 1mo ago · link · parent

In Zsh, you can set PATH with path=(~/.local/bin $path). There, it works as shell expansion works.

comment 1mo ago · link · parent

It's already using a high port. Forwarding a high port directly with SSH prevent exposing the service through a virtual host and provide HTTPS (but I didn't think of it until your mentioned it). And it would open the service to be discovered by enumerating all possible ports, like you mentioned in your first comment.

sish and ngrok are mentioned in the intro along with the reasons I didn't go this way (specific SSH server to run for the first and not self-hosted for the later).

This domain is crowded with solutions. I only explored that myself because the "free" solutions only requiring an SSH client were unreliable, including the free tier of ngrok (broken SSH tunnel).

comment 1mo ago · link · parent

The attack you mention is solved in the second part of the article.

comment 1mo ago · link · parent

This looks a good idea to let people choose their preferred medium. I am not into video either, but I turned one of my latest blog article into a video using Claude, since I thought it would be “easy.” I asked it to build the video by screencasting a browser presenting the interactive diagrams of the article and add some titles. It build some kind of recording app for me. It still took me many hours, but I think I would be faster if I redid it. I would pay to have it done faster, but I want to keep control of the text, not have a summary.

The article: https://vincent.bernat.ch/en/blog/2026-spanning-tree-video

The tool built by Claude to make the video: https://github.com/vincentbernat/vincent.bernat.ch/tree/2808...

comment 2mo ago · link · parent

Maybe a better URL could be: http://gameshelf.jmac.org/2008/11/grim-fandango-puzzle-desig...

comment 2mo ago · link · parent

"anorack" is a specific spell checker to tell if we need "a" or "an". It uses espeak to decompose a word into phonemes.

comment 2mo ago · link · parent

I am setting cache to `false` and directly use actions/cache:

    - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
      if: ${{ inputs.setup-go == 'true' }}
      with:
        path: |
          ${{ env.gocache }}
          ${{ env.gomodcache }}
        key: ${{ runner.os }}-${{ runner.arch }}-go${{ steps.go-setup.outputs.go-version }}-${{ hashFiles('go.sum') }}-${{ env.today }}
        restore-keys: |
          ${{ runner.os }}-${{ runner.arch }}-go${{ steps.go-setup.outputs.go-version }}-${{ hashFiles('go.sum') }}-
          ${{ runner.os }}-${{ runner.arch }}-go${{ steps.go-setup.outputs.go-version }}-
You get one new cache every day, and you can still load the most recent one if you are the first run today.

comment 2mo ago · link · parent

If you like watching the first animation, you can get it for the other diagrams with a well-known video game code.

16.

Step through the spanning tree protocol in the browser via WebAssembly(vincent.bernat.ch ↗)

3 points · by vbernat · 2mo ago · discuss

comment 2mo ago · link · parent

Mostly, they try to avoid it by allocating extents instead of blocks (so, they look for a contiguous space to store most files) and by delaying allocation to accommodate for a growing files.

comment 3mo ago · link · parent

Author here. This article features interactive demonstrations of the spanning tree protocol (an old protocol to detect and fix loops in Ethernet networks) using MSTPD (user-space implementation for Linux) compiled to WebAssembly with Emscripten.

19.

An interactive introduction to the spanning tree protocol(vincent.bernat.ch ↗)

4 points · by vbernat · 3mo ago · 1 comment

comment 3mo ago · link · parent

The page from which the data is sourced allows this: http://pldb.info/lists/creators.

comment 3mo ago · link · parent

This is not untrue, but I suppose that if you don't prevent bots from accessing your website, they won't try to use the more advanced scrapers running JS and won't trigger your analytics.

comment 3mo ago · link · parent

The bug on Linux still exists today on this family (e100, e1000, e1000e). Maybe the root cause is different, but the solution is still to disable TCP segmentation offload and I suppose this is a firmware bug. At some point, Mellanox took over the "top" card segment for servers.

comment 3mo ago · link · parent

It is now mostly unusable for web analytics. So many scrapers are pretending to be browsers. On my site, there is a factor 10 with what I consider an honest view of human visitors.

comment 3mo ago · link · parent

In France, thanks to STIR/SHAKEN, this is not possible any more for the fixed phone numbering plans (and telemarketers have to register their phone numbers in a subset of this numbering plan). For mobile lines, this is still not 100% implemented due to the difficulty of handling roaming, but I think it is becoming efficient as I didn't have a telemarketer with a mobile number since a long time (they seem to hide their number now).

25.

Sharding a routing table for lock-free reads in Go(vincent.bernat.ch ↗)

2 points · by vbernat · 3mo ago · discuss

comment 3mo ago · link · parent

After 27" 4K OLED last year, I suppose 24" are next! I didn't have the patience to wait and I have migrated to 27" 4k OLED (Alienware).

27.

EVPN: All Roads Lead to the Firewall(telcokwaks.com ↗)

2 points · by vbernat · 4mo ago · discuss

comment 4mo ago · link · parent

I have switched from FVWM to awesome because of Lua. Many years later, I have switched to i3 because it's not using a programming language for configuration. It's fine to have a configuration language if you have time to maintain, but your configuration can become quite complex and difficult to evolve. And it is also far more subject to breakage when upgrading.

I think I've found balance by using a Python daemon as a "companion" for my i3 configuration. It listens and react to event. It enhances the configuration, so when it's broken, it's not a big deal. And the interface exposed by i3 is smaller, so less risk of breakage. https://vincent.bernat.ch/en/blog/2021-i3-window-manager#i3-...

29.

SatNOGS: A Ground Station for Under €100(telcokwaks.com ↗)

3 points · by vbernat · 4mo ago · discuss

comment 4mo ago · link · parent

It's easy to disprove. This website is not behind CF. Also: https://backlinko.com/cloudflare-users.
12345
17