Category Archives: Internet

Pressing a button does not demand JavaScript

The state of software produced by web developers is highly variable.  The things the good programmers can do is little short of astonishing, as it always has been with limited environments.  But the bad programmers…

Fifteen years ago I did a Microsoft certification thingy, and now they want me to do a satisfaction survey on it – for no compensation.  I think not.  But I notice an unsubscribe link at the bottom of the email, so I follow it: http://www.mailingsvcs.com/optout.aspx?type=email&optout=1&service=1&networkid=9001&id=josh@example.com&pid=p53457652, see the Submit button, click on it… and nothing happens.  And then I realise – it needs JavaScript to press.  A button, one of those things right at the heart of HTML 2.0.  What is this, amateur hour?  Turns out, yes it is because if you follow the hacked URL above — which if filled with bogus data — and click on the Submit data, the back end proceeds happily without validating any of the data, and asks you another question before confirming that it’s done:

We’re sorry you no longer want to receive e-mails from us. Please allow one week for us to process this request, during which time you may still receive e-mails from us. We apologize for any inconvenience.
To help us improve our service, please tell us the primary reason why you no longer wish to receive our messages:

There appears to be some kind of problem with their computers.  Last time I checked, the time it takes a computer to remove a record from a database is in the vicinity of “I’m already finished”, not one week.

I’m of the opinion that people who construct software ought to be required to put their name on it in a visible way, so they can go on my list of people to smack in the face when I meet them.  It’s for the best.

Google Pac-man!

To celebrate Pacman’s 30th anniversary, Google’s banner today is not only Pac-man-based, it’s a playable game if you wait for a few seconds.

Google Pacman

And yes, if you clear the first two boards, you get the traditional cut-scene.

Google Pacman

Google Pacman

Is that totally awesome or what?

Am I correct in thinking it’s not actually written in Flash, but in some clever HTML-type thingy?

Update: Yes. CNet reports: ccording to Germick, the company worked with Pac-Man’s publisher, Namco Bandai, to make the project as realistic as possible. Yet the Google team, with the inspirational lead of Marcin Wichary, a Google senior user experience designer, built their version of the game from the ground up using JavaScript, HTML, and CSS.

Update 4pm: If you click Insert Coin twice, you get a two-player game (W/A/S/Z controls Ms Pac-Man). And there is one minor bug I’ve noticed — sometimes when chasing ghosts after eating a power pill, you can pass right through them.

Update 9:30pm: Google Pac-Man: The FAQ + Kill Screen Winners — contains more details on how it was written, where to find it when it’s gone from the main Google page, and a picture of the”kill” screen.

Update Monday: It’s gone from Google’s home page now, but is still online here: www.google.com/pacman

Chrome doesn’t sandbox the CPU; Goggle docs waits really hard

Chrome doesn’t attempt to sandbox CPU consumption. I just closed an inactive Google docs spreadsheet, and saw CPU fall from pegged-at-100% to bubbling along at 10%.

Does it really need each available CPU cycle to wait for the other end to do something? Apparently so, in the way it’s coded.

Google: not as clever as the press release makes out.

Myki website suckiness

Having recently used my Myki card for the first time, I thought it best to see how the system had tried to screw me.  At the time I used it, it seemed simple enough, even if it didn’t allow me out of the first gates I tried at Flinders St station and the exit scan took… longer than I would have thought reasonable.  And now, I went to the website to inspect the transactions.  After some fumbling and following unnecessary links, I got to the query page, into which you enter a date range (why it just can’t pull up the most recent transactions by default is beyond me).

Pick an generous date range, to ensure you get all your transactions, and up pops this error:

Please correct the following and try again:

Date to should be less than or equal to current date. Please try again.

It couldn’t just assume that if the user has entered a date range for the future, it will be fine to report all the transactions that haven’t happened yet?  Nor could the system possibly pre-populate the inputs for you to fix things, nor pre-populate before you enter a crazy date like December this year.  Oh no.  That wouldn’t be hostile enough.

Bending to the will of the brain-addled programmers, I complied and got:

Please correct the following and try again:

Up to six months of transaction data will be available.Statement Data only available after 5/11/2009

The first is an assertion, not a problem.  If Statement Data is only available after 5/11/2009, well, just give me that!  Why the controls even offer dates prior to this (two years prior to this) is confusing to say the least.  And why wasn’t this problem flagged along with the last problem?  Why force me to fix “problems” one at a time?

