Of course I have a backup!

Random blobs of wisdom about software development

Using Slack with Weechat, through ZNC

Wednesday, February 08, 2017

I set this up 2 years ago, but today I had to add another Slack network to add, and it took me an hour to figure out. The connection to ZNC was working fine, but when ZNC was trying to connect to the Slack server, I always got "Invalid user name or password" from slackbot. Slack doesn't explicitly tell you, but the username it gives you is supposed to be your nickname, and your ident, and you have to set this up before making a connection attempt.

(Continued)

Tagged as: | Comments (2)

Piptips

Friday, November 04, 2016

The package manager for python, pip has some shortcomings, and we will look at solving the biggest two: not being able to record only the top level dependencies in a project (the dependencies of the dependencies also get lumped together), and finding a way to record only dev dependencies.

(Continued)

Tagged as: | Comments (0)

Current window manager: i3

Tuesday, October 25, 2016

List of window managers I have tried so far: metacity (gnome), fluxbox, xmonad, awesomewm, and the latest one, is now i3. I think fluxbox stuck for the longest time, around 5 years, while i3 is the second with about 1.5 years.

(Continued)

Tagged as: | Comments (0)

Ergodox Infinity review

Tuesday, August 30, 2016

I got an ergodox infinity keyboard about half a year ago. I was always fascinated with split keyboards since I saw the original Microsoft "Natural ergonomic keyboard", but never actually got around to buy one. Fast forward 5-6 years later, I developed an unhealthy obsession with mechanical keyboards, so it was time to go ahead and finally try a split keyboard.

(Continued)

Tagged as: | Comments (4)

Specifying the terminator in dictConfig

Saturday, July 30, 2016

Python added logging.config.dictConfig() in 3.2 (2011), which is the "new" recommended way of configuring loggers, instead of the old .cfg format. What also came with 3.2 was a terminator attribute on handlers, which allows you to specify the line ending character for log statements, however, terminator is not configurable in the constructor, which makes it seemingly impossible to configure through dictConfig().

(Continued)

Tagged as: | Comments (0)

I love btrfs

Wednesday, July 13, 2016

Still to this day the question "is btrfs stable?" cannot be answered with a firm yes. The btrfs faq phrases it the best, nobody is going to one day put a sticker on it that says "STABLE". I began using btrfs about 3 years ago on my laptop, now I also have it on my desktop, and I also plan on reformatting my server too. I can't really say anything about it's performance, because I haven't done any benchmarks, but it definitely doesn't feel any slower than ext4.

(Continued)

Tagged as: | Comments (0)

Living in Norway

Monday, June 20, 2016

I have moved to Norway about 2 years ago, after living in Hungary all my life. Originally, I was planning on moving to Sweden, but the plans have changed due to some problems and circumstances. Here are some highlights about the country, in no particular order. This is mostly based on Oslo, things might be different in other cities.

(Continued)

Tagged as: | Comments (1)

Gaming on a virtualized Windows with VFIO

Sunday, June 12, 2016

I use Linux both at home, and at work, the only reason I have a Windows partition is gaming. I have used a dual boot linux/windows setup in the past 5ish years, and I always hated how I had to choose at boot time if I want to play some games, or do something else. Now with the addition of the vfio driver into the kernel, it is now possible to achieve a much more comfortable setup.

(Continued)

Tagged as: | Comments (0)

Sass with sourcemaps, webpack, and live reload

Monday, August 17, 2015

Two days ago, I would have told you just how much of a poor, poor soul you are. Because it's simply not possible, but the READMEs make you chase the dragon, leading you to believe that it is possible. But alas, no, none of the methods work. After spending hours, you will find out that you can have either source maps, or live reload. Not both. Pick one. But yeah that was two days ago, read on.

(Continued)

Tagged as: | Comments (11)