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

    raymaccarthy@mastodon.ieR This user is from outside of this forum
    raymaccarthy@mastodon.ieR This user is from outside of this forum
    raymaccarthy@mastodon.ie
    wrote last edited by
    #13

    @citizen428
    Macros are a really bad idea that should never be used in C. They are unfortunately needed in Assembler, but assembler, other than to boot strap a compiler is not needed for the last 30 years. Not even on microcontrollers (see Forth and JAL).

    wintermute_bbs@oldbytes.spaceW 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

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

      @citizen428 Oh great, doxygen patch coming in 3 .. 2 .. 1 ..

      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

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

        Looks a bit like perlcgi.

        @Lemmus @citizen428

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

          @citizen428

          phantasus@fedi.atP This user is from outside of this forum
          phantasus@fedi.atP This user is from outside of this forum
          phantasus@fedi.at
          wrote last edited by
          #16

          @leyrer @citizen428 I would say finally that the C pre-processor is nearing the realm of the mighty lisp macro systems.

          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

            schnittchen@tech.lgbtS This user is from outside of this forum
            schnittchen@tech.lgbtS This user is from outside of this forum
            schnittchen@tech.lgbt
            wrote last edited by
            #17

            @citizen428 I did a somewhat similar thing in AtomVM on a microcontroller. Saves lots of memory!

            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

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

              @citizen428 Ein klarer Fall für die kinky geeks

              phantasus@fedi.atP 1 Reply Last reply
              0
              • R relay@relay.an.exchange shared this topic
              • overflo@23.socialO overflo@23.social

                @citizen428 Ein klarer Fall für die kinky geeks

                phantasus@fedi.atP This user is from outside of this forum
                phantasus@fedi.atP This user is from outside of this forum
                phantasus@fedi.at
                wrote last edited by
                #19

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

                overflo@23.socialO citizen428@chaos.socialC 2 Replies 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.

                  wintermute_bbs@oldbytes.spaceW This user is from outside of this forum
                  wintermute_bbs@oldbytes.spaceW This user is from outside of this forum
                  wintermute_bbs@oldbytes.space
                  wrote last edited by
                  #20

                  @tea @citizen428 @friz64 others do the same using ConfigMaps ... 🫢

                  1 Reply Last reply
                  0
                  • raymaccarthy@mastodon.ieR raymaccarthy@mastodon.ie

                    @citizen428
                    Macros are a really bad idea that should never be used in C. They are unfortunately needed in Assembler, but assembler, other than to boot strap a compiler is not needed for the last 30 years. Not even on microcontrollers (see Forth and JAL).

                    wintermute_bbs@oldbytes.spaceW This user is from outside of this forum
                    wintermute_bbs@oldbytes.spaceW This user is from outside of this forum
                    wintermute_bbs@oldbytes.space
                    wrote last edited by
                    #21

                    @raymaccarthy @citizen428 Forth ... 👍

                    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

                      sashin@veganism.socialS This user is from outside of this forum
                      sashin@veganism.socialS This user is from outside of this forum
                      sashin@veganism.social
                      wrote last edited by
                      #22

                      @citizen428 I did this with rust before!

                      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

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