Archive | General

An Introduction to Regular Expressions

Drew McCormack has just posted a 13 page PDF tutorial on regular expressions.

If you’ve ever wanted to learn about regular expressions, here’s your chance, because I’m attaching to this post a chapter on regular expressions that I wrote recently for a Master’s level Python course. Although it targets the Python language, the regular expression syntax is virtually the same across the board, so anything you learn should translate pretty well to other languages and tools.

[From An Introduction to Regular Expressions | MacResearch]

‘Alaska Women Reject Palin’ Rally is HUGE!

From the Mudflats Blog in Alaska. Heartening news of an anti Palin rally in Anchorage. Quote from the site:

Never, have I seen anything like it in my 17 and a half years living in Anchorage. The organizers had someone walk the rally with a counter, and they clicked off well over 1400 people (not including the 90 counter-demonstrators). This was the biggest political rally ever, in the history of the state. I was absolutely stunned. The second most amazing thing is how many people honked and gave the thumbs up as they drove by. And even those that didn’t honk looked wide-eyed and awe-struck at the huge crowd that was growing by the minute. This just doesn’t happen here.

[From ‘Alaska Women Reject Palin’ Rally is HUGE! « Mudflats]

Tip of the hat to Gia via Twitter.

The plan

I like to set goals. I’m not that keen on keeping to them, but I like setting them as targets and frameworks to work with. I’ve got a set of personal and work related goals that want to work to over the next few years. Sort of my own personal Soviet style 5-year plan.

Work Stuff

Become the go-to guy for VMware VI3 questions and also for Mac OS X integration into Windows environments. Also be the person people search out when they have questions about current and new technology.

Personal Stuff

Learn mathematics. Using this selection of self study books:

mathbooks Click picture for larger view

I want to be able to read Penrose’s The Road to Reality and understand the mathematics in it.

Do several Open University courses to finish a BSc I’m doing with them:

S366 Evolution

SXN390 Science in Society Project

Do the Open University MSc Science and Society. As long as they let me in. [Update: They did!] I’ve pulled out a few courses recently and they have a rule that stops you registering for new courses. Which is fair enough. They don’t get paid by the government if people don’t complete the courses. In any event I’ll be doing something in the science communication field (including many more posts here on the Soapbox) as we need to fight the hoards of superstitious nut jobs. We can’t cede any of the ground won in the last 400 years with rationality and the scientific method.

Continue to work on some science fiction stories I’m writing. One is set in a space opera scale universe and the other is set in the Frank Herbert Hellstrom’s Hive universe.

Music – I’ve got about dozen songs in various stages of work (all have full lyrics). I want to continue to work on them and maybe package them together as an actual album. That’d be cool 🙂

Write a cricket match scoring system for Macintosh and iPhone using Cocoa. Unless someone else develops on that meets my needs first. I’d be happy if they did. Programming projects always bore the tits of me after the initial requirements specification and design are done! [Update: I’ve also had an idea for an app that uses the Twitter API]

We’ll see how I get on…

Try not to get the donut in the face

I think planning a project is ultimately a little like throwing a donut at the moon. You can never actually hit the target, plus you’ll be lucky if you aren’t hit in the face on the way down.

From Task Times, The Planning Fallacy, and a Magical 20% on 43 Folders.

London’s new skyline

The BBC is showing a new series called Britain from Above. The first programme had a section showing some new skyscrapers that are proposed for central London. I like the look of them all, with the possible exception of the pyramid shaped one. All are shown in the video below.

Christened the wok

I used my new wok earlier. It was as quick to cook something myself than it would have been to jump in the car and drive to the take-away. Plus it tasted better, was healthier and probably cheaper as well. Only took 10 minutes to clear up afterwards. First use of the wok was as follows:

Sliced chicken breast quick fried in groundnut oil (with teaspoon of mixed Chinese spices in a some water to flavour)

Diced pineapple

Sliced fresh red, green and yellow peppers

About 9 mL of pineapple juice (for sweetness)

Tablespoon of Rice Vinegar (for sourness)

Served on rice (Uncle Ben’s Egg Fried Rice from Microwave this time) with fresh quartered tomatoes and a big glass of cider. It was really nice 🙂

View wok on Amazon UK

Wok.jpg