Setting Up Nas
I finally picked up my helios NAS from customs and started setting it up. Building it was straightforward using the instructions published on their wiki. I am using the Armbian image provided by the creators, with the intent of using OpenMediaVault to administrate the NAS. Due to OMV 5 not being recommended for production use just yet, I used the Armbian version based on Debian 9 instead of the recently released Debian 10.
Testing New Drives
To set up my network attached storage (NAS), I recently ordered two 4 TB WD Red drives. After some research (here and here) I came up with the protocol below. Note: run all commands as root and replace /dev/disk with the appropriate device name for your setup: read out S.M.A.R.T attributes: smartctl -a /dev/disk > baseline perform a conveyance test to check for damages during transport: smartctl -t conveyance /dev/disk and compare to baseline perform a short test: smartctl -t short /dev/disk and compare to baseline run badblocks on complete disk: badblocks -wsv -b 4096 -t random -o badblocks.
Personal Finances Update
I described my setup to track my expenses using ledger-cli and some homegrown scripts in a previous post. I have been using this setup for a couple of months now. Previously I regretted not being able to automatically import my bank statements via HCBI. While having such a function would be very comfortable, logging into my bank (I only have one) and downloading the statements as CSV files, takes little time.
TIL GNU Stow
I stumbled upon GNU stow and a way to use it as a dotfile manager. I decided to implement this and upload my dotfiles to a private git repository. Incidentally I had already a similar system in place on an old PC that I wrote myself. Using GNU stow will help streamline this and ensure the software will always be available (at least on GNU/Linux platforms).
One Year Owning a Smartphone
I got my first smartphone in December 2017. Before that I was using an old blackberry phone that I got from my dad. I would use it only for phone calls and texts. My main apprehension against a smartphone was the fear of being perpetually reachable via email and other messaging application. What I did realise, was that a smartphone would be especially helpful during travels and in unfamiliar surroundings.
At the end of 2017, I was feeling burnt out. I had been working two jobs, as well as working long days and 6 days each week. So I took a series of new year resolutions that I want to re-evaluate in this post. First, I decided to go back to a 5 day work week. Second I put two alarms on my phone, one for 5:30 pm as a reminder to start wrapping up and another at 6 pm with an awful alarm sound as a hard deadline to stop working.
I am trying to organize my personal finances to get a better overview of where my money is spent and also in light of some future lack of income. I have read about double entry bookkeeping in the past and had previously tried out Gnucash and Homebank. When I revisited both options this time, I found that Gnucash had the very comfortable option to get transactions automatically from my bank account (using HBCI).
How to Deal With Our Digital Lives
I recently formated an old hard drive to make space for another project. I had a quick look around the drive, noticed that most files would probably be on other drives as well (e.g. my pictures) and saved a few other files. Then I erased everything. It was only a couple of days later that I realized, that the data I deleted was almost 8 years old. And had I missed to save something it was now lost forever.
TIL: DNS MX record needs corresponding A record
Wenn migrating one domain to a new server I managed to temporally disable email reception by configuring the DNS record incorrectly. Assumming ip-old is the IP of the server I want to move away from and ip-new is the IP of the new server, I started with the following DNS table: A ip-old A ip-old * MX mail.domain.com I wanted to have the domain redirected to the new server which had the new website, but keep the emails at the old server.
Die erste web app: EisZeit
Ich habe meine erste Webapp entwickelt: EisZeit. Damit kann man die nächsten Eisdielen in seiner Umgebung angezeigt bekommen. Den Code gibt es auf GitHub. Ich bin auf die Idee gekommen, als ich mich näher mit dem OpenStreetMap(OSM) Projekt befasst habe. Mein erster Beitrag zur Datenlage war es, ein Eiscafé in meiner Nähe, das umgezogen ist, auch auf der openstreemap Karte umzuziehen. Doch gleich die erste Schwierigkeit: welchen Tag gibt man einem Eiscafé?