Codeutopia - codeutopia.net - CodeUtopia
General Information:
Latest News:
Why use user story based testing tools like Cucumber instead of other TDD/BDD tools? 28 Jul 2013 | 06:11 am
When you think of writing tests, usually you would write them using a tool from the xUnit family, PHPUnit, JUnit, etc., or if you like a more BDD-style approach, perhaps you would use RSpec, Jasmine, ...
Headless Chrome/Firefox testing in NodeJS with Selenium and Xvfb 13 Jul 2013 | 11:14 pm
The other day I wanted to run a bunch of tests with a browser in a NodeJS environment. Having been spoiled by how easy it was to do in a Rails setup using Capybara, I thought it would be easy consider...
3 ways to get backend data to AngularJS 27 May 2013 | 09:07 pm
It seems this is a rather common conundrum with Angular code: You have some backend data, say in PHP or Rails, and you want to output it when rendering the page so that Angular can display it. Since A...
First impressions on Ruby on Rails 12 Apr 2013 | 12:39 am
In my job at Ribbon, I’ve been using Ruby on Rails a lot – that is what the Ribbon service is built with afterall. This has been my first time working with Rails, so read on for some thoughts. Ruby Th...
Knockout vs Backbone vs Angular 16 Mar 2013 | 06:48 am
There’s a lot of talk of various client-side kind-of-mvc libraries. Three of the popular ones I’ve used are Knockout, Backbone and Angular. While there are other comparisons of the three, I feel many ...
Review: Can a 15 USD gaming mouse be better than 60+ USD ones? 23 Feb 2013 | 01:50 pm
Now for something slightly different from the usual content of this blog, a product review! You get to actually hear and see me, or, well, my hands.
Parsing and evaluating PHP in Haskell: Part 2 23 Jan 2013 | 01:39 pm
Last week I wrote a post about a PHP parser / evaluator I wrote in Haskell. I explained some of the parts on how the parser itself was designed to process PHP code into an abstract source tree. Contin...
Parsing and evaluating PHP in Haskell: Part 1 16 Jan 2013 | 05:35 am
The other day I uploaded a new experimental project on GitHub – A Haskell PHP parser / evaluator. It doesn’t understand 100% of all PHP syntax, but it was an interesting experiment nevertheless. Here’...
Post-mortem: Battlefield 3 Web Commander 17 Nov 2012 | 10:43 pm
I thought I’d write a sort of “lessons learned” thing about my Battlefield 3 related NodeJS application. As of writing this, the service has been down for several months. The very first idea with it w...
How I rickrolled 15 000 people with one email 3 Sep 2012 | 08:24 pm
I thought I’d share a funny story from some years ago. This was when I was subcontracting at a Certain Large Finnish Mobile Phone Maker. It involved email and rickrolling. Rickrolling a lot of people....