Friday, May 22, 2009

When is it not safe to load an XML file into an XmlDocument object?

Any time the source is untrusted, it turns out:

Tom Hollander: Protecting against XML Entity Expansion attacks

That's one I haven't heard of before, and shows why every input from an untrusted source should be treated with care.

It reminds me of the zip expansion attacks that used to break mail servers 8 or so years ago:

Zip expansion attack. A large uniform file (for example 1 Gbyte of Zeros) is zipped and e-mail. AV or content filtering products attempt to unzip the attachment for checking, but are unable to do so because of lack of disc space. [ecommnet]

The old expanding file trick. What will they think of next?

Kirk

posted on Friday, May 22, 2009 8:54:43 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, May 20, 2009

While it's not always like this...

... it's true that Rod does zoom around the office (although not always on the Segway).

[Rod on the Telecom Business Hub]

Kirk

posted on Wednesday, May 20, 2009 11:53:38 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [1]
 Monday, May 18, 2009

I presented a talk at the Wellington and Auckland .NET user groups this month titled "Best Practices -  Caching". The goal of the talk was to discuss why we might need to add caching to our applications, and the way that we typically add it to each layer:

  • Client-side: reducing data flowing to the server, enable caching through expiry etc
  • ASP.NET: stashing data; page-level, fragment, IIS caching
  • Business layer: cache objects to avoid computation
  • Data layer: cache raw data from the database; identity maps
  • Database: reduce hits on disk

The difficult part when caching at any layer is invalidating the redundant data that is stored in the cache when the source data changes. It's easier depending on the type of the data:

  • Reference - shared reads (e.g. Catalog)
    • Easy to cache and distribute
  • Activity - exclusive write (e.g. Cart)
    • Can cache each user's data separately
  • Resource - shared, concurrency read/write, large number of transactions (e.g. Auction bid)
    • Caching is hard
    • DB is best source of data, with careful caching

The second half of the talk we looked at two caching technologies - memcached and Velocity.

The presentation: Caching.pdf 

Some links:

Kirk

posted on Monday, May 18, 2009 10:40:13 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [1]
 Friday, April 03, 2009

I appreciate good humour more than I appreciate politics, and most of the credit I gave to our former prime minister Helen Clark was for her sharp wit.

It's great that we have a funny guy as our prime minister in New Zealand:

Hat tip to Rod on our Xero blog

Kirk

posted on Friday, April 03, 2009 9:22:15 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, April 01, 2009

I've just been awarded Cobol Developer of the year for 2009!

It has been a great ride at Xero, from releasing our first beta little more than 2 years ago, to racking up our 6000th customer this week.

Some people doubted us for picking a VSE/ESA environment and the IBM compiler, but the support for 31 bit addressing and dynamic calls really accelerated our development of a Web 2.0 software product.

I'd like to thank all the other forward thinking members of our team for choosing and building on a great platform, and encouraging me to achieve this award.

Kirk

posted on Wednesday, April 01, 2009 10:49:07 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [4]

Deleting your POP3 mailbox using telnet, since Gmail doesn't do it properly :)

 

I'm using Gmail to check and download my Paradise (ISP) email. This means I can read (almost) all of my personal email in one place.

Gmail appears to only have one option for deleting mail: "Leave a copy of retrieved messages on the server". If you set this option it immediately deletes your mail from the POP server after downloading it to Gmail, which means that you can't check it with an alternate client.

Other mail clients allow you to leave mail on your mail server for a number of days, so I normally set this to 7 days so that if I need to fire up a different client or use my ISP's mail, then I can see recent email. Gmail doesn't have this option, which means if you don't delete mail from your POP account, it will eventually fill up.

For completeness, the sequence of commands to type into telnet to delete a bunch of your mail:

> telnet pop3.paradise.net.nz 110

USER <username>  // Your POP username
PASS <password>  // Your POP password

STAT                        // Lists the number of messages (e.g. +OK 1108 19255723, which means 1108 messages)

// Then for each message
DELE 1
DELE 2
...                         // I used a spreadsheet to quickly generate a list of DELE's from 1 to 1108)

Mission accomplished. An empty POP mailbox without installing (or writing) any extra code :)

Kirk

posted on Wednesday, April 01, 2009 10:23:21 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Thursday, March 19, 2009

Well done to the SilverStripe team for getting into the new Microsoft Web Platform installer:

image

