HNHacker News
TopNewBestAskShowJobs

aorth

2,570 karma · joined June 25, 2014

GNU/Linux, Indian food, and death metal. Owner of way too many blogs! https://mjanja.ch, https://englishbulgaria.net, https://alaninkenya.org, https://picturingjordan.com.

Email: hn@mjanja.mozmail.com

submissionscomments
aorth··on Scientists discover beer bottle in the Mariana Trench (2024)
I don't see any ads on Firefox (Android) with uBlock Origin.

That site seems horrible though. Random words in the body like reddit are hyperlinks to SEO landing pages on the same site. And there must be a better (original) source for the story than this...

aorth··on Ask HN: Best Podcasts of 2025?
Thanks. I didn't realize Dan Carlin was still producing new episodes. Ten years ago I was enthralled by his series on the Persian Empire and then I forgot about him.

Fall of Civilizations is excellent too.

aorth··on AI Slop Report: The Global Rise of Low-Quality AI Videos
I saw one Warren Buffett video where the voice was Buffet's and he said "in this video I will show you...". Most videos featuring Buffet's voice are snippets from actual interviews etc, but this one threw me off. I stopped it immediately. Sigh.
aorth··on Mistral releases Devstral2 and Mistral Vibe CLI
Looks like a Cybertruck actually!
aorth··on Bikeshedding, or why I want to build a laptop
The Apple Magic TrackPad works well on Linux, both via Bluetooth and USB-C. I used one for a few years.
aorth··on Nook Browser
Right, as I read that I also thought, "Wait a sec, do they have the user's browsing data?" They should say "Your browsing data is local and we don't even have it!" instead.
aorth··on Why we built Lightpanda in Zig
Sounds fast. Does it respect `robots.txt`? My web services are not written in Rust, Zig, or Go. :)
aorth··on 10 years of writing a blog nobody reads
> My style has certainly improved since my early days of writing. Reading my old stuff is painful.

I've been blogging since 2006 and I feel the same way. The past few years I blog less, but I do try to write more to the point and use less idioms and spoken writing style.

aorth··on Thunderbird adds native Microsoft Exchange email support
The Thunderbird blog post also mentions they are looking to support the Microsoft Graph.

More limiting is that the current release doesn't support custom Office365 tenant IDs. So basically, unless you are using outlook.com this won't currently work yet. I'm lucky that my org hasn't disabled SMTP and IMAP, but it's been so slow lately...

aorth··on Unofficial Microsoft Teams client for Linux
True! I've been doing this for years on Linux. I use a dedicated Chromium instance in app mode:

  /usr/bin/chromium --ozone-platform=wayland --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --user-data-dir=/home/myuser/.config/chromium-ilri --app=https://teams.microsoft.com
Works incredibly well (put this in a `.desktop` file with `Exec=` and you can launch it via your desktop's launcher). Some of the settings may not be needed anymore, as Chromium has come a long way in terms of Wayland support. I use Firefox for everything else, but haven't tried Teams there.
aorth··on A vision of chocolate's future in an Amsterdam brownie
In my grocery stores in Kenya too, for what it's worth.
aorth··on Warren Buffett's final shareholder letter [pdf]
Oh my gosh, my six year old just said it to me today. What is going on?!
aorth··on Removing XSLT for a more secure browser
Ah, so this is removing libxslt. For a minute I thought XSLT processing was provided by libxml2, and I remembered seeing that the Ladybird browser project just added a dependency on libxml2 in their latest progress update https://ladybird.org/newsletter/2025-10-31/.

I'm curious to see what happens going forward with these aging and under-resourced—yet critical—libraries.

aorth··on State of Terminal Emulators in 2025: The Errant Champions
Good point. I just submitted a pull request with new data for foot 1.25.0 https://github.com/jquast/ucs-detect/pull/17. The test suite is really easy to run (and fast, foot rocks!).
aorth··on You Don't Need Anubis
There was an interesting comment in the Lobsters thread about this article https://lobste.rs/s/gig2wt/you_don_t_need_anubis. Basically, Sec-Fetch-* headers are widely available on browsers https://caniuse.com/?search=sec-fetch-dest, so you can detect if a client that says they are Chrome, Firefox, or Safari are really Chrome, Firefox, or Safari.

This seems to work in Caddy, using a CEL expression:

    @unrealistic-browsers <<CEL
    {header.User-Agent}.matches("(Chrome|Firefox|Safari)")
        && ! ({header.Sec-Fetch-Dest}.matches("^.+$")
                && {header.Sec-Fetch-Mode}.matches("^.+$")
                && {header.Sec-Fetch-Site}.matches("^.+$"))
        CEL

    handle @unrealistic-browsers {
            abort
    }
Maybe there is a better way. And maybe this stops working when all low-effort bots add these headers to their crawlers.

BTW if anyone has an invite on Lobsters I would appreciate it. :)

