Feeds:
Posts
Comments

Archive for the ‘Nonsense’ Category

Free will

My thoughts on Free Will by Sam Harris, cross-posted from Goodreads.

I had already enjoyed the 2012 talk and was a bit worried that a “book” this short couldn’t add much to it. It doesn’t, in fact, add much, but it was still worth my while to revisit the argument in a different medium.

The first of Harris’ arguments concerns experiments where the test subjects are asked to make a decision and record the time of the decision. Apparently, the decision can be predicted by brain activity before the test subject is aware of having made it, which Harris argues shows that our decisions are made for us by deeper processes. I know nothing about psychology or neurology, so I don’t know if the conclusion is sound, but I wish that Harris had spent a little more time exploring this. It makes no evolutionary sense for our consciousness to only act as a narrator for decisions already made, because it would be superfluous. What kinds of choices need to involve our consciousness? When the decision is made elsewhere, why does our consciousness pretends as if it were in charge? Is it possible, with self-control, to force certain decisions out of the dark, into the light of our conscious thought?

Second is the problem of regress. To quote:

My choices matter—and there are paths towards making wiser ones—but I cannot choose what I choose. And if it ever appears that I do—for instance, after going back between two options—I do not choose to choose what I choose. There is a regress here that always ends in darkness.

Or more succinctly:

We are not self-caused little gods.

I think this is compelling, but it is a little bit like the children’s game of “why why why.” Colloquially, we can account for why it snows without asking “why” all the way back to the origin of the universe. Perhaps a similar line can be drawn for inquiries into volition, that ends somewhere inside our heads?

Third, Harris says that self-introspection will reveal that the source of our thoughts and decisions are mysterious even to ourselves. Ever since I saw his talk I have tried to think about this, but cannot say I find it as obviously true as Harris does. I don’t know where my ideas and impulses come from, but if pressed I think I could attribute many of them to known external and internal sources, which are obviously not of my choosing, but still not mysterious. Some preferences, like tea or coffee, are mysterious, but it’s not mysterious why I prefer an ice tea over hot chocolate on a warm summer day.

Finally, Harris untangles free will from determinism. We don’t yet know for certain which kind of universe we inhabit, but there’s nothing about an indeterminate universe that would grant us free will. Conversely, compatibilism is the view that we can have free will even in a deterministic universe, even if Harris is rather dismissive of this. I should probably read Elbow Room: The Varieties of Free Will Worth Wanting to get a fair treatment of the subject.

In the end, the notion of free will is rather like the notion of god—ill-defined and with no supporting evidence. For now, I have no choice but to withhold belief.

Read Full Post »

When I was growing up I wasn’t particularly interested in real-world space exploration. I liked Star Trek and The Hitchhiker’s Guide to the Galaxy, but don’t remember ever being excited about a Space Shuttle launch, Hubble, Mir or the ISS. However, the precision engineering of last year’s Curiosity landing on Mars really caught my attention, and since then I’ve been learning about everything that I’ve missed out on. Here are some awesome things, other than the Earth, in rough chronological order.

The Universe is big. Really big. The amount of knowledge and ignorance we have about the Universe is exhilarating, and it’s changing all the time. In the absence of a quantum theory of gravity, Lawrence Krauss’s A Universe from Nothing is an interesting bit of speculation about where it all came from. Our knowledge of the age just got better, with ESA announcing 13.82 billion years as the new best bet. At the other end of time, how the Universe will end seems to be unknown, but most of the hypotheses point to a Universe that doesn’t care about our feelings.

Robert Goddard’s A Method of Reaching Extreme Altitudes (PDF) from 1919 is surprisingly comprehensible to a software engineer from 1984. The illustrations and photos are wonderful, in particular the Coston ship rocket bundle (p. 48, fig. 7) reminded me of a certain xkcd what if? Also, I was intrigued to find on the topic of “recovery of apparatus on return,” that Goddard suggested a limited form of powered descent (p. 53):

If it is considered desirable, for any reason, to dispense with a sufficiently large parachute, the retarding of the apparatus may be accomplished to any degree by having the rocket consist, at its highest point of flight, not merely of instruments plus parachute, but of instruments together with a chamber, and considerable propellant material. Then, after the rocket has descended to some lower level, [...] this propellant material can be ejected, so that the velocity is considerably checked before the apparatus reaches as low an altitude as, say, 5,000 ft.

Goddard also discussed briefly the issue of reaching the Moon; the mocking New York Times editorial and the 49-year-late “correction” are at the same time amusing and tragic.

Reach the Moon we did. If Up Goer Five makes it seem simple, then Stages to Saturn: A Technological History of the Apollo/Saturn Launch Vehicles (PDF) uncovers the amazing engineering of the many engines and stages of the Saturn rockets. (I’m currently editing an EPUB version of this book.) Just days ago, Jeff Bezos recovered two F-1 engines from the bottom of the Atlantic Ocean, with the intent of turning them into museum exhibits. While I’d love to see them, it saddens me that humanity hasn’t had the capability for lunar exploration in my lifetime, and that it’s now a subject for history books and museums.

In the shadow of the Saturn V stands the Soviet N1. Achievements include 30 (!) engines on the first stage and the largest artificial non-nuclear explosion in history, but not reaching space, orbit, or the Moon. Information on the Soviet space program is hard to come by, so Rockets and People, Volume 4: The Moon Race seems like a very valuable account of these events, which I hope to find the time to read soon.

The Shuttle era began before I was born and only recently came to an end. Even though the destination (LEO) is mundane compared to the Saturn V’s, I still thoroughly enjoyed 45 mins of HD quality, high-speed footage of the launch sequences of STS-114, STS-117, and STS-124, with commentaries from NASA rocket engineers (via reddit).

SpaceX does plenty of things to be excited about. It was only a few weeks ago that they completed a 24-story test flight with its Grasshopper reusable rocket—powered descent all the way down, and on a far greater scale than what Goddard contemplated. If full reusability can be made to work, it should lower launch costs dramatically and thus expand access to space to a whole new level. In the category of awesome power, the Falcon Heavy will fire 27 (!) Merlin 1D engines at liftoff, making it the most powerful rocket in my lifetime. I can’t wait to see it roar.

Mars is what got me interested in non-Earth matters, and it must be the next destination for humanity. I very much enjoyed Robert Zubrin’s The Case for Mars, in which he argues for a simple mission structure and producing the methane for the return journey on Mars using atmospheric carbon dioxide. Elon Musk clearly wants to go, calling it “planetary redundancy” and “life insurance.” Perhaps not incidentally, SpaceX is working on a methane-powered engine. Of the publicly announced efforts to actually go, neither Inspiration Mars (human flyby in 2018) nor Mars One (one-way colonization in 2023) seem completely impossible. To see humanity take this step in my lifetime is the most exciting prospect of all.

Read Full Post »

Edison

Innan ultraljudet var du fortfarande ganska abstrakt för mig, jag visste att du fanns där inne men ingenting annat. Att se dig flimra runt på skärmen och få en enda bit information om dig – pojke – gjorde dig genast mycket mer konkret. Den kvällen började jag fundera på namn.

Alva är ett fint namn, vilket ledde tankarna till Thomas Alva Edison. De flesta av mina förslag var ovanliga namn och röstades snabbt ned, så när du blir äldre kan du tacka mamma för att du inte heter Newton eller Kepler. Mammas favoritnamn var Liam. Det dröjde några månader, men till slut så fick du heta just Edison.

Verkligheten blev som förvrängd inne i förlossningsrummet. Det hängde en klocka på väggen som långsamt, långsamt räknade upp sekunderna. Ibland var det långsamma tickandet det enda jag kunde höra, men ibland hörde jag det inte alls. Vi ville så gärna träffa dig, men du verkade helt oberörd av tidens gång.

När du äntligen kom fram så började tiden gå snabbare igen. Du skrek lite ynkligt och det var omöjligt att hålla tillbaka tårarna. En barnmorska gratulerade mig och jag lyckades öppnade munnen, men vet inte om mitt “tack” hördes alls. Plötsligt så var det bara du och jag. Du låg där och tittade medan jag sjöng mormors lilla kråka, men utan att köra ned i diket.

Ett ögonblick senare har du redan fyllt åtta månader. Du har börjat säga “ba ba ba” när du leker och ibland låter det precis som att du ropar efter mig. Du kryper baklänges och dansar när moster My dansar till koreansk pop. Snart kommer du att gå och prata och flytta hemifrån och pappa kommer att sakna dig. Då kommer jag kanske att ta fram de här bilderna och titta, en bild för varje månad du har varit hos oss.

30 juni 2012: 5 dagar gammal

18 juli 2012: Hos farmor och farfar i Stora Hultrum

5 augusti 2012: Nybadad

23 september 2012: Älskad

27 oktober 2012: Kungsparken i Göteborg

22 november 2012: Nyklippt troll

26 december 2012: Jul i Stora Hultrum

24 januari 2013: Hos mormor och morfar i Hà Nội

25 februari 2013: På badsemester i Đà Nẵng

Pappa älskar dig, Edison.

Read Full Post »

How to use Opera as the Git Web browser

As in: the browser Git uses when you call git web--browse URL/FILE

git config --global web.browser opera
git config --global browser.opera.cmd opera

When support for Opera is released in Git v1.7.4 the second line should no longer be needed, but probably won’t hurt.

Read Full Post »

Vad vill Sverigedemokraterna oss?

Efter det tråkiga valresultatet är det frestande att ropa “Hitler kommer!” och raljera över hur dumma medborgarna är, men det är ganska osakligt och tjatigt. Eftersom min underbara fru är nybliven invandrare har jag istället “roat” mig med att läsa Sverigedemokraternas invandringspolitiska program (cache) för att se vad de har att erbjuda oss.

Den härboende personen skall påta sig försörjningsansvar för den anhörige under en femårsperiod och skall dessutom betala en engångssumma, uppgående till ett prisbasbelopp, som ett bidrag till statens utgifter för den anhöriges svenskundervisning och övriga anpassningskostnader.

Jag skulle alltså få betala 42400 kr för min frus uppehållstillstånd, som “ett bidrag” till sfi. I andra sammanhang när vi temporärt belastar samhället – t ex när man skaffar barn eller läser på högskola – så slås den kostnaden ut på den skatt och moms man betalar, varför inte så även här? Det är svårt att se det som något annat än en straffavgift för att jag råkade hitta kärleken utanför Sverige.

Alla uppehållstillstånd som tilldelas nytillkomna utlänningar skall vara tillfälliga. Möjligheten att utfärda permanenta uppehållstillstånd som ett mellansteg mellan temporärt uppehållstillstånd och medborgarskap skall därmed avskaffas. Det tillfälliga uppehållstillståndet gäller för ett år i taget [...]

Inget PUT, någonsin. Dessutom så ska vi springa till Migrationsverket en gång om året. Kul! Hur länge ska då detta pågå?

Kraven för att få svenskt medborgarskap skall skärpas kraftigt. Grundläggande krav skall vara att man varit bosatt i landet i minst tio år och att man under denna tid uppvisat en klanderfri vandel.

Tio år! Om några år när vi fått barn så vore det väldigt praktiskt med svenska pass för hela familjen vid utlandsresor, eftersom det ofta är olika visumregler för vietnamesiska och svenska medborgare. SD erbjuder istället mer krångel och spring på ambassader!

Därtill skall man också underteckna en deklaration där man bekräftar sin lojalitet med Sverige och förbinder sig att respektera svenska lagar och övriga samhällsregler.

