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

[?]éric 🚲 🇪🇺 :emacs: » 🌐
@ericsfraga@fediscience.org

Excellent article, by Blain Smith (@blainsmith), on the need for a broader education, especially for computer programmers:

blainsmith.com/essays/humaniti

Thanks to Sacha Chua (@sacha) for including this in her most recent weekly Emacs news post.

Edit: proper links for people mentioned.

    AodeRelay boosted

    [?]AA » 🌐
    @AAKL@infosec.exchange

    AodeRelay boosted

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

    @Sabine1963

    Ja, mir fiel es nach Jahrzehnten aktiver - Mitgliedschaft auch nicht leicht, erstmals einem Bundesvorsitzenden zu widersprechen.

    In der Union gab es von bis immer ein Zusammenführen der verschiedenen Flügel, nun erstmals eine rechtslibertäre Engführung.

    Und brach damit nicht nur sein Wort im Bundestag, auch und gingen mit. Dazu nicht mehr zu Schweigen war für mich eine .

    Ich halte als Christ & Demokrat die weltweite für falsch & hoffe, dass das wiederentdeckt wird. Sonst wird auch die ihren Charakter als integrative verlieren.

    @AwetTesfaiesus @agileranwalt @AlienJay

    herder.de/hk/hefte/archiv/2025

      AodeRelay 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 crypto and AI 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 commerical , , /#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.

        AodeRelay boosted

        [?]Hacker News » 🤖 🌐
        @h4ckernews@mastodon.social

        AodeRelay boosted

        [?]Impeach||GTFO :usasos: » 🌐
        @DaveFlater@infosec.exchange

        AodeRelay boosted

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

        @m_eick

        …sein sollte.

        Auch und sind von der betroffen. Wenn sie jedoch dialogische gegen bloße eintauschen, von einer christlich-demokratischen zu einer nur noch konservativen werden - dann werden sie untergehen. Ich kämpfe noch um das , aber unter & ging bereits viel Substanz zugunsten fossiler verloren. Fürchte ich.

        @hans_martin @mattze

        herder.de/hk/hefte/archiv/2025

        AodeRelay boosted

        [?]Phil » 🌐
        @philcowans@universeodon.com

        Rewriting bits of in - makes a huge difference to not have to spin up a Python interpreter and import a load of libraries just to produce a tabular view of some relatively simple JSON. The whole experience is way more responsive.

          [?]occult » 🌐
          @occult@vox.ominous.net

          Oh, this is good...

          From UNIX World, 1985: "It finds the subtle bugs in my C programs" - Claude B. Finn.

          40 years later, people are using Claude to find bugs in programs. What's old is new again.

          Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

          Alt...Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

          Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

          Alt...Vintage magazine advertisement for SAFE C™, a software development tool for UNIX and VAX/VMS. A man in a dark sweater and jeans sits casually on a desk next to a computer terminal and keyboard. A testimonial quote reads "It Finds The Subtle Bugs In My C Programs," attributed to Claude B. Finn, V.P. Software Development, EnMasse Computer Corporation. The tagline at the bottom reads "The SAFE C™ Family Can Literally Cut Software Development Time In Half. For UNIX™ and VAX/VMS.™"

            AodeRelay boosted

            [?]𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕 » 🌐
            @kubikpixel@chaos.social

            When Should JavaScript Devs Use the Power of WebAssembly?

            Learn how WebAssembly (Wasm) can boost your JavaScript app's performance. Discover modern tooling and follow our introductory tutorial for JS developers.
            — by @TheNewStack

            🧑‍💻 thenewstack.io/when-should-jav

              AodeRelay boosted

              [?]𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕 » 🌐
              @kubikpixel@chaos.social

              Making WebAssembly a first-class language on the Web

              WebAssembly has come a long way since its first release in 2017. The first version of WebAssembly was already a great fit for low-level languages like C and C++, and immediately enabled many new kinds of applications to efficiently target the web.
              — by @mozilla

              🧑‍💻 hacks.mozilla.org/2026/02/maki

                AodeRelay boosted

                [?]Radio_Azureus » 🌐
                @Radio_Azureus@ioc.exchange

                Do you also want contribute to the Open Source movement?
                Don't know where to start?

                • write a new program in
                • C++
                • rust
                • Python
                • goLang
                • hunt for bugs and submit patches in existing programs
                • choose any OS you like freeBSD openBSD netBSD Linux (win64 is fine is you work mostly there) to code for

                You can't write programs (yet)?

                • We need translators of programs, many programs dont have enough locale translators for languages used in projects you also use
                • Interfaces to contribute are easy to follow

                Want one easy example?

                You must (have) use(d) google voice
                It's getting enshittified (makes more and more mistakes) and is NOT opensource

                Common Voice by Mozilla

                • Common Voice is Open Source
                • I contribute there (years)
                • You need a only phone
                • I contribute in three languages (ES NL UK EN)

                Don't just use Open Source software CONTRIBUTE!

                Make the movement more powerful!

                my stats are here (screencap)
                What are yours?

                commonvoice.mozilla.org/en/das

                common voice stats

                Alt...common voice stats

                  AodeRelay boosted

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

                  One Open-source Project Daily

                  htop-like system-monitor for Windows with Vi-keybindings.

                  https://github.com/gsass1/NTop

                    AodeRelay boosted

                    [?]Radio_Azureus » 🌐
                    @Radio_Azureus@ioc.exchange

                    Wow and flutter from tapes long past

                    I know a man who decades ago, wanted to get a GUI {graphical user interface} on an Open Source Operating System where the coders and maintainers didn't see the need.
                    He primarily wanted that just for himself.**

                    The man has neither written nor compiled one line of programming code in his life

                    • He first learned how to do basic coding in an interpreted language then learned the basics in C** he went to a physical library first** He has read a lot of /man/ pages in the process
                    • He then compiled the sources for X himself and installed it
                    • Next he learned how to compile a WM of his choosing and installed it
                    • Then he compiled X userland programs of his choosing
                    • After that he compiled other software that needed X windows.

                    It took him more than a year and a half to get so far!

                    He not only proofed to himself that determination and planning can get you to any achievement, he learned advanced programming and computing skills in the process. He also had a great Guru (you may guess who)

                    His skills became so good, that he could even write a FAQ for everyone who wants to run an OS but can't configure a X interface because they can't comprehend the (excellent, technical) documentation.

                      AodeRelay boosted

                      [?]sͧb̴ͫƸ̴gͬᵉ » 🌐
                      @subm3rge@infosec.exchange

                      @erkhyan This reminds me of zap, a programmer I met in the later 80:s. He’d habitually write C source by doing
                      % cat > hello.c
                      on the command line, and then quickly type his source, line for line, until punching EOF.

                      He’d *then* do
                      % cat hello.c | sed <a long line>
                      which would *indent* the code nicely.

                      Never saw a compile fail for him. Still we mocked him for that cat.

                        [?]Kyle Memoir 🍉🐧 » 🌐
                        @f800gecko@mastodon.online

                        Fellow Pythoners,

                        Should I optimize my CPU-intensive function (which is unsuitable for numpy) by setting up Python multiprocessing first?

                        Or should I dig into the C & rust options, decide on one of those, then do the multiprocessing stuff after?

                          [?]Eugene :freebsd: :emacslogo: » 🌐
                          @evgandr@mastodon.bsd.cafe

                          And again @stefano outperformed me :drgn_blush_giggle: While I'm writing my home control system in for , he already preparing talk about his home control system for BSDCan :drgn_blush_giggle:

                          Thats the difference between North, with it's cold weather and low atmospheric pressure, and the South with humane environment :-D :drgn_cup_sleepy:

                          @bsdcan

                            AodeRelay boosted

                            [?]Michael Engel » 🌐
                            @me_@sueden.social

                            A question for the C experts - there's a difference between clang's cpp (Apple clang version 15.0.0 (clang-1500.1.0.2.5)) and gcc's cpp (riscv64-unknown-elf-cpp (GCC) 11.1.0) when preprocessing the code (without giving any command line parameters except the file name)

                            test(w) blarf(w)
                            test (42);
                            test(23);

                            Clang's cpp does not replace the first use of test, gcc's cpp does. What is the expected behaviour here?

                              AodeRelay boosted

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

                              ./configure
                              make
                              make test
                              make install

                                [?]DeltaLima 🐧 » 🌐
                                @DeltaLima@social.la10cy.net

                                is a pretty cool server software!

                                Super lightweight, no database, easy to set-up.

                                I will not replace my main instance with it, but i really have some other use cases for it, for example some bots or so.

                                And from what I saw, the code also is pretty nice to learn things from it. (me, a c programming noob)

                                Edit: Totally dumb of me to NOT post the Git repo in the first place 🤦‍♂️
                                codeberg.org/grunfink/snac2

                                  AodeRelay boosted

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

                                  RE: hachyderm.io/@itworldcup/11594

                                  Mein Tipp fürs Finale: gegen . Wie das ausgeht, da wage ich keine Prognose abzugeben.
                                  Aber der Kampf um den 3. Platz wird gegen werden. Und da wird C locker gewinnen.

                                    AodeRelay boosted

                                    [?]🦠Toxic Flange (Gurjeet)🔬⚱️🌚 » 🌐
                                    @Toxic_Flange@infosec.exchange

                                    I just realized something.. I used to love learning new things, i could get engrossed in something because it was simple to learn and easy to use.

                                    New "tech stack" doesn't seem to be like that anymore. It feels needlessly complex and invents a new 'standard' every time. It makes me angry and I hate learning, cause its no longer fun.

                                    Learning was fun and easy in High School. Moving to and in university was great and easy enough as well. Not that I was any kind of competent in C, but I felt I learned enough that it set me up on a trajectory to learn the finer details and gotchas.

                                    Things like are annoying AF. Oh, your python program only works on 3.11 and not 3.12 or 3.13? That shouldn't be at all. From 2->3 sure I expect changes, 3->4, i would expect great changes as well. But not a minor change!

                                    Dabbling in was fine actually, it didn't anger me much, and / I'm still doing rustlings so I can't say much there.

                                    CLI tools are weird today too. Do they want to be a TUI, a true CLI tool or what?

                                    The philosophy made learning new tools nice and easy, at least I think so. Do one thing, do it well, make it so your output can be used as the input to another program and great!

                                    Things don't seem to follow that idea anymore.

                                    Or am I just old and biased cause my brain lost its elasticity?? I don't want to think i'm so egocentric as to not rule that out.

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

                                      What are people using these days to write ? I've been using for years, because pod is easy to write, and pod2man has come with every version of since the stone age and so is installed everywhere that matters. I can't help feeling a bit dirty though, writing pod to document code written in or .

                                        [?]rk: it’s hyphen-minus actually » 🌐
                                        @rk@mastodon.well.com

                                        If you were writing a bignum library in C what would you call it?

                                        This is a quasi-serious question.

                                        The working name is “Rx” for internal reasons. I’ll stick with that if I can’t get something better.

                                          AodeRelay boosted

                                          [?]Eugene :freebsd: :emacslogo: » 🌐
                                          @evgandr@mastodon.bsd.cafe

                                          Commitin programming crimes }:->

                                          Few week ago I seriously looked to the mine OpenHAB installation and asked a question for myself: "Am I really need it?" Look, I have a few ZigBee devices, which are connected to the my server with the help of ZigBee2MQTT. Thusly, all necessary values and knobs are accessible through the MQTT topics.

                                          And I'm using the OpenHAB (big Java application which eats ton's of RAM and constantly swapping) just to:
                                          1) Read values from MQTT topic
                                          2) Read weather forecast from Open-Meteo through simple REST API endpoints
                                          3) Store all the data to the PostgreSQL DB.
                                          4) Display these data in the nice Web page which works only in browsers with JS engine.

                                          So, basically, I trade tons of RAM and processing power just for a nice web-page with few indicators. While retrieving data from my ZigBee devices processed by the another service.

                                          After that thought, I started to think about replacing this monster with small hand-written program, which will not eat 700 MB of RAM. Just Nginx, small FastCGI script on C, which will read values from DB and display them on the simple HTML page. And another small daemon (also written in C) which will take data from MQTT topic (and from REST API of Open-Meteo) and will write them to the DB. And possibly some PGSQL procedures to analyze these data.

                                          At least I'll have fun :drgn_happy_blep:

                                          Emacs buffer with some C code, which spews out the string with HTML, with substituted values for temperature and humidity.

                                          Alt...Emacs buffer with some C code, which spews out the string with HTML, with substituted values for temperature and humidity.

                                            [?]NerdNextDoor :Blobhaj: » 🌐
                                            @mrmasterkeyboard@mastodon.social

                                            Now that is going full AI mode… time to focus on the project I started called Inori, hosted on !

                                            Currently, it’s just a fancy HTML parser in and but it could become a good browser with community contributions in the future.

                                            It supports only currently but at some point maybe even or too?

                                            I might lay out what I plan for Inori in the replies.

                                            codeberg.org/NerdNextDoor/Inori

                                              AodeRelay boosted

                                              [?]Eugene :freebsd: :emacslogo: » 🌐
                                              @evgandr@mastodon.bsd.cafe

                                              Starting to think that using for my "smarthome" for my case is kinda overkill…

                                              I have some sensors (temperature and humidity), some reed switches for windows and possibly I'll add thermostats for heating batteries (because here, even with 0°C outside, the central heating works for all the money and it is impossible to sleep and work without all opened windows). All things are using so my uses some ZigBee coordinator dongle and with some MQTT broker inside. I already able to read all necessary data from sensors by reading the right MQTT topics.

                                              And the OpenHAB just communicates with my MQTT broker and displays some nice widgets on the Web UI. This is cool, because I don't need to think about how to work with MQTT and how to output data — all somehow works "by magic".

                                              But the price is very big. The OpenHAB eats near 600 MB of RAM and swaps a lot (near 1 GB for now). It is a largest memory consuming service in my server, which has only 2 GB of RAM (and a RAM prices already increased here :drgn_sigh: ). And also it's sandbox takes near 3.5 GB of SSD space.

                                              So, do I really need not to think about how it all works under the hood while wearing out my SSD or get some services OOMed if I disable swap and start e.g. using BorgBackup? Looks like the game is not worth the candle. I can literally pick library, unwrap some memories about how to use CGI and get the same nice page with sensors data and some logic inside. But with a waaaay less memory footprint and with possibility to open this page from :drgn_happy_blep:

                                              OpenHAB page with two well-drawn barometer+thermometer, showing data for living room and kitchen. And a small widget below, showing state of windows (one green and opened and other yellow and closed).

                                              Alt...OpenHAB page with two well-drawn barometer+thermometer, showing data for living room and kitchen. And a small widget below, showing state of windows (one green and opened and other yellow and closed).

                                              OpenHAB page showing battery levels for my phone, for temperature/humidity sensors and for reed switcher. Each record has a nice looking battery icon, showing a level of battery for the each device.

                                              Alt...OpenHAB page showing battery levels for my phone, for temperature/humidity sensors and for reed switcher. Each record has a nice looking battery icon, showing a level of battery for the each device.

                                              Top output from my server. The java process (belongs to OpenHAB) eats 615 MB of wired memory and 5.96% of CPU.