aorth··on Which diseases will you have in 20 years? This AI accurately predicts your risks
How can we try it? The linked story is only a blog post summary of the paper.

Shmatko, A., Jung, A.W., Gaurav, K. et al. Learning the natural history of human disease with generative transformers. Nature (2025). https://doi.org/10.1038/s41586-025-09529-3

aorth··on The Latest Linux File-System: TernFS
We used GlusterFS for the past decade or so in HPC but it seems to be abandoned now. Need to see whether I switch to Ceph or something else.

Gluster was OK. We never pushed it very hard but it mostly just worked. Performance wasn't great but we encouraged users to use scratch space that was local to the node where their job was running anyway.

aorth··on Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
In the story about the Nx compromise a few weeks ago someone posted a neat script that uses bubblewrap on Linux to run tools like npm more safely by confining their filesystem access. https://news.ycombinator.com/item?id=45034496

I modified the script slightly based on some of the comments in the thread and my own usage patterns:

  #!/usr/bin/env bash
  #
  # See: https://news.ycombinator.com/item?id=45034496
  
  bin=$(basename "$0")
  
  echo "==========================="
  echo "Wrapping $bin in bubblewrap"
  echo "==========================="
  
  exec bwrap \
    --bind ~/.cache ~/.cache \
    --bind "${PWD}" "${PWD}" \
    --dev /dev \
    --die-with-parent \
    --disable-userns \
    --new-session \
    --proc /proc \
    --ro-bind /etc/ca-certificates /etc/ca-certificates \
    --ro-bind /etc/resolv.conf /etc/resolv.conf \
    --ro-bind /etc/ssl /etc/ssl \
    --ro-bind /usr /usr \
    --setenv PATH /usr/bin \
    --symlink /usr/bin /bin \
    --symlink /usr/bin /sbin \
    --symlink /usr/lib /lib \
    --symlink /usr/lib64 /lib64 \
    --tmpfs /tmp \
    --unshare-all \
    --unshare-user \
    --share-net \
    /usr/bin/env "$bin" "$@"
Put this in `~/.local/bin` and symlink it to `~/.local/bin/npm` and `~/.local/bin/yarn` (and make sure `~/.local/bin` is first in your `$PATH`). I've been using it to wrap npm and yarn successfully in a few projects. This will protect you against some attacks that use postinstall scripts to do nefarious things outside the project.
aorth··on Pass: Unix Password Manager
The Android Password Store application by msfjarvis was archived last year. It was forked and greatly updated by agrahn. There are APKs on GitHub Releases and F-Droid, but not Google Play Store.

https://github.com/agrahn/Android-Password-Store

aorth··on Walling Off the Open Internet to Stop AI May End Up Breaking Everything Else
Most of this reads as disingenuous to me. Not all of us have the capacity or skill to scale so we need to take drastic measures to keep services up.

I do believe in and love the open web. But the AI scrapers need to change, not me! They're the ones with the money and the 10x engineers (apparently). Read my sitemap and crawl my content from one IP, don't just haphazardly crawl and click every damn link and search term from hundreds or thousands of IPs every day!

aorth··on Magic Lantern Is Back
Great, thanks for sharing the links.

By the way, rift valley software? I'm writing to you from Kenya, one of the homes of the great rift valley. It is truly remarkable to drive down the escarpment just North of Nairobi!

aorth··on Magic Lantern Is Back
> We're using Git now. We build on modern OSes with modern tooling. We compile clean, no warnings. This was a lot of work, and invisible to users, but very useful for devs. It's easier than ever to join as a dev.

Very impressive! Thankless work. A reminder to myself to chase down some warnings in projects I am a part of...

