Categories
Blogs Bookmarks Computere og Internet Kim Blog (English) Resources Technology

OIO REST: RESTful web services developed by the Danish Public Sector

The Danish Office for IT and Telecommunications (IT & Telestyrelsen) is experimenting with so-called RESTful web services, and I’m very happy to hear that, because this is an indication that something finally is happening again, after years of impasse.

Services for the REST (sry) of us

RESTful web services are the predominant implementation model for web services developed by web 2.0 companies, Last.fm and Flickr are prime examples of services with extensive RESTful web services and APIs (Application Programming Interfaces).

A web service is a software service, or API, that software (application) developers can use to provide functionality to their applications, and thus users. The “web” refers to the fact that the service can be accessed using technology developed for the web, like a standard web-browser.

Other technologies for implementing web services exits, the best known is the web service or (WS_*) stack, often referred to as SOAP. REST is, however, much easier to use than SOAP, because it has a GET based interface, meaning that you can query a RESTful service using simple URIs for instance entered using a browser. REST is also much better understood by commercial web developers in the private sector, and the tools they use, eats REST for breakfast.

Here’s an example: http://oiorest.dk/danmark/veje?q=lindevangshusene

This retrieves the road-code and city-number of the street I live on in XML format, pretty sweet.

What IT&TS has done is that they, two years later, have picked up my idea, so that I don’t have to implement it (well it only means that I’ll never release my own code) ;-).

Concerns that history will repeat itself

I’m pleased, very pleased, and surprised that The Danish Office for IT and Telecommunications (IT & Telestyrelsen) has begun experimenting with such a relevant service, and has actually made some real-word applications available on the web-site.

But! I fear that history might repeat itself.

Something like 3-4 years ago, a sample SOAP service Address Web Service (AWS) was developed by IT&Telestyrelsen, they even had a competition to develop a sample application, and there even was a winner. But AWS never went into production, and the project dropped off the radar, that is until now. It seems that AWS soon will be released for production, and this is great news.

The problem was that I lost faith in AWS, I felt the project had died, so I didn’t really want to develop against it, and I hear the same concerns from others regarding the RESTful services today.

Do we need pseudo-standards like REST?

The RESTful experiments will probably never launch, but with the SOAP/WS_* AWS likely to go into production, we don’t really need them do we?

What we do need is an open and free infrastructure, for instance for eFaktura, it’s way too expensive to use the current providers, so I suggest that the next thing you do IT&TS, is to pick up another of my old projects 😉

In many ways I fail to see the real need for a RESTful service, but RESTful APIs are so much easier to implement than SOAP.

What I’d like to see is light-weight data-formats, like JSON, and JavaScript APIs Google style. The light-weight data-formats are simpler to parse than XML, so I’d love to see a JSON, or similar, version, e.g. something that is closer to the internal representations of data, without going to binary interfaces, even though they’re coming back, for instance through WCF (Windows Communication Framework).

Conclusion: BIG thumbs up! (but it was overdue)

All in all BIG thumbs up to IT&TS for this initiative, keep it up, and stay above the radar in the future, please. We need widely available, and free, services like AWS, and with the competition from Google GeoCoder, which can be implemented with few lines of code – and works with other than Danish addresses, and findvej.dk – that is using it’s own, outdated, copy of data from Kort og Matrikelstyrelsen to provide a nice, URI based service, reviving of AWS, and the new initiatives, were way overdue.

Categories
'i dag' (Danish) Blogs Computere og Internet Frivillig arbejde Hackers Historier/Stories Macintosh Mactopia Resources Technology

Æbletræet.dk fylder 2 år – stort til-held-og-lykke og Elvis har forladt bygningen

Elvis Smoking - By Esben ThomsenI går, den 3die April, kunne Æbletræet.dk fejre sin 2 års fødselsdag. Æbletræet.dk er et Internetbaseret, indholdsdrevet, fællesskabs projekt der startede som en idé om at skabe en begynderguide til Mac, men er endt med at være en af de, ja måske det, største Danske online fællesskabsdrevne indholdsdrevne Internet projekter. Projektet er dog, for længst, gået skridtet videre, og indeholder nu artikler om meget andet end Apple.

Historien om Æbletræet, eller MacWiki som det oprindelig hed, er dokumenteret på Wikien, hvilket er ganske unikt, som du kan finde på http://www.theappletree.dk (jeg bruger – bevidst – den Engelske version – da projektet – naturligvis – som nogle af de første – benytter en IDN (International Domain Name) – nogle skulle jo starte, og det blev os.

Ideen til Æbletræet udsprang af det danske forum for Apple fans, Macnyt.dk, en gruppe af faste brugere var blevet trætte af at besvare de samme spørgsmål om og om igen, så det blev diskuteret om man kunne skrive en bog eller lignende.

Fra start af var det klart, for mig, at man absolut ikke skulle skrive en bog, men lave det online på Internettet, og jeg havde noget i baghånden, MediaWiki, det samme system som driver Wikipedia – der er åben og fri software.

Første møde blev afholdt den 3-April-2006, og da jeg kom hjem installerede jeg MediaWiki på min server og oprettede de første artikler.

Der gik noget tid inden de andre projekt deltagere forstod ideen, og indlæringskurven for MediaWiki er ikke just lav, derfor opsatte jeg også et traditionelt forum, som stadig kan findes på http://macwiki.kimbach.org/portal, og diskussionen flød.

Det er fantastisk at arbejde sammen om at producere indhold, og når man kan se at der er mange rettelser på MediaWikis recent changes, så virker det simpelthen ganske inspirerende, og man får lyst til at skrive mere.

Jeg føler det er nødvendigt at aflive nogle myter, da den slags opstår når folk ikke taler sammen.

  • Jeg har ingen ambitioner om at være leder eller bestemme noget som helst
  • Jeg er blevet beskyldt for at tage Æbletræet som gidsel – det kan jeg ikke se – grunden til at vi ikke er på PHP5 – som jeg helt ærligt – ikke forstår er så vigtigt – er at vores udbyder Site5 ikke understøtter det, og da projektet er baseret på gratis og frivillig arbejdskraft, så har det været svært at få ejeren af serveren til at bruge tid til at få flyttet server

Og så et par ord om hvordan jeg fungerer: jeg bliver stresset af at tænke på produktions-problemer, og i påsken forsøgte jeg at opgradere Æbletræet.dk, det gik ikke helt som ventet, jeg bad derfor om, først at få os på PHP5, derefter ville jeg installere MediaWiki 1.12, og så flytte til Gigahost (hvilket jeg ikke tror er så god en idé), hvis man spørger kan man jo få svar, og jeg venter på min frivillige hjælper.

Fundamentalt hader jeg simpelthen drift, og her mener jeg ikke den første installation, men de problemer der – næsten altid – opstår når man skal opgradere serveren – så vidt jeg husker – så har vi nu ikke haft de store produktions problemer – en enkelt gang var vi nede i 48 timer – fordi Site5 havde skiftet IP adresser.

En grundregel – som gælder al drift – er: “if it ain’t (totally) broke – don’t fix it” – på Dansk: “pil ikke ved noget der fungerer, også selv om det ikke fungere helt optimalt”. At dette så betyder at “change” ikke sker, er uheldigt, men det er simpelthen ikke noget man kan byde frivillig arbejdskraft – så ting tager tid!

Jeg har – længe – forsøgt at få vores server opgraderet til PHP5, men igen – frivillig arbejdskraft skal man ikke presse – man må væbne sig med tålmodighed. Tro mig, jeg ved det – for 3 år siden prøvede jeg at køre et del-projekt i min Frivilliggruppe hårdt, det faldt ikke i god jord – og folk hadede det jeg producerede, men jeg producerede! Siden dengang har jeg væbnet mig med tålmodighed.

Efter 2 år kan projektet dog, sagtens, stå på egne ben, og jeg føler at min fortsatte deltagelse i projektet ville betyde en fragmentering af fællesskabet, der – efter min mening – ganske enkelt ikke brug for endnu et Dansk Apple site, og nøj hvor er det imponerende med de nye Apple fora, som i kan se havde vi et Drupal baseret forum allerede for 2 år siden.

Jeg vil derfor, fremover, ikke deltage i projektet som andet end bidragyder, med mindre jeg bliver udelukket – hvilket jo ikke kan udelukkes (pun intended).

Faktisk er det eneste jeg er ked af, at jeg har mistet en fantastisk god ven – det bedste minde jeg har er dengang vi bagte en kage til brug for Dansk Flygtningehjælps 1000 flere arrangement, og jeg undskylder MANGE MANGE gange for Beyoncé, som blev Skypet til dine sarte ører mangen sen nat.

Det sjoveste er faktisk at vi, mest fordi vi havde en åben proces, blev udsat for en domænehaj. macwiki.dk blev registreret af en af den slags personer ,der ikke burde have lov at betræde Internettet, sjovt nok blev navnet jo æbletræet.dk, så fjolset brændte inde med domænet LOL.

God vind kære Æbletræ, det har været fantastisk sjovt! Specielt tak til David, Esben men også Thomas x 2, Wendelboe, Sebastian, Allan, Liv for at have holdt mig ud så længe, noget af en bedrift ;-).

Et par fakta – Æbletræet.dk kører videre, så længe det ønskes. Hvis der er interesse i at bevare navnet, hvilket jeg da tvivler på, så kan det redelegeres, jeg ejer det p.t. I øvrigt sletter jeg aldrig indhold, men da vi ved at dublikeret indhold er noget Google ikke bryder sig om, trækker jeg stikket så snart der er flertal for det.

Jeg er blevet beskyldt for gidseltagning – intet er mig fjernere – jeg er SUPER stolt af at have været med til dette – og det var det jeg kunne få jer med til. Fremtiden tilhører egen-produceret indhold, som man selv hoster og ejer, websitet er dødt! Elvis har forladt bygningen.

Billedet der ledsager denne artikel er en manipulation udført af Esben Thomsen, det er Copyright Esben Thomsen, men jeg håber at dette falder under fair use. Esben kender mig bedre end de fleste, og det “grønne skrig” opsumerer “mig” ganske godt (man kunne sige perfekt)

Categories
'i dag' (Danish) Blogs Computere og Internet Historier/Stories Humor Technology Undervisning

Papirbesparelse…

Q:
Har du forslag til besparelser indenfor print/ kopiering (sort-hvid/farve tryk) og/eller papir-forbrug, – (også gerne systemændringsforslag), så skriv dit forslag og send det til postkassen: xxxxxxxx

A:
Det gælder jo ikke kun om at begrænse medarbejdernes papirforbrug, men også den mængde papir der sendes til kunder i form af regninger, og her er der også en stor logistisk omkostning da brevene jo skal bringes ud.

Det skal også nævnes at man udover at benytte dobbeltsidet tryk, også kan udskrive flere ark på samme side, og personligt er det meget få af de dokumenter jeg udskriver på den måde, der bliver sværere at læse.

Ellers er det også relevant at vælge en papir-leverandør der prioriterer miljømæssig bæredygtighed højt, og det er ikke kun for at opnå en økonomisk besparelse på “papiret” (bevidst vittig ;-), det må nemlig gerne koste mere, hvis det samtidig er bæredygtigt, og så er det et godt signal at sende til omverden. Noget andet er at hvis prisen er højere, kan det også virke som et inictament til at sænke forbruget yderligere.

Bortset fra det kan man rent faktisk ofte undgå helt at udskrive, det kræver bare at man lettere kan finde informationerne, og så er det vigtigt at man ikke længere sender f.eks. Word dokumenter til hinanden, men i stedet henvisninger til Intranettet/Lokalnettet, så man vendes til at læse informationer på skærmen i stedet for at udskrive den.

Systemer til vidensdeling som wikier, diskussionsfora og team blogs kan også hjælpe til at begrænse mængden af papir, der er heller ikke længere diskussion om hvilke versioner af et dokument man har. Man kan også med den slags systemer begrænse behovet for møder da projekter lettere kan diskuteres og resultater fastholdes når man bruger den slags systemer.

Det kunne også være en idé hvis der var en computer i mødelokalerne der var koblet op til lokalnettet og en storskærm, som man var SIKKER på virkede – det er min opfattelse at der bruges en del tid på at være sikker på at et mødelokale har fungerende netforbindelse etc. På denne computer vil man så kunne hente projekt dokumenter, inklusive diskussioner, så de kan diskuteres på mødet.

Principielt kan det diskuteres om det overhovedet er nøvendigt at have en harddisk i en computer, afskaffelsen af den lokale harddisk vil betyde at man altid vil gemme informationer på en sådan måde at man kan få fat i dem fra en vilkårlig computer, og derfor ikke har behov for at udskrive dokumenterne når man går på besøg hos kolleger for at diskutere dokumenterne.

Dette vil dog stille større krav til netværket, og derfor vil det være en idé at tænke i en distribueret infrastruktur, f.eks. ville det være smart hvis en udviklingsafdeling havde sin egen filserver på lokalnettet, der så blev replikeret til firmaserverne automatisk.

Konkurrencemailen er i øvrigt et “sjovt” eksempel på forkert brug af elektronisk distribution, da der er en vedhæftet fil medsendt, i stedet for et link til Intranettet.

Categories
Blogs Design Hackers IT Guruer Kim Blog (English) Resources Technology

sIFR inside: mourning the loss of a friend, with a tribute to Mark Wubben

Logo Sifr2Yesterday I had the, unexpected, pleasure of meeting Mark Wubben in person, and it was great.

The reason: yesterday we had a meeting in relation to a project, and webgrl extraordinarie, Henriette Weber asked if she could bring a guest. Sure! His name is Mark Wubben, do you knew who he is? No, not really!…Well it turned out that I did, he’s the man behind the incredible piece of code known as sIFR.

In case you don’t know what sIFR is – chances are that you don’t – it’s a method to display rich typography on the web, using Flash, but in a completely transparent, and accesible way.

So as a tribute to Mark and the fantastic work he’s done with SiFR, I’ve switched my sites theme to the sIFR experiment, I never got quite finished with last year – it’s based on the standard template.

I got to look at some of the work he’s done at his company, and it’s SUPER cool.

Mark is also finding time – which is amazing – to work on sIFR, and I got a sneak-view of version 3.0 of sIFR, and it’s going API, will be fully scalable etc.

The main reason I stopped my experimentation with sIFR, was because it didn’t support Danish characters, but Mark would LOVE to hear from you, so I’ll ask him for advice – really it’s “just” a matter of providing the correct Flash files. Another reason I stopped using sIFR, was that I didn’t have the energy to chase down nicer fonts, the defaults aren’t exactly the nicest.

Wondering what Mark is up to these days? You’ll better watch it!

If you’re using sIFR, do give Mark a shout, he’d appreciate it, and his work deserves ALL the recognition in the world!

ps. Incidentally I just lost a good friend, due to COMPLETE stupidity on my part, I guees that I’m an a**hole, and the irony is that, he was the one, who drew my attention to sIFR. So long buddy 🙁

Categories
Education/Undervisning Historier/Stories Humor Kim Blog (English) Rumforskning Technology Undervisning Videnskab

The Pod Bay Doors have been opened – Godspeed Arthur and thank you

HAL Sheeding a tear for Arthur C. ClarkeThis week, the world got a lot less interesting, when the visionary, humanist, inventor and author Arthur C. Clarke died. I really considered not commenting on it, because others would be better at it, and the picture from Joy of Tech on the left sums up my feelings.

Remembering a great visionary and humanitarian

Arthur might not be the best writer, but his clear visions, belief in humanity and always good spirit was such an inspiration.

Clarke has mostly been remembered for his two most famous contributions to the collective heritage of humankind:

  1. The movie 2001
  2. The concept of Geo-synchronous communications satellites

The only thing that I feel sorry for, is that Arthur didn’t live to witness the discovery of Extraterrestial Intelligence, which I’m sure is on the verge of happening, and when we have First Contact, I hope that the politicians and scientists read the works of Arthur C. Clarke, before trying to understand E.T., I really feel that Arthur did.

First Contact

I’ll give you an example, and it’s my favourite part from one of his books, “The Fountains of Paradise”.

As is traditional with the novells by Arthur C. Clarke, the plot contains several independent sub-plots, and that is the strongest aspect of his writing, it never gets dull, and it’s filled with humour, and insights into humanity.

The main plot in the “Fountains of Paradise” is really about the construction of an elevator to the Clarke Belt, the geo-synchronous orbit, 36,000 kms from Earth.

But the by-line is a story about First Contact – e.g. the discovery of intelligent Extraterrestrials – a favourite topic of Clarke – it’s also about Artificial Intelligence – the favourite topic of Clarke.

The sub-plot is similar to “Rendezvous with Rama”: Due to universal limits of relativity, you can only travel at sub-light speeds. Another universal law is that the ordinary life-spans are too short even for ET, so ET is investigating the universe using unmanned probes.

Earth, or rather the solar system, is visited by such a a spaceship, and onboard is a computer or more correctly an AI – that is somewhat secretive – but co-operative – and we have so much to learn, like the fact that we’re an emerging level 1 Civilisation, at least in the 22nd Century, where the book is taking place.

Clarke suggested that advanced Civilisations goes through three levels:

  1. Civilisation can control energy on Planetary level
  2. Civilisation can control energy on Solar level
  3. Civilisation can control energy on Galactical level

Needless to say we’re not even a level 0 civiisation right now. When ET finally arrives, some hundred years after the probe visited, he expresses admiration for the achievements of “such a young civilisation.

Well the computer abroad the space-probe, is co-operating and teaching us lot’s of things, without violating the rules about giving away information posessed by a higher level civilisation, so we’re only given hints, like a level 1 civilisation, has mastered the conversion of matter to energy and back – e.g. has things like matter transporters and replicators, like in Star Trek.

That is until someone at a Theological Institute decides to transmit the complete religious scriptures to the computer, it painstakingly analyses it, points out the fundamental flaws of religious thinking, shuts down communication with a comment that expresses disappointment at such tribal manners from an emerging level 1 Culture, and sorry but now you have to switch to direct communications, going to cruise mode, shutting down, bye.

Mind you, ET is 50 light-years away, so everyone was upset by the actions of the religious people, but really it was also the end of religious thought, and humanity could move on the bigger projects, like building the space elevator.

The concept of the Space Elevator was lifted from a Russian scientist Konstantin Tsiolkovsky, that Arthur credits in the closing notes of “Fountains”. Clarke also suggests that it might be possible to build it already in this century, and the concept is well thought out, and actually feasible with current technology, unfortunately the current funding of space exploration, dictates direct military benefits, and the military seems to love chemical rockets, what a shame.

Other contributions

Another important contribution by Clarke, was his 80th birthday special feature, where Discovery dedicated an entire evening to Arthur, another was his series The “Arthur C. Clarke’s Mysterious World”, where he was also dealt with myths and Urban legends, paving the way for the “Mythbusters”.

Clarke deserved the Nobel Peace Price, not least for deciding to live his final many years in war-torn Sri Lanka.

The Pod Bay doors have been opened, Godspeed Arthur

The Imperial Cinema in Copenhagen is showing “2001: A Space Odyssey” on Monday 24th of March oops April 28th at 3.45pm CEST.

Imperial has one of the best cinemas in Northern Europe, expect me to be in the audience, I can’t really think of a better way to pay tribute to Arthur, get your ticket here (link will probably expire soon ;-)).

I’m humbled by your creative vision: The Pod Bay doors have been opened, and my God it’s full of Stars. Godspeed Arthur!

The picture that accompanies this article is from the great comic strip, The Joy of Tech. I dare to claim “fair use”, and why don’t you click here to buy some merchandise, or one of the paintings – I’d love to own “HAL 9000 shedding a tear” as a painting. BTW: I’m not making any money from providing Joy of Tech with such a link, welcome to the future of advertising ;-).

Categories
Blogs Computere og Internet Hackers Historier/Stories Kim Blog (English) Open Source Technology

BarCampCopenhagen: Party for your right to geek

BarCampCopenhagen LogoAs it might have caught your attention, the second BarCampCopenhagen took place this Friday (25th of January 2008), and there was great energy in the building. It’s evident that there’s a strong interest in having an event like BarCamp in Copenhagen, and it was inspiring, just to try to tap into that energy.

On the practical level, BarCamp was a great success, especially thanks to generousity of Beaconware (Troels, Allan and Kimmy) and of course Toothless Tiger (Henriette and Thomas) and Laura who moderated the “Kangaroo?” sessions, and thanks to the sponsorship from BridgeIT (my employeer), the event could be taken to such a high level, without having to charge the participants.

I must say that I’m amazed by the group of dedicated and interesting people that showed up, this is what they do for a living, but they’re also interested in sharing their ideas openly – thank you all!

To me the greatest moments were that I, finally, got to meet some people, that I’ve been following online, in real life.

If you have to criticise the event a little, I think we had some “growing pains” – in 2006 the event was more intimate, since we could all fit around one table, this meant that we could have more of an “open space” type of event, and that is the format that I prefer.

Civilisation 0.1

I did a presentation – Civilisation 0.1 – a pun on Tor Nørretranders Civilsation 2.0 – and I had some (understatement) difficulty making my points, that most likely had something to do with the fact that I had the wrong audience, since they’re all “believers”. Knowing the audience is, I believe, number one on the list of things to remember when doing a presentation of any kind, so that was sobering.

Since I failed to get my points across, talking about Pyramids, Archs and Fountains, I’ll try to do better here.

My presentation was inspired by this famous quote from Alan Kay:

If you look at software today, through the lens of the history of engineering, it’s certainly engineering of a sort—but it’s the kind of engineering that people without the concept of the arch did. Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves.

My argument is that we’ve, so far, been building pyramids, but that we’ve invented the arch.

“The Pyramid”, is current ICT businesses, and their monopolistic pratices
“The Arch”, is “open source” and MM(O)C (Massively, Multiuser (Online) Collaboration)
“The Aqueducts” is the “Internet”
“The fountains” and “Temples” are the “things” we can build using “the arch” and the tremendously powerful tools and technologies we have in our hands.

I also tried to make these points:

  • Basic infrastructure should be free
  • We’re busy building “Pyramids” – using brute force
  • Civilisation is still in beta
  • We actually have the power to change things – get involved
  • The beer isn’t free – it will cost money
  • Join the revolution

Like I said, and this was obvious if you attended, I wasn’t too good at getting these points through, and to me, one of the main ideas of BarCamp, is to throw ideas on the table, even half baked ones, and have them tested, and even shot down.

My ideas was mostly shot down, and I got a “Emperor’s new clothes” type of comment: “To build the aquaeducts that feeds the fountains you already need an arch”, and someone else pointed out, that “something” was missing going from “The Pyramid” to “The Arch”, did it just appear out of the blue? I didn’t really answer that too well, my point is that the technological equivalent of “The Arch” has been/is being invented, now we can go build the aquaeducts and fountains armed with that knowledge.

Christian Schade was the most sceptical, I need people like him to question my ideas, so thank you Christian.

I’ve actually done a lot of thinking about this, basically I’m a strong believer in utopian ideas – they’ re getting a bit old, and others are better at getting them across than me.

I enjoyed the discussion we had afterwards, and I think that I managed to sell some of my ideas. It’s really quite simple, don’t wait for the revolution to happen, get involved. Like I said, this was the wrong audience, since they’re all already involved in the revolution.

My presentation did align itself, almost perfectly, with the two that followed, those of Christian Schade and Tania Ellis.

The Digital Divide

I was very pleased to, finally, meet Christian Schade, a person that I’ve been following for some time. I’ve never met him before, and I only knew him because he, sometime ago, added me as a contact on the online service Jaiku. The way he’s using a microblogging service is very similar to the way I use it, he often posts short messages that only he can understand – like a song that he had some sort of association to.

Christian talked about “the digital divide”, and he started out by stating that the difference between the things he was going to talk about, and the things I talked about, was similar to “the glass is half-full” (me)/”the glass is half empty” (Christian). You could say that I’m the optimist and Christian is the realist.

Christian got his points through, and they’re quite sobering. It’s possible that the younger generation is tech-savy, but they’re basically IT illiterate, yes they know how to use their cellphone, but the Nokia N95 they’re carrying around really is an extremely powerful computer, that they’re just using to TEXT each other.

Since the current trend is that businesses, and the public, use more and more advanced electronic solutions – yes: e-mail qualifies as advanced – IT skills are increasingly important, skills that the educational system isn’t focusing on.

So the digital divide is getting bigger, even in developed countries, and no one seems to care, like Christian pointed out, no one has really seriously looked at the problem with the digital divide, since the Dybkjær report, and when that was issued, they weren’t even sure if the Internet should be the backbone of the “Digital Denmark”.

Of course part of the problem with technology has to do with accessibility, and the general computer really is too complicated to be the basic tool of the digital revolution – no-one should have to know what a firewall and an anti-virus program is…We have a great challenge ahead of us, but no-one seems to care.

I later had a long discussion with Christian, and that was great.

Capitalism with a human face

Tania Ellis at BarCampCopenhagenBarCamp was also graced by Tania Ellis, author of the book “De nye pionerer” (The New Pioneers), and her presentation was about “Social business” – new alliances (oops ;-)) between economics and humanism.

Tania started out by showing a picture of the two choices of careers you’ve had since the 70ies, either you’re the poor, “peace and love” hippie or the greedy business man, but could a third way be emerging? A way where you can merge and/or mix the two, achieving balance and the best of two worlds.

Tania has been giving this a lot of thought, and the examples she found were ranging from the relatively well known (Life Straw), to the “interesting” (Solar Powered Vibrators) to the self-contradictory (Environmentally friendly munitions).

After Christian’s venture into dystopia, Tania presented hope for the future, maybe that is an attribute of the feminine? Afterwards she said that having children certainly helps, something that Christian tried to protest ;-).

I think that Tania managed to put words to my ideas, and present them is a structured manner – the “exercise” of writing a book is probably helpful ;-). Seen as a whole, the pre-dinner presentations by Christian, Tania and me fit extremely well together.

BTW, the splash screen on Tania’s web-site is a quote from Alan Kay. It used to be part of the name of my PowerBook, until I discovered that iTunes Music Store doesn’t like long computer-names, strangely enough the fact that I’ve written about the solution, is the biggest driver of traffic to my blog!

del.icio.us

After these three Kangaroo? tracks, it was time for dinner, and that was just del.icio.us (sorry or soz as I’ve begun to say recently).

Ruby don’t take your love to town

After the break, I decided to stay truer to my Geek roots, and attended the session “Ruby, Rails <meta>?” by Casper Fabricius. This was a great introduction to Ruby. Ruby is definitely very cool – like Neo cool – and I do love interpreted languages. I got a flash-back to the strangest language I’ve ever worked with, APL – an interpreted language that I have mainly used on an IBM mainframe.

One thing I find interesting is the trench-digging, and categorisation of people based on what programming languages they use – with the possible exception of Perl, I haven’t seen a programming language I couldn’t master with relative ease, and I’m, of the conviction that you need to have some general awareness of the different languages and tools that you have at your disposal. If Ruby can get the job done, quicker and faster, you should be allowed to use it.

Unfortunately Denmark is Microsoft country extraordinaire, and .NET is way too dominant. I totally agree with Casper that Reflection in C# is very hard to grasp, within this field Ruby is pure simplicity, and it is just beautiful.

As with all interpreted languages, there are justified performance fears, but if you can deliver solutions quicker, the benefits might overshadow those concerns.

Casper asked the question: so what can you use all this Neo-coolness for? He didn’t really have the time to answer this, but Ruby is being used to build world-class applications.

If you want to get started with Ruby, Casper pitched the web-based Ruby development environment Heroku, and it looks like a good place to start venturing into Ruby coolness. Heroku is in closed beta, but you might be allowed to pass through the Pearly Gates to Ruby coolness, by contacting Casper. [Casper has made me aware (see comments) that Heroku is for Ruby on Rails development, it’s important to distinguish between the two].

Quo-vadis?

The most surprising presentation of the evening, was the presentation by Henrik Biering of the work NETAMIA has done to develop a single-sign-on (SSO) engine, called net-safe. Net-safe is a standards based, plug-able SSO infrastructure, that also contains address validation etc. Running a successful on-line business depends on correct identification of the users, and having valid user data, also means that the users are better behaved.

Henrik knew what he was talking about, based on the experiences of the huge user base of heste-nettet.dk, which he runs. I guess it is obvious, but it really was an eye-opener to me, correct/valid information of users is extremely important, if you want to run a serious web-site.

Everyone in the room was blown away by seeing how polished a product Net-safe is, and when asked how much it had cost to develop it, Henrik answered: hmm, it was something I did together with my son…Amazing!

Embracing the chaos

Henriette talked about how to get businesses to embrace the chaos of the net, it’s a topic she’s writing a book about, and I look very much forward to it.

Engaging the geek warp drive

After all these sessions, I really needed a break, but when Michael Widerkrantz aka. MC, started rearranging the chairs, I just knew that I had to attend.

MC talked about IPv6, and why it’s important. In case you don’t know, IP is the basic communications protocol of the Internet, and the version we’re currently using, has a build-in limit of the number of allowed network addresses, that we’re about to hit, MC said that a recent session of RIPE, estimated that it would happen in less than two years.

I know just a little about networks, but this was mostly over my head, basically I’m sitting somewhere above layer 7, and just want the network to, ahem work, so it beats me why the ISPs just don’t get started rebuilding the infrastructure for IPv6, before it’s too late.

An interesting side-note is that a friend of mine just recently returned from South Africa, and I found out, because her computer acted strangely, that it was because she had been using IPv6 – as seems to be common with developing countries, South Africa is skipping the legacy infrastructure completely, a legacy that will soon hit us, and the entire digital economy, which today is synonymous with the economy.

Thank you

That concluded the official program of BarCamp Copenhagen, and what a great night it was, the air was literally buzzing with energy. Events like this are important, and I hope that this will get people talking and taking similar initiatives.

Categories
Blogs Computere og Internet Education/Undervisning Frivillig arbejde Hackers Historier/Stories Kim Blog (English) NGOs Open Source Resources Technology Undervisning Videnskab

Getting out of beta: The decade of “search” is over – ushering in the decade of “knowledge”

When “Sergei and Larry” approached Yahoo with a brand new concept of a “search engine”, they discovered, to their dismay, that Yahoo wasn’t really interested in “search”, but in selling ads. So Google was born.

How I discovered Google

In 1998 I was doing a search of myself, e.g. ego-surfing, using my preferred search engine, Lycos, and I was stunned to see that the top hits were Usenet groups that contained my name, several of them in fact, but worse: they had names like kimbach.slut.slut.slut etc.

I was a bit upset, especially since I, at that point, was being sued over violation of the marketing law by a former employer – a case that was later thrown out – but I assumed that they might have created those groups, to slander me, and I was quite sure that it wasn’t me that created those groups ;-).

I took a look at the content of the groups, and they had very low traffic, I only found some spam, which was rare in 1998, and someone who asked the question “who is Kim Bach” – a question I’ve pondered myself, but it didn’t look like it had anything to do with me.

Eventually I contacted the hotline of my ISP, Image Scandinavia, and they referred me to…GOOGLE.

Doing a search on Google, I realised that it had nothing to do with me, but that the groups had been created by a disgruntled husband, and Kim Bach was his ex-wife!

I also believe that using Google for the first time, immediately made me drop Lycos. At that point Lycos actually yielded what I’d label “better results”, but that changed quickly.

Google, originally, cracked “the search code”, and the world changed.

How I discovered Wikipedia

This I also remember clearly, and it’s quite interesting, I googled it – indirectly!

3-4 years ago I was trying find the English word for the type of dog, that is called “gravhund” in Danish, I somehow 😉 knew that a literal translation wouldn’t do, since that would have yielded “diggingdog”, “digdog”, “gravedog”.

So a Google search let me to the English Wikipedia article for Dachshund, and that was what I was looking for!

Seeing Wikipedia was an instant eye-opener, and at that point it hadn’t even dawned upon me, that Wikipedia was pure user-generated content!

Google isn’t interested in “knowledge”

Google won by doing a better job, but now “we, the people” are approaching the world with a concept of a “knowledge engine”, only to discover, to our dismay, that for instance Google isn’t really interested in “knowledge”, but in selling ads.

The difference: “we, the people”, will, surprisingly, transform Google from a “search engine” into a “knowledge engine” as well, no matter what Google does. The algorithm Google uses will give preference to “quality”, at least in the long run, and since “we, the people” are so numerous this will happen sooner rather than later.

Case in point, the best SEO strategy I know of is to create a Wikipedia article, try googling the terms I’ve created Wikipedia articles for (for instance: Kim Schumacher, DB03 and DB07).

You’re brainwashed

Google and the big companies have had us, pretty much, brainwashed to think that we have no say. This is reflected by the response to the launch of the Wikia Search engine, on the historic day, January 7th 2008.

Everyone is trying to compare Wikia Search to Google, and that’s missing the point COMPLETELY, and people should read what Wikia Search are writing:

WE KNOW THAT THE QUALITY OF THE SEARCH IS: “PRETTY LOW” (a polite way of saying that it “stinks”)

The way to help change it, is simply to get involved.

Every-time you do a search on Wikia Search, you’re offered the option to edit a “Mini Article” on the search. A “Mini Article” is just a Wiki article, that explains the search term. The “Mini Articles” will be used to improve the search index.

“Unfortunately” people seems to have been using a search on themselves as a benchmark, meaning that a lot of the “Mini Articles” are links to private and small web-sites, but that reflects the community.

Ego-surfing was also one of the first things I did, and the first hit that could be attributed to me was result number 8, and that yielded the photos I’ve taken, that are in the Flickr pool I created for Sjakket, my former place of work.

Is that my major contribution to the world? Well it’s not that far from it, bordering that I believe that it could be.

Getting involved – choose a community to “work” for

My criteria are:

Not for profit, open, free, strong community, sustainable.

The beer isn’t free however, so you’re allowed to make money, but take into consideration how the money is being made, if it is sustainable etc.

Personally I’ve chosen these organisations

  • Kim Bach . Org – My personal Internet presence with community support (some call that a blog ;-))
  • Netværksgruppen i Mjølnerparken – Volunteer to help inner city kids, of non-danish descent, with their homework
  • Æbletræet.dk – A Wiki-based community site dedicated to serving Apple users with content in the Danish Language
  • Wikipedia – The open encyclopaedia
  • Wikia Search – The open search engine

Currently I’m mostly involved in Wikia Search, I’ve found it really intimidating to be a contributor to an Encyclopaedia, so my contributions to Wikipedia have been quite limited, Wikia Search is much less intimidating, and right up my alley.

Where would you put your money (e.g. time)?

In ten years, Google has gone from no to 16.000 employees, but “we, the people” will, in ten years go from no to 6,5 billion, or how many it is that “we” are in 2018.

Where would you put you money (e.g. time)? It will only cost you time, and you’ll be involved in building a beautiful shrine to knowledge and human achievement.

Together we’ll do Google one better: crack the code of “knowledge”, and the world has changed forever.

