explore_broaden

u/explore_broaden@midwest.social
5 posts · 243 comments

Recent posts

Recent comments

on *Permanently Deleted* · c/news · 16 pts · 1y

How is this not an actual crime? The restaurants had the oil in collection containers to be a collected by someone they had an agreement with, and these people came around and stole it.

on 15 December 1979 · c/garfield · 3 pts · 1y

That’s exactly what CPI is based on, it’s just that it’s the average of everything someone would generally buy, so things like food and technology that haven’t experienced as much inflation weigh the average down.

on *Permanently Deleted* · c/technology · 1 pts · 1y

Yeah I’ve opted out every time (a couple times each at three different airports) and haven’t had any issues, the agents I’ve seen knew exactly what to do if someone opts out.

on *Permanently Deleted* · c/technology · 5 pts · 1y

Every airport I’ve gone through that’s doing it has half a dozen signs up as you move through the line telling you that you can opt out by letting them know you want to.

You can use expect on Options and Results to extract the value and panic on Error in the same line (https://doc.rust-lang.org/std/result/enum.Result.html#method.expect).

let html_content = reqwest::blocking::get(&permalink).expect("the request should succeed");

You can also use unwrap if you don’t need a custom message. The ? operator is definitely the most compact way of handling errors, and for good reason because the rust developers want people to use it. Once you learn that the code will become somewhat smaller.

on About that... · c/linuxmemes · 5 pts · 1y

I wouldn’t say the OS is Linux any more than the OS of an Apple computer is XNU. Linux is just the kernel. Similarly the other OS isn’t “Windows NT kernel,” but Windows 10 or Windows 11.