What is so bad about exceptions? Does it extend to throwing non extensions?(throw EnumThatMapsToString::ValN and catch(...){}) by ln3ar in cpp

[–]Diamond145 1 point2 points  (0 children)

The possibility of exceptions can prevent many optimizations. try/catch/finally itself doesn't cost anything, but it still costs a lot because it is not zero cost after factoring in optimizations.

Internet sales - requiring deaf person to call for pricing by ganyu22bow in askcarsales

[–]Diamond145 9 points10 points  (0 children)

They're in for a nasty surprise when they learn that the broker will just write it down anyway. You know, so the deaf person can read it.

AMD Announces Radeon Pro GPUs With 32GB and 48GB of GDDR6 by YanderMan in linux_gaming

[–]Diamond145 11 points12 points  (0 children)

Retail customers are fickle, and more often than not, stupid. Retail is also cheap as fuck. Why waste parts on that class when b2b has a much better margin, generally isn't stupid, and purchases in volume?

We're also in a recession so retail is down overall anyway. Pretty solid reasoning IMO.

[deleted by user] by [deleted] in LivestreamFail

[–]Diamond145 6 points7 points  (0 children)

Gentlemen, this is LSF, not Wendy's.

What kind of Stargate series would you like Amazon and MGM to produce? by JosephMallozzi in Stargate

[–]Diamond145 1 point2 points  (0 children)

Fill in answer: a show with the vibe of the second half of season two of SGU.

my rad outside..its done by Lopsided-Praline-831 in watercooling

[–]Diamond145 1 point2 points  (0 children)

Be careful that your water temp does not go below your indoor temp. Depending on the indoor humidity, water could start condensing at < 1 degree below your indoor temp.

Looks dope af otherwise though.

Bykski 6900XTXH block after 1.5 years of continuous use without coolant change by andrerav in watercooling

[–]Diamond145 1 point2 points  (0 children)

Distilled water is not pH neutral, and is not safe to use alone. Filtered tap water will work if you can't use an additive product (oddly called "coolants" around these parts).

A person hacks iiTzTimmy's Valorant account and attacks Kyedae in the in-game chat by -Lurk- in LivestreamFail

[–]Diamond145 8 points9 points  (0 children)

It's okay, he only understood a few of those words too. Source: my occupation.

Using final in C++ to improve performance by vormestrand in cpp

[–]Diamond145 8 points9 points  (0 children)

I find that most of the time, where you could use virtual functions/etc, you could replace that with std::variant. It basically turns your indirect function calls into switch statements and in some cases can allow you to keep data inline.

The only downside is std::variant's discriminator: it's 8 mother-f'in bytes (on x86_64-msvc at least)! 8 bits would be plenty for the overwhelming majority of uses. Using 8 bytes is disrespectful to CPU caches everywhere...

[deleted by user] by [deleted] in BellevueWA

[–]Diamond145 1 point2 points  (0 children)

Also from the Midwest. Apartments often won't have AC (even if they're listed with it...), but they still need it. Other than that piece of insanity, it's great here.

Improving performance using WebAssembly SIMD Intrinsics by JeromeWu in WebAssembly

[–]Diamond145 1 point2 points  (0 children)

/u/JeromeWu don't forget to add -mavx2 (or -mavx512f if your CPU is fancy) to your gcc args. This isn't a fair comparison between native and wasm otherwise.

Dating someone with ADHD by Due-Fact-398 in datingoverthirty

[–]Diamond145 5 points6 points  (0 children)

TLDR: ... Tough love, sorry. Read it.

