HNHacker News
TopNewBestAskShowJobs

nbf_1995

191 karma · joined August 19, 2022

submissionscomments
nbf_1995··on Git 3.0's upcoming SHA-256 default will be a costly mistake
Meta: This site breaks the back gesture (2 finger swipe to left). Very annoying
nbf_1995··on What California is learning from solar panels built over irrigation canals
It seems like it would be more effective to simply put all the solar panels in a field, and construct a cheap shade over the entire canal no? The supports in the picture are massive and don't look cheap. Also I would imagine the solar array uses more copper than a similar capacity array just built in a field. You can't daisy chain multiple miles of solar panels together, so you need an extra power line to run alongside the whole thing.

Put the solar panels in a field: The solar array uses less copper. The shade supports don't have to hold up solar panels: Shade supports cost less.

The best reasoning they give is that California has insane permitting requirements, and it takes 1/6 the time to build on developed land compared to undeveloped land.

nbf_1995··on Pandas Should Go Extinct
> an Intel i5-1135G7 with 8 cores

The i5-1135G7 has only 4 cores. Hyperthreading is enabled, so it reports 8 "virtual processors".

nbf_1995··on How to buy a good car for $1000
Before getting a job in software, I used to buy cars from insurance auctions. Plenty of cars that run and drive end up there for various reason and if you were patient, you could get running and driving cars for $1000 or less (This was 7+ years ago). The catch is that you don't know what you're getting. You either have to have be mechanically inclined or know somebody who is to walk the lot and check the cars out before you bid.

Case and point, I bought a car that was fine when we inspected it, but when they picked it up with the forklift they knocked a hole in the oil pan, and we had to get it towed. $100 for a new oil pan (for the wrong year lol) and I got many years out of it.

nbf_1995··on AirPods 5
Tim Apple stepped down. It's John Apple now
nbf_1995··on They Killed Old Reddit
I'm not logged in and I still get old reddit. It depends on where you are.
nbf_1995··on GTX 1080s: Testing a Legend
Ryzen 5000 cpus are extremely cheap right now. I bought a 5900xt (16 cores) to upgrade a server a few weeks ago for ~$250. If you already have DDR4 you could put together a system for pretty cheap if you need it soon.

The downside is that AM4 is basically EOL, so no upgrade path.

nbf_1995··on RISC-V Is Inevitable: State of the Union Keynote Argues
I can only hope RISC-V's displacement of ARM at the low end will force them into competing more at the high end in servers / high end consumer hardware.
nbf_1995··on Benchmarking 15 "E-Waste" GPUs with Modern Workloads
This site does not like being on the front page of HN. ~7MB for pictures of graphs that probably should have html or svg.

This is an interesting article though. Bookmarking since my dual e5-v4 system is unplugged until summer is over.

nbf_1995··on Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra
There is but it lags behind the latest apple hardware.

Asahi only supports M1, M2, and alpha support for M3.

Not that I blame them for the lag, there's a lot of reversing work because apple doesn't document this stuff.

nbf_1995··on GitHub confirms breach of 3,800 repos via malicious VSCode extension
Not defending the default behavior of zed, but it is possible to disable this. Setting `"lsp.<server>.binary.path": <some-path>` will stop zed from trying to install that server.

On my machines, the "languages"/"node" directories for zed are empty and owned by root and the lsp servers are provided by nix. But you could also pin known good versions with npm.

As far as I know Vscode has no equivalent way to do this.

nbf_1995··on Welcome to the Strip Mining Era of OSS Security
Humans are famously rational and ego-less.
nbf_1995··on GrapheneOS isn't vulnerable to the 3 recent Linux memory logic vulnerabilities
I had the same idea. My understanding is that Android isn't vulnerable to these because it doesn't have a user accessible setuid binary.
nbf_1995··on Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
I can't help but wonder what this cost in USD assuming you paid standard rates from Anthropic. Can someone even ballpark the price?
nbf_1995··on Zed 1.0
> There's no View menu

Control + , > Window & Layout > Show Menus = true

This unhides the menu instead of hiding everything behind a burger. This should be the default. The defaults are awful in many ways and they've only gotten worse with the recent panel rearrangement.

nbf_1995··on New 10 GbE USB adapters are cooler, smaller, cheaper
I have never heard of ethernet cables getting hot to that degree except when PoE is involved.
nbf_1995··on I stopped using NixOS and went back to Arch Linux
The server is configured as a caching reverse proxy (just nginx with cache.nixos.org as upstream) which I think is similar to squid proxy.

