Andrew Ferrier

Economics; Travel; Film; and Technology.

Archive for the ‘technical’ tag

Subscribers on Google Reader

without comments

Tip for anyone who blogs and uses Google Reader:  the new ‘Discover’ feature of Google Reader enables you to see how many people are subscribed to your blog. Select ‘Browse’ and search for your blog using keywords. When you’ve found it, it’ll show how many subscribers there are. Take the number with a pinch of salt: it is, of course, only one of many blog readers, albeit a popular one.

Written by andrewferrier

December 25th, 2007 at 1:12 pm

Tagged with ,

Getting WPA Working with a Thinkpad T42 and Knoppix 5.1.1

without comments

Thinkpad problems mean that I’m currently borrowing a T42 from work. It took me a while to get WPA working with Knoppix 5.1.1. Here are the magic incantations required:

wpa_passphrase YOURSSID YourWPAPassPhrase > /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant -ieth1 -c /etc/wpa_supplicant/wpa_supplicant.conf &
ifup eth1
pump -i eth1

Replace eth1 in the list above with whatever network interface name Knoppix has assigned to your wireless card (reading through the output of dmesg should help you with this). Don’t forget to double-check that your router has the MAC address of the card (use ifconfig to find this) if you’re using MAC address filtering.

Written by andrewferrier

November 10th, 2007 at 8:52 am

Tagged with ,

Gallery to Flickr

without comments

Just spent a little while consolidating all my photos: moving the remainder from my Gallery installation on andrewferrier.com to their new and preferred home on Flickr. My Flickr account is now vastly more populated with photos (and more variable in quality). This script basically did all the work. It doesn’t support nested albums, so I had to move all sub-albums to the top level, as well as removing the few ‘symlinks’ I had on photos (later versions of Gallery support this). But apart from that, it was plain (if a little slow) sailing. A recommended approach.

Written by andrewferrier

June 20th, 2007 at 8:10 pm

Tagged with ,

From Palm, to Google Calendar

with one comment

As part of my cunning plan to move my data online, I decided to move away from using my Palm for managing my diary – and towards Google Calendar instead. I’ve already stopped using the Palm to-do list; all I really need to do now is find a decent online addressbook; Plaxo being one possibility that Chris suggested.

It took me a while to figure out how to get my data out of the Palm. Palm don’t provide a decent export to anything other than Palm formats for the datebook, so a third-party exporter was called for. The web is seemingly full of dodgy Windows shareware to do the job, but jpilot (which I already, but rarely, use on my Linux machine) turned up trumps. It exports directly to the modern iCalendar standard, fully supported by Google Calendar. Hurrah! Since this solution doesn’t seem to be well-documented, I thought I’d write it down.

Written by andrewferrier

May 10th, 2007 at 7:58 pm

Subscribe to Comments Disabled

without comments

I recently installed the Subscribe to Comments plugin on this blog. However, it seems to have attracted far too much spam. I’ve therefore disabled it again until a version is developed that’s a bit more hardy against spammers. You can always subscribe to an RSS feed for the comments on any post (as you can with any WordPress-powered blog) by appending /feed to the permalink URL for that post.

Written by andrewferrier

January 19th, 2007 at 5:42 am

Tagged with ,

The Acid Test

without comments

Smoothie Label Fun chemistry fact of the day: Acidity regulators regulate pH in general, not just acidity. Hence (presumably) why this smoothie bottle contains Citric Acid as an acidity regulator (my first thought was: shouldn’t it be an alkali?).

This is when I wish I’d done Chemistry A-Level rather than Further Maths.

Written by andrewferrier

January 16th, 2007 at 9:01 am

Tagged with ,

Blog Moved

without comments

