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 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

    tilton@fursuits.onlineT This user is from outside of this forum
    tilton@fursuits.onlineT This user is from outside of this forum
    tilton@fursuits.online
    wrote last edited by
    #30

    @citizen428 Yesssss, goooood

    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

      tess@mastodon.socialT This user is from outside of this forum
      tess@mastodon.socialT This user is from outside of this forum
      tess@mastodon.social
      wrote last edited by
      #31

      @citizen428

      Link Preview Image
      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

        ics@tau-ceti.spaceI This user is from outside of this forum
        ics@tau-ceti.spaceI This user is from outside of this forum
        ics@tau-ceti.space
        wrote last edited by
        #32

        @citizen428 @eniko Impressive! ๐Ÿ˜ณ๐Ÿ˜

        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

          jrose@social.belkadan.comJ This user is from outside of this forum
          jrose@social.belkadan.comJ This user is from outside of this forum
          jrose@social.belkadan.com
          wrote last edited by
          #33

          @citizen428 @joe Hey, guess what syntax the C preprocessor strips out for you?

          Guess what syntax is really common in web pages? (and also property lists, where I first encountered this clash)

          joe@f.duriansoftware.comJ 1 Reply Last reply
          0
          • jrose@social.belkadan.comJ jrose@social.belkadan.com

            @citizen428 @joe Hey, guess what syntax the C preprocessor strips out for you?

            Guess what syntax is really common in web pages? (and also property lists, where I first encountered this clash)

            joe@f.duriansoftware.comJ This user is from outside of this forum
            joe@f.duriansoftware.comJ This user is from outside of this forum
            joe@f.duriansoftware.com
            wrote last edited by
            #34

            @jrose @citizen428 to their credit, they did say it was a bad idea

            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

              menos@todon.euM This user is from outside of this forum
              menos@todon.euM This user is from outside of this forum
              menos@todon.eu
              wrote last edited by
              #35

              @citizen428 @roskakori probably did this about 30 years ago ๐Ÿ˜‰

              1 Reply Last reply
              0
              • R relay@relay.publicsquare.global shared this topic
              • 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

                gullevek@famichiki.jpG This user is from outside of this forum
                gullevek@famichiki.jpG This user is from outside of this forum
                gullevek@famichiki.jp
                wrote last edited by
                #36

                @citizen428 Himmel!

                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

                  tech_himbo@mastodon.socialT This user is from outside of this forum
                  tech_himbo@mastodon.socialT This user is from outside of this forum
                  tech_himbo@mastodon.social
                  wrote last edited by
                  #37

                  @citizen428 this is based actually

                  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

                    ruenahcmohr@infosec.exchangeR This user is from outside of this forum
                    ruenahcmohr@infosec.exchangeR This user is from outside of this forum
                    ruenahcmohr@infosec.exchange
                    wrote last edited by
                    #38

                    @citizen428 for GCC, add #define true 1

                    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

                      minego@pdx.socialM This user is from outside of this forum
                      minego@pdx.socialM This user is from outside of this forum
                      minego@pdx.social
                      wrote last edited by
                      #39

                      @citizen428 I suspect that the fact that my first reaction is "Oh, how do I get that?" says a lot about me. Probably not good things either.

                      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

                        fraca7@social.linux.pizzaF This user is from outside of this forum
                        fraca7@social.linux.pizzaF This user is from outside of this forum
                        fraca7@social.linux.pizza
                        wrote last edited by
                        #40

                        @citizen428 This is magnificent and I *will* use it in production.

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

                          The horrors:

                          Link Preview Image
                          C preprocessor abuse

                          C preprocessor abuse. GitHub Gist: instantly share code, notes, and snippets.

                          favicon

                          Gist (gist.github.com)

                          xilokar@mamot.frX This user is from outside of this forum
                          xilokar@mamot.frX This user is from outside of this forum
                          xilokar@mamot.fr
                          wrote last edited by
                          #41

                          @citizen428

                          So, it's some kind of chtml...

                          (you'll definitively want to put the ```#define HTML``` in a .h.tml file included by abuse.c)

                          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

                            prlg@mastodon.onlineP This user is from outside of this forum
                            prlg@mastodon.onlineP This user is from outside of this forum
                            prlg@mastodon.online
                            wrote last edited by
                            #42

                            @citizen428 *points and snaps* Nord Theme.

                            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

                              justin@ribeiro.socialJ This user is from outside of this forum
                              justin@ribeiro.socialJ This user is from outside of this forum
                              justin@ribeiro.social
                              wrote last edited by
                              #43

                              @citizen428 reminds me way way back in the late 1990s a long since defunct firm sold an e-commerce dev stack that they dubbed "WebC" that I recall was similarish conceptโ€”or crimes. Most definitely crimes. ๐Ÿคฃ

                              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

                                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
                                #44

                                @citizen428 The fact you can jump off the window isn't a good reason to do it. And don't mention someone brave who did: they're on the ground floor, stupid.

                                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

                                  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
                                  #45

                                  @citizen428 yes, thatโ€™s a thing I built my website on, at some point <https://aartaka.me/this-post-is-cpp.html> (migrated to ed(1) since then.)

                                  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

                                    mirabilos@toot.mirbsd.orgM This user is from outside of this forum
                                    mirabilos@toot.mirbsd.orgM This user is from outside of this forum
                                    mirabilos@toot.mirbsd.org
                                    wrote last edited by
                                    #46

                                    @citizen428 ok, thatโ€™s a different kind of using cpp(1) as a webpage templating engine than what I did.

                                    Wonโ€™t escape, of courseโ€ฆ

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

                                      The horrors:

                                      Link Preview Image
                                      C preprocessor abuse

                                      C preprocessor abuse. GitHub Gist: instantly share code, notes, and snippets.

                                      favicon

                                      Gist (gist.github.com)

                                      hannahk@floss.socialH This user is from outside of this forum
                                      hannahk@floss.socialH This user is from outside of this forum
                                      hannahk@floss.social
                                      wrote last edited by
                                      #47

                                      @citizen428 Glorious

                                      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

                                        thepolishdispatch@mstdn.socialT This user is from outside of this forum
                                        thepolishdispatch@mstdn.socialT This user is from outside of this forum
                                        thepolishdispatch@mstdn.social
                                        wrote last edited by
                                        #48

                                        @citizen428 chef's kiss

                                        1 Reply Last reply
                                        0
                                        • tea@chaos.socialT tea@chaos.social

                                          @citizen428 reminds me of the horrors me and @friz64 were up to, also serving an entire web page from an ESP32 as one big string iirc, base64 encoded images and all.

                                          nyanpasu64@donotsta.reN This user is from outside of this forum
                                          nyanpasu64@donotsta.reN This user is from outside of this forum
                                          nyanpasu64@donotsta.re
                                          wrote last edited by
                                          #49
                                          @tea @citizen428 @friz64 reminded of tue gbs-control building a webpage into a byte array and spitting it out at runtime, as well as saving and loading files in a flash filesystem
                                          and the gazillion associated race conditions
                                          1 Reply Last reply
                                          0
                                          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