4.2.10

DataFormatString list

Why in the name of cock is it so hard to find a decent list of DataFormatString values for BoundField properties? I'm sticking this here so that I have something to refer to, and can add to it in future if I find more stuff.

So, for DataFormatString="{0:whatever}", whatever can be any of the following:

Numbers

c - currency £#.##
d - decimal ##.##
e - string of e+###
f - string ##.##
g - fixed point or scientific notation
n - #,###.##
p - percent
x - hex

DateTime
d - short date
D - long date
t - short time
T - long time
f - full datetime and short time
F - full datetime and long time
g - short date and short time
G - long date and long time
m - month

edit - loads more here at msdn

edit 2 - holycrap, found loads now.

standard numeric
custom numeric
standard date
custom date
enumeration

17.11.09

JoCo

Why yes, this is Me, Ryan and Jonathan Coulton at the JoCo Bristol gig. Thank you for noticing.

13.11.09

...

Cyanide and Happiness, a daily webcomic
Cyanide & Happiness @ Explosm.net

10.11.09

Bad EU law ruins cookies

This is silly.


A law that demands consent to internet cookies has been approved and will be in force across the EU within 18 months. It is so breathtakingly stupid that the normally law-abiding business may be tempted to bend the rules to breaking point.


If the cookie is "strictly necessary" (ie used in a shopping basket script) then there's an exception, but for everything else, the user will have to give consent for the site to use cookies. This means google analytics, auto login, webtrends, user tracking and saved site preferences. A website will have to get your consent before it can do any of these things. And I can say with confidence that every website I visit will use cookies in some way.

It's cocking ridiculous!

9.11.09

Paint.NET 3.5 released

My favourite free paint app, paint.Net, is now on version 3.5. Go download it!

Go! Go!

5.11.09

The Music Fix - Jonathan Coulton interview

My Plymouth mate Adge interviewed JoCo!

The Music Fix - Jonathan Coulton interview

And I'm going to see him in 10 days. FUCK YES!

27.10.09

The closure of Geocities

Earlier this week, Yahoo closed Geocities.

Geocities was a free website hosting company, launched in 1995. The servers comprised of virtual neighbourhoods and blocks, where pretty much anyone could have their own website. If your website was music based, your neighbourhood would be sunsetstrip. Sci-fi sites went into Area51. You then had your own block under there ie www.geocities.com/sunsetstrip/3635 (sunsetstrip ftw).

Most geocities websites comprised of bright text, centred over a dark background, with transparent tables, animated gifs, marquee tags and horrible MIDI tracks. My first site was on geocities! It was horrible, ugly as fuck, and as a full time web developer I'm embarrassed by it. But that doesn't stop the closure of Geocities being a terrible idea.

So what if there was a lot of rubbish on there? There was also a lot of useful information and a lot of memories, too. How many old tech manuals were on there? How many broken links have Yahoo created by removing Geocities? How many Geocities websites were created by people who have since died?

It's a piece of history, and a reflection of the state of the Internet at that time. Yahoo should at least have made a proper backup or snapshot of the site, but all they did was point archive.org in the right direction and say "get on with it".

As Jason Scott puts it: "Help me save Geocities. Not because we love it. We hate it. But if you only save the things you love, your archive is a very poor reflection indeed."

More awesome Jason Scott speak here.

14.10.09

JA: Confused by slashes

JA: Confused by slashes

Shared via AddThis

*guilty*