Shafik Yaghmour
shafik.bsky.social
Shafik Yaghmour
@shafik.bsky.social
Compiler Engineer clang front end. Interests: C++, C, and undefined behavior. Martial Artist, Book Worm and Dad. he/him


Mastodon: https://hachyderm.io/@shafik
Blog: https://shafik.github.io/


#cplusplus #compilers
Cursed Code of the day: godbolt.org/z/br5c8Msfo

#cplusCplus
December 4, 2025 at 2:35 AM
Great story on why the 50 year mortgages makes no sense at all: www.marketplace.org/story/2025/1...
November 21, 2025 at 12:15 AM
November 20, 2025 at 5:36 PM
"Learning with AI falls short compared to old-fashioned web search": theconversation.com/learning-wit...

Not shocking. What was interesting, is this held over many studies and w/ a large pool of participants.

#ai
November 20, 2025 at 4:58 PM
November 19, 2025 at 6:57 PM
Retro C++ quiz #46 Multiplying shorts C style

answer here: hachyderm.io/@shafik/1154...

#CppPolls
#Programming
October 31, 2025 at 4:44 PM
Retro C++ quiz #45 Multiplying shorts

Answer here: hachyderm.io/@shafik/1154...

#Cplusplus
#Cpppolls
October 31, 2025 at 4:42 PM
I am just reading an article trying to convince folks that data centers are not causing the rapid rise in power prices and this is ludicrous claim to make: www.bloomberg.com/graphics/202...
October 25, 2025 at 11:42 PM
Apparently today is Mole Day: en.wikipedia.org/wiki/Mole_Day

Happy Mole Day!

This seems like a apropos time to share "A Mole of Moles": what-if.xkcd.com/4/

While it sounds quite amusing it gets very grim very quickly.
October 23, 2025 at 2:50 PM
October 22, 2025 at 2:59 PM
"Your diet’s impact on the planet depends on where you live. Look up your city.": wapo.st/4ocwoy8

I get a lot of pushback from people when I say cutting beef is the best thing you can do. Apparently there are a lot of influencers who say beef is not that bad.
October 21, 2025 at 4:36 PM
Cursed diff highlighting here.

How can github be so bad.

#programming
October 20, 2025 at 3:07 AM
October 16, 2025 at 4:48 PM
Retro C++ quiz #42 vector cast?

Answer here: hachyderm.io/@shafik/1153...

#CppPolls
#cplusplus
October 10, 2025 at 5:13 PM
The Usual Arithmetic Confusions: shafik.github.io/c++/2021/12/...

#cplusplus
October 9, 2025 at 10:54 PM
"A small number of samples can poison LLMs of any size": www.anthropic.com/research/sma...

Black hats have to be trying (Why wouldn't they, the potential gains are large). If it's really this easy then likely malicious code is already making its way into real code bases, maybe at scale.

😱

#ai
October 9, 2025 at 10:21 PM
October 3, 2025 at 4:33 PM
C++ quiz #304 Relational and nullptr

Answer here: hachyderm.io/@shafik/1152...

#Cplusplus
#CppPolls
September 25, 2025 at 3:49 PM
"AI-Generated “Workslop” Is Destroying Productivity": hbr.org/2025/09/ai-g...

New vocabulary word just dropped

WorkSlop: AI generated work content that masquerades as good work, but lacks the substance to meaningfully advance a given task

#Ai
September 24, 2025 at 4:23 PM
"Why Good Summaries are Important to a Pull Request": shafik.github.io/software%20d...

#programming
September 22, 2025 at 4:21 PM
"As businesses wait for a tariff ruling, some have run out of time" www.marketplace.org/story/2025/0...

Small businesses are not doing well under tariffs.
September 19, 2025 at 7:09 PM
September 18, 2025 at 5:05 PM
This is a wild story

"Librarians Are Being Asked to Find AI-Hallucinated Books": www.404media.co/librarians-a...
September 18, 2025 at 3:14 PM
C++ quiz #303 append-citis

Answer here: hachyderm.io/@shafik/1152...

#Cplusplus
#Cpppolls
September 17, 2025 at 4:01 PM
That is a lot of words when we simply could have done:

echo "9.9 - 9.11" | bc -l
September 12, 2025 at 5:31 AM