The installer helps people get web applications up and running in a flash, and it's great to see SilverStripe alongside 9 other big-named web apps. This should be great for the initial out-of-the-box experience for their users, and for exposure to new users.

See Nigel's blog for more details.

posted on Thursday, March 19, 2009 12:10:30 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, March 18, 2009

Jeff Moser writes How .NET Regular Expressions Really Work.

I've got a soft spot for regular expressions (programming Perl can do that to you), and while I understand backtracking and greedy / lazy matching, I've never actually read the source code for a regex library before.

If you haven't either, and want to benefit from someone else's description of the 14,000 lines of .NET regular expression library, you'll enjoy this post.

Kirk

posted on Wednesday, March 18, 2009 10:31:31 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [1]
 Tuesday, March 17, 2009

Ewan Tempero, a lecturer and supervisor of mine from my days at VUW (now at Auckland Uni) is part of a survey to find out what we actually practice in software engineering, so that they can compare it to what is being researched and taught:

sefolklore.com

Fill in the survey, it will take less than 10 minutes.

(Watch out for the 'rank the following 6 statements' question -- you can only put a rank against one statement)

Kirk

posted on Tuesday, March 17, 2009 9:10:01 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, February 25, 2009

Encoding is "the process of transforming information from one format into another" [Wikipedia]

In the web development world, when we talk about encoding text, we are normally talking about taking some input text and making it appropriate to use in a given context. For example, taking the user's first name and last name, and making it safe to put in a <b> tag within an html page.

We care about encoding most when we take input that we don't trust from our users - if we ever display that input we have to be careful to remove any characters that may interfere with the display of our web pages, cause javascript to run, or allow other malicious actions.

This article will help you understand what encoding is, why you need to do it and how that helps prevent cross-site scripting, and give a little introduction to the AntiXSS library.

A bold example

As a running example, let's say we are letting the user enter anything they want for their name - in an input box like this on our website:

Text box to collect name from the user

We then take the text they enter and store it in our database. Later on when we display it on the web page, we wrap the text in bold tags so that it stands out:

Welcome to the website, Kirk!

In ASP.NET one way of doing this would be to put an ASP.NET label between <b> tags:

Welcome to the website, <b><asp:Label ID="NameLabel" runat="server"></asp:Label></b>!

...and then in the code behind, take the name from our database and assign it to the Text property:

User user = GetFromDatabase();

NameLabel.Text = user.Name;

Trust no-one

The problem is, we've received this name directly from your user (who of course, you shouldn't trust), and we've stored it in a column in our database (which we now can't trust), and now we can't safely display it on our website without sanitising it or making it trust-worthy.

The number one lesson I try to give in my presentations on web security is "Don't trust...". You can't trust your user, you can't trust your employees, your students, or even your mother. There is no such thing as "safe input" that you receive over the Internet, everything you receive is suspect.

(Even people who are otherwise trustworthy might not be in control of their faculties if they have spyware or are virus-infected)

Everything is fine if the user enters only ascii characters:

User enters

But what happens if the user enters some html into the input box?

The user enters html, the page layout changes.

The user is now able to change how our page looks! Indeed, they can inject HTML, script or other content directly into pages on our website!

This is known as Cross-site scripting, or XSS, and is the bane of our existence as web developers.

What went wrong?

The ASP.NET label outputs the Text directly into the HTML output of the page:

<p>
    Welcome to the website, <b><span id="NameLabel">Kirk </b><i>Jackson</i></span></b>!
</p>

The problem here is that the ASP.NET label is not encoding the text before outputting it. The text is not appropriate to use in an HTML context, as it contains characters that have meaning in HTML (namely the characters making the </b> and <i> tags).

To make the user's name safe to use in an HTML context, we need to encode the inappropriate text to be safe in an HTML context:

Kirk &lt;/b>&lt;i>Jackson&lt;/i>

HTML Encoding

HTML encoding is turning a string into a safe block of text for insertion in an HTML web page.