This blog has now moved to my new domain andrewferrier.com. You shouldn’t notice any change if you are using a web browser or a well-designed feedreader to read it, as all parts of the old blog (including permalinks, RSS feed, etc.) should permanently redirect to the new one. You might just want to check that your RSS reader is pointing to the new blog though, or alter your browser bookmarks. The redirection will disappear in a few months. I’d appreciate it if you can let me know if you see any problems with the new blog.

Update 2007-01-13: I should add that some feedreaders will treat all the items in the feed as new, because the GUID will have changed. Just mark them all as read. Apologies for the inconvenience.

Written by andrewferrier

January 13th, 2007 at 6:35 am

Tagged with ,

Exim: Remove ‘if error_message…’ From Your .forward

without comments

For users of Exim only:

It’s normally recommended to include the line if error_message then finish endif in your .forward filter file, to make sure error messages don’t cause recursive problems in your mail system. I have found that this doesn’t work in practice if you normally receive a lot of spam, because spammers are increasingly using your email address to spam other people. This causes bounces back to you, which bypass your spam filter because of that line (at least in my setup, using sa-exim). Removing that line greatly reduced the amount of spam reaching my inbox.

Written by andrewferrier

December 5th, 2006 at 10:48 am

Tagged with

Spam and OCR

without comments

It’s strange how the same techniques can be used to attack both sides of a problem. For some time now, some of the more sophisticated web spammers have been using OCR techniques to circumvent CAPTCHAs on websites in order to hijack free email accounts, submit comment spam on blogs, and similar forms of mischievousness.

As the more capable e-mail spammers seem to be figuring out that anti-spam technologies are getting pretty good at filtering out the crap they send, normally using rule-based detection, Bayesian learning, or a combination of the two, a lot of spam now being sent out is image-based – and anti-spammers are now using OCR to fight back against this new tide.

As I’ve mentioned before, I have a huge spam problem on my personal e-mail account (~4,000/week) – due to a combination of bad luck and some foolish naivety at a few points – and so I have a fairly highly-tuned SpamAssassin installation running at home, with plenty of custom rules and plugins. I’ve seen a rising amount of image spam on it, so I decided to give FuzzyOcr, a plugin for SpamAssassin, a try. So far, the results are pretty impressive. FuzzyOcr uses the open-source gocr program as the engine, and ties it to with SpamAssassin and some logic. The OCR is fairly CPU-intensive, so unlike most SpamAssassin plugins, it only kicks in if the message is otherwise going to be below a certain scoring threshold. So far it has roughly halved the volume of spam that slips through into my inbox (previously ~40-50/day), which is a welcome improvement.

However, fun though they are as a technical challenge, technical approaches such as these always feel like fighting a losing battle. I might write a lengthier article on this at a later date, but I’d like to see ISPs take a far more hardline attitude with their peers that host spammers. There are also compelling economic solutions to the problem, mostly related to micro-payments for sending email. There are problems with those too (how do you roll them out gradually?), but you rarely see graphs of spam that have a downward trend – a solution to the spam problem would be most welcome.

Written by andrewferrier

November 10th, 2006 at 2:12 pm

Lightbulb Conundrum – Drinks, Anyone?

with 15 comments

A pint is yours if you can solve this conundrum for me (a theoretical explanation you can convince me of will do; I have a practical workaround).

A few weeks ago I replaced some of the bulbs in my house with energy-saving ones. However, the ceiling light in my hall behaves in a very odd manner. Occasionally, after I switch it off at the wall, it flickers on very briefly (for about 1/10 second) about once every minute – even though the power is (allegedly) off. The flicker is fairly dim, so I only notice it at night. If I take the bulb out of the socket, the flicker stops. If I put it back, it starts again. This behaviour happily continues for hours – to the extent that I remove the bulb when it happens because it’s too distracting when trying to sleep.

Perhaps it’s some kind of residual charge in the bulb. But this doesn’t really seem to explain why it only flickers when the bulb is in the socket (even though the switch is off). It also doesn’t explain why it doesn’t happen in the rest of the house (they have the same brand of bulb). The only difference is that the hall has two switches – but they aren’t dimmer switches or anything special.