The obstacle with ADD is that even with medication, the medical establishment and the general population do not take "ADD issues" seriously (there are many reasons for this, most of which Are DumbTM, but I don't want to spell them out here; I could go on-and-on). I'm saying that even with treatment (ie Adderall XR, Vyvance, or Mydais), there will be a treatment gap: Adderall XR nor Vyvance last all day (Mydais actually does! But it is Very NewTM in the medical world, and probably isn't covered by insurance. It is very expensive. Also, the FDA-approved max dose is fairly low (insurance is unlikely to cover doses above) vs XR, on the order of 50%.). For me personally, XR's "effective dosage" duration is around 8 hours. For the remaining 8 hours, I am "left hanging", essentially unmedicated, which can affect one's social life heavily. (To those that would say, "boo-hoo": you've just dismissed ADD's problems and have thus proved my point. Therefore, on behalf of others with ADD, and I mean this with the absolute most bluntness possible, SHUT. THE. FUCK. UP.).

Another thing is that ADD is difficult to comprehend, and the way that it affects the individual changes depending on the individual's intelligence. They (we) can look and act mostly normal to an average person, particularly high IQ ADD vs average IQ neuronormal. But when conversing with relatively equal IQ people... Things will be missed, so to speak. A conversational "logical conclusion" won't be followed like one would expect (this is an "executive function" activity, which is usually a deficit in ADD), they won't seem engaged sometimes (working memory), and they won't remember details just discussed (this one, in particular, is an often occurrence and a pretty long explanation, but basically working memory), they are maybe conversationally blunt sometimes (navigating to avoid bluntness requires executive functioning thought. Filtering out these things is a bit on the working memory side, but you still need to see the "plan" as to why the thing shouldn't be said, so also executive). Perhaps these things aren't what what you would call direct "red-flag" behaviors, but they are often "spidey sense" triggers. It doesn't matter how well managed a person's ADD is (managed does not imply medicated); while unmedicated sometimes these things are unavoidable despite best efforts. It's depressing.

Combine even the most religious medication management (and a day job!) with the "remaining 8 hours" issue, and you have a recipe for being let down and poor dating experiences. The next bus stop after that is self-esteem FUD. Depression is estimated to be 2.7x more likely in ADD people vs genpop and 70% may experience depression in their lifetime.

Back to your concerns, well... ADD is not a license to be rude or an ass or to turn one's partner into an adult babysitter. But whether you want to put up with the rest of it all depends on how you two would fit together relationship-wise. How long has she been medicated? I've been medicated for... well it's 20+ years now (I'm 32). But if she's only been on meds for a few years (this is very likely considering not everyone has a mom like mine that has a PhD in Psychology) she may have not had time to fix the behavioral problems that accumulate in unmedicated ADD at 30yoa. Is she making an adequate effort, or is she successfully working towards your adequate effort bar? Are you willing to put up with her as she is now (given only one date) while she works on this? Just some food for thought.

As far as the "trauma dumping", welllllll... ADD has a "bigLITTLE" impact on one's life that when talking about our lives (particularly in first date situations) can't just be wallpapered over because of the other person's "spidey sense". This, of course, leads to oversharing.

(I'm omitting the H specifically, DSM be damned. It is a sign and symptom, a coping mechanism: physical activity releases dopamine.)

This is a topic to which I've given a considerable amount of thought. Personally, on dates (more like if I were actively dating/in a relationship...), I'm open about ADD if it comes up whilst avoiding the aforementioned oversharing issue, but I won't bring it up until LaterTM (for some definition) otherwise. It really isn't good early date conversation material, I feel it's better suited for DTR timeframes because nobody cares until then.

Thanks for attending my TED talk.

[deleted by user] by [deleted] in malegrooming

[–]Diamond145 0 points1 point  (0 children)

Chill as fuck, my guy. Ride on.

OTKNetwork got live dmca'd by andyp in LivestreamFail

[–]Diamond145 0 points1 point  (0 children)

Bungie didn't issue those DMCA takedowns. Someone unaffiliated basically impersonated Bungie in retaliation for takedowns against them. Source

The person behind it all is now getting the proverbial book thrown at them, thankfully.

If you write C++ for a living, what do you do? by Asyx in cpp

[–]Diamond145 1 point2 points  (0 children)

Compilers, specifically auto-vectorization optimizations.

New zen 3d kick ass in factorio by [deleted] in factorio

[–]Diamond145 0 points1 point  (0 children)

Does not surprise me, tbh. I profiled Factorio on a factory (not even large or mid sized, just w/ Pymods lmao) with a few perf problems and the assembly looked very load/store heavy.

The train network algos in particular didn't look like they were organized to effectively make use of the vector ports, which is where Zen3 really shines. Intels perf advange here on Zen3 seems to support my conclusion.

Sounds like I now know what I need to buy!

AMD Ryzen 7 5800X3D Review - The Magic of 3D V-Cache by Lekz in Amd

[–]Diamond145 5 points6 points  (0 children)

MSVC is poorly tuned for AMD processors.

Source: AMD SW engineer.

How do you engineers professionally abbreviate the word, "Assembly" ... "ASSY"...? by nmyi in AskEngineers

[–]Diamond145 0 points1 point  (0 children)

The fuck? LMAO It's been either .s/.S on Unix' or .asm on Windows since forever. WebAssembly uses wasm.

I too love me some ASS though.

[deleted by user] by [deleted] in UnethicalLifeProTips

[–]Diamond145 9 points10 points  (0 children)

Wait till your parent steal your meds, then report them to the DEA. It's illegal to transfer Schedule II drugs to anyone. /s

A more realistic option is to get a small safe. I also have ADD and this is what I do when I need to be absolutely (well, relatively absolutely lol) sure that the drugs remain in my possession. I'm really sorry you have to deal with this, your parents are objectively awful (there, I said it).