Writing Archive

Business benefit of ensuring fit for purpose presentation layer

“What exactly is the business benefit of doing that?”, a cry oft heard.

Well, what exact business benefit is there for not ensuring the presentation layer is ‘fit for purpose’? To build a “web” based application meeting all specific requirements and policies in regards scalability and the like – then …

Read more...

Photoshop – The memory could not be “written” error

Bizarrely I couldn’t figure out why my version of Photoshop CS3 was playing up and dumping me out with a dialog box proclaiming that memory at some segment couldn’t be referenced and giving me a “The memory could no be ‘written’” error.

Well, it’s definitely not the fact that my …

Read more...

Use Javascript to find which render mode browser is in

When designing pages utilising CSS for their styling and splitting the semantic content away in an attempt to move legacy systems into the dot com era it might be necessary to show why kicking a browser into CSS Compatability mode might be a good idea. Not least that you can …

Read more...

Interactive BATCH file with DEBUG script

Still sometimes need to use batch files to do stuff even in this day and age? Yes, is the usual answer but, unfortunately many of the standard errorlevel checking tools such as CHOICE etc. have either been removed or cannot be used without administrator access in Enterprise environments.

It’s not …

Read more...

Hyperion Essbase -> Excel -> Access -> automagic

Accessing Hyperion Essbase is no problem directly from their MS Excel plugins. Though what happens if one wants to import on-the-fly and put that into MS Access so you can deliver your MI: Management Information, alongside current data without having to analyse and alter Hyperion Essbase output in Excel before …

Read more...

find – what you’re looking for and more

Using find on the command line as su is a great way to remove spent sessions from your /tmp directory for instance.

find -user theusersname -delete

Will remove all instances of that users files. A great quick way to clean up after a rogue application in development.…

Read more...

Change word in all files in directory (+recursively)

These commands will replace all instances of ‘foo’ with ‘bar’ in all files in the current working directory and any sub-directories.

Current Directory:
sed -i s/foo/bar/g *

Recursively:
find * -type f -exec sed -i s/foo/bar/g {} \;

Read more...