Att vara lojal mot Sverige är ungefär lika befängt som att vara lojal mot Småland. Det är i bästa fall en löjlig symbolhandling och i värsta fall ett löfte om att alltid sätta Sveriges intressen framför andra länders, alltså motsatsen till internationell solidaritet. Sådant nonsens ska ingen behöva skriva under på.

Den som är svensk medborgare skall inte kunna inneha annat medborgarskap utöver det svenska.

Det här innebär att min fru och mina framtida barn inte kommer att kunna ha vietnamesiska pass och alltså blir tvungna att ansöka om visum när de ska hälsa på mormor och morfar vid Tết (nyår). Det har dock SD löst finurligt genom att förtydliga att vissa nyår är bättre än andra:

Lovdagar i anslutning till religiösa högtider skall endast omfatta traditionella svenska och kristna högtider.

(Förvisso är Tết inte en religiös högtid, men jag betvivlar att det spelar någon roll.)

Sammantaget är det tydligt att ni Sverigedemokrater vill djävlas en hel del med mig och min familj. Ni “tar avstånd från mångkulturalism” och vill inte att min frus kultur “jämställs med, eller värderas högre än,” den svenska. Jag ber er då att dra åt helvete, för vi tänker fortsätta fira okristna högtider och prata olika språk, huller om buller!

När de faktiska politiska programmen är så här patetiska så borde ingen vara orolig för att “ta debatten” med Sverigedemokraterna – citera helt enkelt deras egna åsikter så inser de flesta vilket trams det faktiskt rör sig om.

Sakliga kommentarer välkomnas, andra ej.

Read Full Post »

SRT research

Discussions in the WHATWG and W3C over several months have led up to the announcement of a new <track> element and the WebSRT format. WebSRT is intended to be mostly compatible with existing SRT content and software, in order to hitch a free ride on the popularity of SRT.

Unfortunately, there was never a proper SRT parsing specification, so all media players implement their own parsers and error handling, much like was the case with HTML before HTML5. If these media players are going to support any of the new features in WebSRT, they will have to do so by modifying existing SRT parsers, as there’s nothing to differentiate SRT and WebSRT. Interoperability would be helped if they were are able to converge towards the same parsing algorithm, but they can only do that if WebSRT handles existing content as good as or better than current algorithms. If we cannot achieve that, it might be better to invent a format that has no legacy compatibility constraints.

There’s been some testing of existing media players, but not much analysis of existing content. I asked OpenSubtitles if they could help out, upon which they very  kindly provided me with the latest 10000 uploaded SRT* files. I wrote a Python script to analyze them, and I think the results are interesting.

First a note on character encoding. Only 666 files were valid UTF-8 and out of those 472 were pure 7-bit ASCII, so deliberate use of UTF-8 doesn’t even reach 2%. Since WebSRT assumes UTF-8, little existing content can be reused as-is.

This is the typical structure of SRT (source):

1
00:00:10,000 --> 00:00:16,000
The Conceited General

2
00:01:08,520 --> 00:01:10,240
The general returns victorious

I’ll use WebSRT terminology: above are 2 cues, each with 3 lines for identifier, timings and the cue text followed by a blank line. Unfortunately, assuming that a blank line separates cues turns out to be unreliable, as 241 files at some point omitted that blank line. In my code, I let a timing line start a new cue even if not preceded by a blank line. I’m not sure what the best general approach is.

The identifier line is mostly useless and has been made optional in WebSRT. I defined any line preceding a timing line as being the identifier. Under this assumption, 571 files had identifiers that didn’t increase by 1 per cue and 55 files had identifiers which weren’t numbers at all. This doesn’t seem to matter to existing players.

The timings are a bit more interesting. No less than 1707 files had overlapping cues. Most existing players handle this by simply showing (only) the next cue when it begins, so such overlap goes unnoticed. However, the WebSRT parser makes no such adjustments, intending that overlapping cues be shown simultaneously. This will quite certainly be a problem if existing content is reused. Also worth noting is that only 4 files consequently used a period (.) to separate seconds and milliseconds, 2 files mixed (apparent typos) and all the rest used only commas (,). Only 1 file used the SubRip X1: … syntax and 38 files had something else trailing the timings. This was mostly trailing punctuation (.,?) or due to a missing newline before the cue text or random typos.

What remains is the cue text itself. Markup, which I defined as anything matching the regular expression ‘<(\w+)>’ or the string ‘<font’, was surprisingly common, occurring in 5525 files. The most common are <i> (5273), <b> (937), <font …> (346) and <u> (71). The WebSRT parser handles italic, bold and ruby markup, ignoring the rest. The fact that markup is so common means that any robust SRT (not just WebSRT) parser must handle it in some way, even if only by ignoring it.

That’s what I could gather from the data I have. If there’s something you want me to check, just leave a comment. Many thanks to OpenSubtitles for providing the data.

*They noted that this regular expression was used to identify SRT files: /^\d\d:\d\d:\d\d[,.]\d\d\d\s*–>\s*\d\d:\d\d:\d\d[,.]\d\d\d\s*(X1:\d+\s+X2:\d+\s+Y1:\d+\s+Y2:\d+)?\s*$/m This means that very broken files won’t have been included.

Read Full Post »

Piratpartiet ställer upp i valet och siktar på en vågmästarställning. Som en del i denna strategi tar Piratpartiet inte ställning i några andra frågor än de informationspolitiska och kommer istället att rösta med sina samarbetspartier, vilka det nu blir. Själv hoppas jag verkligen att de lyckas, så att Ask/Bodström inte kan härja fritt i ytterligare en mandatperiod.

Det är populärt att raljera över hur liten skillnaden det är mellan blocken, men likväl så spelar skillnaderna faktiskt roll på valdagen. Om valet blir väldigt jämnt så finns en risk att en del inte vågar rösta på Piratpartiet just för att de står utanför blockpolitiken. Jag själv känner detta dilemma och tror att det finns många som mig på båda sidor blockgränsen. Vore det då inte perfekt om man kunde para ihop tveksamma väljare från båda sidor, så att deras röster tar ut varandra? På så sätt förändras inte vilket block som vinner majoritet, men Piratpartiet får sin vågmästarställning och kan påbörja det hårda arbetet med att vända informationspolitiken på rätt köl.

