Getting started with data science – advice from Hilary Mason from Bitly for those interested in data science. In a nutshell, “DO IT”.
Mapping with d3 library – a tutorial showing how to make a modest map from scratch using D3 and TopoJSON (by d3’s Mike Bostock).
Make learning your resolution for 2013 – a roundup of a few online courses of interest to programmers.
Mnemonic major system – a mnemonic technique used to aid in memorizing numbers, but associating a consonant sound to each digit then using them to create words. For example, “meteor” has consonants M, T and R, which stand for 3, 1 and 4.
Java neural network framework – Neuroph is a Java library (Apache 2.0 license) to develop neural architectures. It also comes with a GUI neural network editor.
Regular Expression for UK postcodes – very useful resource if you need to match UK postcodes! I have actually amended it slightly in the project I am working on, because users do not always provide a space between the 2 sections of the postcode, particularly on mobile devices where typing is still a bit slow. So I have changed the space in the middle of the expression to ( )?. Also, in my project, I have added P to list of possible 3rd letter (see comments on blog post regarding N1P postcodes).
What will programming look like in 2020? – an interesting thread with various programmers speculating on what programming will look like in a few years from now.
Daydream: Interactive Screen Savers in Android 4.2 – Daniel Sandler takes us through a new Android 4.2 feature called Daydream, with code example.
Gun Deaths vs. Gun Ownership visualisation – this blog article explains how the author used Wikipedia and R to create graphs that could answer the question “is there a correlation between gun ownership and gun deaths”. With R code and source data files.
Data mining conferences – a list of data mining conferences for 2013.
Things I wish I learned in engineering school – advice by Rick Cattell, who has worked at Xerox PARC and Sun Microsystems
Is the older generation getting tech-savvy? – interesting article from the BBC News website, with food for thought for hardware and software designers.
Data visualisation job board – a good place where to look if you’re after a job in data visualisation, particularly using D3
UC Berkeley Course Lectures: Analyzing Big Data With Twitter – a semester full of videos
The Guava libraries: Google’s Java core libraries for collections and other goodies – well worth having a look for Java developers, the library includes collections, caching, primitives support, concurrency libraries, common annotations, string processing and I/O
When a user flings a Map on Android, the MapView carries on scrolling after the user has lifted the finger from the screen. Unfortunately, there is no method or event listener to know when the map has stopped scrolling but with a simple custom MapView, you can work it out.
As many people with a Windows computer in the 90s, I have spent several hours of my life playing minesweeper. Over the years, I have come up with variations of how I would like to play the game but done nothing about it… until a few days ago.
Over the week-end, I prototyped and coded a variation, based around bubbles rather than squares, and released it as a free game for Android yesterday.
The game works on Android 2.2+, and is designed for both phones and tablets. It can be played in both portrait and landscape mode, though, on a phone, you will get the most of it in portrait mode. The screenshot above is in landscape mode on a tablet (Sony Tablet S).
Download Bubble Minesweeper for Android for free.
As I’m currently studying for a BSc in Mathematics with the Open University and I am trying to teach myself Common Lisp, I decided to try and create a function that outputs the Fibonacci nth element. Here it is, I think is a nice example to illustrate how recursion works in Lisp.
(defun fibonacci (n)
((> n 1) (+ (fibonacci (- n 1)) (fibonacci (- n 2))))
((= n 1) 1)
((= n 0) 0)
(T (print "invalid number"))))
Up until a few months ago, I never created an Application class in Android because I didn’t see the need, after all Android manages all that, right? Then I realised I had a lot of duplicated code in my onCreate() methods for my Activities.
While trying to understand why \b@ wasn’t matching all words starting with @, I came across this Regular Expression Tester and it helped me work it out. So if you’re stuck, get in there, and make sure to use the “replace with” field so you can actually see matches.
In my case, I needed to match \B@ instead of \b@ (non-word boundary instead of word boundary).
Yesterday, I attended the first day of Apps World in London and it was very interesting. I did spend a lot of time in the Developers’ Corner and was inspired in particular by two talks.