WordPress v. Blogger

A decent amount of time has now passed since I migrated my primary blog from Blogger to WordPress. In general, the move has been for the better. I have more control now and needn’t spend hours pulling out my hair when the Blogger servers are down (as they often are). The biggest advantages are:

  1. Control – Since all the WordPress code, including content management, lives in your own webspace, you have much more control over it than you do with Blogger. That means you can play with fairly advanced stuff like PHP scripts, MySQL databases, and htaccess files. On the server side, WordPress is just a more powerful, more versatile system.
  2. Features – Categories and trackbacks come to mind immediately, as do some of the excellent plugins available for WordPress. Spam Karma 2 is especially valuable. The ability to create and integrate static content pages (everything under the ‘Pages’ heading in the sidebar) is also a significant plus.

Of course, there are a few problems as well:

  1. Poor image implementation – With no effective integration of image uploading and thumbnail creation, I need to do everything by hand. Download files from my A510 to iPhoto, choose the photo of the day, extract it to a jpeg, create a full sized and thumbnail version in Photoshop, upload the two copies using Fetch, change the permissions for them, then insert the thumbnail as an image and like it to the full sized file. In Blogger, everything after “extract it to a jpeg” is basically done automatically.
  2. Awkward upgrades – Because WordPress lives on your server, you basically need to replace the bulk of the code when an update comes out, even a minor one. Because you would be a complete fool to do this without a full backup, it makes for a fairly serious hassle. You also need to go through the bother of making sure all the aforementioned useful plugins still work properly, after the change.
  3. WYSIWYG editor glitches – When pasting a complete blog entry from TextEdit, the What You See is What You Get editor built into WordPress will frequently separate paragraphs using double line-breaks, rather than paragraph tags. More seriously, it also has a habit of leaving tags open. It’s not usual after a complex formatted post to find that everything on the page below it has been left italicized or indented.

All in all, I am glad to have made the change. I like being in control of my own system, even if I don’t know all the complexities and there are some associated frustrations. Not counting all the headaches involved with Google when you switch your permalinks, the process of moving is very easy. To people with webspace using Blogger searching for better templates and more control, I recommend WordPress.

Mapping virtual selfdom

Working in the Department of Politics and International Relations

There’s nothing like seeing all the websites to which you have contributed listed in one place to make you feel like a hardcore geek.

Now, back to being the only person in the Department of Politics and International Relations. At 8:45pm on a Sunday. Surrounded by books on the Middle East, and drinking Red Bull.

[Update: 11:59pm] After three hours of editing, I have something with which I am actually pretty happy. It is definitely much better than my decolonization essay. I am going to go home, then give it one last check over before giving it to Dr. Hurrell tomorrow. Just one paper left!

Strategy time – time strategies

I have been trying to learn what I can learn during these last few days of the Google Idol contest, in hopes of being able to maximize Mica’s chances. The first potentially relevant fact is that the website hosting the contest is registered in Brisbane, Australia. I had often found it difficult to guess what time the server would be ticking over into the next voting day, allowing all the IP addresses that had already voted to do so again.

This round ends on June 24th, but nowhere does the website specify at what time. As such, the earliest it could possibly end (00:01 Brisbane time) would be 2:01pm Oxford time on the 23rd. The latest it could possibly end (23:59 Brisbane time) would be 1:59pm on the 24th. If someone has figured out at what time of day their server ticks over, it would be very useful information.

Why?

Because the lead has been cyclical:

Chart of voting patterns

Chart based on data between 22:00GMT on the 18th and 22:00GMT on the 20th.

As you can see, the distance between the number of the votes for each video rises and falls according to an orderly pattern. I would guess that with ‘Twan, Sjoerd, Manuel en Iwin’ living in Western Europe and Mica coming from the West Coast of North America, there is about an eight hour lag between time equivalencies in the areas where most of their respective voters will be living. Those of Mica’s competitors rise eight hours earlier, vote, and go to sleep eight hours earlier.

The fact that the slope of Mica’s line is more constant may be the product of how I have been cajoling people on the east coast of Canada and the United States – as well as in the UK and elsewhere – to vote for him as much as possible. Alternatively, I may have nothing to do with it and people voting for him just vote at times more distributed across the day for some other reason or collection of reasons.

As such, it would be helpful to work out what time it will be in each place when the contest ends. Ideally, we would probably want it to end around midnight Vancouver time, when it will be about 8:00am in Europe. I think that would be about 6:00pm in Brisbane.

