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

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

Search results for tag #linux

[?]nixCraft 🐧 »
@nixCraft@mastodon.social

Here is a pro tip: Process substitution allows you to treat the output of a / command as if it were a file, or write output as if you were writing to a file, but have it piped into another command's input. It's handled by the shell like Bash or Zsh. Syntax:
<(command)
command1 <(command2)

Where you would normally put an input filename for a command, you can instead put <(some_other_command2)

    [?]OSNews » 🤖
    @osnews@mstdn.social

    PATH isn’t real on Linux

    I have no idea how much relevance this short but informative rundown of how PATH works in Linux has in the real world, but I found it incredibly interesting and enlightening.

    The basic gist - and I might be wrong, there's code involved and I'm not very smart - is that Linux itself needs absolute paths to binaries, while shells and programming languages do not. In other words, the Linu

    osnews.com/story/142244/path-i

      [?]Felix Palmen :freebsd: :c64: »
      @zirias@mastodon.bsd.cafe

      I'm trying to add "genric" handling to . Ultimate goal is to provide a way for to handle , although signal handling must be done in poser's main event loop (signals are only ever unblocked while waiting for file descriptor events).

      Okay, I could just add explicit handling for SIGHUP. But a generic solution would be nicer. Just for example, a consumer might be interested in which doesn't even exist on all platforms ... 🤔

      Now, specs basically just say signal constants are "integer values". Not too helpful here. Is it safe to assume an upper bound for signal numbers on "real world" OS implementations, e.g. 64 like on ? Should I check and, if not defined, just define it to 64? 🙈

        [?]nixCraft 🐧 »
        @nixCraft@mastodon.social

        I use Zip Bombs to Protect my and Server from AI and other stupid bots idiallo.com/blog/zipbomb-prote

          [?]Mark Stosberg »
          @markstos@urbanists.social

          @annaleen I use Zathura for viewing PDFs, which is available at least on Linux on Mac.

          Besides not bundling AI, there's no toolbar: All you see is the PDF.

          There are some intuitive key commands for basic functions like page up, page down. Because it's minimal, launches very quickly and makes the most of smaller screens, like laptops.

          pwmt.org/projects/zathura

          If you are looking to channel your anger with Adobe into action, there you go.

            [?]unixbhaskar »
            @unixbhaskar@mastodon.social

            Well, wake up from slumber, grab a cup of hot coffee ☕ and Beethoven 🎼🎼

            ....and some mundane activity ...

              🗳

              [?]nixCraft 🐧 »
              @nixCraft@mastodon.social

              Poll: To delete a file, you would use which command on or like systems?

              rm command:922
              unlink command:11
                Cassandrich boosted

                [?]Lorenzo Stoakes »
                @ljs@mastodonapp.uk

                I wrote a book on Linux Memory Management, published by @nostarch - it's a comprehensive 1300 page exploration of Linux 6.0's memory management code, depth-first, diving into the code and REALLY explaining how things work.

                The idea is to avoid hand waving as much as possible and literally explore what the kernel _actually_ does.

                It's full of diagrams and careful explanations of logic including a ton of stuff you just can't find anywhere else.

                It's currently available in its entirety in draft form via early access when you pre-order.

                It's available at nostarch.com/linux-memory-mana

                :)

                  [?]stu »
                  @lndn@snac.bsd.cafe

                  Hi all you all know of me.

                  My name is Stu for anyone who hasn't heard of me.

                  I like technology and music and golf ⛳.

                  I love open source platforms and decentralized platforms.


                    [?]nixCraft 🐧 »
                    @nixCraft@mastodon.social

                    would you give LLM (AI) to run commands on your macOS, Linux, FreeBSD or Unix machine? Fuck no. I survived this long without this crap and I will be fine. Do not want. Go away.

                    AI-Powered Terminal Assistant Screenshot that can run Linux and Unix commands for you.

                    Alt...AI-Powered Terminal Assistant Screenshot that can run Linux and Unix commands for you.

                      #netbsd boosted

                      [?]Felix Palmen :freebsd: :c64: »
                      @zirias@mastodon.bsd.cafe

                      Revisiting / in C, trying to "add some " 🙈

                      Recap: Consider a classic -style service in C with a attached to run the individual request handlers. When such a handler needs to do some I/O, it'll have to wait for its completion, and doing so is kind of straight forward by just blocking the worker thread executing the job until whatever I/O was needed completes.

                      Now, blocking a thread is never a great thing to do and I recently tooted about an interesting alternative I found: Make use of the (unfortunately deprecated) POSIX user context switching to enable releasing the worker thread while waiting. In a nutshell, you create a context with that has its own private , and then you can use to get off the thread, and later again to get back on the thread. A minor issue is: It must be the *same* thread ... so you might have to wait until it completes something else before you can resume your job. But then, that's probably okayish, you can make sure in your job scheduling to only use worker threads with awaited tasks attached when no other thread is available.

                      In my first implementation, I just used to create a 64kiB private stack for each thread job. That's perfectly fine if you can guarantee your job will never consume more stack space, AND it won't have any vulnerabilities allowing some attacker to mess with the stack. But in practice, especially for a library offering this async/await implementation, it's nothing but a wild generator.

                      So, I now improved on that:

                      * Allocate a much larger stack of now 2MiB. That alone makes issues at least less likely. And on a sane modern OS, we can still assume pages will only be mapped "on demand".
                      * Only allocate the stack directly before running the thread job, and delegate allocation to some internal "stack manager" that keeps track of all allocated stacks and reuses them, only freeing them on exit. This should avoid most of the allocation overhead.
                      * If MAP_ANON / MAP_ANONYMOUS is available, use for allocating the stack. That at least gives a chance to stay away from other allocations ....
                      * But finally, if MAP_STACK is available, use this flag! From my research, , and will for example make sure there's at least one "guard page" below a stack mapped with this flag, so a stack overflow consistently takes the SIGSEGV emergency exit 😆. knows this flag as well, but doesn't seem to implement such protection at this time ... 🤔

                        #netbsd boosted

                        [?]vermaden »
                        @vermaden@mastodon.social

                        Latest 𝗩𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗡𝗲𝘄𝘀 - 𝟮𝟬𝟮𝟱/𝟬𝟰/𝟮𝟴 (Valuable News - 2025/04/28) available.

                        vermaden.wordpress.com/2025/04

                        Past releases: vermaden.wordpress.com/news/

                          [?]vermaden »
                          @vermaden@mastodon.bsd.cafe

                          Latest 𝗩𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗡𝗲𝘄𝘀 - 𝟮𝟬𝟮𝟱/𝟬𝟰/𝟮𝟴 (Valuable News - 2025/04/28) available.

                          vermaden.wordpress.com/2025/04

                          Past releases: vermaden.wordpress.com/news/

                            [?]Nils »
                            @Nils@mastodon.xyz

                            Interlude dans la projet de migration de VM sous , on fait de l'entretien hardware, et c'est tout de suite sur twitch.tv/ahp_nils !

                              [?]nixCraft 🐧 »
                              @nixCraft@mastodon.social

                              I would love to see more Linux desktop users, but people (mostly kids or gamers) who watch PewDiePie will not dump Windows because they want those AAA game titles and apps from Adobe and others unavailable on . Apps are the problem. I’ve been using Linux since the early days, and it is ready for many use cases, especially when privacy is your major concern. Otherwise, you should have the willpower to accept and learn alternative apps.

                                [?]Ramin Honary »
                                @ramin_hal9001@fe.disroot.org

                                Linux communities beware of #PewDiePie fans

                                Regardless of PewDiePie’s personal #politics (which clearly, at the very least are problematic), it is fairly well known by anyone who has been following him for any number of years that the vast majority of his fan base are enthusiastic fascists.

                                Now #PewDiePie , who’s content centers around PC gaming and Windows, has decided to switch to #Linux and published a video encouraging his followers to do the same. This means a very large number of his #fascist fan base is going to be switching to Linux.

                                Now many Linux communities are going to be forced to more explicitly choose their politics. Like the parable of the Nazi bar, if the community remains politically neutral, it will become fascist in short order.

                                A few things to be wary of:

                                • People asking you not to be “too political” or to “focus on the technology, not the politics” is a classic and highly effective fascist ruse to get moderators to lighten up on fascist elements posting in their community.
                                • People complaining about free speech rights. The #Internet and the #Fediverse is already a domain where people can speak freely about their politics by running their own server and building their own community with few to no government constraints. You don’t need to compromise on whether fascists have the right to free speech in your community.
                                • Arguments over your code of conduct (CC) and “safe spaces.” Keep them up-to-date. Research other people’s CCs, learn about the history of why these CCs came to be, learn about what the function of each clause of the code is included and phrased the way it is. These were usually designed to make explicit the fact that a community wants to be a safe space where underprivileged people can feel comfortable expressing themselves, and it is very easy to make people afraid to express themselves. Fascists understand these CCs and the concept of “safe spaces” were explicitly designed to exclude them, and often attack these ideas.

                                  dch :flantifa: :flan_hacker: boosted

                                  [?]Jorge Castro »
                                  @jorge@hachyderm.io

                                  Investing in automation for is an excellent idea!

                                  Love to see this!

                                  enblog.eischmann.cz/2025/04/25

                                    [?]nixCraft 🐧 »
                                    @nixCraft@mastodon.social

                                    Client: The server is down! What happened?

                                    Me: *types furiously* "Just a minor kernel panic. Don't worry, I'm fscking it back to life. Hold on..

                                    Client: You're...fisking it?

                                      [?]nixCraft 🐧 »
                                      @nixCraft@mastodon.social

                                      If you ever accidentally end up inside vi or vim or neovim by reading some tutorials online, you can quit it by pressing Escape, colon ( : ), q (q), bang (!) and pressing return. It is simple as that. Modern version of VIM even tells you that on welcome screen. No need to panic.

                                      vim welcome screenshot showing version number and info about how to exit and get help about vim.

                                      Alt...vim welcome screenshot showing version number and info about how to exit and get help about vim.

                                        [?]nixCraft 🐧 »
                                        @nixCraft@mastodon.social

                                        Parallel ./configure for or : I paid good money for my 24 CPU cores, but ./configure can only manage to use 69% of one of them. As a result, this random project takes about 13.5× longer to configure the build than it does to actually do the build.
                                        tavianator.com/2025/configure.

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

                                          @BoxyBSD was always for BSD based systems only. I focussed to push the whole BSD community and to encourage people to try BSD based systems (such like . , , etc.) but I'm not sure if it might provide more value to the whole community by also supporting systems (such like , , , and more).

                                          I'm not sure if the project still provides a value for the community right, now.

                                          What do you think?

                                            [?]Jan Vlug »
                                            @janvlug@mastodon.social

                                            I have many old magazines. If you want them, and are willing to pick them up in let me know.

                                            I put them also on Marktplaats:

                                            * marktplaats.nl/seller/view/m22
                                            * marktplaats.nl/seller/view/m22
                                            * marktplaats.nl/seller/view/m22

                                            Free for users :-)

                                            cc: @nllgg

                                              [?]OSNews » 🤖
                                              @osnews@mstdn.social

                                              Torvalds states the obvious: file systems should be case-sensitive

                                              Apparently, the Bcachefs people are having problems with case-folding, and Linus Torvalds himself is not happy about it. Torvalds holds the only right opinion in this matter, which is that filesystems should obviously be case-sensitive.

                                              Case-insensitive names are horribly wrong, and you shouldn't have d

                                              osnews.com/story/142205/torval

                                                [?]nixCraft 🐧 »
                                                @nixCraft@mastodon.social

                                                The Linux mascot is a penguin named Tux because Linus Torvalds, the creator of the kernel, was bitten by a penguin. Seriously, he claims he didn't actually get sick, but it solidified his affection for them. This is the best origin story for a tech mascot ever. Happy World Penguin Day.

                                                  [?]nixCraft 🐧 »
                                                  @nixCraft@mastodon.social

                                                  Me: After using Windows 11 for two hours and returning to the Linux desktop:

                                                  Katy Perry is on hands and knees in the sand, kissing the Earth after returning from the space ride.

                                                  Alt...Katy Perry is on hands and knees in the sand, kissing the Earth after returning from the space ride.

                                                    [?]MoZes »
                                                    @mozes@fosstodon.org

                                                    #netbsd boosted

                                                    [?]Stefano Marinelli »
                                                    @stefano@mastodon.bsd.cafe

                                                    🌟 Introducing BSD.cafe 🌟

                                                    Excited to present the first building block of the BSD Cafe project! When I registered this domain months ago, I envisioned a themed bar where we can casually chat about *BSD systems, Linux, and Open-Source technology among friends, acquaintances, and patrons. But like any bar, discussions can cover a wide range of topics while respecting everyone.

                                                    BSD.cafe will be a hub for various tools and services, powered by *BSD.

                                                    The first brick is a new Mastodon instance, a gateway to the Fediverse. Registration is open, and the server will be moderated under clear guidelines promoting good behavior and zero tolerance for hate towards anyone. Inclusivity, respect, and constructive dialogue are the key values of this new instance.

                                                    The main server is currently hosted in Finland on a small VM, based on . Services are divided into VNET jails, connected in a LAN via a local bridge. A VPN system is also present and have been able to move individual jails to different, more powerful, machines.

                                                    Multimedia data and cache are hosted on another physical server (FreeBSD, within a jail), with Cloudflare in front. The aim is to cache and geodistribute data, reducing network traffic on the main VPS.

                                                    Reverse proxy (frontend), mail server, media server, and the instance itself are reachable via .

                                                    The instance started empty. No unnecessary content was pre-loaded; I want it to grow organically based on users' interests and following. There won't be any preemptive blocks at this stage. Users are encouraged to promptly report anything they find worth flagging.

                                                    Join us at mastodon.bsd.cafe to build a constructive and inclusive community—a safe and relaxing space for everyone.

                                                    Our wiki, located at wiki.bsd.cafe, features essential links and articles related to the BSD world. It provides an overview of the tools, services, rules, uptime, and more information about the BSD Cafe Services.

                                                    A Matrix server, a Miniflux RSS Reader, the Wiki itself, and the BlendIT Lemmy instance are all part of the BSD Cafe services, with more to come.

                                                      3 ★ 0 ↺

                                                      [?]Amitai Schleier »
                                                      @schmonz@schmonz.com

                                                      Kiddo’s 2017 MacBook Air struggling under the load.

                                                      Strong suspicion I could swap out for , do better with and most everything else, and not do much worse at macOS-specific stuff like and Messages under (https://github.com/kholia/OSX-KVM).

                                                      Anyone done this, or something similar?

                                                        [?]Reinald Kirchner »
                                                        @Reinald@nrw.social

                                                        nun sind es schon zwei Amazon-Fire-TV Geräte, die hier ausgemustert rumliegen.

                                                        eines ca. 11 Jahre alt, ein Fire-TV Kasterl der zweiten Generation (glaube ich, noch mit LAN-Buchse), und ein ca. 9 oder 8 Jahre alter TV-Stick.

                                                        Ob das noch lohnt, die zu Jailbreaken und ein natives oder anderes drauf zu packen?

                                                          [?]sjvn »
                                                          @sjvn@mastodon.social

                                                          EU OS: A European Proposal for a Public Sector Linux Desktop: thenewstack.io/eu-os-a-europea via @TheNewStack & @sjvn

                                                          There's nothing official about it yet, but this Fedora /KDE immutable distro plan is starting to gain traction.

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

                                                            Linus Torvalds has coded git two decades ago.

                                                            Learn about why how who and where here

                                                            youtu.be/sCr_gb8rdEI?si=s8tDVh

                                                            🖋️

                                                            The screencap showcases a VLC video player interface on an Android with a video titled "Two decades of Git: A conversation with creator Linus..." The video is currently at 4:40 out of a total duration of 41:49. The video features a man Linus Torvalds sitting in a chair, wearing a gray long-sleeve shirt with a small logo on the left side, and dark pants. He is seated in front of a large window with a view of greenery outside. There are two glasses of water on a small table to his left. The background includes a wooden wall and a large window, suggesting an indoor setting with natural light. The video player interface includes standard controls such as play, pause, and volume adjustment, along with a progress bar indicating the current playback position.

 Ovis2-8B

🌱 Energy used: 0.187 Wh

                                                            Alt...The screencap showcases a VLC video player interface on an Android with a video titled "Two decades of Git: A conversation with creator Linus..." The video is currently at 4:40 out of a total duration of 41:49. The video features a man Linus Torvalds sitting in a chair, wearing a gray long-sleeve shirt with a small logo on the left side, and dark pants. He is seated in front of a large window with a view of greenery outside. There are two glasses of water on a small table to his left. The background includes a wooden wall and a large window, suggesting an indoor setting with natural light. The video player interface includes standard controls such as play, pause, and volume adjustment, along with a progress bar indicating the current playback position. Ovis2-8B 🌱 Energy used: 0.187 Wh

                                                              Back to top - More...