snaggen

joined 2 years ago
 

This is a blog post that really is about C++, but with a look at how Rust does things. So, this is an interesting C++/Rust comparison for once.

[–] [email protected] 2 points 6 months ago (2 children)

I wanted to use the debug fmt functions, to allow for pretty debug also.

 

Last week I basically duplicated the serialization code to provide better debug output.... today, I see this pass in my Mastodon feed. 😀 Well... what are the odds... most likely close to 100% according to how the universe seems to operate.

[–] [email protected] 1 points 7 months ago

No, but the process to identify the ones that work is all part of the modern medicine. Before that, placebo and lack of scientific methods made it impossible to separate a working substance from snake oil.

[–] [email protected] 4 points 7 months ago (12 children)

Yes, historical medicin was so good, lets work our ass off to recreate it...

[–] [email protected] 8 points 7 months ago* (last edited 7 months ago) (3 children)

For Boomers, cars was the latest tech that everyone was fiddling with. This caused even the boomer that wasn't very interested , to know quite a lot. For later generations, car became more of a means of transportation, and the knowledge of cars was only for specialists. For gen X, computers were the high tech thing, everyone was fiddling with. Most gen x can setup a printer if they have to. For later generations, computers are just tools, and the knowledge is only for specialists.

[–] [email protected] 9 points 7 months ago (1 children)

fs::exists() was a nice little improvement that I didn't know about until I read this announcement.

[–] [email protected] 18 points 7 months ago (1 children)

Producing products that the users wants, and that solves tje users real problems. And not trying to make products as addictive as possible, to harvest as much user data as possible to sell.

[–] [email protected] 3 points 8 months ago

It is making the tracking protection part of containers obsolete, this is basically that functionality but built in and default. The containers still let you have multiple cookie jars for the same site, so they are still useful if you have multiple accounts on a site.

[–] [email protected] 7 points 8 months ago

Container tabs are still useful, as they let you use multiple Cookie jars for the same site. So, it is very easy to have multiple accounts on s site.

[–] [email protected] 23 points 8 months ago

https://doc.rust-lang.org/book/ this is a great starting point. Then when you got the basics, and fiddled around a bit, then you can start looking for more specialized books (like Rust Atomics and Locks https://marabos.nl/atomics/ )

[–] [email protected] 13 points 9 months ago (2 children)

Have he said something even close to the stupidity of Trump? Like suggesting bleach against Covid? Why should all Trump opponents be measured with a different scale then Trump. Could you imagine the number of headlines required if Trump would get a headline every time he does anything on this scale?

[–] [email protected] 19 points 9 months ago

Well, not sure an inflation, twice the size of the GDP is positive for a country...

[–] [email protected] 16 points 9 months ago (2 children)

Comment about image

view more: ‹ prev next ›