Posts Tagged ‘FSCONS’

FSCONS video: One Wire Sensor Networks

Saturday, March 19th, 2011

Videos from FSCONS 2010 has begun cropping up on vimeo.com lately, which means that I have gotten the chance to see the talks I missed during the actual conference, when I was too busy downloading videos from SDHC cards to disk.

I’m sure glad that I had such a great team of people handling the task of recording, so that my “managing” of them was entirely unnecessary. You guys (pesa, coypu, bumby) are the best.

Anyway, I just finished watching the “One wire sensor networks” talk by Mattias Wecksten, and I have to say, I got an urge to try that stuff out. The video is about 50 minutes long, but well worth the watch if you ask me.

The idea is that you have a central system, with some logic, and to that system, via a simple serial bus you attach sensors and actuators (umbrella term: “nodes”).

And since these components are meant to be cheap, you could attach many of them. Like for instance, outfitting an entire house with these little nodes.

Since the central system is an ordinary GNU/Linux system you have all the power of timed events (through cron or at), and all the logic that bash, perl, python, C or [INSERT YOUR FAVORITE LANGUAGE HERE] can provide you with.

And then you have the sensors, which will respond to requests for reading, and actuators, which will do simple stuff you tell it to do (like switching something on or off).

Mattias did speak a little about the protocol being used over this one wire, but, as you will see, you won’t actually need to learn that protocol, or even know how to interact with it, to be able to create and use your own sensor network.

A thing which really warmed my heart about this talk was that Mattias took the time to speak about integrity and security. I like it when people don’t just assume things will work out for the best. It is reassuring to know that there are people out there who actually think about such things.

I’ve never been much of a hardware guy, I likes me sum programming y’know? But this seemed so ridiculously easy that I felt that even I could probably succeed in creating something useful with this.

:wq

Introducing NightSky2

Saturday, March 19th, 2011

I have had a small hobby project in the pipe for a while now (several actually, I am very good at starting new things, and now I am working up the skill to actually finish them as well), and now I have finally gotten around to finish it.

It has been near completion for a while, but I managed (two times that I can remember) to find fault with it, and then tear it all down and start anew.

None of this matters now, for now I am going live. I will get around to setting up a mercurial repository on bitbucket for it, but for the time being it will be made available in The source is available through a mercurial repository at bitbucket.org as well as through tarballs and zip-archives.

So without further ado, I give you: NightSky2

So then, what is NightSky2? It’s an homage to a website that taught me the (very) basics of identifying constellations in a very pedagogical way.

When I tried to find it again last year, I found that I couldn’t. It had disappeared off the net. It made me quite sad, because it was truly a great introductory source of knowledge, and I wanted to show it to a dear friend of mine.

Scouring through the Internet, I finally remembered something that mk told me one morning on the ride in to FSCONS about a site named archive.org. I found remnants of it there, the latest (partial) working set having been mirrored in 2008.

But it gave me enough of my waning knowledge back to be able to build a site of my own, so… here we are :)

Hope it is of use to someone.

Update: Added link to repository.

:wq

FSCONS 2010

Tuesday, November 9th, 2010

After couple of months worth of meetings, weeks of planning and days of execution, FSCONS 2010 has come to an end.

I would lie if I said that this weekend hasn’t been stressful, but as last year, and the year before that, seeing the smiles on the faces of all the visitors, and the conversations sparking up between speakers and visitors, or by self-formed groups inspired by  a recent talk, and all the volunteers breaking their backs and all of it coming together in seemingly perfect harmony, it makes it all worth it.

Thank you all, from Jonas, hesa, razor, Marcus R, ljo and all the other people I am probably to oblivious to even know about.

Thank you CoyPu, pesa, and bumby, for doing all the hard work and making my job so easy (and thanks for forgiving my brief temper-flurries).

Thank you all the volunteers which I never had the chance to really map the names of.

And of course, thank you, all the speakers and visitors.

All of you helped to ensure that FSCONS2010 was the best year yet, and I am proud to have been a small part of it all.

Although, with me running around super-stressed out (I worry, so that my team wouldn’t have to), I am glad I got the chance to meet and, however briefly, speak, with gryps75, ben72, Klara Tovhult, Christina Gratorp and Michael Christen.

The two, out of 44, talks I managed to attend, was both awesome!

Andreas Nilsson held a most entertaining presentation about how to create a poster in 45 minutes using only free software and free content (fonts, stock images, the lot). I have always found him a fun guy, but he is truly an entertainer!

