Archive

Archive for April, 2010

SPSS syntax: define numerics, strings and multiline comments

April 15th, 2010

In SPSS you can program datasets in the SPSS syntax language. Unfortunately a lot of people working with SPSS do not really know how to use these syntax commands. A common way of using syntax is just do a “copy/paste” but barely knowing what the code really does. In order to solve this issue these series of SPSS syntax tutorials show, and explain how SPSS syntax can be used.

This tutorial is about how to define multiline comments, numeric and string variables in SPSS syntax code.

Read more…

programming , , , , , ,

Getting started with Android development using Eclipse

April 13th, 2010

Since Marthijn is having his new Android phone we decided to discover Android developing with the free IDE Eclipse. It took some time to get Eclipse working. We followed a Hello World tutorial from the Android website which helps you quite along.

My first Android app

Read more…

programming , , ,

Free SPSS alternative: GNU PSPP

April 9th, 2010

I recently do quite some work in SPSS, which is a program used for statistical analysis. A license for SPSS is quite expensive but there is a cheap solution as well…

Read more…

Software , , , , , ,

How to remove the Apple logo watermark from iDVD menu

April 7th, 2010

I was quite annoyed by the Apple logo watermark on every DVD menu I made with iDVD. It turned out that removing is was suprisely simple.

Apple logo in iDvd menu

Read more…

general , ,

Fixing mysqldump error: access denied for … when using LOCK TABLES

April 5th, 2010

I use the tool mysqldump to backup my databases today I wanted to backup a database but the following error occured (The command backups the database to the gzipped mydb.sql.gz file):

$ mysqldump -uuser -ppassword -hlocalhost mydb | gzip –best -c -f > /root/backups/db/mydb.sql.gz
mysqldump: Got error: 1044: Access denied for user ‘user’@'localhost’ to database ‘database’ when using LOCK TABLES

Read more…

general , ,

Finally an iPod speakerdock: the JVC RA-P50 (review)

April 3rd, 2010

For some time I wanted to have a iPod speakerdock so I could listen to my iPod in the kitchen and bedroom. For the speakerdock I had some requirements in mind:

Needed requirements:

  • FM radio (I like to listen to the radio sometimes)
  • Compact size (I do not want to carry a heavy device with big speakers around)
  • Work with the iPod Nano 3rd generation (mine) and the iPod nano 5 using the 30-pin connector
  • Priced less than 100 Euro

Optional requirements:

  • Run on batteries
  • Charges iPod if docked

iPod nano 3rd gen docked in the JVC RA-P50

Read more…

Gadgets , , , , ,

Installing Ruby on Ubuntu Server with Mechanize gem

April 1st, 2010

I wanted to use Ruby on my server for several scripts (one of these uses the Mechanize gem). It turned out it was quite some mission to get this done. Therefore I wrote a small tutorial so you don’t have to spend so much time in finding solutions.

FYI, Mechanize is a library which simulates a browser, including history, forms etc. Quite useful for coding crawlers, but as well for automated form submitting.

Read more…

programming , ,