Category: Mikael Lofjärd

I got tired of the old dark green design. It was too murky and spring is in the air, so I redesigned the site to be lighter and more "spring-y". ` `Inconsolata` is back as the source code font and `Open Sans` makes up the majority of the text on the blog now with the exception of headers which are set in `Racing Sans One`. All-in-all, I'm happier. And hopefully this can trigger my implementation of multiple pictures per post since I need that to report on my robot project progress. Summer is coming and summer means sun, and sun means solar power which in turn means that I need to speed things up if I want this project done before the (OMG spoiler alert!) new baby in the end of July....
Wow, that was kind of exhausting. I've completed my rewrite of all my blog posts into Markdown. Somewhere in the middle I found why my inline HTML didn't work and that made my old posts look almost acceptable, but the syntax highlighted source code didn't work anymore since I had moved the highlighting code into the `marked` configuration. So on I went into the abyss, continuing to rewrite (more like edit) all my older posts. While I was at it I re-indented all source code examples into using 2-space indentation. Man, some posts do have a lot of source code in them. =) I made good use of SSH for connecting to my server from my parents-in-laws' cabin (where I've spent the last week). `ssh -L 8080:localhost:5984 lofjard.se` made sure I could connect to the CouchDB instance on lofjard.se....
Desperate, as always, for lowering my blogging threshold I implemented Markdown syntax for the blog. As I did this through use of the marked plugin I lost support for inline HTML (might be a setting though). For a few hours this means that my old blog posts will look ugly until I've gone through the backlog and converted it to Markdown....
In a totally unoriginal move I'm now starting to wean myself off Facebook, starting by deleting the Facebook app from my phone and tablet. Since almost everyone else in the tech sector seems to have done the same thing at least once, I don't feel that I have to post any particular reason for doing so other than being tired of it. Since I'm not going cold turkey right away I will still check in on Facebook from my laptop, but the number of "feed reads" will hopefully be few and far between....
One might wonder where I've been or what I've been up to these last couple of months. One would be right to wonder why I, so close to the one year anniversary of this blog, suddenly stopped writing. The truth is kind of embarassing. I created a bunch of SSL certificates that were set to expire in a year (by not changing the default value). So here I was, wanting to write to you about building a robot, going to FOSDEM, hacking away at my blog etc, but I just couldn't. Well not in any easy way anyway. My first thought was to generate new client certificates but that was when I realised that my server certificates had expired as well and my CA certificate had been lost in the maintenance work a few months back. So my next quest was to recreate my CA certificates but that unfortunat...
In March this year I took a great leap forward in performance when I built my in-memory cache. It took my blog from a paltry 5 requests per second to a whooping 62 requests per second. Well, since then I've made some changes... Since you already know The Plan, let's go ahead and talk a little about what the temp agency sent over; The Raspberry Pi. The Raspberry Pi is a $35 computer the size of a credit card. It comes with 2 USB ports, HDMI, 100 Mbit ethernet, a SD card reader for storage and it's powered by a cellphone charger. It's also quite similiar to the budget smartphone innards of yesteryear. The Raspberry Pi packs a 700 MHz ARM 11 processor and 256 MBytes of RAM. It also has a pretty powerful GPU but I haven't used it yet so I'll leave it at that. Having no other computer at...
I've embarked upon my mission to upgrade my server installation. It's probably going to take the better part of this week but I hope to be done by this weekend when my parents-in-law are coming to stay with us. Here's my todo-list as of now. 1. Find a temporary server to host the blog on while installing new stuff on IBS. 1. Grab nearest piece of unused computer tech capable of running Linux. (Yay, my RaspberryPi) 1. Install Raspbian.(Since it's just a temporary server I didn't bother playing with Arch Linux ARM. Raspbian is what most people are using on their RPis so I figured it would have a decent repository of pre-compiled software.) 1. Install nginx. (This was easy, it was in the repos.) 1. Install CouchDB. (Again, in the repos). 1. __Install Node.js. (Th...
Tuesday the 25th of September 2012 marks my 30th birthday. Even though I might not be fresh meat anymore, I haven't forgotten about my blog. I've just been busy (raise your hand if you've heard that one before). * I've been planning an article about my success in getting my laptop installed with Arch Linux on UEFI, but I've yet to complete it. * I've also redesigned the blog and it now looks like crap in Firefox. * I then fixed the Firefox bugs but have'nt gotten around to uploading them because of my next bullet point. * My server operating system/software stack is ooooold. :-) My pretty little server IBS is running Ubuntu Server 10.4 LTS. My original plan was to update it to 12.04 LTS as soon as it was released but, needless to say, that didn't happen. I've since fallen in love wi...
I've finally received my new laptop. It's not the one I initially wanted (the Lenovo X230) since that on costs a small fortune in the configuration I wanted. Well at least it costs a bit too much here in Sweden with all the taxes and what not. Anyway, I settled for an Asus Zenbook Prime (UX31A) and had money left to take the family on vacation instead. My old laptop (crapdev) has served me well. I didn't even pay for it since I just took it home with me when I received it's replacement at work. Yes, I've been using my old work laptop as a private workstation for the last 2-3 years and it's starting to show. I named my new toy "jackrabbit" as a nod to the restaurant from Pulp Fiction (Jackrabbit Slim's). With the UX31A measuring only 18 mm at its thickest, and to be fair, 4 mm of thos...
I'm leaving for Gothenburg in a couple of hours for some all-weekend-hacking-codapalooza-marathon-event-thingy (A.W.H.C.M.E.T?). It's going to be awesome! Also, I'll get to enjoy the company of some great friends and some great minds (not at all mutually exclusive). I have a pretty neat idea that has been brewing in the back of my mind for a few days. I'm going to put this weekend (and as many of those great minds as I can persuade) into it and see if it pans out to something usable. I might even tell you about it someday. =)...