Navigate/Search

Archive for the 'Internet Oddities' Category

Wolff Olins, the Olympic logo and a load of crap..

Wednesday, June 6th, 2007

Well, it looks like I’m number one on Google for Wolff Olins and load of crap!

http://www.google.com.au/search?hl=en&q=Wolff+Olins+load+of+crap&btnG=Search&meta=

It only took a day to get to number one - I’ll be happier when I can further up the results for more ‘flattering’ searches for them.

Update: “Wolff Olins” or “Wolff Olins Olympic Logo” has me at #2 and #4 in the results - astounding!

I like to think of it as an experiment in branding and brand management :)

For those seeking a more measured analysis - then look here

Advice for Americans travelling overseas.

Monday, April 17th, 2006

Apparently the US State Department is publishing guidelines for American’s travelling overseas to reduce the reputation of ‘loud americans’

From the guidelines:

Think as big as you like but talk and act smaller In many countries, any form of boasting is considered very rude. Talking about wealth, power or status - corporate or personal - can create resentment.

Listen at least as much as you talk By all means, talk about America and your life in our country. But also ask people you’re visiting about themselves and their way of life.

Save the lectures for your kids Whatever your subject of discussion, let it be a discussion not a lecture. Justified or not, the US is seen as imposing its will on the world.

Think a little locally Try to find a few topics that are important in the local popular culture. Remember, most people in the world have little or no interest in the World Series or the Super Bowl. What we call “soccer” is football everywhere else. And it’s the most popular sport on the planet.

Slow down We talk fast, eat fast, move fast, live fast. Many cultures do not.

Speak lower and slower A loud voice is often perceived as bragging. A fast talker can be seen as aggressive.

Your religion is your religion and not necessarily theirs Religion is usually considered deeply personal, not a subject for public discussions.

If you talk politics, talk - don’t argue Steer clear of arguments about American politics, even if someone is attacking US politicians or policies. Agree to disagree.

Pure comedy gold.

Saturday, April 15th, 2006

http://www.wimp.com/theinternet/

Who you gonna call?

Friday, March 31st, 2006

Those wacky guys at Mozilla are at it again.

I found this whilst snoopingwith the firefox web developer extension and firefox’s ‘can’t find the server you are looking for’ error message screen:

xul:button xmlns:xul=”http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul” id=”errorTryAgain” label=”Try Again” oncommand=”retryThis();”/

Spot the Ghostbusters reference?

It gets better, if you visit the link

Wordpress’s rich text editor must die!

PostSecret…

Saturday, March 25th, 2006

This is a very popular site/blog, where you can send a postcard with your darkest secret to a guy who’ll put it on the internet.

Whilst its a great idea, with a good purpose (it support suicide prevention), I really do wonder how so many people with the most perverse secrets seem to be artistically talented?!

I mean, the odds are not good, yet almost all of the postcards are well designed, and very interesting visually, well before the secret is put on them.

Fun with comment spammers..

Monday, February 13th, 2006

Ah… the sheer joy of it all.

Whilst my anti-spam measures have been working just fine, I decided i’d take it to the next level.

So I moved my real wp-comments-post.php to a new location (updating my wp theme to match) and replaced the real file with a honey pot version.

At first it just logged the spammers request to a file (see http://www.herod.net/spam), but I’ve just modified it to write back a nice surprise for the spammer

A 47MB zip file.

It seems to work just fine, I had two spams turn up in the honey pot whilst I watched, but the http logs didn’t record the hit until they had downloaded the two files, it would have at least slowed them down a little.

Hopefully I won’t run out of bandwidth (I have 1.6TB available) or have my hosting company puke at me. We’ll see how I go :)

IE 7 Beta 2 review

Monday, February 13th, 2006

A quick review (just the facts ma’am)

You can see whats new with a visual tour at microsoft.com before/after which you can download it

First impressions:

  1. It’s 11MB in size
  2. It wants to ‘validate’ your copy of windows to check it isn’t pirated.
  3. It wants to download and run various ‘fixes’ to IE prior to installation, and run the ‘Microsoft malicious software removal tool’
  4. Takes a while to install, several minutes, and of course…. requires a reboot!
  5. It has a web developer tool bar you can download (check the IE7.0 blog), very similar to the Firefox equiv
  6. The ‘quick tabs’ feature is kinda neat, like the effect you get in OS X with you hit F9.
  7. I fee it’s RSS integration is heaps better than firefox’s.
  8. The rest of the layout is … odd… they’ve obviously tried to be different and I’m not sure it works.. it *is* different, but I don’t think it necessarily better.
    1. They’ve copied the Windows Media Player 10 thing - no menu bar, just icons that have drop downs, which I find confusing.
    2. They’ve moved stop away from back and forward and all the buttons are much smaller, this gives more browsing space, but makes me have to think when I go looking to mash a button.
    3. The whole thing looks ‘not right’, kinda like Opera :)
    <li>I applaud their efforts at anti-phishing, they are really trying with this and I wish them the best.</li>
    

In summary, its interesting, but I’ll stick with firefox in the mean time.

Did you pass math? Wordpress Comment anti-spam plugin.

Saturday, February 11th, 2006

