Roberto Selbach
Roberto Selbach
Home
Blog
Light
Dark
Automatic
Programming
FOR is evil or something
Have you ever wondered how FORs impact your code? How they are limiting your design and more important how they are transforming your code into an amount of lines without any human meaning?
Nov 19, 2012
2 min read
Programming
Anagramizer, a simple anagram solver in Go
This weekend I took the family to celebrate Father’s Day away from town. We went around getting to know parts of the province we live in and never been to.
Jun 21, 2011
2 min read
Go
,
Programming
Euler 9 in Go
This was surprising to me. For fun I picked one of the Euler algorithms I played with in the past and rewrote it in Go. The idea was to rewrite it idiomatically to see how different things might look.
Jun 14, 2011
1 min read
Go
,
Programming
Euler 15 in Python
This one isn’t even funny… Starting in the top left corner of a 2×2 grid, there are 6 routes (without backtracking) to the bottom right corner. How many routes are there through a 20×20 grid?
Aug 7, 2010
1 min read
Programming
Euler 11 in Python
Project Euler’s problem #11 statement goes: In the 20×20 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
Aug 6, 2010
3 min read
Programming
Euler 10 in Python
I decided to take on Project Euler’s problem #10. Its statement goes like this: The sum of the primes below 10 is [pmath]2 + 3 + 5 + 7 = 17[/pmath].
Aug 6, 2010
3 min read
Programming
Euler 9 in C
So I recently wrote an ugly solution to Project Euler’s problem #9. It was written in Python and even though every other Project Euler solution I wrote ran in less than one second, this one took over 18 seconds to get to the answer.
Aug 4, 2010
2 min read
Programming
Euler 9
So the other night I was a bit bored and decided to do something to pass the time. I first came across Project Euler a while ago, but had never gone further than problem #1.
Aug 3, 2010
2 min read
Programming
Euler 6
So the other night I was a bit bored and decided to do something to pass the time. I first came across Project Euler a while ago, but had never gone further than problem #1.
Aug 3, 2010
1 min read
Programming
Euler 5
So the other night I was a bit bored and decided to do something to pass the time. I first came across Project Euler a while ago, but had never gone further than problem #1.
Aug 3, 2010
2 min read
Programming
«
»