Author Archives: daniel

Pirates! Spammers! Gyroscopes! Bandwidth thieves!

This is officially getting ridiculous. Not only are my blogs getting a lot of comment spam, but my personal blog site is burning huge amounts of bandwidth, as particular (I assume zombie) hosts hit the site.

Below are the top ten bandwidth users of danielbowen.com for June:

Top 10 of 15312 Total Sites By KBytes
# Hits Files KBytes Visits Hostname
1 14380 4.10% 3801 1.77% 111235 2.22% 159 0.24% host-148-244-150-58.block.alestra.net.mx
2 17558 5.01% 3191 1.48% 99441 1.98% 157 0.24% host-207-248-240-119.block.alestra.net.mx
3 3927 1.12% 3640 1.69% 75989 1.51% 3 0.00% csr010.goo.ne.jp
4 3062 0.87% 2797 1.30% 74881 1.49% 171 0.26% rrcs-24-97-174-130.nys.biz.rr.com
5 3057 0.87% 2200 1.02% 62547 1.25% 392 0.60% msnbot.msn.com
6 2691 0.77% 2248 1.04% 60684 1.21% 153 0.23% 64.124.85.78.become.com
7 2256 0.64% 2082 0.97% 56383 1.12% 124 0.19% 98-101-196-200.linkexpress.com.br
8 2146 0.61% 2033 0.94% 51665 1.03% 279 0.43% dsl-250-198.monet.no
9 2001 0.57% 1755 0.82% 47605 0.95% 23 0.04% host133.sprintnetops.net
10 1686 0.48% 1571 0.73% 35979 0.72% 325 0.50% corporativos

It’s not like this site is hosting pr0n or something — there’s just no reason why any single host would need to grab 110Mb of traffic in a single month. In total traffic topped 4Gb for the month, which is ludicrous for a diary site with a few photos on it. 4Gb is actually my monthly limit — thankfully my web ISP isn’t too strict about charging extra for hitting that, but there’s always the risk if this is consistent that it’ll be costing me real money.

As a result I’ve started a list of bandwidth hogs’ IP addresses, which I’m putting in the .htaccess file. Anything with lots of hits and grabbing above about 5Mb per month is going onto the list, and the list is being duplicated (manually unfortunately) across to the other WordPress sites that I run.

Inspection of the access_log is particularly enlightening, with at present a staggering number of requests coming in with a referer at poker-related sites. Of the 6665 hits in the file for today (covering about 13 hours) there are 674 from texasholdemcenteral.com (note the wonky spelling) and 1212 from sportscribe.com. All of these too are now being blocked with a 403 (forbidden) via .htaccess.

Sigh. I suppose it’s just too much to expect people to place nice?

.htaccess extract – Feel free to copy for your own site to block miscreants.
Continue reading

Wifi, Apple, smartcards

Interesting to see the gradual spread of Wifi coverage in Australian cities. Shame they’re mostly in McDonalds and Starbucks outlets, which don’t exactly provide the pinnacle food and coffee. But I suppose if you’re sneaky, you should be able to find somewhere offering decent food and drink nearby (or even next door) where you can pick up the coverage.

Fascinating article speculating why Apple really switched from IBM to Intel CPUs.

Smartcards are the answer to public transport ticketing! But, err, what was the question? (from my blog)

A buncha stuff

I don’t normally link to the excellent DailyWTF, because it’s full of good stuff, I’d be linking every day. But yesterday’s picture of the server room with a fishbowl to catch the airconditioner water outlet is an absolute classic. (Make sure you read the article as well as look at the picture.)

Classical music labels have criticised the BBC for offering Beethoven’s symphonies as a free download. This strikes me as a tad narrowminded. I’d imagine there’d be a number of people out there who might otherwise not be interested in classical music who might listen to these then go out looking for more to buy. (via Dave Winer)

Microsoft are now offering free evaluation sessions in their products, making use of their Virtual PC technology so you just try things out on a remote session via your browser and Citrix Java client.

New version of Firefox (1.0.5) is available, fixing some vulnerabilities.

Frontpage Express lives on

Want a cheap (free) and cheerful web page editor for Windows? Frontpage Express doesn’t handle niceties such as CSS, but it will do basic page editing, including things the latest versions of Word and Excel make a hash of, such as tables. It also doesn’t have the nasty hooks into Frontpage servers that the old full versions of FP had.

Originally it was bundled with IE4 and 5. It’s not officially available for download anymore, but Google can find it for you.

System capacity planning for major incidents

Transport for London web siteThe terrible events in London overnight do have some relevance to us as humble IT workers. While there are many critical jobs performed in such situations by the emergency services, communications and other systems are also important.

Obviously top of the pile in this respect are the systems dealing with the emergency services themselves: their communications and despatch systems — and we know that mobile phone networks were affected by the chaos. A few notches down, but growing more significant, are the web sites (and background systems that feed them) to inform the public.

While the BBC News web site seemed to generally cope as events unfolded (I’m sure they’re well-versed at this kind of incident), their live video and audio streams were swamped. Likewise CNN responded okay, though ITN was sluggish. The Transport For London site didn’t respond for some time, before they switched to a plainer, less server-intensive basic information page.

