Ramblings Of a Madman

Yeah, like i would know a good description…

Posts for Tag: Uncategorized

Another finished painting

Yep, finished another one: A concept I was planning ever since, during a storm in Amsterdam, I looked out the window and saw the trees dancing, like they were fighting each other. No, I was not on drugs.

Posted by email from nocivus (posterous)

If there were any doubts about fast food

...I think it's safe to say that they are all gone.This guy bought a McDonalds burger in 1996 and kept it (no special conservation) to share later. You can see from the pictures that it looks exactly like it was bought yesterday. Makes you wonder what the hell is it made from, LOL.

Posted by email from nocivus (posterous)

The dogmas of unit testing

Almost daily, in some form or another, I find myself listening to things like "the code should have a very high test coverage", or "we should go for 85% test coverage", or "our test coverage % is very low". I tremble whenever I hear these sentences. I will try to summarize something that makes sense to me, but might not make sense to a lot of other people (namely the kind of people who say sentences like that): Test coverage percentage means shit. There, I said it, and it feels good to say something that my brain can relate to. Now to explain it, with a bit of background: Unit tests, like everybody knows, are meant to test small parts/modules/components/<insert_your_favorite_application_separation_designation_here> of the code in isolation. Then we have those that are usually called integration tests, that usually test the, hey, integration between these smaller modules. One thing in common with all types of tests is that (*duh*) they are supposed to make sure that the module/application behaves the way it was designed/thought of. Does this mean that making sure that every line of code is currently being tested? Hell no! Should we make sure that the data access layer retrieves data properly and fails properly? Absolutely! But does that mean that we should test, say, hibernate retrieving something from the database, when we know that hibernate - being a proper open source product - already contains it's own set of tests? I believe not. And this does not apply only to external, tested, libraries used by our applications; The point is also that, what matters in the end, is to make sure that the code does what it is supposed to do, not to make sure that line X in your code gets executed in the correct order (think easymock.expect(Y) here), or some other barbaric things done in the name of test coverage percentage.

Posted by email from nocivus (posterous)

Some funny domain names

I don't think their owners gave it some second thought :)http://humour.200ok.com.au/bad-domain-names.html

Posted by email from nocivus (posterous)

Announcement

It is now 12C degrees in Amsterdam. The "summer" has ended. That is all. Posted by email from nocivus (posterous)

Good CSS designers are supposed to be well paid

I already suspected and noticed it to some extend in the past, but while working on a website for a friend's non-profit organization lately, I came to a more profound understanding of what it is to be a web designer. And I should say that whatever they earn is not enough. The reason for this statement is the fact that IE does not comply with web standards and, since this was the first time that I was involved with a *really* complex layout, making the design work with both gecko based engines and IE was a bit of a pain. Not only IE does not honor some CSS properties, but it also has some weird ways of interpreting Javascript code from times to times. So I bow to all good web designers out there: You are all my heroes :) Posted by email from nocivus (posterous)