[Update: 22 June 2006] I have created a chart that shows the amount by which Mica has been winning or losing at various times when I have checked on it.

Theorems and conjectures

As strongly evidenced by how I finished it in a few sessions within a single 24-hour period, Simon Singh’s Fermat’s Last Theorem is an exciting book. When you are kept up for a good part of the night, reading a book about mathematics, you can generally tell that some very good writing has taken place. Alongside quick biographies of some of history’s greatest mathematicians – very odd characters, almost to a one – it includes a great deal of the kind of interesting historical and mathematical information that one might relate to an interested friend during a long walk.

xn + yn = zn

The idea that the above equation has no whole number solutions (ie. 1, 2, 3, 4, …) for x, y, and z when n is greater than two is the conjecture that Fermat’s Last Theorem supposedly proved. Of course, since Fermat didn’t actually include his reasoning in the brief marginal comment that made the ‘theorem’ famous, it could only be considered a conjecture until it was proven across the span of 100 pages by American mathematician Andrew Wiles in 1995.

While the above conjecture may not seem incredibly interesting or important on its own, it ties into whole branches of mathematics in ways that Singh describes in terms that even those lacking mathematical experience can appreciate. Even the more technical appendices should be accessible to anyone who has completed high school mathematics, not including calculus or any advanced statistics. A crucial point quite unknown to me before is that a proof of Fermat’s Last Theorem is also automatically a proof of the Taniyama-Shimura conjecture (now called a theorem, also). Since mathematicians had been assuming the latter to be true for decades, Wiles’ proof of both was a really important contribution to the further development of number theory and mathematics in general.

Despite Singh’s ability to convey the importance of math, one overriding lesson of the book is not to become a mathematician: if you manage to live beyond the age of thirty, which seems to be surprisingly rare among the great ones, you will probably do no important work beyond that point. Mathematics, it seems, is a discipline where experience counts for less than the kind of energy and insight that are the territory of the young.

A better idea, for the mathematically interested, might be to read this book.

Not polyglot

Perhaps the ultimate demonstration of just how low a click-through rate spammers need in order to justify sending emails is the huge number of messages written in Asian scripts that I receive every day. Since my email address is posted in several places on several different websites, it it unsurprising that all manner of spam robots have collected it. Because of my general willingness to give my ‘real’ email address to various websites and companies, I generally get more than 100 spam messages a day. Thankfully, GMail catches nearly all of them.

Given that all the websites from which my email address has been taken are in English, you would think that an even moderately intelligent spam robot would direct English spam towards addresses listed thereon. I now get more than twice as much non-English spam as English spam, and almost all of that in Asian scripts. Not that I mind being the target of Chinese, Japanese, and other sorts of spam – I don’t even need to skim the titles to know that they aren’t for me.

First eBay sale

I’ve joined the ranks of those who have at least listed an item on eBay. In this case, it’s the Sony headphones that I want to sell in order to get money for a snazzier pair. These are brand new and in the original packaging.

I may have set the minimum bid a bit high, but you can’t set a reserve price under £50 and I’m really not willing to sell these for less than £15 after spending almost £25 on them. In any case, we will see how this experiment in commerce goes.

[Update: 21 June 2006] With exactly 12 seconds left in the auction, someone placed a bid. Looks like I am offloading these headphones for £15 plus the cost of shipping.

The economics of it all:

Price initially paid on Amazon: £25.66 C$53.01

Payment received from eBay: £15.00 C$30.99
Shipping fee from eBay: £2.00 C$4.13

eBay listing fee: £1.29 C$2.68
PayPal currency fee: £0.86 C$1.77
Cost of packaging: £0.49 C$1.01
Cost of shipping: £0.68 C$1.40
Net eBay income: £13.68 C$28.26

Amazon cost – eBay income: -£11.98 -C$24.75

In the end, choosing to buy these headphones cost me about twenty-five bucks for three months’ usage. Let’s hope the ones I choose to replace them with last much longer.

Syndication and RSS: a simple introduction

A few people have asked me what ‘syndication’ and ‘RSS’ are, so I thought I would write a quick, non-technical introduction.

Syndication intro

The content of this blog can be broadly separated into two types: the text that makes up posts, and all the formatting that surrounds it. What syndication does is take just the text, allowing it to be read through some other site or program than the one usually used to view the site. The big reason why this is helpful is because it lets you quickly check a great many information streams to see if any have changed.

