Archive for the 'python' Category

What’s your history|awk…

Via Bill de hÓra. Run this from the command line:
history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s “,a[i],i}}’|sort -rn|head
I get:
108 ls
78 cd
53 sudo
29 python
13 cap
9 django-admin.py
9 ruby
8 vim
6 easy_install
3 bzr
1 ex
1 python2.5
1 ln
1 mksir
1 cat
1 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
In short:

I have trouble with my default python installation.
I am trying Django for small project.
I was hit by the Leopard keyboard repeat freeze bug.
I am poor at spelling simple commands.

Come celebrate Niklas Lindström’s birthday

You may ask yourself “who is that?” or “wtf?!” but the fact is that in the near future he will have a much greater impact on your life than you may think. Here is why you should head over to his blog and post a random comment about Yak shaving and, if possible, create a […]

Software architects as management deadwood

Two interesting quotes from Dietrich Kappe:
So no, we don’t hire architects. We hire developers. In a small team, there is no room for management deadwood.
I agree completely. My view is that the title “Software architect” is a misnomer for what most architects in the software industry do, or at least what they should be doing. […]

Hackety Hack - The Foundation for a Revolution

Hackety Hack t-shirtWhy the lucky stiff is a well known name among most Ruby developers. Many have read his Ruby programming tutorials and seen his spectacular performances (or whatever they are) at RailsConf and elsewhere. Personally, I owe him a lot for Hpricot, the liberal HTML parser (at my government agency we use it to run the quarterly test of all public websites in Sweden). Here are some thoughts on why I think Hackety Hack may be important than I first thought.

First impressions of Mercurial (as an alternative to subversion)

So, I was in the mall the other day where I bumped into Marcus Ahnve. He mentioned that he had been using Mercurial instead of Subversion for his latest project.
Just before I met Marcus I had been coding on a rails project housed in subversion. I was sitting in a cafe without internet access which […]

Google Code Search Reveals Anger, Frustration and Hate

Google’s Code search is a great way to spend an evening. Indexing a hefty amount of source code reveals anger, frustration and hate. Some favourites:

I hate Java
Java sucks
Python sucks
I hate Microsoft

I hate DTDs (that is REXML by the way…)

Interestingly, searching for “Ruby sucks” does not return any matching documents…

Languages Influence Your Thought Process

When I studied social antropology a couple of years ago I never thought that it would influence my future programming endeavours. At that time we looked at theories on how things in our surroundings influence thought processes. One theory is called the Sapir-Whorf hypothesis. It states:
“…there is a systematic relationship between the grammatical categories of […]