nick

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

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

[–] nick@campfyre.nickwebster.dev 6 points 8 months ago

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 8 months ago* (last edited 8 months 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 8 months 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 8 months 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 8 months ago* (last edited 8 months 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.

[–] nick@campfyre.nickwebster.dev 13 points 8 months ago (5 children)

A crash is different to a SEGFAULT. I'd be very surprised to see a safe rust program segfault unless it was actively exploiting a compiler bug.

[–] nick@campfyre.nickwebster.dev 5 points 8 months ago

As a compiler developer this speaks to me on a deep level lol

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

https://camposcoffee.com/product/colombia-el-jordan-2/ that I picked up when I was in Sydney earlier this month. It's a little darker than I usually go for but it's quite forgiving.

[–] nick@campfyre.nickwebster.dev 2 points 10 months ago (3 children)

It was nice, although fairly mellow because I pulled it 20g:60g (so two 30g singles)

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

Yep! They're based in the city I live in, so everything is quite reasonably priced. I think that deep blue is my favourite colour of theirs.

[–] nick@campfyre.nickwebster.dev 4 points 11 months ago

Wellington needs more karaoke spots

 

Stargazing in anticipation of Matariki

 

The shot I pulled for this is here: https://coffee.nick.geek.nz/shots/0ce7c21d-6279-41b5-aa05-ab2f9b4e157f

As you can see from the graph I’ve been experimenting with 6 bar shots for my medium roasts to enhance the sweet chocolatey characteristics. I like what I'm getting although it feels wrong haha

view more: ‹ prev next ›