Better HN
topnewbestaskshowjobs
Log inSign up

nbf_1995

194 karma · joined Aug 19, 2022 (4y ago) · 63 submissions

Submissions

comment 1mo ago · link · parent

Maybe coincidental, but the campaign of spam calls I get that leave voicemails completely stopped when this data center was hit last Thursday/Friday. Before I was getting 5-6 per day.

comment 1mo ago · link · parent

I tried a machinist board for a server I was building, but I could not get ECC working on it so I returned it.

The specs page (at least for the board I tried) noted the board "Accepts" DDR4 ECC RDIMMS, but nothing I tried indicated ECC was actually functioning.

comment 1mo ago · link · parent

Meta: This site breaks the back gesture (2 finger swipe to left). Very annoying

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

> an Intel i5-1135G7 with 8 cores

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

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

Tim Apple stepped down. It's John Apple now

comment 3mo ago · link · parent

I'm not logged in and I still get old reddit. It depends on where you are.

comment 4mo ago · link · parent

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.

comment 4mo ago · link · parent

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.

comment 4mo ago · link · parent

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.

comment 5mo ago · link · parent

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.

comment 6mo ago · link · parent

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.

comment 6mo ago · link · parent

Humans are famously rational and ego-less.

comment 6mo ago · link · parent

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.

comment 6mo ago · link · parent

I can't help but wonder what this cost in USD assuming you paid standard rates from Anthropic. Can someone even ballpark the price?

comment 6mo ago · link · parent

> 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.

comment 7mo ago · link · parent

I have never heard of ethernet cables getting hot to that degree except when PoE is involved.

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

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.

comment 10mo ago · link · parent

Title says "S4" solar radiation event, but the linked page says "G4" geomagnetic storm

comment 10mo ago · link · parent

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.

comment 11mo ago · link · parent

> Maybe someone ports Vanadium to desktop linux

https://github.com/secureblue/Trivalent

comment 11mo ago · link · parent

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

comment 1y ago · link · parent

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+

comment 1y ago · link · parent

Just curious, what did you switch to?

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

SQLx and F# type-providers are probably the best developer experience for writing database access code. I wish more languages had something equivalent.

comment 1y ago · link · parent

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.

123