Free at last, free at last, oh God almighty we’re free at last.

And “we”‘re hiring! No need to submit a resume, come join the fight!

Read more here:

Categories
Blogs Bookmarks Computere og Internet Kim Blog (English) Open Source Resources Technology Videnskab WordPress

Weaving an untangled web – The Friend of a Friend (FOAF) project

FOAF Project LogoThe Friend of a Friend (FOAF) project

I really need to “get out more”, since I’ve only just now discovered the Friend of a Friend project (FOAF), and I LOVE it!

The Friend of a Friend (FOAF) project is creating a Web of machine-readable pages describing people, the links between them and the things they create and do.

Say what?

FOAF is an important part of the so-called semantic-web, and FOAF is just a so-called RDF specification of who you are. RDF (Resource Description Framework) is one of the basic technologies of the semantic web, and it’s nothing more (or should I say less) than an XML schema condoned by the W3C for describing resources.

Think of RDF as “the mother of all links”, RSS and Atom actually uses RDF.

The problem with links

So what is that RDF does better than the tradtional link?

When you create a link, you rarely remember to provide important information about what it is that you actually link to. At best you provide an ALT attribute (description) to an image tag. Google actively uses the ALT tag when indexing images, but if the link to an image contained more information, eg. semantics, Google could do a much better job.

Semantics means that you provide information about content and context, not just a link to it. You could call that metadata, abstracts or just “data”.

Many CMSes uses the URI of posts to provide some semantics, it’s often called SEO (search engine optimisation), the URI of this post has FOAF in it, meaning that a link to this article indeed contains some semantics.

A common standard for the WordPress CMS is that it uses year, month, day and the title of the post to generate the URI.

The problem is that this information should be provided in a structured, machine readable and – most importantly – open format, in order to make it possible to provide semantics.

I actually despise the concept of SEO, since it amounts to cheating, the only valid SEO is:
“provide interesting content”

A semantic “you”

A number of standards for providing semantics exists, one of the most interesting, especially in this day and age of social media, is the FOAF format.

FOAF is a format that describes you and your connections to provide semantics about people (you) and your connections (friends), in a standardised way, using RDF.

The FOAF file contains information about who you are, how to contact you, but most interestingly it contains links to your friends, and their FOAF files.

The beauty of FOAF is, that all you have to do, is:

  1. Create a FOAF file, for instance using FOAF-a-matic
  2. Put it on a server
  3. Provide the URI
  4. Make sure that it can be found by others (e.g. by posting a link on a page you know is indexed)

Chances are that the FOAF spiders will have a feast on your FOAF, sooner rather than later.

Create your FOAF file

It’s quite simple to create a FOAF file, all you need to do is go to FOAF-a-matic, fill in a number of fields, generate the FOAF file, copy it to a text-editor, publish it on your web-site.

Below is a screenshot of the FOAF-a-matic page.

FOAF-a-matic screenshot

Take back your profile, it’s…YOURS!

No need to register with social networking sites, your profile is YOURS.

Who owns the information about “who you are”? You do! Should that information be made available in an open format? You bet! RDF and FOAF is the way to go.

And don’t take my word for it, just take a look at the people who are promoting and developing RDF and FOAF…

So how did the chicken cross the road

I’ll provide you with the story about how I found FOAF, since it’s interesting to say the least.

My good buddy Sebastian Lund just recently set up his blog, Silence is deafening, and I’m looking forward to following it, he’s using a beautiful theme, the Dilectio Theme, developed by Design Disease.

Design Disease has a number of free WordPress themes available, and you can test them, when I tried that, their “Lorem Ipsum” turned out to be an article by no other that TBL, timbl, Tim Berners-Lee, Mr. Web himself, and he was writing about blogging and FOAF…

So:

What an untangled web we’re weawing.

Now I need to think of a good URI for my FOAF file, TBL suggests this:

A lot of people have published data about themselves without using a URI for themselves. This means I can’t refer to them in other data. So please take a minute to give yourself a URI. If you have a FOAF page, you may just have to add rdf:about=”” and voila you have a URI http://example.com/Alan/foaf.rdf#ABC. (I suggest you use your initials for the last bit). Check it works in the Tabulator.

Ready, steady FOAF

So what are you waiting for? Create your own FOAF file, and start sharing.

And now I’m moving on to explore Tabulator, more on that later…

Categories
Blogs Computere og Internet Computerspil Historier/Stories Kim Blog (English)

“You should rather buy a new gadget”

Peek-a-boo from Kullaberg, SwedenThis could have been a much more interesting blog post, about a completely different, and important subject, but that happened in an alternative reality, so this is what you get:

In 2007, after somefumbling” around, in a totally, to me, strange element, I got this “advice”:

“You should rather buy a new gadget”

This blog post, painstakingly, documents that that was exactly what I, Kim Bach, aka. “FJUMMER”, did…

Nintendo DS Portable Gaming Console

I had read an article in Wired Magazine about how you, literally, can shave several years off your, perceived, age by training, and changing habits and lifestyle.

The author had, for instance, used the Brain Training software on a Nintendo DS to improve his mental capacity and youth.

I was intriged, but my purchase of the DS was, eventually, a total impulse purchase. It was triggered by general ignorance, fear of growing up and taking responsibility, I really can’t claim stupidity, just foolishness, meditating on my old mantra “if it feels right, then it must be right” – well, let the record show that it never is – will I ever learn?

Interestingly, solving Sudoku puzzles, which I learned using the DS, actually brought me some of the best moments of 2007.

It should also be mentioned that the DS was a stunning success with the children at the school where I worked, the math-problems and the competitiveness of the Brain Training games, really catered to the children, and I’m sure that regular use of the training programs can increase your ability, to do basic arithmetic, dramatically.

Nike+ Kit

2007 also saw me picking up running. The Nike+ Kit transforms the iPod nano into a tool, where you can track your runs. It’s more that a toy, the genius of the Nike+ solution is the great web-site where you can run against other Nike+ users, track your progress, analyse your runs etc. The community is a great motivational factor, and it even worked on me.

