Skip to content

Category Archives: tech

Shell HIstory Meme

[jbowes@laptop ~]$ history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
211 git
148 fg
107 ls
99 cd
89 python
43 make
26 vim
23 sudo
20 nosetests
19 player/swfplay
[jbowes@workstation ~]$  history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head -n 12
163 ls
156 cd
115 svn
76 vim
70 screen
55 fg
47 exit
35 sudo
30 git
21 yasql
Seen on Adrian’s and Mike’s [...]

Dear Government of Canada

Please stop Bell from doing crazy stuff.  Thanks!
Love,
James

2% Genius

Agile Tsar Dmitri Dolguikh pointed out Project Euler yesterday, which is a website containing a series of short programming problems. It reads a bit like bonus questions on a math exam, which is actually quite refreshing compared to the day-to-day problems at work. For added fun, I’m trying to run through the problems in Common [...]

Mission Accomplished!

A lot of people are linking to this article about the state of the practice in CS curriculum and its use of Java creating dull replaceable drones.
mdehaan points out a wonderful section wherein the authors relate Java programming to a plumber in a hardware store, finding pieces and putting them together to solve a problem, [...]

QotD: Mike on Version Control Best Practices

< mdehaan> atomic commits are dangerous, just as atomic weapons
He may have been sarcastic. Maybe.

Another Fedora Upgrade Post

Devan and I were chatting a bit about Fedora upgrades this morning. Given that he and I are both recovering debian users, we do miss (apparently) seamless live upgrades between releases. So following on the heels of Doug and Devan, here is my take on upgrades.
First, offline upgrades will always be required for some cases. [...]

Terminal Bling

On the subway ride home I played around with adding a progress bar to pkcon, PackageKit’s command line interface.

I’m quite certain this is the most worthwhile thing I’ve done this week.

The Python Holy Grail

This checkin to python brings a long-awaited (and sorely needed, IMO) enhancement to python: SSL certificate verification support. Once the API support percolates up from socket through the various network libraries in python proper, for the vast majority of developers there will no longer be a need for PyOpenSSL, M2Crypto, or rhnlib.

Python Comment of the Week (Aug 12 2007)

# Assorted functions for various things
Thank you, developers of yore. You’ve made things oh so much clearer to this lowly maintenance programmer.

BarCampRDU 2007

BarCampRDU is going on now at Red Hat.
There are a lot of good topics (distributed version control,  grails, juggling), and plenty of free stuff. Looks like it will be a great day.
Check out the photos or blog posts.