nick

joined 2 years ago
[–] nick@campfyre.nickwebster.dev 2 points 1 year ago* (last edited 1 year ago) (5 children)

Interesting. I have some New Relic stuff setup with my cluster but most of that is just resource usage stuff. I ran out of RAM a while back so I've had to be a bit more restrictive about how many connections Lemmy can have to postgres db.

There’s no progress meter and so far it has taken 2 days 😱.

Uh oh. I considered updating to 0.5 as part of my 0.18.3-ish (I was running a custom fork I made with some image caching stuff that has since been merged in to real lemmy) -> 0.19.3 upgrade but I'm glad I didn't.

Thanks for the heads up. Are you migrating to postgres for pictrs too, or sticking with sled?

[–] nick@campfyre.nickwebster.dev 4 points 1 year ago (7 children)

These are pretty neat graphs! Is it sourced from the Prometheus logs?

Just updated to 0.19.3 but the DB migrations failed due to a permissions change I made a while back to my DB, so I had to spend a few hours in the SQL dungeons fixing things.

Yeah, I'm not justifying the annexation.

[–] nick@campfyre.nickwebster.dev 6 points 1 year ago (3 children)

Technically only some of HK was under the lease, some was indefinitely controlled by the British. However, you're still right because of the military force difference.

The Breville Bambino (Plus) with a nice grinder is basically an impossible value-to-money ratio to beat. Also remember to factor in a scale that's accurate to 0.1g, a cheap WDT tool with thin needles (i.e. 0.35mm), and a dosing funnel to make the WDT not messy. If your budget is limited then you can skip the WDT tool I guess.

I wouldn't go for the Barista Express/Pro because the built in grinder is not very good. The "impress" version of the Barista Express could still be worth it if you're not looking to make espresso a hobby and just want something easy that will make tasty drinks. I'd recommend joining the Espresso Afficianado's discord server, which is where a lot of the /r/espresso long-stays moved to after the reddit API stuff. There's a channel for beginners that can help you get started.

I attempted to boot Mandrake/Mandrivia on an old laptop once and failed, then I mucked around in Slackware's live CD for an afternoon. The first thing I actually installed and used daily was Ubuntu 10.04.

[–] nick@campfyre.nickwebster.dev 2 points 1 year ago* (last edited 1 year ago)

I'm running on 0.19.3 without any issues on Linux arm64. I built my own docker image though.

The web is built on hot linking hypermedia. It is more fragile obviously, but it distributes the bandwidth and storage load. If nobody hotlinked, then small forum admins/Lemmy admins/etc. have considerably more cost to bear.

[–] nick@campfyre.nickwebster.dev 1 points 1 year ago* (last edited 1 year ago)

Rust is roughly similar to C in most of these benchmarks and beats it in a few: https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/rust.html

Arguably when LLVM gets a bit better, Rust can be even faster than C because rust can be optimised in more places safely than C code can. The issue is that LLVM wasn't written with that in mind, so some performance is left on the table.

[–] nick@campfyre.nickwebster.dev 1 points 1 year ago (1 children)

I chose not to care, I had both cups on the scale and they looked about even though. If I really wanted accuracy I would have pulled the shot into a shot splitting cup and then split afterwards.

[–] nick@campfyre.nickwebster.dev 1 points 1 year ago (2 children)

Go, Java, and Nim (in most cases) are all memory safe but are generally slower than C or C++ due to the ways they achieve memory safety.

Rust's memory safety approach is zero-cost performance wise, which makes it practical for low level, high throughput, and low latency applications.

[–] nick@campfyre.nickwebster.dev 6 points 1 year ago* (last edited 1 year ago) (1 children)

That flag exists, it's called unsafe for if you need to tell the borrow checker to trust you or unwrap if you don't want to deal with handling errors on most ADTs.

You can always cast anything to an unmanaged pointer type and use it in unsafe code.

view more: ‹ prev next ›