Hur ska då detta hack fungera? Jag tänker mig en ganska enkel teknisk lösning enligt följande:

  • En webbsida där man får fylla i sin mail-adress och vilket block/parti man stödjer utanför Piratpartiets frågor.
  • Så snart som två väljare från vardera block matchats så skickas ett mail ut till de båda där de presenteras för varandra. De kan sedan välja att utväxla några mail för att stifta bekantskap och försäkra sig om att de är seriösa.

Som en minsta åtgärd mot missbruk kan man se till att samma mail-adress inte registreras flera gånger. Men, ingen teknisk lösning kan i slutändan kontrollera hur man faktiskt röstar på valdagen, så därför är vårt bästa vapen vanlig hederlighet och att folk sätter en gnutta tillit till varandra, för vårt gemensamma bästa.

Tankar?

Read Full Post »

My father’s wedding speech

As promised, here is the speech my father gave to me and Nga at our wedding, in Swedish, English and Vietnamese. At the wedding, my father spoke in Swedish, while Lan translated into Vietnamese. The English version is a bi-product of the translation process.

Svenska

Nga och Philip – idag är en stor dag – kanske den största i era liv. Det är en ära för oss att få komma hit och att kunna komma hit och delta i denna fantastiska högtid. Jag och Anita är väldigt stolta idag – vi tror det är en stolthet som vi delar med er. Den här dagen kommer ni att minnas för resten av era liv och det är väl ganska naturligt – men vi kan också lova er att nästan varenda svensk också kommer att minnas denna bröllopsdag, för just i detta nu så börjar bröllopet för Sveriges kronprinsessa i Storkyrkan i Stockholm och den största TV-produktionen någonsin pågår just nu med miljoner tittare. När Sveriges blivande drottning valde att gifta sig just idag – ja då måste det vara en bra dag för ett bröllop – måtte hälsa, glädje och tur följa i denna dags spår.

Men jag tänkte börja i en helt annan tid och med helt andra människor.

Det var den 15e oktober 1882 och alltså snart 128 år sedan.

Det var mörkt i den småländska skogen den där höstdagen. Det var 8 grader varmt och regn, en härligt frisk doft av mull och mogna kantareller spreds mellan träden. I det lilla soldattorpet på gården Källeryd i Haurida knastrade det hemtrevligt från elden i järnspisen. Av och an vankade soldaten Sven Lindblad i köket och väntade otåligt på att hans hustru skulle föda. Några timmar senare hördes barnskrik i torpet – en liten gosse hade fötts. Gossens mor hette Inga Sofia Johannesdotter – ja hon hette Inga – det namn i Sverige som är allra mest likt ditt Nga – vi brukar säga till människor som undrar vad du heter att du heter Inga – men utan bokstaven I – och då förstår alla.

Men tillbaka till den lille nyfödde. Han fick namnet David – David Lindblad. Åren gick och David växte upp under mycket knappa förhållanden och när han var något mer än 20 år så träffade han Ester. De blev precis som ni kära i varandra och på luciadagen den 13e december 1906 för 104 år sedan så förlovade de sig och Ester fick en förlovningsring i guld med inskriptionen ”David 13/12 1906”

David och Ester gifte sig och fick 5 döttrar – en av dem var min mamma Kerstin.

När Philip föddes 1984 så var det väl för oss som för alla föräldrar lite olika tankar och förslag om vad du skulle heta – så Philip, du fick också namnet David och du har alltså fått ditt andra namn efter min morfar som jag tyvärr aldrig fick träffa eftersom han dog innan jag själv föddes. Så, Philip och Nga, båda era namn finns alltså sedan tidigt i vår släkt och vi vill att du Nga ska känna att du nu blir en del av vår familj – ännu mera än vad vi hoppas och tror att du redan känt.

Philip, du var väldigt lätt att hantera som liten. Antingen sov du – eller så åt du – nästan fram tills du fyllde 1 år – då öppnade du ögonen och har väl sedan knappast stängt dom. Philip, du hade det nog på ett sätt ganska tufft i dina unga år. Eftersom du alltid var huvudet längre än dina jämnåriga så behandlades du som mycket äldre än du var. De flesta förväntade sig att 4-åringen skulle uppträda lika duktigt som en 6-åring, när du var 6 så kunde du väl läsa, skriva och spela fotboll – det kunde ju de 9-åringar som du var jämnstor med. Philip, du kämpade – du försökte hänga med – du försökte vara duktig och lyckades också med att vara det , ja kanske inte med fotbollen där blev du aldrig särskilt duktig – men du kämpade – du sprang efter bollen – du sparkade efter bollen – men du kom sällan ifatt bollen och sparkarna träffade ganska sällan. Men bortsett från fotbollen, så har du nog lyckats med det mesta du försökt dig på. Det dröjde inte särskilt länge innan jag förstod att du kunde betydligt mer än mig på ganska många områden, din lust till ny kunskap har alltid varit stor – som t.ex. när du plötsligt läste in en kurs i stenografi – inte för att du behövde det eller skulle få nytta av det – utan bara för att du ville veta hur det fungerade. Det är väl just därför du trängt så mycket djupare in bakom datorskärmarna än jag tror någon av oss andra i detta rum och nu arbetar du som ”core programmer” och då vet du ju hur datorns program fungerar, inte ungefär – utan precis. Denna nyfikenhet på hur saker fungerar delar du med din farbror Stig som också vet precis hur saker fungerar – men då mer TV-apparater och bilar, det var många gånger vi åkte hem från Stig med olika gamla trasiga apparater för att du skulle ta hem – skruva isär och se hur de fungerade och var byggda.

