Archive for June, 2007

Beginning of the end?

18 June 2007 22:09

Could HD-DVD be dead? A lot of people rumoured that once a so called “main player” went one way or the other it could sway the market.

With Blockbuster’s decision to go Blu-ray in over 1500 of it’s US stores you’ve got to think it could be a swaying factor.

Still not going to buy one just yet mind you!

Filed: Entertainment // Tagged: , // No Comments

Sony Ericsson K850

15 June 2007 22:11

Dammit! Just after I’ve got my K800 SE go and announce this!

It looks very nice!

Filed: Technology // No Comments

Mainstream-O-Meter

15 June 2007 21:55

Do you use the awesome last.fm? If you do you need to check out how mainstream your music taste is.

At the moment I come in a respectable 23.28 %

Filed: Entertainment // Tagged: // No Comments

Prototype Validation using Ajax

5 June 2007 22:34

I’ve been using the excellent Prototype validation over at <a href=”http://tetlaw.id.au/view/javascript/really-easy-field-validation”>dexagogo</a> but recently wanted to have a a feature so as when you type a username in a sign up form it fires a real time lookup to check the username availability. After a bit of Googling and some experimentation I came up with the following. Hopefully it’ll save you some time. In this case the lookup is done via Coldfusion which encodes and returns JSON.

The form bit is pretty standard.

<div class="form-row">
<div class="field-label"><label for="field1">Username</label>:</div>
<div class="field-widget"><input name="field1" id="field1" class="text required validate-username" title="Enter yourusername." /></div>
</div>

The Javascript bit included on this page in an external JS file.

Validation.addAllThese([
['validate-username','Sorry, that username is already taken.',function(v,elm) {
if(elm._ajaxValidating && elm._hasAjaxValidateResult) {
elm._ajaxValidating = false;
elm._hasAjaxValidateResult = false;
return elm._ajaxValidateResult;
}
var sendRequest = function() {
new Ajax.Request('/path/to/check/file?username='+v+'&r='+Math.random(),{
onSuccess : function(response) {
elm._ajaxValidateResult = eval(response.responseText);
elm._hasAjaxValidateResult = true;
Validation.test('validate-username',elm);
}
});
elm._ajaxValidating = true;
return true;
}
return elm._ajaxValidating || Validation.get('IsEmpty').test(v) || sendRequest();
}]
]);

The Javascript bit in the page.

<script language="javascript" type="text/javascript">
var valid_register = new Validation('register', {immediate:true,stopOnFirst:true,onSubmit:false});
</script>

The form is submitted with an Event.observe on the submit button I have as well.

And so concludes my first geekish post for a while, it feels strangely good!

Filed: Technology // Tagged: , // 2 Comments

Coldfusion 8 Mac Install

5 June 2007 22:31

Got the public beta running on my Macbook the other day and I have to say I was impressed. The install on a Intel Core2 Duo went painlessly and it has to be said quickly! I installed the server config with the built-in web server to start with and it started up first time of asking! A few quick tweaks to the apache connector shell script that ships to get the correct command and pathing for the MAC and apache2 was up and running serving out my sites. Now to test it properly :)

Filed: Technology // Tagged: , , , // No Comments

Pirates of the Caribbean 3

5 June 2007 22:30

Saw POTC3 at the weekend and was overall pleased. It’s a bit longer than it needs to be and in places can get a bit confusing but there is some comedy moments and great Captain Jack sound bites. If you’ve seen the other 2 it does clear up a few things as well!

One thing, if you go and you haven’t seen it already sit it out through the end credits. There’s more. Is it worth the 3+ minutes of credits wait? I’ll let you decide.

Filed: Entertainment // Tagged: // No Comments

The Graphing service is not available.

5 June 2007 15:38

No really, it isn’t.

Was installing CF 7.0.2 with apache 2.0.52 on a RHES4 server and came across this error trying to access the Coldfusion administrator.

Solution is found on this technote.

Filed: Technology // Tagged: // No Comments

Coldfusion 8

1 June 2007 13:51

Late to the game but, the public beta of Coldfusion 8 is now available on Adobe Labs.

Some really neat looking stuff and enhancements going into this release. Should be good. I think it’s rumoured to be “gold” by the end of the year, but, that is purely hearsay.

Filed: Technology // Tagged: // No Comments

Corporate Fonts

1 June 2007 13:49

Ever wondered what big brand logo’s actual font are? Well, wonder no more. Take a look at this to be enlightened.

Filed: Technology // No Comments

 
What's ianteresting?   •   Twitter   •   About   •   Contact
©2012 Ian Winter. All Rights Reserved.   •   Powered by WordPress   •   Hosted at Memset