Skip to main content

Welcome to TechDebug. Currently migrating away from Wordpress to Hugo static site. Comments are currently offline.

Most recent blogs …

Switching to multi-line mode using Textmate Regex

So you have a pattern you want to match across multiple lines, and you have a regular expression that matches it. You will probably be used to doing this in perl like this: /some.+?stuff/s or using regex in ruby like this: /some.+?stuff/m However you have just started to get used to Textmate as an editor and you see it supports regex matching. Why though does it not use /s or /m for multi-line dot matching?

Google Maps Australia to use Yellow Pages

In a move that is a win for the end user, Sensis and Google have signed a commercial agreement to allow users to find Yellow (previously known as Yellow Pages) business listings on Google Maps. “The agreement means Yellow™ advertisers can now potentially be found by more customers than ever before. They can be found in our print and online directories, over the phone, in a growing range of satellite navigation devices, on mobile phones, on search engines and on online mapping sites, which now includes the popular Google Maps”

MySQL on OpenBSD 4.3 using the Apache Chroot

I’m back with some more tech geek goodness for anyone who uses MySQL and OpenBSD. OpenBSD by default apache runs in a chroot jail, thereby making it more secure in case the www server is compromised. I have talked about this before. However if you use wordpress or some other web application that needs MySQL (and I’m talking where apache and MySQL reside on the same host), then the chroot jail will not allow your webapp access to the mysql socket file which is by default located in /var/run/mysql/

Melbourne underground band Asbestos Garage

As regular readers of my blog will know, I’m a fan of metal, progressive rock and a bit of eighties rock. The other day I had the chance to speak to the lead singer of Asbestos Garage, a Melbourne based band. Neon Kessler told me of their aspirations to bring glam rock back to Melbourne, and not one of mega-concerts – but something you can enjoy at your local pub.

Death to Spam

I’ve been hit by a number of Spam comments recently that snuck through the filters. If you are subscribed to the comments feed, apologies for this. It turns out that since I moved TechDebug to a VM host, I did not follow my own post and the spam tools where not connecting to Akismet to check the comments. So remember that if you use OpenBSD and the default chroot for Apache, then you need to setup a resolv.

Cup Of Coffee A Day Could Help Protect Against Alzheimer’s Disease

ScienceDaily (2008-04-03) — A daily dose of caffeine blocks the disruptive effects of high cholesterol that scientists have linked to Alzheimer’s disease. The caffeine equivalent of just one cup of coffee a day could protect the blood-brain barrier from damage that occurred with a high-fat diet. Read more at Science Daily. Some old news I ran into, but well worth considering. I’m downing my daily dose right now.

Bigpond (Telstra) start selling MP3 Music

A big surprise is an announcement today that Bigpond Music (A Telstra owned service) has from today started offering tracks in MP3 format. This is a move away from the DRM windows media format that all their songs were sold as. When Bigpond started offering music sales a few years ago I was an early adopter and purchased music from their offerings. However it soon became obvious that the windows media DRM was a difficult beast to deal with.

Gmail goes to 7GB

Logging into Gmail today and I note: You are currently using 885 MB (12%) of your 7005 MB. 7GB is a massive amount of email to offer for free, and it is only the next point in their ever growing offering. In comparison, Windows live (aka hotmail) currently offers 5GB when you login into their product. The counter on the gmail login page shows Over 7005.197177 megabytes (and counting) of free storage so you’ll never need to delete another message.

Podiobooks

<img style=“float: right; margin-bottom: 10px; margin-left: 10px"src=“http://www.podiobooks.com/images/covers/7son_cover.jpg” alt=“7th Son - Book 1” /> A Podiobook is an Audiobook delivered via a podcast. Evo Terra coined the phrase back in 2005 when podcasting was in its infancy. 2005 you say? Well sometimes I take a bit of time to come around to something good. I’ve started listening to my first one. Descent – Book one of the 7th Son series by J.