home.social

#included — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #included, aggregated by home.social.

  1. @MatRopert

    Wat? The .cpp file you mention is nothing but a convenience wrapper for the boatload of .ipp files with the actual implementation - either #included into each consumer TU if you configure Asio as a traditional header-only library, or otherwise precompiled into an object archive. It's totally up to you.

    Compilers give a damn to the extensions of the files that contain pieces of the source text. The only thing that counts is their usage.

  2. KORT NIEUWS: INCLUDED duikt in de geschiedenis van black hair

    INCLUDED staat stil bij Black History Month met het evenement Black Hair: Coils & Crowns. Kunstenaar Aisha Bah neemt deelnemers mee in de rijke geschiedenis van black hair en geeft meer uitleg bij de verschillende haarstijlen.

    Daarna volgt het creatieve deel van het programma en kunnen deelnemers crown jewels maken om verschillende black hair-stijlen, zoals locs en braids, te versieren. Ook zijn er hapjes, drankjes en muziek.

    Black Hair: Coils & Crowns vindt maandag 2 februari plaats van 17.00 tot 20.00 uur in het Atrium van locatie Museumpark en is gratis voor studenten en medewerkers van de Hogeschool Rotterdam. Je kunt je aanmelden via deze link.

    Tekst: Redactie Profielen

  3. China completes ‘Justice Mission 2025’ Taiwan drills simulating blockade

    A spokesperson for the Eastern Theater Command of China’s People’s Liberation Army (PLA) said it had “successfully compl…
    #Conflict #Conflicts #War #2025 #aimed #around #assaults #been #blockade #China #ChinaTaiwanConflicts #Completed #completes #drills #exercises #have #included #Justice #livefire #maritime #military #mission #ports #says #simulating #SUCCESSFULLY #Taiwan #Targets #that
    europesays.com/2669591/

  4. Totally Not Fake News: 4th Annual “Best/Worst” of the Worst Owners (Houston Texans included)

    Anyone can figure out the “best”. Best team, best player, etc. However, it takes real talent to figure…
    #NFL #HoustonTexans #Houston #Texans #annual #battle #best #blog #exclude-from-stn-video #fake #Football #front-page #included #news #not #of #owners #Red #th #the #totally #totally-not-fake-news #worst
    rawchili.com/nfl/199092/

  5. @Calex I’m writing code to translate levels designed in the Tiled editor to Lua code that is #included into the Pico8 cart.

  6. @madcoder

    In the olden daze, a null pointer in C actually was a zero, and it pointed to address zero, and guess what was there? Zeros.

    So, a null string pointer pointed to a null string or zero int. And it worked.

    And then ANSI C came along, and NULL was no longer a zero pointer to zeroes, and whoa! Stuff broke.

    I spent a lot of time reworking the toolchains back then to wrap all of the C library functions via the preprocessor.

    Then, I wrote frontends for the libc functions that had the null pointer problem.

    Then, I made the build system use my frontend library which trapped the bad code.

    So, strcpy() became safe_strcpy() and if a null pointer came in, I would fix it on the fly, and also log the calling code so it could be fixed later.

    Oh, I had a common header file that almost all of the code #included so that made it easier. I just changed that common header file to include all of the #defines I needed from another header file, and like magic, all of the source code C calls to strcpy() (example), magically became calls to safe_strcpy(), and then the rest was linker magic because I controlled the build system so I could make it use my frontend wrapper library.

  7. #NewYorkMagazine’s wry 👀:

    “… sending #Melaniaalone may have been the least offensive option; #Donald’spresence would have been an even bigger #distraction, and if they #stayedhome they would have been accused of #snubbingtheCarters.

    There’s #noclear answer here; it seems we’re going to #debate whether the #Trumps should be #included every time there’s a high-profile #event. Unfortunately, #EmilyPost doesn’t cover what to do when the #formerpresident is a #boorishinsurrectionist.”

  8. #People who are #nonverbal are not broken! Nonverbal people deserve to be taken #seriously, #respected, and #included! :antifa_100:

  9. C++ typically has one class per file. What if those were smushed into one compilation unit? So for example all of github.com/GothenburgBitFactor was just #included into one C++ "source file".

    Sure, it uses more memory, but development boxes are huge these days. If most `make` invocations are rebuilding all of those source files anyway, would this be faster overall?

  10. [Part 2, new suggestions:]

    * Jimmy and Rosalyn Carter #LivingTheLife: being #goodHumanBeings in everyday life, for the long haul; personally - physically - working to improve the lives of those in need and #practicingWhatTheyPreach #practiceWhatYouPreach

    * #FredRogers #MrRogers and #SesameStreet #Neighbor #Neighborhood: using TV to make #children feel #safe #loved #understood #included #seen, to #answerTheirQuestions, and to help them #understandTheirWorld

  11. We often wait so long for others to #believe in us, #validate us, that we put our own get up and go on pause. we invest our energy into the feedback. this scatters momentum with emotionality. because it matters to us, it slows us down. we are handing away the power to be redirected, stalled, slowed. perhaps we want to be liked, applauded, #included. yes, but that's incidental. it's not why we're here. that's not why we do the work. until #you work for you, the rest doesn't arrive.

  12. By the way, does my font rendering look totally goofy? Yeah! It is!

    I set up a script to download the Anonymous Pro (fontsquirrel.com/fonts/Anonymo) font, unzip it, then loop through all basic ASCII characters 32-127, using ImageMagick to render a single character from the TTF into an XPM file. Since XPM files are actually C source files, they're #included directly into the font-rendering code.

    Does it look like the characters are anti-aliased? Think again! They're actually OVERSAMPLED! (ImageMagick renders them at 24x48 and I render them at 12x24).

    The font rendering code is a giant mess right now, but it's so cool seeing it actually work.