The swap has 1157 MB used and 879 MB free.

                                              Alt...Top output from my server. The java process (belongs to OpenHAB) eats 615 MB of wired memory and 5.96% of CPU. The swap has 1157 MB used and 879 MB free.

                                              The output of "du -hs" for catalog with OpenHAB sandbox — the size of this catalog is 3.5 GB.

                                              Alt...The output of "du -hs" for catalog with OpenHAB sandbox — the size of this catalog is 3.5 GB.

                                                AodeRelay boosted

                                                [?]Impossible Umbrella :donor: :tux: :vim: » 🌐
                                                @ImpossibleUmbrella@infosec.exchange

                                                I just wanted to say how great this book is! I've spent a few hours reading it this afternoon; and although so far it's mostly only covered topics that I am already very familiar with - the way it's written and explained it so good! I can't recommend it enough - and will definitely be recommending it to all my students!

                                                @nostarch

                                                nostarch.com/system-programmin

                                                -levelinux

                                                The front cover of the book "System Programming in Linux" by Stewart N. Weiss, and published by No Starch Press. The cover features the title of the book printed prominently in large letters, and a photograph of a bright yellow sunflower.

                                                Alt...The front cover of the book "System Programming in Linux" by Stewart N. Weiss, and published by No Starch Press. The cover features the title of the book printed prominently in large letters, and a photograph of a bright yellow sunflower.

                                                  AodeRelay boosted

                                                  [?]Nikhotmsk » 🌐
                                                  @nikhotmsk@vmst.io

                                                  I modified the code of Maelstrom (1992) video game. I got a special variant of it so if the player picks up an ACME canister the effects are preserved across deaths. Call me a cheater if you wish.

                                                  This variant is more fun to play.

                                                  This is a screenshot from a videogame. It says Maelstrom, cheater version by Nik.

                                                  Alt...This is a screenshot from a videogame. It says Maelstrom, cheater version by Nik.

                                                    AodeRelay boosted

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

                                                    AodeRelay boosted

                                                    [?]bert hubert 🇺🇦🇪🇺🇺🇦 » 🌐
                                                    @bert_hubert@eupolicy.social

                                                    This plot by the way was made by feeding 7 million or so house shapes into boost::geometry & asking it to draw convex hulls around dwellings sharing the same 3-digit prefix postcode. boost::geometry is pretty bad ass. ++

                                                      AodeRelay boosted

                                                      [?]Steven Hugg » 🌐
                                                      @sehugg@infosec.exchange

                                                      AodeRelay boosted

                                                      [?]Eugene :freebsd: :emacslogo: » 🌐
                                                      @evgandr@mastodon.bsd.cafe

                                                      Sometimes old projects are back. Made some updates for my utility, which is used to control brightness of a display, connected to the X220/X230 via the AGAN X230 board (from AliExpress):

                                                      - Since I'm using Awesome WM and don't want to write a logic to change brightness on the Lua, I added the --increase-brightness / --decrease-brightness options to change it by one step.

                                                      - Add option --percent to display current brightness level not as internal value from board, but as percentage.

                                                      - Update man page, add ChangeLog.

                                                      For now it is tested under 14.1-14.3.

                                                      codeberg.org/evgandr/brightnes

                                                        [?]Windy city » 🌐
                                                        @pheonix@hachyderm.io

                                                        I feel most programmers got accustomed to and proficient in a new language, database or framework because it was necessary in one of our jobs. Not because it got hyped in stackoverflow's survey or some youtube's tutorial series. That doesn't mean you can't just *learn* a language for the sake of it, you can learn it better if it suits the program you're trying to build and helps you write clean, refactorable and secure code.

                                                        Of course I speak for myself. Thoughts welcome.

                                                          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: