2010-03-01

PoS3

As an owner of a Sony Playstation 3 console and a user of the Playstation Store, I have recently joined the Registration of the trophy information could not be completed. The game will quit. (8001050F) club. When this first appeared, the system time reset to Dec 31 and a decade ago. Now I can't sign in to the Playstation Network or even run Assassin's Creed 2 (a game with no network features). Sadly, resetting the time manually and trying again didn't fix anything. Neither did disabling the Internet connection setting. So it looks like the major symptoms are not causes. Something else is broken.

The timing (2010/03/01) and the clock-reset have led to widespread speculation that it's a Y2.01K event, which seems plausible. It's reinforced by the news that this doesn't affect newer ("slim") PS3.

I have a horrible feeling that Sony is trying to put off confirming another rumour: that the clock-reset has tripped a DRM wire, and that the PS3s are now defying their rightful owners in the mistaken belief that we are all freeloaders. Part of me hopes this is the case, because it will be a large stake in the heart of this trespass-on-owner's-property DRM that has become popular in recent years. We might even get a judicial precedent out of it.

Another part of me just wishes the best of luck to my unknown colleagues in Sony who are doubtless trying desperately to save the product line. Good luck, guys.

2009-11-26

Open link in Google Docs

Since hearing about the way to link to a page in Google's Document Viewer, I've been using it enough that I want a quick way to do it. So I added this to the end of the [Link Popup Menu] section in the menu/standard_menu (1).ini file that Opera created when I made a custom menu setup:

Item, "Open link in Google Docs"= Go to page, "http://docs.google.com/viewer?url=%l"

Very handy for browsing Government websites, where most of the useful information is hidden inside Word files.

2009-11-16

Mark Coughlan on political donations in Ireland

This is a wonderful article, although the content is somewhat sickening. I can add this to my short list of political litmus tests, along with support for the Taoiseach's Eleven (e.g. pages 47-48 of the 2004 Report on Seanad Reform), the Voteless Dáil (moved by Mary Hanafin), and the Unnumbered Envelopes.

2009-11-11

Job titles

During this morning's Leader's Questions in the Dáil, Éamon Gilmore accidentally coined the fortuitous phrase back bensioners, a portmanteau of back benchers and pensioners. Sadly, the official transcript only records his immediate correction of back benchers.

In case it isn't obvious: Government back benchers arrive in the Dáil chamber long enough to press a button according to the Chief Whip's direction. Once upon a time they would have insisted that they know what they're voting for, but that's untenable now that the Order of Business routinely include orders to have a single vote on whichever amendments a Minister wants.

So, Government backbenchers do no work but they continue to get paid well. Back bensioners indeed.

2009-09-17

Simplified Software Process

After I raved a bit about the joy of test-driven development, a coworker pointed me at this tongue-in-cheek review, and I nearly ruined my keyboard when Figure 3 loaded.

2009-08-25

Performance-based rewards considered harmful

One of this year's TED talks was seriously counterintuitive but extremely well-founded. Dan Pink's talk on extrinsic and intrinsic motivation illustrates the scientific conclusions that high financial incentives for success increase the length of time taken to solve a cognitive problem.

The research establishing this result is clearly referenced (“Large stakes and big mistakes” and “Incentives, Decision Frames, and Motivation Crowding Out — An Experimental Investigation”). The implications are huge: higher bonuses don't lead to higher performance when the problem is nontrivial (don't tell your local bean-counter). Pink's alternative motivators (autonomy, mastery and purpose) aren't as well-founded, but they have a certain intuitive appeal.

2009-08-22

Dutiful plug: Google Code University

Google has collected and published a compendium of useful computer science courseware, and given it the slightly dramatic name of Google Code University. I normally avoid plugging my employer's various offerings, mainly because there's no way to be unbiased about it. But after the disappointment of Open Courseware, this actually looks useful.

(Not that Open Courseware doesn't deliver a lot, by the way. It just promises far, far more.)

code.google.com/edu seems to have substantial content for each title, and (with the possible exception of the occasional Powerpoint data file) the content looks pretty good. I'd have found that stuff useful during the summer before I started college. Even when you correct for the fact that most ef it hadn't been invented way back in 1990.

2009-08-17

Socializing the Weather

I came back to Ireland from the US in 2000, and was immediately disappointed by the weather service. I don't mean the perpetual overcast (though I was also disappointed to see I hadn't imagined it after all). I mean the way Met Éireann tries to sell the forecast information it compiles, in spite of the fact that it is paid by the taxpayer to do its work — it is part of the Department of Environment, Heritage and Local Government.

In the US, the forecasts are similarly funded but then they're made publicly available. They're on the NOAA website; they're broadcast regularly on dedicated radio channels, and (if you're a pilot planning a flight) you can even make a free call to 1-800-WX-BRIEF and get a customized in-person professional weather briefing. My favourite was the technical brief which gave fascinating insights into the levels of certainty of the forecast.

Now look at Ireland's Met Éireann. The most detailed forecast available from their website (a site which is useless without Javascript, by the way) is actually less detailed than the text on Aertel page 161. There's a phone service too, but it's a premium-rate telephone number, and I suspect it's a prerecorded message rather than an in-person briefing (and no, I won't pay to find out). For pilots, there are Self Briefing Units installed at major airports — no trained weather briefers for you, and you're SOL if you want a briefing when not at one of those places.

In the US, this would be a hideously-embarrassing way to run a government service. It indicates inadequate funding without implying cost controls, and it combines the inefficiency of the government budgetary process with the costs of collecting money from service users and of investing in measures to stop those users getting that service for free.

And it's all for nothing, because the information is quickly exported and aggregated with the free information available in the rest of the world. A search for [eidw taf] (even on the Bing engine) immediately shows links to places like all met sat which not only report the current Terminal Area Forecast, they decode it into English so you don't even need the TAF Decoder Ring.

Ha, ha, etc.

2009-08-10

Aughts, Teens, Twenties, Thirties, ...

It really annoys me to hear people refer to this decade as “the noughties”. Even the BBC, who should know better.

I recall seeing recorded interviews with some right old codgers who talked about “the aughts” and “the teens”, meaning the first decades of the 20th century. These are good solid woody words. There's no reason to resort to inferior neologisms.

However, by the end of this year, I fully expect to sit nervously twitching as otherwise-sensible people look forward to the Teenies, or the Tenties, or the Naughtiers, or something equally saccharine and unforgiveable.

By the way, if you got here by searching for [naughty teens], then I'm sorry. As a sort of apology, please accept this link to a popular destination for [coprophagia video].

2009-07-23

Leaving Cert English selected answers

The themes in Macbeth are juicy and addictive like opal fruits with nicotine.

Some of the most appalling prose (and, rarely, some of the most appealing) is making the rounds in the form of the smuggled answers to Leaving Cert English papers from this year.

2009-01-07

Plug: a Browser Security Handbook

My employer has published a Browser Security Handbook advising authors of web applications about the various security risks involved, a subject that is ridiculously complex. Yay.

2008-12-05

POSIX time_t is not UTC

For years, I've been pretending that time_t is a better representation of time than any combination of year, month, day, etc. That's because it's a linear representation of time that can be subjected to arithmetic. In particular, it's monotonically increasing.

Well, that's not true on POSIX systems. On POSIX, time_t is said to be based on UTC, but it ignores leap seconds! Considering that UTC is defined as TAI minus accumulated leap seconds, that's one giant opt-out.

The official line (from SuS v3) on leap seconds is "applications which do care about leap seconds can determine how to handle them in whatever way those applications feel is best". OK, quick question: your application, which cares about leap seconds, calls time() and gets 915148800; what time is it? If you need to know, you're out of luck; compliant POSIX systems stepped their clocks back a second during the leap second. If you have a drug-delivery system that's based on POSIX, don't use it if a second's too much drug will harm the patient.

In fact, POSIX time_t is an encoding of a Gregorian calendar time (year, month, day, hour, minute, second). The POSIX committee considers it more important that time_t is consistent between machines, than that it should be correct. Consequently, the description in the man pages and standards of time_t as "seconds since the Epoch" is a lie.

It violates POSIX to set your system clock to return the actual number of seconds since 1970-01-01T00:00:00Z! Right now (2008-12-05) it should be the number of seconds since 1970-01-01T00:00:23Z; from the start of 2009 it should be the number of seconds since 1970-01-01T00:00:24Z. If you try to use difftime to compare a time from 2008 with a time from 2009, you'll get the right answer minus one.

This is clearly crazy. If you want to ignore leap-seconds, use TAI and accept the drift. If you want to ignore leap-seconds but stay close to UTC, stick to year/month/day/hour/minute/second (i.e. struct tm). If you want accurate intervals and not necessarily accurate calendar times, use a monotonically-increasing count of seconds since some definite time in the past. Unix made its choice clearly and precisely; POSIX is wrong to change it, and STUPID BAD WRONG to change it while pretending it's the same.

[Edited: I had the wrong offsets in the fifth paragraph.]

[Update: Someone pointed me at an old message titled History of IEEE P1003.1 POSIX time which explains a lot.

2007-06-17

Now it's lolbots

This meme just keeps spreading. One day I'll look back and cringe. But right now I'm laughing my head off.

2007-06-12

Search your lolcats

I Can Has Cheezburger has a search feature. Why? The spelling-correction isn't good enough to mangle English into Kitteh well enough to find anything. I only found the noo it are my birthday cat by searching for no "it are my" birthday.

2007-05-13

E61 force-flashing links

Here are some links to help me force-flash my new Vodafone-branded Nokia E61 to the latest (uncrippled) firmware version:

  • Hisham's blog entry
  • averageadmins blog entry
  • Nemesis tools (download links: NSS103810.zip, History.txt, pdg4fbus.zip).
  • Quick Nemesis instructions:
    • On Hardware Selection, pick Virtual USB Device
    • Backup the phone using the vendor tool
    • Open Nemesis again
    • Scan for new device ⇒ Phone info ⇒ Scan
    • Enter product code (0523307 for UK layout), check the enable box, and Write.
    • Use the vendor tool to update the firmware — new version should be 3.0633.09.04 or later.
  • The official updater can be downloaded via this link.

2007-04-15

Kasparov arrested for political action

Expect many chess-related puns from sub-editors around the world. More seriously, Russia is rapidly becoming the world's greatest threat again. Putin has presided over a degradation of civil rights which is as shocking as it is sudden. Journalists are murdered, votes are rigged, power is centralized. I don't know which is scarier: that Putin has a grand plan for which he will need all this power; or that Putin wants power for its own sake, and will leave a Stalinesque legacy when he's finally removed. Who could have thought Yeltsin's successor would actually make things worse? I can only wish luck and popularity to the opposition in Russia.

2007-04-10

The IPv6 Experiment

It's so crazy and yet so plausible. It might just work. (Of course, it could be an April Fool, and that would be cool too.)

Failure recovery

I've been categorizing distributed system designs into four groups, according to how they recover from the loss of a single critical ele...