Bill Kerr: amazing javascript

Bill Kerr: amazing javascript This is a fairly cool script. It makes all of the images on a page fly around. What’s neat is how smooth everything is. It wasn’t too long ago that machines didn’t have the power to do this. [try on this page][2]

[2]: javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName(‘img’); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position=‘absolute’; DIS.left=(Math.sin(Rx1+ix2+x3)x4+x5)+‘px’; DIS.top=(Math.cos(Ry1+i*y2+y3)*y4+y5)+‘px’}R++}setInterval(‘A()’,5); void(0);

Kosmina may pay ultimate penalty for spray

Kosmina may pay ultimate penalty for spray - Football - Sport - smh.com.au You mean they’re going to execute him for yelling a the ref? I thought that’s what “Ultimate Penalty” meant.

ADELAIDE United coach John Kosmina could be forced to watch the A-League grand final from the AFL coaches’ box at Telstra Dome after again falling foul of the FFA’s disciplinary watchdogs after Sunday’s dramatic penalty shoot-out win over the Newcastle Jets.

Oh, that’s what you mean. I love how journalists overdo it.

Colley Reserve

Well, I’ve just come home from the most fun tournament on the TouchSA calendar. The Colley Reserve 5-a-side tournament is down at Glenelg, and is a single day tournament that is stacks of fun. My team was a UniSA+others team, organised by Paul Rogers. We managed to remain undefeated until the Grand Final, when the hand-picked “The Drought” team, with all current or ex-state and/or _Crusaders _players, beat us 3-1. We had been very strong all day, with the highest score (it’s a 20-minute turnaround game) 10-0, and the best for and against record. We comfortably won the Semi-final against a team from Gawler, but struggled against The Drought. Thanks to all of my team for a good fun day.

Friendly Fire

Leaked video of friendly-fire killing in Iraq

One is heard to say “I’m going to be sick” after he realizes what happened.

Now this makes me sick. Why should killing a “friendly” person make you sick, when killing an unfriendly one doesn’t? Surely killing any person is the same?

Python GUI Alternatives

I’m teaching Information Technology Studies to final year High School students this year, and one of the topics I am teaching is Application Programming. I’d prefer to stay away from Visual Basic if possible, and I’m re-investigating currently available GUI construction methods for python. Back in the 90s, I was involved in the anygui project, which was a lofty plan to create a GUI equivalent to the anydbm interface that python uses for accessing the most easily available database backend. I’m not talking SQL or Access, but simpler database stores like bsddbm and the like. This project never reached fruition, although we got lots of code sorted out. One of the alternatives that I find really exciting seems to be an intellectual successor to this project: ClaroGraphics. This goes even further, having the plan to be a GUI library for C, C++, python, ruby, anything. I’m not sure that it will be feature complete by the time I get to it (second term), but it most certainly looks exciting. It may be that I’m better of sticking with EasyGUI, which is a non-event driven GUI system, which basically allows for dialogs and interaction using a GUI, rather than having to use text. This could be a goer, I’ll have to check that out too. An alternative might be to use Eclipse, with Jython. That allows for python syntax, but cross-platform GUI Java style. I think. More research needed.

Stop Eve minimizing on Synergy switch

From the Synergy FAQ:

How do I stop my game from minimizing when I leave the screen? Many full screen applications, particularly games, automatically minimize when they’re no longer the active (foreground) application on Microsoft Windows. The synergy server normally becomes the foreground when you switch to another screen in order to more reliably capture all user input causing those full screen applications to minimize. To prevent synergy from stealing the foreground just click “Options…” and check “Don’t take foreground window on Windows servers.” If you turn this on then be aware that synergy may not function correctly when certain programs, particularly the command prompt, are the foreground when you switch to other screens. Simply make a different program the foreground before switching to work around that.

xkcd.com rocks.

If you haven’t been there before, you must go to xkcd.com, and read all of his comics. Most of them are excellent, some are truly magnificent. Randall really seems to hit the spot, focussing on nerdity, and pointing out how amusingly stupid many of the things we do and say are.

Adobe Lightroom Binder Bug

I’ve found what might be a reproducible bug in Lightroom b4, but I haven’t done enough investigating to pionpoint it exactly. What’s going wrong is if I Export as a Binder, from my Mac, and try to import it on the PC, if it’s more than a certain number of levels of depth of Shoots, the import fails. I don’t know exactly how many levels, or if the problem is with the import or export. But it’s annoying, as I can’t just export the whole library as a binder and then import it into my existing library… instead I have to break it up into segments.

Use veto wisely under samba

I reformatted my file server, and installed OpenSlug on it (much faster than LinkSys firmware, I’ve noticed), and when I was setting up the Samba shares, I thought I’d be a clever bastard, and outsmart the Finder. See, when you access a directory, or copy files using the Finder, and you are copying to a non-HFS disk, it creates a file ._Filename.ext that stores meta-data, the new version of the Resource Fork, for all of you old-school Mac heads. So, I thought, if I use: veto files = /._*/.DS_Store/ then I won’t have any problems with these files littering up the directory structure. But, this won’t work. It doesn’t allow for the creation of these files, which causes the Finder to choke: Removing the veto (I moved it into hide files, which should prevent other clients from seeing them) fixed the problem. For search engines, the text of the dialog box is:

You cannot copy some of these items to the destination because their names are too long or contain invalid characters for the destination. Do you want to skip copying these items and continue copying the other items?

It took me quite a while to figure out why this was happening…

tennis.com.au

Tennis Australia plays with domain ‘scalper’ - Internet Applications Software

Tennis Australia paid a “hefty fee” to the Sydney-based group, but less than a six-figure sum, said Wood. He would not reveal the group’s identity other than to say they were not sport-related.

Now this astounds me. Getting a .com.au domain name is supposed to be rather strictly enforced. That is, you are not supposed to be able to get one unless you have a registered company with the name you want as the domain. And as I understood it, you couldn’t just get a similar permutation, it had to basically be your company name, and that’s it. So, which domain registrar sold tennis.com.au to someone who isn’t involved in sport? What grounds did they get it on?