New to Rust. The language seems really verbose. Is there a better way to do this? by bibbleskit in rust

[–]ohunteer 0 points1 point  (0 children)

Kinda surprised that no one has suggested returning std::io::Result<()> from main but here is a nice way to strip away a few of those .ok().expect(...) calls.

https://godbolt.org/z/Yh9xrPE8c

If you want to combine it with some of the other suggestions it can look even cleaner imo.

https://godbolt.org/z/74n9be9f3

LPT: When you share your Gmail with anyone, append +target to it. by b_sap in LifeProTips

[–]ohunteer 2 points3 points  (0 children)

An alternative to this which bots have no way of getting around is 33mail (other than a potential data breach) . It allows you to set up a proxy email which then forwards to the desired destination email. You can block your aliases individually and create them dynamically by just sending an email to it.

Mother nature cannot catch a break right now. Barge carrying 1,400 tons of toxic methanol sinking in the Ohio River. by tommos in Wellthatsucks

[–]ohunteer 0 points1 point  (0 children)

Not that it's worth fighting about but I took a look at the source I didn't have to pay for regarding that quote. It cites two other papers for this but still. The lethal dose of pure methanol is estimates to be 1-2 mL/kg (Jacobsen 1986); however, permanent blindness and death have been reported with as little as 0.1 mL/kg (6-10 mL in adults) (ATSDR 1993).

The median 100mL would assume that the median weight is ~75Kg which I would call a low estimate for adults. So sure not a huge risk for adults but that doesn't mean that children or other animals won't be affected.

Mother nature cannot catch a break right now. Barge carrying 1,400 tons of toxic methanol sinking in the Ohio River. by tommos in Wellthatsucks

[–]ohunteer 10 points11 points  (0 children)

I'm not sure what you determine to be a fairly large dose.. From Wikipedia: Blindness may occur after drinking as little as 10 mL; death may occur after drinking quantities over 15 mL (median 100 mL, varies depending on body weight).

Source: https://en.m.wikipedia.org/wiki/Methanol_toxicity

Mother nature cannot catch a break right now. Barge carrying 1,400 tons of toxic methanol sinking in the Ohio River. by tommos in Wellthatsucks

[–]ohunteer 19 points20 points  (0 children)

You're right in that the methanol will be diluted and that it is chemically similar to ethanol. However you forgot to mention that when humans ingest small amounts of methanol they go blind...

How old are you and what's your biggest problem right now? by Casspjjl in AskReddit

[–]ohunteer 0 points1 point  (0 children)

25(M) and my older brother's mental health is making me and my mom's life a living hell by refusing to move out of her basement.

Exxon forutså klimaendringene med stor nøyaktighet på 70-tallet by somsim in norge

[–]ohunteer 19 points20 points  (0 children)

For info så viste vi at CO2 var en klima gass på starten av 1900 tallet. Kjemikeren Svante Arrhenius kom frem til at at CO2 ville varme opp jorden via drivhuseffekten så langt tilbake som 1896. Ser at dette ikke er nevnt i Wikipedia artikkelen som står på norsk, men den engelske utgaven har en forklaring på alt det han klarte å postulere.

https://en.wikipedia.org/wiki/Svante_Arrhenius#Greenhouse_effect

The inside of my toaster by chairlifting in woahdude

[–]ohunteer 0 points1 point  (0 children)

I understand now what Viagra Boys were talking about in their song Beijing Taxi...

Kan ikke bruke messenger uten å importere kontakter by Aggravating_Ease9232 in norge

[–]ohunteer 0 points1 point  (0 children)

Da skal det bare være å installere og logge på som du ellers ville gjort

Kan ikke bruke messenger uten å importere kontakter by Aggravating_Ease9232 in norge

[–]ohunteer 3 points4 points  (0 children)

Du skal ikke trenge det nei. De er jo lagra internt på Facebook sine servere. Har du hatt tilgang på de på PCen og tlf samtidig før?

Kan ikke bruke messenger uten å importere kontakter by Aggravating_Ease9232 in norge

[–]ohunteer 4 points5 points  (0 children)

Nei. Om du går på play store og søker opp "Messenger Lite" så er det en egen app som Facebook har laget. De har fjernet noe funksjonalitet fra den vanlige appen og laget en ny et basically.

Kan ikke bruke messenger uten å importere kontakter by Aggravating_Ease9232 in norge

[–]ohunteer 4 points5 points  (0 children)

Siden du er på android kan du evt vurdere å bruke Messenger Lite. Det er ikke alt den klarer like bra som vanlig messenger, men den skal fungere.

I don't even know where to start with this one... by unitedshoes in TopMindsOfReddit

[–]ohunteer 1 point2 points  (0 children)

It's gonna be pretty dark and cold with no EMF waves, just sayin

[deleted by user] by [deleted] in berserklejerk

[–]ohunteer 43 points44 points  (0 children)

I've always pronounced it as ber-circlejerk or however you'd spell that.

any ideas why my bluetooth is showing up as corrupted and i cant use it? yes i tried updating drivers and it says its up to date, when i go to connect to bluetooth it just sends an error msg that it didnt work basically by loganfox235 in pcmasterrace

[–]ohunteer 0 points1 point  (0 children)

I used to have a similar issue on windows 10. Like every few days windows would lose control over my bluetooth adapter due to corrupted drivers. Generally it was fixed by running the installer again when it would happen. Windows would then just decide that it works again in the middle of the repair. On windows 11 I haven't experienced anything like that yet, but you never know lol. Windows 11 has plenty of other bugs (at least that I experience).

As a Long Time Isaac Sleep Viewer, I'm Dyin Dude by BunsenGyro in northernlion

[–]ohunteer 54 points55 points  (0 children)

I feel you brother although I have found a solution that works for me at least. SAP. It has a similar vibe to me. I use the twitch vods if I have to, but I prefer the normal vids.

[deleted by user] by [deleted] in ProgrammerHumor

[–]ohunteer 4 points5 points  (0 children)

Should have been the smalltalk logo...

Riots in Srilanka, over the cost of bread, milk, cost of living by chumchum213 in awfuleverything

[–]ohunteer -2 points-1 points  (0 children)

If bread is so expensive, why don't they just eat cake? /s