Profile avatar
thephd.dev
💀 The C Standard Cannot Be Replaced And Will Never Be Destroyed. 💀 ✍ Writing: http://thephd.dev 📷 Avatar KIINGKISMET (https://kiingkiismet.com/) 🖼 Banner WusdisWusdat (https://wusdiswusdat.crd.co/)
675 posts 2,874 followers 575 following
Regular Contributor
Active Commenter

> error C2278: ':': unexpected token. Format is '__has_c_attribute( identifier )' ... No, Microsoft. The standard is really clear, there was no version of attributes in C that were just a plain ID. You had to willingly inject behavior DIFFERENT from your C++ frontend to do this.

I'm... I'm kind of mad at myself, but. I found a reasonable use case for "using namespace std;"............

Hijacking a std::thread to add attributes is damn-near impossible. Once the constructor runs and the object is created it's too late. I can't pry open the internals without doing a memcpy and some `std::start_lifetime_as` stuff, EXCEPT that doesn't work for non-trivial types.

"Popular with friends" and it's a whole lot of ass. I'm gonna have to take it out of my main feed, but. ... Good choices, y'all.

Always trust my vision

Biggest commitment to a 3 second joke I've ever seen

Glorious orchestrations.

i think more languages should have enum subset types. relative to creating an enum in go (painful) a subset enum is pretty trivial. meanwhile in rust... ugh

CMake Presets are just a fancy way to write the CMake commands themselves, and bring extremely little value. I'm disappointed by their inner workings immensely.

I am burdened by the immense crossroads C is at right now with respect to arrays. Not just for spans (cheap array views), but for general purpose slicing; there's a lot riding on the next 3 years. And I am unsure how to communicate that vision to the Committee...

For my Patreon blog, I wrote about how this week's economic collapse is the culmination of the media's legacy of failure to contest conservative ideas that simply do not ever work. It's free to read, but if you appreciate my work, consider becoming a paid subscriber. www.patreon.com/posts/its-ti...

My NSFW Catgirls zine 😽

LEARNING FUN THINGS: specifying -G Ninja for CMake in GitHub actions on Windows makes CMake default to not using Visual Studio anymore. Which is. ... Great.

Cripes I gotta fix my foobar situation. Maybe I lean into VLC being my music player. It does work on phones, but can I still share the library/folders between devices...?

Got a message. Typed a long response. Closed my eyes, breathed. Deleted it. Better things to do.

!!! This is the first physical copy I've seen, I don't have mine yet. Hope people enjoy it!

Im dying squirtle

This is funny because in reality Canada's immigration and border controls are historical just as aggressive and racist as the US's; they just get a lot less attention

String sizes as size_t (and otherwise) for printf: thephd.dev/_vendor/futu...

✨️ happy tdov!! 🏳️‍⚧️ -- 🍠 #tdov #furryart #fursona #TransDayofVisibility

This is, in large part, pandemic revenge. As far as these oligarchs are concerned, all science does is tell them stuff they cannot do. They can't keep spewing carbon. They can't keep businesses open as usual when millions are dying. They have concluded that research is the enemy of profit.

hello tasteful individuals, I'm wrapping up work on Skin Deep soon, which means that YOU could be the next person to give me money in exchange for level design services!! wow!! my portfolio is at binarypartitioned.space and Skin Deep launches on April 30th if you want to see more of my work soon

size_t n = ....; char *s = ....; printf("%.*zs", n, s); // (1) printf("%.z*s", n, s); // (2) I forgor we can't do polls here so VOTE BELOW!!!