Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. A tale in 3 pictures.

A tale in 3 pictures.

Scheduled Pinned Locked Moved Uncategorized
programming
103 Posts 56 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • citizen428@chaos.socialC This user is from outside of this forum
    citizen428@chaos.socialC This user is from outside of this forum
    citizen428@chaos.social
    wrote last edited by
    #93

    @nabijaczleweli You glorious madman, have a follow ๐Ÿ™‚

    1 Reply Last reply
    0
    • ruenahcmohr@infosec.exchangeR ruenahcmohr@infosec.exchange

      @citizen428 for GCC, add #define true 1

      citizen428@chaos.socialC This user is from outside of this forum
      citizen428@chaos.socialC This user is from outside of this forum
      citizen428@chaos.social
      wrote last edited by
      #94

      @RueNahcMohr Works fine as-is. The Makefile targets `-std=c23` where `true` is an actual keyword. Unless I misunderstood your intention here.

      1 Reply Last reply
      0
      • citizen428@chaos.socialC citizen428@chaos.social

        @aartaka Love the cursors, instant follow. Keep the web weird!

        aartaka@merveilles.townA This user is from outside of this forum
        aartaka@merveilles.townA This user is from outside of this forum
        aartaka@merveilles.town
        wrote last edited by
        #95

        @citizen428 yay, I didnโ€™t make these in vain ๐Ÿคฉ

        1 Reply Last reply
        0
        • citizen428@chaos.socialC citizen428@chaos.social

          @luc0x61 Really? A cartoon calling it an "extremely bad idea" and an implementation covering a handful of tags wasn't enough of an indication that this was not a serious post?

          L This user is from outside of this forum
          L This user is from outside of this forum
          luc0x61@mastodon.gamedev.place
          wrote last edited by
          #96

          @citizen428 I've seen enough to witness that some humorous exits have been chosen as real solutions ๐Ÿ˜€
          Would you believe that I've seen someone printing a variable as binary text to further process it with binary logic on single ASCII digits, instead of using the logical operators native of any CPU?

          citizen428@chaos.socialC 1 Reply Last reply
          0
          • citizen428@chaos.socialC citizen428@chaos.social

            A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.

            #c #programming

            exec@furry.engineerE This user is from outside of this forum
            exec@furry.engineerE This user is from outside of this forum
            exec@furry.engineer
            wrote last edited by
            #97

            @citizen428 Several years ago I had the idea of doing the same in Lua (though not a preprocessor, of course)

            1 Reply Last reply
            0
            • L luc0x61@mastodon.gamedev.place

              @citizen428 I've seen enough to witness that some humorous exits have been chosen as real solutions ๐Ÿ˜€
              Would you believe that I've seen someone printing a variable as binary text to further process it with binary logic on single ASCII digits, instead of using the logical operators native of any CPU?

              citizen428@chaos.socialC This user is from outside of this forum
              citizen428@chaos.socialC This user is from outside of this forum
              citizen428@chaos.social
              wrote last edited by
              #98

              @luc0x61 Fair enough.

              And yes, I'll believe almost everything at this point, though your example is definitely one of the more bizarre ones.

              I once had to work with an API we paid good money for, which essentially was configurable through bit flags via `?options=<32-digit or so binary string>`. And to generate that option string they gave you an Excel sheet.

              L 1 Reply Last reply
              0
              • citizen428@chaos.socialC citizen428@chaos.social

                @luc0x61 Fair enough.

                And yes, I'll believe almost everything at this point, though your example is definitely one of the more bizarre ones.

                I once had to work with an API we paid good money for, which essentially was configurable through bit flags via `?options=<32-digit or so binary string>`. And to generate that option string they gave you an Excel sheet.

                L This user is from outside of this forum
                L This user is from outside of this forum
                luc0x61@mastodon.gamedev.place
                wrote last edited by
                #99

                @citizen428 Binary data is extremely dangerous ๐Ÿ˜…

                1 Reply Last reply
                0
                • citizen428@chaos.socialC citizen428@chaos.social

                  @wonka @Lemmus I did (do?) have a soft spot for Perl ๐Ÿ™‚

                  wonka@chaos.socialW This user is from outside of this forum
                  wonka@chaos.socialW This user is from outside of this forum
                  wonka@chaos.social
                  wrote last edited by
                  #100

                  I still prefer Perl for some specific things where Python (or Groovy) would be more of a hassle.

                  @citizen428 @Lemmus

                  1 Reply Last reply
                  0
                  • citizen428@chaos.socialC citizen428@chaos.social

                    A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.

                    #c #programming

                    asmaloney@fosstodon.orgA This user is from outside of this forum
                    asmaloney@fosstodon.orgA This user is from outside of this forum
                    asmaloney@fosstodon.org
                    wrote last edited by
                    #101

                    @citizen428 Marvel at this curse:

                    Cookie monster!

                    favicon

                    (codeberg.org)

                    With "C" code like this:

                    `#include"a.h" `
                    `A1(rs0,rsz(0,x)) ZN A flt(A x,A y,B b/*01b*/)_(P(xK-1,er(y))Ym(K("{(!y)[i]!(.y)i:&z~/:x@.y}",xR,y,ai(b)))Yt(flt(x,enl(y),b))`

                    1 Reply Last reply
                    0
                    • citizen428@chaos.socialC citizen428@chaos.social

                      A tale in 3 pictures. In which our hero wonders if he can and doesn't stop to ask if he should.

                      #c #programming

                      mat@friendica.exon.nameM This user is from outside of this forum
                      mat@friendica.exon.nameM This user is from outside of this forum
                      mat@friendica.exon.name
                      wrote last edited by
                      #102

                      @citizen428 Amazon's early implementation used the C preprocessor as an HTML templating system. The preprocessor is super fast and stable, that's what made this a terrific idea.

                      I have dark, poorly-repressed memories of perl/mason being an improvement, for which we were expected to be grateful.

                      1 Reply Last reply
                      0
                      • citizen428@chaos.socialC citizen428@chaos.social

                        @malwareminigun Does the first image not make it clear that this is not a serious post?

                        malwareminigun@infosec.exchangeM This user is from outside of this forum
                        malwareminigun@infosec.exchangeM This user is from outside of this forum
                        malwareminigun@infosec.exchange
                        wrote last edited by
                        #103

                        @citizen428 no. I see people say โ€œIโ€™m doing this bad idea hold my beerโ€ and abusing cpp all the time

                        1 Reply Last reply
                        1
                        0
                        • R relay@relay.infosec.exchange shared this topic
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups