mascal

@mascal@bench.thebus.top

I suffer from Frenchness.
Pronounshe/him
SituationIt's complicated
Headquartershttps://thebus.top
📌 0 ★ 0 ↺

mascal »
@mascal@bench.thebus.top

The Bench
I'm the admin and only user of https://bench.thebus.top. Contact me if any issue arise from my instance ! All posts are deleted after 30 days.

Justine Smithies »
@justine@snac.smithies.me.uk

Here's a question that I cannot find a definitive answer to. I'm running X on and I have started configuring my .Xresources but I can't find out if it matters whether a line has capitals or all lowercase. For example:

XTerm*faceSize: 10

is this just the same does it not matter ?

xterm*faceSize: 10

Sorry but if it does not matter, if I start XTerm or xterm then that's good as having both just now plays on my OCD. :D

    ...
    2 ★ 0 ↺

    mascal »
    @mascal@bench.thebus.top

    The precise spec is there : https://man.openbsd.org/X.7#RESOURCES

      ...

      Justine Smithies »
      @justine@snac.smithies.me.uk

      Why oh why has OpenBSD gotten stuck in my head !? I know there are easier BSD's out there with more software choices and better filesystem's but something keeps making me think about using it. Tell me fedi friends why is this ?

       An image of the OpenBSD logo puffy on a yellow background.

      Alt... An image of the OpenBSD logo puffy on a yellow background.

        ...
        2 ★ 2 ↺
        Jana boosted

        mascal »
        @mascal@bench.thebus.top

        Despite all its "missing" features, that's a simple system that stays in your head easily. The OOBE is to me the best of all BSDs, even though NetBSD improved a lot these last few years in that regard.

        Most of their re-implementation of already existing software is more pragmatic, and straight to the point. There is a reason why so many OpenBSD tools end up in "portable" versions for other OSes 🙂 That makes it very likeable.

        mascal boosted

        nixCraft 🐧 »
        @nixCraft@mastodon.social

        Heads up: Multiple Security Issues in GNU Screen - mostly affecting release
        5.0.0 and setuid-root installations (Local Root Exploit and others) openwall.com/lists/oss-securit

          Jan Schaumann »
          @jschauma@mstdn.social

          I swear, every time I use (a, any) Linux, I have to do a double-take and go "what the fresh fuck is this now". Today it's whatever is going on with /etc/motd on Ubuntu.

          Making simple things complicated seems to be the trend there.

          ...

          Jan Schaumann »
          @jschauma@mstdn.social

          Oh, and while I'm complaining: requiring sudo for dmesg is stupid, too. 🙄

          ...

          Jan Schaumann »
          @jschauma@mstdn.social

          Today's grievance: apparently comes up with a default firewall that blocks anything besides SSH and something called "cockpit" (apparently a remote admin web interface running on port 9090 using a self-signed certificate, so, uhm, yeah 🤦‍♂️).

            ...

            Jan Schaumann »
            @jschauma@mstdn.social

            Just spent 45 minutes groveling through 2,300 lines of bash completion gunk because apparently nowadays bash[1] will only tab-complete files based on filename "extension"[2] as if this was fucking MS-DOS.

            Grrr.

            [1] Well, _this_ bash on _this_ particular Linux version.
            [2] E.g., "sh x<tab>" will only complete "x*.sh".

              ...

              Jan Schaumann »
              @jschauma@mstdn.social

              TIL: On Ubuntu, AppArmor restricts tcpdump from reading files that don't end in ".pcap". 🤦‍♂️

              $ ls -l /tmp/out
              -rw------- 1 tcpdump tcpdump 13651 Feb 13 15:49 /tmp/out
              $ sudo tcpdump -n -r /tmp/out
              tcpdump: /tmp/out: Permission denied
              $ sudo mv /tmp/out /tmp/out.pcap
              $ sudo tcpdump -n -r /tmp/out.pcap
              reading from file /tmp/out.pcap, link-type EN10MB (Ethernet), snapshot length 262144
              [...]

              Why are people trying so hard to make "file extensions" happen?

              ...

              Jan Schaumann »
              @jschauma@mstdn.social

              Today in " ruins everything", Jan learns that systemd-resolve...

              - runs a proxy DNS server on 127.0.0.53 (which is in /etc/resolv.conf)
              - uses it's own /run/systemd/resolve/resolv.conf
              - will read and cache /etc/hosts regardless of what /etc/nsswitch.conf says (`ReadEtcHosts` defaults to `yes` in /etc/systemd/resolved.conf)

              Applications that follow traditional libc resolver logic now will continue to get /etc/hosts results even if /etc/nsswitch.conf excludes 'files'.

              🤦‍♂️

                ...

                Jan Schaumann »
                @jschauma@mstdn.social

                JFC WTF is wrong with ? I just spent 30 minutes trying to change the port on sshd because apparently it doesn't matter what you put into /etc/ssh/sshd_config, but you need to hunt down /lib/systemd/system/ssh.socket to change that.

                  ...
                  0 ★ 0 ↺

                  mascal »
                  @mascal@bench.thebus.top

                  I'm still waiting for the netplan rant on Ubuntu ahah.

                    0 ★ 0 ↺

                    mascal »
                    @mascal@bench.thebus.top

                    I still can't believe I made almost a whole Debian stable release cycle without needing anything new on the desktop. Well, it's not like I'm using the same software since Xfce 4.4 (must be something like 2008 ufff) ahah

                    I will try http/3 on the server once Trixie is out though !

                    0 ★ 0 ↺

                    mascal »
                    @mascal@bench.thebus.top

                    No Wayland by default for Trixie and Xfce. Nice news, maybe I'll have a smooth transition to it in 2 years. Maybe 🦖

                      Stefano Marinelli »
                      @stefano@mastodon.bsd.cafe

                      Let the fun begin!

                      A compact GMKtec mini PC is shown powered on, with a glowing blue LED ring around the power button and base. It has multiple connected cables and a Kingston USB flash drive plugged into the side. The device sits on top of another piece of equipment surrounded by various tech accessories and cables.

                      Alt...A compact GMKtec mini PC is shown powered on, with a glowing blue LED ring around the power button and base. It has multiple connected cables and a Kingston USB flash drive plugged into the side. The device sits on top of another piece of equipment surrounded by various tech accessories and cables.

                        ...

                        Amber »
                        @puppygirlhornypost2@transfem.social

                        @stefano@mastodon.bsd.cafe oo! what's the specs on that machine?

                          ...

                          Stefano Marinelli »
                          @stefano@mastodon.bsd.cafe

                          @puppygirlhornypost2 it's an Intel N150 - 12 GB DDR5 Ram - 256 GB SSD (or NVMe - still unsure). 2 1 Gbit ports.
                          I had it for less than 130 euros (new) and I'll test if it can be a full workstation (for some browsing, LibreOffice, etc) or "Just" a small server.
                          I have three potential use cases - as my desktop at the office (as I don't work from the office that often), as a workstation or server for a client or for a workstation for my parents.

                            ...

                            Tim Chase »
                            @gumnos@mastodon.bsd.cafe

                            @stefano

                            Planning to write up your escapades? (you usually do, so this may be a self-obvious question)

                              1 ★ 0 ↺

                              mascal »
                              @mascal@bench.thebus.top

                              You will be surprised by that little box, probably in a good sense. I've a similar machine with a N150 at $WORK, Intel really learned from Atom's "failure". I won't spoil you much, it's a bit weak for virtualization on desktop systems, which is fine at that price point, but the rest is really good for the money.

                              ...

                              Stefano Marinelli »
                              @stefano@mastodon.bsd.cafe

                              @mascal I'm trying some desktop experience with OpenSuse - it's incredibly fast!

                                ...
                                2 ★ 1 ↺

                                mascal »
                                @mascal@bench.thebus.top

                                As expected :-) I hope Intel hasn't fired the engineers who made that platform. Sadly laptop manufacturers didn't follow much, so ultra cheap 10" netbooks aren't coming back I guess \*shrugs\*

                                Stewart X Addison »
                                @sxa@fosstodon.org

                                @stefano @mascal They are really impressive for the price. Mine is still running the Windows it was supplied with at the moment but I've had to stop myself from buying a second one!

                                  mascal boosted

                                  The Real Grunfink »
                                  @grunfink@comam.es

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

                                  Added Webmention support for links (Markdown-style or direct) written in a post.

                                  Added new command-line options for list maintenance.

                                  Display custom emoji in more places (contributed by dandelions).

                                  Mastodon API: fixed infinite scroll in many clients (thanks to cheeaun for giving me the clue), added /api/v1/accounts/.../lists endpoint (contributed by dandelions).

                                  Email notifications can now be sent via libcurl SMTP instead of spawning the /usr/sbin/sendmail program. To use this new feature, some additional server configuration is needed, see snac(8) (contributed by shtrophic).

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

                                  If you find useful, please consider buying grunfink a coffee or contributing via LiberaPay.


                                    ...
                                    Older...

                                    ⚯ Michel de Cryptadamus ⚯ »
                                    @cryptadamist@universeodon.com

                                    @grunfink if this post originated from grunfink i'm just flagging for you that the "type" property of your media attachments is not set properly

                                      ...

                                      The Real Grunfink »
                                      @grunfink@comam.es

                                      Oh. Links in the post content are now also added to the list of attachments as type "Link", I don't know why you are seeing them as "unknown".

                                      I'll take a look at it, thanks for reporting.

                                        ...

                                        ⚯ Michel de Cryptadamus ⚯ »
                                        @cryptadamist@universeodon.com

                                        @grunfink in mastodon (not necessarily ActivityPub) "link" is not a valid value for a MediaAttachment

                                        docs.joinmastodon.org/entities

                                          ...

                                          The Real Grunfink »
                                          @grunfink@comam.es

                                          These attachments are not propagated through the Mastodon API. Link is a valid ActivityPub attachment type.

                                            wakest ⁂ »
                                            @liaizon@social.wake.st

                                            @grunfink something up with how phanpy displays links now

                                              ...

                                              The Real Grunfink »
                                              @grunfink@comam.es

                                              Links in the post content are now also added to the list of attachments as type "Link". I don't know why they are shown as broken. I'll take a look at it.

                                                opal »
                                                @wowaname@freesoftwareextremist.com

                                                @grunfink why on earth does curl do anything with smtp

                                                  ...

                                                  The Real Grunfink »
                                                  @grunfink@comam.es

                                                  Curl also has support for doing SMTP connections, as well as FTP and others (even IMAP? not sure about this).

                                                    Stefano Marinelli »
                                                    @stefano@mastodon.bsd.cafe

                                                    @grunfink Great! Thank you!

                                                      ...

                                                      The Real Grunfink »
                                                      @grunfink@comam.es

                                                      You're welcome, Stefano!

                                                        r1w1s1 »
                                                        @r1w1s1@snac.bsd.cafe

                                                        Thank you!!! I just did my donation → https://ko-fi.com/grunfink

                                                        ...

                                                        The Real Grunfink »
                                                        @grunfink@comam.es

                                                        Oh, thank you so much!

                                                          Stu :slackware: »
                                                          @lndn@fosstodon.org

                                                          @grunfink Congrats on the new release.

                                                            ...

                                                            The Real Grunfink »
                                                            @grunfink@comam.es

                                                            Thank you very much!

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

                                                              Thank you!

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

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

                                                              GitHub Actions Continuous Integration checks passed!

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

                                                              Thanks to you and dandelions and shtrophic (and anyone else I may have missed) for the continued contributions and improvements!

                                                              (these modest diffs were prepared in part while listening to "Garlic Braid" by LMNO & D-STYLES: https://d-styles.bandcamp.com/track/garlic-braid [the 1st single from the upcoming full length album: Three Mimes & an Elephant)



                                                                ...

                                                                sergiodj »
                                                                @sergiodj@snac.sergiodj.net

                                                                @grunfink@comam.es Congratulations!

                                                                Debian users will have to be patient; I can't upload to unstable/backport because of the release freeze. I'll do that as soon as possible :)

                                                                  ...

                                                                  The Real Grunfink »
                                                                  @grunfink@comam.es

                                                                  Thank you very much anyway, Sergio!

                                                                    8 ★ 6 ↺

                                                                    mascal »
                                                                    @mascal@bench.thebus.top

                                                                    I installed i386 on a old, totally wrecked, Thinkpad iSeries 1200 with only 64MB of RAM. I had some previous experience with OpenBSD, so it was mostly painless. I'm still jealous of BSD's ifconfig(8) and especially the /etc/ifconfig.<interface_name> configuration system ❤️

                                                                    I'm not disappointed by the result, it still could be used as a semi dumb terminal for ssh(1). The memory usage is low because I deactivated all services but cron(8); it may be lower with a tailored kernel, but I don't mind 🙂

                                                                    A screenshot showing the system infos as displayed by fastfetch(1) in a tmux(1) session itself in a uxterm(1) window

                                                                    Alt...A screenshot showing the system infos as displayed by fastfetch(1) in a tmux(1) session itself in a uxterm(1) window

                                                                      ...
                                                                      0 ★ 0 ↺

                                                                      mascal »
                                                                      @mascal@bench.thebus.top

                                                                      My only gripe is their old ksh(1). I've been spoiled by OpenBSD's one ahah

                                                                        KaiXin »
                                                                        @kaixin@snac.bsd.cafe

                                                                        impressive!

                                                                          0 ★ 0 ↺

                                                                          mascal »
                                                                          @mascal@bench.thebus.top

                                                                          So I finally rebuilt a kernel for that machine, reducing the kernel size from 23mb to 2.7mb. I needed that RAM badly in the end.

                                                                          I couldn't test the parallel, pcmcia ports, but all the rest just work, I even took the luxury to try adding urndis(4) but that doesn't play well with USB1. Well it's compensated by using yt-dlp(1) then ffplay2(1) successfully to play youtube audio on a 25 years old clunker.

                                                                          I'm very impressed by build.sh, it's magic and hard to believe for the newcomer! I cross-compiled the NetBSD kernel from Linux/amd64 to NetBSD/i386 with ease thanks to the official docs and some wget(1) invocations to download sets.

                                                                          I'll keep dearly my kernel config file derived from GENERIC_TINY. It has been the hard part ahah

                                                                            Tim Chase »
                                                                            @gumnos@mastodon.bsd.cafe

                                                                            How to change a password on a remote system... [SENSITIVE CONTENT]

                                                                            On a BSD or Linux system?
                                                                            SSH into it and use passwd(1), and done. The same command that has worked for decades.

                                                                            On that Windows system over remote-desktop?
                                                                            Some instructions will tell you to use control+alt+delete to get to the password-change screen. But that gets intercepted locally. So can't use that.
                                                                            Other instructions will tell you to use the Accessibility settings to launch an on-screen keyboard with which you can enter the control-alt-delete to get to the password-change screen. But that doesn't seem to work when I just tested it.
                                                                            As a third option, you can launch PowerShell, type

                                                                            (New-Object -COM Shell.Application).WindowsSecurity()

                                                                            and hit Enter. And that works reliably for me.

                                                                            I'm glad Windows is such a consistent and user-friendly OS. 🙄

                                                                            ...
                                                                            0 ★ 0 ↺

                                                                            mascal »
                                                                            @mascal@bench.thebus.top

                                                                            How to change a password on a remote system... [SENSITIVE CONTENT]On a Windows RDP session, Ctrl-Alt-End should be used instead of Ctrl-Alt-Del. I'm not defending windows though :D

                                                                              0 ★ 0 ↺

                                                                              mascal »
                                                                              @mascal@bench.thebus.top

                                                                              Well, my install is now using unix sockets instead of IP ones. Because I use the backports package, I had to do a bit of systemctl edit sorcery, disabling PrivateTmp, which is a bit meh.

                                                                              Don't ask me why I did it, especially that I don't need that much of throughput.

                                                                                ...

                                                                                Menel :xmpp: »
                                                                                @menel@snikket.de

                                                                                @mascal@bench.thebus.top
                                                                                Fun, I did the same just because I could too.
                                                                                I put the socket in my snac folder, allowing the Webserver to read that parent folder, but then I didn't have to disable private tmp.
                                                                                Hoping I didn't overlook something critical there 🙂.

                                                                                  ...
                                                                                  1 ★ 0 ↺

                                                                                  mascal »
                                                                                  @mascal@bench.thebus.top

                                                                                  No, actually you're the one who is right! As i said on my side it was pretty meh. I managed to bring back privatetmp after a chmod o+x of my snac folder, and put the socket there, which seems more acceptable to me. Thanks a lot for pushing me to reevaluate the situation 🙂

                                                                                    0 ★ 0 ↺

                                                                                    mascal »
                                                                                    @mascal@bench.thebus.top

                                                                                    TIL that makes an initial toots purging 10 minutes after its initial start, then every 24 hours. Meaning that you may keep toots a few more hours than purge_days * 24h. I was chasing inexistent "bugs" again -_-

                                                                                      Stefano Marinelli »
                                                                                      @stefano@mastodon.bsd.cafe

                                                                                      Anubis is interesting - but it's breaking a lot of the RSS feeds I follow. Several sites I regularly read using text browsers are suddenly inaccessible.

                                                                                      I get the urge to block AI scraper bots, but breaking basic web access doesn't feel like the right trade-off.

                                                                                        ...
                                                                                        Older...

                                                                                        systemd-merlind »
                                                                                        @merlin@toot.kif.rocks

                                                                                        @stefano IIRC Anubis only blocks when it detects the string Mozilla in the User Agent, or did that change?

                                                                                          ...

                                                                                          Ricardo Martín »
                                                                                          @ricardo@mastodon.bsd.cafe

                                                                                          @stefano I was pondering whether a simple HTTP authentication tweak to enable subscribing to an RSS feed could be an acceptable compromise 🤔
                                                                                          https://foo:pass@site.tld/rss

                                                                                            Natasha Nox 🇺🇦🇵🇸 »
                                                                                            @Natanox@chaos.social

                                                                                            @stefano Less of an urge, more of a necessity for some services. If the same server your blog is on also hosts a git repository those scrapers kept taking down the whole thing by DDoS.
                                                                                            Best write those authors to ask them adding the RSS feed to the Anubis exemptions.

                                                                                              ...

                                                                                              Stefano Marinelli »
                                                                                              @stefano@mastodon.bsd.cafe

                                                                                              @Natanox I know. We had the same problem at BSD Cafe: those scrapers are hitting the Forgejo instance and it's a DDoS.
                                                                                              I'll ask those authors to fix their configuration to allow a better RSS access.

                                                                                                Ángel »
                                                                                                @angel@triptico.com

                                                                                                Sorry. What is this Anubis thing all you are talking about?

                                                                                                  ...
                                                                                                  1 ★ 0 ↺

                                                                                                  mascal »
                                                                                                  @mascal@bench.thebus.top

                                                                                                  anubis has a -policy-fname flag pointing a policy JSON file where you can allow various URLs to pass through. See the service file and the JSON snippets at https://blueslugs.com/2025/03/27/deploying-anubis-on-nginx/ in practice for a RSS feed.

                                                                                                  Sadly, anubis' doc is not very straightforward in this regard. Probably because Xe wanted to protect a proxied git forge, not a blog

                                                                                                  Actually for a very small, minimalist site, Anubis means extra bandwidth, so pick your poison. As stated in the project README on Github, in most cases you don't need it.

                                                                                                  0 ★ 0 ↺

                                                                                                  mascal »
                                                                                                  @mascal@bench.thebus.top

                                                                                                  I've been bitten by today. Unlike , it requires the -W interactive flag to read data from tail -f as it is line buffered.

                                                                                                    Stéphane Bortzmeyer »
                                                                                                    @bortzmeyer@mastodon.gougere.fr

                                                                                                    La Sécu me parle : « Bonjour ${ ben.identif.NOMPRM_AAD } ${ ben.identif.NOMSTD_AAD },

                                                                                                    Si vous avez perçu des prestations en 2024 (arrêt de travail, congé maternité/paternité, pension d'invalidité), vous devez déclarer ces montants aux impôts. »

                                                                                                      ...
                                                                                                      Older...

                                                                                                      Albert ARIBAUD Ⓜ »
                                                                                                      @aaribaud@piaille.fr

                                                                                                      @bortzmeyer Ah oui, effectivement. C'est moche comme convention de nommage de variables.

                                                                                                        0 ★ 0 ↺

                                                                                                        mascal »
                                                                                                        @mascal@bench.thebus.top

                                                                                                        How to write "official" letters the cursed way, abusing html and browsers' print as PDF feature : https://thebus.top/depot/htmletters.git/

                                                                                                        Still more reliable than my office apps skills though :D

                                                                                                        📌 0 ★ 0 ↺

                                                                                                        mascal »
                                                                                                        @mascal@bench.thebus.top

                                                                                                        The Bench
                                                                                                        I'm the admin and only user of https://bench.thebus.top. Contact me if any issue arise from my instance ! All posts are deleted after 30 days.