This means it should not use any of the special characters that are used to mark the beginning or end of tags (< and >), attribute values (") or the ampersand character on it's own (&). If those characters are left in the string, then they could be used to start or stop HTML tags and change the behaviour of our page.

To remove these characters, HTML encoding requires them to be turned into character entity references, or numeric entity references. This stops them from being treated as special characters for formatting an HTML page, and just treats them as a character to be displayed.

Original character Character Entity Reference Numeric Entity Reference
< (less-than sign) &lt; &#60;
> (greater-than sign) &gt; &#62;
" (double quote) &quot; &#34;
& (ampersand) &amp; &#38;

The above table shows a few examples of how to encode special characters. For a more complete reference, see Wikipedia or W3C.

Note that since the ampersand character is used to start an encoded character sequence, it can't be used on it's own as a regular character. This is why ampersands should be encoded as &amp; in HTML.

Once the users name is encoded, it will then be in the HTML as &lt;i> instead of <i>, which means that in the above example, italic mode won't turn on:

The users text is now encoded correctly.

The screenshot above looks a little weird, but the page now displays the text exactly as the user typed it in, without treating the users input as special HTML markup.

Attribute Encoding

Attribute encoding is turning a string into a safe block of text for use within an attribute of an HTML tag.

Attributes are the name/value pairs on a tag node in HTML (or SGML and XML, for that matter). For example, in the following HTML, the a tag has a title attribute:

<a href="foo.html" title="test">thing</a>

The title tag is displayed as a tooltip

The text inside the title attribute is used to create a tool tip when the mouse pointer hovers over the hyperlink.

This HTML contains an a tag (an anchor tag), which has two attributes set: href and title. The a tag also contains some HTML within it: the text 'thing'. The contained text must be HTML encoded if you only want text within the a tag, and the two attributes must be attribute encoded.

At a simplistic level, text is valid inside an attribute as long as it doesn't contain double quotes ("), ampersands (&) or less-than symbols (<), as the double quote would prematurely end the attribute, and the other two characters must be encoded anywhere they are used within an HTML document (except when creating tags).

To extend our earlier example, imagine the users name is used as the tooltip of a link, to pop up before they follow the link. If we naively output the users name as a title attribute without encoding it, the user could inject some additional behaviour into our page. e.g.

<a href="foo.html" title="<%= User.Name %>">thing</a>

If the user enters something malicious, for example by entering a double-quote followed by some javascript, then they have managed to inject extra HTML or javascript behaviour into our site:

User enters script into Name field

The hover for the hyperlink looks okay, but when the user clicks the link, malicious javacript can run:

Malicious javascript running

This is because the HTML that we have sent to the clients browser actually contains an onclick attribute that we didn't intend:

<a href="foo.html" title="Kirk" onclick="alert('Hi')">thing</a>

Encoding the users data before sending it to the browser would have protected us from this, and then the HTML sent would look like this:

<a href="foo.html" title="Kirk&quot; onclick=&quot;alert('Hi')">thing</a>

Which correctly displays exactly what the user entered:

Tooltip now shows complete text entered

URL Encoding

URL encoding is turning a string into a safe block of text for appending on the query string of a URL.

The original specification for HTTP URL's (RFC 1738) specifies that URLs should only include certain characters, and all others must be encoded. This is similar to the case of HTML encoding, but there is a much smaller set of characters allowed, and the way you encode them is different.

To encode characters to append to a URL, you use a percentage symbol, followed by the two-digit hex number representing that character. For example:

Original character Character Entity Reference
space %20
/ (forward slash) %2F
" (double quote) %22
? (question mark) %3F

The above table shows a few examples of how to URL encode special characters. For a more complete reference, see Brian Wilson's URL Encoding page.

We need to encode strings before appending them to a URL, to make sure that untrusted input is not able to change the URL.

For example, if our page above constructed a URL to search Google for the name of the user entered into the website, it could look like this:

Construct a search url by joining two strings together

When the user clicks the link, they will search Google for their name.

Here the naive code is just constructing a url by joining the two strings together:

User user = GetFromDatabase();

string url = "http://www.google.com/search?q=" + user.Name;

But if a name with spaces is entered, then we're generating an invalid URL:

Create a url with spaces in it

The URL is invalid because it contains an illegal character - a space that should be encoded as %20.

We could also be opening our users up to cross-site scripting bugs, because we are effectively letting them create any url they want. For example:

Create a url with ampersands in it

Here we are appending the ampersand (&) that the user entered directly to the end of the url, so rather than their text being passed to the server as the "q" parameter, we're letting them add other query string parameters (in this case, the "I'm feeling lucky!" button). The solution in this case is to encode the ampersand as %26.

The AntiXSS library

The AntiXSS library (currently at version 3.0 beta) has been built by the Microsoft ACE Security and Performance Team [ooops! By the Connected Information Security Group, sorry!]

The library provides two related functions:

  • Encoding methods to make text safe for a variety of contexts
  • An HttpHandler to automatically encode your ASP.NET controls

I'll cover the Security Runtime Engine HttpHandler in another post.

The encoding methods have been built using more robust and secure coding practices than the existing methods in the HttpUtility class of the .NET framework, so you should use them in preference when encoding your data.

public class AntiXss
{
    public static string HtmlAttributeEncode(string input);
    public static string HtmlEncode(string input);
    public static string JavaScriptEncode(string input);
    public static string UrlEncode(string input);
    public static string VisualBasicScriptEncode(string input);
    public static string XmlAttributeEncode(string input);
    public static string XmlEncode(string input);
}

You need to decide which context you're outputting text, and then choose the appropriate method to encode the text.

  • HtmlEncode - use for all HTML output, except for when you're adding text inside an attribute of a tag (e.g. use for <b>...</b>)
  • HtmlAttributeEncode - use for text that will appear inside attributes of tags (e.g. <a title="...">)
  • UrlEncode - use for text that you are appending as a value in a url query string (e.g. http://google.com/search?q=...)
  • JavascriptEncode - use when you want to put the string into a javascript variable (e.g. var foo = '...'). This method will also create the surrounding quotes.
  • VisualBasicScriptEncode - use if you're unlucky enough to be creating pages with VBScript on them
  • XmlEncode, XmlAttributeEncode - the XML equivalents of the above HTML methods

To use inline in your ASPX page, you can call the library methods directly:

<a href="foo.html" title="<%= HttpUtility.HtmlAttributeEncode(User.Name) %>">thing</a>

To use from your code-behind, decide whether your control outputs it's content as an attribute or in an html context, and then call the appropriate method:

Label1.Text = AntiXss.HtmlEncode(User.Name);

Deciding which context you're in and which encoding method to use is a major annoyance, so be sure to look at the Security Runtime Engine which does it for you. I'll write more about that in a future blog post, so please subscribe to my RSS.

Hopefully this article has helped you understand what encoding is; why you need to encode untrusted input and how that helps prevent cross-site scripting; and has given a little intro to the AntiXSS library.

Kirk

posted on Wednesday, February 25, 2009 3:57:16 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [1]
 Saturday, February 21, 2009


http://creativefreedom.org.nz/blackout.html

Join The New Zealand Internet Blackout to protest against the Guilt Upon Accusation law 'Section 92A' that calls for internet disconnection based on accusations of copyright infringement without a trial and without any evidence held up to court scrutiny. This is due to come into effect on February 28th unless immediate action is taken by the National Party

It's not about downloading illegal content. Copyright laws exist for a reason, and protect creators of content (and even users of GPL software). It's about laws that have been drafted foolishly and that reduce our rights.

Kirk

posted on Saturday, February 21, 2009 12:41:12 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, February 18, 2009

Developer survey from Microsoft. Each answer you put in displays a different cartoon reflecting your choice. Fill in the survey here.

image

posted on Wednesday, February 18, 2009 9:34:37 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]

I'll post the slides from my AntiXSS talk later, once I've cleaned them up. In the meantime, here's a couple of links:

I will post the slides later.

Kirk

posted on Wednesday, February 18, 2009 9:20:27 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Friday, February 13, 2009

The twitter "don't click" messages are spreading like wildfire. It's a relatively benign form of clickjacking (analysis here) that tricks you into click a button when actually you're click on a hidden button on the twitter site that posts a tweet.

I've talked about clickjacking in Wellington, Auckland, Christchurch and Nelson, and while I don't know of a fool-proof way to protect yourself against click-jacking, you should do what twitter have done (and what I suggested at those talks) and include some frame-busting javascript at the top of every page in your site. Details are here: Framebusting in Javascript

Frame-busting works by unwrapping your site from being hosted inside an iframe. It won't stop all click-jacking attacks, and it won't protect all users, but like many security mitigations it's about layering several 90% solutions on top of each other to protect your users and your websites.

Kirk

posted on Friday, February 13, 2009 9:02:39 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Thursday, February 12, 2009

It was a nice sunny day in Nelson yesterday, and it was nice to have a little look at the scenery afterwards (thanks, Daniel!).

I presented a similar "Overcoming your web insecurity" talk that I gave in Auckland recently [slides], and it was good fun diving in to some depth in the extra time we had... hopefully I managed to scare some people!

 

Next Wednesday at the Wellington .NET Users Group, Owen Evans (who also works at Xero) and I will be presenting two sessions.

Owen will be doing a LINQ Refresher to get us up to speed with the LINQ syntax for selecting, grouping, where-ing and more.

I will be talking about the Anti-XSS library, which is now in beta. The library is pretty cool and helps a lot with encoding data before it ends up on your website :)

