January 2012
7 posts
I Heart Chaos: Fun with math: Dividing one by... →
iheartchaos:
There’s all sorts of magic to be had with numbers, and many mathematicians have made entire careers in finding these little tricks that are mostly useless, but fun anyway. Unfortunately, a lot of calculators are going to truncate the results of this trick, but if you manage to get a hold of…
3 tags
Never to be caught out again...
Posting this here so as to reinforce my memory, so I never miss this again.
LINQ errors that make no sense and the build error: “Cannot convert lambda expression to type ‘string’ because it is not a delegate type” = missing “using System.Linq;”
3 tags
First look: Bitcasa Infinite Storage
I just got an invite to Bitcasa today, so I used it to sign up and get my infinite storage and got 10 invites to share (below).
Installed fine on both OSX (beta) and Windows (alpha), although I’d say the Windows installer needs cleaning up a bit, as it launches two separate installers (MS C++ redist and Doken).
To upload your files to Bitcasa, you just right click a folder and select...
2 tags
Adding a minimum length constraint in SQL Server
This might seem fairly obvious, but using Len(ColumnName) can give unexpected results, as it returns the number of characters in a string instead of the number of bytes, i.e. it trims the text before it counts the characters. More details on that here.
To create a minimum length constraint, open up your table, right click Constraints and select New Constraint. Then enter something...
1 tag
Crunch.co.uk referral code
We’ve been using Crunch Accounting for the last 3 months and I think they’re great.
If you use code skweejr9uv when you sign up, you and I will both get £25 in Amazon vouchers.
3 tags
SQL Server 2005 maintenance plan fails and service...
I needed to setup a maintenance plan for a client to backup their databases and remove backups older than 4 weeks. They run SQL Server 2005, so I created the maintenance plan with a Back Up Database Task and a Maintenance Cleanup Task to remove the old backups, which is straightforward enough. When I tried to test it however I got the error: “Unable to start execution of step 1 (reason:...