Samma nyfikenhet och lust att lära nåt nytt var också det som förde dig samman med Nga. Du bad oss att få ta ett år ”ledigt” från dina universitetsstudier för att åka till Peking och lära dig Mandarin. Det är väl inte det de flesta av oss skulle kalla ”ledigt” men för dig kändes det tydligen så. För att vi skulle släppa iväg dig så ställde Anita och jag 2 villkor ( jag tror inte vi hade kunnat hindra dig hur som helst – och det ville vi ju inte heller) Du hade då ganska politiskt starka åsikter och det första villkoret menade vi väldigt bestämt. När du bor i Peking så FÅR DU INTE kritisera den kinesiska systemet eller samhället – tänk särskilt på att inte göra det på nätet. Det lovade du.

Det andra villkoret som väl inte var så bestämt utan mer en förhoppning att du inte skulle flytta till Kina för alltid. Skaffa inte en kinesisk flickvän.

Jag tror inte det gick mer än ett par veckor efter du åkt till Kina när telefonen ringde och du sa direkt: Jag har hållit båda löftena – ingen kritik mot Kina – och ingen kinesisk flickvän. Men – jag har träffat Nga – hon är inte från Kina – men hon är smart och hon är vacker – och jag är kär. Vi blev givetvis glada för din skull och hoppades vi skulle få möjlighet att träffa denna fantastiska kvinna när vi hälsade på dig i Peking – och det gjorde vi också – men bara på flygplatsen när vårt plan till Stockholm skulle gå – och ditt plan från Hanoi just landat. Vårt första möte blev väldigt märkligt – det var en hög glasvägg mellan oss och vi lyckades bara röra varandras fingertoppar – vi kunde inte prata med varann och kunde bara hälsa med gester. Men sedan dess har vi både fått ha dig som gäst i Sverige och vara din och dina föräldrars gäst här i Hanoi, tack för er varma gästfrihet, och för varje gång vi träffas så förstår vi mer och mer att ni 2 är 1 och vi kan bara hålla med dig Philip – hon är smart och hon är bedårande vacker, bara se på henne – och eftersom du nu kallar oss mamma och pappa (det är inte vad man brukar i Sverige – men förstår att det är er vietnamesiska tradition) så känns det naturligt att välkomna dig som vår ”dotter”.

Som ett bevis och tecken på att du nu inte bara tillhör din vietnamesiska familj utan nu också tillhör och är en del av vår svenska familj och släkt vill jag ge dig denna gåva som jag hoppas du vill bära med dig genom livet. Måtte vi aldrig få några glasväggar mellan oss igen.

Nga öppnar paketet

Detta är alltså den ring som min morfar David gav till sin Ester för 104 år sedan. Vi har låtit göra om den till vad vi tror passar Ngas smak och stil – och tittar du noga inuti så kan du se att det står ”David 13/12 1906”

Ett fyrfaldigt leve för brudparet.

Hurra Hurra Hurra Hurra

English

Nga and Philip – today is a great day – maybe the greatest day of your lives. It is an honor for us to be allowed to come here and be able to participate in this magnificent festivity. My wife Anita and I are very proud today – we believe it is a sense of pride that we share with the two of you. You will definitely remember this day for the rest of your lives and that is rather natural, isn’t it? We can promise you that almost every Swede will also remember this wedding day. At this exact moment the wedding of the Royal Swedish crown princess in the Great Cathedral in Stockholm is beginning, and the largest TV-production ever transmitted is under way with millions of viewers. When the future Swedish Queen chose to get married on this very day – well then it has to be a good day for a wedding – may health, happiness and prosperity follow this day into the future.

But I would like to start this story in a completely different time period, with completely different people.

It was the 15th of October 1882 and 128 years have passed since then.

It was dark in the Swedish forest this autumn day. It was 8 degrees warm and raining, a lovely and fresh smell from mulch and mushrooms spread among the trees. In the tiny little soldier’s cottage on the land of the farm Källeryd in Haurida a fire burnt cosily in the cast iron stove. Every now and again the soldier Sven Lindblad paced around in the kitchen, impatiently waiting for his wife to give birth. A few hours later a screaming child was heard in the cottage – a small baby boy had been born. The name of the newborn’s mother was Inga Sofia Johannesdotter – yes her first name was Inga – the very name in Sweden which most resembles your name, Nga. We explain to people who ask about your name that it is Inga – but without the letter I – and then everybody understands.

But, again back to the little newborn. He was given the name David – David Lindblad. The years went by and David grew up in quite poor circumstances. When he was just over 20 years old he met Ester. They fell in love just like the two of you and on the very day of the St Lucia the 13th of December 1906 (104 years ago) they engaged and Ester was presented with an engagement ring with the inscription ”David 13/12 1906”

David and Ester married and had 5 daughters – one of them was my own mother, Kerstin.

When Philip was born in 1984 Anita and I, like all parents, had some ideas and thoughts about what your name was going to be – so, Philip. You were also given the second name David after my Grandfather, whom I regretfully never got to meet since he died before I was born. So, Philip and Nga, both your names are from early days in our family and we want you Nga to really feel that you are now becoming a part of our family – even more so than we hope and believe you feel already.

Philip, you were very easy to handle as a child. Either you were sleeping – or you were eating – almost until your first birthday – then you opened your eyes and since then I think you have hardly closed them. Philip, you probably had it rather tough in your younger years. You were always head and shoulders taller than everybody your own age. You were often treated as being much older than you were. Most people expected you as a 4-year old to behave just as talented as a 6-year old, and when you were 6 you were expected to read and write, and play football – since all the 9-year olds of your size could. Philip, you struggled – you tried to catch up – you tried to be a good boy and do well and you succeeded too, well maybe not in football you never really became a footballer – but you fought – you ran after the ball – you kicked after the ball – but you rarely caught up with the ball and your kicks rarely hit the ball. Apart from football I think you have succeeded with most things you have tried out. It didn’t take very long before I realized that you knew quite a bit more than myself in many areas, your eagerness to find new knowledge has always been great – for example, when you all of a sudden took on a course to learn shorthand (stenography) – not because you needed it or were to get use of it – but more because you wanted to know how it worked. That lust for knowledge is probably the reason why you have gone deeper behind the computer screens than I would think anybody else in this room and the reason for your current occupation as a Core Programmer and that of course makes you know how a computer program works – not just about – but EXACTLY. This curiosity of how things works you share with your uncle Stig. Stig also knows how things work, exactly – usually more likely to be TV-sets and cars and other electro mechanic things. Many were the times when we left Stig’s place with old broken TVs, toasters and other gadgets because you were taking them home – taking them apart – to see how they worked and how they were built.

