Author Archives: Michael
File age in python
For file cache algorithms it would be useful to have a function that gives you a simple True/False answer to the question, is this an old file? The following provides just that. import os from datetime import datetime from datetime … Continue reading
Terminal on Lion
Open up terminal. Click the fullscreen button (top right) and it takes up all screen space. It’s like a programmers wet dream .
Seriously!!!!
It’s a chopping board. It’s so that you don’t mix up your meat and veg!… He calls it “The Big Chopper”. Frankly, seeing this at the ideal home show was a surreal experience. And, begs the question, where does he … Continue reading
Barcamp
I’m off to Barcamp at the end of this month. So, what do I have to talk about? Business process? New languages and environments? Trends in the set top box market? Hmm.
Fun. No, really!
Chinese version of Countdown
May I have a vowel please. Another vowel. Can I have a vowel please. I think I’ll have another vowel. Hmm, vowel please. …. (you get the idea)
Vala Generics
Vala supports a limited form of generics. It’s a shame, coming from a Java background not to see the thorough implementation that I am used to. Vala coming from a C# background might have inherited it’s form of generics, but … Continue reading
A2DP on Ubuntu 11.04
I have purchased a lovely new Bluetooth stereo headset for me, well, everything. It works so well with the iPhone, no problem with my MacBook, and with the Ubuntu Linux laptop?.. It works, but I couldn’t find the advanced profile. … Continue reading
SEO and IE
I am trying my hand at SEO (Search Engine Optimization) at the moment on my wifes site. It goes, averagely. One technique is to restrict access to excessively verbose parts of your site. Anything that is basically generated, and where … Continue reading
Running hurts
I’m 37 and generally not fit. Next to me is a field that has a diameter of 1.7 miles. So, recently I decided to run around it! Being of little experience, I put on the cheapest trainers I could buy, … Continue reading