Tag Archives: programming

Programmer Productivity: Emacs versus IntelliJ IDEA

For seven years I coded in C++ using Emacs. Four years ago, when I changed jobs, I switched to Java development using IntelliJ IDEA. Without a doubt, I am much more productive writing code in IntelliJ IDEA compared to using Emacs. Here’s why: Continue reading

Why I Love Coding

I love coding. Ever since I bought my first computer (a VIC-20), I’ve been fascinated by computer programming. For many years I never thought of why I enjoyed it so much – I just knew I did.

But that changed when I read The Mythical Man-Month by Fred Brooks. Most people associate that book with Brooks’s law: adding people to a late project makes it later. But for me, that is not the best part of the book. The best part is one page at the end of chapter one, entitled The Joys of the Craft.

There, Fred Brooks quite eloquently put into words what I love about coding. Continue reading

10 million SET games simulated using “Random among ‘most similar’ Sets”

The tabulated  simulation results.

Continue reading

10 million SET games simulated using “Random among available Sets”

The tabulated  simulation results.

Continue reading

10 million SET games simulated using “First found Set”

The tabulated  simulation results.

Continue reading

SET® Probabilities Revisited

In Peter Norvig’s interesting post The Odds of Finding a Set in The Card Game SET, he concludes that the odds against there being no set in 12 cards, during a game, is 16:1. This is an average value, but it doesn’t tell the whole story.

A more detailed analysis shows that the odds when playing a game of SET start off at 30:1 for the first round. Then they quickly fall, and after about the 4:th round they are 14:1 and for the next 20 rounds they slowly fall towards 13:1. So for the majority of the rounds played, the odds are between 14:1 and 13:1.

Is there a set here?

Continue reading