Profile avatar
knatten.bsky.social
I like C++, industrial music, and figuring out how computers work. Author of C++ Brain Teasers, http://blog.knatten.org, https://cppquiz.org and https://moduloone.com.
57 posts 421 followers 183 following
Prolific Poster

Just discovered that @jetbrains.com CLion can restore deleted files, even if they were never in git and not in Trash. Super handy after an accidental `git clean`!

For the US to side with Russia and North Korea to oppose a UN resolution condemning the illegal invasion of Ukraine defies all common sense and adds insult to the countless injuries suffered by the brave Ukrainian people. edition.cnn.com/2025/02/24/p...

Book of the Day: C++ Brain Teasers by Anders Schau Knatten meetingcpp.com/mcpp/books/b... #cplusplus #cpp

Bernie wieder mal stabil. 😎

The first step of "woke" is don't be an asshole. The second step is knowing history and power relations. The third step is treating people you interact with in the world as people with their own consciousness and inner life. That's all too hard for some people.

FBI Uncovers Al-Qaeda Plot To Just Sit Back And Enjoy Collapse Of United States

CFP for NDC TechTown, Norway, Sep 22-25. Hope to see you! #c++, #c, #rust, #embedded, #linux ndctechtown.com/call-for-pap... and ndctechtownhistory.com

The NDC TechTown call for papers is now open! I hope to see a lot of you there as usual. ndctechtown.com/call-for-pap...

C IS LEGAL AGAIN

Cool and very well explained blog post by Sandor Dargo (not on bkuesky?) about replacing CRTP with concepts! www.sandordargo.com/blog/2024/12... I really like that class tagging idea.

We just published a new question! cppquiz.org/quiz/questio...

Book of the Day: C++ Brain Teasers by Anders Schau Knatten meetingcpp.com/mcpp/books/b... #cplusplus #cpp

We just published a new question! cppquiz.org/quiz/questio...

New successor language just dropped?

ADVENTURER: Dragon! We are here for your gold! Prepare to die! DRAGON: My gold? ADVENTURER: Yes! We climbed this great mountain, swam it's flooded caverns and- DRAGON: Fair enough ADVENTURER: Wait, what? DRAGON: It's yours ADVENTURER: DRAGON: How are you carrying it out of here? ADVENTURER: Um... /1

I propose we replace semantic versioning with pride versioning

We just published a new user-contributed question! cppquiz.org/quiz/questio...

I got into making comics for a bit

"NBC Newsroom staff is playing animal torture simulators, often with their children. These 'games' also feature illicit mushroom-based drugs and murdering with hammers."

We just published a new user-contributed question! cppquiz.org/quiz/questio... It's very moving.

I was recently interviewed by PVS Studio about my book C++ Brain Teasers, @cppquiz.bsky.social, career tips for programmers and more: pvs-studio.com/en/blog/post...

If you love Java and eighties metal, but maybe even more so if you don't, you need to watch this.

Corentin has weighed in on the C++ safety situation :) cor3ntin.github.io/posts/profil...

We just published a new question! This one is about a static template member: cppquiz.org/quiz/questio...

We just published a new user-contributed question! This one from Colin Xie is about constructors and lifetimes. cppquiz.org/quiz/questio...

PP Author @knatten.bsky.social is the guest of the week on CppCast! Discussing @cppquiz.bsky.social's recent move to C++23, his book C++ Brain Teasers, and chatting a bit about safety, the future of C++, and more. cppcast.com/tease_your_c...

I'm the guest of the week on CppCast! We're discussing @cppquiz.bsky.social's recent move to C++23, my book C++ Brain Teasers, and chatting a bit about safety, the future of C++, and more.

My book C++ Brain Teasers (and lots of other good books) is now 40% off! pragprog.com/titles/akbra...

We just published a new user-contributed question! This one by GitHub user @toxicpie is one of the first ones about C++23. cppquiz.org/quiz/questio...

I recently had the pleasure of being a guest on CppCast, talking about @cppquiz.bsky.social moving to C++23, my book C++ Brain Teasers, and just chatting with Timur and Phil about C++ in general. The episode should be out in a few days!

I once hurt myself on an orange to the point of bleeding. No knives, no tools, just mano a naranja.

Book of the Day: C++ Brain Teasers by Anders Schau Knatten (@knatten.bsky.social) meetingcpp.com/mcpp/books/b... #cplusplus #cpp

We just forward declared, I mean published, a new question! cppquiz.org/quiz/questio...

If you still believe what Israel is doing is ok, I suggest adding this data point to your evaluation: edition.cnn.com/2024/10/28/m...

My talk "How Symbols Work and Why We Need Them" from C++ on Sea is finally out on YouTube! Go watch it to learn more about how your programs work under the hood. www.youtube.com/watch?v=X2jF...

We just published a new question! This one is about noexcept: cppquiz.org/quiz/questio...

I was wondering how many people would come to what I assumed was a niche talk about The Two Memory Models at #NDCTechTown. The answer turned out to be "a lot"!

We've ported all the questions and explanations to C++23! Big thanks to everyone who contributed. Read more at blog.knatten.org/2024/09/19/c...

I forgot to mention at #NDCTechTown where you can use the discount code for the e-book. It is applicable when you buy directly from the publisher: pragprog.com/titles/akbra...

C++ Brain Teasers book launch coming up! Hosted by Oslo C++ Users Group at NDC TechTown, September 10 at 18:00. It will also be streamed on my YouTube channel. More details in blog.knatten.org/2024/09/08/c...