I just whipped this up:

http://www.herod.net/dypm/

I’ve been struck by comment spam in the last few days with several spam comments awaiting moderation before I turned on akismet to block them.

This morning however, after 54 blocked comments, one got through akismet and I decided to try my hand at a WP plugin.

It turned out to be surprisingly easy, perhaps only 20 minutes work, including the learning of how wp plugins work for comments.

Credits to jroller for the inspiration. I guess we’ll find out if a spammer is interested in beating it - I’ve several ideas for improvements, but I’d rather keep them in reserve for when it gets beaten (which could be an hour from now, or a year :) )

Nostalgia

Sunday, February 5th, 2006

I’ve been surfing the web for old sites I used to visit and decided to drop in on google groups again.

I found my earliest presence on the internet, November 13, 1993!

Okay, I was young… I thought I was funny…. I watched star trek…. I’m so, so sorry.

Here it is posted via QUT by way of anon.penet.fi to Usenet.

I’d have my first web page, if I could find the floppy disks… and something to read them with :) I might do a little ‘look back’ on old sites, for some reason, it makes me sad when I can’t find them any more…

What’s wrong with PHP

Wednesday, February 1st, 2006

I’ve extracted this text from an internal email I sent some time ago, it sums up my feelings:

….

Now PHP, you might think from this list that we hate it, that’s not true, many of the guys here would probably agree with the points below, but they will also say it works just fine and none of these points are the end of the world - many of them can be avoided with discipline.

Positives

  • It’s productive, you can write a lot of code quickly.
  • It performs, we haven’t had any performance issues that couldn’t be solved.
  • It’s simple, people can usually pick the basics of the language up in a few days.
  • For small sites/small code bases on a UNIX platform it does work, we process over 100,000 business messages a day with it and as I said, it works.

Things you should be careful about with large code bases/a lot of applications

We run about 600,000+ lines of code in PHP, in a large environment, the unstructured scripting background of php really comes under pressure.  Much of what I say here probably also applies to languages like Perl or the like, but these have been our experiences

PHP upgrades can result in broken scripts/programs

  • Upgrading php often changes language features resulting in scripts that crash or error when they used to work.
    • For instance, they made it illegal to redefine a function in a class from one version to another, resulting in our whole db layer crashes because it had defined the function ‘get_class’ twice which was no longer permitted.  This just doesn’t happen in Java or C

It can be abused

  • It can be extremely difficult to maintain structure in the language without either very experienced staff or extremely comprehensive reviews, you can get into bad habits very quickly and your scripts can devolve to crap and become a maintenance nightmare. 
  • It doesn’t enforce typing, pre-declared variables, class naming or function naming conventions, you will have to invent methods for doing this, we have copied java and the standards used in some large php applications.

It keeps changing its mind

  • Ways of working change between version, for instance, how it access web request variables has at least 4 variations resulting in a different way of working for each script.
  • Function names in the API are changed between versions, or use inconsistence conventions.

It’s not as portable as it claims

  •   Scripts that run on Windows may not run on Unix and vice versa
  •  File IO is a common issue
  • Specialist extensions may compile on Linux but not on Solaris or work inconsistently on Windows (we had issues with its xslt handling about 18 months ago)

Finding staff is hard

  • You just can’t hire PHP programmers of any quality, they don’t seem to be available where we are.
  • We’ve had to train people in PHP, or hire people who are often inexperienced ’script hackers’

It’s not a free as you think

  • The leading PHP Development Environment (Zend) is between $250 and $1500 dollars U.S.
  • The Zend accelerator (to cache scripts/improve performance) was a couple of grand PER PROCESSOR
  • A leading free version of a script accelerator - didn’t work, every 20th page failed to load before we quickly abandoned it.
  • There is only one implementation of the langauge - the one by Zend. 

It lacks a decent interactive debugger

  • The version in Zend Studio 3 and 4was problematic and would often stop working (my personal experience)
  • Version 5 doesn’t come close to Eclipse for Java.

The PHP community is often immature

  •   Few people are writing big and REAL applications in this language (or so it seems)

Long running scripts are unreliable

  •   On a couple of occasions, we’ve needed to write scripts which process a lot of XML or database activity, we’ve often found they crash after a period of running (like over 10 or 15 minutes), PHP’s memory collection does not seem robust enough for that kind of thing, it would rather be run over and over again than have 1 large program.

Error handling is hard

  • Php 5 has exceptions, we don’t use it yet, but we have had trouble making sure our scripts have a coherent mechanism for reporting and logging errors

If you are going PHP then

  • Hire programmers with a software engineering background
  • They will resist the urge to hack which comes so easily to the self taught/web developer
  • Go object oriented
  • It helps with keeping structure and enforcing a software engineering attitude
  • Maintain separation of responsibility between application layers,
    • It enforces structure and maintainability, otherwise people will hack and hack and hack
    • E.g., Model - View - Controller or  Business/ Data access/ View layer

  • Get a good set of third party libraries
    • We use ADODb for a our data access layer, but PHP 5 has its own version, use it or something like it.

Establish standards

  • Come up with standards for managing script configuration, use of global variables methods of accessing request variables, function names, class usage.