Lightfire228

joined 2 years ago
[–] Lightfire228@pawb.social 3 points 2 days ago (1 children)

Based Zed user

[–] Lightfire228@pawb.social 3 points 1 week ago

The art style is giving Nutshell Animations

[–] Lightfire228@pawb.social 10 points 1 week 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 2 weeks ago (3 children)

I usually just grab something metal to scratch with

[–] Lightfire228@pawb.social 5 points 3 weeks ago* (last edited 3 weeks 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 3 weeks 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

[–] Lightfire228@pawb.social 2 points 3 weeks ago

I'll be honest,

If I'm driving down a frequently used route, and the person in front of me is going 5-8 mph slower than i usually do

I'll go into "autopilot" and start to creep up on them.

If i realize I'm doing it, I'll back away

 

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 ›