More details of the event are here: LINQ Refresher, Anti-XSS and SDE Libraries

 

Hope to see you on Wednesday!

Kirk

posted on Thursday, February 12, 2009 10:09:55 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Friday, February 06, 2009

Oisín Grehan has a good list of the new cmdlets in PowerShell 2 (currently in CTP3 and the Windows 7 beta):

http://www.nivot.org/2009/02/04/DifferencesBetweenPowerShell10RTMAndPowershell20CTP3Win7Beta.aspx

It's cool having a list of all 106 new cmdlets, including such useful ones as:

  • Test-Connection (ping)
  • ConvertFrom/To-CSV
  • Start/Stop/etc Jobs in the background
  • Get-Random (useful for drawing prize winners at user groups!)
  • ConvertTo-Xml

PowerShell 2 has a bunch of cool new features, and feels like it's getting real close now :)

Kirk

posted on Friday, February 06, 2009 9:32:39 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]

I've got the afternoon off work this Wednesday 11 Feb, and am popping over to Nelson to present on web security (details below).

I hope to see you there!

Kirk

Daniel Ballinger wrote:
> Hi All,
>
> Kirk Jackson from the Wellington .NET user group will be in town on
> Wednesday the 11th of February and is giving a presentation.
>
> Title:
> Overcoming your web insecurity
>
> Abstract:

