0
24
Duralf

@lemmy.world

Duralf 35 points 3 years ago

You can safely swim in the pool of an operational reactor

Besides the acute lead poisoning from being shot apparently.

path: 0 2977443 2977640 2978562, hotness: undefined, score: 35, children: 1
Duralf 19 points 3 years ago

Självklart är det helt galet och ett fruktansvärt säkerhetshål.

path: 0 3566428, hotness: undefined, score: 19, children: 1
Duralf 17 points 3 years ago

The problem is everyone disagrees on what part of C++ is good... Some like C+classes. Some like intense meta programming and some like functional programming and all are valid C++ that people advocate for.

path: 0 5482792, hotness: undefined, score: 17, children: 0
Duralf 13 points 3 years ago

If (false) is good because it is compiled so it doesn't get stale.

path: 0 5478566 5478758 5482691, hotness: undefined, score: 13, children: 7
Duralf 13 points 3 years ago

Poland really should have started transitioning away from coal ages ago.

path: 0 2945565, hotness: undefined, score: 13, children: 1
Duralf 10 points 3 years ago

I think you missed the whole point of my comment 😂. Regardless, the time spent compiling a small snippet of code is completely negligible. In the end, both #if 0 and if (false) have their complimentary uses.

path: 0 5478566 5478758 5482691 5482822 5482940, hotness: undefined, score: 10, children: 2
Duralf 10 points 3 years ago

This is a holy war that I will gladly fight again and again! I can't believe that soft tabs are more popular, especially in python!

path: 0 3128547, hotness: undefined, score: 10, children: 4
Duralf 10 points 3 years ago

Yes, past presidents have gradually expanded the power of the position beyond any reasonableness over time.

path: 0 6054495 6054870, hotness: undefined, score: 10, children: 0
Duralf 8 points 3 years ago

I can't tell if you are sarcastic or serious. Population growth is slowing globally so it's not like there is an infinite supply of young people.

path: 0 3869456 3869747 3872095 3873817, hotness: undefined, score: 8, children: 1
Duralf 8 points 3 years ago

The muslims could also not commit terrorism.

path: 0 2407237 2410418 2414824, hotness: undefined, score: 8, children: 2
Duralf 7 points 3 years ago

Verkar inte som om vi är i närheten av att bli av med dessa jävla omställningarna. Spelar absolut ingen roll för min del om det blir sommartid eller vintertid bara det tar slut.

path: 0 4828221, hotness: undefined, score: 7, children: 0
Duralf 6 points 3 years ago

Atomic instructions are quite slow and if they run a lot... Rust has two types of reference counted pointer for that reason. One that has atomic reference counting for multithreaded code and one non-atomic for single threaded. Reference counting is usually overkill in the first place and can be a sign that your code doesn't have proper ownership.

path: 0 1336840 1415889 1417985, hotness: undefined, score: 6, children: 0
Duralf 6 points 3 years ago

I can't believe that the std C++ implementations performance is this bad!

path: 0 4164653, hotness: undefined, score: 6, children: 0
Duralf 6 points 3 years ago

API from a call that accepted integer values between 0 and 32767 (minimum and maximum wheel speeds) to one that accepted float values between 0.0 and 1.0.

This would cause alarm bells to ring in my head for sure. If I did something like that I would make a new type that was definitely not implicitly castable to or from the old type. Definitely not a raw integer or float type.

path: 0 5006227 5006477 5007944 5008287 5008903, hotness: undefined, score: 6, children: 5
Duralf 5 points 3 years ago

In 2019 there were reports of Apex Legends requiring SSE4.1, an instruction set from circa 2007.

It's not just about when it was released, sometimes budget processors or, in this case, AMD doesn't support them straight away or ever.

path: 0 1798098 1802912 1808781, hotness: undefined, score: 5, children: 0
Duralf 5 points 3 years ago

Nybakat bröd är så gott att det är lätt att råka smälla i sig en halv limpa själv.... Du behöver kanske inte frysa in så mycket som du tror 😀

path: 0 4568511, hotness: undefined, score: 5, children: 0
Duralf 4 points 3 years ago

Even in C this is possible. Just wrap the float or whatever in a struct and all implicit conversions will be gone.

path: 0 5006227 5006477 5007944 5008287 5008903 5009597 5028281, hotness: undefined, score: 4, children: 0
Duralf 4 points 3 years ago

It's because they don't put work on them.

path: 0 5644063 5653357, hotness: undefined, score: 4, children: 0
Duralf 3 points 3 years ago

I thought most of it was stock options?

path: 0 7809082 7811428 7846202, hotness: undefined, score: 3, children: 0
Duralf 2 points 3 years ago

Jobbar hemma en dag i veckan och annars pendlar jag med buss. Tar en halvtimme på vart håll (mer om det är trafikolyckor vilket det ofta är). Helt ok tycker jag. Det är ganska trevligt att sitta på bussen och läsa eller något liknande.

path: 0 3767527, hotness: undefined, score: 2, children: 0

thanks for using Leebra!

go to feed...