Michael Christen presented YaCy (Yet Another Cyberspace), which heavily summarized boils down to being a software for setting up and contributing to a de-centralized search engine. I cannot do the awesomeness of it justice, so just go to http://www.yacy.net/ and check it out, oh and yeah, SET UP A PEER OF YOUR OWN!

I’m sure I’ve forgot something, or someone… I do apologize, my mind and body still isn’t entirely back to normal after the weekend ;D

Prepending text to a bunch of files

Thursday, June 10th, 2010

Say you have a project, say it is LaTeX, and that you intent to publish the final product.

Say that you have an upcoming deadline, and you wish the publication to be printed and available at a rather fine conference.

Say that you enter that project late in the game, and (stupidly) don’t spend a thought on the source code license, because there are not much time left until the deadline.

And then, after the deadline, say that there are some people interested in said source code. Since the final product was published under a nice license, the intent was of course always to have the source code that way as well, it just… kindof, slipped between the chairs.

So there we are, source code without any license notice of any kind. What do?

(Obviously the answer is to get a license header into the files)

Say you are lazy. Manually adding those two lines of license data, even if only to a meager count of 15 files, is a chore you’d rather avoid.

You might start experimenting with cat for instance something along the lines of

cat license somefile > somefile

You realize that that approach is full of fail, but, if you’re in luck, you work in a pretty cool place, and get to have pretty cool work buddies. Work buddies which are pretty good at wielding bash, and concoct stuff like:

for f in *.tex; do (cat license; cat $f) > ${f}.new; mv ${f}.new $f; done

The result, finally, speaks for itself.

FSCONS 09

Wednesday, November 18th, 2009

What a conference it was. Like last year, I volunteered (well actually, this time I voluntarily volunteered, unlike last time when hesa volunteered me ;) ) which resulted in me not seeing much of the talks, but we managed to tape most of them, and those videos will become available through, I guess youtube, as well as our website as soon as they have been transferred and recoded (and licenses have been thoroughly discussed with the speakers).

In the meantime, some of the slides (we are working on getting them all) can be found at slideshare.net/fscons2009, and photographs from the conference can, among other places, be found here.

Just like last year, I walked away from the conference bruised, a bit battered, VERY tired, and extremely happy. I finally got to meet some people I’ve talked to or only heard about online and made some new friends on site as well. It was all just great.

I’m not going to lie, there where some hiccups, not everything went smooth, BUT, and it is an important but, there is no doubt whatsoever that we are learning, improving, with every year.

The social event during Saturday evening, where buses relocated everyone to Berg 211, and Berg 211 in itself, and the atmosphere and … yeah, everything this year was really better.

I can hardly wait for FSCONS 2010. It will be fantastic!

In closing: A great big THANK YOU to all the organizers, all the volunteers, all the speakers, and all the visitors, who together made this such a wonderful experience that I am proud of having gotten the chance to be a part of.

See you again next year :D

mmv

Monday, October 27th, 2008

Time to put the spotlight on a utility which I have had good use for twice within the last five days: mmv.

I am unsure about the mnemonic, but it wouldn’t be a far stretch of the imagination to think it stands for multiple move, since that is what it does. It is not a part of the basic installation of Ubuntu (well as far as I know, I have been too lazy to upgrade since Feisty) so you need to install it first (sudo apt-get install mmv).

mmv does renaming based on pattern-matching, but I don’t think (I haven’t really explored it, I found what I needed and didn’t explore much further) it supports PCRE, so it does mean learning yet another regular expression syntax. It is  however rather easy, at least it was for my needs.

Given a directory with a bunch of jpeg images, with numerically sequenced names and (yuck!) uppercase extension (.JPG) I simply wanted to rename them all with the same names, but lowercase extension (.jpg)

$ mmv "Pic_*.JPG" "Pic_#1.jpg"

Rather simple, the asterisk (wildcard) maps to the back-reference #1, my guess is that it supports several wildcards, but that is unverified.

That was Thursday. Today I downloaded a bunch of videos from FSCONS, and decided that the ending -ol in the name, (e.g. TheFutureOfCopiright-ol.ogg) was rather unnecessary, so again I sent mmv into action with

$ mmv "*-ol.ogg" "#1.ogg"

And there you have it.

FSCONS, day 2 + summary

Monday, October 27th, 2008

