sam

@sam@cablespaghetti.dev

Father of two, husband, lover of dogs but owner of many cats. Runner. Technology enthusiast. Metalhead. AuADHDer. Cloudy DevOps type person. Formerly known as @sam@running.cafe.

811 following, 766 followers

📌 24 ★ 12 ↺

[?]sam » 🌐
@sam@cablespaghetti.dev

Time for another blog post, about hosting a fediverse instance on my ancient Raspberry Pi. Obviously I had to share it on the fediverse.

https://cablespaghetti.dev/hosting-a-fediverse-instance-on-an-original-raspberry-pi.html


    ...
    📌 23 ★ 4 ↺
    Jason Davis boosted

    [?]sam » 🌐
    @sam@cablespaghetti.dev

    If you’re reading this you have been successfully migrated as a follower to my stupidly underpowered Raspberry Pi hosted instance. Let’s see how it does with nearly 700 followers. 😆

      ...
      2 ★ 0 ↺

      [?]sam » 🌐
      @sam@cablespaghetti.dev

      @justine@snac.smithies.me.uk that boost did not help my load situation. 😆 I may have some work to do for this to be properly stable.

        ...
        5 ★ 2 ↺
        in reply to »

        [?]sam » 🌐
        @sam@cablespaghetti.dev

        This has been going on for at least a few months. Some Facebook pages for high profile Linux blogs got taken down, I forget which ones now. Despite Facebook being heavy users and even contributors to Linux, the word Linux seems to have made it on to a list of banned "hacker related" words in their internal moderation systems...

        CC: @_elena@mastodon.social

          ...
          2 ★ 0 ↺

          [?]sam » 🌐
          @sam@cablespaghetti.dev

          This isn’t a YouTube channel I watch an awful lot, but this video is some powerful stuff. Some of the things BYD have been getting away with both inside and outside of China are truly awful. I would have considered one of their before, but certainly not now.

          https://youtube.com/watch?v=kBbiCrsk7RM&si=6fb3Sf5skdRXhIqg

            ...
            sam boosted

            [?]The Real Grunfink » 🌐
            @grunfink@comam.es

            I love independent proposals, so next release of will include support for Webmention. It's a protocol built on top of web standards and part of the IndieWeb. It helps web page maintainers and bloggers to know when one of their URLs are mentioned in other platforms by providing a webhook to receive notifications. In snac's case, all links written in a Fediverse post (directly or using the Markdown format) will be tested for Webmention endpoints and notified if they exist.

            I don't know how many web sites out there implement Webmention (I guess very few), but given that it has been very simple to implement, here it is.

            Long live the non-big-tech Internet.


              ...
              7 ★ 0 ↺

              [?]sam » 🌐
              @sam@cablespaghetti.dev

              In an unsurprising development, my 256MB Raspberry Pi hosted server decided to get OOMKilled this morning just before I boarded a steam train in Wales.

              I quickly restarted the service from the platform but then it got killed again and I didn’t notice until this evening. I have now rebooted the server, maybe that will help until I get home from my camping trip with my kids.

              For those who don’t care about my latest ADHD obsession, don’t worry I’m sure I’ll move on to a different one soon, and here’s a steam train…

              A black narrow 2’ gauge steam train with people around it on the Brecon Mountain Railway. The plaque on the front says it was made in Philadelphia in 1930.

              Alt...A black narrow 2’ gauge steam train with people around it on the Brecon Mountain Railway. The plaque on the front says it was made in Philadelphia in 1930.

                0 ★ 0 ↺
                in reply to »

                [?]sam » 🌐
                @sam@cablespaghetti.dev

                @linker3000@mastodon.social @meshtastic@mastodon.social I wondered what this was about. Picked it up going past Bristol last night I think.

                  sam boosted

                  [?]NerdyDayTrips » 🌐
                  @nerdydaytrips@mastodon.social

                  It’s the weekend! 🎉
                  Going somewhere nerdy? 
                  Add it to the map! 🗺️

                  nerdydaytrips.org

                    0 ★ 0 ↺
                    in reply to »

                    [?]sam » 🌐
                    @sam@cablespaghetti.dev

                    @jamesb@duckduckpigeon.co.uk @sam Not a clue. Maybe. 🤷 😆

                      1 ★ 0 ↺
                      in reply to »

                      [?]sam » 🌐
                      @sam@cablespaghetti.dev

                      Thanks. Fixed! And it wasn't initially because I didn't put the shebang at the top of the file, but the .sh seems to not be an issue. It is diligently running at 2am every day.

                        sam boosted

                        [?]Wesley Moore » 🌐
                        @wezm@mastodon.decentralised.social

                        > So consistent with the theme of this series, I found the oldest and slowest 2.5" hard disk (an IDE 40GB Fujitsu from 2004), random USB adapter and a powered USB 2.0 hub to connect up to my terrible server.

                        cablespaghetti.dev/fedi/sam/p/

                        I like this idea of hosting web stuff at home with the most basic stuff you have lying around (see also home.wezm.net/~wmoore/cgi-bin/). We need a name for such things. Someone needs to come up with something better than or @sam

                          ...
                          2 ★ 0 ↺

                          [?]sam » 🌐
                          @sam@cablespaghetti.dev

                          @wezm@mastodon.decentralised.social @sam We need a marketing person for this. I am definitely not a marketing person. In the car world it’s called bangernomics, but this isn’t quite the same. 😝

                            ...
                            📌 24 ★ 12 ↺

                            [?]sam » 🌐
                            @sam@cablespaghetti.dev

                            Time for another blog post, about hosting a fediverse instance on my ancient Raspberry Pi. Obviously I had to share it on the fediverse.

                            https://cablespaghetti.dev/hosting-a-fediverse-instance-on-an-original-raspberry-pi.html


                              ...
                              sam boosted

                              [?]Meredith Whittaker » 🌐
                              @Mer__edith@mastodon.world

                              'Meredith,' some guys ask, 'why won't you shove AI into Signal?'

                              Because we love privacy, and we love you, and this shit is predictable and unacceptable. Use Signal ❤️

                              