The very same curiosity and eagerness to learn something new was also what brought you together with Nga. You asked us to allow you to take a ‘year off’ your university studies to go to Beijing to study Mandarin. That is not what most of us would call a year off but to you it obviously felt so. In order to let you go, Anita and I put up 2 conditions (I don’t think we could have stopped you anyway – and we really didn’t want to either). At the time you had fairly strong political views and the first condition we really meant strongly. When living in Beijing YOU MAY NOT criticize the Chinese system or society – particularly not on the internet. That you promised.

The second condition was really not very conditional at all but more a mere hope that you wouldn’t move to China forever. Don’t get involved with a Chinese girlfriend.

I don’t think that more than a few weeks had passed after you left for China when the telephone rang and you said directly: I have kept both my promises – no criticism against China – and no Chinese girlfriend. But – I have met Nga, she is not from China – but she is smart and she is beautiful – and I am in love. Of course we were happy for you and hoped to get the opportunity to meet this outstanding woman when we visited you in Beijing – and we did too – but only at the airport when our plane was about to leave to Stockholm – and your flight from Hanoi had just arrived. Our first meeting was very strange. There was a high glass wall between us and we just managed to touch one another’s fingertips – we couldn’t talk to one another and we could just greet one another with gestures. Since then we have had the pleasure to have you as our guest in Sweden and been very warmly welcomed as guests of you and your parents here in Hanoi. Thank you for your warm hospitality. Every time we meet we understand more and more that the 2 of you are really 1 and we can do nothing but agree with you Philip – she is smart and she is gorgeously beautiful – just look at her – and since you now call us mama and papa (that is not what you normally would in Sweden – but we understand it’s your Vietnamese tradition) it feels all natural to welcome you as our ”daughter”.

As evidence of, and a sign and indicator that you now not just belong to your Vietnamese family but are also a part of our Swedish family and relatives I want to give you this gift that I hope you will carry with you through your life. May we never get any glass walls between us ever again.

Nga opens the parcel

This is consequently the very ring that my maternal grandfather David presented to his Ester 104 years ago. We have had it remade into what we believe suits Nga’s taste and style – and if you look carefully inside you will still find the inscription ”David 13/12 1906”

A foursome unison cheer for the bridal couple.

Hurray Hurray Hurray Hurray

Tiếng Việt

Nga và Philip, hôm nay là một ngày trọng đại, có lẽ là ngày trọng đại nhất trong cuộc đời của 2 con. Bố mẹ cảm thấy rất vinh dự khi được tới đây và tham dự ngày lễ tuyệt vời này. Anita và bố cảm thấy vô cùng tự hào, muốn chia sẻ sự tự hào này với 2 con. Chắc chắn rằng hai con sẽ nhớ ngày này mãi mãi, và điều đó cũng tự nhiên thôi, phải ko? Chúng ta có thể chắc rằng người Thụy Điển nào cũng sẽ nhớ ngày cưới này. Chính vào thời điểm này Đám cưới của Công chúa Hoàng gia Thụy Điển tại nhà thờ lớn Stockholm đang bắt đầu, và sự kiện này được truyền hình trực tiếp tới hàng triệu người xem. Khi Hoàng hậu tương lai của Thụy Điển chọn làm đám cưới vào ngày này, thì đó phải là một ngày rất đẹp để cử hành hôn lễ. Sức khỏe, hạnh phúc và sự thịnh vượng sẽ mãi ở lại với ngày này.

Tuy nhiên, tôi muốn kể một câu chuyện vào một thời gian hoàn toàn khác. Đó là ngày 15 tháng 10 năm 1882 và 128 năm đã trôi qua kể từ ngày đó.

Đó là một ngày mùa thu ảm đạm, trong một khu rừng ở Thụy Điển. Trời ấm và có mưa, một mùi hương thanh mát bốc lên từ nấm và củi khô và lan qua các cành cây. Trong ngôi lều dã chiến trên đất của nông trường Källeryd ở Haurida, ngọn lửa bập bùng trong lò gang. Người lính Sven Lindblad bồn chồn bước quanh gian bếp chờ vợ anh đang chuyển dạ. Vài giờ sau, tiếng khóc của một cậu bé vang lên trong căn lều nhỏ. Tên của mẹ cậu bé là Inga Sofia Johannesdotter, vâng, tên của bà là Inga, cái tên Thụy Điển gần giống với tên con nhất Nga ạ. Khi ai đó hỏi về tên của con, bố mẹ đều nói đó là Inga, nhưng ko có chữ I ở đầu, và mọi người đều hiểu.

Quay trở lại với cậu bé con mới được sinh ra. Tên cậu là David – David Lindblad. David dần lớn lên trong hoàn cảnh khó khăn, và khi mới hơn 20 tuổi, cậu gặp Ester. Họ yêu nhau cũng như hai con, và vào chính ngày Thánh Lucia, 13 tháng 12 năm 1906 (104) năm trước, họ đính hôn và Ester được người chồng thân yêu trao cho chiếc nhẫn đính hôn với dòng chữ ”David 13/12 1906”

David và Ester cưới nhau và có 5 con gái, một trong số này là mẹ của bố, Kerstin.

