1,034 reputation
38
bio website hackcraft.net
location Dublin, Ireland
age 39
visits member for 3 years, 5 months
seen 14 hours ago

When not programming I spend much of my free time avoiding the task of writing bios.


May
21
awarded  Nice Answer
May
20
comment Short circuit evaluation, is it bad practice?
I see nothing wrong with if(TryThis || TryThat).
May
20
comment Short circuit evaluation, is it bad practice?
@linac now putting something on the right-hand-side of & or | to make sure a side-effect happens is something I'd say certainly is bad practice: It won't cost you anything to put that method call on its own line.
May
20
answered Short circuit evaluation, is it bad practice?
May
20
answered Where should my team start with becoming “modern”?
May
20
comment Where should my team start with becoming “modern”?
The reason normalization is called normalization and not normalizing or something else, is that at the time it was a topical joke to stick -ization on the end of things to make fun of the name of Richard Nixon's Vietnamization policy to increase training and equipping of South Viet Nam's troops while reducing the number of US troops in Viet Nam. This shows how "modern" normalization is.
May
14
awarded  Quorum
May
6
answered Is my usage of explicit casting operator reasonable or a bad hack?
Apr
21
comment Big O Question about an algorithm with (n^2 + n) / 2 growth rate
@BenVoigt I've yet to come across one with the same rhetorical impact as this had when I first read it; it's not originally mine, I stole it from Eric Lippert, who may have originated it or may have taken it from someone else. Of course it references jokes such as "π equals 3 for small values of π and large values of 3" which is older still.
Apr
20
answered Big O Question about an algorithm with (n^2 + n) / 2 growth rate
Apr
2
revised Does path coverage guarantee finding all bugs?
No need to lampshade-hang
Apr
1
comment How do I find a good middle way to make this library safe for concurrent operations
Oh, does the use mean the instance gets shared by SignalR Hub? (I don't know SignalR at all). That would make it fall into the case in my second last paragraph above. In that case I'd still recommend not locking on this though, just as general good practice.
Apr
1
comment Should I always throw the most specific or should I try to generalize exception types?
@Doval though there are arguments for and against allowing LibrarySpecificException to pass through and then documenting the method as throwing FrameworksCommonException that it is derived from.
Apr
1
answered How do I find a good middle way to make this library safe for concurrent operations
Apr
1
comment Best way to define, start and stop threads in C#
I'm guessing it's a sort of pre hoc ergo propter hoc thing; a system has performance problems and because of that it runs at high CPU utilisation while not getting stuff done, then improvements mean that it runs at low CPU utilisation while delivering more actual work per second, (just as a massive increase to your analogous factory's efficiency could result in both more output and more idle time) and the resultant low CPU utilisation is seen as a symptom of the performance rather than a symptom of the efficiency.
Apr
1
comment Best way to define, start and stop threads in C#
"maximum performance (as low CPU usage as possible" Which, maximum performance or as low CPU usage as possible, those are exactly the opposite thing.
Apr
1
answered Should I always throw the most specific or should I try to generalize exception types?
Apr
1
answered Back button after doing posts on the same page
Apr
1
comment Why do we keep using CSV?
I've certainly wasted hours of my life dealing with badly formatted attempts at CSV, but I've also wasted hours dealing with badly formatted attempts at JSON and XML too.
Apr
1
comment Who coined the term “performant?”
Samuel Taylor Coleridge is the first attested use, in 1809.