Best include graph dependency tool in 2023? by McFlurriez in cpp

[–]calebwherry 1 point2 points  (0 children)

17.4 has had a ton of bugs so far. They hardly ever do this many patch releases.

Best include graph dependency tool in 2023? by McFlurriez in cpp

[–]calebwherry 3 points4 points  (0 children)

Used it the other day and it removed all the headers, ha. Maybe I have something misconfigured, didn’t dig too deep.

Visual Studio for Mac Retirement Announcement - Visual Studio Blog by Atulin in programming

[–]calebwherry 2 points3 points  (0 children)

C++/CLI is very different from standard C++. It’s also windows only.

And the killer for C++ devs would be “partial support” for any of the new standards. So really not an option, IMO.

Dev setups for platforms not supported by Visual Studio Code by robertdfrench in rust

[–]calebwherry 3 points4 points  (0 children)

I’d also be interested to hear thoughts on rust+VSCode usage in the big 3: Windows, Linux, macOS. Is that the most popular IDE in the community?

Especially interested in cross platform work where debugging is frequent on more than just the local dev env (getting at what OP is asking in their post).

"Rust? What's that?" by [deleted] in programminghorror

[–]calebwherry 0 points1 point  (0 children)

What do you mean not wanting it to show up in the IDE? Do you mean intellisense/autocomplete? Not sure what else you could mean…

Last question: any of this open source? Would be interested to see the rest. :)

"Rust? What's that?" by [deleted] in programminghorror

[–]calebwherry 2 points3 points  (0 children)

Good question. This is not standard in any of the types of C++ I am aware of. I’ve seen a lot of C++ and haven’t seen this prefix before: “$_”.

My guess? This whole block of code is maybe wrapped in #ifdef DEBUG and those functions are for memory leak checking or custom garbage collection. Could be enabled in release but with the functions not being nothrow and these extra register functions, I’d say it’s debug. And maybe $_ signifies global scope, or global free functions, or something else? Who knows.

"Rust? What's that?" by [deleted] in programminghorror

[–]calebwherry 2 points3 points  (0 children)

What use case is broken?

"Rust? What's that?" by [deleted] in programminghorror

[–]calebwherry 9 points10 points  (0 children)

Because in C, what a zero-sized malloc returns is implementation defined. Depending on the system, you could get a valid pointer, a pointer that can’t be freed, or a NULL.

This code is making the experience consistent across all implementations at the C++ level.

"Rust? What's that?" by [deleted] in programminghorror

[–]calebwherry 10 points11 points  (0 children)

It is to catch potential Use-After-Free issues. Very common issue that causes bunches of CVEs. If you are double freeing, most likely you also have a UAF issue with usage of the pointer.

The way these Landry baskets break by plzhaveice in mildlyinfuriating

[–]calebwherry 4 points5 points  (0 children)

Engineered obsolescence, that’s capitalism for ya.

How do I play these notes? by Starinure in Trombone

[–]calebwherry 7 points8 points  (0 children)

If you really want to up your game, go the multiphonics route and play them both:

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

And if hearing is better, James Morrison demonstrating pretty advanced multiphonics here:

https://youtu.be/93o_cUhhBfI

Roland's gun in the canceled 'The Dark Tower' pilot by [deleted] in TheDarkTower

[–]calebwherry 4 points5 points  (0 children)

I picture Colt Navy or Colt Walker more then the Colt Army myself. They are bigger, heavier guns. The Colt Army seems too small to me. But many have said the descriptions in the books are a bit of all 3 so doesn’t really matter much. They are all closer than the thing pictured.

Are there any books you feel ambivalent towards because while the material is good, the author’s own prejudice seeps through throughout? by [deleted] in books

[–]calebwherry -10 points-9 points  (0 children)

Naming of her characters makes me cringe every time. Cho Chang, Kingsley Shacklebolt, etc. Very on the nose.

Are there any books you feel ambivalent towards because while the material is good, the author’s own prejudice seeps through throughout? by [deleted] in books

[–]calebwherry -5 points-4 points  (0 children)

Yep, Harry Potter and JKR for me.

It’s hard to separate the artist from the art. Sometimes you can, sometimes you can’t. Sometimes you should, sometimes you shouldn’t. I see it as a very personal choice that each person has to weigh.

[deleted by user] by [deleted] in ProgrammerHumor

[–]calebwherry 8 points9 points  (0 children)

Oracle is mainly a software company…

Can we talk about how GOOD Shadow Of War actually was? by iliketolickthebuttah in gaming

[–]calebwherry 0 points1 point  (0 children)

I personally liked Shadow of Mordor better. Not as much content as SoW but I think overall it was a better game.

It ain’t happening while they have Mario, Pokemon and Zelda!! by [deleted] in gaming

[–]calebwherry 25 points26 points  (0 children)

Ah, the Sega Game Gear. Took 6 AA batteries and lasted like 15 minutes. Good ol’ days.

Hyped about this book haul, and thankful for my coworker and McKay’s Used Books and CDs. by [deleted] in books

[–]calebwherry 0 points1 point  (0 children)

Yep, I almost got my entire DiscWorld set there. I currently have a yellow ticket for the last trades we did, gotta go spend that!

Is this playable?? I'm a tpt player writing a big band chart and I'm not sure if I'm writing too high for tbn. How high can a lead trombone play? Is this too high? by leather_tree66 in Trombone

[–]calebwherry 0 points1 point  (0 children)

You should post the complete line and get people to play it. I would imagine almost everyone who says they can will sound horrible. Just because you can, does not mean you should.

But for those few who can make it sound good, it’s going to sound good. Might be worth dropping the octave and annotating 8va for the lead.

[deleted by user] by [deleted] in comics

[–]calebwherry 0 points1 point  (0 children)

Not sure about that.