Being the thoughts and writings of one Gustaf Erikson; father, homeowner, technologist.

Wednesday, 2005-11-30


Observations

James:

One dumb employee, or a set of stupid support policies, can just ruin your entire day.

Any resemblance to other situations in any way, shape, or form are entirely coincidental…  

Tuesday, 2005-11-29


Brute force is good, sometimes

I had to try to extract about 12,000 IP addresses from our click database, over a period of one and a half months. The table is famously big[1] (140,000 rows a day) and indexed on the date.

I don’t know what flew in me, but my first attempt was to generate SQL queries for each IP and run that query over the timespan. That’s 12,000 queries at about a minute apiece, in other words 8 days. Plus I couldn’t run it all the time, as it bogged down the database.

Then I found a better way. I took all rows for the timespan and checked if the IP was in a hash. If it was, I kept it, otherwise I just went on to the next one. I can’t believe I was so stupid I tried the first approach at all, and that I’m now blogging about it…

[1] in our system, you probably have much bigger tables.

Monday, 2005-11-28


Midnight Tides by Steven Erikson

A new installment in the Malazan series, this moves the action to a wholly different part of the world? universe? — it’s not clear. It’s been a while since I read the preceding book, and my grasp of all the different races, gods, and demons is a bit shaky, but I’m pretty sure we haven’t encountered the Tiste Edur in detail before.

They are an agricultural people about to be conquered by the rapacious Letherii, whose society is like a caricature of our own Western society. But all is not as it seems, as the closest this series has to a figure of pure evil, the Fallen God, has other plans…

A good read as usual with Erikson.

Observations

Chris Biagni:

The English language is incapable of expressing how much I loathe Outlook. I’d have to learn Klingon to really get the point across.  

TPN Rock on iTunes Music Store.

If the above doesn’t work, try searching for “tpn rock” in the podcast directory.  

Updated: Ewan points to the canonical location.

Sunday, 2005-11-27


Observations

Schneier:

It feels both surreal and sickening to have to defend out fundamental freedoms against those who want to stop people from sharing music. How is possible that we can contemplate so much damage to our society simply to protect the business model of a handful of companies.  

Charles Miller:

[…] OPML, as specified, is a non-format. It’s the alluring vapor of a specification that isn’t there.  

Taking a “me” day

Yesterday I decided to do something about my frayed nerves and headed into town for (consumer) R&R.

I went to SF-Bokhandeln in Gamla Stan to stock up on Steven Erikson books. I just bought the first one in the Malazan series though, as I remembered that the second has a horrific battle scene at the end that I don’t really think I can handle right now.

Gamla Stan was of course packed with holiday shoppers standing around like lost sheep in the corners of the alleys, blocking the way with their umbrellas.

After that ordeal I grabbed something to eat at Söderhallarna and went to see the new Harry Potter flick on an impulse. The films are even more episodic than the books, which read as loosely coupled scenes hung together with the very thinnest of plot threads. The movies just lurch from one FX scene to another.

Friday, 2005-11-25


Links for 2005-11-25

  • Secure Linux/UNIX access with PuTTY and OpenSSH — nice illustrated guide on how to set up PuTTY and the agent.. Tags: howto security software ssh unix windows.
  • RFC3339 - Date and Time on the Internet: Timestamps — This document includes an Internet profile of the ISO 8601 [ISO8601] standard for representation of dates and times using the Gregorian calendar.. Tags: ietf rfc3339 timeformats.
  • The Malazan Book of the Fallen — a review of the series. Tags: fantasy malazan series steven-erikson.

Grabbed from my del.icio.us links.

Observations

Fazal Majid:

The ITU’s institutional bias is towards complex solutions that enshrine the role of legacy telcos, managed scarcity and self-proclaimed intelligent networks that are architected to prevent disruptive change by users on the edge.  

Thursday, 2005-11-24


Observations

I made the mothership’s fortune file with the following:

<gerikson> some guy was complaining that we (systems and support)
           didn't do anything but always pointed to <acronym title="Sarbanes-Oxley Act">SOX</acronym>
<gerikson> we told him to shut up and submit a ticket instead

 

Wednesday, 2005-11-23


Observations

This may be the final iteration of the post-observation.pl script — now with plinks and fancy-smanchy CSS styling. 

Just a new observation to test appending.

I’ll add a new para just for the fun of it.

And how about some code?

    print FILE $anchor, "\n";
    print FILE join "\n", @input;
    print FILE ' ' . $anchor_link, "\n\n";

There, done. 

Today I learnt that it’s always a good idea to include a WHERE clause in an UPDATE.  

Tuesday, 2005-11-22


Observations

The purple number meme resurfaces. I’ve been thinking about this the last days since I implemented them for this kind of post. 

Monday, 2005-11-21


Links for 2005-11-21

  • Frank Hecker, Mozilla : The business of CAs Tags: ca read-later security ssl.
  • Cambo Wide DS — “Working with the World’s Most Expensive Digital Point-&-Shoot.” Via Engadget. Tags: expensive high-end photography.
  • Russell Beattie Notebook » New AT&T Logo Analysis — death of an icon. Tags: att brand-deflation death-star globe icon.

Grabbed from my del.icio.us links.

Sunday, 2005-11-20


Observations

Sindy and Ester.

Todo list updated.

Saturday, 2005-11-19


Links for 2005-11-19

  • ACM Queue - Learning from THE WEB — “The Web has taught us many lessons about distributed computing, but some of the most important ones have yet to fully take hold.” Via Jeff Atwood’s blog. Tags: architecture programming read-later web webservices xml.
  • Spolsky: Price as Signal — “Let’s think this through, because I think the recording industry is lying about why they want different prices.”. Tags: apple economics itunes movies music pricing.
  • Code Craft - Full Monty TDD and political correctness — religious unit testing considered harmful. Tags: cargo-cult-programming programming religion tdd test-driven-development unit-testing.

Grabbed from my del.icio.us links.

About “observations”

As much as I think Dave Winer is an ass sometimes, I must say that the free-form blogging he engages in — just post a link and a comment to it — is pretty attractive sometimes. Having to invent a descriptive title every time you want to write something gets old fast, especially in Blosxom, where your title is essentially your filename in your text editor.

Thus “Observations”, a new dubious feature of The occasional scrivener. Inspired by Fredrik Lundh I will use these as a scratchpad for random thoughts and one-liners. Todo: add anchors so people can link to the nuggets. This will have to be automated somehow, or perhaps Markdown has support for this now.

Update 2005-11-20: I hacked together a little Perl script for this. Next plan is to use this as an input method for mails sent from my mobile. Ubiquitous blogging, ahoy!

I also created a new category for them. However, due to the fascist nature of the Atom plugin, I won’t move the already created posts there.

Observations

~>

Nothing sucks more than an iPod with a flat battery. The ‘hold’ button is there for a reason.

~>

The process of acquiring cats is underway. When I post pictures of them, this will finally be a real blog.

I remember listening to Lloyd Cole’s Bad Vibes album and playing Wolfenstein 3D at the same time. God I’m old.

I love the way you wear that Motorola generation chic, momma
[…]
You might call it ultra-violet radiation,
It’s only sunlight

— Lloyd Cole, So you’d like to save the world

Bad Vibes is way under-appreciated. Snagged for the ‘pod tonight.

Friday, 2005-11-18


Links for 2005-11-18

  • RatcliffeBlog: The war of the middle against the ends — excellent. Tags: carriers google networks power.
  • Lessons from a BlogStorm — weblogs disintermediate traditional PR. Tags: drm pr sony weblogs.
  • Python Script to dial a VPN connection, automate VPN routing table updates. — could get stuff from this. Tags: routing vpn windows.
  • Split Tunneling for Concurrent Access to the Internet and an Intranet: The Cable Guy - October 2003 Tags: howto microsoft routing vpn.

Grabbed from my del.icio.us links.

