23 03 2013
The application that I mention in this post would be great to test your raw ability to think like a programmer and solve logical problems given a set of tools, if you are a beginner and/or don’t know a programming language. I also think it would be useful as an “introduction to programming” lesson, to [...]
21 03 2013
Today’s nybble of code is yet another HP CodeWars problem. This one, I have found the most challenging yet, but still not incredibly hard. Given 10 combined weights of 5 children you have to write a program to work out the weight of each individual child. The full problem spec can be found here. So [...]
19 03 2013
Now this is something that I have been noticing for a while, something that really I shouldn’t be noticing, because in my humble opinion is an occurrence that shouldn’t be occurring! Databases are wonderful things aren’t they? You can easily store data in them and just as easily retrieve it again, you can even use [...]
17 03 2013
The code you write should be traceable, easily understood and clean. It shouldn’t be complicated and you shouldn’t get a headache from reading it. There are a few easy practices you can follow in order to make this happen, so in no particular order here are five top tips to writing great code! Shallow not [...]
15 03 2013
Today’s nybble of code is yet another HP CodeWars problem, this time the problem is to work out the number of ones that appear in all the numbers from 1 to n, read the full problem specification here.
14 03 2013
Today’s nybble of code is another HP CodeWars problem. I like these as they are solvable in a relatively short amount of time, but make you think and have more to them than meets the eye. The problem is to check whether or not a string contains entirely unique characters, you can read the full [...]
12 03 2013
I stumbled upon a video yesterday, that initially depressed me. It was the same kind of feeling that I got when I read about Aaron Schwartz (R.I.P), who was a member of the team of people who came up with RSS feeds, when he was only 14. I guess it was a feeling of uselessness, [...]
11 03 2013
Today’s nybble of code is a problem from HP’s CodeWars competition, which I first heard about from A+ Computer Science Blog. The problem is, given a number of minutes that can be represented on a clock face, work out the position of the hour hand when it is the exact same distance away from the [...]
10 03 2013
“Computer science is no more about computers than astronomy is about telescopes. ~ Edsger Dijkstra “ This quote is bang on the money in my opinion, especially so when applied to programming. As I said in my previous post Quick quote #1, programming languages are just tools, tools for us, the programmers, to use in [...]
8 03 2013
OK first off don’t get me wrong, PHP is a great language useful for many things. It’s fast and easy to create web applications in, it’s pretty simple to learn and has a wealth of useful pre-built functions. However, at least for me, there was a problem. If you have read my previous post Getting [...]