aorth··on Malicious versions of Nx and some supporting plugins were published
Very cool idea. Thanks for sharing. I made some minor tweaks based on feedback to your comment:

  #!/usr/bin/env bash
  #
  # See: https://news.ycombinator.com/item?id=45034496
  
  bin=$(basename "$0")
  
  echo "==========================="
  echo "Wrapping $bin in bubblewrap"
  echo "==========================="
  
  exec bwrap \
    --bind ~/.cache ~/.cache \
    --bind "${PWD}" "${PWD}" \
    --dev /dev \
    --die-with-parent \
    --disable-userns \
    --new-session \
    --proc /proc \
    --ro-bind /etc/ca-certificates /etc/ca-certificates \
    --ro-bind /etc/resolv.conf /etc/resolv.conf \
    --ro-bind /etc/ssl /etc/ssl \
    --ro-bind /usr /usr \
    --setenv PATH /usr/bin \
    --symlink /usr/bin /bin \
    --symlink /usr/bin /sbin \
    --symlink /usr/lib /lib \
    --symlink /usr/lib64 /lib64 \
    --tmpfs /tmp \
    --unshare-all \
    --unshare-user \
    --share-net \
    /usr/bin/env "$bin" "$@"

Notably `--share-net` should be moved down since it is negated by `--unshare-all`. I also added a reminder that the command is being bubblewrapped, modified the second read-write bind to the current directory, and changed the final exec to use `/usr/bin/env` to find the binary so it can be more flexible. I tested it with npm and yarn just now and it seems to work well. Thanks!
aorth··on Ask HN: Why hasn't x86 caught up with Apple M series?
Thanks for the honest review! I have two Intel ThinkPads (2018 and 2020) and I've been eying the Framework laptops for a few years as a potential replacement. It seems they do keep getting better, but I might just wait another year. When will x86 have the "alien technology from the future" moment that M1 users had years ago already?
aorth··on Ban me at the IP level if you don't like me
Tricky to get a list of all cloud providers, all their networks, and then there are cases like CATO Networks Ltd and ZScaler, which are apparently enterprise security products that route clients traffic through their clouds "for security".
aorth··on Ban me at the IP level if you don't like me
Noble effort. I might make some pull requests, though I kinda feel it's futile. I have my own list of "known good" networks.
aorth··on Ban me at the IP level if you don't like me
I have an ad hoc system that is similar, comprised of three lists of networks: known good, known bad, and data center networks. These are rate limited using a geo map in nginx for various expensive routes in my application.

The known good list is IPs and ranges I know are good. The known bad list is specific bad actors. The data center networks list is updated periodically based on a list of ASNs belonging to data centers.

There are a lot of problems with using ASNs, even for well-known data center operators. First, they update so often. Second, they often include massive subnets like /13(!), which can apparently overlap with routes announced by other networks, causing false positives. Third, I had been merging networks (to avoid overlaps causing problems in nginx) with something like https://github.com/projectdiscovery/mapcidr but found that it also caused larger overlaps that introduced false positives from adjacent networks where apparently some legitimate users are. Lastly, I had seen suspicious traffic from data center operators like CATO Networks Ltd and ZScaler that are some kind of enterprise security products that route clients through their clouds. Blocking those resulted in some angry users in places I didn't expect...

And none of the accounts for the residential ISPs that bots use to appear like legitimate users https://www.trendmicro.com/vinfo/us/security/news/vulnerabil....

aorth··on Nginx introduces native support for ACME protocol
Is this safe for WordPress though? Every time I look at switching from nginx to Caddy where I have WordPress hosted, I get into the weeds trying to figure out if I need to block certain paths in `wp-includes` and `wp-admin` etc.

For example, from a discussion on the Caddy forum https://caddy.community/t/using-caddy-to-harden-wordpress/13...:

  (harden-wordpress) {
      @harden-wordpress expression `(
      !{path}.matches("/wp-includes/ms-files.php$")
          && ({path}.matches("(?i)/wp-includes/.*\\.php")
              || {path}.matches("(?i)/wp-admin/includes/.*\\.php")
              || {path}.matches("(?i)/wp-content/uploads/.*\\.php")
      )
      )`
      respond @harden-wordpress "Access denied" 403
  }
aorth··on Nginx introduces native support for ACME protocol
Oh this is exciting! Caddy's support is very convenient and it does a lot of other stuff right out of the box which is great.

One thing keeping me from switching to Caddy in my places is nginx's rate limiting and geo module.

aorth··on Hyprland – An independent, dynamic tiling Wayland compositor
For the benefit of others, that note comes from this page:

https://wiki.hypr.land/Getting-Started/Master-Tutorial/#forc...

It has been common for years to use such flags for Electron-based apps on Wayland. It's not specific to Hyprland, and it's not as bad as it sounds. Chromium has been working on Wayland support for years and it was behind a feature flag. It's worked well for a while now and will be the default soon. https://www.phoronix.com/news/Chrome-Auto-Ozone-Platform

← PreviousPage 3 of 26Next →