Regeringens länkningspolicy

The website of the government of Sweden has a linking policy which states: “Specify the link to www.sweden.gov.se and www.regeringen.se in a neutral manner.” (My italics.) It’s funny, but it’s also stupid. Imagine enforcing that linking policy among bloggers. Or on company websites — It would be a PR fiasco. Why can governments get away with it?Jag tycker inte om dumma “terms of use” policy. Jag tycker inte heller om länkningspolicy (och Boing boing inte heller).

Regeringens nya webbplats har en Länkningspolicy. Det börjar så:

Länka gärna till www.regeringen.se och www.sweden.gov.se, men tänk på att:

  • Ange länken till www.regeringen.se och www.sweden.gov.se på ett neutralt sätt.

    Jag tycker att det är jättedumt. Får man verkligen inte kritisera webbplatsen när man gör en länk till den? Kan du inbilla dig om bloggar använde samma länkningspolicyn?

    Radiotjänst guy

    Well, they found me. The knock on the door came barely a month after having moved. I actually thought it was the landlord come to fix a light and so I bounded to the door, only to find an extremely sorry-looking man with droopy eyelids who began to inform me in resigned Swedish that maybe I was not paying for a TV license. I let him talk for a while, then feigned ignorance of Swedish and let him start again in English. He spoke rather excellent English, I must say. In fact, I suspect he was British. He reminded me of Hitler, but without the mustache or charisma.

    My TV was turned off and around the corner, and so I could have lied to him, but he looked so sad and dishevelled and obviously much verbally abused and routinely lied to, and probably bullied in the playground growing up, that I just couldn’t bring myself to contribute further to his evident self-loathing. In fact, I had all the body language of a liar even when I admitted that yes, I have a TV the landlord lent me, and how much would it be, oh that much a month, and if I get rid of the TV do I just call… what is your service called, Radiotjänst? Emboldened by my less than hostile reception, Radiotjänst guy even made a brave attempt at explaining his purpose in life, pointing out that they guarantee the existence of public broadcasting free of advertising and political meddling.

    What annoyed me most is that since I was pretending never to have heard about Radiotjänst, I couldn’t retort with evident knowledge that while there is nothing wrong with publicly funded broadcasting, there is everything wrong with poll tax collectors for televisionsA paradox… Here are three facts: 1) I have yet to meet a a Swede who approves of Radiotjänst. 2) Sweden is a democracy. 3) Radiotjänst continues to exist. How can these three things all exist simultaneously?.

    Now that I think about it, I bet his look was a foil. Radiotjänst jobs are probably some of the most coveted ones around for actors, who see this as the ultimate test of their method-acting skills. Become Radiotjänst guy, the teacher intones to his charges as he sends them off to collect licenses. And whoever comes back with the fewest gets booted from the course. My guy is probably already back at central casting, where they are removing the make-up along with the artificial bags under his eyes. Soon, he’ll be at home sipping a claret as he learns his lines for an upcoming starring role in Death of a Salesman. No wonder he spoke such good English. I really think I have seen him on TV — now wouldn’t that be ironic?

    The de Bruijn Code

    Instead of doormen, Stockholm apartment buildings have a little keypad at the front door, into which you key a 4-digit code to gain access to the lobby. The code is known to residents, and is liberally shared with acquaintances, workmen, postmen, and no doubt sold to an underworld of snail-mail spammers and worseI’d love to see a database of Stockholm door codes, though, if only to gain a little humint on what are the most popular 4-digit combinations..

    The keypad is unusual in that there is no enter key. Instead, it remembers the last 4 digits you have pressed, and compares those to the code which unlocks the door. In other words, if you key in the sequence 123456, you’ll have tried codes 1234, 2345 and 3456. If the correct code is 2345, you’ll have opened the door after keying in the first 5 digits in the above sequence.

    This is different from how a bank machine keypad operates, where you need to key in four digits (and then enter) for every PIN code number you try. If you were to forget your code, you’d have to go through a maximum of 40,000 key punches (not counting the mathematically boring enter key): 10,000 combinations of 4 keys each (0000, 0001 … 9998, 9999).

    On a door-code keypad, however, it’s clear that you can cycle through every combination in far fewer than 40,000 key punches: If I key in just the sequence 1234567890, for example, I have already tried 7 different 4-digit combinations with just 10 key punches. On a bank machine keypad, it would have taken me 28 key punches to try 7 different 4-digit combinations.

    This is interesting information for all those of us who think it within the bounds of possibility they might one day find themselves standing somewhat stupefied in the snow outside their Stockholm apartment at 3am on a Sunday in January, with the mercury all shrivelled up, not a soul in sight and not a code in mind. Deciding beforehand on the right contingency strategy for such a situation could shave hours off the frigid poking at that dumb but durable little keypad which would then have to follow.

    A rundown of the options, then:

  • Going through the combinations bank-machine style. Pros: Counting from 1 to 10,000 is easy; you’re guaranteed to hit your code eventually Cons: 40,000 key punches at around 2 per second will take just over 5 1/2 hours. With luck, your code is 0012 — but nobody is ever lucky at 3am on Sundays.
  • Going at it randomly. Pros: No thinking required whatsoever. Cons: Looks pathetic; generating truly random patterns is nearnigh impossible for humans, especially drunk ones; you might actually never type in the correct code.
  • Calculating beforehand the shortest possible sequence that cycles through all possible codes, writing it down and keeping it in your parka in case of just this kind of emergency. Pros: Should get you into any warm lobby in no time, relatively speaking. Cons: The “beforehand” part of the first sentence in this paragraph.
  • The rest of this post concerns itself with exploring the possibility of making this third option a viable one for Stockholmers. To that end, I have been wondering: (1) What is the minimum amount of door-code keypad punches needed to try every possible combination? (2) Is it possible to run through every possible combination without being forced to repeat any combination? (3) Is there a unique such solution? (4) If not, how many solutions are there? And finally, (5) How likely am I to spontaneously generate the shortest possible sequence if I pursue the second, random strategy described above?

    If the answer to (2) is yes, it’s easy to see that the answer to (1) is 10,003. That’s because after three punches, every subsequent key I press adds a new 4-digit combination to the sequence, and there are 10,000 combinations to go through. In this best-case scenario, at 2 presses per second, we’d go through every combination in under 84 minutes.

    As I started looking into this, it felt like the answer to (2) should be yes, but I lacked the mathematical tools to back up my hunch. So I decided to try to simplify the problem and then apply brute force. Instead of looking for the shortest sequence that contains all possible 4-digit combinations without repetitions, I decided to try to find one that contains all 2-digit combinations without repetitions — the shortest sequence that would unlock a door-code keypad with a 2-digit code.

    I printed out a 10×10 grid with all 100 combinations (00, 01 … 98, 99) and headed for a café in Kungsholmen. After a café latte’s worth of trying to connect the numbers, I’d found a sequence 101 digits long that contained all the combinations exactly once — showing that (2) is true, at least for 2 digits:

    00112131415161718191022324252627282920334353637383930445464748494055657585950667686960778797088980990

    I can’t help it, but I happen to feel that that’s a pretty cool sequence — it feels so dense, so efficient. Just from inspection, some other things become clear:

  • There are many distinct such shortest possible sequences. For example, you can make some others just by moving the 00 at the start of the sequence to wherever else there is a 0, just by moving the first 0 next to any other 0. This means the answer to question (3) is No, there is no unique solution; not for two digits, and by extension, not for four digits, because here too we’d be able to insert the specific combination 0000 anywhere we find 000 in the sequence. The same holds for shortest sequences containing all combinations of any length.
  • The last digit and the first digit are repeated. That’s because every digit except the first and last does “double duty” in belonging to a combination, and since there is an equal total number of digits in the combinations 00, 01 … 98,99 (twenty 0s, twenty 1s, twenty 2s etc… for a total of 200 digits), the first and last digit have to be the same. This is the case for any shortest sequence containing all 2-digit combinations.
  • Since the last digit and the first digit are always the same, you can fuse them into one digit that does “double duty”, in the process turning this sequence into a great big circle of 100 digits. This is even more elegant; you can start anywhere you like in the sequence and loop around it, and you’ll have gone through every combination when you’ve made a complete loop. A better way to denote our sequence, then, would be
  • …0011213141516171819102232425262728292033435363738393044546474849405565758595066768696077879708898099…

  • You can go in either direction around this loop. That’s because every combination has its own unique mirror image: 91 maps to 19, 34 maps to 43, etc… And palindromes map to themselves.
  • It felt like these observations should apply by extension to shortest sequences for combinations of any length, but I still could not demonstrate to my satisfaction that the shortest circular sequence containing all combinations of x digits had to be of length 10x — in the case of our door-code keypad problem, a loop of 10,000 digits. Also, I was nowhere near being able to count the number of such shortest sequences.

    I thought I’d simplify the problem further, then — by reducing the base from 10 to 2. We can do that, because we’ve really just been using digits as stand-ins for distinct objects, and combinations as ordered collections of these objects. For that matter, you could think of our 4-digit codes as being equivalent to 4-letter words, made from an alphabet comprised of 10 letters. In base 2, there are only two letters, if you will: I and O.

    In base 2, then, what do the shortest circular sequences containing all 2-letter words“codes” / “combinations” / “words” / “cyphers” / “strings” / “stretches” / “ordered collections”… — it’s all the exact same thing. look like?

    …0011…

    That’s it, actually (1001, 1100 and 0110 are all shifted versions of the same circular sequence)For completeness’s sake, the shortest circular sequence containing all 1-letter words in base 2 is …01…, and it’s unique, obviously.. Notice that the length is 4, or 22. How about the shortest sequences containing all eight 3-letter words, in base 2?

    …00010111… = …00011101…

    There are two, though they are each other’s mirror image; proceeding clockwise on the first is equivalent to proceeding counterclockwise on the second. Length: 23 = 8.

    Shortest sequences containing all 16 4-letter words, base 2?

    …0000100110101111… = …0000111101011001…

    …0000100111101011… = …0000110101111001…

    …0000101001101111… = …0000111101100101…

    …0000101001111011… = …0000110111100101…

    …0000101100111101… = …0000101111001101…

    …0000101101001111… = …0000111100101101…

    …0000101111010011… = …0000110010111101…

    …0000110100101111… = …0000111101001011…

    That’s 16 sequences of 16 letters each, including mirror images.

    To find these sequences, I had to resort to drawing crude graphs, with all the possible words connected by arrows indicating which word could lead to which as we create a sequence (think “continue punching away at the keypad”). For example, both 1010 and 0010 can be followed by 0100 or 0101, in the exact same way that on the door-code keypad, the codes 1001, 2001, … 9001 and 0001 can be followed by 0011, 0012, … 0019 or 0010, depending on which key you choose to punch next.

    The trick is to visit each word only once by following the arrows. Here, for example, is a graph with all possible 2-letter words in base 2 as nodes:

    dBG[2,2].gif

    This is a much prettier version, made later, after I got some help online. Notice how there is only one way of cycling through all the nodes once.

    Here is a graph with all possible 3-letter words in base 2 as nodes, again made much prettier after the fact:

    dBG[2,3].gif

    In all these graphs, I’ve also labelled the arrows, because they represent a unique relationship between two words. For example, the arrow from node 011 to 110 is labelled 0110, because that is the 4-letter word created when these 3-letter words follow one another in our sequence.

    This hints at a very profound relationship between these graphs: Every arrow on the smaller graph corresponds to a node on the larger graph. Therefore, trying to find a path that cycles through every arrow on the smaller graph is the same as finding a path that cycles through every node on the larger graph. And visually, at least, it is a lot easier to find all the ways to cycle through every arrow on the smaller graph than it is to find all the ways to cycle through every node on the larger graph. Hence I never needed to draw a graph with all 4-letter words as nodes in order to find the 16 shortest circular sequences containing all 4-letter words listed earlier — instead, I just found all the ways to cycle through all the arrows on the larger graph above.

    This is as far as I got on my own. It began to feel like I was trying to reinvent the wheel, badly, so I decided to seek professional help. After rummaging about on Mathworld for a while, I hit paydirt: It turns out a loop sequence of letters or digits is called a necklace. The shortest possible such sequence containing all possible words of a certain length is called a de Bruijn sequence. The graph associated with a de Bruijn sequence is called a de Bruijn graph. The path along such a graph that uses every arrow (edge) exactly once is called a Eulerian circuit (and all graphs that allow such a circuit are called Eulerian graphs, making de Bruijn graphs a subset of Eulerian graphs). The path that uses every node (vertex) exactly once is called a Hamiltonian circuit (and you can guess what a Hamiltonian graph is).

    It turns out that Leonard Euler provided us with the crucial link that shows why the answer to question (2), “Is it possible to run through every possible combination without being forced to repeat any combination?” is always yes, regardless of alphabet or word size. According to the Mathworld page on Eulerian graphs,

    “Euler showed (without proofI don’t know if someone has supplied a proof of this, in the meantime. Something to look up.) that a connected graph is Eulerian if and only if it has no graph vertices of odd degree. […] A directed graph is Eulerian if and only if every graph vertex has equal indegree and outdegree.”

    In other words, if on a graph connected by arrows every node has as many arrows coming in as arrows going out, you will always be able to make at least one Eulerian circuit — you will always be able to find a way to cycle through all the arrows without ever getting stuck at a node. This makes sense, intuitively: Take the larger graph above, the de Bruijn graph for base 2, order 3 (which means the nodes represent 3-letter words): every node has an equal number of arrows going out, because the alphabet (base) from which to choose the next letter as you proceed along your circuit is the same at every node. The same goes for arrows coming in, which represent the letter being dropped as we progress along our circuit — it too has to be a member of the same alphabet.

    But what about generating a bona fide de Bruijn sequence for our door-code keypad? Well, Mathworld is linked to the math program Mathematica (the brainchild of Stephen Wolfram), and the page on de Bruijn sequences mentions that Mathematica has an algorithm for generating such sequences for any given alphabet and word length. Although Mathematica is perhaps one of the most impressive applications ever made, it also costs 25,000kr., and hence I’ve never managed to justify buying it. Fortunately, there is a 15-day free trial, so I hurriedly downloaded it, and got to work. Here is a trial run, a de Bruijn sequence for 3-digit combinations in base 10:

    …9798787770760750740730720710980970960950940930920910108908708608508408308208889998988081009909008007006005004003002000190180170160150140130120119118117116115114113112912812712612512412312213913813713613513413313214914814714614514414314215915815715615515415315216916816716616516416316217917817717617517417317218918818718618518418318219919819719619519419319212111029028027026025024023022922822722622522422392382372362352342332492482472462452442432592582572562552542532692682672662652642632792782772762752742732892882872862852842832992982972962952942932322202103903803703603503403393383373363353349348347346345344359358357356355354369368367366365364379378377376375374389388387386385384399398397396395394343330320310490480470460450449448447446445945845745645546946846746646547947847747647548948848748648549949849749649545444043042041059058057056055955855755695685675665795785775765895885875865995985975965655505405305205106906806706696686679678677689688687699698697676660650640630620610790780779778978879…

    Again, I love the density of these sequences. When it came to generating a de Bruijn sequence for 4 digits in base 10, though, Mathematica took its time — 2 hours and 45 minutes, to be exact. By then I had grown restless and had been googling “de Bruijn sequence”, only to find a most surprising page among the results: A Swedish blogger! Hakan Kjellerstrand has a page up with a much faster algorithm for generating de Bruijn sequences. He even singles out the specific solution for Stockholm door-code keypads. So click on that link, print out the result and keep it handy whenever you have a door-code keypad blocking your way.

    But two of the five original questions remained unanswered: First, how many such sequences are there? Hakan and Mathematica both provide one sample de Bruijn sequence, not a counting function for de Bruijn sequences for a given alphabet and word length.

    It turns out the answer wasn’t even known for sure until 2002, when Vladimir Rosenfeld at the University of Haifa published a proof for the general formula in a paper titled “Enumerating de Bruijn Sequences.” It’s not online, as far as I can tell, but he does talk about his results in another paper of his, Enumerating Kautz Sequences (original link).

    According to Rosenfeld, in 1946 Dutch mathematician N.G. De Bruijn proved a formula for counting the number of shortest circular sequences containing all q-letter words using a 2-letter alphabet (base 2). Here it is:

    total number = 22(q-1)q

    Indeed, for q = 3 the result is 2 and for q = 4 the result is 16, as shown earlier. This made him famous, and led to this entire class of sequences being named after him, though it doesn’t seem like he proved a generalized formula for any given alphabet size (base). In 2002, Rosenfeld did just that, apparently. For an alphabet size s and word length size q, the number of circular de Bruijn sequences of length sqis! means factorial. 4! = 4x3x2x1:

    (s!)s(q-1)sq

    Making s=10 and q=4 gives us 10!1000/10000, or 5.79×106555Update 2004-10-09: Well, you can’t trust the internet for anything, can you? The paper by Rosenfeld misprints the formula for the number of circular de Bruijn sequences (I’ve corrected the main text now). The relationship between the number of circular de Bruijn sequences and the number of linear de Bruijn sequences didn’t look right when I read the paper — I thought the difference between these two formulas should be a factor of s^q, because every circular de Bruijn sequence seemed to me to contain that many starting points for linear de Bruijn sequences. But hey, I didn’t prove the results, and my blog doesn’t have “expert anonymous reviewers,” so what would I know? Today, though, I found a different formula for the number of circular de Bruijn sequences in Stephen Wolfram’s New Kind of Science and this one confirms my hunch. And so far, Wolfram has never failed me. (The formula for the linear de Bruijn sequence remains the same, though.)
     
    Update 2004-10-21:Vladimir sent me his original paper, Enumerating de Bruijn sequences [PDF] and indeed there the formula is correct. And an interesting read.
    , sequences. If we want to tally up the more real-world situation, where you need to key in 10,003 digits into the door-code keypad, then the formula is slightly modified:

    (s!)s(q-1)

    which gives 10!1000 or 5.79×106559 linear de Bruijn sequences. That’s our answer for question (4).

    Which leaves us only question (5): “How likely am I to spontaneously generate the shortest possible sequence if I pursue the second, random strategy described above?” To answer this, all we need is to divide the total number of linear de Bruijn sequences (which we just counted) into the total number of sequences that are 10,003 digits long (which is just 1010,003). The answer: 1 in 5.79×103444 times. Given that the number of stars in the universe is about 7×1022, it’s a safe bet to say that every pig will need to fly before anyone ever achieves this feat.

    Postscript: De Bruijn sequences are actually useful, and crop up in several seemingly unrelated fields. They provide the mathematical underpinning for DNA manipulation tools — DNA being nothing but sequences of words composed of the letters G, A, T and C. Rosenfeld’s paper, too, aimed to provide mathematical tools for understanding “minimal generating sequences” in DNA, that is, “the sequence of minimal length that produces all possible amino acids.” Also, de Bruijn sequences seem to get mentioned a lot in connection with cryptography, especially by Stephen Wolfram in the footnotes to A New Kind of Science, though how or why is something I think I need to look into next.

    Top ten things I hate about Stockholm, IX

    The ninth in an occasional series.
     
    Ten: Predatory seating
    Nine: Culinary relativism
    Eight: Preëmptive planning
    Seven: Premature mastication
    Six: Irrational discalceation
    Five: Radiotjänst i Kiruna AB
    Four: Temporal engineering
    Three: Tunnelbana vision
    Two: Simölacra

    I’ve learned a few lessons in life I’d like to pass on.

    Don’t drink British wine. Don’t drink Italian beer. Don’t drink cosmopolitans in dive bars, don’t drink Rolling Rock in diva bars. Do as the locals.

    Don’t drink decaffeinated coffee. Don’t drink de-alcoholized beer. Don’t eat vegetarian food made to look like meat. Seek out authentic things.

    But what to do if these two prescriptions for life clash? What if the locals seek out simulacra? I am referring, of course, to that sad abomination of an acoholic beverage, lätt öl [Swedish], a Swedish class of barely beers, “light” on taste, alcohol and point, a straight-to-bladder production that not even the state alcohol dispensing monopoly, Systembolaget, could be bothered regulating.

    And yet Swedes don’t get the hint about what that implies. Every day, at luncheon places all over Sweden, hundreds of thousands will optimistically ask once again for lätt öl by name, just in case that, over night, it might suddenly have developed into something substantive.

    It’s hard to describe the lack of taste it has. You know how sometimes, when you buy a coke from a concession stand and the dispenser has almost run out of syrup, you get to drink something with a hint of coke that is actually far worse than just water? Lätt öl is the beer equivalent.

    To be honest, I don’t understand why Swedish beer is drunk at all. Sweden has worldbeating vodkas and aquavits and wonderful traditions involving punsch and mulled wine. Swedish beer, on the other hand, is atrocious.

    Yes it is, and you know it — there is a reason why you don’t export it. I’m not necessarily saying only Belgians can make good beer — the Germans produce competent brews, even if their restrictive Reinheitsgebot guarantees they’re boring; the Americans have some excellent microbreweries; give them a few more generations as they chisel away at the rough edges, and they will have something that approaches the complexity of the palate of an Orval. But as for Swedish beer, there is no hope, and the whole enterprise should just be put out of its misery.

    At least lätt öl consumption has fallen by half over the past ten years, for which we have the EU to thank. Price-sensitive consumers have been getting more booze for their buck by nipping over the border and carting home something realI’ve described the role alcohol plays in Sweden’s social life before.. This upgrading of Swedish drinking habits is encouraging, but Swedish alcohol consumption still ranks below the EU mean — so if Swedes want to bolster their until-now entirely undeserved international reputation as a drinking nation, there is still much work to be done.

    I suggest refocusing on core Nordic competencies — bring back Viking meadAnd if you hire Absolut’s marketing geniuses you’ll have another runaway export success on your hands.. Read up on Norse drinking culture, convert Spendrups‘s breweries into meaderies, then start enjoying an alcoholic heritage that is both local and authentic.

    Fredagsfyran: Vad heter din blogg?

    1. Vad heter din blogg?
    Det finns blog@stefangeens.com, MemeFirst, Swedish Research News och Oog som jag känner mig ansvarig för, men den sista har faktiskt blivit min fars fotoblogg.

    2. Hur valde du detta namn och avspeglar det på något sätt syftet med din blogg?
    blog@stefangeens.com och Swedish Research News är jättetråkiga som namn, men de har fördelen att namnen är ärliga. När jag började blog@stefangeens.com behövde Blogger (som jag använde då) en titel, och jag hade ingen inspiration. Kanske också anade jag att om jag gav min blogg en kvick titel (t.ex. New York State of Mind, Ceçi n’es pas un Belge eller Stockholm Syndrome), jag skulle tröttna på den innan att jag tröttnar på min blogg.

    MemeFirst är en helt annan berättelse. När jag var på semester med några kompisar var det så tråkigt bara sitta på stranden att vi bestämde oss vi skulle skriva och regissera en kortfilm, “Beaver Me First,” och därinne fanns en kult som hette “Me First”. Kultmedlemmar var egoistiska, självklart. När några av oss senare ville starta upp en gruppblogg som skulle befordra argumentationer, insåg vi att det skulle angå bada konflikter mellan individer (me first), och konflikter mellan memer (meme first). Jag tycker fortfarande om namn.

    Oog betyder öga på flamländska. Bra namn för en fotoblogg, tycker jag.

    3. Bästa svenska bloggnamn? Media Culpa

    4. Bästa utländska bloggnamn? Memepool.

    Fredagsfyran

    Frågor kommer från här.1. Vilken författare, död eller levande, skulle du vilja se som bloggare?
    Utan tvivel, JM Coetzee. Även om det var bara en av hans rena, minimalistiska paragrafer varannan vecka. Jag tror förresten att han inte skriver hans romaner snabbare än det. Jag undrar därför om det betyder att Coetzee inte skulle orka skriva fler böcker om han började blogga.

    2. Borde fler bloggare försöka ge ut sina anteckningar i bokform (se”Supermamman“)?

    Ja, så länge det inte är deras blogg innehåll som blir förlagt som bok; bloggar och böcker är helt annorlunda litterära former och jag tror att det som passar bra i en blogg blir mindre i en bok. Förresten är bloggkompetenser helt annorlunda som romanförfattarekompetenser. En kompis sa en gång, “bloggers are novelists with ADD.” Jag håller med. Det finns människor som kan båda, men det är inte självklart.

    Vi kommer att se hur Belle de Jour gör det. Om hennes roman dokumentär blir en sexy version av Bridget Jones’s Diary kan det funka. Men Helen Fielding skrev aldrig hennes bok kronologiskt, som en verklig dagbok. En roman blir bra om berättelsen har en stor struktur (en “dramatic arch”), och det klarar man inte genom att skriva på ett rent kronologiskt sätt, som på en blogg (utan att vara ett geni).

    Jag utesluter inte att man får publicera en novellsamling av blogginlägg, men noveller inte heller är vad flesta bloggare skriver på deras bloggar.

    Förresten: Jag tycker faktiskt inte om att man tar bort blogginläggen från webben när de blir förlagt som en bok. Det är mot min bloggaretik. Bättre att skriva nya grejor för boken.

    3. Skulle DIN blogg kunna redigeras om till bok?
    Nej, tack.

    4. Vore en bok skriven i bloggform (en post = ett kapitel), en bra idé?
    Ja, om författare har skrivit och redigerad mesta av innehållet innan att hon börjar publicerar det som en blogg, så att vi läsare kan nöja oss av en riktig handling. Till slut, det är mycket svårare för en blogg att bli en bra bok än för en bok att bli en bra blogg.

    Top ten things I hate about Stockholm, VIII

    The eighth in an occasional series.
     
    Ten: Predatory seating
    Nine: Culinary relativism
    Eight: Preëmptive planning
    Seven: Premature mastication
    Six: Irrational discalceation
    Five: Radiotjänst i Kiruna AB
    Four: Temporal engineering
    Three: Tunnelbana vision

    In New York, on the subway during rush hour, the locals have adopted highly evolved rules of behavior aimed at maximizing the efficiency of the transfer of passengers out of and then into the carriages at subway stops, with a view to getting the train rolling again ASAP. The process is one of constant sorting — between stops, new passengers and those not about to get off slowly trade places with those who are almost at their destination. Then, when the doors open, passengers about to get on the train leave a wide berth for those streaming off. They don’t get on until everybody who wants to get off does so.

    The efficacy of these rules is self-evident. How they came about spontaneously is puzzling only until you’ve literally stood between a New Yorker and her way home in the evening. The elbow in your groin was not just a rude push aside; it was a public service announcement, whose content was: “During rush hour, getting out of each other’s way is not just a courtesy, it is the fastest way to your destination. Jerk.” It’s called militant utility maximization, and it is what makes New York so special.

    In fact, this week I shall miss riding the New York subway, because those who do will be able to savor watching clumps of scared-looking Republicans from Topeka or Tampa as they learn this very lesson.

    On the Stockholm tunnelbana, meanwhile, rush hour is still a Hobbesian state of nature. Getting on and getting off is attempted simultaneously. Some people who get on first will take one step past the door and plant themselves there, which is so convenient for them, so not for everyone else. In fact, there was one guy I saw on my ride home tonight (and if you guessed that he prompted this little tirade then you guessed right) whose thought process must have gone something like this:

    It’s rush hour and I am standing right in front of the door through which I will eventually leave this train. That is quite clever of me. Oh look, we’ve arrived at a station that is not my destination and now my door opens. I shall just stand here, then. It seems that the young mother with the baby stroller behind me would like to get off, and the old lady with the walking aid would like to get on. I wonder how they are going to do this with me here. This could be quite difficult for them. Of course, I would never consider actually stepping out of the carriage for a moment, because this is not my destination — why would I get off the train if this is not where I get off the train?

    Had I been the mother, that moron’s ankles would have been a lot bluer, but then I’m not quite up on the ethics of using baby strollers as weapons when there are babies in them. I myself practice the New York school of (dis)embarkment: A polite “ursäkta” (excuse me), a count to one-and-a-half, and then the full-on barge, taking assorted stragglers with me. And all so that they can get home faster tonight.

    Murder by numbers

    Via Strang’s Blog: Olle Wästberg, until just now Sweden’s consul general in New York, returns to Sweden on the wings of an an article extolling New York City’s crime rate in comparison to that of Sweden. Favorite topic!

    Before I go on to question the validity of the comparison, let’s assume for a while that the numbers are valid at face value, as reported by Wästberg (and I certainly accept that the statistics are for similar populations):

    New York had 598 murders in 2003. Sweden had 189 in the same year, according to the National Council for Crime Prevention. New York had 1,875 rapes, and Sweden 2,565. Assaults: 18,764 in New York against 65,177 in Sweden. Burglaries: 29,207 in New York against 122,700 in Sweden.New York hade 598 mord år 2003. Samma år hade Sverige, enligt Brottsförebyggande rådet, 189 mord. New York hade 1 875 våldtäkter och Sverige 2 565. Grov misshandel: 18 764 i New York mot 65 177 i Sverige. Inbrott: 29 207 i New York mot 122 700 i Sverige.

    I found myself asking the question — If you had to choose between these two crime rate options for your society, which would you prefer? The answer is not immediately evident to me: I don’t grow attached to possessions, and am not a woman, so I gravitate towards the murder rate as being the ultimate arbiter of my personal safety. As long as I have my life at the end of the ordeal, I can cope with the rest, goes my thinking. But then, it’s a fact that most murders are committed by acquaintances, and if there is anything I am proud of it is my ability to choose friends with a propensity not to commit murder.

    nycse.gif

    Let’s chart these crimes by category, in order of severity. How to acccount for the comparatively gentle slope of New York’s numbers? Gun ownership would be an explanation, were it not for the fact that guns are outlawed in New York.

    I can think of two reasons, off the cuff, that might explain New York’s favorable “yield curve” for crime, and neither depend on levels of crime prevention spending:

    First off, it is damn hard to be alone in New York. Walk home along Avenue B at 3am on a Monday and you’ll still have at least 10 potential witnesses to any crime — quite a deterrent. There is safety in numbers, and I used this basic observation to ensure that I never even came close to being mugged in my 12 accrued years of New York living, including extensive expeditions into what were considered dodgy areas at the time. At an average Swedish location, on the contrary, you are hard-pressed to find witnesses, let alone victims (so I’ve heard).

    Second, in New York, people live on top of one another, and across from one another, and down the hall. In Sweden’s cities, too, there is such a thing as the apartment, though far rarer is the doorman (read private-sector crime prevention) — but in addition, more Swedes than New Yorkers live in isolated communities, removed from neighborhood watchers. All else being equal, then, more opportunities for burglary exist in Sweden, if only because the same amount of people are forced to live in approximately 370 times the spaceFrom Wikipedia: NYC surface area: 1,214.4 sq km. From CIA: Sweden surface area: 449,964 sq km..

    But now for the boring part: Sweden’s crime statistics are structurally overreported. I’ve already covered by how much, and why, the murder rate is overreported. And Sweden’s National Council for Crime Prevention weighs in with several further good reasons [Swedish] why its crime rates might be actual multiples of those of other countries.

    To return to Wästberg (and Patrick at Strang’s) thesis, which is that Sweden could benefit from more crime prevention spending — If I care predominantly about not dying, then I have to disagree, and here is why: Take a look at the causes of violent death in both Sweden and the US, from current reliable statistics that involve the counting of actual bodies. In Sweden, the murder rate is around 1 per 100,000 per year, and the suicide rate is around 16 per 100,000, for a grand total of 17 per 100,000 per year. In the US, the murder rate is 6 times as high, at around 6 per 100,000, whereas the suicide rate is a bit lower, at around 14 per 100,000, for a total of 20 per 100,000 per year.

    Clearly, these totals are in the same ballpark. But it is also clear to me that if Sweden wants to reduce the overall number of violent deaths without spending more money, it should start spending less on crime prevention and more on suicide prevention. In other words, more psychiatrists, fewer police. But even if we were not being glib, and even if we were running for office on a law and order platform and promising more spending, I’d be prioritizing investment in Sweden’s collective mental health.

    The kräftskiva

    Somewhere towards the northern end of the Stockholm archipelago there is a red wooden house atop its own island, snug in a glade of pines and birches. There is smooth slanting rock to the east for morning sunning, same to the west for sunset viewing, a dock, an outhouse, a fire pit on a spur, a flagpole, and a sauna, all placed at polite distances from one another, connected by meandering paths through low brush. When I arrived there, I felt like I had landed into that immersive computer game Myst — onto an island built from an improbably aesthetic assortment of elemental shapes and textures. The rock faces are veined with pink, and the water they curl into sloshes with waves that are a little too fractal. The cotton-tufted sky is doused in polarized light that should not ever produce such blue hues in real life.

    There are distinct soundscapes too. Sit to the west, towards the prevailing wind, and you notice the hissing of the reeds at the water’s edge, set against deeper notes of swaying pine trees. Higher up, a flagpole line beats a syncopated tang. The outhouse door operates with a squeak-thudA dunny for the D’ni, perhaps? Sorry, you have to be an Australian geek before that’s even remotely funny.. I half-expect to find a puzzle here, and indeed there is a strange round metallic contraption hidden amid a clump of trees, though I rather suspect divining its mysterious purpose would involve getting to know the outhouse composting system rather intimately.

    It is on this island that Helena G. and two dozen of her friends celebrated her birthday last weekend, at a party that managed to sublimate all that is essential about the Stockholm weekend getaway. We trickled in via ferry and car, and then rowed the final stretch. Once there, I dumped my bags and quickly made for the water. The island had to be swum around; a marking of the territory, perhaps. Then, we sunned for hours, stuck like fridge magnets to the sloping rock, holding our towels in place.

    As I lay there, A conversation I was half-monitoring veered past a word I couldn’t contextualize. Mambo? It’s a neologism derived from sambo (to live (bo) together (samman) as a couple but not be married) but it means to live with one’s mother. Were there any more such words? Certainly, I was told, as Swedes are nothing if not socially innovative. For example, there is kombo, which means to live together with a friend (kompis); ensambo, to live unattached alone (ensam); and särbo, which can mean to be attached but to live apart, for example when a relationship that begat children is undergoing a downgrade — and which upon first hearing I first thought was written serbo, i.e. to live with a Serb. There would have to be a pambo, then, too (to live with one’s father)? Yes, everyone conceded, though without much enthusiasm, as they turned back towards the sun. I decided I could take a liking to punning like this in Swedish: Bilbo, to live in one’s car (bil)? Lesbo, obviously? Hobo, without fixed abode? People were finding spots further afield. Limbo, when moving from one apartment to another? Bimbo, when you’re living on the set of Big Brother? OK, I’ll stop. Wait, no, yobbo, to live with a hooligan?

    Much later, it was time to drag considerable amounts of booze to the spur, where the tables were being set for the kräftskiva, or crayfish party. Silly hats were donned, the aquavit glasses were filled to the brim but never for long, and drinking songs sounded out across the water towards the setting sun. The center of attention, however, was the crayfish themselves, hundreds of whom were sacrificed in an orgy of focused determination that lasted hours, until the fingers bledIf Ridley Scott’s aliens ever made a sci-fi horror film, I imagine it would involve hordes of giant Swedes with heinous headgear methodically ripping apart crustacean carapaces before bringing these mangled bodies to their mouths to suck out the flesh.. These things must have negative net calories, considering the effort it takes to eat them, and how the hunger for them never slakes.

    A vignette from later still: Realizing that the sauna experience is just like jogging but while sitting still, and that it is thus a far faster and more civilized form of achieving the same inevitable result — total body meltdown. Furthermore, a dunking in a dark Baltic is a far more effective resuscitation tactic than a cold shower could ever be back in Stockholm.

    The next morning, it was time to swim around the island again, followed by coffee and a day of lazing before taking a slow boat full of good food back to Stockholm. Weekends in the archipelago truly rank among the world’s best.

    Sweden's population reaches 8,999,993

    Sweden passed the 9-million registered inhabitant mark last week. This fact is only of interest to those who are simultaneously enthralled by the decimal counting system and by numbers that have a large and nearly equal proportion of fives and twos as their prime factors — also known as base 10 numbers with lots of trailing zeroesThe nearest number to 9 million that is remotely of any interest is the 602,489th prime, 8,999,993..

    But there is news buried in this “news”. That horde of babies currently rampaging through Stockholm’s streets? They are not (merely) the figment of your hormonally-laden imagination as you careen inexorably towards the end of your child-bearing years — there are real statistics to back up your suspicion that there is an inordinate number of children being made of late.

    Statistics Sweden, the closest there is to a God keeping score, has all the raw historical population data, and also provides us with a running monthly population update. I used both to construct this souped-up spreadsheet, from which I made the pretty charts you see below.

    I used monthly data from 2003 and the first half of 2004 to make a seasonally adjusted, annualized projection for Sweden’s total 2004 births, deaths, immigration and emigration figures. With this projection, the data suggests the following interesting (to me) conclusions:

    bvd.gif

    1. There is a clear baby boom underway. There will be 16% (!) more live children born in Sweden this year than just 5 years ago (a projected 102,225 live births in 2004, compared to 88,173 children born in 1999, which was the trough year of the most recent Swedish baby “bust”). When placed in conjunction with the below-trend death rate of these past two years, Swedes will manage to raise their numbers by 0.14% this year purely through their procreative prowess.

    cspc.gif

    2. Net immigration has long been the main driving force behind Sweden’s population growth. It was the only source of growth from 1997 to 2001, when Sweden experienced more deaths than live births. For 2004, net immigration is projected to outpace net procreation (live births minus deaths) by a factor of almost two to one (23,630 to 12,721, or 0.26% year-on-year to 0.14%).

    3. This most recent baby boom has nothing to do with echoes from previous baby booms. Just look at the spacings of the peaks and troughs: Sixteen years between the 1944 peak and the 1960 troughSweden did not participate in WWII, so Swedes did not have to wait for the men to return home before getting busy; also, note the lack of a spike in the death rate — not necessarily something to be proud of.; 19 years between the 1964 peak and the 1983 trough, as women started having children later; but only 9 years between the 1990 peak and the 1999 trough.

    cbcpc.gif

    This latest upswing is due to entirely different factors — one theory I’ve heard is that this downswing came artificially early as couples refrained from having children amid the recession of the early 90s. Then, apparently, these couples were suddenly too busy having careers in the IT-stoked boom years of the late 90s, and postponed children again. Whatever the reason, there is now a backlog of “barnnödig” qv the truly excellent word kissnödig. couples, and they’ve all simultaneously decided to have their children now, before it’s too late.

    One other possibility: The parents of these couples, born during the WWII baby boom, are all at retirement age, which means there are far more grandparent-hours available for child minding that the couples can tap into as they try to keep their careers on track. This might be a crucial incentive.