1,085 reputation
518
bio website yourcodeisshowing.wordpress.c…
location Quebec City, Canada
age 36
visits member for 3 years, 5 months
seen 7 hours ago

Developer with 8 years experience. I work with J, C, C++, C#, SQLite, MySQL, VBA, and a bunch of other odds and ends.

On Twitter: @MPProg


Feb
16
answered What is the most effective way to add functionality to unfamiliar, structurally unsound code?
Dec
26
accepted What are the consequences of having unnecessary references and usings?
Dec
25
revised What are the consequences of having unnecessary references and usings?
edited title
Dec
25
comment What are the consequences of having unnecessary references and usings?
Cleaning using's is a built in feature of VS 2010 (I think 2008 too). And ReSharper can do the references too. But yeah, before I'd embark on any large scale cleanup, I'd look into using a tool to do this for me.
Dec
25
asked What are the consequences of having unnecessary references and usings?
Dec
23
accepted Pattern for user interaction and confirmation
Dec
22
revised Pattern for user interaction and confirmation
added 25 characters in body; edited tags
Dec
22
asked Pattern for user interaction and confirmation
Dec
10
accepted Exploiting creativity with “free time”
Dec
10
accepted Ordered enumeration: IEnumerable or Array (in C#)?
Dec
10
accepted Common practice for abandonware in SVN
Dec
9
comment Why is it impossible to produce truly random numbers?
@Brian So what we need is a chaos API to fetch numbers from that!
Dec
9
comment Why is it impossible to produce truly random numbers?
Outside the computer, is any random number ever truly random? Throw a die, it's physics with just a lot of vectors.
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
Damn, I'd totally forgotten my data structure class. Of course it doesn't affect later enumerations! I've covered myself in shame... :(
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
I do have a great, shameful lack of knowledge of how the enumerable pattern works. I guess that's why I'm here asking this.
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
1NF: "There's no top-to-bottom ordering to the rows." That's what's happening here, I think. There IS top-to-bottom ordering in logs, in lots of loose "collections". LINQ is designed to work on collections as if they were databases, but there can be top-to-bottom ordering, hence the contradiction I just saw.
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
Even then, the order could be implicit. That's the main issue I'm having. I understand that the concept of LINQ is to emulate database functions, and as per 1NF, records are unordered. Unfortunately, the real world is rarely 1NF.
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
An ordering method as an argument... Hmmm, interesting!
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
And I don't think extending IOrderedEnumerable will make me any fans. Some lists are already ordered (think a parsed log file, for example. The order is the line number, but there's no point to sort by it if it was read sequentially.
Dec
9
comment Ordered enumeration: IEnumerable or Array (in C#)?
And I fixed the list. Thanks for pointing it out.