Diary — 2018 May

Håkon Robbestad Gylterud

2018–05–02, Wednesday

Our server, gandalf.openbastille.org, got some more diskspace, and we replaced Gentoo with OpenBSD. All in all the experience of installing and configuring OpenBSD was very pleasant. Most things were just a matter of reading the manual, writing some simple and understandable configuration and then sit back and relax.

Acme-Client, HTTPD, OpenSMTPD

One of the nice things about OpenBSD is that it comes with acme-client for creating and updating SSL certificates from Let’s Encrypt. This makes it painless to serve web-pages over https and e-mail over SMTP+TLS.

RAID

Configuring software RAID for our two new disks was quite easy. The only hiccup was a slight misconfiguration where I first allocated only half of the disks. The size of the RAID volume therefore wrong. When I discovered, I noticed it was not enough to resize the volumes, because the RAID meta-data was written onto the discs and this was not automatically recontructed.

With help from the openbsd-misc list this problem was easily fixed by zeroing the inital data on each disk.

Remaining configuration work

There are still a number of things to setup:

2018–05–07, Monday

Spent considarable time today playing with pf, the packet filter system for OpenBSD.

Conclusion: Trying to completely block illegitimate trafic ends up blocking legitimate trafic.

However, I had success with setting up queues, so that when the server pipe gets filled some kinds of trafic are prioritized.

2018–05–17, Thursday

Today is 17th of May, Constitution Day here i Norway. It is the biggest national celebration each year, and consists of traditional costumes, children’s parades, ice-cream and hot-dogs – quite harmless as far as nationalistic traditions goes, and I hope it continues to become a more inclusive event. It has been at least six years since last time I was in Norway on the seventeenth, and we spent the day with my parents on Stord.

2018–05–18, Friday

Having a few quiet days after being quite busy the last few weeks. The weather is pleasant, and my hayfever is not acting up. Stord has some great spots for hiking, and even some suitable walks for two-year olds. I am also working on some articles for publishing.

TaskWarrior, review

While the name sounds agressive, the program itself is actually quite pleasant and useful. TaskWarrior is a todo-list manager based with a command line interface. The command itself is just task, so even pacifists can use it.

Metadata is where TaskWarrior has its strength. If you take the time to type in a bit of meta-data on each task, there is much you can do with it in TaskWarrior. For instance, based on information such as tags and due dates, it computes the urgency of each task to help the user chosing what to do next.

The online documentation of TaskWarrior is very readable, and they have lots of examples. The man page is a convenient refence, but not really suited for learning how to use it. So you need to go online to get started.

Ontology

TaskWarrior is not minimalistic, but its ontology is not very difficult: There are tasks and they have attributes, such as tags, due dates or priority. The tasks are presented in reports, which show a selection of attributes for a selected set of tasks. For instance, task ready shows tasks which are currently scheduled to be done, sorted by urgency. Another important attribute is depend which allows you to express dendencies

There is also support for user defined attributes (in the documentation often hidden behind the acronym UDA). This means that you can assign more semantics to your tasks, and possibly write your own scripts which interact with TaskWarrior.

Pitfalls

While TaskWarrior is not very difficult to learn, it might be difficult to use effectively. Here are some of the pitfals.

The first pitfall with any todo-list is just forgetting about it. Taskwarrior lives on the command line and will not pop up in your face every time you open the computer. It mighth therefore be easy to forget about it completely.

One way to avoid forgetting about it is to make a cronjob which e-mails you, say every workday, a list of remaining tasks. This makes TaskWarrior into a kind of personal assistant who every morning recites the tasks you have planned for the day.

Aother pitfall is the snowball effect. It is easy to get carried away with planning lots of activities, thinking that just because you can write it all on a list, you will be able to complete it all. Then you notice there are a few things you are not do in time for the deadline you set. Then you postpone it, start the next batch of tasks, again not completing everything. And suddenly there is an avalanche of things on your todo-lists, and you become demotivated by the sight of the list.

TaskWarrior has some features to remidy this. The attributes wait and schedule allows you to keep tasks which you do not have to do right now out of view. Taking schedule as an example: You can schedule a task (e.g. task add Do something. schedule:tuesday) and it will not appear in the task ready report until Tuesday. This helps reduce clutter. Tasks which you think “Oh, I should do that… someday.” you can actually schedule:someday and it will be kept, but not be in your face while you are doing more urgent things.

2018–05–26, Saturday

While the English name for the sixth day of the week, “Saturday”, comes from the planet Saturn, the Norwegian word for this day “Lørdag” comes from Norse “laugardag”, which means “washing day”. Today was indeed washing day at home.

Listening to Jaga Jazzist (just now: “Prognissekongen”), a Norwegian experimental jazz band, whom I started listening to after going to a really intense concert at Café Mono in Oslo back in 2011 (2011–04–04, to be precise – there are even traces of this concert on YouTube).


Expecting a comment section? Feel free to e-mail me your comments, or otherwise contact me to discuss the content of this site. See my contact info. You can also write your opinion on your own website, and link back here! ☺