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

    schaf@netzkms.deS This user is from outside of this forum
    schaf@netzkms.deS This user is from outside of this forum
    schaf@netzkms.de
    wrote last edited by
    #23

    @citizen428 old and busted: php as a c preprocessor¹

    hot and new: c preprocessor as a php

    ¹ https://stackoverflow.com/questions/396644/replacements-for-the-c-preprocessor/16256052#16256052

    Edit: Originalquelle verlinkt

    citizen428@chaos.socialC 1 Reply Last reply
    0
    • lemmus@social.vivaldi.netL lemmus@social.vivaldi.net

      @citizen428 I once did something not quite dissimilar with Forth and CGI scripts. I think this is fine! ;-D

      crazyeddie@mastodon.socialC This user is from outside of this forum
      crazyeddie@mastodon.socialC This user is from outside of this forum
      crazyeddie@mastodon.social
      wrote last edited by
      #24

      @Lemmus @citizen428 https://github.com/crazy-eddie/arduino_modern/blob/capacities/include/hardware/chip/atmega328p.hpp

      adrianvovk@fosstodon.orgA citizen428@chaos.socialC 2 Replies 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

        sigmasternchen@comfy.socialS This user is from outside of this forum
        sigmasternchen@comfy.socialS This user is from outside of this forum
        sigmasternchen@comfy.social
        wrote last edited by
        #25

        @citizen428@chaos.social Oh oh-no...

        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

          m3tti@functional.cafeM This user is from outside of this forum
          m3tti@functional.cafeM This user is from outside of this forum
          m3tti@functional.cafe
          wrote last edited by
          #26

          @citizen428 if it works don't fix it i guess. Somehow it feels like react but without the reactivity 😄

          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

            caschb@mastodon.socialC This user is from outside of this forum
            caschb@mastodon.socialC This user is from outside of this forum
            caschb@mastodon.social
            wrote last edited by
            #27

            @citizen428 Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should

            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

              notecharlie@social.bigcavemaps.comN This user is from outside of this forum
              notecharlie@social.bigcavemaps.comN This user is from outside of this forum
              notecharlie@social.bigcavemaps.com
              wrote last edited by
              #28

              @citizen428 the C preprocessor is just m4 with marginally worse syntax. it was *designed* for this. (or more accurately, m4 was designed because someone else did this)

              1 Reply Last reply
              0
              • phantasus@fedi.atP phantasus@fedi.at

                @overflo @citizen428 Kinky geeks wäre mindestens mit Seilen. Das ist nur vanilla "kreativ".

                overflo@23.socialO This user is from outside of this forum
                overflo@23.socialO This user is from outside of this forum
                overflo@23.social
                wrote last edited by
                #29

                @phantasus @citizen428 ich erkenn doch Masochismus wenn ich ihn sehe.

                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

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