Hardware stores for the electronics enthusiast

This is just me linking to my nearby local stores that I’ve gotten recommended. I’ll revise the list when I’ve experienced these.

Malmö

At Jägersro Center the local electronics specialist Bejoken is joined by almost-an-institution Elfa (Jägershillgatan 20. Open 8AM-6PM Mon-Fri).

More inner-city access can be given by Electrokit at Södervärn. They’re open daily at 10-16, according to their website. None of my sources have been there.

Copenhagen

Brinck at Nørreport station get a review in MitKBH. They are quirky and old-fashioned in their ways, but run a good supply.

RS online also has a Swedish website. Looks very promising.

Please post your tips for shopping area electronics.

Hackmeetup notes: Bubble Bobble theme song on my Arduino piezo

Hackmeetup last night was a new attendance record.

It also featured Mark saying “I’m finished with this project!”, again. A Bluetooth scanner project, which was using Rhino to wrap Java APIs, again.

There were some new faces, and lots of electronics know-how in the house. I learnt a ton from Micke, who show-cased his company’s home automation product: a dimmer for your lights. And also an RFID reader which was autonomous; it had its own network cable and all. It’s out was sending xPL messages to the network, like “if you, the automated lamp, is off, turn on, if not, do nothing”. (Cave: My loose interpretation of this might be off.)

I continued my investigations into the Arduino kit I bought at Reboot. The thermistor and the photoresistor got some exercise, and the piezo was used to play sounds, and soon after that we found a piece of software that Clay Shirky had been in on making, which allowed us to write sheet music notes with a duration. Thus armed, we set out on a chase after the Mario tune. I wanted the sounds when we enters the caves, but David found the better song: the Bubble Bobble theme. Looking at sheet music, coding notes, took a while. But it played. I have a rotten video about it here.

Morgan took pictures with a real camera, and I guess he’ll link to them sometime.

PS: I was in a co-worker’s dream last night “You were talking in Italian with a Spaniard.” The dream had vampires in it, too.

Hackmeetup on Javascript mini-report: RFID on Rhino

This past Tuesday, we ran another Hackmeetup. Same great location, same great time.

Mark ran a talk about Typography on the Web for an audience of three.

For the hardware experimentation session, Carl had left, so it was Mark, me, and David, and we all worked on the same project. Mark had brought a USB-connected RFID reader of the Phidgets brand, and the idea: Use Rhino to wrap the Phidgets Java API to the RFID reader in a JavaScript, so we could… script the thing.

Update: Physical.js is the software we wrote, now published under MIT license.

We printed out the Javadocs for the API, and began laughing at some of the names: getLEDOn(), getAntennaOn(). Then we whiteboard-sessioned up some simpler, JS-idiomatic names, and had our wishlist. Almost cheating: Rhino has __defineGetter__ and __defineSetter__. Then we scrambled to find out how Rhino’s Java-adapting mechanism really worked. Great fun! Mark was the only one with the Phidgets hardware and software platform installed, so he was typing what me and David sent to him.

Prototyping with Rhino is quick. Soon, we were able to read the RFID card that Mark brought, and also a keychain fob I had with me. When we had 30 minutes until the trains went, Mark said: Let’s also hook it up to chat Jabber! He installed an OpenFire XMPP server on his machine, created a “rfid” account, and had it send a message onTagEnter and onTagLeave (enter/leave sounds better than gain/loss: we’re web developers…). Then he took an extra step and made chat commands to enable/disable the LED and antenna.

We cheered. We’d done it all.

Conclusion: Working on the same project is very productive. This was the first time we had a theme, two speakers, a dropped talk, and gotten stuff Done and Ready and the end of the night. Also: snacks. Healthier snacks are better, so next time, let’s up the ante.

Hackmeetup, on Javascript, July 22

Hi friends,

This coming Tuesday night, July 22 we’ll deal with Javascript. It’s thus a theme. And, no less than two people asked to make presentations:

Morgan Roderick (from Gazebo) explains Event Delegates

Mark Wubben (sIFR lead developer) will do a short version of “Bringing Typography to the Web with sIFR 3

Location: Västergatan 23, Malmö, that is Hypergene’s offices (ring its door-bell). From 19.00 onwards.

EuroPython 2008: My little log

This is an undetailed log of goings-on and other inspiration at EuroPython 2008, which took place in Vilnius, Lithuania (the southernmost of the Baltic countries).

Arriving in Vilnius, which has an airport the size of a thimble, we started into the city in a cab. Cab driver tried to upsell some prostitutes. We were more interested in his anecdotal mini-review of cities:

