Tag Archives: Coding

Pythagorean triplet

Project Euler again, this time its problem 9. A Pythagorean triplet is a set of three natural numbers, abc, for which: $latex a^{2}+b^{2}=c^{2}$ For example: $latex 3^{2}+4^{2}=9+16=25=5^{2}$. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the … Continue reading

Posted in Coding | Tagged , , , | Comments Off on Pythagorean triplet

The 10001st prime number

Project Euler time again, I’ve come out of sequence – here’s problem 7. Continue reading

Posted in Coding | Tagged , , , | 2 Comments

Largest prime factor of a composite number

Project Euler problem 3 – largest prime factor of a composite number. Continue reading

Posted in Coding, Computing, Open University | Tagged , , , | Comments Off on Largest prime factor of a composite number

Sum of all even Fibonacci terms below 4 million

The second Euler problem concerns the Fibonacci sequence, which for anyone doing MS221 is the basis of module A1. Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, … Continue reading

Posted in Coding | Tagged , , | Comments Off on Sum of all even Fibonacci terms below 4 million

Finally succeeding?

I read an article by James Somers at The Atlantic called “How I Failed, Failed, and Finally Succeeded at Learning How to Code”. Continue reading

Posted in Coding, Computing, Open University | Tagged , , , | Comments Off on Finally succeeding?

Any colour will do

I hope Dustin Kirkland wont mind me re-posting this but it’s so insightful I felt I must. Poul-Henning Kamp posted this concerning Free BSD development over eleven years ago…

Posted in Coding, Computing, Linux, Ubuntu | Tagged , , | 2 Comments

Twitter vulnerabilities, using Windows, studying and new WordPress themes.

Graham Cluley, a Senior Technology Consultant at Sophos, has a nice blog piece on the Twitter worm from earlier this week. To cut a long story short, he reminds us of the importance of sanitizing inputs. Still, it was more … Continue reading

Posted in Coding, Computing, Linux, Open University, Ubuntu | Tagged , , , | 1 Comment

Install web applications locally on Ubuntu

I was talking with someone yesterday who is hacking a WordPress theme together. If you work with web sites, being able to run a site locally allows testing, experimentation, developing new themes and even just checking that a software update … Continue reading

Posted in Computing, Linux, Ubuntu | Tagged , , | 4 Comments

Blogging platforms

Has anyone else noticed a large amount of ping backs to link farms from Planet Ubuntu feeds over the last few days? I’m getting a fair few. I’d give an example but if I link to a site that takes … Continue reading

Posted in Computing, Linux, Rant, Ubuntu | Tagged , , , , | 13 Comments