It's so easy to call the ReadCloud Web API from Go. After obtaining your API Key from us it's as simple as this:
Blog Archive
-
▼
2015
(7)
- ► 05/17 - 05/24 (1)
- ► 04/19 - 04/26 (1)
- ► 03/29 - 04/05 (2)
- ► 01/18 - 01/25 (2)
-
►
2012
(1)
- ► 08/05 - 08/12 (1)
-
►
2011
(1)
- ► 01/16 - 01/23 (1)
-
►
2010
(13)
- ► 09/19 - 09/26 (1)
- ► 07/18 - 07/25 (2)
- ► 07/11 - 07/18 (7)
- ► 04/25 - 05/02 (2)
- ► 04/18 - 04/25 (1)
-
►
2009
(16)
- ► 12/13 - 12/20 (2)
- ► 12/06 - 12/13 (1)
- ► 11/22 - 11/29 (2)
- ► 11/15 - 11/22 (7)
- ► 07/12 - 07/19 (1)
- ► 05/24 - 05/31 (2)
- ► 02/15 - 02/22 (1)
-
►
2008
(1)
- ► 08/24 - 08/31 (1)
Monday, August 6, 2012
Friday, January 21, 2011
Sunday, September 19, 2010
Oldest Rock
Nature Geosci. doi:10.1038/ngeo941
(2010)
The Solar System just got a little
older. New information from a
chondritic meteorite — a rocky
artefact from the Solar System’s
earliest days — puts the age of the
Solar System at about 4.5682 billion
years, between 0.3 million and 1.9 million
years older than previous estimates.
Published in Nature, 26th August 2010.
(2010)
The Solar System just got a little
older. New information from a
chondritic meteorite — a rocky
artefact from the Solar System’s
earliest days — puts the age of the
Solar System at about 4.5682 billion
years, between 0.3 million and 1.9 million
years older than previous estimates.
Published in Nature, 26th August 2010.
Wednesday, July 21, 2010
What is an Amplitude in Quantum Electrodynamics (QED)?
After looking at some Richard Feynman material on QED I'm putting down some thoughts on amplitudes so that (a) I remember and (b) I remember - yes, I did type that twice.
An amplitude can be described as a line on a plane. The line can be of any particular length and angle on that plane. We can use an amplitude to get the probability of an event - to do this we simply square the amplitude, i.e.:
probability = (ampl)^2
QED is concerned with and can be summarised at a very high level by the following 3 points:
(more to follow - it's 3am after all ..)
An amplitude can be described as a line on a plane. The line can be of any particular length and angle on that plane. We can use an amplitude to get the probability of an event - to do this we simply square the amplitude, i.e.:
probability = (ampl)^2
QED is concerned with and can be summarised at a very high level by the following 3 points:
- the probability that an electron goes from place to place
- the probability that a photon goes from place to place
- the probability that an electron will 'emit' a photon
(more to follow - it's 3am after all ..)
My Notes on Why Agile Works..
After watching Martin Fowler's talk in France I decided to condense the important points from the talk in my own word so that they are easy to remember:
- we have moved from predictive planning (waterfall) to adaptive planning - because most requirements are NOT static, therefore massive amounts of up-front analysis and planning are doomed to failure (developers have known this for years when having to look at unrealistic project plans)
- the more traditional fixed type of processes can and often do stifle people and stop them working effectively
- there has been a shift from people following processes to the process following and adapting to the people - it's now a people-driven process
- we are moving to evolutionary design
- it's common that organisations decide to follow agile methods to manage the project but the design of the software is not designed for change - it has been noticed that this is particularly a problem with followers of SCRUM
- feedback loops are central to Agile
- Agile methods are much more effective when combined with XP practices such as pair programming, TDD, continuous integration etc. This approach combines a flexible agile project management methodology with software that has been designed for change - loose coupling of components for example
- it's very important when starting and Agile approach to first get the quality of the software under control. Implement unit tests linked to the build and get quick feedback in case of regression test failures.
Saturday, July 17, 2010
Pourquoi, pas comment - Martin Fowler, Thoughtworks
An interesting talk on why Agile works including some of it's history, by Martin Fowler and Neal Ford of ThoughtWorks:
Friday, July 16, 2010
Richard Feynman - Ways of Thinking
What can I say.. he's the great Richard Feynman, I'll be forever in awe of him:
The Great Richard Feynman - NZ Lecture
Richard Feynman's final lecture in New Zealand. I'm not afraid to say he's one of my heroes. See the lecture here.
Sunday, July 11, 2010
Friday, April 30, 2010
Congratulations to C
The C programming language has returned to the No.1 spot for April 2010, leaving Java in second place and C++ in 3rd. Although this has happened for a number of reasons, it still shows the popularity and power of C. It's been over 35 years since C was developed at AT&T Bell Labs by Dennis Ritchie, Ken Thompson, Brian Kernighan and others and yet it's still here as strong as ever.
Don't get me wrong, I'm still a big Java fan and have been using it commercially since 1997 but I always have a soft spot for C as it's the first commercial programming language I used and I still believe has the most power and flexibility.
Here is the TIOBE list for April 2010.
Don't get me wrong, I'm still a big Java fan and have been using it commercially since 1997 but I always have a soft spot for C as it's the first commercial programming language I used and I still believe has the most power and flexibility.
Here is the TIOBE list for April 2010.
Thursday, April 29, 2010
Friday, April 23, 2010
Nature is Boss
Of course we all know this already, but it has been brought home yet again with authority in the recent (and I believe still) eruptions of Eyja (for island), Fjalla (for mountain), and Jökull (for glacier).
I generally like to write my own stuff but I read an interesting little article by Christopher Hitchens which I'd like to share.
I've been hearing the term VAV being thrown around recently on BBC Radio 1 - a VAV being a Vocanic Ash Victim! well, there you go.
I generally like to write my own stuff but I read an interesting little article by Christopher Hitchens which I'd like to share.
I've been hearing the term VAV being thrown around recently on BBC Radio 1 - a VAV being a Vocanic Ash Victim! well, there you go.
Sunday, December 13, 2009
Now you can program the ZX Spectrum
OK, if you just want to be nostalgic and do some BASIC programming on the ZX Spectrum, click on the image below which will run a faithful emulation of the Sinclair ZX Spectrum complete with BASIC. For more information on Sinclair BASIC you can read the manual.
but here is a very simple program to get you started, follow the instructions:
1. type "10 LET a=10" - (note that the spectrum had short-cuts on the keys so immediately you press L it will display "LET" - you might find this weird at first but after you get used to it it's a very fast way to write a program). Then press RETURN (ENTER) - the code will appear at the top of the screen, that is the first line of the program
2. type "20 PRINT a" - (again, pressing 'P' will result in PRINT being displayed). Then press RETURN (ENTER). Your second program line will be displayed at the top of the screen.
to run the program type: 'R' and 'RUN' will be displayed. Press RETURN (ENTER) and the program will run and print "10" - voila!
Here's another program from the manual that demonstrates taking input from the user and the used of FOR loops:
10 LET total=0
20 FOR c=1 TO5
30 INPUT a
40 REM c=number of times that a has been input so far
50 LET total=total+a
60 NEXT c
80 PRINT total
and here is a screenshot of a program with a background of the original Spectrum keyboard:
but here is a very simple program to get you started, follow the instructions:
1. type "10 LET a=10" - (note that the spectrum had short-cuts on the keys so immediately you press L it will display "LET" - you might find this weird at first but after you get used to it it's a very fast way to write a program). Then press RETURN (ENTER) - the code will appear at the top of the screen, that is the first line of the program
2. type "20 PRINT a" - (again, pressing 'P' will result in PRINT being displayed). Then press RETURN (ENTER). Your second program line will be displayed at the top of the screen.
to run the program type: 'R' and 'RUN' will be displayed. Press RETURN (ENTER) and the program will run and print "10" - voila!
Here's another program from the manual that demonstrates taking input from the user and the used of FOR loops:
10 LET total=0
20 FOR c=1 TO5
30 INPUT a
40 REM c=number of times that a has been input so far
50 LET total=total+a
60 NEXT c
80 PRINT total
and here is a screenshot of a program with a background of the original Spectrum keyboard:
The ZX Spectrum - Running "The Hobbit"
Below is a ZX Spectrum Emulator (written entirely in Java) and running the game "The Hobbit" which I spent many hours playing when I was 12 years old.
To start playing, just click on the image and press a key. You can use basic commands such as:
NORTH, SOUTH, EAST, WEST, UNLOCK/LOCK TAKE/DROP, ATTACK, OPEN DOOR etc. and here is the manual if you would like to have a real play :-)
Wednesday, December 9, 2009
Reversing a Double Linked-List in C++ using a 'reference pointer'
Here's an example I wrote for how to reverse a double (or 'doubly' as some people like to say) linked-list. The main point of this example is to show that reference pointers are actually useful in the real world. In this particular example it has two advantages: to avoid having to return a Node* and to make the code clearer. The alternative is to use a Node** or Node*** but the code is less readable.
Here is the example - and because i'm an ex ZX Spectrum junkie, it's using the original speccy font! If you don't know what a ZX Spectrum is, go to http://www.worldofspectrum.org
Here is the example - and because i'm an ex ZX Spectrum junkie, it's using the original speccy font! If you don't know what a ZX Spectrum is, go to http://www.worldofspectrum.org
Saturday, November 28, 2009
Thursday, November 26, 2009
My First Erlang Server - A MathServer
Erlang is a very cool language - OK, it's not the most intuitive to learn if you're a Java/C++ developer but it is extremely powerful and scaleable. I managed to start 15,000 client sessions against my MathServer on my laptop without any problem whatsoever. Imagine doing that in Java or C++... not easy to get the kind of performance that Erlang gives you for free.
Here is the code:
and for completeness, this is how you start the server (replace AndrewTosh with the name of your PC):
See the Erlang official website for more details. I'll be doing lots more with Erlang so watch this space...
Here is the code:
and for completeness, this is how you start the server (replace AndrewTosh with the name of your PC):
See the Erlang official website for more details. I'll be doing lots more with Erlang so watch this space...
Subscribe to:
Posts (Atom)
Unweaving the Rainbow, by Richard Dawkins
We are going to die, and that makes us the lucky ones. Most people are never going to die because they are never going to be born. The potential people who could have been here in my place but who will in fact never see the light of day outnumber the sand grains of Sahara. Certainly those unborn ghosts include greater poets than Keats, scientists greater than Newton. We know this because the set of possible people allowed by our DNA so massively outnumbers the set of actual people. In the teeth of these stupefying odds it is you and I, in our ordinariness, that are here.

