Boag’s back

I’m a huge fan of the boagworld podcast.

Paul recently took a month off of everything online and also brought the site down for just over a week to implement a new design

Well it’s back with a great rural design and the new podcast should be live this evening or tomorrow morning…

I cannot wait, feel like a child waiting for Santa!

Posted on May 7, 2008 at 8:14 pm

With these tags: ,

Recreating the vbscript now() function in javascript

I have recently been revamping a feedback mechanism which was built using vbscript, seen as I work on an intranet we were using the now function to take a snapshot of the time that the user made an entry.

As usual the JavaScript equivalent doesn’t work exactly the same, I didn’t want to amend the database structure so instead I thought creating a JavaScript now() function shouldn’t be too difficult. I was right.

Line wraps marked >>

function now(){ var d = new Date(); var day = checker( d.getDate() ); var month = checker( d.getMonth() + 1 ); var year = d.getFullYear(); var hours = checker( d.getHours() ); var minutes = checker( d.getMinutes() ); var seconds = checker( d.getSeconds() ); var str = month + "/" + day + "/" + year + " " >> + hours + ":" + minutes + ":" + seconds; return str; }

Quite simple really, just set the variables and construct the string to look like the VBscript now().

Last thing is the checker function, all that does is add a 0 to the start of any number below 10.

function checker( val ){ if( val < 10 ){ return "0" + val; }else{ return val; }; }

Simple.

Posted on April 25, 2008 at 11:10 pm

With these tags: , ,

Open Mesh

Looking at what Live Mesh it’s very easy to be wooed by what it promises, but is that strictly true?

BBC News has quite rightly run a story about the questions that every developer is asking themselves, is it really going to be totally open?

Just looking at Microsoft’s (or Micro$oft as ’some’ people may say) track record and it doesn’t paint a pretty picture, so why is Live Mesh going to be any different?

Well personally I think Microsoft has learnt at least some lessons with it’s previous attempts to defacto internet king. Google has definitely put Microsoft in it’s place and in some ways showed how being even a little open with your users can have a profound impact on your revenue

So yeah, I too currently doubt the full openness of Live Mesh but lets at least give them some credit, their trying. When (I prefer if) they bring Live Mesh to the Mac that will be one giant leap in the right direction we all would like them to take.

To Openness!

Posted on April 24, 2008 at 8:35 pm

With these tags: ,

Finally got the new design live!

I’ve finally managed to put off playing world of warcraft, PES 08, Forza 2, Mario Strikers (In fact just insert any Wii, Xbox 360 or PC game) long enough to finish this sites design.

I bought leopard on Friday which seems to have helped give me a little kick up the arse to sort through my long list of ‘to-do’ items.

Overall I’m very happy with the design and coding(could still use some tweaks).

Please add any comments you have about this sites design or code in this post.

Thanks

Posted on March 24, 2008 at 10:20 pm

With these tags: ,

Been busy?

It seems like it has been forever since I last made a post. Over 2 months to be precise.

Well just a quick note to say that I’ve been working on a re-design which should be landing within 2 weeks. I also have a information site in the pipeline which I hope to have live by the start of April… ( a bit hopeful ).

Post soon.

Posted on March 8, 2008 at 11:33 am

With these tags:

Post Tags

Subscribe

Here are my RSS feeds that you can subscribe to:

About Me

Hi! My names Damian Poole, I'm a huge web standards advocate and HTML ninja, when I'm not coding elegant web sites I like to procrastinate my time on world of warcraft.