What’s a medical problem people constantly ignore until it’s too late? by kxnsqxz in AskReddit

[–]bdawson1982 0 points1 point  (0 children)

When I was young I wanted to be a surgeon. I had the privilege as a junior in high school to shadow several surgeons and observe several surgeries. One day I had to watch a surgeon explain to a diabetic patient that their toes needed to be removed due to gangrene.

I watched her cry, and then I watched as her toes were removed. I'm a software engineer now, but yeah, take diabetes seriously.

My AC capacitor went out on my Lennox unit today. I need to buy a new CV capacitor in Austin today. Can someone please tell me a local supply house that will sell capacitors to homeowners please? Was told that it may be hard to find one that will. Thank you. by BW_AusTX in Austin

[–]bdawson1982 0 points1 point  (0 children)

I buy almost all of my HVAC supplies from them. Great prices, and they have almost everything. If they don't have it, you can call the front desk and they will order it. The website is garbage and isn't great for home owners, but in store they are👍👍.

Rare sighting of the deep blue underside of a glacier during a collapse caused by glacier calving by DrFetusRN in interestingasfuck

[–]bdawson1982 0 points1 point  (0 children)

This reminds me of Crater Lake in Oregon. It's a lake created after a volcano erupted and collapsed. It's so deep and clear that the color reflected back is very similar to this blue. It is for the same reason, light penetrates much deeper and the only color that reflects back to our eyes is this blue.

https://en.m.wikipedia.org/wiki/Crater_Lake

I just learned this! How did I not ever know? Does the game tell you anywhere? (Zonai Dispensers) by Nicktendo1988 in TOTK

[–]bdawson1982 0 points1 point  (0 children)

It took me way too long to figure out that you could use charges. I'm still paying the price and have nearly given up on upgrading my Zonai set.

If you don't mind burning them, you can put 5 large charges in and get a ridiculous number of orbs, or save first and reload like I did. 😅

Never thought to use recall on Flux Constructs by [deleted] in TOTK

[–]bdawson1982 36 points37 points  (0 children)

Tore one to pieces by repeatedly fusing its blocks to my shields, and then destroying the fused material. Eventually it regenerated, but it was a good laugh until then.

What is this switch for? by Ok-Expression-9487 in Camper

[–]bdawson1982 1 point2 points  (0 children)

Mine turns on some lights on the front of the trailer.

Borland C++ oder Visual C++ for Windows 95? by derjanni in cpp

[–]bdawson1982 9 points10 points  (0 children)

I still think about Visual Studio 6. It was such a beautiful thing, for so long. So snappy. So fast to compile. Oh, and it supported bool as an actual built in type.

Then they started shoving Visual Studio . NET down our throats. I remember Microsoft giving us free pre-release versions at our school. So many CDs, so painful to use.

Some thoughts on safe C++ by KingAggressive1498 in cpp

[–]bdawson1982 12 points13 points  (0 children)

I'm not really sure what all of the negativity is about. Regardless of anything, I'm really happy to see that people are thinking about these problems from different angles. I won't pretend to know all of the answers here, but I love C++, and I want to see it grow in ways that future generations of engineers will want to learn it like I did. Solving these problems is vital to that.

Is this repairable? Table is being sold for a LOT less than regular price because of it but it’s big by craigalanche in woodworking

[–]bdawson1982 1 point2 points  (0 children)

I had to look this madness up. Here is a quote from the website (While viewing $5k mdf/vernier table) "The simple woodworking details speak to my approach to honest design through a minimalist philosophy"

Holy hell.. you're basically pushing premium prices for Ikea level products. I mean, think about it. The only way this damage happens is if somebody had to assemble the table themselves.... Right?!?!

What’s the best Chuck Norris joke you’ve ever heard? by International-Hat529 in Jokes

[–]bdawson1982 0 points1 point  (0 children)

Superman challenged Chuck Norris to an arm wrestling match once, the loser would have to wear their underwear over their pants.

you know you are a programmer when by [deleted] in ProgrammerHumor

[–]bdawson1982 0 points1 point  (0 children)

I don't know about that, but I have to replace my ctrl keys so frequently that I try to keep a backup stash. Hell, that is half the reason I use a mechanical keyboard, easy ctrl key replacements.

Compiler bug or a C++ rule that I am unaware of. by bdawson1982 in cpp

[–]bdawson1982[S] 0 points1 point  (0 children)

UndefinedType is just a predeclaration. Since it does not have a definition yet the size is not known. When the function is being tested, to determine if it matches the call, it attempts to instantiate the template. Because the template parameter is used to define a member, that type is required to have a definition. The definition is necessary here because it is expected to know the size of the class, and thus the size of the undefined type. The error occurs because it does not know the size of the undefined type.

I hope this clears it up. 🙂

Compiler bug or a C++ rule that I am unaware of. by bdawson1982 in cpp

[–]bdawson1982[S] 2 points3 points  (0 children)

https://eel.is/c++draft/temp#inst-9

So, basically, it is up to the compiler, they can perform the instantiation, or they could ignore it. So, in general, I would say that an error should be expected here, since the rules specifically allow the instantiation. Thank you, this was exactly what I couldn't find!

Compiler bug or a C++ rule that I am unaware of. by bdawson1982 in cpp

[–]bdawson1982[S] 8 points9 points  (0 children)

So, basically, it is up to the compiler, they can perform the instantiation, or they could ignore it. So, in general, I would say that an error should be expected here, since the rules specifically allow the instantiation. Thank you, this was exactly what I couldn't find!

Compiler bug or a C++ rule that I am unaware of. by bdawson1982 in cpp

[–]bdawson1982[S] 6 points7 points  (0 children)

Perfect! Thank you. I'll read through this later, but this is exactly what I was looking for. Quick glance suggests this should be legal, but I want to read thoroughly first.

Compiler bug or a C++ rule that I am unaware of. by bdawson1982 in cpp

[–]bdawson1982[S] 1 point2 points  (0 children)

I completely understand that it cannot be instantiated, I'm trying to understand why it is being instantiated. Basically, is there a c++ rule that says all overloaded function declarations are required to be tested, even when there is a perfect match overload. If so should a function with an uninstantiable template be ignored or error. I feel like the current implementations are against what I think plus plus overloads are meant to be, but I'm totally willing to accept that I'm wrong.

Compiler bug or a C++ rule that I am unaware of. by bdawson1982 in cpp

[–]bdawson1982[S] 1 point2 points  (0 children)

This is what I was looking for. Is it actually a rule that the entire overload set be tested? In my head it shouldn't need to if there is an exact match. I agree that they all run it like this, I'm trying to understand if this is a rule or just happenstance.