For the saxophone music classes I'm taking, I have some exercises to play along with Charlie Parker records. Because that Bird plays pretty fast, it helps to slow things down a bit. I started with manually slowing down the tempo with Audacity, but soon I couldn't suppress the itch to …
-
-
PHP lint checking multiple files in parallel
When programming, lint checking your source code can be useful to detect low level issues like syntax errors, undefined or unused variables. The PHP command line interpreter has an option
-l
/--syntax-check
to do a syntax check of the provided PHP file, instead of executing it:$ php -l file_with …
-
Running 32 bit executables on a 64 bit machine (Ubuntu Linux)
I recently had this strange problem with running a 32 bit executable on a 64 bit machine. It executed just fine on 32 bit machines and some other 64 bit machine. But on this particular machine I got the strange error message:
bash: some32bitexecutable: No such file or directory
which …
-
Slides of my public PhD defense
I finally found some time to upload the slides of my public PhD defense to SlideShare. It's all in Dutch, but if that's Chinese to you, you still can watch a lot of pretty pictures.
I already tried to upload my slides more than a year ago, but slideshare had …
-
Indentation with spaces and the tab key in Eclipse (3.5 aka Galileo)
Indentation with spaces and the tab key in Eclipse. I've pulled quite some hair on this one and now that I found the solution, I decided to write it down, so I don't have to loose my precious hair anymore.
Everybody has its own preferences, but I like 2 space …
-
Keyboard shortcut for code completion in Eclipse on Mac OS X
Finally! I found how to get the keyboard shortcut for code completion working in Eclipse on Mac OS X. At work, on Linux, I use CTRL-SPACE all the time in Eclipse. Unfortunately that did not work on my MacBook: CMD-SPACE triggers the spotlight search widget and CTRL-SPACE is tied to …
-
Gearman (job queue manager) command line tool: routing the workload to the worker process arguments with xargs
Abstract
Gearman provides a basic command line tool that helps to distribute work from clients to worker processes/machines. By default the worker process can only receive data from its standard input. With the
xargs
tool we can circumvent this and route data to the process arguments of the worker … -
PDF to PostScript conversion: pdf2ps versus pdftops
Occasionally, I have to convert a PDF file to Postscript (e.g. for subsequent processing with some PostScript utility). In the Linux/command line area, I know two options: pdf2ps and pdftops. I also know that one of the two is wonky and the other is better. But because their …
-
Drupal 7 development milestone: issue queue halved in size
Here's an update of the post about the size tracking of the Drupal 7 issue queue I made more than a month ago. January has been a pretty fruitful month for Drupal core development: we hit the point were the critical D7 issue queue halved in size. It reached its …
-
Handy Python profiling analysis with pstats' interactive browser
If you want to profile a Python application, you can get some basic functionality with the cProfile and pstats modules, as described in the Python Profilers documentation. After some curious experimenting, I discovered that the pstats module provides a handy interactive mode. To my surprising, I didn't found any substantial …