Threads for bread

  1. 1

    My employer paid me to take an AWS Certification class, letting me take however much time I needed to study. Practical experience filled in the gaps.

    1. 2

      This looks very cool. I’m curious to find out how package management will work, as well as its init system.

      1. 1

        now these are the big questions :)

      1. 2

        My 3 is currently sitting on my desk, I wanted to use it to have an easy always-on Linux box at hand, but working on it interactively is just too slow (might be the sd card or the usb stick, whatever).

        We have a ton at work where they are the typical prototype thing. Need something small with an ethernet port where you can write code/reuse code without doing embedded development? -> RasPi

        I might be repurposing it to run pihole soon.

        1. 3

          This has been my experience with them as well. I/O performance, even with the 3B+, has been very frustrating. I’m hoping the 4 solves a lot of that, but I’m holding off on buying one until a) the case situation improves; b) they fix the USB-C power connection to be standard-compliant; c) they fix the HDMI-out so that high resolutions don’t kill the wifi; and d) the NixOS people get a chance to catch up to it.

          1. 5

            I’ve been using Raspberry Pis for various things basically since they’ve been out and the one thing I have always done to make performance acceptable is to always use a USB drive for any kind of I/O. I only ever use the SD card for booting the OS. In the case of my backup server (which ran on a Pi 1 for a few years), even the OS root partition is on an external disk. SD cards were never designed to be general-purpose computing storage. They were designed for bulk reads and writes (for digital cameras, picture frames, and music players) and suck for everything else.

            In the case of the Pi 4, a) you can buy a good quality FLIRC aluminum case that effectively dissipates heat and it doesn’t cost much more than the official one b) yeah they dropped the ball on this one but cheap USB-C power supplies with enough power for the Pi 4 are not exactly rare c) this is only a problem at one specific resolution, it’s not clear there is a fix since cheap HDMI cables with poor shielding seem to be a major contributing factor.

            1. 1

              Thanks for the advice. Even with a Pi3B+ talking to a USB HDD, I was frustrated with performance. What did you use? Is flash-style mass storage much better?

              Re: HDMI cables: I thought it got bad at or above a certain resolution, but I might be wrong there.

              1. 2

                The 4 has USB3 ports which are substantially faster than the interface you get in the 3B+. Combine that with a USB solid-state drive and IO performance becomes acceptable.

        1. 1

          I’m running Nextcloud, Plex, mpd, Transmission, Samba and some Apache pages off a Raspberry Pi 4. I have some shell scripts I run in cron to transfer Transmission downloads to my Plex and Nextcloud directories.

          1. 2

            Transmission as a server? Hmm, never thought about that! So, you have some config for that client that is set up and you can just remote into it (using some auth) and then you wouldn’t have to do that config for each client. Is this correct/close? If so, neat!

            1. 1

              Yeah, the transmission-daemon package can be configured to expose a browser-based interface to remotely add and manage your torrents, behind a simple HTTP auth dialog. When I’m sitting on my couch with friends and someone wants to watch something, I’ll search a torrent tracker, grab a magnet link, log into the Transmission interface and queue up the download from my phone. When the download completes, a script pushes the files to the directory Plex looks at, so the whole process is very quick. I’m working on a way to make this system redistributable because I think it’s a great use case for low-power toy computers like the Raspberry Pi.

              1. 1

                Think its always a client/server model, just depends on what client you use, gui or browser.

                From their website - web client

            1. 2

              KVM/VFIO work wonders these days. I’ve had a lot of success installing desktop Linux on bare metal and passing through PCIe devices like graphics cards and NVMe drives as well as physical CPU cores down to a Windows VM with little to no overhead. Linux handles everyday stuff like programming and browsing the Web. I only boot Windows for Windows-specific tasks that don’t run in Wine, like certain games. I was using a Mac for a while but got sick of each release’s gradual decline in quality. I don’t think I can ever go back to Mac OS or Windows on bare metal.

              1. 1

                I read O’Reilly’s Understanding The Linux Kernel (2nd ed) and it was really informative, especially read alongside the Tanenbaum Operating Systems textbook. I mostly came to understand the userland through using it over the course of 10ish years. Distributions wikis help a lot, I’m fond of Arch’s and Gentoo’s.

                1. 4

                  I tried to use the 3rd edition of that book when trying the Eudyptula challenge (when that was still a thing..), and found that the kernel driver interface for, e.g., USB had changed so much from 2.6 (covered in the book) and what I was using at the time (IIRC, one of the later 3.x kernels) that the book was pretty much useless for using as a reference to build a driver for that subsystem. It’s probably so far outdated now that it could only be useful as a high level overview of what the kernel does (where the outdated piece would be the implementation covered in the book..).

                  Are they planning to release a new edition?

                1. 2

                  I run a Plex server off a RPi 4 alongside transmission-daemon and its web frontend and a samba server, everything is stored on a 5TB USB3 external drive and it’s hooked up to my LAN over Ethernet; it’s been quite serviceable. 1080p content looks great when streamed to my PS4. Not sure about streaming to multiple sources or higher resolutions. Remember to get a fan for the Pi 4, it will throttle without one.

                  1. 16

                    Microsoft hearts Linux? laughs in OOXML

                    1. 14

                      Author’s note: Kelly Ellis reported to us that she’s being targeted by 8chan, a community of internet users who tend to “doxx” or attack people online. We have removed the links to her Twitter account and her Twitter embeds for Ellis' safety.

                      Yeah, great. It’s not like her real name, literal quotes from her twitter and a picture from her Google+ make it trivial to track her accounts down. I’m sorry, but if they intend to protect her, they should redact her name, rephrase her quotes, and remove her profile picture.

                      Now they’ve just pointed out where to go if you want to join ranks with people upset with her statements.

                      1. 8

                        She made her Twitter account protected now, but it looks like she’s justifiably quite upset over the amount of rudeness and harassment she’s been receiving - and not just from 8chan; journalists and other 3rd parties have been blowing up her phone with misguided judgments and intrusive questions, too. It’s depressing how typical this situation is for high-profile harassment cases.

                        1. 3

                          It’s not even just rudeness, they’re trying to dox her.

                      1. 1

                        Useful article, I’ve also moved away from the ThinkPad + GNU/Linux combo in favor of a Macbook running OSX but I find myself missing certain things sometimes. I’ve never run a BSD on real hardware, but looking at eBay’s listings suggests that a setup like this might be ideal for me. Bookmarked.