shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

266
active users

#cpp

2 posts2 participants0 posts today

Unfortunately the state of graphics programming frameworks in #commonlisp is not quite there yet, so it seems I'll be crawling back to #cpp and #openframeworks for my graphics needs.

Bits and pieces are there in the lisp ecosystem, but there's nothing at the moment that ties it all together in the way that oF or Processing does. In the future I might think of going down the Clojure/quill route, as it seems I should be able to leverage the full power of a lisp and all of Java/Processing.

hm. VScode Intellisense doesn't seem to be able to autocomplete "acorss namespaces", i.e. it won't suggest symbols in other namespaces.

Which may have catastrophic consequences if it did, but I still want it,since I put everything in namespaces for my project.

Oh, and codeblocks doesn't manage nested namespaces at all.

Steve Boots digs in to #Alberta's #Pension #Survey results, which really are hilarious, if you don't think too much about how the #YouSeePee never once allowed participants to answer the real question outright: do you want an #APP instead of the #CPP? Nope, honesty not required by this crowd.
#abpoli
youtu.be/4o0FNBYrPfM?si=MGKmYj

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

Today on Controversial Saturday:
Curly braces!

In languages acceping both, which is better?

No braces:

if (condition)
do_this();

OR yes braces:

if (condition) {
do_this();
}

Only 10% of Albertans polled support Danielle Smith's APP, which she spent millions of tax payer dollars promoting (up to $7.5 million in 2023). She tried to suppress these results for 21 months and the Edmonton Journal required the involvement of the Office of the Information and Privacy Commissioner to see this report.

'After a 21 month delay, the results from the Government of Alberta’s (GOA) pension plan survey are public thanks to the Edmonton Journal, with only 10% saying they support Danielle Smith’s Alberta Pension Plan. Public Interest Alberta’s CPP Working Group is demanding Smith publicly declare that she is abandoning the plan and release a full accounting of the total amount of money spent on advertising and engagement for the APP proposal.

“It’s been clear since day one the APP is bankrupt,” said Bradley Lafortune, Executive Director of Public Interest Alberta. “Even after the UCP spent millions on a taxpayer funded ad campaign, Albertans knew it was a ridiculous proposal and weren’t buying it. We shouldn’t have to drag out this out anymore: release the full ad spend which was already $7.5 million in September 2023, and declare you’re admitting defeat on this ridiculous unicorn hunt.”'

edmontonjournal.com/news/polit

#abpoli#cpp#cdnpoli

Say, is there a trick in C++ to make to_string() work for any type?

If I have

using namespace std;

and then just write

to_string(foo)

it will prefer my local namespace's to_string(MyClass) and error when given an int, instead of picking std::to_string(int) for those.

Do I really have to add all variants of

inline string to_string(int n) { return std::to_string(n); }

to my namespace to be able to just say to_string(foo) for any type and make it work?

#CPlusPlus#CPP#CXX

c/c++ devs of fediverse, what does your debugging workflow look like? I've used gdb manually a bit but it's quite laborious to set up each session. I need to be able to do step-through debugging with variable inspection.

[VS]Code and studio are very good for step through debugging once they're set up, but I'd rather avoid them altogether if possible, especially since you have to jump through a series of flaming hoops to get c debugging working in the non-telemetry open source version of code.

Any/all suggestions appreciated, other than 'use rust' #programming #clang #cpp