Python and my Math commitment

Let’s talk about plans. It’s good to have one. For example, I have a plan for this year. I kind of like math. So, I have this book: It’s 1400 pages long and basically, has everything in it. It’s a rather exhaustive book. Hence, my plan is to finish the book by the end of 2015 and write a couple of python scripts that calculate something interesting. (2021 Hindsight): Yeah, I didn’t manage this… But it’s a cool idea, let’s see if I can get around coming further. I managed to get until 500 pages or so, before life stepped in. ...

March 15, 2015 · 1 min · hannibal

Sphere Judge Online – Python Kivy Android app – Part 2

Here we are again. I will attempt to further this little journey of mine into the land of Android and Python. This is the second part of the advanture you can read the first one a little bit back. The Script We left off at a point where I successfully configured my environment and compiled my first hello world APK. At that point it took a little bit fiddling to get it to work on my phone. ...

March 2, 2015 · 5 min · hannibal

Sphere Judge Online – Python Kivy Android app

Hello folks. Today I would like to take you on a journey I fought myself through in order to write a python android app, which gets you a random problem from Sphere Judge Online. Then you can mark it as solved and it will be stored as such, and you can move on to the next problem. With the words of Neil deGrasse Tyson, Come with Me! Beginnings When I first embarked on this endeavour I ran into numerous errors, many amongst them being compilation issues when I was trying to install libraries. ...

February 26, 2015 · 4 min · hannibal

Why Lock Picking is like Testing

 Not a great many people know that I’m actually into Lock Picking as a hobby. This will not be a tutorial on how to do it, or I won’t really talk about how I do it; I would like to write about something completely different. So if you came here for that, here are a few very good resources: http://www.lockpicking101.com/ - Tutorials http://www.ukbumpkeys.com/collections/lock-picking - Tools ( UK ) http://www.reddit.com/r/lockpicking/ - Reddit For my post, click on. ...

February 8, 2015 · 4 min · hannibal

Building an RPG App with Meteor – Part One – The struggle

In my previous post, I was getting ready to enjoy some time with the JavaScript web framework Meteor. This time I would like to bring it to a bit of overdrive. See, how re-factoring works on a larger scale model with multiple pages. And how it can organize assets, such as, images, multiple CSS, some plugins, you know, ordinary web stuff. Let’s dive in. ...

February 1, 2015 · 6 min · hannibal

JavaScript Web Framework – Meteor

Hi, This time I would like to write about something that interests me. I wanted to try out a pure JavaScript web framework. My choice is: Meteor. Looks interesting enough and it was recommended by a friend of mine. So, let’s dive in. Installation As always, one starts with installation. The page tells us to follow this simple step: curl https://install.meteor.com/ | sh Easy enough, when you are on Linux. Turns out, that there is no official release yet for Windows. I’m in luck then. After running the command though, I saw this popping up into my face: ...

January 29, 2015 · 7 min · hannibal

When cucumber goes wrong

Hi, Let’s face the horrible truth: It’s rare / never happens that a manager / scrum master / product owner actually reads your cucumber test cases. Back in the old days, this was one of the selling points of human readable tests and DSLs. It sounds nice and I’m sure in a utopia it also works. BDD is a very nice approach to write tests if used in a correct way. And I can relate that at some point, a manager or the product owner, actually writes up a draft of the tests. But that enthusiasm very rarely stays for the rest of the project. ...

January 28, 2015 · 3 min · hannibal

From Zero to Hundred in Four seconds

I thought I throw my grudge out of the window against Scala and try something with it. I also got my hands on a fairly new book, called: “Learning Scala: Practical Functional Programming for the JVM”. Turns out to be a rather fun book to read. And Jason Swartz has a nice way of writing. So I wanted to play around with Play 2 Framework. It now comes packaged in Activator. So, I started the long path from almost zero to handle all that. I’m running the latest Ubuntu ( 14 ) and latest Java ( 8 ). The list: Scala, SBT, IntelliJ, Play ( through activator ). ...

January 27, 2015 · 2 min · hannibal

Why Testers are, like scientists

Hello everybody. Today, I would like to write about little observation I made along the way of being a tester. The title says it all. I think Testers, are like scientists. I would go even further, and say: Testers, are scientists. Let us see how the two compare. ...

January 26, 2015 · 4 min · hannibal

Why the expressiveness of your Tests is important – Part One

Hello Everybody. This time I’d like to write about the expressiveness of a Test. I think that it’s very important to write understandable and expressive tests. In older times I was studying novel writing. There is a rule which a novel needs to follow. It goes something like this: “A novel needs to lead its reader and make him understand in the simplest way what’s going on, with whom and why?”. In other words, it’s not a puzzle. It should be obvious what the test is trying to do and it should not require the reader to try and solve it in order to understand it. ...

November 15, 2014 · 4 min · hannibal