Moscow, very dark city, very bad people. Here? No problems. Nice little village. … My children can play in streets here.

We get to the small hotel Apia, in the old town. The desk clerk girl gives us a room key, and we climb the stairs, and find that the folks in the room have yet to check out. We are “early”. So, we stashed our bags in a small compartment behind the desk clerk desk (which incidentally only had room for a small bed), and walked the 10 minutes to the conference hotel.

The old town reminds me of a worn-down Visby. Local posters for events range from to Euro-regular to super-cool. A music event poster had remixed a medieval painting of three riders, adding a disco ball to one horse, a cauldron of mushrooms to its rider. One of the horsemen carried a boombox and a gold chain. Very classy execution.

The conference space at hotel Reval: pro. Everything was geared up, rooms were plentiful. The service was immaculate. When I needed to print a PDF document from my USB keyring, it was done for me faster than I could’ve done it myself.

The EuroPython time-slotting of talks: Merciless, in a good way. No speaker is allotted more time than planned. This bit one speaker: Mike P, who presented the interesting SnapLogic framework.

There is a BarCamp/Open Space track, which meant I got to sit in a “JavaScript for Pythonistas” session, talking about JavaScript. That had the upside of one Swedish guy asking the question: “Will you release that?” about some code Isak described. “We hope to do so” was the diplomatic answer. That session was started by Mr Jonathan Fine, who did a smart roundup of who was in the room, what they were interested in, and how we could partition the group smartly, so as to have good subgroups.

By coincidence, merely, we met people we’d met before, Maciej (aka “Fijal”), Jan K, and Grono-Krzysztof. Good clean networking fun. When I say “we”, I mean me and Isak, my colleague.

xFrac (name comes from: xUnit, and “frac” meaning “fraction” — something smaller than a unit) was a testing idea, introduced by Mr Jonathan Fine. It included the JSON subset XSON (which went something like):

['a',{b:'c'}, 'd'] -> <a b="c"><d/></a>

A way of expressing (X)HTML using a tighter format.

Tuesday: Psyco guy: “I just want to go back to PyPy.” He’s maintaining this pre-PyPy optimized C code that has to take care of all corner-cases of Python. (Easier than doing the same for Ruby, but that’s not saying much.) Lightning talks.

Hans Rosling (Trendalyzer, Gapminder Foundation) is a very good speaker: active, and explains things clearly. Not afraid of having opinions, either. He mentioned the SDMX data/metadata format, which seems like a super-complex notation.

Wednesday, final day of EuroPython. I got drafted to “time a speaker”, making sure no schedule over-runs got in the way of the schedule. My speakers were simple to time: tight talks, short questions period.

Thursday, sprint day 1. Me and Isak and Michael Moutakis (Swedish guy, answering the boring question What-do-you-do with “I’m a bureaucrat”.) set out making something “a terrain map of source code”. Terrain map, meaning that “a place should stay in roughly the same place on the map over time”. We wanted to build it using SVN metadata. One of the Launchpad men pointed me to the bzr-svn plugin to Bazaar 1.5. (I tried installing it, but foundered on the plugin.) Thanks!

Me and Isak would parse the SVN metadata, and Michael would use the PIL (Python image library) to create a bitmap image to visualize the data. A single empty line somewhere thwarted us.

Friday, sprint day 2. We continued our battle with the empty line, and grew more and more confused about the dump format. Isak nailed the empty line problem as we were landing in Copenhagen, later that night.

Got home. Beat. Great conference.

Reboot 10: Free Food?

Best of Reboot 10, for me, was Conversation: Free Food?, which was inspired by a format from BloggerCon.

15 min TED Talks video to watch: Michael Pollan on Botany of Desire. Good presenter. Good ideas.

On the Conversation’s page, I summed up what was said. Read that. And then Google a lot, and you might be able to circle it in. Perhaps the great thing about the session was its density? So much smart and interesting in so short a time-span.

To you others in my extended reboot family, I extend my thanks for this year’s excellent conference. When I find a good way to format my thoughts about Reboot 10, I’ll post here.

Thanks, Telia for reminding me about Nix.nu

Nix.nu. Nix is Swedish for “Nope”, and also the name of a registry, with which you can register your phone number. Call 020-27 70 00 from the phone you want to have registered as “not callable for marketing”.

Instructions: How to register with Nix.

Bonus reflection: Is direct tele sales a dying art form? More and more lackluster for each botched call, it seems.