sergiodj

@sergiodj@snac.sergiodj.net

Free Software activist & hacker, Debian & GNU Developer, bug hunter. Opinions are my own.
XMPPsergiodj (at) sergiodj (dot) net
Matrix@sergiodj:sergiodj.net
Git repositorieshttps://git.sergiodj.net
GPG key237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Sitehttps://sergiodj.net
Bloghttps://blog.sergiodj.net

Carlos Henrique Lima Melara »
@charles_melara@mastodon.social

Every time I see a C function longer than 100 lines, I start to automatically question the quality of the code.

Now I'm looking to a 800 lines one...... 🫠

...
0 ★ 0 ↺

sergiodj »
@sergiodj@snac.sergiodj.net

@charles_melara@mastodon.social Interesting. I assume this is a function that evolved over time to be that big. I always wonder what made the developer(s) decide to keep expanding such long functions instead of breaking them down. Maybe some deeper architectural problem?

    ...

    Carlos Henrique Lima Melara »
    @charles_melara@mastodon.social

    @sergiodj Yeah, this particular one is pretty old (maybe 2002), but there are other newer ones (from 2022) that follow the same pattern. I'd say it might be a cultural thing in this project (not to refactor nor extract functions)

      The Real Grunfink »
      @grunfink@comam.es

      I'm glad to announce the release of version 2.74 of , the simple, minimalistic instance server written in C. It includes a lot of web UI translations by lovely people and a bit of minor tweaks and fixes:

      Added Spanish (default, Argentina and Uruguay) translation (contributed by gnemmi).

      Added Czech translation (contributed by pmjv).

      Added Brazilian Portuguese translation (contributed by daltux).

      Added Finnish translation (contributed by inz).

      Added French translation (contributed by Popolon).

      Added Russian translation (contributed by sn4il).

      Added Chinese translation (contributed by mistivia).

      Added German translation (contributed by zen and Menel).

      Added Greek translation (contributed by uhuru).

      Added Italian translation (contributed by anzu).

      Mastodon API: added support for /api/v1/custom_emojis (contributed by violette).

      Improved Undo+Follow logic (contributed by rozenglass).

      Reverted (temporarily) the Markdown code that converted text between underscores to italics, because it was causing more problems that what it was worth.

      Fixed bug in bookmark CSV import.

      Don't indent Twitter-like "threads" (i.e. chains of short posts from the same author that are self-replies).

      https://comam.es/what-is-snac

      If you find useful, please consider contributing via LiberaPay: https://liberapay.com/grunfink/


        ...
        5 ★ 1 ↺

        sergiodj »
        @sergiodj@snac.sergiodj.net

        Thanks!

        I've just uploaded 2.74 to Debian unstable. This one is a bigger upload because I took the opportunity to fix a few bugs, so I'll wait a few days before I upload the version to bookworm-backports.

        The package now automatically installs the language files (under /var/lib/snac2/lang/), and also creates symlinks for configuration files from /var/lib/snac2 into /etc/snac2.

        https://tracker.debian.org/news/1630180/accepted-snac2-274-1-source-into-unstable/

        ...
        6 ★ 1 ↺

        sergiodj »
        @sergiodj@snac.sergiodj.net

        Since no bugs or complaints were received regarding that latest #snac upload to unstable, I went ahead and uploaded it to bookworm-backports as well. Have fun!

          ...

          The Real Grunfink »
          @grunfink@comam.es

          Great news! Thank you very much, Sergio!

          CC: @sergiodj@snac.sergiodj.net

            ティージェーグレェ »
            @teajaygrey@snac.bsd.cafe

            I submitted a Pull Request to update MacPorts' snac to 2.74 here:

            https://github.com/macports/macports-ports/pull/27956

            3/3 of GitHub Continuous Integration checks completed successfully!

            Thanks to you (and gnemmi, pmjv, daltux, inz, Popolon, sn4il, mistivia, zen, Menel, uhuru, anzu, violette, and rozenglass; hopefully I didn't miss anyone?) for the continued improvements!

            As with previous PRs I have submitted, I am abstaining from commit access until I have less chaos in my life to be able to take on more responsibilities, so it's up to someone else to merge it.



              ...

              daniel:// stenberg:// »
              @bagder@mastodon.social

              you miss out these fun chats when you are not in the IRC channel

                ...

                Samuel Henrique »
                @samueloph@mastodon.social

                @bagder @charles_melara was telling us yesterday that there's a few deeply technical discussions going from time to time and it was a great selling point. Unfortunately I can't join as it's not on Matrix or OFTC (which is bridged to Matrix). @sergiodj was looking into this and will soon send you an email about it.

                  ...
                  17 ★ 6 ↺

                  sergiodj »
                  @sergiodj@snac.sergiodj.net

                  Just a quick note that:

                  - cURL now has a Matrix channel: :curl.se
                  - There's also a Matrix bridge between the IRC channel and the :curl.se Matrix channel

                  Enjoy!

                  CC: @bagder@mastodon.social @charles_melara@mastodon.social

                    The Real Grunfink »
                    @grunfink@comam.es

                    A week ago, I published a version of (a simple, minimalistic instance server written in C) that supported localisation of its web UI. Today, just seven days later, and thanks to collaborations, there are 10 languages already available.

                    You, people, are GREAT. Thank you very much.

                      ...

                      daniel:// stenberg:// »
                      @bagder@mastodon.social

                      release candidate 1 for the pending release is here: curl.se/rc/

                      We'll appreciate if you take it for a spin and report any problems you find.

                        ...
                        sergiodj boosted

                        Samuel Henrique »
                        @samueloph@mastodon.social

                        @bagder Available in the Debian experimental repository, can be used easily with:
                        $ podman run debian:experimental /bin/bash -c 'apt install --update -t experimental -y curl && curl --version'

                        If you use docker:
                        $ docker run debian:experimental /bin/bash -c 'apt install --update -t experimental -y curl && curl --version'

                        Or by enabling the experimental repository and installing it in your machine, if you use Debian.

                          sergiodj boosted

                          mjw »
                          @mjw@mastodon.nl

                          Note that someone created various CVEs for based on (fixed and closed) bug reports without following our SECURITY policy: sourceware.org/cgit/elfutils/t

                          These are NOT security issues according to our policy.

                          We request that people who report suspected security vulnerabilities report them through the contacts in our SECURITY policy and not through non-affiliated CNAs.

                          Creating random CVEs without coordinating with the upstream project and designated CNA just causes lots of make work.

                            sergiodj boosted

                            Debian » 🤖
                            @debian@framapiaf.org

                            We have a logo, thanks to Juliana Camargo and all other participants! bits.debian.org/2025/02/debcon

                              ...
                              4 ★ 0 ↺

                              sergiodj »
                              @sergiodj@snac.sergiodj.net

                              I'm AFK this week until Saturday, so I won't be able to upload to Debian until then. Thanks for you patience!

                                ...

                                The Real Grunfink »
                                @grunfink@comam.es

                                Don't worry! Your work is very appreciated.

                                  Hisham »
                                  @hisham_hm@mastodon.social

                                  Running in my work laptop.

                                  First time using KDE again since the days of KDE... 2? Been a user since the days os KDE 0.x.

                                  Getting a feel of what a modern Linux desktop experience feels like in 2025.

                                  And... it's good! A bit more Mac-like than I expected, but I haven't taken the time to test its customization ability to its limits.

                                    ...

                                    The Real Grunfink »
                                    @grunfink@comam.es

                                    I'm glad to announce the release of version 2.70 of , the simple, minimalistic instance server written in C. It includes the following changes:

                                    Notifications are now shown in a more compact way (i.e. all reactions are shown just above your post, instead of repeating the post ad nauseam for every reaction).

                                    New command-line option unmute to, well, no-longer-mute an actor.

                                    The private timeline now includes an approximate mark between new posts and "already seen" ones.

                                    Fixed a spurious 404 error in the instance root URL for some configurations.

                                    https://comam.es/what-is-snac

                                    If you find useful, please consider contributing via LiberaPay: https://liberapay.com/grunfink/

                                    This release has been inspired by the song The Answers to the Questions by and .

                                      ...
                                      5 ★ 0 ↺

                                      sergiodj »
                                      @sergiodj@snac.sergiodj.net

                                      @grunfink@comam.es Nice! I'm at FOSDEM this weekend so I'll only be able to upload it to Debian next week.

                                        ...

                                        gyptazy »
                                        @gyptazy@mastodon.gyptazy.com

                                        Oh, let's have a meet there! Maybe, if you're interested, we can also do gpg key signing...

                                        @sergiodj @grunfink

                                          ...
                                          2 ★ 0 ↺

                                          sergiodj »
                                          @sergiodj@snac.sergiodj.net

                                          ...
                                          2 ★ 0 ↺

                                          sergiodj »
                                          @sergiodj@snac.sergiodj.net

                                          @sergiodj@snac.sergiodj.net @gyptazy@gyptazy.com @gyptazy@gyptazy.com @grunfink@comam.es FOSDEM was absolutely crazy (as usual) and I missed you :(

                                            ...

                                            gyptazy »
                                            @gyptazy@mastodon.gyptazy.com

                                            @sergiodj @grunfink

                                            Yeah that’s sad that we haven’t met! Maybe next year or at any other conference :)

                                              The Real Grunfink »
                                              @grunfink@comam.es

                                              No problem! Have a nice meeting and weekend.

                                                ティージェーグレェ »
                                                @teajaygrey@snac.bsd.cafe

                                                Thank you for your continued improvements to snac!

                                                I submitted a Pull Request to update MacPorts' snac to 2.70 here:

                                                https://github.com/macports/macports-ports/pull/27556

                                                1 of 3 GitHub Continuous Integration checks has passed (which is a good sign the other two will as well, eventually).

                                                It's up to someone else with commit access to merge it.



                                                  The Real Grunfink »
                                                  @grunfink@comam.es

                                                  I'm glad to announce the release of version 2.71 of , the simple, minimalistic instance server written in C. This is a bugfix only release. It includes the following changes:

                                                  Fixed memory leak (contributed by inz).

                                                  Fixed crash.

                                                  https://comam.es/what-is-snac

                                                  If you find useful, please consider contributing via LiberaPay: https://liberapay.com/grunfink/


                                                    ...
                                                    Older...

                                                    ティージェーグレェ »
                                                    @teajaygrey@snac.bsd.cafe

                                                    I submitted a Pull Request to update MacPorts' snac to 2.71 here:

                                                    https://github.com/macports/macports-ports/pull/27571

                                                    GitHub Continuous Integration checks are running, hopefully without issues? If so, then it will be up to someone else with commit access to merge it.

                                                    Thanks for your (and inz's) continued improvements to snac!



                                                      5 ★ 1 ↺

                                                      sergiodj »
                                                      @sergiodj@snac.sergiodj.net

                                                      @grunfink@comam.es Uploaded to Debian unstable and bookworm-backports, thanks!

                                                        mjw »
                                                        @mjw@mastodon.nl

                                                        Back from which was super fun. But now tested positive for -19 which is less fun. Not feeling sick. But will quarantine. Be careful out there.

                                                          ...
                                                          0 ★ 0 ↺

                                                          sergiodj »
                                                          @sergiodj@snac.sergiodj.net

                                                          @mjw@mastodon.nl Ouch 😕. I'm on my way back home and will test myself just in case. Btw, I can't believe I missed you there. Such a short event to meet so many people...

                                                            ...

                                                            mjw »
                                                            @mjw@mastodon.nl

                                                            @sergiodj Sorry we missed each other. too many people, stands, rooms, talks... Hope you had a fun time and weren't in a too crowded place... 😆

                                                              ...
                                                              0 ★ 0 ↺

                                                              sergiodj »
                                                              @sergiodj@snac.sergiodj.net

                                                              @mjw@mastodon.nl Yes. FOSDEM should be the whole week :P. And it's not really possible to stay in places that aren't crowded there, but I did my best!

                                                                Andy Piper »
                                                                @andypiper@macaw.social

                                                                @mjw sorry to read this - hoping you don't have to deal with serious symptoms.

                                                                  1 ★ 0 ↺

                                                                  sergiodj »
                                                                  @sergiodj@snac.sergiodj.net

                                                                  @hisham_hm@mastodon.social Opa, mandei uma mensagem privada ontem mas talvez não tenha chegado. Ia ser legal te encontrar no FOSDEM! Está ocupado essa tarde?

                                                                    ...

                                                                    Hisham »
                                                                    @hisham_hm@mastodon.social

                                                                    @sergiodj opa, foi mal, só vi a mensagem agora e to de saída pra pegar o trem! vai ter que ficar pra uma próxima! vc mora onde?

                                                                      ...
                                                                      0 ★ 0 ↺

                                                                      sergiodj »
                                                                      @sergiodj@snac.sergiodj.net

                                                                      @hisham_hm@mastodon.social opa! Sem problema. A gente se fala numa próxima! Respondo a outra pergunta em privado :)

                                                                        Ludovic Courtès »
                                                                        @civodul@toot.aquilenet.fr

                                                                        The declarative & minimalistic computing track is the one track where ‘org-tree-slide-mode’ is the standard tool for presenters.

                                                                        ...
                                                                        0 ★ 0 ↺

                                                                        sergiodj »
                                                                        @sergiodj@snac.sergiodj.net

                                                                        @civodul@toot.aquilenet.fr hey, still at the conference?

                                                                          ...

                                                                          Ben Zanin »
                                                                          @gnomon@mastodon.social

                                                                          Related to ¹ let's please take a moment to appreciate the hilarity of the historical perspective here, where emacs was once considered absurdly profligate with computer system resources and performance and is now considered to be minimalistic

                                                                          ¹: toot.aquilenet.fr/@civodul/113 / @civodul @dthompson

                                                                            Cayetano Santos »
                                                                            @csantosb@sigmoid.social

                                                                            @civodul Too sophisticated and distracting ... 😀 !

                                                                            A collegue of mine got a permanent position, after a 20 min talk, hands in his pockets: this is minimalism.

                                                                            Nice talk, by the way !

                                                                              puida »
                                                                              @puida@mastodon.social

                                                                              I just ran a 5K in 29:57. Crazy to think that I set a sub-30 5K time as a goal for 2025, but achieving it was easier than I imagined. I guess I'll just do easy runs until 2026 then :^)

                                                                              ...
                                                                              0 ★ 0 ↺

                                                                              sergiodj »
                                                                              @sergiodj@snac.sergiodj.net

                                                                              @puida@mastodon.social For a while I thought you were talking about a new monitor resolution (5K) and a very strange aspect ratio (29:57).

                                                                                ...

                                                                                puida »
                                                                                @puida@mastodon.social

                                                                                @sergiodj everyone knows that a 29:57 aspect ratio is the best for hardcore coding

                                                                                  ...

                                                                                  The Real Grunfink »
                                                                                  @grunfink@comam.es

                                                                                  I'm glad to announce the release of version 2.69 of , the simple, minimalistic instance server written in C. Again, this version has been possible thanks to the very valuable help from great people. It includes the following changes:

                                                                                  Added support for subscribing to LitePub (Pleroma-style) Fediverse Relays like e.g. https://fedi-relay.gyptazy.com to improve federation. See snac(8) (the Administrator Manual) for more information on how to use this feature.

                                                                                  Added support for following hashtags. This is only useful if your instance is subscribed to relays (see above).

                                                                                  Added support for a Mastodon-like /authorize_interaction webpoint entry, that allows following, liking and boosting from another account's Mastodon public web interface. To be able to use it, you must reconfigure your https proxy to redirect /authorize_interaction to snac (see snac(8)).

                                                                                  Some fixes to accept Event objects properly (like those coming from implementations like https://gancio.org/ or https://mobilizon.fr).

                                                                                  Added some caching for local Actor objects.

                                                                                  Hashtags that are not explicitly linked in a post's content are shown below it.

                                                                                  Fixed broken NetBSD build (missing dependency in Makefile.NetBSD).

                                                                                  The user profile can now include longitude and latitude data for your current location.

                                                                                  Mastodon API: implemented limit= on notification fetches (contributed by nowster), implemented faster min_id handling (contributed by nowster), obey the quiet public visibility set for posts, other timeline improvements (contributed by nowster).

                                                                                  Reduced RSA key size for new users from 4096 to 2048. This will be friendlier to smaller machines, and everybody else out there is using 2048.

                                                                                  If the SNAC_BASEDIR environment variable is defined and set to the base directory of your installation, you don't have to include the base directory in the command line.

                                                                                  Fixed a bug in the generation of the top page (contributed by an-im-dugud).

                                                                                  Added support for Markdown headers and underlining (contributed by an-im-dugud).

                                                                                  https://comam.es/what-is-snac

                                                                                  If you find useful, please consider contributing via LiberaPay: https://liberapay.com/grunfink/

                                                                                  This release has been inspired by the song Nine Hundred Miles by .

                                                                                    ...
                                                                                    Older...

                                                                                    gyptazy »
                                                                                    @gyptazy@mastodon.gyptazy.com

                                                                                    You nailed it again, well done! Thanks for your continuous development on snac! The LitePub integration will make many lives of snac operators much easier and improve the overall fedi network where posts will be more visible to everyone!

                                                                                    @grunfink

                                                                                      ...

                                                                                      The Real Grunfink »
                                                                                      @grunfink@comam.es

                                                                                      Thanks! And again, thanks to you, because your relay service has been very useful to me in developing / polishing 's implementation.

                                                                                        4 ★ 2 ↺

                                                                                        sergiodj »
                                                                                        @sergiodj@snac.sergiodj.net

                                                                                        @grunfink@comam.es Uploaded to Debian unstable and bookworm-backports. Thanks!

                                                                                          ...

                                                                                          The Real Grunfink »
                                                                                          @grunfink@comam.es

                                                                                          You're welcome, thanks to you!

                                                                                            daltux »
                                                                                            @daltux@snac.daltux.net

                                                                                            How long would you say until the upgrade is available to APT? I see version 2.68-1~bpo12+1 yet.

                                                                                            BTW Thank you all for the amazing work.

                                                                                            CC: @grunfink@comam.es

                                                                                              ...
                                                                                              1 ★ 0 ↺

                                                                                              sergiodj »
                                                                                              @sergiodj@snac.sergiodj.net

                                                                                              @daltux@snac.daltux.net @grunfink@comam.es The builds have all finished and been uploaded. https://buildd.debian.org/status/package.php?p=snac2&suite=bookworm-backports . I'd say they'll take between 4 and 6 hours to be available everywhere? That's an educated guess, though.

                                                                                                ティージェーグレェ »
                                                                                                @teajaygrey@snac.bsd.cafe

                                                                                                As an aside, when I browse to https://comam.es/snac I can't help but notice a lot of repeats of your 2.69 boost announcement.

                                                                                                Also, it seems as if all the repeated boosts have the same username? I am guessing, whomever last boosted it (it was Jay Hannah previously I think, but now since I boosted the release announcement toot, I see my handle on all the repeat boosts). I don't remember observing behavior like that before, so I thought I would mention it.

                                                                                                  ...

                                                                                                  The Real Grunfink »
                                                                                                  @grunfink@comam.es

                                                                                                  Yes, this is a new bug, I wasn't aware. Thanks for reporting.

                                                                                                    Carlos Henrique Lima Melara »
                                                                                                    @charles_melara@mastodon.social

                                                                                                    2025:

                                                                                                    - A fascist is the president of USA (United States of NORTH America ;-)

                                                                                                    - We can't agree on a default branch name for packaging (really debian/latest or debian/unstable should be fine, do we really need 40 replies discussing that ?!)

                                                                                                    - I almost lost my bus to the airport

                                                                                                    Really unbelievable!

                                                                                                    ...
                                                                                                    0 ★ 1 ↺

                                                                                                    sergiodj »
                                                                                                    @sergiodj@snac.sergiodj.net

                                                                                                    @charles_melara@mastodon.social Hope you're having a safe trip!

                                                                                                      ...

                                                                                                      Carlos Henrique Lima Melara »
                                                                                                      @charles_melara@mastodon.social

                                                                                                      @sergiodj it's going ... well. I'll have a lot of stories for next weekend :-)

                                                                                                        sergiodj boosted

                                                                                                        Jonathan Corbet »
                                                                                                        @corbet@social.kernel.org

                                                                                                        A followup for folks who are curious about the whole AI botswarm problem...

                                                                                                        Some of these bots are clearly running on a bunch of machines on the same net. I have been able to reduce the traffic significantly by treating everything as a class-C net and doing subnet-level throttling. That and simply blocking a couple of them.

                                                                                                        But that leaves a lot of traffic with an interesting characteristic: there are millions of obvious bot hits (following a pattern through the site, for example) that all come from a different IP. An access log with 9M lines as over 1M IP addresses, and few of them appear more than about three times.

                                                                                                        So these things are running on widely distributed botnets, likely on compromised computers, and they are doing their best to evade any sort of recognition or throttling. I don't think that any sort of throttling or database of known-bot IPs is going to help here...not quite sure what to do about it.

                                                                                                        What a world we have made for ourselves...

                                                                                                        ...

                                                                                                        see shy jo »
                                                                                                        @joeyh@hachyderm.io

                                                                                                        @corbet I recently dealt with something similar, a million IP addresses scraping my gitweb

                                                                                                        I wonder if you're seeing hits to individual comment pages on LWN? That would match the pattern I was seeing.

                                                                                                        How I dealt with it was noticing that the bots were hitting deep links that were only occasionally used by regular users. (Like LWN comment pages I imagine.) So a small degradation in an edge case that affected regular users was acceptable.

                                                                                                        So I rate limited access to those urls. When over rate limit, my server serves up a response that says "Please wait..." and refreshes after a few seconds. The bots didn't refresh. When the server is not being swarmed by bots, regular users will see only a brief interruption. This cleared the botswarm for me in a couple of days, so it was apparently only incompetent spidering and not malicious.

                                                                                                        I could imagine you doing something similar with lwn.net/Articles/* pages of type comment, and similarly not affecting most LWN users most of the time.

                                                                                                          penguin42 »
                                                                                                          @penguin42@mastodon.org.uk

                                                                                                          @corbet I'm trying to think of the AI training that would be using compromised hosts for scraping; I thought for training you had to do the training part on one or a small number of tightly coupled hosts; so then what is it?

                                                                                                            ...

                                                                                                            Jonathan Corbet »
                                                                                                            @corbet@social.kernel.org

                                                                                                            @penguin42 They don't tell me what they are doing with the data... the distributed scraping is an easily observable fact, though. Perhaps they are firehosing the data back to the mothership for training?

                                                                                                              sergiodj boosted

                                                                                                              Jonathan Corbet »
                                                                                                              @corbet@social.kernel.org

                                                                                                              Should you be wondering why @LWN #LWN is occasionally sluggish... since the new year, the DDOS onslaughts from AI-scraper bots has picked up considerably. Only a small fraction of our traffic is serving actual human readers at this point. At times, some bot decides to hit us from hundreds of IP addresses at once, clogging the works. They don't identify themselves as bots, and robots.txt is the only thing they *don't* read off the site.

                                                                                                              This is beyond unsustainable. We are going to have to put time into deploying some sort of active defenses just to keep the site online. I think I'd even rather be writing about accounting systems than dealing with this crap. And it's not just us, of course; this behavior is going to wreck the net even more than it's already wrecked.

                                                                                                              Happy new year :)

                                                                                                                ...
                                                                                                                mjw boosted

                                                                                                                Sheogorath »
                                                                                                                @sheogorath@microblog.shivering-isles.com

                                                                                                                @corbet @LWN I think we should start doing what the internet can do best: Collaborate on these things.

                                                                                                                I see this on my services, Xe recently saw the same. xeiaso.net/notes/2025/amazon-c (and build a solution xeiaso.net/blog/2025/anubis/)

                                                                                                                There is zadzmo.org/code/nepenthes/

                                                                                                                I would love to see some kind of effort to map out bot IPs and get a public block list. I'm tired of their nonsense.

                                                                                                                  sergiodj boosted

                                                                                                                  mjw »
                                                                                                                  @mjw@mastodon.nl

                                                                                                                  Debuginfod project update 2024 by Aaron Merey

                                                                                                                  developers.redhat.com/articles

                                                                                                                  - Metrics and scale of debuginfod servers
                                                                                                                  - New tools and features in debuginfod
                                                                                                                  - IMA verification support
                                                                                                                  - Addressing kernel VDSO extraction bottlenecks @osandov
                                                                                                                  - Lazy debug info downloading in and

                                                                                                                    6 ★ 2 ↺

                                                                                                                    sergiodj »
                                                                                                                    @sergiodj@snac.sergiodj.net

                                                                                                                    I'll be attending #FOSDEM this year, after a 10-year hiatus. Looking forward to seeing old friends and making new ones!

                                                                                                                      ...

                                                                                                                      mjw »
                                                                                                                      @mjw@mastodon.nl

                                                                                                                      @sergiodj Looking forward to meeting you again at !

                                                                                                                        ...
                                                                                                                        0 ★ 0 ↺

                                                                                                                        sergiodj »
                                                                                                                        @sergiodj@snac.sergiodj.net

                                                                                                                        @mjw@mastodon.nl Nice, Mark! It will be great seeing you again :)

                                                                                                                          The Real Grunfink »
                                                                                                                          @grunfink@comam.es

                                                                                                                          Happy new year. I'm glad to announce the release of version 2.68 of , the simple, minimalistic instance server written in C. This release couldn't have been possible without the help of several fellow developers. It includes the following changes:

                                                                                                                          Fixed regression in link verification code (contributed by nowster).

                                                                                                                          Added ipv6 support for the https frontend connection (contributed by hb9hnt).

                                                                                                                          New "Like by URL" operation (contributed by dheadshot).

                                                                                                                          Added support for a Mastodon-like /share link sharing URL, like the one provided by sites like https://mastodonshare.com/ and such. To be able to use it, you must reconfigure your https proxy to redirect /share to snac (see snac(8)).

                                                                                                                          New linux landlock (sandboxing) support for enhanced security (contributed by shtrophic). It's still a bit experimental, so you have to enable it explicitly by recompiling with the WITH_LINUX_SANDBOX directive (e.g. make CFLAGS=-DWITH_LINUX_SANDBOX).

                                                                                                                          Some search fixes regarding repeated matches.

                                                                                                                          The export_csv cmdline operation now exports the CSV files inside a user's export/ subdirectory instead of the current directory.

                                                                                                                          All CSV files to be imported must now be stored inside a user's import/ subdirectory instead of the current directory.

                                                                                                                          Mastodon API: more timeline paging tunings (contributed by nowster), post language selected in apps is properly set.

                                                                                                                          The command-line operation note new reads the LANG environment variable to set the post's language.

                                                                                                                          A new command-line operation, note_unlisted, allows posting "unlisted" or "quiet public" posts.

                                                                                                                          The maximum number of entries in users' RSS feeds and in outboxes can now be set via the max_public_entries variable in the server.json file.

                                                                                                                          Fixed broken support for Audio objects.

                                                                                                                          Made xmpp and mailto URLs clickable.

                                                                                                                          https://comam.es/what-is-snac

                                                                                                                          If you find useful, please consider contributing via LiberaPay: https://liberapay.com/grunfink/

                                                                                                                          This release has been inspired by the painting Judith Slaying Holofernes by .

                                                                                                                            ...
                                                                                                                            Older...

                                                                                                                            gyptazy »
                                                                                                                            @gyptazy@mastodon.gyptazy.com

                                                                                                                            Awesome, like always! Thank you very much for your efforts and time!

                                                                                                                            @grunfink

                                                                                                                              ...

                                                                                                                              The Real Grunfink »
                                                                                                                              @grunfink@comam.es

                                                                                                                              You're welcome!

                                                                                                                                2 ★ 0 ↺

                                                                                                                                sergiodj »
                                                                                                                                @sergiodj@snac.sergiodj.net

                                                                                                                                @grunfink@comam.es That's awesome, I'll upload it to Debian soon. Thanks!

                                                                                                                                  ...
                                                                                                                                  2 ★ 0 ↺

                                                                                                                                  sergiodj »
                                                                                                                                  @sergiodj@snac.sergiodj.net

                                                                                                                                  OK, uploads done!

                                                                                                                                  I thought about enabling sanboxing, but I'll wait until https://codeberg.org/grunfink/snac2/issues/267 is figured out.

                                                                                                                                  CC: @grunfink@comam.es

                                                                                                                                    ...

                                                                                                                                    The Real Grunfink »
                                                                                                                                    @grunfink@comam.es

                                                                                                                                    Thank you very much, Sergio!

                                                                                                                                      ティージェーグレェ »
                                                                                                                                      @teajaygrey@snac.bsd.cafe

                                                                                                                                      Thank you (and to others such as nowster, hb9hnt and dheadshot) for the continued improvements to snac!

                                                                                                                                      I submitted a Pull Request to update MacPorts' snac to 2.68 here:

                                                                                                                                      https://github.com/macports/macports-ports/pull/27332

                                                                                                                                      GitHub Continuous Integration checks are running (two out of three completed successfully, which is a good sign, here's hoping the last one has no issues as well).

                                                                                                                                      As usual, it's up to someone else with commit access to merge it.



                                                                                                                                        The Real Grunfink »
                                                                                                                                        @grunfink@comam.es

                                                                                                                                        Strangely on a Sunday morning, I'm glad to announce the release of version 2.67 of , the simple, minimalistic instance server written in C. It includes the following changes:

                                                                                                                                        The search box also accepts post URLs; the post is requested and, if it's found, can be interacted with (liked, boosted, replied to, etc.).

                                                                                                                                        IP addresses for failed logins are tracked and throttled to mitigate brute force attacks (see snac(8) for more information).

                                                                                                                                        Fixed a bug regarding repeated attachments when editing a post.

                                                                                                                                        Mastodon API: Improved timeline pagination in some clients (details: an HTTP Link header has been added), fixed missing audio attachments, fixed an incorrect value for the bot field in newly created accounts, fixed a crash, implemented markers (contributed by nowster).

                                                                                                                                        When running in server mode, the pidfile is locked to avoid concurrent running of the same server instance.

                                                                                                                                        Added documentation and some tweaks to enable static compilation with musl (contributed by Shamar).

                                                                                                                                        https://comam.es/what-is-snac

                                                                                                                                        If you find useful, please consider contributing via LiberaPay: https://liberapay.com/grunfink/

                                                                                                                                        In the northern half we'll celebrate by listening to the song One Perfect Sunrise by .

                                                                                                                                          ...
                                                                                                                                          Older...

                                                                                                                                          ティージェーグレェ »
                                                                                                                                          @teajaygrey@snac.bsd.cafe

                                                                                                                                          I submitted a Pull Request to update MacPorts' snac to 2.67 here:

                                                                                                                                          https://github.com/macports/macports-ports/pull/27188

                                                                                                                                          Two of three GitHub Actions Continuous Integration checks passed, which is a good sign; hopefully the others will pass without issues.

                                                                                                                                          As usual, it's up to others with commit access to merge it!

                                                                                                                                          Thanks again for your and others' continued improvements to snac! Specifically I noticed shout outs to nowster and Shamar in the RELEASE_NOTES.md and I seem to recall watching the discourse about the PID locking suggested and discussed rather collaboratively too!

                                                                                                                                          (My apologies for the delay. The Makefile was slightly modified, which in turn broke the $files/Makefile.patch applied by MacPorts so I needed to rework that which took me a bit longer than usual given other work obligations I have had today.

                                                                                                                                          Though not a concern for upstream, for MacPorts users I also noticed the following warning when running % port test:

                                                                                                                                          "Warning: violation by /opt/local/man
                                                                                                                                          Warning: snac violates the layout of the ports-filesystems!
                                                                                                                                          Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!"

                                                                                                                                          Though, it appears as if the man pages are where I think they should be for MacPorts? I have never seen that Warning before, so my guess is something about MacPorts intended prescriptive behavior has been changed but I am not exactly certain what the expected behavior is supposed to be now? I will look into it further, but hopefully it isn't a concern for users at the moment; just thought I would mention it for the sake of being thorough!

                                                                                                                                          However, it's entirely possible I messed something up too; so if others with greater wisdom than I see that Warning and know what to do to correct it, or if they encounter any other issues with MacPorts' snac, others are more than welcome to submit Pull Requests with improvements! Or feel free to open up an issue on MacPorts Trac instance at https://trac.macports.org and I'll look into it.)



                                                                                                                                            ...

                                                                                                                                            The Real Grunfink »
                                                                                                                                            @grunfink@comam.es

                                                                                                                                            Thank you very much to you for your continuous effort in this port.

                                                                                                                                              5 ★ 3 ↺

                                                                                                                                              sergiodj »
                                                                                                                                              @sergiodj@snac.sergiodj.net

                                                                                                                                              @grunfink@comam.es Debian unstable and bookworm-backports now have the latest snac version. Thanks!

                                                                                                                                                ...

                                                                                                                                                The Real Grunfink »
                                                                                                                                                @grunfink@comam.es

                                                                                                                                                You're welcome, Sergio! Thank you so much!

                                                                                                                                                  Jack »
                                                                                                                                                  @knapjack@elsewhere.cozysumo.space

                                                                                                                                                  @grunfink@comam.es I can report that the Tuba client now works like a charm, but Elk and Phanpy still do not. Gotta love standardization. 😉 Thank you so much for the update!

                                                                                                                                                    ...

                                                                                                                                                    The Real Grunfink »
                                                                                                                                                    @grunfink@comam.es

                                                                                                                                                    You're welcome!

                                                                                                                                                      1 ★ 2 ↺

                                                                                                                                                      sergiodj »
                                                                                                                                                      @sergiodj@snac.sergiodj.net

                                                                                                                                                      Is anyone successfully using 's ntfy support? I tried enabling it but it doesn't seem to work correctly, or at least I couldn't figure out how to prevent it from spamming my client with all my previous notifications every couple of minutes.

                                                                                                                                                        ...

                                                                                                                                                        The Real Grunfink »
                                                                                                                                                        @grunfink@comam.es

                                                                                                                                                        I confirm that ntfy works fine for me. I think that @stefano@bsd.cafe can confirm as well (in fact, Ntfy code in was his work).

                                                                                                                                                        I've discovered a thing, though; if I have the ntfy app and Tusky running at the same time, Tusky adds 3 or 4 additional notifications to Ntfy (don't know why), and then chaos insues (I get repeated notifications all the time).

                                                                                                                                                          ...
                                                                                                                                                          0 ★ 0 ↺

                                                                                                                                                          sergiodj »
                                                                                                                                                          @sergiodj@snac.sergiodj.net

                                                                                                                                                          @grunfink@comam.es @stefano@bsd.cafe Yeah, that's exactly what happens. I'm using Tusky and that's where I see the infinite notifications problem.

                                                                                                                                                            ...

                                                                                                                                                            The Real Grunfink »
                                                                                                                                                            @grunfink@comam.es

                                                                                                                                                            I don't understand why Tusky behaves like this: it's able to show notifications by itself, but if it finds Ntfy running, it adds its own notification paths to it. Or, at least, this is what I observed with next to no investigation on the subject. I only use Tusky occasionally for testing, so I may be wrong.

                                                                                                                                                            If I don't open Tusky, Ntfy works like a charm on my phone.

                                                                                                                                                            CC: @stefano@bsd.cafe

                                                                                                                                                              ...
                                                                                                                                                              1 ★ 0 ↺

                                                                                                                                                              sergiodj »
                                                                                                                                                              @sergiodj@snac.sergiodj.net

                                                                                                                                                              @grunfink@comam.es @stefano@bsd.cafe Fair enough. I also noticed that I'd made a mistake: I instructed snac to post its notifications to Tusky's ntfy topic, which certainly contributed to the loop I was seeing. I fixed that now and created a topic just for snac; let's see how that goes.

                                                                                                                                                                2 ★ 1 ↺
                                                                                                                                                                in reply to »

                                                                                                                                                                sergiodj »
                                                                                                                                                                @sergiodj@snac.sergiodj.net

                                                                                                                                                                @grunfink@comam.es Uploaded to Debian unstable and bookworm-backports. Thanks for the release!

                                                                                                                                                                  ...

                                                                                                                                                                  The Real Grunfink »
                                                                                                                                                                  @grunfink@comam.es

                                                                                                                                                                  Thank you so much, Sergio!

                                                                                                                                                                    1 ★ 1 ↺
                                                                                                                                                                    in reply to »

                                                                                                                                                                    sergiodj »
                                                                                                                                                                    @sergiodj@snac.sergiodj.net

                                                                                                                                                                    @knapjack@elsewhere.cozysumo.space @grunfink@comam.es It depends on the Ubuntu release. https://launchpad.net/ubuntu/+source/snac2 shows detailed version info.

                                                                                                                                                                      ...
                                                                                                                                                                      5 ★ 0 ↺
                                                                                                                                                                      in reply to »

                                                                                                                                                                      sergiodj »
                                                                                                                                                                      @sergiodj@snac.sergiodj.net

                                                                                                                                                                      Uploaded to Debian unstable and bookworm-backports!

                                                                                                                                                                        ...
                                                                                                                                                                        5 ★ 2 ↺
                                                                                                                                                                        jase boosted
                                                                                                                                                                        in reply to »

                                                                                                                                                                        sergiodj »
                                                                                                                                                                        @sergiodj@snac.sergiodj.net

                                                                                                                                                                        @grunfink@comam.es Debian unstable and bookworm-backports uploads done.

                                                                                                                                                                          ...
                                                                                                                                                                          5 ★ 2 ↺
                                                                                                                                                                          in reply to »

                                                                                                                                                                          sergiodj »
                                                                                                                                                                          @sergiodj@snac.sergiodj.net

                                                                                                                                                                          @mookie@shumai.xyz @eltheanine@the.teabag.ninja if you're on Debian, snac is packaged in unstable/testing/bookworm-backports. I'm always striving to keep the package up to date with the latest upstream release.

                                                                                                                                                                            ...
                                                                                                                                                                            0 ★ 0 ↺
                                                                                                                                                                            in reply to »

                                                                                                                                                                            sergiodj »
                                                                                                                                                                            @sergiodj@snac.sergiodj.net

                                                                                                                                                                            @nik@toot.teckids.org section 3.2.1 says that the transfer of copyright is possible, as long as the licence clause is clear about transferability of rights. IIUC this is about Nutzungsrecht (rights of use), and not Urheberrecht. Again, IANAL.

                                                                                                                                                                              ...
                                                                                                                                                                              0 ★ 0 ↺
                                                                                                                                                                              in reply to »

                                                                                                                                                                              sergiodj »
                                                                                                                                                                              @sergiodj@snac.sergiodj.net

                                                                                                                                                                              IANAL, but https://script-ed.org/article/drafting-options-contributor-agreements-free-open-source-software-assignment-nonexclusive-licence-legal-consequences-comparative-analysis-german-law/ seems to paint a different picture regarding copyright attribution in Germany.

                                                                                                                                                                              I'm not a big fan of FSF's policy on copyright assignment myself (although I understand the historical context), but I disagree with the advice of not contributing to the GNU project because of that. (Caveat emptor: I've been a GNU contributor myself for a number of years)

                                                                                                                                                                                ...

                                                                                                                                                                                History

                                                                                                                                                                                Back to top - More...