Last week Connex in Melbourne suffered a shutdown, and similarly, their web site didn’t cope. While most disruptions are also communicated to SMS subscribers, the shutdown itself was caused by problems with the same systems used for sending out the alerts. Melbourne’s public transport umbrella site Metlink was responding, but the problem there was a lack of updates.

As the web becomes more pervasive, and media outlets also use it to gather information, capacity planning for peak demand becomes important. Obviously no organisation wants to spend up big on servers that never get used, but for mass communication of detailed information, the web is cheaper than employing operators or even installing masses of phone lines, and will play an increasing role in keeping the general public informed of events.

Software patents

There’s an interesting article by Richard Stallman on software patents in The Age/SMH IT section this week. It looks at the pending EU vote on software patent legislation, and points out the differences between patents and copyright — something some of the EU legislators seem to be confused by.

Examples of spurious patents already granted by the EU include those for a progress bar, and accepting payment by credit card. I’m reminded of the patent application an Australian put in a coulpe of years ago for… the wheel. Clearly there is no basis for giving any party the rights to such basic concepts.

You need copyright to protect investment in IT, and I’m not convinced that no patent protection should be available for software authors. But a line in the sand needs to be drawn so that the whole IT industry isn’t crippled by being unable to use and re-use established ideas. Perhaps the code/algorithms should be patented — but the concepts not.

Or at the very least, given the speed at which the tech industry works, the patents should have a much shorter lifespan.

Looking for the perfect Jumpman

Jumpman Lives!Why has nobody made the perfect Jumpman remake?

Caveat: it has to run on my secondary 1.7 GHz Windows 2000 PC, which though it has a 3D graphics card, the 3D doesn’t work because of some weird-arse issue with DirectX (Short version: It’s a Diamond Viper V550. I’m sure DX 7 and 8 worked okay with it, but DX 9 doesn’t… and it’s pretty much impossible to downgrade without re-installing Windows.)

Given this computer is over a thousand times as fast as a Commodore 64, that shouldn’t be too hard.

Of the Jumpmans (Jumpmen?) listed at remakes.org there are:

  • Classic Jumpman — runs in DOS, using the PC’s on-board speaker for sound. Bleuch, no volume control, etc
  • Jumpman Deluxe — for the Amiga, it looks like. I don’t have an Amiga. I used to, but I only used it for playing Aladdin.
  • Jumpman Lives! — also in DOS. Looks terrific, and graphically is about as close to the original as it gets. Some sound works, but a lot (eg the music) is missing, and I can’t get the arrow keys to work.
  • Jumpman Project — this is the original IBM version, tweaked to run okay on fast machines. So it’ll be DOS again, so no volume control, and horrible CGA colours, until it’s enhanced at some stage in the future.
  • Jumpman Under Construction — has a terrific screen editor, but has been written in such a way that on a PC without 3D graphics, it is as slow as molasses. WTF? This game dates from 1983 and ran on a 1Mhz Commodore 64!
  • Jumpman Zero — only runs on 3D, because it’s been super-jazzed up in a way the author probably thought looked really cool. I disagree — I care nought for making the blocky graphics have a 3D perspective, and I really hate the way it’s been turned into a scrolling playing field. How can you possibly plan your ideal path through the level?

Okay, so maybe it’s time to look at a C64 emulator instead.

The amazing vanishing files

When you open an attachment in Outlook 2003, it saves it into a temporary directory then shells the appropriate program to open it. If you then do a Save As from that program, it defaults to that directory, which appears to be something like this:

c:\Documents and Settings\USERNAME\Local Settings\Temporary Internet Files\OLK85\

A colleague of mine “lost” a bunch of files into there. Try and browse there through Windows Explorer, and you can’t find it. In fact you can get locked out of it even from the application Save As, if you go to the parent directory. The only way to get back in is to type the path manually, or search for the OLK85 directory on the filesystem.

To further confuse things, in a completely different directory:

C:\Documents and Settings\USERNAME\Application Data\Microsoft\Office\Recent\

…are shortcuts for all those files in the OLK directory, which are back where we started:

Confused? I am.

The default temp directory is also in that general neighbourhood by the way, and deserves a cleanout every so often.

C:\Documents and Settings\USERNAME\Local Settings\Temp\

A quick look in mine for files more than a week old found 557 files taking 272Mb, as well as 38 directories with another 316Mb. Apart from a Temporary Internet Files directory in there, it all went happily to the recycle bin, and thence to Silicon Heaven.

YahooGroups getting paranoid

I use YahooGroups a fair bit. Is it my imagination, or is YG asking for way too much authentication of my logon? Increasingly it seems to show me the old logon screen (logon name/password) even though I keep turning on the option to remember me (and yes, my cookies are enabled).

Old-style Yahoo sign-in

…then straight after that it will ask me again, with a captcha displayed as well.

New-style Yahoo sign-in

In fact, trying to edit my account password today, I got the old, the new, then I changed my password (which involved re-entering the original password and the new one twice), then got the old and new sign-in screens again. Too much!