Boblycat is Europe's premier source of rental cats. We provide just
the cat you need, whether you are a funny little man ready to
conquer the world or a misfit school teacher exploring the darkness
of eccentricity.

You are hereblogs / karltk's neck of the woods

karltk's neck of the woods


boblycat.org har flyttet

Vi har flyttet igjen. Etterhvert som tiden har gått, har minnekonsumet vårt gått drastisk opp. VPS-løsningen vi hadde gav oss bare 256MB RAM, som til slutt ble altfor lite. Nå har vi kommet oss tilbake over landegrensen, og kjører hos solidhost.no.

Til de som har strevd med tjenestene våre i det siste tror jeg vi kan si at den verste perioden er bak oss. Naturligvis går alltid noe litt galt i slike flytteprosesser, så si fra dersom noe ikke fungerer som det skal.

TG01: Atter en telefon som burde vært åpen.

Fikk nettopp med meg bla på dingz.no at Toshiba er på den mobile krigsstien med TG01. Søt sak. Hardwaremessig, virker den absolutt som et attraktivt alternativ til iPhone. Litt skeptisk til batteritiden de greier å få med en 1GHz CPU, men det får vi se. Det andre det antakelig kan skorte litt på er multitouch, som såvidt jeg kan se Toshiba ikke har greid å/villet lisensiere.

Det store aberet er Toshibas tette forbindelser til folka i Redmond. Forretningsmessig overrasker det på ingen måte at TG01 kjører Windows Mobile, men hvorfor i alle dager vil folk faktisk kjøre WM på telefonen sin?

Jeg har lidd meg gjennom semi-daglig bruk av WM i flere år, og kan si at det fønker ille nok på PDAer med store skjermer, kort batteritid og kraftige prosessorer. Det kræsjer daglig, og hele UI-paradigmet er en utdatert vits. For eksempel bruker WM5-applikasjoner konsekvent scrollbars for å flytte rundt langs større flater, samt combobokser for å velge zoomnivå. Forhåpentligvis er WM6 og WM7 milevis bedre, men de bildene/videoene jeg har sett hittil gir meg ingen store forhåpninger.

Det beste ville vært en åpen hardwareplattform, men det er urealistisk for mobiler (OpenMoko er unntaket som bekrefter den regelen). Forhåpentligvis har TG01 en flashbar bootloader:)

Domain-Specific Languages for Composable Editor Plugins

Lennart Kats, Eelco Visser and myself just got a paper accepted to LDTA'09. The paper is about declarative languages for describing programming editors. The main part of it is Lennart's work,  but it's running on top of the Spoofax transformation infrastructure. The idea is simple: You don't want to fight with Java, complicated APIs and complicated XML when you implement an Eclipse-based editor for your DSL. Instead, you describe your language's grammar with SDF, provide some auxiliary information using our declarative editor languages, and Spoofax/IMP does the rest by generating the editor engine for you.

The abstract explains it in the usual academic style:

Modern IDEs increase developer productivity by incorporating many different kinds of editor services. These can be purely syntactic, such as syntax highlighting, code folding, and an outline for navigation; or they can be based on the language semantics, such as in-line type error reporting and resolving identifier declarations. Building all these services from scratch requires both the extensive knowledge of the sometimes complicated and highly interdependent APIs and extension mechanisms of an IDE framework, and an in-depth understanding of the structure and semantics of the targeted language.

This paper describes Spoofax/IMP, a meta-tooling suite that provides high-level domain-specific languages for describing editor services, relieving editor developers from much of the  framework-specific programming. Editor services are defined as composable modules of rules coupled to a modular SDF grammar. The composability provided by the SGLR parser and the declaratively defined services allows embedded languages and language extensions to be easily formulated as additional rules extending an existing language definition. The service definitions are used to generate Eclipse editor plugins.

We discuss two examples: an editor plugin for WebDSL, a domain-specific language for web applications, and the embedding of WebDSL in Stratego, used for expressing the semantic rules of WebDSL.

Once I get bibtex-tools running on 64bit again, I'll link to the bib and pdf.

Spotify on Linux (aka Die PulseAudio, Die!)

Håvard invited me to Spotify the other day. For those who don't know, Spotify is sort of like iTunes, only better, and free. You get to stream all the music you like, from most of the major and a lot of the minor labels, in return for listening to the odd advertisment.

I've been streaming for quite a few hours now, and I've still not heard a single ad. But then again, Spotify is still in beta, so I assume thecontent/ad ration will decrease as time goes by.

My taste in music may be a bit eclectic, but I've been able to find a lot of the instrumental weird stuff I prefer for coding. However, there are still a lot of stuff "missing" compared to what you can find in your local store, especially if you consider, say, Norwegian music. And no Beatles, either. However, it's free, so who's complaining?:)

Well, I have three minor complains. First, the client is for Windows. It works in Wine, and they even explain how to run it in Wine on the Spotify pages -- kudos for that! (Of course, I had to kill and terminate PulseAudio again, since that pile of crap usually fucks up everything sound-related on my system). Second, the client is closed source, so it's not possible to fix the few minor annoyances it comes with, nor is it possible to port to Linux. When you need to lock down the music behind a DRM scheme so that people won't rip it and share it outside Spotify, it certainly easier, and perhaps even safer, to go closed.Third, the audio quality is sometimes abysmal, as if they'd encoded the stuff in 64kbit/sec. However, this may very well be due to Wine and not Spotify. I'll keep digging.

Then again, Spotify is free and in no way imposed on me, so I don't have much grounds for complaint, really:)

 

FOSDEM 2009

I'm going to FOSDEM

Like last year, I'm going to FOSDEM. Last year, I traveled from Paris with the express train (great experience). This year, it's back to planes again. Not looking forward to the security hysteria.

If you're interested in meeting me there, don't hesitate to fire off an e-mail. 

Haugeby i jula.

Etter en kort omvei på vei hjemover (fra Bergen til Trondheim til Oslo til Haugesund i nattens snø og mørke), er jeg i hjemtraktene for jula. 

Jeg kommer til å dingle rundt i Haugeby stort sett hele tiden frem mot nyttår. Hvis noen andre skulle finne seg i nærheten, med ledige pletter i romjulekalenderen, må de inderlig si fra. Synkrondingling (er det lov å si?) kan iverksettes.

 

Foreningen For Flere Navnegeneratorer På Nett For De Av Oss Som Trenger Prosjektnavn Men Er For Late Til Å Finne Selv

Jeg melder herved min interesse for å melde meg inn i ovenstående forening (Foreningen For Flere Navnegeneratorer På Nett For De Av Oss Som Trenger Prosjektnavn Men Er For Late Til Å Finne Selv). Et fornøyd åsyn vil hvile på initiativtakere som med freidig mot gjør nødvendige formalia for å iverksette en sådan organisasjon.

I mellomtiden lurer jeg på å fiske frem koden Kenneth og meg skrev til VekkEdith (en 2D vektoreditor) der alle hjørner (vertices) automatisk fikk unike (streng)navn.

Procrastination - the Håvard way

Håvard has put all his computer gear in the attic to focus on schoolwork. This is the result: 

Procrastination

Løvstakken i uvær

Var en tur på Løvstakken i kveld med Stian, Tommy og Steffen. Det blåste stikker og strå. Heldigvis kunne Tommy veien opp og ned i blinde, og Stian hadde hodelykt. Vi andre to fulgte bare prustelydene. Stian tok bilder.

På toppen:

Mørkt og kaldt

På vei ned:

Snø

Været i følge yr.no:

vær

"Nord og nordvest sterk kuling 20 m/s på kysten, til dels liten storm 22 i dag. Snøbyger."

Vi fikk i oss noen epler og litt sjokolade på toppen før vi måtte gjøre vendereis. Telegram slutt.

Award for most cynical TV show: SVT Opinion

Short story: Peter Sunde (brokep) of The Pirate Bay (TPB) is asked to appear on the SVT Opinion debate program, because TPB hosts a torrent to pictures from the autopsy report of a highly gruesome murder case involving two children, Max and Saga Jantestig.

The press sees an opportuniy for blood: TPB refuses to remove links to disgusting, but public, documents and pictures related to the trial of these bestial murders. Nevermind that these documents are obtainable through normal bureaucratic/legal channels for everyone.

Among Peter's conditions for appearing on TV: no live confrontation with any of the family of the murder victims, since that's bound to get messy and unproductive for all parties. Peter insists on a principal debate on what should be legal to post on the intertubes. SVT agrees.

Then, in the middle of the show, Nicklas Jangestig, the father of the murdered child, gets called up and forwarded into the studio to confront to Peter live. It gets ugly.

Thank you Janne Josefsson, program host, Katarina Sahlin, editor and Lena Laurén, project lead, all of SVT. An apology is later stated. Peter is not happy.