miscellany

Banner Ad to Support Haiti

Cross-posted from my Chinwag blog.

I was working late when the news started to come in about the earthquake in Haiti. The sense of something major unfolding on an unimaginable scale reminded me of listening to the radio as I heard reports of the tsunami.

What can you do? Put your hand in your pocket. Done.

Next up, spread the word using the channels at your disposal. For me, one of these is using the advertising space on Chinwag.com for worthy causes. We've helped Do The Green Thing in the past and using the space to help promote donations is a no-brainer.

I did a lot of searching for banners to use, as I'm conscious of copyright and keeping everything legit when there's money involved. I tried Twitter to no effect and then through LinkedIn, was pointed in the direction of Oxfam Ireland who have a page full of banners (congratulations to their comms team for turning this round so quickly).

Unfortunately, none of them fit the size used on Chinwag (MPU - 300x250), so I've mustered my meagre design skills (and that's probably overstating the case) to create a banner that'll have to do in the meantime:

DEC - Donate to Help Haiti

This banner and the one on Chinwag are linked through to Disasters Emergency Committee (the UK organisation that coordinates numerous charities):

http://www.dec.org.uk/donate_now/

So, apologies on the copyright front. And apologies to designers everywhere, please feel free to use the Photoshop PSD or do create something better and share it here in the comments, or anywhere in fact. I'll catalogue them on Chinwag if it's helps spread the word.

Oh, and as President Clinton put it, "give money".

AttachmentSize
help-haiti-mpu-300x250.gif21.14 KB
help-haiti-mpu-300x250.psd471.16 KB
Tagged with:
Add a comment

Grauniad Typo Turns RBS Profit Into £44.7bn Loss

Believe everything you read? Ever since reading Ben Goldacre's book, Bad Science, I'm much less trusting of stories using numbers to illustrate a point, especially when prefixed with "scientists say". But just how difficult is finding the real facts behind a story?

The challenge, aside from finding time, is to make sense of whatever facts and figures are being used to illustrate the point, especially if that proof is in an academic paper or a bank's financial results. Brain pain.

So, it was with some trepidation that I decided to try and verify that The Guardian had dropped a clanger in an article in this Saturday's business section. With the background of RBS' first profit since the tax-payer shelled out £20bn to keep the organisation afloat, the article asks how management can justify paying bonuses when the government is still owed. And owed big.

However, the graph (see below) used to illustrate the article didn't quite ring true. Of the two divisions showing a loss, US Retail & Commercial shows a loss of £51bn. Even in a world where we've graduated from bandying around 'billions' instead of 'millions', this seems like a hefty chunk of cash.

Grauniad Typo Turns RBS Profit Into £44.7bn Loss

If this were correct not only would the red bar in the graph have to extend off the edge of the page, RBS would have posted a £44.7bn loss, which, I'm pretty sure, would be a bigger headline than anything about bonuses.

So, with @bengoldacre in the back of my mind, I decided to see if I could find the original material and double-check the figures. A rummage through the RBS corporate website reveals two documents, the interim results slides and the full version.

The data for the graph (not including the typo) is on page 29 of the 204 page report, not including appendices, if you're interested. It confirms the typo and a mere £51m loss. RBS shareholders can rest a little easier.

What this does confirm is a deep respect for the thankless job facing journalists wanting to do a thorough job. Put this into context against hastily written blog posts and the debate about how to pay for investigative journalism becomes ever more important.

To finish, a choice piece of language from the report on how one type of credit derivative is valued:

Gap risk products are leveraged trades, with the counterparty’s potential loss capped at the amount of the initial principal invested.  Gap risk is the probability that the market will move discontinuously too quickly to exit a portfolio and return the principal to the counterparty without incurring losses, should an unwind event be triggered.  This optionality is embedded within these portfolio structures and is very rarely traded outright in the market.  Gap risk is not observable in the markets and, as such, these structures are deemed to be level 3 instruments.

Ever wondered how we got into this financial crisis in the first place? Dunno about you, but I'm not sure I like the idea of an unwind event, unless it involves a cute cat and a bundle of wool.

Add a comment

Using SQLite with Eclipse and DbEdit

[Warning: For those not of a technical bent, what follows will be as dull as the dullest, tepid dishwater you can imagine, so probably better to venture to something more interesting.]

SQLite.gifEvery so often, I'll decide to tinker with a bit of code to extend my knowledge and see if I can still knock up anything that'll work on ye olde Interwebby. Inevitably, this involves spending far more time setting up an environment than actually producing anything.

