Lightfire228

joined 2 years ago
[โ€“] Lightfire228@pawb.social 3 points 6 days ago* (last edited 6 days ago)

I can confirm, I've never used a non memory managed language, and the Rust borrow checker is a massive kick in the teeth

But, the more i consider it from the perspective of memory, and pointers, the borrow checker makes a lot of sense

Especially when storing references inside structs, and how mutability affects references

I actually figured out i could fix a re-mutable borrow error by performing the two mutable operations in separate for loops

[โ€“] Lightfire228@pawb.social 5 points 1 week ago* (last edited 1 week ago)

The prostate is the male G spot, and enjoying anal stimulation is perfectly normal for males regardless of sexual orientation


Also, if you do experiment, don't stick anything up there without a flared base. Otherwise it will get lost and you will have to explain yourself to the ER

[โ€“] Lightfire228@pawb.social 3 points 1 week ago (1 children)

Blue cheese is intentionally inoculated with mold. Specifically penicillium mold that is perfectly safe to eat.

If a cheese "naturally" develops mold, there's a good chance it could be harmful, so don't eat that

[โ€“] Lightfire228@pawb.social 12 points 1 week ago (1 children)

I use Tidal instead of Spoofie

Same price, higher quality audio, and imo a better recommendation feed

[โ€“] Lightfire228@pawb.social 3 points 2 weeks ago (1 children)

Based Zed user

[โ€“] Lightfire228@pawb.social 2 points 3 weeks ago

The art style is giving Nutshell Animations

[โ€“] Lightfire228@pawb.social 11 points 3 weeks ago

Kids are gonna kids

I don't understand what teachers think a "banned words list" is gonna accomplish except being the new target of bored kids/teens

(Unless they're just tired of hearing it, but this isn't a good solution imo)

[โ€“] Lightfire228@pawb.social 3 points 1 month ago (3 children)

I usually just grab something metal to scratch with

[โ€“] Lightfire228@pawb.social 5 points 1 month ago* (last edited 1 month ago)

To explain

There are 2 Error struct / enum declarations, probably in separate files

To the ?, they are different types and cannot be converted from one to the other (because they are two disparate structs that happen to have the same name, but can have different bodies)

To fix this

You can either use .some_func_result().map_err(|err| /* conversion here/*)?; +

Or you can impl From<Error1> for Error2

And you should also name it ThingError, so you can visually differentiate the two


+ There are like 10 different mapping functions, depending on if you're using an option or a result

I never remember which one specifically i need, (unwrap_or, map_or, map_or_else, ok, ok_or)

I usually just hunt through the auto complete list until i find the function signature that gives me what i need

[โ€“] Lightfire228@pawb.social 13 points 1 month ago

The SoC on the motherboard has a special EDL mode

This is kinda like the SoC's pre-bootloader, which loads the bootloader and can be used to flash a new bootloader

EDL mode is locked behind vendor specific certs/keys, so it's unaccessible to the device owner

 

The weight of the material is supported by your shoulders, and not your hips, which is far more comfortable in general

In addition to having more room for pockets, overalls can carry heavier things without falling down, nor need for a belt

Since the weight of the material is carried at the shoulders, bending down at the waist is easier and less restricted. The waistband no longer needs to be tight, since it no longer serves a functional purpose

view more: next โ€บ