Simply Jonathan

Archive for 2006

15:15

(This post is in Danish)

Den 6. september 2006 hoppede Dagbladet Information med på bølgen og begyndte at udgive en gratisavis, kaldet 15:15 (navngivet efter det klokkeslæt den udgives på). Der dog den tvist ved 15:15-konceptet at den udgives som PDF, som man så kan printe hvis man skulle ønske det.

Jeg er i udgangspunktet modstander af gratisaviser. Jeg er imod den tankeløse viderebringelse af nyheder, uden nogen form for analyse eller andet der kan give en artikel det perspektiv og den dybde jeg personligt føler jeg har brug for. Det nærmeste man kommer dette i de fleste gratisaviser er gennem deres klummer, ofte skrevet af folk hvis eneste kvalifikation er det faktum at de er kendte.

Men den opfattelse har jeg været nødt til at revidere, på baggrund af 15:15. Den vender nemlig det hele på hovedet. Nyheder er der ikke mange af — og, som med Information generelt, er det hovedsageligt fra Ritzau — men der er masser af analyse og opinion, den slags der kan gøre en forskel for en selv. Det er med andre ord en gratisavis fuldstændig i Informations ånd, hvor sensationerne må vige for gennemtænkte tankevækkende artikler.

Er man til en intellektuel udfordring, publiceret i PDF, kan jeg ikke anbefale 15:15 nok.

Kassebånd

(This post is in Danish)

Jeg har opdaget en underlig ting, som mange indkøbsmennesker praktiserer: Man har lagt alle sine varer op på båndet, men der er ikke plads til seperatoren. Man stiller den så i stedet op på det lille stykke der er inden båndet.

Det hjælper jo bare ikke noget. Der er jo ikke nogle der kan stille ting bagved — der er jo ikke mere kassebånd. Det jo bare et tomt alibi, for at man kan se ud som om man yder en indsats for at de andre kan komme til. Det gør man bare ikke. Sære mennesker!

System of a Down – Tentative

Where do you expect us to go when the bombs fall?

Gnarls Barkley – Who Cares?

Everybody is somebody,
But nobody wants to be themselves.

A Person of Habits

I was out shopping groceries with my girlfriend the other day. Actually, shopping groceries is a bit of an exaggeration; we were only buying ice cream. I wanted the same ice cream we had bought some days earlier, to which my girlfriend asked me: “Are you a person of habits?” I had never really thought of myself as a such. But when she asked it struck me, I am. At my local fast food (not to be confused with junk food in this sentence) joint, I always order either a sandwich with chicken and jalapeños or a classic burger. I sometimes edit it a tad — by swapping beef with falafel in the burger, for instance — but in general it remains the same. And I do so with many other things.

I also tend to do this with programming. If I find some cool new technique, I often use it in a lot of cases, also cases where it doesn’t necessarily belong. Fortunately, I didn’t buy that much into AJAX. But a lot of other things tend to stay with me, just because I’ve used them before.

So I hereby declare myself a person of habits.

Lou Reed – Men of Good Fortune

Men of good fortune often cause empires to fall.
While men of poor beginnings often can’t do anything at all.

Me, a Pythonian

Sometime this summer, I started diving into Python. By then I had been doing PHP for about four years, and I was growing mildly tired with it. Being a language aimed at the web definitely had its strengths, but it seemed as though it also limited the language design from the start. Rasmus Lerdorf created it as a way for him to integrate C-code into the HTML he was doing, and it seems as though they never left that path, even as PHP was turning into a somewhat full fleshed programming language. And well, that was starting to annoy me a bit.

So I turned to see what alternatives was there. I started off with everyone’s new favorite, Ruby. I like Ruby, I really like it a lot. The language design is really clean. The problem with Ruby is, it seems as though the only option you have, if you want to do web stuff, is to use Ruby on Rails, and I really didn’t want to. RoR might be all very fine (I don’t wish to get into that debate), but it just seemed as far too big for what I would ever want to do on my own hand. web.py on the contrary, gives me just the tools I need, and then gets out of the way.

So, I chose Python. Two things I thought stands out from the two (who I think largely are very similar) was these:

  • A huge standard library. And, contrary to PHP, these comes as modules, so they don’t mess up the scope, you just select what you need.
  • Named arguments. While this might seem as a bit of a minor feature, I can’t count the number of times I’ve wanted to be able to do this. I really like named arguments

And after having written Python for some months, I must admit I’m thrilled. I still do PHP at Verk and at GMTA, but at GMTA they let me do some Python occasionally. That’s nice.

I like Python.

What I Don’t Like About PHP

A list of things I don’t like about PHP:

  • Inconsistent parameter placement
  • Inconsistent naming (with a variety of using _ as separators, and not using separators at all)
  • No really good command line tool — I know PHP is aimed at the web, but being able to try out simple things in Python and Ruby is really one of the things I like about those languages

Some day I might expand on this list. I might also explain some of the items in greater detail.

How’s That for Customization

I just saw an article at Coding Horror that linked to a page at AIIM E-DOC Magazine. I glanced at the URL and realized that it contained information about what header image should be shown. That’s what I call customization.

Is This Thing On?

knock knock. Anyone there?

This is Simply Jonathan, a blog written by Jonathan Holst. It's mostly about technical topics (and mainly the Web at that), but an occasional post on clothing, sports, and general personal life topics can be found.

Jonathan Holst is a programmer, language enthusiast, sports fan, and appreciator of good design, living in Copenhagen, Denmark, Europe. He is also someone pretentious enough to call himself the 'author' of a blog. And talk about himself in the third person.