I set up a NAS and now I'm ill
…matic. ok I’ll stop, sorry
guh! I thought it’d be nice to have my one source of truth for all my data I care about. I can reference it from anywhere, and it’ll back up to The Cloud. Plus, music server.
It was more of a pain than I expected!
buying the right stuff
I searched for a NAS and bought one. Well, I thought I did. You’ll have to forgive me for thinking this first result was a NAS, given the search terms and all the rest of the results:
I guess I should have noticed it was very cheap. Alas: it was a hard drive enclosure. Well. Returned it and bought a QNAP TS-216G-US.
Luckily I did the HD just fine: a 1TB Western Digital NAS SSD123.
Got a UPS with AVR while I’m at it, since our @&*$%#! grid means we lose power more often these days.
dive into bizarro software world
I didn’t really think about it, but buying a QNAP NAS is really buying a QNAP El Cheapo Computer running QNAP OS, which means you get more-or-less whatever software they have made available for QNAP OS.
Setting it up is more of a thing than I’d guessed! you connect through guessing its address on your LAN, then you can set up “MyQNAPCloud”? You have to choose all sorts of setup things like do you want a “thin volume”, “thick volume”, or “static volume” on your hard drive? Gah
Then you’re in its knockoff-Windows GUI, f’ing everything has a splash screen Wizard, and you go through their App Center stepping over 19 different Backup/Sync apps, 11 “Entertainment” apps such as “Kazoo Server”, a lil category called “Surveillance”, …
Luckily “HBS Hybrid Backup Sync”, the preinstalled backup app, let me set up the following syncs easily:
- from Google Drive to NAS (real-time)
- from Dropbox to NAS (real-time)
- from NAS to Glacier (nightly)
access my files
On my local network at home, I can go to 192.168.1.76
and find the NAS. I don’t know why it’s .76
. I don’t even remember how I found it the first time when I plugged everything in and then went “now what?”
I can get there via myqnapcloud.com. Then that gives me a “smart URL” that’s https://qlink.to/(my nas name)
. Most importantly, I can access it like a HD, I think, on my local network or once I set up a VPN. More on that later.
(I’m sure there’s some way I can ssh? I hope? geez I didn’t even get this far yet)
jellyfin again
Jellyfin lets you stream your music from anywhere. Plex does too, but they’re getting worse over time and charging Yet Another Subscription, while Jellyfin remains free. Alas, free also sometimes means pain in the ass.
(I originally wanted to buy from Terramaster, the #3 NAS company, because they don’t lock you in to their HDs like Synology, and they advertise Jellyfin built-in. but I figured QNAP, the #2 NAS company, would be just as good, and how hard can installing software be? alas)
Anyway someone made an app you can install for QNAP Janky OS, and it seems to work, hooray
The last bit I can’t figure out is how to get it to serve jellyfin over https or install tailscale. The jellyfin-qnap maker wrote a series of incantations that did not work, though it’s probably my fault, because I did the usual “forget about certificates for 6-12 months, let all knowledge leave my brain, then try to learn about them again.”
ach, vpn
I can skip all this https nonsense if I use a VPN!
- Attempt 1: there is a Tailscale QNAP app! But doesn’t work for my NAS version! Gah.
- Attempt 2: there’s the “QVPN” app which lets you set up an OpenVPN connection. Or a L2TP/IPSec connection. Claude guided me through all these settings, all the ports to open, all the troubleshooting, it didn’t f’ing work.
- Attempt 3: install Tailscale from container. The only setting I had to change (thanks Claude) was to run it in “Network mode: Host.” It worked! As soon as I logged in, the logs gave me a little URL to go to to log in to my tailscale account. Then it’s a machine on tailscale just like any other. Hell yeah. So I can access it when I’m not at home, use Jellyfin without fear of exposing a public http port, and even mount it as a regular hard drive.
Why SSD? I guess I could have bought a 3.5" HDD: cheaper and bigger. But I have small data requirements (200Gb-ish), I still have it in my mind that “SSD is better”, and no spinning disks means slightly quieter I guess. ↩︎
why only 1TB? much like house storage, the amount of junk you have scales with your available space ↩︎
why not 2 drives set up as RAID? I guess I like the idea of 2 backups: one local exact copy for when the HD dies, and one on AWS in case our house burns down. but this feels maybe a bit paranoid: the odds that Amazon dies the same time my HD does seem very low. IF I do test my backup and recovery. Which I will. Of course. ↩︎
The Part That Has Cancer
When you suffer, do you linger on it, or shrug and move on?
Linger:
- you have to process your feelings. if you think you’re not lingering, maybe you’re going to feel the same thing, just spread out over time
- take steps to make sure you don’t suffer next time
- The Body Keeps The Score
Shrug:
- sometimes there’s no feelings to process!
- you start feeling sorry for yourself
- are you inventing trauma when there could just not be any there?
- that study where people who play Tetris immediately after a traumatic event have less lasting trauma
You should linger | You should shrug | |
---|---|---|
You linger | Feelings processed | Invented trauma |
You shrug | Trauma lasts forever | No problem 🤙 |
how do you know
argh how do you know
obviously this is a feeling question, not a thinking question. it’s only correlated with the objective thing that happened; two people can both be in an earthquake but only one has lasting trauma. depression goes down in wartime. clearly not only “what happened” but also “how does it feel” and “what does it mean to you” all matter. is the answer just “you have to learn this over time”? oof
why is this important
typing happily at my computer on a pleasant day, I can’t really tell you. but when I’m suffering, I absolutely can. it means the world to have someone (perhaps myself) helping me through it. sometimes that’s consoling me, commiserating, talking, even (maybe primarily) just being there.
there are a million slings and arrows every day. you’ve got to learn to shrug. maybe the “everyone’s in therapy, everyone’s on SSRIs, everyone’s still depressed” modern world is partially a result of inability to shrug.
but also: 1/3 of us are going to get cancer. you love your spouse? it’s more than half, 5/9 that one of you will. you have two kids you love: 80% chance one of you will.
maybe it’s not that bad; maybe that includes the “easily cut it off and you’re done” minor skin cancers, I don’t know. but maybe it’s worse: lump in every other disease that’s “as bad as cancer.” good chance you undergo significant suffering in your life. if nothing else, when you die: maybe a lucky few of us get the “hit by a meteor” death where one second you’re there and the next you’re gone, but most of us will have a hard time of it. and when you’re there, you hope your loved ones, and especially you, have learned to linger.
Code for People is Organization
“Code for the machine” vs “code for people”
Some code is for the machine. That is, maybe you write code to compute a big numerical optimization, or to predict whether AAPL will go up or down, or to multiply a zillion matrices and tell you whether this photo contains a bird.
Some code is for people. You want to let people share their photos online. You have a chat client that has complicated rules about whether to notify you. You want to give people access to your internal apps, but only people in department X get to see app Y, and so on.
(This is, of course, a dubious binary, but at least I’m not saying “one is good and one is bad.")
The primary skill in “code for people” is organization
Your application exists to do “business logic”; it has 400 layers of Frameworks around it to enable it to (run on the web/run on your phone/store data/control a robot arm/etc), but the reason for your app’s existence is that business logic. Most of the difficulty in “software engineering” is to make the right business logic available at the right time.
(This is why software is so goofy; if you build houses or something, at least you’re interfacing with wood and concrete and nails. If you build software, it’s as close to “just complexity” as you can get. Besides maybe law or accounting.)
Anyway, it’s kind of weird that people study Computer Science and then go on to write “code for people.” You need a dash of algorithms and data structures, big-O notation, databases, graph theory, networks, sure. But there should be a series of classes in the Computer Science curriculum with problems like:
- You want to store these 500 spices and pickles and things in your pantry; how will you build shelves?
- You’ve inherited an old library, a fire destroyed the card catalog, and you can’t use Dewey Decimal, what do you do?
- You’re coordinating an amateur theater load-in; you have 50 people with different skills, you don’t know what their skills are and neither do they, and the stage has to get built by midnight; how do you do it?
- DJ and Cooks' Knowledge Data Structures
- So What About Twitter
- What a Weird Underworld
- Pokemonization
- 2 Focus 2 Positive
- Micro-frustration
- Some Claims About Our Present World
- Spending
- Parenting Snapshot
- Noticing What's Good
- Bragging Over Fairness
2025 2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010