It’s like those crazy Blogger.com comment submission forms, with embedded CAPTCHAs – get the CAPTCHA right and anything else wrong, and you’ve got to keep solving CAPTCHAs until you get the other fields right too.  I’ve already proven I’m a human, you stupid website!

Honestly, you’d think that the people who designed the site weren’t forced to use it until their eyes bleed.  The cards associated with the account – three, one for myself and one for each of my offspring, are all listed as card numbers – even though each card was posted to a named individual.  So I was a little bewildered when no transactions turned up for my card, until I realised I had to try each of the 20 digit strings in turn until one that had transactions listed said transactions.  This thing has such a simple interface, and yet it is so poorly implemented that I’m stunned; it’s almost as if a bet had been made, along the lines of “I bet they can’t stuff this up” – and yet so much fail has been inserted into this one little web page.

And another thing: session expiry.  Why expire Myki sessions?  If people care about their travel data being exposed to others wandering past the PC, they’ll log out.  That’s the extent of the security risk.  It’s not like Myki has money you can move anywhere. *

In 2001: A Space Odyssey, Dave’s last works are “My God, it’s full of stars”.  Dave, this one’s full of fail.

*Yes, I know about the load that maintaining session data puts on your webservers.  I just don’t care.  Get better webservers.  Expire inactive sessions after a week if you’re that worried.  Or do some kind of hourly keep-alive ping thing with the JavaScript that you love so much.  Just don’t bother me with your whiny little “it’s too hard” complaints.

Real Estate Websites Suck: Part 4

I’ve decided that I’m only going to look for properties with 4 (or more) bedrooms. I enter this as a search criteria, and the website says quite clearly “Results for properties for rent with 4+ bedrooms in {suburb}”.

So why do I get presented with 3 bedroom properties?

Facepalm. Five years, and these web sites still suck balls. Not only do searches not work, it appears that the site pegs my CPU at 100% when the rendered page is just sitting there. Some of their lovely JavaScript goodness I suppose.

If you ask nicely I might dig up and dust off my rant from five years ago…

Windows 7 temporary user profiles

Windows 7 has impressed me, with one exception: it periodically logs in using a “temporary user profile”. This seems to happen only after a previous user has logged off.

Various people around the Interwebs have had the same problem. The only firm answer I’ve seen so far is that it appears to relate to Google’s automatic updates services for Chrome (and possibly other software).

So if it’s happening to you, get into the list of Services, and disable anything to do with Google updates. Seems to work for me — though at one point I thought I had it licked, with the Google Update Service disabled, but it started happening again. I took another look and from nowhere, the Google Software Updater had arrived on the scene, and had to be disabled separately.

(I wanted to post a picture of the error message, but that, like everything else to do with the temporary profile, has now disappeared into the ether.)

Five years on: VoIP? No. Well, maybe. But not really.

Five years ago we looked at dumping the POTS and going VoIP to save big dollars. It cost more to use VoIP.

So, recent events have suggested that moving to ADSL2+ is now a good idea. Now that the local loop is unbundled, true competition has smashed into the marketplace, and VoIP has finally gone mainstream. ADSL2+ prices are cheaper than ADSL. There’s dozens and dozens of VoIP providers, you can even port your existing POTS number to a VoIP number (for certain providers, from certain telecoms companies).

Interestingly, there’s a $10 difference between going with Naked ADSL2+ and ADSL2+ bundled with a home phone; typically you also lose some data allowance, for example going from 20Gig to 15Gig, and that 15Gig will have a further (quite small – I’ve seen an estimate of 30Meg/hr) amount consumed by ‘phone calls. So, you get less, and the question is, can you pull in VoIP functionality for less than the $10 price difference?

Well, maybe. If you insist on porting your existing phone number to the VoIP provider, there are charges (say $3/month), plus an upfront charge ($55). You’ll also need to acquire a convertery-thing to turn your Ethernet cable into a POTS connection for your existing phone handsets, or buy a network-connected VoIP phone, or whatever – some kind of connectivity to your network and thus the ISP and thus through to your VoIP provider is required. If you want a VoIP account with a Direct Inward Dialing (DID) number (you might know that as a phone number) they start at $5/month. So, of your $10 price difference, you’ve just chewed up $8. You get to amortize the connectivity hardware and charges over the $2 savings you’re making; if you’ve got the hardware lying around, the $55 port charge is will be clawed back in just 28 months. Did I mention you’re running with a smaller data allowance? And there’s also the cost of keeping the convertery-thing powered up each month. And the fact that if you lose you broadband connection, you lose your phone (POTS have very high availability rates; broadband not so much).

Now, admittedly, VoIP calls are hella cheap compared to POTS calls. If we made many, that might be a factor. But we don’t, so it’s not. Our phone line’s more for people to call us. If we wanted to place calls cheaply, VoIP accounts without DIDs start at $0; we’re looking at replacing the home phone, and the numbers still don’t stack up, even after all this deregulation and vastly increased competition. Which makes no sense.

Or maybe it does. If the costs are approximately at parity for VoIP and POTS, surely that’s showing that the prices are competitive?

Here’s another scenario. You go with POTS and ADSL2+, plus VoIP with a freshly allocated local number which you use for all outgoing calls. You still need the bridge, and now you need a second phone. You retire your POTS number (advise everyone you know of that you’ve changed numbers – doctor, dentist, home insurer, car insurer, friends, family, work’s HR department, your bank, etc etc – shouldn’t take more than a day or two), but keep it alive for, say, six months (this assumes your ISP loves the idea of you starting out with a POTS line and then dropping it after the six months; I haven’t checked, but I can guess what their reaction will be). You’re paying $15/month over naked prices (ignore bandwidth differences), but your call costs are lower. At the end of the six months you’re saving $5 a month, so another 12 months to break even, and then you can start amortizing the convertery-thingy at $5/month – about two years for every $100 it costs. And once that’s amortized, and you’ve recovered the price of the extra electricity you’ve been using, you’re making pure profit.

I can’t wait.

When the phone line is $5, or $8 for your existing number, rather than $30, that’s when it’ll make sense. But it’s almost at that price now, when you get down to brass tacks, it’s $10 plus they throw in a little extra bandwidth. So we’ve got a competitive situation (at least on the connectivity costs), and VoIP, as a result, sucks balls. Interestingly, bundled plans aren’t sold as “naked plus $10, and we’ll throw in some extra bandwidth!”.

Let’s say you were forced to change phone numbers anyway (perhaps an interstate move), so now it makes sense to go without the POTS number at all. You’ve still got to amortize the convertery-thingy at $5/month, but on the upside you’re saving money on your calls – if you make any.

Final analysis: if you’re forced to change you telephone number anyway, you might as well go Naked ADSL2+ and VoIP. Otherwise, not worth the bother.

HTML5test.com

Less crazy than the Acid Tests is www.html5test.com

Here’s what I get from a few random browsers I have lying around the place:

Firefox 3.5.9 scores 100 out of 160.

Chrome 4.1 scores 118 out of 160.

IE6? 11 out of 160.

IE8? Surprisingly, only 19 out of 160.

The browser on my Nokia N95 phone doesn’t load the page properly; it just says “Working…” and 0 out of 4 (eg it stalls on the first round of tests).

Interestingly, I also tried IE6 with the Google Chrome Frame in it; it scored 137 out of 160, better than Chrome itself. Weird.

Obviously all the browser authors have a way to go to support this if it’s going to be the bold new standard on the web.

(Found via Andrew)

Gmail bug?

Anybody else seeing this Gmail Bug? The message preview on the Inbox list shows text from the first message in the thread, even if it’s since been deleted.

Which means when you go to open it, the text you get to read doesn’t match what was in the preview.

It seems to be particularly prevalent in email list discussions, where what I usually do is delete the threads as I read them (unless I have a good reason for keeping them).

I tried to replicate it by sending myself a few test messages, but Gmail didn’t join them together as a thread, and I don’t have time right now to try any harder.

The buzz on Google Buzz

On Google Buzz (posted on Google Buzz):

Daniel Bowen – So this is Google Buzz, eh? Is it going to be as useful and popular as Google Wave? Or Google Orkut?

Anthony Malloy – Problem is that while you can bring stuff in to your Buzz feed you can’t push stuff out to Facebook – and I think that would be the killer for most people.

Daniel Bowen – Yep. Unless it has unique functionality (like Google Docs) or interoperability (like GMail) or it’s got to reach critical mass before it’s worthwhile.

Daniel Bowen – OK so I found the Connect Sites stuff. Which makes it look a little like Friendfeed (another service I’ve dabbled with then deserted). But you’re right Tony, it’s Facebook where the critical mass of people is, and Buzz doesn’t (yet) talk to that.

Some of Google’s stuff is brilliant, but given on this they are so far behind Twitter, FriendFeed and Facebook, I’m finding it hard to believe that this will achieve any great success.