> As an ASP.NET developer, there are many things to think about while
> developing your web application. Come along to understand the
> fundamentals of developing a secure web application, and learn how to
> protect your site against the dangers of cross-site scripting, cross
> domain request forging and click-jacking.
>
> This session will be suitable for all levels of experience, and
> developers who use other web development platforms such as PHP or Java.
>

> Presenter:
> Kirk Jackson
>
> Useful links:
> http://pageofwords.com - Kirk's blog
>
> http://mscommunities.net.nz/ - The home of Microsoft communities in New Zealand
>
> When:
> Wednesday 11th February 2009
> Gather at 2:50 pm, starting at 3:00 pm.
>
> Approximately 1 hour 15 minutes plus pizza afterward.
>
> Where:
> FuseIT Ltd,
> Ground Floor,
> 7 Forests Rd,
> Stoke,
> Nelson
>
> (Off Nayland Rd and behind Carters)
> http://local.live.com/default.aspx?v=2&cp=-41.299774~173.236231&style=r&lvl=16&alt=-1000
> or
> http://maps.google.com/?ie=UTF8&om=1&z=17&ll=-41.299774,173.236231&spn=0.005239,0.010042&t=h
>
> If you are parking on site, please use the parks marked FuseIT that
> are at the back of the site.
>
> Giveaways:
> A single copy Microsoft Office 2007 Professional
>
> Catering: Pizza & Drinks
>
> Door Charge: Free
>
>
> RSVP to me if you are going to attend so I can guesstimate the food
> and drink requirements.
>
> However, feel free to turn up on the day though if you can't commit at
> the moment.
>
> Please feel free to invite anyone who may be interested in attending.
>
>
> Cheers,
> Daniel
>
> Daniel Ballinger
> Developer
> FuseIT ™

http://www.fishofprey.com/

posted on Friday, February 06, 2009 9:17:38 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, January 28, 2009

A story told through links to web2.0 sites that you know and love: http://blueful.com/

A clever way to tell a story, although it's a bit weird not having the urls hyperlinked.

(via the O'Reilly Radar)

posted on Wednesday, January 28, 2009 8:48:13 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Wednesday, January 07, 2009

Wired's Threat Level blog compiles their list of the top 7 technology-aided crimes of 2008: The Seven Best Capers of 2008

The list is quite a humorous read.

Some of the crimes are caused by the silliness of the affected business, so it almost seems mean to prosecute the criminal :)

posted on Wednesday, January 07, 2009 12:29:28 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Tuesday, January 06, 2009

Very cool. Mindscape have updated LightSpeed so that you can store your data in Amazon SimpleDB: What’s coming in 2009 from Mindscape?

Kirk

posted on Tuesday, January 06, 2009 11:55:23 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Friday, December 19, 2008