Any thoughts?

Written by andrewferrier

November 8th, 2006 at 10:18 am

Tagged with

online purchase proscarbuy proscar no prescription buy proscar fed ex fedex proscar without priscription non rx cheap Flomax Tamsulosin cheap mexican buy Flomax on line amex where can i buy Flomax without prescription buy cheap Flomax online free consult canada Flomax buy brand Flomax purchase Tamsulosin pay pal without rx where can i buy finpecia without a rx wholesale finpecia cheap 10 mg Buspar canada prednisone no prescription purchasing accutane 40 mg online without prescription free fedex delivery accutane 40 mg buy Finpecia without rx Flomax bestellen 5 mg Maxalt Lasix u.p.s shipping cod buy cheap generic Lasix online order prescription free Lasix buy cheap generic Lasix online order no online rx finpecia buy Maxalt online no prescription purchase maxalt prescription online what does valtrex look like buy Crestor no prescription low cost where can i purchase Strattera online Valtrex espana Valtrex purchased online without prescription where to buy generic Amitriptyline online without a rx valtrex canada buy Buspar drugs Buspar no prescription overnight how to purchase valtrex how to get a prednisone prescription buy online Lasix without rx purchasing Antabuse without a script Proscar without rx Proscar buy online in stock buy Valtrex pills in toronto purchase Strattera free consultation buy generic Zithromax buy prednisone no visa without rx online purchase Prednisone buy Proscar online us pharmacy buy cheapest Valtrex wholesale valtrex cheap how to order Valtrex online without prescription no prescriptions needed for Prednisone buy next day Prednisone order Orlistat no visa buy Proscar online purchase Proscar online Buspar online without prescription best Buspar online pill buy Cytotec offshore no prescription fedex prednisone online next day shipping order cheapest online prednisone valtrex generic cheapest cheapest place to buy Buspar buy generic Maxalt online Cytotec online order saturday delivery purchase Cytotec online with overnight delivery buy Cytotec on line amex purchase cheap online Valtrex buy Valtrex legally how to buy Buspar without a prescription purchase finpecia pay pal online without prescription purchase Flomax without prescription needed generic Zithromax online buy Proscar now Buspar effects generic Orlistat uk comprare Buspar generico cheap order rx Valtrex buy valtrex where where can i buy herbal finpecia can you buy Cytotec in mexico buy cod Valtrex where can i buy herbal finpecia order finpecia no visa buy Valtrex no prescription low cost Valtrex tabletten how to buy Maxalt online without rx buy Bupropion uk 60 mg Orlistat buy cheap generic Orlistat online finpecia 1mg Valtrex buy fedex Rosuvastatin order online where to buy generic Cytotec online in canada how to buy Proscar online without rx non rx cheap Orlistat order finpecia overnight delivery buspar online consultant buy Orlistat online no rx no prescriptions needed for Prednisone Buy prednisone without a perscription to ship overnight Crestor precio buy valtrex free consultation valtrex for sale Crestor buy buy Crestor without doctor buy Prednisone with no prescription where to buy Zithromax Zithromax buy Zithromax no prescription Prednisone overnight buy Crestor no scams Crestor without rx order generic Crestor purchase Buspar money purchase Zithromax online order saturday delivery order Zithromax for cash on delivery order Valtrex on line Buy Valtrex online no membership U.S. pharmacies for prednisone without rx prednisone no script required express delivery Buspar pharmacy purchase Buspar pay pal without rx how to order Valtrex online without prescription buy Crestor line Crestor overnight no consult buy discount Valtrex on line Valtrex bestellen Valtrex online purchase overnight xenical without a rx free xenical Arimidex purchase buy 1 g mg Arimidex Orlistat without rx buy Valtrex no visa online without rx purchase Valtrex without a prescription overnight shipping cheap Buspar by money order