Thursday, 2005-11-17


Observations

~>

Matt arrives safely in Kansas:

<Matt770> It is fscking cold

~>

Happy birthday, Erik!

~>

Mike Arrington gets the kiss of death from DaveW. Beware, Adam Curry is now persona non grata with the Davester, in spite of earlier praise.

~>

In T9, ‘scoble’ is ‘ramble’.

~>

It sucks that you cannot mark items as “Keep new” in Bloglines mobile, using the default browser on the 6630.

~>

James Robertsson, Pity the PR Professional:

I, like many others, have grown tired and weary of the self-satisfied, holier than thou, “A-list bloggers” who believe they hold disproportionate sway on the matters of the day.

~>

Isn’t it weird that MS VPN support under Unix is better in some ways than under Windows? I mean, you can configure your routing in Unix, I’ve yet to find out how to prevent my BT traffic to go via the corporate servers when using WinXP.

Note, I said “better” above, not simpler.

~>

“Command & Conquer: Generals” is even more USA-tastic than the previous incarnations. At least you have a fighting chance as playing as the “terrorists”. I started with China though, gotta love that holdover Soviet vibe they have in the game.

~>

Google Base is the next Orkut.

~>

Rui:

Had a very productive work day (mostly due to the fact that an internal event whisked away a whole team and it was way quieter than average).

[…] Which leads me to the conclusion that whoever came up with the asinine theory that open-space offices make people more productive must have been ignored (or, more likely, snubbed) by his/her colleagues every day.

Update 2005-11-19: Scoble corrects the third observation above.

Sunday, 2005-11-13