Guardian headline saying, "‘It’s terrifying’: WhatsApp AI helper mistakenly shares user’s number
Chatbot tries to change subject after serving up unrelated user’s mobile to man asking for rail firm helpline"

                              Alt... Guardian headline saying, "‘It’s terrifying’: WhatsApp AI helper mistakenly shares user’s number Chatbot tries to change subject after serving up unrelated user’s mobile to man asking for rail firm helpline"

                              ...
                              Older...
                              0 ★ 0 ↺
                              in reply to »

                              [?]sam » 🌐
                              @sam@cablespaghetti.dev

                              Yeah maybe it's visible to an instance admin but not typically the user. They are generally one and the same for snac anyway. It's interesting to see who blocks me anyway...

                                1 ★ 0 ↺

                                [?]sam » 🌐
                                @sam@cablespaghetti.dev

                                Well that's interesting. tells me in the notifications tab when people block me. I don't think there's a way to find out in Mastodon if you've been blocked. I just got blocked by someone who seems to post regularly but has 0 followers and 0 following over on defcon.social. How strange!

                                  ...
                                  0 ★ 0 ↺
                                  in reply to »

                                  [?]sam » 🌐
                                  @sam@cablespaghetti.dev

                                  I think this is another bug with me trying to use snac and an app designed for Mastodon…

                                  You were correct about my vape batteries being 5-600mAh. I shall probably not be getting into NRF board development though, $40 is bonkers pricey for stuff like this!

                                    ...
                                    1 ★ 0 ↺

                                    [?]sam » 🌐
                                    @sam@cablespaghetti.dev

                                    @jamesb@duckduckpigeon.co.uk @sam@cablespaghetti.dev You are correct. I misremembered. I need to get into home assistant. I have all the hardware including a Zigbee USB stick already, but somehow haven’t got around to doing anything with it.

                                      ...
                                      2 ★ 0 ↺

                                      [?]sam » 🌐
                                      @sam@cablespaghetti.dev

                                      Hardware tinkerer fedi. I have a lot of small capacity (5-600mAh) rechargeable lithium batteries pilfered from littered disposable vapes. What should I do with them?

                                      Points will be given for amusing my 6 and 7 year old children and immense gratitude will be given if it stops them waking me up at 5am when it’s light early in the summer.

                                      ...
                                      1 ★ 0 ↺
                                      in reply to »

                                      [?]sam » 🌐
                                      @sam@cablespaghetti.dev

                                      You absolute smeghead hedders...

                                        1 ★ 0 ↺
                                        in reply to »

                                        [?]sam » 🌐
                                        @sam@cablespaghetti.dev

                                        @hedders@mas.to @HighlandLawyer And said it’ll be back for breakfast?

                                          ...
                                          1 ★ 0 ↺

                                          [?]sam » 🌐
                                          @sam@cablespaghetti.dev

                                          @hedders@mas.to Ah crap this isn’t as good a reference when the original post already has the reference. Didn’t see it before replying. 😆 Red Dwarf ftw…

                                            ...
                                            0 ★ 0 ↺
                                            in reply to »

                                            [?]sam » 🌐
                                            @sam@cablespaghetti.dev

                                            @mmeier@social.mei-home.net @sam I think you probably loaded it at the peak of it being overloaded and something only partially transferred and then that got cached for you. That’s my theory anyway. Have you tried a Ctrl-Shift-R which I think forces a refresh?

                                              0 ★ 0 ↺
                                              in reply to »

                                              [?]sam » 🌐
                                              @sam@cablespaghetti.dev

                                              @ncopa@fosstodon.org @sam@fosstodon.org Thanks these are really great tips. I’m new to Alpine but really enjoying playing with it. I’ll try them out and maybe even add them to the blog post. 🙂

                                                5 ★ 0 ↺

                                                [?]sam » 🌐
                                                @sam@cablespaghetti.dev

                                                I think this is why crashed last night when I posted the link to my blog post. The combination of the load from sending out to many ActivityPub servers and all those servers trying to generate a thumbnail card thing by hitting the website was just too much for the little Pi. I'll have to see if I can do anything to optimise caching...

                                                Screenshot of dmesg output showing many "TCP: too many orphaned sockets" from last night.

                                                Alt...Screenshot of dmesg output showing many "TCP: too many orphaned sockets" from last night.

                                                  sam boosted

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

                                                  Occurences of swearing in the Linux kernel source code over time

                                                  vidarholen.net/contents/wordco*

                                                    40 ★ 21 ↺

                                                    [?]sam » 🌐
                                                    @sam@cablespaghetti.dev

                                                    Here's a blog post on setting up Alpine Linux on my old 256MB Raspberry Pi in diskless mode and having it host a static site (and now my blog). I'll write up another on how I got Snac installed to have it host my fediverse presence over the next few days. Enjoy!

                                                    https://cablespaghetti.dev/hosting-a-static-site-on-an-original-raspberry-pi.html


                                                      ...
                                                      Older...
                                                      2 ★ 1 ↺
                                                      Jo Hawkins boosted

                                                      [?]sam » 🌐
                                                      @sam@cablespaghetti.dev

                                                      If anyone is having issues loading my blog post or it renders strangely in your browser, please let me know. I think it might have been a result of all the Mastodon servers trying to download it at the same time and causing partial transfers of the html

                                                      At no point did I say this was an optimal configuration for a website and social media account!

                                                        1 ★ 0 ↺
                                                        in reply to »

                                                        [?]sam » 🌐
                                                        @sam@cablespaghetti.dev

                                                        @mmeier@social.mei-home.net @sam I am also a Firefox user but don’t have the same issue. Very strange. Thanks for flagging.

                                                        There are some HTML validity issues I’m seeing if I put it through validator.w3.org that I will endevour to fix. Maybe it’ll help. 🤷

                                                          ...
                                                          0 ★ 0 ↺
                                                          in reply to »

                                                          [?]sam » 🌐
                                                          @sam@cablespaghetti.dev

                                                          @mmeier@social.mei-home.net @sam Very interesting. Which browser are you using? It works fine on all my devices/browsers.

                                                            ...
                                                            0 ★ 0 ↺
                                                            in reply to »

                                                            [?]sam » 🌐
                                                            @sam@cablespaghetti.dev

                                                            @mmeier@social.mei-home.net @sam I ever so slightly broke the Pi posting the link to the fediverse and every instance hitting it all at once. Is it good on your end now?

                                                              ...
                                                              1 ★ 0 ↺
                                                              in reply to »

                                                              [?]sam » 🌐
                                                              @sam@cablespaghetti.dev

                                                              @atoponce@fosstodon.org Hah! I had no idea people were gaming the system like this. Those are some hefty declines!

                                                                ...
                                                                sam boosted

                                                                [?]K8sContributors » 🌐
                                                                @K8sContributors@hachyderm.io

                                                                2 ★ 0 ↺
                                                                in reply to »

                                                                [?]sam » 🌐
                                                                @sam@cablespaghetti.dev

                                                                @mmeier@social.mei-home.net @sam Thanks! Feel free, after the initial wobble during transfer of my followers it’s doing ok. 🙂 I’ll write up how I pulled it off over the next few evenings.

                                                                  1 ★ 0 ↺
                                                                  in reply to »

                                                                  [?]sam » 🌐
                                                                  @sam@cablespaghetti.dev

                                                                  @justine@snac.smithies.me.uk It’s all fun! So far it is mostly not falling over. It takes a few minutes to get through sending my posts out to all the different servers though.

                                                                    📌 23 ★ 4 ↺
                                                                    Jason Davis boosted

                                                                    [?]sam » 🌐
                                                                    @sam@cablespaghetti.dev

                                                                    If you’re reading this you have been successfully migrated as a follower to my stupidly underpowered Raspberry Pi hosted instance. Let’s see how it does with nearly 700 followers. 😆

                                                                      ...
                                                                      2 ★ 0 ↺

                                                                      [?]sam » 🌐
                                                                      @sam@cablespaghetti.dev

                                                                      @justine@snac.smithies.me.uk that boost did not help my load situation. 😆 I may have some work to do for this to be properly stable.

                                                                        ...
                                                                        0 ★ 0 ↺
                                                                        in reply to »

                                                                        [?]sam » 🌐
                                                                        @sam@cablespaghetti.dev

                                                                        @neil@mastodon.neilzone.co.uk @sam The Raspberry Pi 1 with 256MB RAM on the other hand is having a very hard day. I think I might need to do some optimisation to the proxy config so snac itself doesn’t get hit so hard every time I post something.

                                                                          ...
                                                                          7 ★ 2 ↺

                                                                          [?]sam » 🌐
                                                                          @sam@cablespaghetti.dev

                                                                          Part of running a instance on a 256MB Raspberry Pi is working out how to do "stuff" without installing more packages than you have RAM for.

                                                                          Here's a script to backup to Backblaze B2 with just Jq as an additional dependency (and the included curl, tar, openssl etc.). It works so far...

                                                                          https://gist.github.com/cablespaghetti/01862b9d8252223719cbe2586145f686

                                                                            ...
                                                                            3 ★ 1 ↺
                                                                            Sam boosted

                                                                            [?]sam » 🌐
                                                                            @sam@cablespaghetti.dev

                                                                            I have started writing up all this Raspberry Pi related nonsense into a blog post, but true to form it is far longer than I originally intended. The first post will cover Alpine diskless mode, static site hosting and benchmarking and I'll write a second about snac after that.

                                                                              7 ★ 1 ↺
                                                                              Sam boosted

                                                                              [?]sam » 🌐
                                                                              @sam@cablespaghetti.dev

                                                                              Me and the boys are going camping in Wales next weekend. I looked at the price of bike racks and was almost not going to bother taking their bikes. However £80 on eBay and Facebook (sorry) Marketplace later and we have a workable solution. 😁 Love a bargain…

                                                                              A black SUV with two children’s mountain bikes mounted to a bike rack on the roof

                                                                              Alt...A black SUV with two children’s mountain bikes mounted to a bike rack on the roof

                                                                              1 ★ 0 ↺

                                                                              [?]sam » 🌐
                                                                              @sam@cablespaghetti.dev

                                                                              The AMD stock cooler is such trash. I upgraded my eldest son’s system to a Ryzen 2300X I got super cheap and came with the cooler. Under moderate load it hits 80 degrees! 🥵

                                                                              I’ve got a very cheap heat pipe cooler on the way from AliExpress which I hope will improve things…my other son has one and it works well.

                                                                              Photo of an ICE400SE 3 heat pipe cooler with RGB compatible with many CPU sockets

                                                                              Alt...Photo of an ICE400SE 3 heat pipe cooler with RGB compatible with many CPU sockets

                                                                              1 ★ 0 ↺
                                                                              in reply to »

                                                                              [?]sam » 🌐
                                                                              @sam@cablespaghetti.dev

                                                                              @WiteWulf@cyberplace.social This has never crossed my mind but I can probably never unsee it now

                                                                                0 ★ 0 ↺
                                                                                in reply to »

                                                                                [?]sam » 🌐
                                                                                @sam@cablespaghetti.dev

                                                                                @max@toet.dnzm.nl @sam Sounds luxurious 😆 I did get pancakes in all fairness…

                                                                                  ...
                                                                                  12 ★ 1 ↺
                                                                                  Sam boosted

                                                                                  [?]sam » 🌐
                                                                                  @sam@cablespaghetti.dev

                                                                                  It’s Father’s Day and I was kindly woken at 5am by my children, who seem more excited about it than I am. 🥱

                                                                                  Happy Father’s Day to all the tired parents out there!

                                                                                  ...
                                                                                  0 ★ 0 ↺

                                                                                  [?]sam » 🌐
                                                                                  @sam@cablespaghetti.dev

                                                                                  Starting to play with a bit more seriously on a 256MB Raspberry Pi 1 with a 40GB IDE laptop hard disk attached for reasons...

                                                                                    ...
                                                                                    0 ★ 0 ↺

                                                                                    [?]sam » 🌐
                                                                                    @sam@cablespaghetti.dev

                                                                                    Honestly this is going kind of fine so far...that beast of an (overclocked) ARMv6 CPU is just chilling.

                                                                                      History