Thursday, 27 August 2009

Google Search Suggestions...


Whilst using my nice little StumbleUpon button (nice add-on for FireFox, although can get addictive) I was recently sent to the following image... bizarre online search suggestions . Now it may just be me being daft... but how the hell does it come up with the suggestions, have there really been that many people searching for "do homeless people get knock knock jokes"?

Some of my friends and I used to play the good 'ol game of "what can I search for on Google that gives only 1 result" back in my school days. Now I have a new game to play...

What is the most random and obscure thing Google will suggest for my search?

For example, a simple "how do i know" entered into the search bar, Google comes up with a good few results, "if i have a yeast infection" is my favourite!

There's a prize of an invisible box of magic goodness for the best one :D

Ads

Wednesday, 26 August 2009

Paranoid Android ??


Whilst I have stated many times how much I "lurves" me Jesus Phone.. There does come a time in a Gadgeteers life when she/he needs something new. I have recently been entertaining the idea of moving to an Android powered phone. For those not in the know "Android is a software platform for mobile devices, powered by the Linux kernel, initially developed by Google..." ( easier to copy and past a quote than to write it meself) . So there you have it .. its a Phone ( at the moment) based operating system. You can see it on T-Mobiles G1 and G2 ( HTC? made) series of phones and some non mobile-network handsets ( HTC's own and Samsung (coming soon) I believe) .

What is appealing to me is the open source nature of the OS .. the flexibility, the potential and the costs . It all seems like such a great package wrapped up into the nifty devices they have. Also, its an (almost) competitor to the Jesus Phone and I do like to support the underdog.

So I set about doing my usual research about the product ( before even purchasing it for once :) ) . Overall, I like what I am seeing. I do have some concerns over Application support/availability, but know that I could deal with that. However an email from a friend highlights a big flaw in the current setup of the phone. Click here to read.It seems that although Google is busy beavering away on OS updates, the design of the phone ( G1 specifically) doesn't allow for large OS revisions .. This is due to the partition layout ( which is basically the memory given over to the Android software operating system) Apparently there is some spare space in newer revisions, BUT it highlights to me a fundamental lack of oversight in the initial design .. ( well that or someone did raise it, but it was ignored due to costs?? or summat similar). In its simplest terms, you have been given a piece of land for free .. a house is put on the land .. edge to edge .. you are then offered a larger house with a pool, but guess what .. you don't have enough land free to fit it .

Where does that leave me at the moment then ? Well I will keep my eye on the development of said platform, and hope that the newer revisions of phones coming out will take this problem into account. In the meantime, I'll stick with my Jesus Phone and wait another few months . Watch this space :)

Friday, 14 August 2009

Google chrome sessions just wont let go.

We recently discovered that when you enable the "Save tabs" feature in chrome it also saves off the session.

This is an issue if you have a web application that only logs the user out when they close the browser (by localising the cookies and setting expiry to now())

This was a valid technique when you don't want to set a time expiry but you do want the user to be logged out at some point.

But now in practice if I log in close the window and re open it, I'm still logged in.

Thursday, 13 August 2009

Please log me the f**k out (coldfusion client variables)

Random code snippet, why does it take 2 lines o code to do one thing?

Trying to remove a client variable in Cold-fusion used to be as simple as DeleteClientVariable("name") but it seems as time goes on (CF6,CF7,CF8) this isn't enough, you need to do it twice.

<cfloop list="#structkeylist(client)#" index="i">
<cfset DeleteClientVariable(i)>
<cfset StructDelete(Client, i)>
</cfloop>

DeleteClientVariable just doesn't seem to cut it, although if I'm honest I abuse the scope of a regular basis, including such beauties as.

<cfset client['login.contact.address1']="C/O COMPUTERLINKS">
<cfset client['login.contact.address2']="Suffolk House">