Mindblown: a blog about philosophy.
-
Unconditional Success
Before I forget it completely, I have to post a link to Nick Williams’ Unconditional Success. This book is outrageously funny. We kept a copy on our desk and would open it at random pages to reinvigorate the team spirit.
-
Gog Magog Walk
Today Arne and I ventured out to explore rural England. We did the Gog Magog Walk from Arne’s “Walks around Cambridge” guide. The first thing that caught my attention was this chair: Another typical feature of the English landscape is the open fuse box: Also we learnt what a copse is: And more importantly that…
-
Naked Objects Talk in London this Thursday
Dan Haywood will be coming to the ThoughtWorks London Office to talk about his new book Domain Driven Design using Naked Objects. I have been excited about the idea of NO for quite a while, though the actual implementations have been controversial. So I hope for interesting discussions. Here the details: Thursday December 10, 2009…
-
Programming Language du Jour
Today whilst researching how to implement a proper brainfuck interpreter, I stumbled across Babbage. I would say it’s love at first sight.
-
Using Extension Methods
I came up with the following extensions method in C#: public static class NeatExtensions{ public static bool In(this T element, params T[] elements){ return new HashSet(elements).Contains(element); } } It actually yields a nice syntax for checking enum values and the likes: enumValue.In(Enum.X, Enum.Z) I am wondering whether there is actually a de-factor standard library in…
-
Objects as Functions in Java
Earlier this year I wrote a build tool in java. The core idea at the time was to express the build in terms of functions and function composition. This is not exactly a good fit with java. So last week I had some spare time and came up with this way of defining a function…
-
Fighting the Fifty-Method-Repository using Specifications
Recently I have been working on a domain specific content management system, that, like most content management systems, lets the users filter information along several dimensions and even has a fancy full-text search. It sports a web-based UI that is implemented using an MVC-architecture. Essentially requests are being served by controller methods, that pull the…
-
Want to use a Mock?
You are wrong! Well in most cases. It seems above the intellectual means of most agile developers (the non-agile developers don’t write tests) to realize that tests like the following are useless and even harmful. It is not giving me anything apart from test sclerosis. [Test] public void ShouldGetAllByauthorId() { //given var mockRepository = MockRepository.GenerateMock();…
-
Selenium
A warning to myself, as I forgot over the last year and might forget again. Selenium is bloody slow. Selenium produces crappy error messages. Selenium sports a highly unintuitive vaguely documented api (at least it always takes ages to find the right docs on the web). Selenium is unreliable. Use WebDriver!
-
Seaside Event at the London Office this Monday
If you are in London this Monday don’t miss out on our Seaside themed GeekNight at 7pm. Seaside is a truly revolutionary web framework implemented in smalltalk. We have Lukas Renggli representing the small but rapidly growing seaside and smalltalk open source community as well as Michel Bany of Cincom talking about his commercial experience…
Got any book recommendations?