- 0 Posts
- 50 Comments
It still boggles my mind that C# is as good as it is given where it comes from. Java really fucked up with type erasure and never fully recovered imo.
It’s funny, I’ve had an Android, a Nokia Windows Phone, and an iPhone, and Windows Phone was the only OS in which I didn’t open every single app through search. The utter lack of an app ecosystem definitely played a part, but I honestly don’t think either of the other two handle home screens/“app drawers” very well. Every modern social media platform/messenger/etc. is built around vertical continuous scrolling because it’s easier. Why is horizontal, paginated scrolling the default for home screens?
QuaternionsRock@lemmy.worldto Programming@programming.dev•Things You Should Never Do, Part I (2000)2·1 year agoI’m not extremely familiar with it, but I think X11 qualifies. I think it was determined that HDR support would be basically impossible to implement.
QuaternionsRock@lemmy.worldto Programmer Humor@programming.dev•You can certainly change it. But should you?1·1 year agoThat seems like a better fit for an intrinsic, doesn’t it? If it truly is a register, then referencing it through a (presumably global) variable doesn’t semantically align with its location, and if it’s a special memory location, then it should obviously be referenced through a pointer.
QuaternionsRock@lemmy.worldto Programmer Humor@programming.dev•You can certainly change it. But should you?72·1 year agoI’ve never really thought about this before, but
const volatile
value types don’t really make sense, do they?const volatile
pointers make sense, sinceconst
pointers can point to non-const
values, butconst
values are typically placed in read-only memory, in which case thevolatile
is kind of meaningless, no?
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•Amsterdam testing system that can remotely slow e-bikes downEnglish11·1 year agoSure, as soon as you stop hating on e-bikes
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•Amsterdam testing system that can remotely slow e-bikes downEnglish2·1 year agoE-bikes can replace cars in far more situations than regular bicycles can.
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•Someone gets killed by a car, so they restrict e-bikes.English9·1 year agoI have a Class 3 (28mph), it’s actually not too bad. That assumes the brakes are well-maintained, though, and as we know there are no inspections for e-bikes. I’ve seen some terrifyingly bad brakes on normal bicycles, so I can’t imagine what some people’s e-bikes look like.
It should be mandatory for Class 2 and Class 3 e-bikes to have hydraulic disc brakes imo. I have mechanical disc brakes, and I have to tighten them at least once a month. It seems unwise to trust that the average person would also do that. Rim brakes are right out; they have nowhere near enough braking power for the speed and weight of most e-bikes.
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•Amsterdam testing system that can remotely slow e-bikes downEnglish41·1 year ago-Guy who has no interest in seeing cars largely replaced with bikes in cities
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•Amsterdam testing system that can remotely slow e-bikes downEnglish4·1 year agoIt’s relatively common for a car to merge into you where I live. If you’re adjacent to the front wheel it’s safer to accelerate the rest of the way than it is to brake.
Edit: it’s also insane that they’re trying to do this with e-bikes before cars.
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•Amsterdam testing system that can remotely slow e-bikes downEnglish43·1 year agoSince you’re still free to accelerate by pedaling like a normal bike user, that significantly reduces the amount of situations where the pedal assist would actually save you.
Bro e-bikes are like 3-6x heavier than normal bikes, manual pedaling sucks and you can’t accelerate for shit
That defeats the brute-force attack protection…
The idea is that brute-force attackers will only check each password once, while real users will likely assume they mistyped and retype the same password.
The code isn’t complete, and has nothing to do with actually incorrect passwords.
QuaternionsRock@lemmy.worldto Nintendo@lemmy.world•Yuzu emulator shutting down, paying Nintendo 2.4 million in lawsuit settlementEnglish3·1 year agoI would guess that they settled because they would go bankrupt fighting it. You have no idea if you and their legal team are in agreement, as far as I can tell. Feel free to comment with proof to refute my guess, otherwise my guess is as good as yours.
“Garfield is a cat”: “Garfield belongs to the cat species”.
They had me until this one lmao
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•The fact that this double standard exists (I did this search today to confirm)English11·1 year agoYou are mistaken that the discrepancy is the result of algorithmic bias. The latter image depicts a custom, hard-coded result that appears when one of preselected set of queries are searched. It was added as part of an anti-domestic violence drive. The trouble is, adding a copy of the selected queries with substituted gendered language (e.g., substituting “husband” with “wife”, “man” with “woman”, etc.) would have taken all of 10 minutes. It’s not surprising that most are unsympathetic to this excuse.
QuaternionsRock@lemmy.worldto Mildly Infuriating@lemmy.world•The fact that this double standard exists (I did this search today to confirm)English81·1 year agoIt isn’t though? The post is advocating that everyone should receive help, while the comment is trying to justify the way it currently is.
I think people are hesitant to call ML “statistical modeling” because traditional statistical models approximate the underlying phenomena; e.g., a logarithmic regression would only be used to study logarithmic phenomena. ML models, by contrast, seldom resemble what they’re actually modeling.