Category Archives: programming

NumPy Project Euler Problem 3

This entry is part 3 of 9 in the series NumPy Project Euler

Project Euler Problem 3 seems almost impossible to crack. However, using the right algorithm – Fermat’s factorization method and NumPy, it becomes very easy. The idea is to factor a number N into two numbers c and d.

[...]

Share
Posted in programming | Tagged , | Leave a comment

NumPy Project Euler Problem 2

This entry is part 2 of 9 in the series NumPy Project Euler

Project Euler Problem 2 is definitely harder than Problem 1. This one requires reading the Fibonacci numbers Wikipedia article.
I read that the Project Euler problems are some sort of katas. Katas are what martial artist call exercises, preparing you for [...]

Share
Posted in programming | Tagged , | Leave a comment

NumPy Project Euler Problem 1

This entry is part 1 of 9 in the series NumPy Project Euler

Project Euler is a website that lists a number of mathematical problems, which are perfect to be solved with NumPy. Let’s start the new year with Problem 1.
1. Call the arange function
Call the arange function in order to store all [...]

Share
Posted in programming | Tagged , | Leave a comment

2012 Python Meme

My “Python meme” replies.
What’s the coolest Python application, framework or library you have discovered in 2011?
NumPy, because of my book Numpy 1.5 Beginner’s Guide published in November this year. Although I did not discover it in 2011. Still I learned [...]

Share
Posted in programming | Tagged | Leave a comment

Christmas NumPy Book Giveaway

Merry Christmas, dear readers!
Since it’s the season of giving, Packt Publishing offered to organize a contest with prize – 2 print copies and 2 ebooks of my book NumPy Beginner’s Guide.
The Prize

What you will learn from NumPy 1.5 Beginner’s Guide

Installing [...]

Share
Posted in books, programming | Tagged , , | 46 Comments

Steady State Vector of Markov Chains

This entry is part 9 of 17 in the series Numpy Strategies

Numpy Strategies 0.1.3
Unlucky Sprint 13. Scary, especially if you suffer from Triskaidekaphobia. The task for this sprint:

Determine the steady state vector of our Markov chain model.

This task was part of the story:

I want to know how to bet in the [...]

Share
Posted in programming | Tagged , | 2 Comments

Stochastic matrix of the FUD states

This entry is part 7 of 17 in the series Numpy Strategies

Numpy Strategies 0.1.2
So we are now in Sprint 12 of Project “NumPy Strategies”. Last week you finished the task of determining states and defining a Markov chain model. This took you ten minutes even though the estimate was 2 days. [...]

Share
Posted in programming | Tagged , , | Leave a comment

Secret Transitions of a Markov Chain

This entry is part 5 of 17 in the series Numpy Strategies

Numpy Strategies 0.1.1
Imagine that one day your most important client/Product Manager/Product Owner/Other walks into your room with the following User Story:

I want to make huge profits on the stock market with Markov chains

You think a few seconds and say: “We [...]

Share
Posted in programming | Tagged , | Leave a comment

6 Great Software Development Books I Own

Last week I showed you a stack of books.

They are all great books that roughly fall in the software development category. I would like to tell you something about them. Some of them I have read many times cover to [...]

Share
Posted in books, programming | Tagged , | Leave a comment

NumPy Beginner’s Guide Announcement

The long awaited NumPy Beginner’s Guide from Packt Publishing is now available in the stores. The reason that I am announcing it here is of course, that I wrote it myself. I just received print copies of the book and [...]

Share
Posted in books, programming | Tagged , , | 2 Comments