BarCampCph Nov 2008 visit

On november 22nd 2008 I paid Barcamp Cph a visit.
In my head: It is a chance to hear about the doings of other programmers in exchange for a presentation yourself will have to give.


Henrik Gudbrand of Gudbrand & Løkken presented his homemade RFID race timing solution made for timing DTU Adventure race.
He impressed me with two things:
– He played an electronic engineer without having any electronic knowledge. Almost not needed, he said. He is a true entrepreneur, who just do it.
– Also Ruby he gave a try. Eclipse had too bad database integration. He found and demoed that Ruby has a ORM tool included, which makes it possible to access the data – from a shell in realtime – as objects instead of relational SQL selects. Is that cool or what? That is worth a WOW :-).
I must have a look at that one day. I wonder if something similar would be possible with PowerShell and LINQ in the .NET world? Probably it would require more work.

Adventure race timing solution

His solution was built using two different MIFARE RFID card readers, that each were check points placed far from each other:
– A Nokia NFC 6131 phone with a MIFARE card reader included. From this phone he also utilized the SMS features to send collected data to a central result database. Cool.
The phone also had a watch included witch makes it possible to make time stamps.
– An Arduino board with some extra RFID card reader hw – could have been a RFID kit from Tinker. By extending the Arduino with a discount phone, you would get both card reader, SMS and watch for small money.

The MIFARE RFID cards has onboard 1K memory. Henrik stored each visit to a check point onto it, so it could be seen if all check points were visited and when.

Programming languages used: Arduino: A C like language – Wiring. Phone: J2ME. Result base: Ruby.

Arduino

Henrik demoed how Arduino can be used in two scenarios:

Quick start: Get a Diecimila board. You connect that to your PC through the serial interface and a USB adapter.

Low budget: Use a PBBB board.

Henrik recommended to use a Switch mode power supply. One should be possible to get for arround 7 Euro.

To the Diecimila he further demoed how to connect LED, LCD and a Wii NunChuck to its IO pins.

Be prepared for a lot of data to process from the NunChuck. :-)

Libraries exists for writing towards LCD.

Programming Arduino was easy.
– Connect the device through its serialport via an USB adapter to a PC.
– Write your wiring or java program, compile and upload.

Links

http://en.wikipedia.org/wiki/MIFARE
http://mifare.net/
http://en.wikipedia.org/wiki/ISO_14443 (RFID)
http://wiki.forum.nokia.com/index.php/Nokia_6131_NFC_-_FAQs
http://arduino.cc/
http://en.wikipedia.org/wiki/Arduino
http://www.arduino.cc/en/Main/ArduinoBoardDiecimila
http://www.moderndevice.com/RBBB_revB.shtml
http://www.windmeadow.com/node/42
http://www.wiili.org/index.php/Wiimote/Extension_Controllers/Nunchuk
http://forums.nxtasy.org/index.php?showtopic=3075
http://en.wikipedia.org/wiki/I%C2%B2C
http://wiring.org.co/
http://www.tigoe.net/pcomp/code/category/category/arduinowiring


Mark Wubben also spoke about Arduino and RFID. His presentation Home Made Ubicomb gave a broader view to possible RFID applications.

He also had a timing solution which was extended with a webcam. Cool.

His solutions was often PC connected. For this purpose it can be convenient to buy one of the lowcost EEE PC’s.

Some solutions made use of wireless bluetooth connections.

RFID, Camera, GPS logger, clock, SMS, bluetooth, WLAN, Lego Robots – seems like creating small intelligent internet connected devises has become as easy as using RAD tools.

Links

http://en.wikipedia.org/wiki/Ubiquitous_computing


M.C. Widerkrantz explained about IPV6. This time it was not the nerded version as last time.

He had one message, that we shouldn’t underestimate: IPV4 addresses will run out of stock/space in 2011 or 2012.

But does it matter? For several years it has been possible to expand the number of connected devises by using NAT translation. In that way several local IP adresses shares one Internet IP address. Often the ISP will split up an address using NAT and again in your private home your router will once more divide the ISP local address into several addresses in your home. No wonder that a fixed IP address costs extra.

The cost for NAT is that the local bandwidth must be shared and it breaks end-to-end connectivity. It seems likes the NAT translation only complicates making Peer-to-peer applications function, but  not impossible.

Network cards can support both V4 and V6 at the same time. If some does not have one of the types, then a convertion can be made through a 6-to-4 tunnel.


Peter Brodersenhad fun with presenting a slide each 30 sec. He had a helper doing timing. Apparently that kind of “giving-only-a-glimse-of-a-subject” has been popular recently. I guess you have to be younger than me to enjoy that. No time for digesting.

Some of the things I did catch was:

Peter is certainly busy picking up the trends and making new ones.


Kim Bach spoke about Drupal. His presentation was about extending Drupal. Using it as an application framework.
He was using a RAD tool for hooking events to buttons.
In more details I didn’t get. It was both a new language, API and development environment. Too much to grasp that late in the afternoon.


Henrik Biering opened OpenId.dk a few days after his presentation. He gave status for OpenId.

OpenId is used for single sign-on (SSO) on the internet. Some other protocols like that are SAML and IdeMix.

In Japan OpenId has been widely implemented and accepted much more than anywhere else. It has even been extended to be sufficient secure for online payment.
They have succeeded within the three segments: consumers, business and government.

With SSO there are two parties: The provider and the relying party. The provider can authenticate a user, when the user is logging on the relying site.

As I understand it, SSO is much about having a wallet and several membership cards.
The provider can have a whole wallet of membeship cards for a user. It can be individual which cards the relying parties accepts. The user can choose to send different cards to a relying party. He might want to show a private membership, a corporate membership, a disguised/anonymous membership or something else.

If you want to implement OpenId, then Plaxo has a good guide.

OpenId comes in two versions: 1.x and 2.x.
In 1.x you need an URI (like http://firstname.lastname.openid.org) as ID.
In 2.x you can also use a XRI or an I-name (like firstname@lastname.com) as ID.

Henrik is certainly the an expert within this field.

Links:


My own presentation was samples from this blog. It was some samples that I thought could be nice to have or know about.
But due to a close exam, I had set the preparation down to low priority. Not good. Must test on my kids next time :-).

Hopefully see you next time.

The End.
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: