Browse by Tags

Useful C# method for unit testing
16 July 09 02:37 PM | Avi Pilosof | 3 Comments   
I’m unit testing a UI that needs to show some lists in various sorted orders, and I wanted to ensure that my tests would cover that. I found this method to come in handy:   1: public static bool IsOrderedBy<T>( this IEnumerable<T> coll, Read More...
Filed under:
Live Mesh Applications – whoah.
17 February 09 08:52 AM | Avi Pilosof | 1 Comments   
I’ve been playing with Live Mesh for a long time now, and have been loving it. During this time I’d been hearing about applications for Live Mesh, and while it sounded interesting in theory I didn’t really get what the point would be. Then I watched this Read More...
Be Paranoid. Be Very Paranoid.
03 December 08 01:29 PM | Avi Pilosof | 2 Comments   
Do you maintain an application with a backend database? Does that application ever write to the database? Be afraid. The worst situation to be in with respect to the above is when a customer mails you and says: “Why is my data gone?” 99% of the time, Read More...
Trivial but useful extension method
30 September 08 04:34 PM | Avi Pilosof | 3 Comments   
Don’t know why I didn’t write this before; it makes code very readable. Often when you write anything graphics related, you want to constrain coordinates to window edges (for example). So a simple method: 1: /// <summary> 2: /// Ensure that the Read More...
Filed under:
On using Arrays
23 September 08 11:52 AM | Avi Pilosof | 0 Comments   
Eric Lippert has a great article on arrays: http://blogs.msdn.com/ericlippert/archive/2008/09/22/arrays-considered-somewhat-harmful.aspx   I think this is especially useful to consider if you’re writing an API. Consider not just arrays, but any time Read More...
Code commenting? Try Business Commenting.
25 July 08 02:12 PM | Avi Pilosof | 16 Comments   
Jeff has a good post here about code comments and that they shouldn't be used as crutches: Coding Horror: Coding Without Comments I agree with the article, but one thing I rarely hear mentioned is that it's often more interesting to comment the business Read More...
Filed under:
Australia is going to France!
08 July 08 11:59 AM | Avi Pilosof | 0 Comments   
(Bonus points for misleading title) The Australian Team SOAK just made it into the finals of the Imagine Cup. They were one of the 6 teams chosen in the Software Design Category. This year's theme was "The Environment", and Team SOAK has written software Read More...
Filed under:
It's all just a clock measuring contest...
04 July 08 09:13 AM | Avi Pilosof | 6 Comments   
Did you know that SBCL is now faster than Java, as fast as Ocaml, and getting better ?! What does this mean for you? Most likely, nothing. They have various benchmarks that are used to measure the speed of a language implementation; and I think it's a Read More...
Can Software be Reliable?
27 June 08 05:21 PM | Avi Pilosof | 1 Comments   
Just read a post (permalink is broken) regarding how software engineering is nowhere near the level of quality as traditional engineering, partially because we don't have standards, regulations, etc. While I agree with some of the argument, people often Read More...

Search

This Blog

Syndication

Page view tracker