Technical

Discorse

  1. In linguistics, a unit of language longer than a single sentence.
  2. More broadly, the use of spoken or written language in a social context.

This is the technical blog for my codeworks, a small consultancy in Sweden. We help companies with architecture, training, test driven development and agile processes. On occasion we get to code a bit as well :)

We do project rescue when something has gone wrong or gotten stuck. But generally we prefer it if we get a call before the large demo saw is needed to cut into whatever wreak the project has turned into. We excel at starting projects on the right track and keeping them there (probably since we have been on so many disaster commissions).

We are foremen in the software industry and this is where we write about the values we hold and why they are important.


Duty calls - CSS3 is NOT proven to be turing complete!

Duty calls - CSS3 is NOT proven to be turing complete!

I keep running in to posts, comments, articles and even videos about CSS being Turing complete and they all cite each other or the same original source, Eli Fox-Epsteins HTML/CSS Rule 110 automaton.

The thing is that none of them seem to have talked to Eli or read the rules of turing completeness. Well I have, and all thous posts are wrong. Read on and I'll show you why :)

Craftsmanship - Part 5

Craftsmanship - Part 5

In this, last, installment of my blog series about the fundamentals of building good software we will talk about how to keep your good code good, refactoring. Refactoring is to change the structure of the code without changing the computational result of the code. In practise it is a large set of transformations, both concrete and abstract, that you apply to your code regularly to keep it in shape.

From concept code to finished gem

From concept code to finished gem

Another "how to make a gem" tutorial. This time with a real example, rspec-simplecov, from start to finish.

Failing an RSpec suite on poor code coverage.

Failing an RSpec suite on poor code coverage.

Ever wanted to have your RSpec suite fail when the code coverage with Simplecov was too low? Now you can, using some pretty clean RSpec internals.