Overview Of Man in the Middle Attacks

26. February, 2013

David Blake posted a current overview of Man in the Middle type attacks15 Surprising Ways You Could Fall Victim to a Man in the Middle Attack

These include:

  • Key-loggers (hard- and software)
  • Browser plugins
  • Cameras (a.k.a Shoulder Surfing)
  • Wireless attacks

Does the Universe Love Us?

25. February, 2013

Let’s see. The universe created particles to form atoms. It created the carbon atom and built DNA with it. It evolved for 13.77 billion years to create the world that we see today, in which we live and love and die. It put billions of stars and nebula on the sky so there would be a smile on our faces while we lie on our backs in the warm summer night.

How can it not?


The Difference Between Unit and Integration Tests

14. February, 2013

A unit test checks a certain feature of the software. When it fails, you usually know exactly where to look for a place to fix the problem. They are short, compact and fast.

They come at a cost, though: You have to replicate the setup code in your test.

This is an important point. To use a feature of your software, you always have some set up to do. This set up has to exist in your production code. For unit tests, you will have to copy some parts of this code into your tests because usually, the setup of the production code simply isn’t fine grained or flexible enough to be useful for tests. Think tests which check the error handling: Your production code usually can’t build mock objects that raise errors when certain methods are being invoked.

An integration test reuses the production configuration. It tests many features at once, in the same order and with the same or at least a very similar environment that your final application will use. They are high level and often much easier to set up. But that comes at a cost:

  • They are slow
  • When they fail, there will be many places which could cause the issue, so fixing them is more expensive
  • They break more often because you have more dependencies
  • Setting up a test for the “success” scenario will be simple but injecting mock objects to cause exact error states will be much harder

So be aware what kind of test you’re writing.


Speaker for the Dead

11. February, 2013

How would you feel if you had wiped out an entire civilization? Luckily, this is an academic question for most of us. For Ender, the Xenocide, it’s a very real problem and Orson Scott Card again does a wonderful job of letting us share a few years with Andrew Wiggins, his doubts and decisions, his dedication. moral dilemmas and brilliant mind.

Speaker for the Dead” is the sequel to “Ender’s Game” and as captivating as the first book. As usual, every character is driven by a deep motivation and it’s great fun to try to fit the pieces of the many puzzles before Card reveals the solution.

I found scenes like the signing of the Covenant between humans and piggies incredibly moving.

Recommendation: Must buy.


Let Not RIP Aaron Swartz’ Legacy

8. February, 2013

Aaron Swartz is dead. There is no arguing the fact, we can only disagree why he died.

His girlfriend says: “I believe Aaron’s death was caused by exhaustion, by fear, and by uncertainty.” (source)

I, too, get the feeling that the world is turning from an adult into a child again.

When does someone stop being a child? When they realize that actions have consequences and that they have to take responsibility for their every action. Some even realize that you have a responsibility for your inactions as well but that’s probably too much to ask for most people.

So as soon as you refuse to take responsibility for your actions and start denying the consequences, you must be turning into a child again.

What are the consequences of incarceration of almost one percent of the whole population? Is adding more rules to a broken system the adult or the childish way out?

A lot of people argue in favor of the death penalty when there is no indication that any of the arguments is supported by facts. Isn’t it typical childish behavior to refuse to listen something you don’t want to hear?

Let’s all grow up again.


Things Users Don’t Care About

8. February, 2013

Things users don’t care about” is something every software developer needs to know about.

Kudos go to Thomas E. Deutsch for finding and telling me about it.


100K on SO :-)

7. February, 2013

Finally! 100’000 points of reputation on stackoverflow.com!

Yay ^_^