buc.ci is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Admin email
abucci@bucci.onl
Admin account
@abucci@buc.ci

Search results for tag #c

AodeRelay boosted

[?]GNU/Linux.ch » 🌐
@gnulinux@social.anoxinon.de

Einführung in die Programmierung des Raspberry Pi Picos mit der Pico C/C++ SDK

Eine weiterführende Einführung in die Programmierung mit der Pico C SDK, welche auch über die CMakeLists.txt erklärt.

++

gnulinux.ch/programmierung-ras

    AodeRelay boosted

    [?]Italian News by RSS » 🌐
    @ItalianNews@mastodon.ozioso.online

    Agenzia Nova: Brasile-Usa: Embraer e Anduril, intesa per dotare il C-390 di missili da crociera

    21 lug 19:50 - (Agenzia Nova) - Il gruppo aerospaziale brasiliano Embraer ha firmato un memorandum d'intesa con la statunitense Anduril, azienda... (Brs)

    Brazil-USA: Embraer and Anduril, agreement to equip the C-390 with cruise missiles.

    July 21 19:50 - (Agenzia Nova) - The Brazilian aerospace group Embraer has signed a memorandum of understanding with the American Anduril, a company… (Brs)

    -390

    agenzianova.com/a/6a5fb2e7160a

      [?]Dream Walker » 🌐
      @__dreamwalker__@infosec.exchange

      Hello People.

      This is my first fediverse post, featuring my first program in . I am a who is just getting into and love contributing to , stuffs and .

      I love to program in , and use btw. Looking for people to connect. I installed LinkedIn a few days ago for connecting with people and figured out that it was a in jobmarket, just data feed into companies. (No offense, just in my opinion).

      I was suggested to start learning by a random reddit user when I asked some questions about programming and how to get better at it. Currently learning in linux, and I guess assembly programming alongside with c programming is helpful - I can understand syscalls and registers (for some extent).

      Looking forward for friends to connect. Follow me and I will follow you back - provided that we have same or similar interests. I am also interested in arts, languages and techs - I am not a Russian btw.

      I need suggestions \ on how to get started in fediverse, cybersecurity and low level stuffs. You can see my profile for more information.

      My First Assembly Program

      Alt...My First Assembly Program

        AodeRelay boosted

        [?]Esteban Küber :rust: » 🌐
        @ekuber@hachyderm.io

        In my opinion, when it comes to level of maturity/evolution of these languages

        K&R C ≈ Java 1.1.1 ≈ Rust 0.x
        ANSI C/C89 ≈ Java 6 ≈ Rust 2015 edition
        C99 ≈ Java 8 ≈ Rust 2021 edition

          David Gerard boosted

          [?]@pndc » 🌐
          @pndc@social.treehouse.systems

          I'm a software developer and sysadmin who could really use being .

          What I'd really like to do is Rust, but once you ignore the dubious scammy stuff, there seems to be nothing out there. Prove me wrong with a counterexample!

          I've spent decades fixing Enterprise mudballs mostly written in . If you've got a crufty legacy system that everybody else is too scared to touch, I'm your man. I love fixing stuff like that.

          I've also done commercial , , /#C++, and although I don't usually admit it on my CV but these are now Trying Times when everything is on the table, even (the longest six months of my life).

          Perl naturally leads into Unix system administration and infrastructure. I've built and maintained mail clusters, VoIP systems, network monitoring, DNS management platforms, that sort of thing. If it's non-sexy but something which needs to be done, I'm there.

          Available immediately, for contract or permie, onsite in Amsterdam/Randstad or remote to anywhere.

          Drop me a private mention or mail peter@mooli.net if you have or know of something.

            [?]David Cantrell 🏏 » 🌐
            @DrHyde@fosstodon.org

            Reading the 5.44 changelog I spotted "Simple (non-overflowing) addition (+), subtraction (-) and multiplication (*) of integers are slightly sped up, as long as sufficient underlying support is available", which is how I now know that `__builtin_add_overflow` and its friends and relations exist in basically every compiler that matters. 1/n

              [?]Crest of Light » 🌐
              @WanderingInDigitalWorlds@sunny.garden

              Finally got around to doing the C String lesson, passed the small exercise, and now I am moving on to C User Input. Going to bed late constantly is really cramping my ability to focus properly...I should probably fix that. 😂

              The answer for the little exercise was:

              <stdio.h>

              int main() {
              char message[] = "Hello";
              printf("%s", message);
              return 0;
              }

              The intended output was: Hello

              A very basic ask, constructing a very simple program that would print whatever value was stored in "char message". You could literally put anything in there...I did for memory's sake, though I won't say what it was. ROFL

                [?]Crest of Light » 🌐
                @WanderingInDigitalWorlds@sunny.garden

                So, I am learning about C User Inputs...Here is the first real major lesson.

                <stdio.h>

                int main() {
                int myNum;
                char myChar;
                printf("Type a number AND a character and press enter: \n");

                scanf("%d %c", &myNum, &myChar);

                printf("Your number is: %d\n", myNum);

                printf("Your character is: %c\n", myChar);

                return 0;
                }

                Very useful for user facing fields, handling inputs provided by the user in question. Naturally this could be done in many programming languages, I am sure.

                Fun to learn this kind of stuff, especially when I finally make my own mini-programs!

                  [?]Crest of Light » 🌐
                  @WanderingInDigitalWorlds@sunny.garden

                  Okay, fgets, stdin, sizeof combining are doing work in the whole gathering C User Inputs...As it allows you to print full names instead of just the first name. Here is an example of what I am talking about:

                  <stdio.h>

                  int main() {
                  // Create a string
                  char fullName[30];

                  //Ask the user to input some text (name)
                  printf("Enter your full name and press enter: \n");

                  //get and save the text
                  fgets(fullName, sizeof(fullName), stdin);

                  //Output the text
                  printf("Warm sands, %s", fullName);
                  return 0;
                  }

                  Here are the outputs:

                  Enter your full name and press enter:

                  Once name is entered:

                  Warm sands, Reese Rideout

                  I find myself learning a lot from these lessons. Eventually, I will put them to good use in making simple programs. It is good to learn the fundamentals, as I will know what to look up in case I get lost. ROFL

                    [?]Crest of Light » 🌐
                    @WanderingInDigitalWorlds@sunny.garden

                    Now I am learning about C Pointers and Memory Addresses in tandem, how they can be leveraged! This is a very simple thing that creates prints the age value and prints a memory address based on the myAge value:

                    <stdio.h>

                    int main() {
                    int myAge = 43;
                    printf("%d\n", myAge);
                    printf("%p", &myAge);
                    return 0;

                    Expected Printed Values:
                    43
                    0x7ffe92b38204 (this output will vary based on the IDE used and your machine)

                      AodeRelay boosted

                      [?]gyptazy » 🌐
                      @gyptazy@gyptazy.com

                      finally sends me push notifications!

                      Two things you can see here... It's pretty hot! That's why I stayed home and implemented a missing feature into snac. That's what you can also see - it finally sends push notifications to devices! In this case, we can see notifications coming from App for iPhone.

                      What we can also see, it's still a bit faulty and not the expected content, but a first success here at least ;) I'll make some further adjustments when there's time and get in touch with @grunfink@comam.es to check if we can get this upstream. Thanks to @stefano@bsd.cafe for testing with me :)


                      snac2 sending push notifications to a user via MastoBlaster App on iPhone

                      Alt...snac2 sending push notifications to a user via MastoBlaster App on iPhone

                        AodeRelay boosted

                        [?]matthew - retroedge.tech » 🌐
                        @matthew@social.retroedge.tech

                        A better shell for UNIX based on Plan 9 rc - developed by @odc

                        https://codeberg.org/rc23/rc23

                        #rc #C #plan9 #shell #programming

                          AodeRelay boosted

                          [?]matthew - retroedge.tech » 🌐
                          @matthew@social.retroedge.tech

                          Serena OS is what you get when modern operating system design and implementation meets vintage hardware like the Amiga computers. It is based on dispatch queues rather than threads, supports multiple users, is inspired by POSIX, yet retains its own character, is strongly object-oriented in terms of design and implementation and prepared for a cross platform future.

                          Written in C. Meant to be run on real Amiga hardware.

                          https://github.com/dplanitzer/Serena

                          #C #Amiga #SerenaOS #RetroEdge

                          Alt...video of snake being placed on Serena OS

                            AodeRelay boosted

                            [?]matthew - retroedge.tech » 🌐
                            @matthew@social.retroedge.tech

                            Why C and C++ Still Matter:

                            https://youtu.be/Rk5S27BLyO0

                            #programming #c

                              [?]Adam van Sertima » 🌐
                              @adamvs1@mastodon.world

                              Meanwhile there is a petition via ourcommons to withdraw the bill(technical difficulties when I tried it just now,tho)
                              -22
                              3/n

                              ourcommons.ca/petitions/en/Pet

                                AodeRelay boosted

                                [?]Dragon of BSDCafe :freebsd: » 🌐
                                @evgandr@mastodon.bsd.cafe

                                @mayazimmerman Looks like I should add a few about K&R here :drgn_blush_giggle:

                                Meme divided in two parts. Left part has a logos of some programming languages, like C++, Go and Rust, and has a text "Reject modernity".
Right part has a K&R C book's image and a text "Embrace tradition".

                                Alt...Meme divided in two parts. Left part has a logos of some programming languages, like C++, Go and Rust, and has a text "Reject modernity". Right part has a K&R C book's image and a text "Embrace tradition".

                                The meme with cartoonish woman, reading the book for a child whi is sitting on her laps. The woman speaks: "And then they forgot allocate memory for the NULL terminator", and then the child happily answers: "SEEEGGGFAULT!"

                                Alt...The meme with cartoonish woman, reading the book for a child whi is sitting on her laps. The woman speaks: "And then they forgot allocate memory for the NULL terminator", and then the child happily answers: "SEEEGGGFAULT!"

                                The meme depicts a queue of tired persons, wearing not so colourful clothes. This queue going through a big K&R C book and everyone transforms to a colorful anine girl.

                                Alt...The meme depicts a queue of tired persons, wearing not so colourful clothes. This queue going through a big K&R C book and everyone transforms to a colorful anine girl.

                                  AodeRelay boosted

                                  [?]Dragon of BSDCafe :freebsd: » 🌐
                                  @evgandr@mastodon.bsd.cafe

                                  @DaveMasonDotMe Pointers may look simpler with this

                                  @mayazimmerman

                                  Meme with two white guys and the black background. First guy pointing to the text "int" and has an "int *" title. Second guy pointing to the first guy and has the "int**" title.

                                  Alt...Meme with two white guys and the black background. First guy pointing to the text "int" and has an "int *" title. Second guy pointing to the first guy and has the "int**" title.

                                    AodeRelay boosted

                                    [?]Dendrobatus Azureus » 🌐
                                    @Dendrobatus_Azureus@mastodon.bsd.cafe

                                    This is how the Linux kernel mailing list looks like from a browser.

                                    From a mobile browser it looks less polished.

                                    It's a *mailing list* you should read it from a email client, not a memory hungry browser, but if you are in the links browser it will look fine. Links is light ;)

                                    The message is important; if you keep up with kernel development on the Linux side section audio drivers, you may find it interesting

                                    lkml.org/lkml/2026/5/18/133

                                      AodeRelay boosted

                                      [?]Patrick :neocat_flag_bi: » 🌐
                                      @patrick@hatoya.cafe

                                      One Open-source Project Daily

                                      Simple shell implementation. Tutorial here ->

                                      https://github.com/brenns10/lsh

                                        AodeRelay boosted

                                        [?]Lobsters » 🤖 🌐
                                        @lobsters@mastodon.social

                                        Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case with Ariel OS via @wezm lobste.rs/s/bc2zth
                                        arxiv.org/pdf/2604.25679

                                          AodeRelay boosted

                                          [?]Lobsters » 🤖 🌐
                                          @lobsters@mastodon.social

                                          AodeRelay boosted

                                          [?]Thalia Archibald » 🌐
                                          @thalia@discuss.systems

                                          A cursed feature of C in 1972: Labels and functions were reassignable (i.e., lvalues)!

                                          For example, this is a clever way to initialize once:

                                          goto init;
                                          init:
                                          ouptr = oubuf;
                                          init = init1;
                                          init1:

                                          which is compiled to:

                                          jmp *4120
                                          mov 4136,4144
                                          mov 4122,4120

                                          Note the indirect jump and assignment to that address. All gotos used indirect jumps. This apparently would have also worked with functions.

                                            AodeRelay boosted

                                            [?]Jörg 🇩🇪🇬🇧🇪🇺 » 🌐
                                            @AlienJay@burningboard.net

                                            Why does wants to replace the fully developed by their newly developed ?
                                            The only difference is, that the uutils are a reimplementation in of the coreutils, written in .
                                            All they obviously do is to put issues into these absolute basic utilities that doesn’t exist in the originals.

                                            To me that makes no sense. The only idea I get why Canonical might do this is to get more control over basic utilities of .
                                            seclists.org/oss-sec/2026/q2/3

                                              [?]Dr. Michael Blume » 🌐
                                              @BlumeEvolution@digitalcourage.social

                                              @Daseinsappeal

                                              Ja, das ist so - wenn bei Bürgerlichen das wegfällt, bleiben oft nur Privilegien, Reaktanz und Konservatismus.

                                              Ebenso kann ich Progressive nur davor warnen, dass Wahlverhalten von „proletarischen“, migrantischen oder jungen Menschen zu romantisieren.

                                              @FlippoFlip

                                                AodeRelay boosted

                                                [?]Dr. Michael Blume » 🌐
                                                @BlumeEvolution@digitalcourage.social

                                                @anwagnerdreas

                                                Da kann ich selbstverständlich nur für mich sprechen: Verschiedene Flügel & Interessen haben gerade die Stärke der als Volkspartei ausgemacht. Sie wurden von bis auch immer dialogisch balanciert.

                                                Was mich nun erschreckt und auch ärgert, ist die rechtslibertäre und fossilistische der Bundes - , die auch in der Partei, in den Landesverbänden und der Kommunalpolitik für Entsetzen sorgt. So wurde aus der sogar schon die Entlassung von Ministerin gefordert.

                                                Ich kämpfe als Christ & Demokrat weiterhin für eine Volkspartei mit wahrnehmbaren und hoffe, dass auch Linke die Wucht von Demografie & medialer Rechtsmimesis reflektieren.

                                                @rpolenz @puettmann.bsky.social

                                                scilogs.spektrum.de/natur-des-

                                                AodeRelay boosted

                                                [?]Dr. Michael Blume » 🌐
                                                @BlumeEvolution@digitalcourage.social

                                                Meine Güte, jetzt postete Trump nach seinen Anwürfen gegen Papst Leo XIV. auch noch ein KI-Bild von sich selbst als heilender Jesus. ✝️

                                                Und, ja, auch auf mich als Christ wirkt das gotteslästerlich, zumal der gleiche US-Präsident & Fossilist Millionen Menschen in den USA 🇺🇸 um ihre Krankenversicherung gebracht hat, Familien zerreißt, Hunger verursacht und mörderische Verbrechen gegen den Frieden begeht.

                                                Das wird ja auch in & konkret öfter angeführt als ernstgenommen (leider auch in meiner Partei) - doch dieser Trump’sche Messias-Komplex geht inzwischen auch vielen MAGAs zu weit. Nach massiver Kritik auch aus dem eigenen Rest-Lager an seinem Größenwahn hat der feindselig-dualistische US-Thymokrat das schlimme Bild inzwischen wieder zu löschen versucht.

                                                Und behauptet, es sollte ihn als „Arzt“ darstellen. 🙄🤭🤷‍♂️

                                                zeit.de/politik/ausland/2026-0

                                                AodeRelay boosted

                                                [?]Patrick :neocat_flag_bi: » 🌐
                                                @patrick@hatoya.cafe

                                                One Open-source Project Daily

                                                Simple .INI file parser in C, good for embedded systems

                                                https://github.com/benhoyt/inih

                                                  28 ★ 9 ↺
                                                  planetscape boosted

                                                  [?]Anthony » 🌐
                                                  @abucci@buc.ci

                                                  A weird thing about being 50 is that there are programming languages that I've used regularly for longer than some of the software developers I work with have been alive. I first wrote BASIC code in the 1980s. The first time I wrote an expression evaluator--a fairly standard programming puzzle or homework--was in 1990. I wrote it in Pascal for an undergraduate homework assignment. I first wrote perl in the early 1990s, when it was still perl 4.036 (5.38.2 now). I first wrote java in 1995-ish, when it was still java 1.0 (1.21 now). I first wrote scala, which I still use for most things today, in 2013-ish, when it was still scala 2.8 (3.4.0 now). At various times I've been "fluent" in 8086 assembly, BASIC, C, Pascal, perl, python, java, scala; and passable in LISP/Scheme, Prolog, old school Mathematica, (early days) Objective C, matlab/octave, and R. I've written a few lines of Fortran and more than a few lines of COBOL that I ran in a production system once. I could probably write a bit of Haskell if pressed but for some reason I really dislike its syntax so I've never been enthusiastic about learning it well. I've experimented with Clean, Flix, Curry, Unison, Factor, and Joy and learned bits and pieces of each of those. I'm trying to decide whether I should try learning Idris, Agda, and/or Lean. I'm pretty sure I'm forgetting a few languages. Bit of 6502 assembly long ago. Bit of Unix/Linux shell scripting languages (old enough to have lived and breathed tcsh before switching to bash; I use fish now mostly).

                                                  When I say passable: in graduate school I wrote a Prolog interpreter in java (including parsing source code or REPL input), within which I could run the classic examples like append or (very simple) symbolic differentiation/integration. As an undergraduate I wrote a Mathematica program to solve the word recognition problem for context-free formal languages. But I'd need some study time to be able to write these languages again.

                                                  I don't know what the hell prompted me to reminisce about programming languages. I hope it doesn't come off as a humblebrag but rather like old guy spinning yarns. I think I've been through so many because I'm never quite happy with any one of them and because I've had a varied career that started when I was pretty young.

                                                  I guess I'm also half hoping to find people on here who have similar interests so I'm going to riddle this post with hashtags: