Blog archives

Tweakers zet statistieken in titelbalk

tweakers

Het was me eigenlijk nog nooit opgevallen dat Tweakers statistieken in de titelbalk zet. Eigenlijk best leuk, en zeker toepasselijk voor een hardcore technologiesite als Tweakers.

Had ik trouwens ook al eens gezegd dat de nieuwe Pricewatch van Tweakers fantastisch is? Nee? Nou bij deze dan maar.

Blog archives

The Twol: now available as a terminal (cli) command

cli

I wrote a little shell script that enables you to query The Twol (you know, my little pet project that provides instant information on lots of things) from the terminal (command line interface).

So, now you can do stuff like:

» Translate sentences from English to German (and many other languages)
twol translate en de I would really like a nice cold beer

» Get the weather for virtually any city in the world
twol weather St. Petersburg, Russia

» Check if a Twitter username is still free
twol twitterusernamefree stevejobs

Right from the command line (under Mac OS X and Linux at least :)

You need PHP to run the script. In Mac OS X that’s included out of the box, under Linux you might need to install php5-cli or another package with a similiar name.

Then you can simply:

  • download the script
  • copy it somewhere in your $PATH
    cp twol /usr/local/bin
  • make it executable
    chmod u+x /user/local/bin/twol
  • have fun!

Photo credit: *n3wjack (CC-BY-SA)

Blog archives

Kaart van kringloop (afvalscheidings) punten in Utrecht

In sommige delen van Utrecht wordt het oud papier wekelijks opgehaald, maar helaas is dat dus niet overal het geval. Daar moet je namelijk je afval zelf scheiden bij zogenaamde kringlooppunten waar bakken zijn voor oud papier, glas en soms textiel.

De website van de gemeente bied wel een overzicht aan van alle kringlooppunten in de stad, maar helaas zijn dat alleen maar de straatnamen en is er geen kaartje. Misschien dat u een echte Utrechter (nee, geen Utrechtenaar) bent en al die straten uit uw hoofd kent, maar ik niet. Vandaar dat ik dus maar zelf een Google Map heb gemaakt met alle kringlooppunten in Utrecht Oost. Vul gerust aan, of maak uw eigen kaartje met uw favoriete kaartentool.

Naschrift: met dank aan ‘mulder’ hieronder in het commentaar: er is wél zo’n kaartje te vinden, via de website van GemGids. Onbegrijpelijk dat de gemeentesite daar geen linkje naar heeft geplaatst op de eigen site.

Kringloopstations Utrecht-Oost weergeven op een grotere kaart

Blog archives

Music

I’ve made some music over the years. Here you can listen to some of my tunes. Note all this music falls under a free license, so please feel free to download stuff, share it with your friends, remix it, etc, as long as keep the terms of the license in mind.

(more…)

Blog archives

Kabouter Wesley

Als u nog nooit heeft gehoord van Kabouter Wesley dan mist u iets. Deze grofgebekte, slechtgetekende en agressieve kabouter (die u ook kan volgen op Twitter trouwens) is namelijk ook nog eens bijzonder grappig. Kijkt u maar zelf.

En kijk dan gelijk naar de rest van alle filmpjes op YouTube en ga voortaan elke maandagavond om 19.40 kijken naar België één, want dan zenden ze nieuwe afleveringen uit.

Blog archives

Fuck you Apple

MA591

Het oplaadkabeltje van mijn iPhone was kapot. De draadjes bij de USB-aansluiting lagen bloot, en om erger te voorkomen had ik er een stukje ducktape omheen gewikkeld. Maar dat is natuurlijk geen oplossing: ik had een nieuw kabeltje nodig, en mijn iPhone viel nog onder de garantie dus ging ik naar een lokale T-mobile winkel om het probleem uit te leggen. Ik dacht: dat is simpel, je laat het kabeltje zien, vult een formuliertje in en je krijgt een nieuw kabeltje.

Helaas, zo simpel is het allemaal niet in de wonderlijke wereld van Apple. De jongen aan de balie vertelde me dat het kabeltje opgestuurd moest worden, ze zouden kijken ‘of het mijn schuld was of onder de garantie valt’, en dat ik binnen anderhalve, maar misschien ook drie weken een nieuw kabeltje zou krijgen. In de tussentijd kan ik mijn iPhone dan niet opladen of bestanden overzetten, maar ik kon eventueel wel elke dag langskomen bij de T-mobile winkel, mijn telefoon afgeven, en dan zouden zij ‘m opladen terwijl ik ga winkelen.

De jongen was het helemaal met mij eens dat het niet bepaald goede klantenservice is dat ik mijn telefoon drie weken lang niet kan opladen. Maar, dat lag niet aan hun, maar aan Apple. Bij alle andere telefoons mogen ze gewoon een nieuw kabeltje meegeven terwijl de oude ‘in reparatie’ gaat (in de prullenbak dus). Apple had als enige besloten dat zo’n beleid toch echt te ver ging en koos in plaats daarvan ervoor om mensen drie weken lang zonder telefoon op te schepen (want zoals u misschien wel weet is de batterij van de iPhone na een dag wel leeg).

Derhalve dus, Fuck you, Apple. Als m’n contract afgelopen is koop ik die andere telefoon wel.

Blog archives

Backup your tweets with BackupTweets

logo

Twitter is a typical example of a cloud service. Unfortunately, having all your tweets in the cloud instead of on your hard drive has a large drawback: things can go wrong. A few days ago T-mobile subscribers lost all of their data because of a large server outage at Danger, a Microsoft subsidiary. Something like that could happen at Twitter too, meaning that all of your beloved pieces of 140-character poetry are gone.

Furthermore, Twitter has an artificial limit in place that limits you to viewing your last 3,200 tweets. I’m an avid user of Twitter myself, and seeing my number of tweets rapidly reaching to the 3,200 limit i set out to do something about it and backup my tweets.

There are several solutions for doing this. But many of these didn’t fit my needs. Most of them require you to enter your username/password, which isn’t a very cool thing or are a bit clunky in their user interface.

So, i wrote something myself called BackupTweets. It’s completely open source (GPL-licensed), so you can download the whole package and run it from your own web server. The only thing you need is a web server running PHP.

You simply enter your username/password and press ‘GO’. The application will fetch all of your tweets in their original format (straight from the API) and save them as a big JSON file (for archiving and later processing), but also as a handy HTML file.

If you’re comfortable with entering your username/pass you can check out the demo. If you’re not you can download the whole package as a zip or check out the source code directly from Google Code.

Blog archives

Introducing…The Twol

twol

Read this announcement in Dutch.

I’d like to introduce you to a little project i’ve been working on for the past time. It’s called The Twol and it’s a new way to get all kinds of instant information using a command-line like interface on the web or using Twitter.

How does it work? The Twol works by entering simple commands, either using the interface on the website or by sending tweets to @twol on Twitter. Take a look at the screenshot here below for an example:

twolexample

Currently there are around 20 commands, that you can use to..

If you speak Dutch you might also enjoy some commands from my art site, 365 DAGEN HAY, including dooddoeners, onbegrijpelijke moppen, de Nimweegs vertaler and of course the Wilders citaten generator.

You might ask how this differs from some of the functions from Google. Well, Google always returns search results, which might not be the thing you’re looking for when searching for the current weather in Rome. Furthermore, there are many other commands that might not be the first result on Google. Of course Google search results don’t integrate in Twitter.

In that sense, The Twol is more like the classic command line or an IRC bot, with the difference that you don’t need to leave your browser or Twitter client to get quick information.

Note that when using Twitter, it can take up to 20 seconds to get a reply back. This is a result of the way Twitter works, unfortunately i can’t do anything about that. If it does longer than 20 seconds though, The Twol might be broken. Please let me know so i can fix things :) Of course, the website works instantly.

Of course, this is all still very much in beta so i’d like you to test the Twol and give feedback and what works, what doesn’t work, and what commands you’d like to see added (if you’re a little technical, you might be able to write your own commands in the future). Right now you can already hack a little bit using The Twol’s API.

You can give feedback using the comment form here below, by mailing me or of course by using The Twol itself.

Have fun!

Blog archives

Reaction 1.0 released

reaction

My niece needed a piece of simple software to measure reaction times for a school research project. Apparently, it isn’t that simple to find a simple tool to accomplish that, so i made something in an afternoon that runs in a browser she could use.

The reaction test goes like this: after clicking ‘start the test’ ten random items appear, either a small image or a sound. You then need to press the spacebar as fast as you can. After the test is over a scorecard appears with your reaction times in miliseconds.

The application should work in Firefox, Opera, Safari and Chrome. I haven’t tested it in some other browsers (*cough* Internet Explorer), so if it doesn’t work try Firefox.

Try a demo, get the code here as a zip or check out directly from Subversion.

Blog archives

Geert 2.0

wilders

Het waren vandaag weer algemene beschouwingen. En dan kun je er zeker van zijn dat je in ieder geval bij één kamerlid kan lachen, en dat is natuurlijk Geert Wilders. Zijn toespraak tijdens de algemene beschouwingen was wederom een klassiek voorbeeld van Wilderiaanse moslimhaat, xenofobie en plat populisme.

Geweldig materiaal natuurlijk voor mijn Wilders citaten generator! Daar zitten nu twee keer zoveel zinsdelen in zodat er meer dan 9,063,040 combinaties mogelijk zijn. Want in zijn toespraak zaten weer werkelijk een paar pareltjes:

  • Maar ze gingen toch linksaf. Omdat hun ideologische TomTommetje al sinds de sixties staat afgesteld op ‘linksaf’.
  • De enige route die de PvdA voorstelt is om een paar extra rondjes te rijden op de grachtengordel.
  • Goed nieuws voor het CDA. C-D-A, dat inmiddels staat voor Christenen Dienen Allah.
  • Als onze nieuwe Nederlanders zo graag hun liefde voor die zevende-eeuwse woestijnideologie willen tonen, doe het maar lekker in een islamitische land, maar niet hier, niet in ons land.