In my first month of running I managed to log 40+ kms, and I could feel how my stamina improved, it amazed me how quickly that happened.

Unfortunately I got a little overconfident, and a small injury that caused me to gear down, I have learned that I should not try to do training that involves rapid changes in tempo.

Olympus SP-550UZ Digital Camera

I was tired of not having a zoom-camera, and the Olympus has 18x optical zoom, but I still prefer my Canon IXUS i5, since I can carry it around all the time, while I did take some wonderful pictures with the Olympus, it’s just too bulky for my taste. Eventually I’ll get a DSLR, but it’s not high on my wish-list, it’s more likely that my next camera will be another Canon IXUS.

Nokia N800 Internet Tablet

It looked cool, and I wanted to get one before a friend. The N800 is an interesting concept, with a Linux based OS, but it’s not ready for prime time. Battery life is it’s biggest problem, and the form-factor isn’t perfect, and I very rarely use it.

Nokia 5500 Sports Phone

Mount Vesuvius “killed” my Nokia 6070 – SERIOUSLY that was what happened, and you can’t live without a “presence device”, at least that was what my rather (understatement) confused mind dictated, as I wrote in a previous post “I was not in my right mind”.

The Nokia 5500 is a Symbian S60 based smart-phone with some clever work out based applications, for instance it has a step-counter, and the music player can be controlled by tapping it, to trigger the motion detector.

Telia Navigator

Extremely well designed GPS solution. It integrates with a 411 online directory, meaning that you can perform searches by name and address. It automatically stores the most recent destinations, and the external Bluetooth GPS device, that comes with a good rechargeable battery, works great with all Bluetooth devices.

The strongest feature of the solution is that it downloads the maps dynamically, meaning that the solution runs perfectly on relatively lowly hardware, with limited storage, I’ve used it with the Nokia 5500, and that is a great combination, the only downside I can think of, is that the solution only works with Telia’s access points.

My favourite feature is the compass mode, and since it doesn’t require download of maps, and you often have pre-programmed your way-points, using Telia Navigation in this manner made me feel adventurous.

Lenovo V100 Laptop

For a while I thought that I could switch to Linux, and the Lenovo V100 is a fantastic platform for just that.

I did encounter some stability problems with the wireless networking support, the biggest issue with Linux as I see it, and that was hampering my productivity, so I’m back with my PowerBook

The Lenovo has been donated to a worthy cause, it’s now being used to control the digital whiteboard at the school where I used to work.

Samsung SP-P310ME Pocket Imager

My projector lamp burned out, but instead of replacing the lamp, I had to get one of the ultra-compact Samsung SP-P310ME projectors. It’s not really suited as a TV, since it needs a darkened room to operate, but I can now bring a projector everywhere I go, it’s amazingly portable, and can even run on battery power. The good thing is that the long life of the solid state technology of the SP-P310ME, means that it will take a long time until I have to replace it.

Nokia E65

Finally I went on the 3G bandwagon, and the Nokia E65 is a sleek 3G handset that even supports WiFi. I use the E65 all the time, it’s the perfect client for the Jaiku online service, that I’m sort of addicted to. Did I need a new phone? No, but it felt right, and it’s actually the only, truly useful, gadget investment of the year.

Making 2008 a healthier year

HEY! There are some signs, that I’m not going to be spending that much money on gadgets in 2008, first and foremost I’m actually feeling (mentally) healthy, and all of the purchases above were based on pure impulse (bordering mania), and right now it’s completely under control. And you know: the “advice” to “rather buy a new gadget” I got was “lost in translation”:

“GET A LIFE – FJUMMER!”

Categories
Blogs Computere og Internet Historier/Stories Kim Blog (English) Technology

No _compiler_ detected errors – but shouldn’t I, at least, have received a warning?

One of the first compilers I worked with, VS-Pascal, had a very “HAL-like” confident behaviour, after it had finished a succesful compile, it wrote:

“No compiler detected errors”

I found that almost rude, but it was also something to keep in the back of your mind, and today I remembered this clearly.

For the last week or so I’ve had a mysterious ASP.NET/C# problem on the back-burner. I’m trying to populate a drop-down list on a webpage. The list is based on a list of documents. For that purpose I had an entity class with a constructor, in the Page_Load code of the webform, I’m initialising the drop-down with a desciption and an id from the document list.

The list was populated just fine, but when I did a post of the form, I was consistently told that the first item was selected, even if I selected item number 2, 3 or 4.

This was very frustrating, especially because I have two drop-downs, and the other was working just fine.

Today I couldn’t postpone the problem any longer, and I tried a number of things, including moving the drop-downs, and finally I started doing websearches for bug-reports, but it’s extremely unlikely that ASP.NET has such a fundamental bug, so I was clearly doing something wrong.

When you’re using frameworks like .NET, a lot is done behind the scenes, luckily I know HTML so I finally hit View/Source, and to my surprise all the option values in the select tag were set to 0, why was that, I knew that my list was initialised to values from 0-4, but it was consistent with the test-results.

I was clearly doing something wrong. Below is the C# source-code for the entity class, can you spot the problem?

public class ShredYearDocument
   {
       private int _shredYearId;

       public int ShredYearId
       {
           get { return _shredYearId; }
           set { _shredYearId = value; }
       }

       string _shredYearDescription;

       public string ShredYearDescription
       {
           get { return _shredYearDescription; }
           set { _shredYearDescription = value; }
       }

       public ShredYearDocument(int ShredYeadId, 
           string ShredYearDescription)
       {
           _shredYearId = ShredYearId;
           _shredYearDescription = ShredYearDescription;
       }
   }

I’ll give you a hint: there are no compiler detected errors, but I’d argue that the compiler should,at least, have generated a warning, because I have something that could be likened to unused, or uninitalised, local variables.

Another hint: Remember that I always had the id set to zero (0), no mater what.

But shouldn’t the compiler generate a warning here?