Instead of having to check more than 100 different pages every time I want to see if one has been updated, I can take a look at one page that lists all the different syndication ‘feeds.’

BlogLines

One service that allows this is BlogLines. If you have a look at my BlogLines account, you will see that it tracks more than 100 different ‘feeds.’ These include things as diverse as all the LiveJournal, WordPress, Blogger, and other blogs run by friends of mine; listings of video clips from the Colbert Report and the Daily show; headlines from Metafilter, Slashdot, and other news sites; and a few miscellaneous other things.

If you sign up for a BlogLines account, you can add two different feeds from my blog. Both use a technology called RSS, which stands for ‘Really Simple Syndication.’ The addresses in question are:

Blog posts: http://www.sindark.com/feed/
Blog comments: http://www.sindark.com/comments/feed/

Opening either in a normal Internet Explorer or Firefox window will probably bring up a lot of confusing looking garble. This is the machine readable version of the blog. If you add one of those addresses to your list of feeds in BlogLines, however, you will see a list of recent posts presented, complete with short summaries and links back to the original. Whenever this site (or any other one you have listed) gets updated, it will turn bold on your BlogLines page.

Signing up for the comments feed will allow you to see whenever anybody leaves a comment on any post of mine, without having to check each one individually. I find it a useful way to follow conversations, without having to look at many different individual pages. For people running blogs, it can also be a good way to catch spam.

Firefox live bookmarks

Another way to read RSS feeds is to add them as ‘Live Bookmarks’ within Firefox. This can be done very easily. In Firefox, look over to the right hand side of the blog’s address, inside the white box near the top of the window. On the right hand side, there is a little orange icon with a white dot and radiating arcs. Any page on which you see that icon has a syndication feed available.

If you click that orange icon, a window will pop up asking you to name the bookmark and choose where in your bookmarks menu you want to see it. Then, any time you go into the bookmarks menu and select the name of that site, it will show you a listing of recent post titles. You can click on any of them to go to the post itself.

More information

Bloglines FAQ
WikiPedia on RSS
(includes the orange logo I described)
Firefox Live Bookmark tutorial

Sony headphones, cont.

In response to my complaints by letter and phone, as well as sending back the broken old pair, Sony sent me a new set of MDR-EX71SL Fontopia earbuds (£25.67 on Amazon). While this is welcome, I would have preferred to have them send me a refund. On past form, the new pair will only last about three months before completely falling apart due to cheap materials and shoddy construction. My earlier complaint about them is here. To anyone considering buying Sony Fontopia earbuds: don’t. They are no longer the nice-sounding, solid things they were back in 2000 or so. Now, they are made of plastic so soft, you can literally peel it off the wires gently with your fingers. It is less tough than the brand-new shoestring licorices that you are surprised to bite into and not find toughened by months of exposure to 7-11 air and fluorescent lighting.

Rather than put the refund towards new Sony headphones, I would probably have gone with either the Shure E2Cs (£51.49) or Etymotic ER6Is (£68.51), which many people have told me are more durable and have better sound. They need to be earbuds, because I want to be able to wear them under a bike helmet and carry them virtually everywhere. While big ear-covering headphones would be great for my room, they hardly work with bikes and iPod Shuffles.

Since the replacement EX71s are new and in the original packaging, I could try selling them online somewhere, thereby generating some funds to put towards a better set. Of course, that would mean at least another couple of weeks with ear canals aching from button-shaped and unyielding hard white generic Apple headphones. What do cost-conscious audiophiles suggest?

On caffeine

Caffeine moleculeCaffeine – a molecule I first discovered as an important and psychoactive component of Coca Cola – is a drug with which I’ve had a great deal of experience over the last twelve years or so. By 7th grade, the last year of elementary school, I had already started to enjoy mochas and chocolate covered coffee beans. When I was in 12th grade, the last year of high school, I began consuming large amounts of Earl Gray tea, in aid of paper writing and exam prep. During my first year at UBC, I started drinking coffee. At first, it was a matter of alternating between coffee itself and something sweet and delicious, like Ponderosa Cake. By my fourth year, I was drinking more than 1L a day of black coffee: passing from French press to mug to bloodstream in accompaniment to the reading of The Economist.

Unfortunately, coffee doesn’t seem to work quite right in Oxford. My theory is that it’s a function of the dissolved mineral content in the water, which is dramatically higher than that in Vancouver.

