Good friend of mine has just done a short, 5 minute talk on writing effective user stories. This was filmed at PHP London yesterday.

Definitely worth a watch!

http://blog.mikepearce.net/2010/07/02/writing-effective-user-stories/

  • Facebook
  • Twitter
  • Share/Bookmark
OK, so the headline is a bit of an over statement, but for the vast majority of users on the net, this will be the case.

The theory is simple – use flash cookies for user tracking (in addition to normal cookies).

  • Flash cookies are not controlled by the browser
  • Flash cookies are CROSS browser
    • If I set a cookie in Internet Explorer, the value will instantly be available in Firefox, Chrome, Safari etc.
  • Flash cookies can hold a LOT of information (100kb be default, up to umlimited)
  • Flash cookies can have an unlimited life span
How many people do you know that have ever deleted their Flash Cookies?
(And how many of them are non-technical?)

For user tracking, this has immense capabilities. Providing you can create a UUID in JavaScript (you can), then you can track an unlimited number of people, and the vast majority of them will not have the knowledge to stop you tracking them.

This is nothing new, but I know that it’s not something that is normally employed.

Here are a few links for reading a bit more around the subject too:

  • Facebook
  • Twitter
  • Share/Bookmark

A little bit of history

When I left University, I was offered an opportunity at Jellyfish Online Marketing; and what an opportunity it was. I honestly do not believe I could have kicked off my career in IT at any better organisation. Learning, working, having fun – that company had the whole package for a university leaver.

I stayed for 4 years, working my way up from Developer, to Senior Developer, to Lead Developer eventually; Scrum mastering a team of very skilled developers (who I still miss like mad, both professionally and socially)

At the beginning of March (only 3 months ago) I accepted, and started a role at Bloomberg, as a Senior Developer. More specifically, I was to be working in a team, recently integrated into Bloomberg, called BNEF (Bloomberg New Energy Finance).  This was a small open-source web team, working on this new site, and bringing it in line with the Bloomberg standards, and way of life.

For those of you who do not know, Bloomberg are the worlds largest independent news organisation, owned by the Mayor of New York, Michael Bloomberg. They focus on providing news and investment information to stocks and shares traders, and well as investors.  Their core revenue stream comes from a single product, called The Terminal.

This is an organisation known world-wide for having an excellent IT infrastructure, based around their core product, The Terminal. This is a news system, designed for stock/shares traders, and thus far has cost over $100’s of million to make in total (over the past 20 odd years). In the UK alone, there are over 300 developers working on it every single day.

The future

A few weeks ago I was approached by a recruiter regarding a Senior Web Technologist/Software Engineer role for a large, well known company. Upon seeing the spec of the job, I entered a rather difficult interview process! Over the course of a few days, I had not 1, not 2, not 3, not 4, but 5 interviews with various members of staff at AOL.

AOL recently broke away from Time Warner, the media company which they merged with a few years ago.  Since then, they have repositioned themselves, changing their core business, and creating more revenue streams.

It’s therefore with great excitement that I will be starting at AOL in just over 2 days time, in a hugely important team for the business, working on some very large scale products – I am truly excited!

Here’s a few links of AOL being in the news recently:

Please note, that I do not represent any of the organisations mentioned in this post, and this is all opinionated work.

  • Facebook
  • Twitter
  • Share/Bookmark

Just another very quick blog post, this time about loading JavaScript files in web pages, and just a few quick tips, and gotcha’s about it.
This is by no means a definitive list, but if you can do most of these things, then you’re certainly on the right track!

  • Do not put ‘document.write’ into JS, the browser will have to to stop while it works out where to put this in the DOM, and how to render it. It will slow down your page.
    To make things worse, if you put the JS at the bottom of the page, and put document.write in, you make it even slow, by making it the last thing the browser does.
  • Load JS files from a CDN or a different domain. However, the general limit is 4 domains in total (XHTML, CSS, JS, IMAGES etc). However, most people find that 2 is the best amount for the trade off between DNS lookups and extra concurrency.
  • Make JavaScript external – allowing the browser to cache full requests, rather than including it in the XHTML, and increasing the page request size
  • Related to the previous point, but make the external domains contain no cookies
  • Minify the JS
  • Put JS files at the bottom of the page
    or
  • Use the DEFER attribute on SCRIPT tags (although remember this is not supported by Firefox)
  • Use tools to help you find any performance problems, bottlenecks:
    Google PageSpeed – http://code.google.com/speed/page-speed/docs/using.html
    Yahoo YSlow – http://developer.yahoo.com/yslow/

