Wrote my own static blog thingy
2013-11-22 I have slowly realized that Jekyll isn’t for me. After evaluting a few alternatives like Pelican I decided to write my own, and I have to say that I’m happy with the result.
Not that what I have written is better than Jekyll in any measurable way, but it just that it suits my needs. For example: I use Mustache templates which I strongly prefer over Liquid, and as the Python Markdown library supports metadata and Pygments code formatting out of the box, I find that the original post format is clearer.
Calculated Time
2012-12-05 I took the train home to Stockholm from Skövde yesterday. The train was to my very small surprise late, somehow Swedish trains have a hard time dealing with snow.
The more interesting thing was how Swedish train company SJ calculates when the late train will arrive at its destination. The train started in Gothenburg, and had continuously become more late as it approached Skövde. But according to SJ, from Skövde and on we would not only start going faster, we would actually be going faster than normal.
My New Laptop
2012-11-25 I got a new laptop at work the other day. It is a Lenovo X230 which replaces the best laptop I ever had, the Lenovo X200. I carried the X200 around wherever I went for three years, and in that time I had to replace the battery once. Which is really simple: you buy a new one, take the old one out (no screws) and put the new one in. Oh, I replaced the old hard disk with an SDD one too. That involved taking one (1) screw out, pull the old one out and push the new one in.
Problems With VirtualBox When Regenerating Box With Veewee
2012-03-28 We’re experimenting using veewee to create our vagrant boxes. However, when we tried to regenerate them, the disk was never attached and the installation halted.
We tried deleting the whole VM directory to no avail, the disk still was never mounted. It was only after trying to mount it manually in the VirtualBox GUI that we saw that VirtualBox keeps a sort of registry of disks.
To solve the problem - open the Virtual Media Manager, remove the old disk and restart the veewee install process.
Speaking at DevLin2012
2012-03-08 I will give my talk on “Design for Replaceability - Architecture For An Agile Lifestyle” at DevLin2012 Thursday next week. I was quite happy how the talk was received at JFokus, and will incorporate some of the great feedback I got. This time I will only have 25 minutes though, so I will either speak very fast or cut out some slides.
I had a great time at DevLin last year and l reallly look forward to this years conference.
How To Fix Vagrant Up Hanging
2012-01-21 Following along the Deploying Rails book, I stumbled immediately when
vagrant uphung showing;Waiting for VM to boot. This can take a few minutes.even though the server in fact had booted ok.
I found a solution in the mailing list from a Stefano Pallica:
Boot in GUI mode:
:::ruby config.vm.boot_mode = :guiLogin to the server when booted.
Edit /etc/rc.local and add the following before
exit 0::::bash /etc/init.d/networking restartWorked for me.
Netcfg And USB Tethering
2012-01-13 In order to use netcfg for USB tethering, just configure it as a regular ethernet connection. The following worked for me, remember to
modprobe usbnet.:::bash CONNECTION='ethernet' DESCRIPTION='A basic dhcp ethernet connection using iproute' INTERFACE='usb0' IP='dhcp'Rooted Galaxy Note
2012-01-12 I got a new Samsung Galaxy Note today and after some trial and error I managed to root it.
I basicallly followed the instructions here with a few additions. I changed the binary in the
runmelinux.shto my system Android SDKadb, I added a udev rule for the phone::::bash SUBSYSTEM=="usb",SYSFS{idVendor}=="04e8",OWNER="mahnve",MODE="0666"and finally I needed to run
sudo adb devicesonce before runningrunmelinux.shMigrating from my old phone using Titanium Backup now.
New Post Over At Valtech Labs
2012-01-11 I published a new blog post today over at Valtech Labs in Swedish about the difference between the swedish words “agile” and “nimble” (lättrörlig). In short, while they once meant the same thing, agile has lost a lot of its meaning. Instead of trying to change things back, we should let agile mean whatever people think it means, and use a more descriptive word, like nimble, to describe the process we once called agile. Which of course means XP :).
Skeleton For Responsive Design
2012-01-10 I just managed to get this site to display properly in a mobile browser with media queries, which means I am now among the cool responsive design kids.
If you, like me, use Skeleton, it turns out that you shouldn’t forget this line in your
head:::css <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">