[Update: Ooops! I should check the links that I paste into my blog posts!]

On the Flickr devt blog they've got some interesting experiences when building their IPhone version of the site that apply to building any light version of a website:

  • Don’t Use a JavaScript Library or CSS Framework - roll your own
  • Load Page Fragments Instead of Full Pages - ajax in the changed content, rather than reloading the whole page
  • Don’t Build for Just One Device - all the world is not an iPhone :)
  • Optimize Everything - trim file sizes and compress content
  • Tell the user what is happening - load indicators

Read more on the Fickr blog.

posted on Friday, December 19, 2008 11:42:04 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [2]
 Wednesday, December 17, 2008

That trip turned out to be a bit of a whirlwind. Sorry I had to dash straight after the presentation!

The talk was an introduction to cross-site scripting (XSS), cross domain request forgery (CDRF) and clickjacking, and used a common theme of "never trust users" to show how trusting GET, POST, Cookies, Headers or other user supplied data could be your downfall.

I've already posted the slides to this talk from back when I presented at the Christchurch Code Camp: Overcoming your web insecurity

There's a new beta of the Anti-XSS library that you should check out when encoding your user-supplied data for use in HTML or attributes. At the same link is the new CAT.NET tool that analyses your code for weaknesses.

The Anti-XSS library now includes the Security Runtime Engine, which will help when encoding ASP.NET controls. I'll be posting about it here soon, so subscribe to my RSS feed :)

posted on Wednesday, December 17, 2008 10:19:01 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Thursday, December 11, 2008

This is very illuminating reading: Browser Security Handbook

The set of web pages cover the standard concepts within web browsers such as how they treat urls, javascript and css, and then covers security features within each browser, such as same-origin policies.

This is the first time I have seen information about all the browsers in one place, and should be a useful resource to both understand the browser protection mechanisms, and how browsers differ in their implementation of security controls.

posted on Thursday, December 11, 2008 11:39:15 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]

It's posts like this which are why I enjoy reading Ken Levine's blog ...by Ken Levine:

He's bleeding. Nurse, quick! Get me the Super Glue!!

Those sports stars are so clever...

posted on Thursday, December 11, 2008 11:16:39 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Tuesday, December 09, 2008

Just got back from sunny Napier, where I presented the seventh iteration of my Visual Studio Tips n Tricks talk. It's the last one I have scheduled, and 7 is the most I've repeated any presentation in the past -- it was quite nice to polish it that much :)

I think almost every tip is linked to in one of the following posts from my blog -- if not, leave a comment and I'll post it.

Cheers,

Kirk

posted on Tuesday, December 09, 2008 8:40:49 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Saturday, December 06, 2008

The SQL PASS Community Connection event is kicking off about now in Porirua (20 mins from Wellington). I'm not able to make it today, but I do plan to head along tomorrow.

Wake up, get up, and head on over!

posted on Saturday, December 06, 2008 8:05:06 AM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Friday, December 05, 2008

I'm in Napier presenting my Visual Studio Tips and Tricks talk to the Hawkes Bay .NET Users Group.

I think we're on at 3:30pm at the Taradale EIT Campus, but email me if you're thinking of coming, and I'll get you the info.

Kirk

[Update 8 Dec 2008: Added details below]

The session is at 3:30pm on Tuesday 9 December, at the following location:

Room C117
C-block (Computing building)
EIT (Eastern Institute of Technology)
Taradale end of Gloucester Street
Taradale, Napier

posted on Friday, December 05, 2008 10:29:04 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [0]
 Thursday, December 04, 2008

I spent some time browsing the Givealittle site while eating my lunch today, and I'm struck by how great an idea it is.

JD from Mindscape posted about how they built the site, which is of course how I ended up there :)

When I've donated money in the past, or wanted to give a gift of donation for a wedding, birthday or Christmas, I've always spent ages on Google trying to find the project that 'fit' with the recipient (Are they religious? Do they like animals? etc). Givealittle lets you browse a whole bunch of charities on one site, and even give vouchers which let people choose charities of their choosing.

There's other features of Givealittle which are good news for givers and charities too, reduced costs of transactions, transparency over where the money is spent, collation of all your receipts so that tax time is easier and more.

A fantastic idea, and a site that I plan to use this Christmas.

Kirk

posted on Thursday, December 04, 2008 1:04:26 PM (New Zealand Standard Time, UTC+12:00)  #    Comments [2]