FSCONS 2008 has now come to an end. FSCONS 07 was good, 08 was better. Well, I can’t speak for the talks, since I only to see two, but behind the scenes everything seemed to go much smoother. The speakers seemed happy, the visitors seemed happy, I know that the staff had some troubles, but I guess it is in their job description to worry ;)

The one great hiccup of FSCONS 08 was that the doors on floor 3 was locked today when we got there. Why? Because. It created quite a racket as the schedule had to be rewritten, moving speeches from rooms on the third floor, and then distribute these changes to all the visitors. And the situation had to be rectified before the visitors left the initial speech at 10:00. It was.

This posed another problem though. It was planned that each track would be assigned two rooms, one being empty while there was a talk in the other. That way each room would be available for cleaning, and preparations for the next speaker, and in the event that the talk did go over time, the subsequent talks would not suffer from it.

The loss of floor 3 meant that each track only got one room to play with, so when the GTK+ team wanted to follow the speech with a little coding session, they had no where to go.

I was standing in the corridor waiting for another speech to end, when a volunteer approached me and wondered if I knew of any room the GTK people could use for a coding session. The obvious question then was if the volunteer had an access-card, he hadn’t, his girlfriend, also a volunteer, had. I redirected them to one of “our” rooms on floor 3. Problem solved.

As I am desperately (and unsuccessfully) grasping for the words I need to express the joy of having been part of all this, I think I’ll just go to sleep, and try to write something more coherent tomorrow or another day.

- Smiling Bandit, signing out (Well, 50% of the Austrian Dreamteam will get it at least ;) )

FSCONS, day 2

Saturday, October 25th, 2008

I am not going to imply that the social event yesterday was too drawn-out, but I will go so far as to say that I got home in a more reasonable time today.

The day has been… in a word… hectic. I might jinx it all, get myself an ulcer or something, but I do like hectic. I was “roaming”, going from presentation to presentation, making sure that laptops where provided and fit for the presentation, and otherwise trying to give the speakers as pleasant a time as possible.

The only drawback with this, was that I only managed to see one presentation, about SkoleLinux. Oh yeah, two drawbacks. The second one: being on my feet, alert and ready to jump to wherever I was needed, took a hefty toll when I actually sat down to listen to the SkoleLinux presentation. I almost fell asleep. And that is such a pity since I strongly like the SkoleLinux  project, and have been fascinated by it ever since I first heard of it.

Anyway, dinner was superb, much better than last year, and nothing points to that this first “real” day of FSCONS08 was anything but a pure success.

Another volunteer dubbed me… what was it? “Smiling bandit” or something, I am not sure if I remember it correctly, or really why he dubbed me that, but oh well, I’ve been called worse ;)

Time, now, however, for bed. One more day to go, hopefully it will only get better :D

FSCONS, day 1

Saturday, October 25th, 2008

The first day of FSCONS 2008 is now officially at an end. I just got out of the shower after coming home some twenty minutes ago.

Registration? Hit some snags (mostly due to enthusiastic visitors who wanted to be registered way earlier than what was expected.

Printer acting up with paper jams? Surely! Three times, at least.

Social event after registration? Bloody brilliant. No offense to FSCONS 2007, but 08 has pretty much surpassed 07, even before we got to the main tracks.

Good job everyone, very good job :D

Firefox <3

Friday, October 24th, 2008

I will admit, there are problems with Firefox. There are many a site with image “slideshows” where each image is the link to the next page etc. Saving an image from such a site can be a real hassle, because some of the time when I right-click, Firefox will make a decision about what context option I want to have, without me ever getting the chance to chose.

So instead of chosing “save image” (which is what I want), it will activate “view image”, or “send image to” (and this option is really too fracking close to “save image” even for manual use), or dTa, or “block images from …”. Basically, all but the action I really want it to take.

As of yet, I have been unable in finding a fix for this, but it is seriously beginning to irritate the shit out of me.

Which brings me to another “flaw”, which I indeed have been able to do away with:

I use my middle-button (mouse) to open links into new tabs. Sometimes I manage to middle-click outside the link, which prompts Firefox to open whatever was in the clipboard memory? into a new tab. Usually without great results (since that is not what I wanted to do)

There is however a fix for this, if you tweak one value in about:config; Set middlemouse.contentLoadURL to false.

Oh yeah, only a couple of hours left to FSCONS. :D

\\o o// \o/ \\o \\o \o/ o// \\o o// \\o \o/