November 25, 2009
3 min read
Other
Today i was reading an article on the Sydney Morning Herald website by one of their travel bloggers. In it they asked the question “Have you noticed that backpackers tend to talk about the same things to world over?” and it got me thinking something that i used to think quite a bit: “Are most conversations that people have the same ones everyday?”. A lot of developers I've worked with definitely fit this statement.
November 17, 2009
2 min read
MS SQL
Recently I was working on a project where I had to return a simple list of products, and if they had images associated with them, return information about only one along with the product. Times like these, a simple left join or inner join just doesn’t cut it if there are more than one image/record per product. When this happens there is almost always a simple solution, so let’s take a look.
November 10, 2009
2 min read
C#
There are times when you want to read a text file that is in use – or as i have had many times, code you have recently execute hasn’t fully let go of the file when you go to read it – when you copy something to a directory and the AV scans it or any other times when you want a file’s contents but don't want to have to worry about locks.
October 28, 2009
3 min read
General banter
It’s official kids, November, the month of the moustache, is going to be my month of the moustache as well. I am taking part in the fundraising event known as Movember (http://au.movember.com/) in which i will rejoice in the god given right of growing a porn star moustache. Movember is an international cause to raise money and awareness for Prostate Cancer and Male Depression. Time to get involved!
October 25, 2009
3 min read
C#
Well this week i started work on my new development machine – a 64bit Windows 7 machine mmmm tasty. Everything has run perfectly smoothly until i hit one weird little issue. While attempting to generate a new data layer for a SQLite database using Subsonic i received nothing but errors – Another simple fix which I'll show you in this post.
October 21, 2009
6 min read
General banter
I was recently read a blog post recently by Eric Spiegel, that made it to Slashdot where he asked the question: “Are software developers naturally weird?”. I think deep down everyone who works in IT is a bit weird, and i will repeat Eric’s remark: “Go on admit it”. Whether it is something tiny or their complete character, you can usually put your finger on something out of the ordinary. My REAL question is: Is everyone weird in some way once you get close to them?
October 18, 2009
3 min read
RegEx
While working on a recent Flickr/Google Maps mashup i needed to make it as simple for users to share their Flickr photos as possible. What is easier than simply asking them to enter the Flickr photo page URL? Using this I'll show you a simple way to use RegEx to retrieve the photo ID part of the URL using c# as well as a JavaScript RegEx version for your ASP.Net RegEx validators. Lets get to it!
October 12, 2009
3 min read
ASP.Net
ASP.Net Script Services and Web Services are an incredibly powerful tool for providing rich dynamic sites using AJAX. As good as they are, there are times when you want to access them in alternate ways. Combine JQuery, JSON and ASP.Net Web Services and you have a combination that rivals the A Team – lets take a look.
October 7, 2009
7 min read
C#
If there is one blogging related tool that I've come across lately that i think has been a game changer it would have to be Windows Live Writer. However some people are using either a custom written blog engine (like me) or are using a blog engine that doesn’t support Live Writer. If that is the case i will show you a simple way to integrate Windows Live Writer support into you blog with WebServices and the MetaWebLog API.
October 2, 2009
5 min read
ASP.Net
There are times when the invention that we all call E-mail just doesn’t cut it for sending information securely. It is because of this that in every case where information really needs to be sent securely E-mail is not usually the medium chosen to send it. As most developers know though there are times when you have to bite the unsecure E-mail bullet. I’ll show you a way to solve this conundrum and at the same time probably keep your current e-mail client.