Featured Posts

We've woken up, but we still need a cure to InsomniaWe've woken up, but we still need a cure to Insomnia The news broke several days ago now that Insomnia Publications had released all of its creators from their contracts. Everyone received a short, polite email from publisher Crawford Coutts, and thus ended many weeks of speculation, worry, and countless threats of violence. The rumour mill continues to...

Read more

Wake up Insomnia Publications - It's the Sleepless Phoenix.Wake up Insomnia Publications - It's the Sleepless... This is blog post asking for your support for a project that I'm involved in. I have written lots of blog posts like this. I'm normally shilling something, a new grahic novel, a new web site, or something else that I've created and now I'm hoping that you'll adore. I normally want your money too, as...

Read more

Chris vs. Five Reasons iPhone vs. Android isn't Mac vs WindowsChris vs. Five Reasons iPhone vs. Android isn't Mac... Tim O'Reilly tweeted out what he called a "compelling" article today, the titular "Five Reasons iPhone vs. Android isn't Mac vs Windows" by Mark Sigal. Having read the article I countered by tweeting that I thought the article was "biased" and "unbalanced". Tim, in turn, was gracious enough to tweet...

Read more

Bristol Comic Expo Panel: Signs and PortentsBristol Comic Expo Panel: Signs and Portents The audio recording of my Bristol Comic Expo panel, "Signs and Portents", is now available from the Sidekick Cast website, iTunes, and anywhere where good podcasts can be found. Before I write anything about this panel, I want to send out a huge thanks to both the boys from Sidekick Cast and to...

Read more

Two wise monkeys and me: It's the Comic Book Outsiders... Last year the Bristol Comic Expo played host to a round table discussion between the twin publishing mights of Monkeys with Machineguns and Orang Utan comics, the crew from Geek Syndicate, and some hardcore comic fans, all masterfully hosted and chaired by the erudite genius Scott Grandison. The result...

Read more

Common MySQL Queries – For when you can’t remember how to do “that thing”

0

Posted on : 20-02-2010 | By : Chris Lynch | In : Blog
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Software Development has a habit of throwing up the same problems again and again. Subtle variations abound, but I have always believed that with a few core programming techniques most problems can be solved. In an eighty/twenty world, only twenty percent of problems are interesting and only twenty percent of those require a truly original or innovative solution.

The trick is identifying the underlying problem, or design pattern, that you are dealing with and then applying your tried and tested algorithm. Of course, it helps a great deal if you can remember the precise code for that algorithm.

That’s where sites like “Common MySQL Queries” come in. A fantastic repository of general purpose algorithms for common, and not so common, problems, it is something that any developer working with MySQL should have bookmarked. The majority of the code is portable to other RDBMS platforms, but it is “cut and paste” simple for MySQL.

This has been a public service announcement on behalf of people who can’t remember how to “do that thing they did last time”.

#tweetcoding = A piece of flash code in 140 characters or less

0

Posted on : 13-05-2009 | By : Chris Lynch | In : Blog
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

In these days of bloated software that requires multi-gigabyte installs, websites that take an age to load even on a 24 mbit connection, and keyrings that have more storage capacity that it was original thought was required to hold the world’s knowledge … it’s nice to see some standing up for elegant, efficient coding.

Congratulations to all of the #tweetcoding round 1 winners.