Outside my LAN I do have the ability to tunnel home, but depending on the connection and the updates I just deal with the timeouts, or just wait until I get home.

I think technically you can override substituters using cli options but its not ideal. There are several proposals for configuring timeouts per substituter but none of them are merged yet.

nbf_1995··on I stopped using NixOS and went back to Arch Linux
I think this is a mostly fair criticism of nixos. Nixos has a lot of powerful tools, but if you don't need them, they can get in the way. Some assorted notes:

> unless you run nix-collect-garbage periodically

    nix.gc.automatic = true;
    nix.gc.options = "--delete-older-than 10d";
> the constant cycle of rebuild → fix → rebuild → fix → rebuild

I've found this useful to eliminate the rebuild loop: https://kokada.dev/blog/quick-bits-realise-nix-symlinks/ It lets you make the config of the program you choose a regular mutable file instead of a symlink so you can quickly iterate and test changes.

> In contrast, Arch Linux simply downloads prebuilt binaries via pacman or an AUR helper

If a binary exists. A lot of AUR packages I used to rely on didn't have a binary package (or the binary package was out of date) and would have to build from source. On nixos my machines are set up to use distributed builds (https://wiki.nixos.org/wiki/Distributed_build). Packages that do need built from source get built on my server downstairs. The server also runs a reverse proxy cache so I only need to download packages once per version.

Distributed AUR builds are possible on arch, but they require a lot of setup and are still fragile like regular AUR builds, your only choice of dependencies are what's currently available in the repos.

> On my machine, regular maintenance updates without proper caching easily take 4–5+ hours

It sounds like the author may be running the unstable release channel and/or using some heavy unstable packages. Which might explain a lot of other problems the author is having too.

Back when I used arch, I found that as time went on, my system would sort of accumulate packages. I would install $package, then in the next version of $package a dependency would be added on $dep. When I updated, $dep would be installed, then eventually $package would drop the dependency on $dep, but $dep would remain installed. I would periodically have to run pacman -R $(pacman -Qtqd | tr '\n' ' ') to clear out packages that were no longer required.

nbf_1995··on Level S4 solar radiation event
Title says "S4" solar radiation event, but the linked page says "G4" geomagnetic storm
nbf_1995··on I switched from VSCode to Zed
Can you expand on how you use Zellij? I tried it and I understand you can use it for splits, and tabs similar to tmux. But I might revisit it if it allows an IDE like workflow with Helix.
nbf_1995··on Is Mozilla trying hard to kill itself?
> Maybe someone ports Vanadium to desktop linux

https://github.com/secureblue/Trivalent

nbf_1995··on I made a quieter air purifier
I think it's because there are no grills on the outside. If the fans were sucking air out of the box, dust would build up on the outside, and bumping it would dislodge dust back into the environment.

With the fans blowing in, all the dust is on the inside of the box (and on the fans).

The box fan version also blows air into the box

nbf_1995··on State of Embedded: Q4 2025 Overview
The solidrun LX2 offers 4x SFP+, but that board is getting quite old at this point.

There are a couple of bananapi router boards that have 1 maybe 2 SFP+

nbf_1995··on Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
Just curious, what did you switch to?
nbf_1995··on The GitHub website is slow on Safari
Firefox has a setting in about:config to only send referrer headers when navigating to links on the same base domain.

network.http.referer.XOriginPolicy = 1

nbf_1995··on Leaving Gmail for Mailbox.org
Something to note: Certain service providers (e.g. Twitch) will not allow you to sign up using an '@mailbox.org' email address. I do not know if this ban extends to custom domain addresses.
nbf_1995··on SQLx – Rust SQL Toolkit
SQLx and F# type-providers are probably the best developer experience for writing database access code. I wish more languages had something equivalent.
nbf_1995··on SQLx – Rust SQL Toolkit
It's a rust library that you can use to run sql queries against a database. It also inspects the database at compile* time to figure out the type of each column in your query so that your code is type-safe.

* Or in your editor as you're writing code.

nbf_1995··on What went wrong for Yahoo
Yahoo Japan is a different company to Yahoo.
nbf_1995··on lsr: ls with io_uring
Technically, the first, third, and fifth occurrence of "it's" should be "its". The dog chased its tail.

I didn't notice when I read the article though. The original commenter is being pedantic.

Page 1 of 3Next →