Shaun Mccran

My digital playground

23
J
A
N
2011

The Coldfusion Hash() function decoded - kind of

I've always believed that using the hash() function in ColdFusion is a one way process. If I wanted to reverse a string I had to use encode() and decode(). The Adobe documentation states that "It is not possible to convert the hash result back to the source string" - Adobe Docs for Hash().

Strictly speaking this is still true, but some bright spark has decided to host an MD5 string database and provide a lookup service.

[ More ]

22
J
A
N
2011

It is all about the punctuation

More and more recently I find myself writing documentation rather than code. I'm referring to real business documentation, rather than docs about technology.

I've noticed more and more that in documents its often not what you say, but the manner in which you say it. I'm sure there are dozens of best practices for writing good business documents, things like keeping it succinct or not too flowery or overly wordy.

One thing I have noticed is that my punctuation is mediocre at best. After mentioning this to a colleague he sent me the text below.

[ More ]

15
J
A
N
2011

Dynamically adding markers to Google maps

Following on from a previous article I wrote about (Google maps panning the next step in my Google mapping project is to be able to add markers to a Google map dynamically.

This article deals with how to translate a location into a latitude and longitude using Google, and how to send and add markers from a database into a Google maps via a remote service, using AJAX and JSON.

There is a full example of the finished application here: Demo of dynamically adding markers to Google maps

[ More ]

14
J
A
N
2011

How Android application memory works

A common theme with the Android software platform is memory usage. Googling 'Android memory' will return a load of hits on how to optimise your memory usage, or how to free up more memory.

With the growth of the Application markets for Android I've been encountering more and more memory issues. Users want more Apps, and those Apps are becoming bigger and bigger, or are using third party plugins to run.

To effectively develop for the Android platform you should really consider how the system memory works.

[ More ]

_UNKNOWNTRANSLATION_ /