Simple mathematical concepts I: Induction.

After reading this and this I realized something is really, really wrong about mathematical concepts out there. Proof by induction is a really, really simple yet powerful proof method.  In this post, I will talk about induction for natural numbers. Induction is based on two steps, usually called basis and inductive step. I will proof …

Read moreSimple mathematical concepts I: Induction.

Writing your own JRuby extension. Part II: Creating your first class.

What’s the point of coding a JRuby extension if you don’t create classes? Well, I cannot think of any case, but if you find one, please, let me know. Do you remember Java’s classes hierarchy? If so, you’ll realize  that Java objects inherit from java.lang.Object by default but that is not actually what we need. …

Read moreWriting your own JRuby extension. Part II: Creating your first class.