As I tend not to make notes (v. bad habit, I know) and then forget how it worked, I've resolved to write up little blog posts as an aide memoire for the next time. If they help someone else in the same predicament, marvellous. The steps below worked for me, but it's always a bit of a gamble that the process is actually what you're supposed to do.

So, after much time spent with Mr Google, a number of dead ends and some very useful posts, this is how I managed to get my setup (Mac OSX, Eclipse, DbEdit, SQLite) working. If you've spotted errors, or have any suggestions, please feel free to leave a comment.

Step One - Download JDBC Drivers

Firstly, you'll need to find and install a JDBC driver for SQLite. The one on the Zentus website did the trick:

Save the sqlitejdbc-v053.jar to a memorable directory, I created a jdbc drivers folder in the Eclipse application folder. Just remember where it's saved.

Step Two - Install JDBC Driver in DbEdit

Fire up Eclipse and open the DbEdit perspective using the menu:

Windows > Open Perspective > Other... > DbEdit

DbEdit provides the option to install new JDBC database drivers when you create a new database connection, which is step three:

Step Three - Install Create SQLite Java Database Driver

  1. Select the Connection option from the main menu bar at the top of the page, a dialog box will pop up
  2. Give your new connection a name e.g. SQLite DB
  3. Click on the drop down for JDBC Driver field, if an SQLite driver is available, select it and skip to step four below
  4. OK, so you need to install the SQLite driver downloaded above, click on the Classpath tab in the dialog box
  5. Click on the Add Archive option. Find the driver you saved in that directory and click OK, then click Apply.

Step Four - Create Database Connection

This is where things got painful for me. The format for the JDBC Server was a right little sod. Thanks to the clues on this page, I finally figured it out.

  1. If you're following the step above, switch back to the Common tab in the dialog box by clicking it
  2. Select the SQLite JDBC driver, if you've used the one above, it'll read org.SQLite.JDBC
  3. Now, you'll need to enter the Server URL, which will take one of the formats listed below
  4. Click OK. There might be a prompt for username/password, I'm not using one so could click OK.

Possible format for JDBC SQLite Server URL:

jdbc:sqlite://dirA/dirB/dbfile
jdbc:sqlite:/DRIVE:/dirA/dirB/dbfile
jdbc:sqlite:///COMPUTERNAME/shareA/dirB/dbfile

As an example, on the Mac that I'm using the format of the URL was:

jdbc:sqlite://Users/myuser/Sites/test/test.sqlite

which is the full path to the SQLite file. I haven't tested it, but on a Windows machine, it would most likely be:

jdbc:sqlite:/DRIVE:/dirA/dirB/dbfile

which in a real-world example, might look like this (N.B. I haven't tested this):

jdbc:sqlite:/C:/Documents and Settings/Sam/Sites/Test/test.db

I hope this is useful for anyone else who is sitting at their computer barely the resisting the temptation to throw it out the window.

2 comments

Banksy's Big Easy

Banksy? - Holland Park Roundabout, LondonDespite early reservations and lots of general waffle, Twitter does turn up some gems. From wry comments on the US political collection to tip-offs about the latest Banksy sightings.

The latest batch hot off the street come from New Orleans taken by jonnodotcom. Compare the pic on the left I snapped at Holland Park roundabout in West London, compared to his latest offerings from the Big Easy.

Just me or does the tragedy that happened there make those images that much more poignant. My favourite is "No Loitering", what's yours?

www.flickr.com
Add a comment

The A to Baseball of Business Jargon

15239014_a76211d798_m.jpgAfter a hefty amount of procrastination this Sunday, who knew washing up could be such an engaging pastime, I got down to some heavy-duty email inbox clearance. To while away the hours and stem the rising panic of hundreds of unanswered emails, I delved into the calming, erudite and other- worldliness that is BBC Radio 4's, From Our Own Correspondent podcast.

Alongside the whimsical insights into the lives of others around the world, was a piece by Kevin Connolly about baseball. Now, I'm a cricket fan with a proud record of attending all the Twenty20 Cup Finals. OK, maybe a fair-weather fan, so shoot me, it helps me relax, as does the day-long refreshment that such events require. And I like baseball, too, despite only having managed one match so far.

192330769_1cd335df5f_m.jpgHowever, the prospect of a rather special second match looms. After the excitement of the Digital Mission to NYC that Chinwag is running in mid-September, a trip is lined up to take in the penultimate Yankee game at Yankee stadium. Looking forward to it? You betcha.

So, baseball. A bit like rounders? A gauche version of cricket?

Well, yes, perhaps, but did you realise how much baseball has affected the day-to-day business jargon? As Kevin points out in the podcast, check out how the workplace lexicon owes more than a passing debt to the diamond:

  • Taking a "baseline position"
  • Prudent folks are "Covering all the bases"
  • Getting to "second or even third base" (ok, less business, probably)
  • Surprising ideas come from "left field"
  • Wacky suggestions are "off the wall"
  • Ideas are "pitched"
  • If there's a delay, why not take a "rain check"

Who knew? And there's probably more besides. Consider the comparison with cricket. There's certainly been times when a "sticky wicket" has made life difficult, and I often claim to be "stumped" and sadly, being "bowled over" is an all-too-rare event, unless I'm really getting carried away.

The big daddy boss of the workplace phrase, often motivational, never intentional, is Gus Hedges from Drop the Dead Donkey. Sadly, Mr Google wasn't much help in finding a comprehensive list of his (well, the writer's) mastery. If I get a chance I'll try and compile a list, those that remember the show will know what I mean.

Update: I got slightly obsessed and dug up as many posts as I could. For your delectation, I present the corporate stylings of Gus Hedges. Let me know if you spot any more or leave a comment below.

[Pics: courtesy of wallyg and jeffreyputnam]

Add a comment

Mechanical jellyfish

Built from really simple components, the movement in this mechanical jelly fish is really quite beautiful to watch (via Truemors). If I had a bigger house/office, I think I'd want one. Apparently, they're developing smaller versions that'll swarm together in water.

Tagged with:
1 comments

Swearing. Big & Clever. Sometimes.

Sometimes, just sometimes, an expletive is called for.

When you've stubbed a toe. When the server you tried to re-boot remotely doesn't work and an unnecessary trip into the office is required. When the credit card company fails to send you a replacement for the nth time. When you fancy cheese on toast and you've run out of cheese. And bread. When you're trying to work from home, and market researches decide to call at 5 minute intervals throughout the day. When you're in a rush to get to the shops and some friendly soul has introduced a screwdriver to your car's tire.

I could go on, but you get the gist. So, two little tidbits, I couldn't help but share.

Stupid Fucking Mistake Ruining Whole Fucking DayFirstly, from The Onion. A tour de force as always. Such panache. Such a potty mouth. Probably NSFW, but depends on your office.

And finally, a witty, sweary ditty from sometimes controversial comedian, Sarah Silverman. Her boyfriend, Jimmy Kimmel, has a talk show in the US and at the end of the show often takes a pot-shot at Matt Damon, saying they've once again run out of time to speak to him on the show. This is Matt Damon's response, with a little help from Silverman. Not entirely what you expect from such a straight guy, oh, and not entirely NSFW either...

Add a comment

Nasty Drupal and IE Error - Operation Aborted

Ooo, this is a fiddly little so-and-so. Finished putting together all the blocks for the site, all ready to get on with the work that I'm supposed to be doing only to discover that Internet Explorer is throwing an absolutely fit. Tried loading the page in a bunch of different IE versions to discover the same thing.

Internet Explorer cannot open the Internet site.
Operation aborted.

Trying to navigate to another page results in another error, something like:

Internet Explorer is trying to load this page. Are you sure you want to navigate away?

Turns out, it's an IE-specifc error relating to Javascript. After a bit of trial and error, removing and adding back in various widgets, it turns out the one I'm using to display the latest Twitter action is the offender. The fix is to add:

defer="defer"

into the Javascript call, so it becomes:

<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js" defer="defer"></script>
<script text="text/javascript" src="http://twitter.com/..." defer="defer"></script>
Add a comment

Technorati, Eat Me!

Now, it appears that Technorati doesn't quite have the weight that it used to, but it can still be a handy service.

Unfortuately it looks like it's not playing nicely with Drupal, which I'm using on the site here, so I have to go through the pain of putting a link to my Technorati profile for it's spiders to hoover up.

So, Technorati, come spiders, gobble it up!

Tagged with:
Add a comment

Obligatory First Post

On any blog, there has to be a first post. This is it.

I haven't quite figured out what I'm going to use this blog/website/thingemy for yet, but I'm hoping that, by actually writing something it'll become clear. For Chinwag-related musings, I'll also be writing my blog on Chinwag, and no doubt contributing, time allowing, to the Chinwag Jobs blog.

It feels a bit odd writing something that's related to me, Sam Michel, in fact it makes me clench slightly at the thought of it. I wish I had a more American perspective on self-promotion. Can't have everything.

So, this is my personal thang. And just to be clear, I'm not that Sam Michel, or that Sam Michel and definitely not sporty enough to be that Sam Michel, ain't Google great?. Still, be interesting to meet them. This is all very odd, so I'm going to quit now and return to the normal blather.

Tagged with:
1 comments