Links for 2005-11-13

  • Simpsons THX parody — won’t play on ubuntu :-(. Tags: download parody simpsons thx.
  • Quotation mark - Wikipedia, the free encyclopedia — typography nerdery is the best kind. Tags: reference typography wikipedia.

Grabbed from my del.icio.us links.

Mountains out of molehills

Dave Winer:

Singling me out for abuse should be, and I believe is, bad strategy, and bad representation for [Ratcliffe’s] client, Audible. They both owe an apology for this abuse. I don’t expect one from Ratcliffe (although I would accept it) but I do expect one from Audible.

Now where have I heard this before?

This is what Mitch Ratcliffe says on his disclaimer page:

You’ll probably not be surprised by the fact that I am often critical of companies and people with whom I do business, at least those of you who know me will not be: I get paid to be honest with people, to tell them exactly what I think and to pull no punches, whether in writing, consultative work or as an advisor.

I predict interesting consequences.

Update 2005-11-14: Mitch engages Dave in yet another post. Kudos to him for keeping his cool.

Update 2005-11-15: This is the last word as far as I’m concerned.

Last Friday

I really should have blogged this then (2005-11-11) but I simply didn’t have time (also, I was hung-over). I attended the weekly sub rosa breakfast gathering at KTH, which this day had a celebrity guest: Johan Norberg and was therefore packed. We were supposed to discuss the EU, but true to form the discussion rambled. I made the observation that there are at least three European Unions:

  1. The original (and best?) vision of a united Europe so tightly bound together that war becomes impossible. This is the favourite argument of the pro-EU debaters in Sweden, but it’s rapidly losing its shine as the world wars fade from memory. Some countries (the Baltic states come to mind) still subscribe to it, with good reason.
  2. A free-trade area. This is the “Anglo-Saxon” view, and personally I think this is what EU should be first, before trying to start to layer on federalism and especially “social justice”.
  3. A method of distributing agricultural aide. This is what the EU is now, I’m afraid.

No conclusions were reached in the time I was there. I had to leave after an hour to get to work. Maybe the riots in France were discussed, I don’t know.

The rest of the day was rather hectic. Being as I noted a bit hung-over didn’t help. Even so, I feel pretty good about work right now. My colleague and I have found a pretty effective way of dealing with the daily deluge of issues, and we’re even finding some time to handle unscheduled stuff. Of course, there’s a whole lot of issues remaining, such as the pay and pensions situation, but I feel I can’t do anything about that right now anyway.

The evening was a nice little Ubuntu-fest, as previously noted.

Saturday, 2005-11-12


Links for 2005-11-12

  • Linux wireless info Tags: hardware install linux wireless.
  • Please, sweat the small stuff ~ Authentic Boredom — the guys responsible for work’s fuzzy logo should have read this. Tags: design howto illustration photo photoshop software tutorial web.
  • The Sony Boycott Blog — spreadin’ the meme, man…. Tags: blogs drm media sony.
  • Hacknot - Interview With The Sociopath — let’s hope I don’t have to experience this soon. Tags: interview tech.
  • Microsoft and the Mountain — “The only saving grace for MS at this point is the raw stupidity of their competition.”. Tags: competition devel microsoft software.
  • Diceware Passphrase Home Page — yay for paranoia. Tags: crypto encryption howto passphrase privacy reference.
  • A Photo Begging for a Caption — Göran Persson in a compromising situation with Dubya. Tags: humour out-of-context photo politics.

Grabbed from my del.icio.us links.

Ubuntu rocks!

Due to a little accident, my wife’s standard laptop is hors de combat — basically, I dropped our son on it (from a small height, I hasten to add) and the power connection broke. So it boots, for about 5 seconds, before discovering that the battery is flatter than Kansas.

I have in my possession an elderly laptop with no more than 256M of RAM, much too little to run a modern Microsoft OS. So I decided to check Ubuntu out. This is supposed to be “Linux for human beings”, so I figured this would be OK for non-geeks.

I downloaded an install CD via BitTorrent and used it to install it. The installation went really well. I had to fight my old-skool Debian and OpenBSD instincts and just let things go as designed. Ubuntu has made a great product — it installed seamlessly on the lappy and presented a clean, workable graphical interface that I think will be acceptable for Linux-o-phobes.

The only thing that didn’t work out of the box was the wi-fi pc-card I bought expressedly for its OpenBSD compatibility. However, I discovered that I had no less than four wi-fi cards lying around, and the oldest 3Com card worked fine.

I’ve been using this laptop all day (in between re-stacking our woodpile) and I really enjoy it. Small stuff, like Alt-Tab window-switching and Alt-F4 window close work exactly like in Windows. But having a real Debian system underneath just feels sooo much better than Windows crap leavened with Cygwin goodness.

Friday, 2005-11-11


Links for 2005-11-11

  • Writers Block Live » Blog Archive » DRM - Digital Rights Minimization Tags: drm media mp3 music rant rights.

Grabbed from my del.icio.us links.

Links for 2005-11-10

  • Gates stirs Microsoft with dramatic ‘more meetings’ plea | The Register — must read when sober. Tags: humour microsoft read-later.

Grabbed from my del.icio.us links.

Wednesday, 2005-11-09


Links for 2005-11-09

  • Salon.com Technology | Throwing Google at the book — article about the Google scanning controversy. Tags: books copyright google read-later.
  • Wired News: History’s Worst Software Bugs Tags: bugs history read-later software.
  • Podtropolis - The iPod Tracker — BitTorrent tracker for ipod video files. Tags: bittorrent ipod p2p torrents video.
  • Creative EP-630 - Plug it in your ear! — yet another in-ear phone, less expensive this time. Tags: earphones in-ear ipod to-buy.
  • Close to the edge — tornado test flying. Tags: airplanes military testing.
  • Installing WordPress « WordPress Codex Tags: blogging howto install wordpress.
  • Ethical Software by Alex Bunardzic » Confessions Of A Former Data Integrity Addict Tags: database design.

Grabbed from my del.icio.us links.

Tuesday, 2005-11-08


Giséla’s silverware

My good friend Giséla Linde has finally got an online showroom/store. It’s at www.textoform.net, and the designs look fantastic. I must say her husband Petter has done a great job with the web design too.

There’s a blog too, at Gisélas silverblogg (in Swedish).

Links for 2005-11-08

  • Silversmycken — gisela’s jewelry. Tags: jewelry silversmith.
  • Former Spam King Suits Trying to Squash The Free Speech of People Exposing His Spammy Ways — US only of course, but could have wider implications. Tags: chilling-effects lawsuits read-later.
  • Boing Boing: Cinemas as police-states: why box-office revenue is in decline? — ties into what I’m planning to write about CDs. Tags: copyright drm law movies to-blog.
  • The Sharp Side: John Fowles — didn’t know he was still alive. The Magus rocks, a really meaty book. Tags: authors books obit.

Grabbed from my del.icio.us links.

Sunday, 2005-11-06


Pandora’s Star by Peter F. Hamilton

Feh. There should be a warning printed on this 1,144 page book:

This is the first book in a series

Dunno if I’ll buy the sequel. Hamilton is a capable wordsmith, and the plot moves along at a respectable clip. But the surface is a bit too polished, the characters a bit too much like cardboard.

scifi.com says:

This is the type of book that publicists call “epic” that others might less charitably describe as “bloated.” […] An editorial pruning might have put this prospective doorstop on more people’s “to read” lists.

Links for 2005-11-05

  • apophenia: growing up in a culture of fear: from Columbine to banning of MySpace Tags: columbine essay fear media myspace youth.
  • The Unofficial Blosxom User Group :: Porting Blosxom to Lisp — lisp blosxom, whatever next?. Tags: blogging blosxom common-lisp.
  • Flame Warriors Home — funny, with caricatures. Tags: humor net-culture.

Grabbed from my del.icio.us links.

Saturday, 2005-11-05


Links for 2005-11-04

  • SonyBMG and First4Internet Release Mysterious Software Update Tags: drm rootkit security software sony.
  • Bolagsverket — sök information om svenska bolag. Tags: bolag search.
  • Jawbone Radio: Jawbone #81: In Search of Bill Watterson Tags: calvinandhobbes comics history interview people read-later.
  • The Sharp Side: Party Time — Ellis Sharp goes to a book launch. Tags: austen books criticism gossip marlowe.
  • STAR WARS: Endor Holocaust — classic. Tags: read-later sf starwars.
  • McSweeney’s Internet Tendency: On the Implausibility of the Death Star’s Trash Compactor Tags: essay humor movies starwars.
  • Stuffo “The Sith Explained” — always wanted to know more about the sith, they seem cool. Tags: sith starwars.

Grabbed from my del.icio.us links.

Friday, 2005-11-04


Sleep? What’s that?

I came home late today after a phone meeting with the mothership, and should have gone straight to bed. I’m already running a sleep deficit, after all. But nooo, I just had to check some stuff out online first.

Thursday, 2005-11-03


More Kathleen

Sunshine after a rainy day: Kathleen Edwards’ “Building 55”.

Workday

To whom it may concern: my workday begins at 09:00 CET today.

Wednesday, 2005-11-02


Congratulations Ewan!

… for the BAFTA nomination!

And many thanks for TPN Rock. It really makes Friday’s special. I keep meaning to try to write it up, but I just can’t seem to find the time.

Links for 2005-11-02

  • EFF: Homepage — mostly US stuff, but the legal situation is… murky. Tags: chilling-effects freedom law lawsuits rights.
  • Välkommen till EF-Sverige, front för yttrandefrihet! — not searchable site, will have to hunt around. Tags: chilling-effects lawsuits sweden.
  • Chilling Effects Clearinghouse — US centric too, could be useful none the less. Tags: chilling-effects lawsuits libel reference rights.
  • Högsta domstolens dom i PUL-målet B 293-00, Riksåklagaren mot Börje Ramsbro — very interesting…. Tags: lawsuits pul ramsbrodomen.

Grabbed from my del.icio.us links.

Chilling Effects FAQ

Question: what is defamation?

Answer: An attack by speech on the good reputation of a person or business entity. Speech that involves a public figure—such as a corporation—is only defamatory if it is false and said with actual malice. It also must be factual rather than an expression of an opinion. In the United States, because of our strong free speech protections, it is almost impossible to prove defamation against a public figure.

Question: What is the difference between libel and slander?

Answer: Libel is a defamatory statement expressed in a fixed medium such as a writing, picture, sign or electronic broadcast. Slander is a defamatory statement expressed in a transitory form such as speech.

Question: What is disparagement?

Answer: As defined in Black’s Law Dictionary (7th ed. 1999), disparagement is “A false and injurious statement that discredits or detracts from the reputation of another’s property, product, or business. To recover in tort for disparagement, the plaintiff must prove that the statement caused a third party to take some action resulting in specific pecuniary loss to the plaintiff.”

(From FAQ about Protest, Parody and Criticism Sites.)

[SvSe] Datainspektionen - FAQ

Om personuppgifterna behandlas uteslutande för journalistiska ändamål gäller i huvudsak bara bestämmelserna om säkerhet i PuL. Inom ramen för ett journalistiskt ändamål ligger att informera, utöva kritik och väcka debatt om samhällsfrågor av betydelse för allmänheten. Undantaget är inte avsett bara för etablerade massmedier och personer som är yrkesverksamma inom sådana medier utan även andra kan behandla personuppgifter för journalistiska ändamål.

Uppgifter av rent privat karaktär omfattas normalt inte av undantaget, även om uppgifterna publiceras i ett sammanhang som i övrigt har journalistiska ändamål eller rör personer som det också lämnas andra uppgifter om som omfattas av det journalistiska ändamålet.

(Ur Vad gäller när personuppgifter behandlas på webbplatser?.)

Sued

Update 2005-11-04: this post has been edited in accordance to the wishes of H & N Consulting.

[Note: I’m posting this during my lunch hour.]

A mail today [2005-11-02] from H & N Consulting:

Dear Mr. Erikson,

We regret to inform you that our company today has decided to take legal actions against you and your employer.

You have not lived up to the agreement you sent us yesterday. You are still slandering our company and CEO. We have proof that we did not spam any web blogs. These proofs will now be used against you in a court of law.

Unfortunately, we will also sue your employer since you have posted these accusations during regular business hours.

[…]

Sincerely,

H & N Consulting

[This email did not have a confidentiality agreement attached.]

This is my reply:

These accusations are absurd.

The are no references to the name “XXX” in my posts.

You have crossed a line. Go ahead with your lawsuit. When I have been served, I will comment on the situation in accordance to the rights of free speech. You may be assured that the name “XXX” will, in the future, be associated with suppression of free speech and legal posturing.

Good luck in trying to build a business with a reputation like that.

[The referenced name has been altered to “XXX”.]

Update 2005-11-03: after the first white heat of anger, I’m feeling much more sanguine about the whole affair.

I have contacted my hosting provider, and he suggested (but did not require) that I remove all references that may give cause for offence. I have now done so.

I have contacted my employer and explained the situation to them. By the way, this website is covered by a disclaimer.

The fact that the legal threats were not delivered by a legal representative gives rise to the suspicion that no-one within the profession will touch this with a ten-foot pole. That, or financial constraints.

I have uncovered some interesting facts about the Swedish data protection law, PuL. Specifically the Ramsbro case, where a man was acquitted for publishing the names of bank presidents and financiers on the internet.

Basically, you can publish personal facts (including names) if you do so in a “journalistic manner”, to inform, critizise, and cause debate. I feel that the fact that a 2-bit “search engine optimisation” company can use vague legal threats to shut down free speech on the internet to be cause for debate.

As to the accusations of slander, I cannot see how that applies, as slander is “defamatory statement expressed in a transitory form such as speech”.

Thanks to the good people in #mobitopia for their support and advice.

Tuesday, 2005-11-01


Links for 2005-11-01

  • Sideblog - arkiv — more about the “XXX” situation. Tags: cease-and-desist chilling-effects lawsuits.

Grabbed from my del.icio.us links.

Update: edited to remove mildly offensive pun on a certain person’s name.