Khi Philip sinh ra vào năm 1984, mẹ Anita và bố, như tất cả những ông bố bà mẹ khác, đã cân nhắc rất nhiều khi đặt cho con cái tên Philip. Tên đệm của con David, được đặt theo tên của ông ngoại của bố, người mà bố đã ko dược gặp mặt vì ông đã mất trước khi bố được sinh ra. Vì thế, Philip và Nga, tên của 2 con đều có từ những ngày đầu tiên của gia đình chúng ta, và bố mẹ muốn Nga cũng thực sự cảm thấy mình giờ đây đã là một thành viên của gia đình mình, hơn thế nữa, bố tin là Nga đã cảm thấy như vậy rồi.

Philip, ngay từ hồi nhỏ con đã rất ngoan. Dù đang ăn hay đang ngủ, cho tới khi tròn 1 tuổi, đôi mắt của con luôn mở to mà hiếm khi nhắm lại. Philip, con đã có những năm tháng đầu đời ko mấy dễ dàng. Con luôn cao hơn chúng bạn cả cái đầu. con luôn được mọi người nhìn nhận như một cậu bé già hơn tuổi. khi mới 4 tuổi, Mọi người mong mỏi con phải giỏi như một đứa trẻ 6 tuổi, và khi mới 6 tuổi, mọi người lại mong con đọc, viết và chơi bóng đá giỏi như một cậu bé 9 tuổi rồi. Philip, con đã cố gắng rất nhiều, cố gắng để bắt kịp, cố gắng trở thành một cậu bé ngoan, con đã làm rất tốt, tuy có thể con chơi bóng đá ko được tốt lắm, dù con đã nỗ lực rất nhiều; có lẽ con ko có năng khiếu đá bóng lắm, con cố gắng đuổi theo bóng và sút bóng, nhưng hiếm khi đuổi kịp, và cũng hiếm khi sút trúng đích. Nhưng ngoài việc đó ra, bố nghĩ rằng con đã thành công với phần lớn những việc con làm. Rất nhanh chóng, bố đã nhận ra rằng con biết nhiều hơn bố ở rất nhiều lĩnh vực, con đã rất hăm hở khám phá những điều mới mẻ, ví dụ như con đã theo học một khóa học tốc ký, ko phải vì con cần biết viết tốc ký, mà chỉ để xem người ta viết tốc ký như thế nào.

Sự ham hiểu biết đó có thể là lý do tại sao con học và tìm hiểu sâu hơn về máy tính, có lẽ hơn bất cứ ai trong căn phòng này, và là lý do khiến con muốn làm một nhà lập trình máy tính, sự ham hiểu biết cũng khiến con ko chỉ biết, mà còn hiểu rất chính xác, các chương trình máy tính hoạt động ra sao. Sự tò mò, ham hiểu biết này của con rất giống chú Stig. Stig cũng thích tìm hiểu về nguyên lý hoạt động của máy móc, như TV< ô tô hay những đồ điện tử. Rất nhiều lần khi trở về từ nhà Stig, con mang theo cả đống ti vi, lò nướng hỏng, tháo tung ra và xem chúng hoạt động thế nào.

Sự ham hiểu biết, thích học hỏi này cũng đã mang con tới với Nga. Con đã hỏi bố mẹ về việc nghỉ học một năm ở trường ĐH và sang Bắc Kinh học tiếng Trung. Với phần lớn mọi người, đây ko phải một năm nghỉ ngơi, nhưng với con thì rõ ràng là vậy. bố mẹ đồng ý để con đi, với 2 điều kiện (bố ko nghĩ rằng bố mẹ có thể cản được con, và thực lòng bố mẹ cũng ko muốn vậy). Tại thời điểm đó con có quan điểm chính trị tương đối rõ ràng, và điều kiện đầu tiên mà bố mẹ kiên quyết muốn con làm theo. Đó là khi sống ở BK con không được chỉ trích chế độ chính trị hay XH TQ, đặc biệt là trên internet. Đó là điều con đã hứa với bố mẹ.

Điều kiện thứ hai không phải là bắt buộc, nhưng bố mẹ đã mong rằng con sẽ ko ở lại TQ mãi. Đừng yêu một cô gái Trung Hoa.

Chỉ sau vài tuần khi đến TQ, con đã gọi điện về và tuyên bố: con đã giữ cả 2 lời hứa với bố mẹ, ko chỉ trích TQ, và ko yêu con gái Trung Hoa. Nhưng, con đã gặ Nga, cô ấy không phải người Hoa, nhưng cô ấy rất thông minh và xinh đẹp, và con đang yêu đây. Bố mẹ đã rất vui và hi vọng có cơ hội gặp người con gái tuyệt vời này khi bố mẹ đến thăm con tại BK, và bố mẹ đã có đc cơ hội đó, khi chuyến bay của bố mẹ chuẩn bị cất cánh từ Stockholm thì chuyến bay của con từ Hà nội cũng vừa hạ cánh xuống BK. Cuộc gặp đầu tiên đó thực sự lạ lùng. Có một bức tường vô hình ngăn cách giữa bố mẹ và con, chúng ta chỉ ngại ngùng bắt tay, chưa thể nói chuyện và chỉ chào nhau bằng cử chỉ. Kể từ đó bố mẹ đã có dịp gặp con tại Thụy Điển, và cũng đã tới thăm nhà con tại Hà nội. Cảm ơn con vì những tình cảm nồng ấm của gia đình con. Mỗi khi gặp con, bố mẹ lại hiểu thêm về hai đứa, và bố mẹ phải đồng ý với Philip, rằng Nga thật thông minh và thật đẹp, just look at her, và vì con gọi bố mẹ là bố và mẹ (đây ko phải là truyến thống của Thụy điển, nhưng bố mẹ biết rằng đó là truyền thống của VN), và thật tự nhiên bố mẹ cũng coi con như con gái.