Some links, and related articles:

  • Facebook
  • Twitter
  • Share/Bookmark

Dominics Fund

In: Misc

22 May 2010

A very good friend of mine will be throwing himself down a Fire Station’s drill tower (abseiling) to raise money for an amazing little boy called Dominic Francilla.

Dom Francillia is a cracking little boy, nearly four years old and lives with his parents Gary and Sarah and his two year old brother Joshua (whos is equally smashing!) in East Grinstead. Dominic was diagnosed with Periventricular Leukomalacia ( PVL ) at eight months and subsequently given a diagnosis of Spastic Diplegia Cerebral Palsy. This condition primarily affects his gross motor skills and is therefore unable to walk or sit independently (although I’m quite sure he is at least a little mobile; tractors don’t put themselves in washing machines, do they Dom?).”

Have a read, and consider donating to this most excellent cause: http://blog.mikepearce.net/dominics-fund/

  • Facebook
  • Twitter
  • Share/Bookmark

Just a very quick blog post!

I had exactly the same problem in a piece of code yesterday that Sony had with their PS3 and the PSN yesterday. It’s looks like its because Sony (and I) were using the ISO year.

The article which helped me with my code is here:

http://stackoverflow.com/questions/1978051/zend-datetostring-outputs-the-wrong-year-bug-in-my-code-or-zend-date

And the Wikipedia page that explains it here too:

http://en.wikipedia.org/wiki/ISO_week_date

“The system has a 400-year cycle of 146 097 days (20 871 weeks), with an average year length of exactly 365.2425 days, just like the Gregorian calendar. In every 400 years there are 71 years with 53 weeks.”

  • Facebook
  • Twitter
  • Share/Bookmark

There has been a lot of disappointment around the launch of the Apple iPad. I believe the iPad isn’t the product everyone was hoping for, because it is actually a different product. It’s not an iTablet at all, it’s an iReader. I believe that the iTablet is still in development, and I’ll attempt to rationalise this in this post.

The first big thing, is that the co-founder of Apple (Steve Wozniak) has, himself, described it as an eReader:

I believe that the iPad development was started just after the iPhone was released; there are a few reasons why I think this.

  • It looks like an iPhone.
  • It’s running iPhone software.
  • It syncs the same way the iPhone does.
  • There has been minimal software development in making it.
  • There has been minimal hardware development in making it.

This is the reason why the iPad is cheaper than expected, there is nothing new here. There are new iWork Apps, but these are charged for separately. Other than that, all the software has to do is double the size of everything. This is not a revolutionary product.

The processor which they claimed was revolutionary, appears to be just a collection of 4 other pre-made components (which have all been used before), with an Apple logo stuck on the top of it.

To top it all off, it look like the books can only be purchased in the US at launch.

In fact, I dont think its even a very good product; the UI at times is comical.

  • The orphaned ’slide to unlock’ button
  • The icons with huge gaps between each one
  • You still can’t have more than 4 apps in the bottom dock
  • You have to scroll between pages of Apps, even though there is more empty space than used space on the screen
  • The iBook UI appears to have been “stolen”

I fail to believe that this is the tablet product which Apple has been working on for years, when its based on a product which is only a few years old.  My prediction is that we will see a tablet based Mac from Apple late this year, or early next year.  I also think that the iPhone 2 will use the new processor that is in the iPad.

I’ll leave you with Hitlers opinion of the iPad.

  • Facebook
  • Twitter
  • Share/Bookmark

I decided to buy this TV for many reasons, the main one being: it’s simply a superb TV. Some top-line stats:

  • VIERA Full HD LCD Television (1080p)
  • Wide Viewing Angle with IPS Alpha Panel
  • 50,000:1 Contrast with Intelligent Scene Controller
  • Smart Networking with VIERA Link
  • VIERA Image Viewer (AVCHD/JPEG)
  • DVB Tuner (Digital Tuner)
  • 178 degree viewing angle
  • 24p playback
  • 3x HDMI connections
  • Composite, S-video, Audio, Component, PC, CI, USB inputs

The full specs are available on the Panasonic web site.

I bought the TV from the John Lewis site for £449, most of the awards the TV has one were reviewed when the TV was about £600.
EDIT: John Lewis have increased the price by £50 to £499, and is now OOS (1st Jan 2010)

Some of the awards are as follows:

If you have a Which? subscription, this is the full review
See the full review from HDTVtest.co.uk (an awesomely techy review it is too)

John Lewis delivered it on 29th December, pretty impressive – only ordered it 3 days beforehand, and not many delivery companies delivery during the xmas period. Massive box!

Unpacking & Installation

Unpacking & setting up was easy; as soon as you turn the TV on, if it detects a DVB signal, it starts tuning. Very good tuner, better than my Panasonic DMR-EX77 DVD & HDD recorder.  Even though that will upscale Freeview to 1080p, the picture seems a little over-processed, and there is a lot of noise.  Using the in-built tuner in the TV, creates a much nicer image.  Maybe I just need to play with a few settings.

The DMR-EX77 support Viera link with my TV, and it allows me to turn on/off, control the whole system with just the TV remote.  This is a very nice feature.  It is worth noting that the DMR-EX77 only supports HDAVI Control, whereas Panasonic are up to v3 now; this latest version allows the tuners between the TV & DVD recorder to be a little more intelligent, allowing you to pause live TV.

The EPG in the TV is the same one that I’m used to in my DVD recorder, but its MUCH faster & much cleaner. The resolution of the menus are much higher too – looks much more professional.

Picture Quality

This is where the Panasonic L32S10 really stands out; especially from my 4 year old 26″ LG LCD TV.  The colours are dramatically better, and the 50,000:1 contract ratio benefits can clearly be seen. The difference between 720p (the best my LG could handle) and the 1080p on this set is clear as well.  One specific example was when I was watching the new Start Trek film; I’ve now seen this in DVD, Blu-Ray 720p, Blu-Ray 1080p & IMAX cinema.  It wasn’t until I watched it in Blu-Ray 1080p that I noticed in a scene towards the beginning of the film, where Captain Kirk is beaten up in a bar, that the model starship (USS Kelvin) he is playing with is actually a salt mill!  The salt falling from the mill is so fine that I just wasn’t able to see it before in lower resolutions (Not sure how i failed to see it in IMAX though!).

Gaming is another place where this TV really stands out.  As mentioned in other reviews, the lag time on this set is EXTREMELY small. Guitar hero (reliably) informs me that the delay on my LG set was about 35ms, but on the Panasonic L32S10, calibration always comes outs at 0ms.  This is already showing its benefits in CoD:MW2 multiplayer :)

Conclusion

An extremely short ‘review’, I know, but I’ve only had the 32LS10 for a very short amount of time.  However, in that time it has not failed to impress. High build quality, high picture quality.  I cannot comment on the sound quality (it’s connected to a Sony surround sound system), but I would assume like the majority of LCD TVs that the in-built speakers are not up to much.

I realise that you can get much bigger TVs, for much less money – Tesco are even selling a 32″ 1080p TV for £199 – but I would still recommend this TV to anyone, I don’t think you would be disappointed.

  • Facebook
  • Twitter
  • Share/Bookmark

My Slow iPhone

In: Misc

30 Dec 2009

This is just another quick post to show a quick picture of just how slow my iPhone is. So slow that I can take screenshots of it doing things it shouldn’t.

Combine this the fact that I’ve had months of incoming phone call problems, outgoing phone call problems & data problems (O2’s apology); and my girlfriends Android phone is looking better and better!

iPhone Crash

  • Facebook
  • Twitter
  • Share/Bookmark

AJACSS

In: Development| JavaScript

8 Oct 2009

This is just a very quick post to talk about AJACSS – a bit of a hack, but a nice way to be able to cross-site AJAX.

Here’s how to do it

“Like JavaScript includes, this works because CSS is not subject to the same-origin policy that affects XMLHttpRequest. CSSHttpRequest functions similarly to JSONP, and is limited to making GET requests. Unlike JSONP, untrusted third-party JavaScript cannot execute in the context of the calling page.”

  • Facebook
  • Twitter
  • Share/Bookmark

About this blog

The ramblings of Jon Reed. I am Developer at an international news corporation. Everyday I work with various technologies such as PHP, MySql, CSS, XHTML. I Love Web Development.

  • Jon Reed: That's the great thing about trying to track people this way. These cookies are detected/set/get all [...]
  • Mike Pearce: Good post and some useful information. However, the biggest problem with use flash cookies is Apple. [...]
  • Paul M.: Congratulations! [...]
  • Mike: Woo! [...]
  • Mike Pearce: Great post mate, some advanced stuff. What do you suggest as an alternative to document.write(). [...]