As I understand it, caffeine has a relatively straightforward method of operation. After entering the body through the stomach and small intestine, it enters the bloodstream and then binds to adenosine receptors on the surface of cells without activating them. This eventually induces higher levels of epinephrine release, and hence physiological effects such as increased alertness. Much more extensive information is on Wikipedia.

From delicious chocolate covered coffee beans used to aid wakefulness during the LIFEboat flotillas to dozens of iced cappuccinos at Tim Horton’s with Fernando while planning the NASCA trip, I’ve probably consumed nearly one kilogram of pure caffeine during the last decade or so. After the two remaining weeks of this term – and thus this academic year – have come to a close, my tight embrace with the molecule will probably loosen a bit.

Towel Day: a curious but entertaining memorial

Fans of Douglas Adams may appreciate being reminded that this coming Thursday, the 25th of May, is Towel Day. Created after his untimely death in 2001, the event is meant to mark his memory with good humour of the kind always demonstrated in his writing. Learning about his death was personally difficult in a way I don’t think it could have been for almost any other stranger.

For the unfamiliar, Douglas Adams is was best known as a British writer of science fiction, though much of his career was devoted to radio work. His most famous books are the Hitchhiker’s Guide to the Galaxy “trilogy in five parts” and the Dirk Gently’s Holistic Detective Agency duo (trio if you include the unfinished segment in The Salmon of Doubt). If you haven’t read them, you are a lucky person: you have the chance to spend the next few days experiencing something exceptionally amusing for the first time. Personally, I’ve read them at least six times each – including going through most of Dirk Gently’s aloud.

On the matter of why towels are relevant, I shall quote a section from the first Hitchhiker’s book:

A towel, [the Guide] says, is about the most massively useful thing an interstellar hitch hiker can have. Partly it has great practical value – you can wrap it around you for warmth as you bound across the cold moons of Jaglan Beta; you can lie on it on the brilliant marble-sanded beaches of Santraginus V, inhaling the heady sea vapours; you can sleep under it beneath the stars which shine so redly on the desert world of Kakrafoon; use it to sail a mini raft down the slow heavy river Moth; wet it for use in hand-to-hand-combat; wrap it round your head to ward off noxious fumes or to avoid the gaze of the Ravenous Bugblatter Beast of Traal (a mindboggingly stupid animal, it assumes that if you can’t see it, it can’t see you – daft as a bush, but very ravenous); you can wave your towel in emergencies as a distress signal, and of course dry yourself off with it if it still seems to be clean enough.

More importantly, a towel has immense psychological value. For some reason, if a strag (strag: non-hitch hiker) discovers that a hitch hiker has his towel with him, he will automatically assume that he is also in possession of a toothbrush, face flannel, soap, tin of biscuits, flask, compass, map, ball of string, gnat spray, wet weather gear, space suit etc., etc. Furthermore, the strag will then happily lend the hitch hiker any of these or a dozen other items that the hitch hiker might accidentally have “lost”. What the strag will think is that any man who can hitch the length and breadth of the galaxy, rough it, slum it, struggle against terrible odds, win through, and still knows where his towel is is clearly a man to be reckoned with.

Carrying a towel on Thursday is therefore both a way of marking your appreciation for Adams’ work and setting yourself out as the very example of a well-prepared and capable individual. Given that the world’s most interesting English-speaking people are all either present or future appreciators of Adams, you stand a decent chance of meeting some new ones if you carry the towel obviously enough.

To the many people who have already read and loved the books listed above, I recomment having a look at the lesser known non-fiction book Last Chance to See: written about a slightly mad worldwide expedition in search of endangered species, including the Kakapo parrot of New Zealand, Komodo Dragons, and Chinese river dolphins. The book has all of Adams’ characteristic wit, as well as quite a forceful conservation message. The fact that he climbed Mount Kilimanjaro while wearing a rhino costume definitely contributed to my own ambition to find my way to that lofty summit. Widely available in the UK, you may need to order the from here or wander through a few libraries to find a copy in the US or Canada.

Also worth noting is that Douglas Adams had one of the most amazing funerals possible: with the eulogy delivered by Richard Dawkins and a live performance of Wish you Were Here by David Gilmour of Pink Floyd. That’s my favourite song of theirs, as well. Dawkins also wrote a touching article in The Guardian praising Adams.