TitleCase
John Gruber posted his title case script the other day which prompted a request from Dan Benjamin to convert it into Ruby. This is my quick and dirty attempt.
If only I was such a highly skilled regexp ninja as Gruber is!.
John Gruber posted his title case script the other day which prompted a request from Dan Benjamin to convert it into Ruby. This is my quick and dirty attempt.
If only I was such a highly skilled regexp ninja as Gruber is!.
Today I thought I would have a play at implementing a binary tree in ruby and see if I could dig up any things I had not used before.
While at university I had the pleasure of studying bioinformatics. Bioinformatics is all about using the processing power of computers to lean about and infer data from DNA and protein sequences.
For example if you want to find the common parts of a DNA sequence from 500 different sequences and each sequence is 50000 bases long it will take some time to compare them all and you are bound to make some mistakes.
This is where bioinformatics comes in and uses tried and tested computer science principles to make these large tasks easier, more accurate and faster. One example is the Needleman-Wunsch algorithm which is used to score a string of bases against another.
Java includes a load of libraries for creating applications with graphical user interfaces (GUI). One of the first things that a programming student is introduced to when learning about Java GUI development is drawing shapes onto a “canvas”. In this post I am going to talk about Java Swing objects that can help achieve this and begin to flesh out a little program that demonstrates some of the ideas that are covered.
Daring Fireball the excellent blog by John Gruber occasionally brings sites to their knees in a digg-esk manner if he deems them worthy of a link.
From this day on, the effect will be known as being FIREBALLED. (If this has already been done or has an even more witty name its my bad!)
Update: John already uses it, Doh! Oh well back to the drawing board.
Recently the BBC have launched the iPlayer. This is a service which allows people to watch TV programs or listen to radio shows from that last 7 days again on their computer as many times as they like. That is unless they have a Mac.
So today I was trying to update my moose56.com homepage and thought I would add some javascript effects using the Mootools library.
Well it did arrive after all. My update was not totally strait forward however so just incase it happens to anyone else here is how I dealt with it.
© Moose56 Blog. Powered by WordPress using a edited version of a reworked version of the DePo Clean Theme