Friday, April 24, 2009

Weird stuff that accumulated on my phone over the last few months

Here's some random crap that piled up in the photos thing that I never look at:


Ah, Google New Service (Extremely Beta), I see. Apparently it didn't occur to anyone that Google would EVER use an App Engine app on a mobile phone.



From a network switch. Metal! Imagine! What we will be forced to make all consumer devices out of after the petrochemicals run out!



Like Budweiser, but worried that there is still some evidence of a taste? Try new extra-frozen Budweiser; not only will you not taste it, it'll burn your taste buds right off!


HA HA THE ESB IS GOING TO KILL YOU.

(Seen in Dublin city centre. Fake, of course, but note that the faker has cleverly included both the ESB logo and the mysterious serial codes in black-on-yellow, at the bottom.

Wednesday, April 22, 2009

Breaking news - Automattic buys, erm, something

Automattic, the company which operates Wordpress.com, bought, well, this thing, from Yahoo. Incidentally, quick tip; if Yahoo(?%!) wants to sell you something it bought a few years back and doesn't want anymore, run away very fast. Yahoo has quite enough terrible products that it does want; imagine what the rejects are like.

Note that it is from that unpleasant part of history when it was hip to omit capital letters.

Ten points to the first person who can figure out what it is. I'm honestly puzzled. It looks like it might be a feedreader, but lacks normal feedreader features like being able to read feeds.

Disturbing MS-related quote

Seen on the Interwebs:

I have a soft spot in my heart for Windows, and I love programming Microsoft's asp.net web server platform almost more than life itself.

Ewh. Pervert.

I am vaguely reminded of this Verity Stob article:


Day 143. The first Linux virus, thought to be created by the very, very extreme 'We love Windows; even Exchange Server' group. The virus spreads itself in packets of data in the archaic NETBIOS protocol and gains control using a fixed-size buffer overwrite.

Postmortem on Placekeeper

Hmm. Clearly, losing my place deep in the archives of an old webcomic is something that only I do. Or at any rate, no-one wanted to use my little app which banishes the problem forever.

It occurs to me that this is actually the second time I've written this app. The first was with Ruby on Rails a few years back; I was playing with Rails at the time. It was considerably more pointless, even, because I didn't know the Javascript-powered-bookmark-in-bookmark-bar trick, as popularised by del.icio.us. I think you actually had to come back to the site when you were done reading and tell it the URL.

Unfortunately, the bookmark trick may actually be the best way to do this. A Firefox plugin would work, but I don't know how to write such things, and anyway do not care for Firefox. I did consider showing the site to be bookmarked in a frame, and having a toolbar frame pick up the URL, but it turns out this wouldn't work; Javascript is not allowed look at framed things from different domains.

Anyway, the Rails version. I don't seem to have the code anymore. Surely, it was terrible, for I was new to Ruby and Rails was worse back in the day. I did, however, have my first run-in with Ruby deployment, for which at the time there were two basic options, FastCGI and Mongrel. FastCGI was messy, unreliable and horribly slow to start up after no-one had been using it for a while (on a fast modern machine, RoR takes about 5-10 secs to start) while Mongrel was messy, unreliable and very tricky to set up. In these enlightened times, there is a third option, mod_rails/Passenger Phusion, which crashes occasionally in a charming olde-worlde way with segmentation faults, and is tricky to set up in a reliably-working fashion. Also, it does this silly thing where, if you have more than one process, each one starts up sequentially, and only then does it start serving requests. That is, if the thing that starts the processes hasn't crashed; Bad Things happen then.

Oh, and the memory! Budget for about 100mb per (resolutely single-threaded) process!

Bah, Rails.

It is alleged that Ruby 1.9 will solve the speed thing when it has proper library support, but Ruby 1.9 is like Python 3/3000 or Perl 6; never quite there.

Monday, April 20, 2009

Google panders to the Pirate Menace

From Google Reader's front page, as an example of the product:

Don't Google know that pirates became terrible, terrible feared creatures, as opposed to the happy fun pirates found previously, about a month ago?

PlaceKeeper - Social Bookmarking with State!

Today, I wrote a little web app called PlaceKeeper. It is, essentially, a tool for keeping track of your position on a site that you're reading through. For instance, if you're going through the archives of a web comic or blog, you can easily save your position in the site, and come back to it later. Think of it as a delicious which saves your place in a site, not just a link to the site. It's a (Python) Google App Engine app.

I'm not honestly sure how interesting it would be to most people. I personally find it very handy, as I often find a new web comic or blog or online book or whatever which I want to read through, without forgetting how far I am through it. Anyway, do give it a go, if you like. Feedback is welcome; commenting here is fine.

Forgive the app's appearance; I'm not great at UI design...

Sunday, April 19, 2009

Highly important atomic bomb/fluffy things related information

A British nuclear test series in the 50s was called 'Operation Kittens'. Really. That is all.

Thursday, April 16, 2009

Baby steps for Google in social networking

As you can see on the right, you can now 'follow' this blog. This is a feature that Google introduced recently, and is somehow tied into their 'Friend Connect' thing, that odd pseudo-social-networking feature that they introduced a while ago and then ignored.

Presumably this is part of a plan to turn Blogger into the next Livejournal or Facebook. At current rate of progress, this should be done within a fleet decade or so.

Misleading people through map colouring!

This is Wikipedia's main map of prison populations per capita. You could be forgiven, looking at it, for assuming that Ireland, Britain and Canada were carceral states, while either the US or Brazil were lands of the free.



Of course, the US has by far the highest declared prison population per capita (and in total) of any country; it is assumed that North Korea's is higher, but they don't publish figures. Brazil is somewhere in the middle. Ireland and France are lower than Britain and Canada. Not knowing this, and being shown this map, is there any chance that you'd figure this out?

Map colouring is an interesting art. When you are showing something unequivocally bad, like HIV, you tend to colour the worst in red, and the least bad in blue or green. For something more ambiguous (rice production, or index of economic inequality, say) more neutral colours may be chosen, but still representing some sort of legible spectrum. And then there are things like this. Things like this are used when your country has something wrong with it and is in bad company, but you don't want to show it. The map is clearly made by an American, of the political persuasion that America can't possibly be bad at anything. The issue of the map's colouring has actually come up repeatedly on its talk page, but it has not been fixed, and attempts to do so have been reverted. It's one of the most deliberately misleading maps of this type that I've ever seen.

The common tendency in the US to assume that America cannot be bad at anything is rather interesting, and seems to tie into that country's rather creepy patriotism fixation; oaths of allegiance in school, saluting flags, and so forth. It is not something you generally see in democratic countries, and even in authoritarian countries people are generally only doing it more or less at gunpoint; you get the impression that many or most Americans actually really do believe that America is the best country in the world, at everything, and that blind patriotism is a good thing.

Tuesday, April 14, 2009

Want another reason to avoid the DiggBar?

Okay, so I clicked on this article from its Digg page, and got this:
(click for big)



Note that that's only a small part of the four pages of hideous nonsense I got; here's the top:



What happened was that one of the toolbar's CSS files failed to load. The conspiracy theorist in me would like to think that this was because the link was to a Digg-critical article; the bar, then, was simply doing its duty and suppressing it. In practice, of course, it's more likely to be related to a server somewhere having trouble.

Still, horrible. And a good reason to use Diggbar-evading technology.

Monday, April 13, 2009

Digg in possible censorship shocker

(Update: Ironically, someone put this post on Digg! It's got the silly bar and all! Also, the evil bar attempts to eat the post.)
Digg is a website where users submit links and vote on them. If you are lucky enough to have a link to your site come to the front page, you will be gifted with visits from thousands and thousands of raving idiots. It's the AOL of the 21st century. I don't use it myself, but it is relatively high-profile, and I hear about its scandals.

Right. Now, in common with a lot of people, Digg is probably hurting a bit from the whole collapse of the global economy thing. So, they introduced a thing called the Diggbar. Now, when you click a link on Digg, it puts a silly bar on top of the target, through framing. This is, of course, rather irritating, and impedes bookmarking and so forth. There's also no easy way to escape from the frame. So that's unpleasant. A variety of crapper websites used to do this back in the late 90s, but it largely went out of fashion as really, really annoying. Reddit does it, but it is an opt-in feature, for people who like this sort of thing.

There may also be an issue of the technique diverting pagerank away from the target sites and towards Digg, though that is rather dependent on linking user behaviour.

Someone posted a blog entry on how to block users coming in with the silly bar, via referrer inspection. This ended up on Digg itself, with a score of over 2000 (generally good enough to get to the front page) and overwhelmingly positive user comments. However, it is not on the front page. Do you think that this is because (a) this popular article has been buried by users, who like it but don't want to see it on the Digg frontpage or (b) this popular article has been buried by Digg themselves, for insulting their new (presumably revenue-generating) feature?

Of course, we don't know, because such records aren't public. But it doesn't look great. The Streisand effect, where an effort to hide something on the Internet leads to it being spread all over the place, has probably been invoked. Unfortunately for Digg, regardless of how it actually happened, at this point people are largely going to assume they are covering up.

This comment is rather interesting. Anecdotal, of course, but this user, whose comments had decent scores on the site, apparently had his commenting disabled temporarily because other users didn't like them. Hmm.

It'll be interesting to see how this develops. The current blocking technique is simple and based on referring URL. More interestingly to site owners, it would also be trivial to force a redirect to the real site, without the bar, on detecting it (by sending a meta refresh specifying the 'TOP' frame, for instance, or giving the user a link to click to escape). (Update: Engadget apparently does something along these lines.) I can see an arms race developing where Digg changes or hides the referrer, and site owners refine their detection technique.

Incidentally, people were probably so willing to believe that there was some form of coverup, because there has historically been some worry about the alleged power a small number of users have over the process, especially the burying of stories. An example of a supposed incident here. And here, weirdly, is the Guardian on a related topic.

The trouble with tools written for a service by people who don't actually use that service


You see, this iPhone app for checking Google AdSense earnings didn't actually work with AdSense accounts with more than 1000 page impressions a day.

I actually made this same mistake years ago when I wrote a simple desktop app to check AdSense earnings; the problem is that AdSense returns CSVs of earnings... with large numbers formatted like '1,232' instead of the perhaps more obvious '1232' that you would expect in a machine-readable format.

Just when you thought it was safe to not modify your CSS again

People running IE 6 and 7 on Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008 will in the third week of April receive a notification through the Automate Update service that encourages them to upgrade their system to IE 8, Microsoft has said.

Nooooooo!!!!!

Microsoft, please, please, just stop releasing your awful browsers. This one doesn't work with anything. It doesn't even work on extensive swathes of your own website. Just stop.

Oh, just go away, church

Oh, lovely. Both the Anglican and Catholic churches are sorta cheerleading the recession! Because poverty is fun, and you could become a monk! Yuk.

Sunday, April 12, 2009

Yay! Gold is falling!



Hahah, irritating gold-standard-loving, Ayn Rand-worshipping survivalist wackos! Where's your beloved shiny yellow stuff now?!

Well, still too high, of course, but at least it is no longer the property market of 2004: "This will go up forever!" And maybe some of the money is going into real things!

Damn. Jesus is back!

Hide that golden cow thing!

Friday, April 10, 2009

Happy no-alcohol-purchase crucifixion day!

This is the day when the Lord God committed suicide in a rather elaborate way for the purpose of relieving the sin of mankind. This is because God was extremely kinky.

To celebrate his sacrifice/perversion, you can't buy alcohol today. Because, erm, no, it's just arbitrary, isn't it.

Thursday, April 9, 2009

Tuesday, April 7, 2009

Horribly disturbing marketing slogan of the day

"[Whatever] leaves your mouth almost dentist clean!"

Mmm, my mouth feels as clean as a dentist. Well... almost as clean as a dentist.

Seriously, did they run this ad by anybody before running it? Urgh.

Friday, April 3, 2009

The hidden pitfalls of playing online games

I was playing a browser game called Legends of Zork, when, to my excitement, I 'levelled up', as the kids are calling it these days, and got a new avatar! But that's not all I got.

Old:



New:



Clearly, poor Mags got a sex change with her promotion. Glass ceiling, and all that.

Perhaps unexpected application bugs

Pages is the name of a word processor put out by Apple. Not as featureful as Word, perhaps, but far lighter, and perfectly good for many applications.

Well, erm, from the release notes for the most recent update:

Pages 4.0.1 improves reliability when working with EndNote X2 or MathType 6, or deleting Pages files.

Ah, right, then. You can delete Pages files now. What?! You couldn't before? How did that work?

And, yep, that is actually the problem. The technical explanation appears to be that permissions of 'sub-files' (Apple has long had a fetish for using files which are not actually files, but either directories or magical filesystem meta-data things) get messed up when you transfer them to network drives. Oops...

Wednesday, April 1, 2009

Every little thing they do is flashy

Apple have never been ones to make utilitarian apps look, well, utilitarian. Have a look at a recent version of XCode for an example; lovely partial transparencies in the interface designer, and code editor. Auto-complete is a bit of a work of art. Doubtless all driven by OpenGL.

Very nice, but you'd wonder how it's commercially justifiable...