Skip to content

Category Archives: Software Development

REE segfaults when Rails application has too many localisation files

We ran into an interesting problem – at some point of time our Rails application started to fail occaionally because of REE segfaults on startup. Even starting the console with ‘script/console production’ was occasionally failing with REE segfault. Application was growing, new features were added and segfaults started happening more and more often. There was […]

Share

Pitfalls of Rails fragment caching with memcached

Fragment caching is a powerful technique for improving performance of your web application. Rails site describes in detail how to apply this technique. Rails are providing developers with really excellent abstractions, but it’s always good to know what’s under the hood and how it all works. There are a few things that might potentially cause […]

Share

Notes from Gothenburg – Nordic Ruby 2011 conference

Here are my notes from Nordic Ruby conference in Göteborg, Sweden. I’d like to say big thanks to the organisers of the conference (especially CJ @cjkihlbom) – everything went really smooth, even though there’s been 150 people attending this year compared to 90 last year. Some points that I’d really like to highlight are: a […]

Share

Call to undefined function: imagecreatefromjpeg()

While installing new Joomla modules I came across this PHP error (yep, still have to deal with PHP occasionally). I had PHP compiled from source on Ubuntu 10.04 as per earlier instructions. Quick check of phpinfo() indicated that while gd module was compiled in, it didn’t have JPEG support: GD Support enabled GD Version bundled […]

Share

Setting up your own git server on Ubuntu

This will create a new user ‘gitosis’ and prepare a structure for repositories in /srv/gitosis. Now let’s initialize a gitosis-admin repo – it is used for managing repositories and access Of course there’s always an option to use github. And if you’re working on an open source project, or want to concentrate on coding and […]

Share

Git – revert or amend last commit

Since we moved from SVN to git in HeiaHeia I had to revert or amend changes I accidentally committed or committed and pushed to git repository. This is not the most common operation, so I have to browse the documentation every time I do that. This is more of a memo to myself, which hopefully […]

Share

Agile distributed team – using chat to run scrum meetings

The current development team that I’m working in is really small – just 2 software gurus, a product owner and me as a scum-master/system admninistrator/part-time developer/architect. Our team is distributed to the extent that sometimes all four of us are located in different places during our meetings – but time zones difference is in most […]

Share

Choosing Mobile Development Platform

There’s been a lot of heated discussions in the blogosphere in the past month about mobile platforms from independent developer perspective. Which platform to choose, if you want to develop cool applications, reach a lot of users and maximize your revenues? I previously wrote on this subject a year ago, when Android was announced, and […]

Share

Introducing Moozement

Last year I got involved in the development of a new social network – Moozement. There are plenty of social networks out there, there are even white label social networks. So why create another one? Jyri Engeström wrote some time ago about the case for object-centered sociality: “‘social networking’ makes little sense if we leave […]

Share

Nokia Beta Labs – Tommi Vilkamo

Conratulations Tommi, congratulations Nokia! It is really a lucky break for Nokia that someone with such a great track record of blogging and openly talking to community of Nokia users will head Beta Labs. As Stephen Johnston said “Plenty of improvement ideas are in the pipeline, and the key one for me will be to […]

Share