Sunday, June 22, 2008

using the wiimote as joystick/mouse for openmsx under linux

You will need a working bluetooth system on your PC or laptop. I won't describe how to do that :)

cwiid

This is a library for wii interfacing via bluetooth. It allows to map wii axes and buttons on the X mouse or buttons via a userspace input driver called "wminput". This driver is controlled via a simple configuration file. It works with a set of plugins that provide various forms of translation of wii bluetooth events to axes and key/button events.

1) wiimote sends  an event via bluetooth
2) a wminput plugin (as configured in the config file) handles the event and translates it to an axis or button/key event
3) the config file specifies how to map this axis or key on a mouse or joystick or button

Friday, June 20, 2008

evening sun, leaf





(click on the image to enlarge)


nikon d300 •tamron 17-50 f/2.8 • © 2008 Joost Yervante Damad

Prev
Next


f/5.6 leaves, sunset





(click on the image to enlarge)


nikon d300 • tamron 17-50 f/2.8 • © 2008 Joost Yervante Damad

Prev
Next


Saturday, June 7, 2008

erlang parse simple config file

In erlang there is a simple way of making config files, just use file:consult/1.
It parses a file that contains erlang terms terminated by a dot.

Given this input file:


{hello, world}.
foo.
42.

It can be used like this:

file:consult("test.txt").
{ok,[{hello,world},foo,42]}


neat eh?

last.fm rocks!

I already wrote a review (also in Dutch) of last.fm some time ago, but I have to praise it again as it works so amazingly well!

I've been listening to my Loved Track Radio the last two days and it just makes me so happy listening to one super song after the other.

If you haven't tried it yet, be sure to give it a try. I'm not a big fan of flash but the flash player on the website works just fine.

Tuesday, June 3, 2008

sluimererwten? suikererwten!

Van de week de eerste gestoofde sluimererwten gegeten. Altijd heel lekker.
Ik heb ooit eens geprobeerd van erwten te zaaien van Aveve, maar dit was geen succes. Dit zijn duidelijk erwten gericht op zo veel mogelijk opbrengst op zo weinig mogelijk tijd.
Als hobbyist is dat niet ideaal.

Neem dan de suikererwten van  De Bolster veel liever. Dit is een erwten soort met een oogst die veel toleranter is van tijd. De erwten zijn ook nog lekker als ze al iets langer hangen, en ze komen ook veel meer verspreid over de tijd aan de plant! Als bonus zijn het ook nog eens biologisch-dynamische zaden.

Een aanrader.

evening sun grote nete (HDR)





(click on the image to enlarge)


nikon d300 • tokina 12-24 f/4 • HDR, 3 exp • © 2008 Joost Yervante Damad

Prev
Next


Monday, June 2, 2008

wii fit muscle table & combination table

Those of you who have wii fit will know that the game shows which muscles or parts of the body are trained by which exercise. However if your memory is as fine as mine, especially when exercising, this information doesn't really stick. Same with the suggested combinations of exercises.

In order to make this information readily accessible, I made two tables for your download pleasure:wii_fit.pdf.