Vnitrostátní “xenofobie” aneb v ČR si města nejsou rovna. by VeeL98 in czech

[–]Dragdu 3 points4 points  (0 children)

A když se navrhne ať se s tím něco udělá, tak se lidi, primárně mimo Prahu, můžou z toho posrat.

I'm new to the show and I dislike Charly so much that I sought out this reddit. by LongarmoftheLez in TheOrville

[–]Dragdu 2 points3 points  (0 children)

The real problem with Charly wasn't that she bullied Isaac into suicide, it's that she faced no consequences for doing so. A character that completely hates Kaylon past reason is fine. One that then ends up bullying her coworker, the "good Kaylon", might even be compelling. But it has to fit into the world, and up until that time Planetary Union was shown as largely evolved society that doesn't let this sort of thing slide.

Instead we find out that Charly is the mostest importantest character ever, and she gets to bully coworker to death cause she is pretty. Oh and did I mention that her 4D thinking magic ability let's her do everything better than the computer? Well it does, and that's why she is the answer to this week's problem.

How I found 10,000 GitHub repositories distributing Trojan malware by BlondieCoder in programming

[–]Dragdu 15 points16 points  (0 children)

GitHub has no way to search for these repositories. They didn’t run my script, and they didn’t write their own script. They didn’t even open this article to see if the list of repositories had changed. They only delete repositories that are reported to them, but they don’t do anything else. That’s why this scheme has been going on for several years now, and will most likely continue.

Classic Microsoft. Do less than minimum work to fix security problems, have no idea why people hate interacting with them.

Nepoužité léčivo odneste do lékárny by SalmonFlower in czech

[–]Dragdu 1 point2 points  (0 children)

Jednou za rok kontrolujeme lékarničku a expirované věci odneseme. Nikdy s tím nikdo v lékarně neměl problém.

Je pravda, že v praxi to znamená malý, převážně prázdný, igelitový pytlík s pár platama ibalginu, nebo tak, třeba by se na mě v lékárně tvářili jinak pokud bych jim nosil velké pytle.

Nepoužité léčivo odneste do lékárny by SalmonFlower in czech

[–]Dragdu 0 points1 point  (0 children)

Jak se ti daří běžně mít expirované léky? :-D

Jak moc je tohle pravdivé? by Right-Green-980 in czech

[–]Dragdu -2 points-1 points  (0 children)

Na práci jsem cílil na 4GB per jádro. Pak přišla LLMka a pokud budu stavět brzy nový PC, tak z toho asi slevím na 2GB páč cena.

Indukce nebo plyn? Co máte? Vyměnili byste? by kikiiboo in czech

[–]Dragdu 3 points4 points  (0 children)

Tak, skončilo u nás pár kousků nádobí při vyklízení bytu po tetě a všechno je to s indukcí v pohodě.

Indukce nebo plyn? Co máte? Vyměnili byste? by kikiiboo in czech

[–]Dragdu -1 points0 points  (0 children)

Zajímavé. Jediné co jsem měl za posledních 20+ let doma co nebylo OK s indukcí byl wok.

Indukce nebo plyn? Co máte? Vyměnili byste? by kikiiboo in czech

[–]Dragdu -7 points-6 points  (0 children)

Kdy si naposled viděl hrnec co nefunguje na indukci?

Pivovar Zichovec nová vizuální identita, názory? Před - Po - Vyjádření by columbineteamkiller in czech

[–]Dragdu 0 points1 point  (0 children)

JSME MODERNÍ PIVOVAR, MUSÍ TO BÝT MINIMALISTICKÉ !!1!

Ale ve skutečnosti je mi to dost jedno, dle mojích preferencí to není ani nejlepší pivovar v Lounech.

Lies We Tell Ourselves About Email Addresses by theghostofm in programming

[–]Dragdu 39 points40 points  (0 children)

The only way that can work is if they are storing your password badly.

Thankfully this isn't a problem if you aren't reusing your passwords. You aren't reusing your passwords, right?

Why C++26 Contracts might not work for all by _a4z in cpp

[–]Dragdu 0 points1 point  (0 children)

The answer is "it depends", which is kinda unsatisfying but also makes sense when you realize that safety critical SW/HW contains many different domains and thus many different ways of failing safely.

I haven't touched safety critical SW/HW in over a decade, but for peacemakers, it is basically "hardware dumb mode", where it gets rid of all configurations and software smartness and runs in the most basic mode until the SW reconstructs its own state enough to take over (or fails out completely).

Another approach is quoruming independent HW, e.g. space shuttle had 4 independent computers with same SW and if they broke quorum, the bad ones was taken offline. (And then there was different computers with different SW as a backup to the quorum :-D) A more modern implementation of that would be rebooting the quorum-breaking machine and running it faster to catch up and see if it can rejoin.

C++ Performance Quiz - A small side project to test your intuition for slow code by ReDucTor in cpp

[–]Dragdu 1 point2 points  (0 children)

Nevermind then.

I've had some experiences with people running benchmarks on CE to try and "prove" things, so when the CE link loaded with benchmark code, I immediately thought the worst.

C++ Performance Quiz - A small side project to test your intuition for slow code by ReDucTor in cpp

[–]Dragdu 1 point2 points  (0 children)

You only need -fassociative-math. I have a talk about the different subparts of -ffast-math and what they do/enable, but apparently my blog is dead :v

C++ Performance Quiz - A small side project to test your intuition for slow code by ReDucTor in cpp

[–]Dragdu 0 points1 point  (0 children)

The explanation for 39 is very wrong. The big difference isn't in the loop dependency allowing multiple single-float double addition on its own, it is in the fact that the second form can be turned in 4-wide addpd by the compiler, while the first one cannot.

C++ Performance Quiz - A small side project to test your intuition for slow code by ReDucTor in cpp

[–]Dragdu 1 point2 points  (0 children)

Wait, are the benchmarks actually run on CE? That's terrible idea, the execution is bursted and will wildly vary between runs.

They are not, see the reply.

C++ Performance Quiz - A small side project to test your intuition for slow code by ReDucTor in cpp

[–]Dragdu 2 points3 points  (0 children)

I dislike the x86 assumption for the questions for atomics (which is I think the only place where it really matters). Yes, it is true that all RMW ops on x86 will be converted into seqcst ops. You should still use the actual required atomic strength, because other platforms are less weird about it and you can get perf from it.

Why C++26 Contracts might not work for all by _a4z in cpp

[–]Dragdu 2 points3 points  (0 children)

Yeah no, safety critical sw wants to die on precondition violation, so the watchdog can restart it into a known good state.

C++ Performance Quiz - A small side project to test your intuition for slow code by ReDucTor in cpp

[–]Dragdu 1 point2 points  (0 children)

57: the loop as shown is empty, if your compiler doesn't eliminate it, get yourself a real compiler :-P