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
Pinned
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
"Fake Christmas trees will cost more this year, thanks in part to tariffs": www.npr.org/2025/11/16/n...

What is facinating about this story is all the jobs, salaries and projects they had to cut in order to not raise prices.

So to make it clear this is also costs jobs and reducing folks take pay,.
Fake Christmas trees will cost more this year, thanks in part to tariffs
NPR's Ayesha Rascoe speaks with Mac Harman, the CEO of Balsam Hill, about how tariffs are pushing up the prices of artificial Christmas trees this holiday season.
www.npr.org
November 16, 2025 at 4:05 PM
Why can't they privatize air traffic controllers and prevent outages during shutdown you ask?

B/c private jets under the current system pays very little under a privatized system they would pay based on their real cost and they fight it tooth and nail.

www.npr.org/2025/11/15/n...
A transportation policy expert explains the pros of privatizing U.S. air traffic control
NPR's Scott Simon speaks with Bob Poole, with the Reason Foundation, who argues that privatizing air traffic control in the U.S. would bring more stable funding and fewer travel disruptions.
www.npr.org
November 15, 2025 at 4:51 PM
I love that folks are still submitting patches for SPARC to llvm.
November 14, 2025 at 4:48 AM
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
#23 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

Remember folks this is an ambiguous time of year for your programmer colleagues.

If you invite them to trick or treat and they come dressed up as Santa Claus, it actually works out but it is because

DEC 25 = OCT 31

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 31, 2025 at 3:47 PM
#22 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

Why does Yoda use -fno-exceptions

👻🎃👻🎃

because there is no try

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 30, 2025 at 4:55 PM
#21 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

Why are C++ devs so bad at Halloween

👻🎃👻🎃

Because they do short-circuit evaluation of Trick or Treat

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 27, 2025 at 5:32 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
#20 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

How do you find your black cat?

🐈‍⬛🐈‍⬛

You have to follow the void pointer

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 23, 2025 at 2:27 PM
Reposted by Shafik Yaghmour
#19 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

int f() {
int indeterminate_value;

return /*of the*/
indeterminate_value;
}

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 31, 2024 at 3:27 PM
October 22, 2025 at 2:59 PM
Just finished read "The Three Stigmata of Palmer Eldritch" and 🤯

The book started out one way and ended up someplace I could not have predicted.
October 22, 2025 at 5:01 AM
"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
Reposted by Shafik Yaghmour
#18 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

What is a dragons favorite algorithm

🐲🐲

std::accumulate

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 31, 2024 at 3:26 PM
Reposted by Shafik Yaghmour
#17 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

Why did the scarecrow make such a good C++ dev?

🌾
🌾

Because they were always outstanding in their field.

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 30, 2024 at 4:40 PM
Reposted by Shafik Yaghmour
Cursed diff highlighting here.

How can github be so bad.

#programming
October 20, 2025 at 3:07 AM
Cursed diff highlighting here.

How can github be so bad.

#programming
October 20, 2025 at 3:07 AM
First Stollen Bread of the year from my local bakery 😋
October 17, 2025 at 4:13 PM
#16 Spooky Halloween C++

👻🎃👻🎃👻🎃👻🎃👻🎃

Who called it a ghost when we had temporary materialization right there?

👻🎃👻🎃👻🎃👻🎃👻🎃

#cplusplus
October 17, 2025 at 3:46 PM