Archive for the ‘Uncategorized’ Category

HTML5 – Browser Ability

April 14th, 2010

Doing a quick test of the major browsers (on OSX Snow Leopard) and of the 160 HTML5 features tested these are the scores:

Chrome 5.0.342.9b 137
Safari 4.0.5 113 (this is the score I got on Chrome Windows which suggests an older version of Webkit)
Opera 10.10 38 (I expected much better from Opera as they’re normally very quick to implement)
Firefox 3.6.3 31
IE8 19
Browser HTML5 Support Comparison Chart

Well that’s a bunch of fascinating numbers. I think we can take away from that a simple fact: Internet Explorer is shit.

Test your browser with HTML5Test

Django CMS

September 25th, 2009

New Django CMSFinally a Django CMS that looks stable and well built has been released at: http://www.django-cms.org. It’s sponsored by a Swiss compay which doesn’t bother me one bit (I love ….cheese and chocolate?) but the Americans seem obsessed with the idea of everything being American, tariff charges, protectionism, etc, etc, etc.

Anyway – this isn’t a political post so here’s a quick summary of the important points about the new Django CMS project:

  • BSD License
  • Hosted on GitHub
  • Original name: Django CMS
  • Features Summary:
    • Publishing workflow
    • Versioning
    • Multilanguage
    • Application architecture – similar to Joomla Components & Modules
    • Media management
    • SEO friendly
    • Flexible plugin architecture

All in all it looks promising so give it a go. I’m planning on setting up a few sites using it as I need something quick and dirty to use but also the ability to extend it. Being a young project this should be pretty easy. Django CMS

Seskelohots is Lonely

August 18th, 2009

I have no idea who this is but they commented about 4 months ago claiming to be lonely. They need a hug.

I’m the only one in this world. Can please someone join me in this life? Or maybe death - Seskelohots

With no spammy links posted I can only assume its one of the lonely racoons I mentioned that’s currently lost in Yorkshire.

shy-racoon.jpg

Is this Seskelohot?

Here:
Hug Seskelohot

New Mac, Wii and DS

January 25th, 2009

gallery-big-01.jpgI’ve not been posting in a while as I received a new Wii, DS and Mac over the Christmas period which has kept me very busy – thats on top of working all the hours god sends!

I’m not rich – nor is my family. There was a windfall that enabled presents to be bought and so here I am. Very grateful and happy.

The Mac is bedding in nicely – although I’ve spent more time blogging with it than coding so far. That maybe a sign of things to come as I am considering moving this blog to a new home and changing name. I don’t see myself posting as much dev related stuff in the future. Watch this space.

The Mac is SO quiet and refined – its damn refreshing to use. Aluminium unibody case and the little mag power cable is wicked. :)

AbeBooks UK: Another Netvibes Plugin

January 2nd, 2009

Abebooks LogoI’m loving the Netvibes plugins at the moment and I produced a second one today.  This time I’ve decided to have the body of it as static HTML rather than generating it using the included widget API.  It seems to start faster as a result.

The widget is simply a search box for finding cheap books at the Advanced Book Exchange.  If you’re a book worm you’ll love the site.  Its had millions (seriously) of rare, used and new books from across the world.

Wicked stuff.

You can view the widget in all its splendour here.

I’m a Ninja

December 31st, 2008

True fax.  Pirates are rubbish.

Keeping Fit

December 22nd, 2008

I wasn’t going to post anything about my new blog here because its on a completely different subject.  However, after reading the guy at Piece of Py posted about his fitness programme I thought I may as well too!

So apologies if you want something tech related – today is about fitness and health.  So stop reading and go away if you’re not interested.

Still here?  Wicked stuff.  I have a training blog which I’m using to keep track of my progress and stay motivated.  I’ve learnt a lot and my programme is up for all to see.  Maybe some desk jockeys and keyboard warriorswould like to follow along in the New Year?

Straw Training

Saturday Code Quote: 6

December 20th, 2008

Fix it…

            # XXX for the record, I have no fucking idea why this works, what
            # it's technically represented as and what backwards array
            # implementation would allow it to work.
            #
            # I'm hoping it'll break on some future version of postgresql so I
            # can fix it.

From the source of RubyDBI

Mercurial vs Git

November 16th, 2008

Personally I’m more a fan of Mercurial with the main reason being: Portability.

As far as I know Git still has problems handling Windows which is something Mercurial has never had to worry about.  So I can switch between multiple different environments without worrying about my SCM falling down.

Another reason is the name and the command: hg vs git.  Hg sounds better than git.  It looks better.  Its less to type.

But its not about me or my bias – its about cold hard facts so here they are:

Git

Pros Cons
  • Lots of features
  • More hosting options.
  • Faster – slightly.
  • GitHub.
  • Solid local branch support.
  • Poor Windows support
  • Rubbish logo
  • Silly, long SHA1 hash of revisions.
  • You need to keep ‘packing’ the repo
  • History fiddling.

Mercurial

Pros Cons
  • Portable
  • Its built with Python
  • Easily extensible using Python
  • Cool logo
  • Better documentation.
  • Local integer revision numbers on top of the SHA1
  • No need to keep packing/optimising.
  • Smaller repo footprint.
  • Better patch support (bundles and such)
  • Easy to learn.
  • Smaller feature set.
  • Few 3rd party hosting options.
  • Fewer 3rd party apps and plugins.
  • Smaller community.
  • Slower development.

Who Uses What

Mercurial Git
  • Mozilla
  • OpenSolaris
  • Aptitude
  • Netbeans
  • Dovecot
  • Linux Kernel
  • Google Android
  • Beryl
  • Fedora

Who Needs What

Mercurial is great for people who want to dive into distributed version control and get busy.  Its clean, fast and easy to learn.  With a small footprint and single binary its the Zen of DVCS.

Git is for monstrous geeks and crack whores who like to wrestle with their tools before settling into using them.  If you never use Windows and really really wanna use GitHub like all the cool kids then use Git.

Discuss?

I’m always open to feedback – as long as you agree with me.

Switching From Rails to Django: Why?

November 15th, 2008

Rails is crap.  There – I said it.  Apologies to the geek with a peanut dick but it just sucks really bad.

Compared to PHP – Rails is Great

Yeah it is great – its epic in fact.  But then again that isn’t very hard is it considering how shit PHP is?

Stop Stealing Ruby’s Limelight

The reason people love Rails is because of Ruby.  It pisses me off when I hear people getting pissed off with having to learn Ruby so they can use Rails.  For crying out loud!!  Ruby is the foundation, cause, Nu(n), beginning, soul, reason for Rails existence.  All of those funky little things that Rails can do are entirely due to Ruby.  Ruby is an amazing language and Rails is an insult rather than a blessing to it.

Rails and Mongrel = Unstable

Every time I get into an argument regarding Rails’ reliability it comes back to: “It must be your code”.

Well fair enough.  Lets say my code is the reason that all my Rails sites fail at least once a week.  Or maybe its my setup, or server config.  Maybe I’m not using Mongrel right.  I’m a dumb fuck who can’t use Rails…

But…

This “dumb fuck” can setup and manage multiple Django sites without issue.  Without hassle.  Without self delusion.  Without restarts every fu*king week!  This “dumb fuck” has had 3 Django sites running for the past 8 months with no downtime.

Okay – so I could setup scripts to kick Mongrel back in when it falls over.  I could manage or code better.  I could do many things.  But why the fuck should I?

I think a good analogy is this:

  • Rails = Windows
  • Django = Apple

You see – Django Just (fucking) Works.  Like a Mac.  Nice and simple.  Reliable.  Consistent.

Rails needs hacking and bollocking around with until it settles.  Then you need to faff some more when it plays up.  Sounds familiar doesn’t it?  Just like Windows.

But All the Cool Kids Use Rails

Yeah – all the cool kids use Rails.  Do you remember that all the “cool kids” at school were normally the biggest dicks in the school?  They were the thickest, most aggressive, most lacking in self confidence and respect.  They followed a ‘leader’ blindly because they were too weak to follow their own path.

The Rails community comes in two parts:

  • A core of heavily invested super-egotistical fat-assed vermin that need it to continue in order to make money training, publishing, etc.
  • A huge cloud of numb nuts who don’t know how to program but jumped on the Rails bandwagon to be cool.  These people invariably make themselves look like idiots when challenged.

Lets look at some real technology leaders:

Google - they use Python for the majority of their systems as well as choosing Django templates for its Google App Engine.  They also rapidly built Django support into it.  Rails hasn’t even hit the radar.

Rails Has Huge Support From The Tech Industry

Similar to the above but I knew you’d never read through anything longer than a few paragraphs so I put this shit here.

Rails attracts disaffected, immature hippies and divs.  No major company has embraced Rails for anything serious.  The only ‘companies’ that have embraced Rails are the fluffy-bunny brigade of non-companies.  They make money but they’re the technological equivalent of the Care Bears:

  • Twitter – for inane bullshit.
  • 43 Things – You put the things you want to do in life.  Personally?  I just do them!
  • Amazon – I almost shit myself when I saw this.  Until I read the details about it:
  • UnSpun is a new service from Amazon that puts workers from the Mechanical Turk and the UnSpun community at work finding the top, best, favorite things in any category.
  • Sounds like a world beater.  Really taking over Amazon there aren’t you.

Django Copied Rails

No, it didn’t – that was my controlled response to this ridiculous statement.  My natural response had a lot more ‘beating YOU in the face for thinking such a thing’.  Django and Rails were born from very different worlds and purposes.  Neither copied the other.  Although multiple projects have spawned in the Rails community to copy the Django admin interface.  Jealous, much?

Discuss?

Comment or email me.  If you disagree I’ll likely mock you.  If you agree I’ll send a digital kiss.