Để chứng tỏ rằng, con giờ đây ko chỉ thuộc về gia đình VN của con, mà còn là một thành viên của gia đình Thụy điển của chúng ta, bố muốn tặng con món quà này, và mong rằng con sẽ giữ nó đến suốt cuộc đời. Sẽ ko còn bức tường trong suốt nào chắn giữa chúng ta nữa.
Đây là chiếc nhẫn là cụ ngoại David đã tặng cho người vợ thân yêu Ester của cụ 104 năm trước. Bố mẹ đã mang đi chỉnh sửa đôi chút để nó hợp với gu và phong cách của con hơn, nhìn kỹ phía trogn chiếc nhẫn, con sẽ thấy dòng chữ ”David 13/12 1906”

Read Full Post »

Wedding in Hanoi

Last Saturday I and Nga got married here in Hanoi. The temperature was a scorching 42°C, but still 450 guests (8 Swedish) defied the sun and came to share the day with us.

This was the first time I had ever seen Nga wearing make-up, so I was quite worried I might not recognize her. It turned out that I didn’t need to worry at all, doesn’t she look lovely?

The Beautiful Bride

In the meantime, I was struggling to survive in the heat.

The Hot Groom

It was ridiculously hot outside in the sun, but we were able to get a few great pictures despite this.

In the Heat of the Sun

We Look Good Together

Em đẹp lắm!

Our ceremony was neither traditionally Vietnamese nor Swedish, but rather something in between. Unlike in Sweden, the ceremony and dinner is in the same room, with the food already being on the tables before the guests arrive. Somewhat untypically for a Vietnamese wedding, we had a clear theme – purple. The florist did a great job!

Me and Nga's family

Purple Wedding

The ceremony itself consists of three parts: exchange of rings, cutting the cake and pouring the wine.

Exchange of Rings

Cutting of the Cake

Pouring the Wine

At this point one would normally offer the parents on both sides to drink wine, which we eventually did, but first we spliced in a bit of Swedish tradition – my father giving a speech. I hope to be able to post the transcript and Vietnamese translation of that speech later.

My Father Giving a Speech

Once the ceremony on stage was over, we walked to each table to thank the guests for attending, taking plenty of pictures along the way.

Cảm ơn!

For those who have Facebook, more pictures are available in Nga’s wedding album. I leave you with a final picture of the new international family.

One Big Family

Read Full Post »

VP8 has landed

Today, WebM/VP8 was announced at Google IO. The last month I have been working on adding support for Opera and we have now released labs builds for Windows, Mac and Linux. We have also published an article for web developers who want to start using WebM <video>. Here’s what it looks like, the Sintel trailer on YouTube playing in Opera with WebM <video>. No Flash!

Previously I’ve posted on Opera Core Concerns, but this time I want to share some personal reflections. (In other words: any views expressed are my own, not those of Opera Software.) What follows is the (quite geeky) history of me and the various codecs and organizations I’ve come into contact with over the past 8 years.

Back in gymnasiet I was a compulsive MP3 collector and was very picky about my bitrates. 128 kbps sounded (still sounds) horrible and it pained me, so when I learned about the Vorbis audio codec I was very excited. Not only was it technically superior, it was also completely free. I re-ripped all of my CDs as Vorbis, told all my friends to do the same and started listening to Machinae Supremacy simply because they offered Ogg downloads. I was a fanboy.

In June 2002 On2 released VP3 to the world. It was my summer holidays and I spent most days inside on an extra slow dial-up connection. I clearly remember that upon reading the news I literally bounced out of my chair and threw my hands in the air out of joy. (Remember, I was 17.) The first thing I did when there was code I could compile and run (packaged by Xiph I believe) was to encode and watch Star Trek: First Contact. The example decoder could neither pause or play in fullscreen, so instead I changed my screen resolution and just watched.

At the time I couldn’t do much to help out, but I wanted to be part of this cool community. One of the first pieces of C code I ever wrote was oggsplit, a not-so-useful tool for splitting multiplexed Ogg streams into separate files. I never used it much, but was quite proud to see it in Xiph’s ogg-tools package.

Fast foward. In the summer of 2006 I began working as a summer intern at Opera Software in Linköping, where I wrote an example plugin for video playback on Opera Devices SDK. I picked GStreamer as the backend and by the time I was done I must have watched A New Computer ~1000 times.

In February 2007 Opera proposed <video> and released a proof-of concept Ogg Vorbis+Theora build. I had no part in this, so it came as somewhat of a surprise. Initially thought that they had used my plugin, but that turned out to not be the case – it was libogg, libvorbis and libtheora integrated directly into the browser. The most exciting part was the strong stance for open standards, something that I obviously agree with.

What happened after that is pretty well known: the <video> tag makes obvious sense, so it quickly got implemented in other browsers. When I joined Opera’s core department (part time) in the summer of 2008, <video> hadn’t been touched much for over a year, so I was tasked with bringing it back to life. Loving both audio/video and the web, it would be hard to find a more suitable and fun job. I ended up porting my then 2-year old plugin and thus Opera is now using GStreamer internally. The Codec Wars™ were always a pain, but we did finally release Opera 10.50 with support for Ogg Vorbis+Theora.

After Google announced that they were buying On2 there was lots of speculation that they would release VP8. I have certainly hoped it would happen, but it seemed a bit too good to be true. Therefore, my reaction when it was confirmed was similar to when VP3 was released – bouncing like a 17-year old. That Vorbis is the chosen audio codec for WebM only makes things better. How lucky I am, that this time I get to actually be part of the release event. It’s been immensely fun working on this, in secrecy, then seeing everything happen in a maelstrom of releases, tweets and blog posts today. Håkon is at Google IO running my code on stage, but just a few weeks ago he was in Opera’s Beijing office, watching sunflowers in one of the first Opera VP8 builds:

While not yet 100% bug-free, VP8 in Opera is well on its way and will be in an official release soon. Today is a good day for open video and the open web. Many thanks to everyone who have worked to make this possible. Live long and prosper, WebM!

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.