author profile image

Matt Reid

Solo Entrepreneur | Lead Software Architect

I have been writing some data import programs recently and have had trouble with foreign characters in a text file I was reading. The solution is in fact very simple. To create a BufferedReader for a file in UTF-8 format, simply write the following: new BufferedReader( new InputStreamReader( new FileInputStream(file),...

Elasticsearch is a distributed, scalable nosql search server built on lucene. It can use plugins(rivers) to hook into changes made on other databases such ascouchdb.  There is currently no “official” river for mongodb and elasticsearch but aparo has written one and it is available on hit github repo. Here is...

I was recently importing data from various sources, some of which had some non-standard (unicode) characters. In particular I wanted a way to remove the accents from french letters from á to a   I stumbled across this code which does the job perfectly: /** * replace accented characters with...

Just a quick tip for finding a folder in linux. Replace mongo with the name of the folder you are searching for:   locate mongo | egrep "/mongo$"  

Recently I have been getting the error “application not installed” when trying to install apps to my sd card. This is just a quick post to share my solution to the problem. The Solution Plug your phone into your pc via usb cable or mount the sd card and delete...