2,296 reputation
1215
bio website
location Las Vegas, NV
age 49
visits member for 4 years, 2 months
seen 18 hours ago

I can be reached at lorenpechtel @ hotmail . com


2d
comment Can a process that needs 15 MB run given a machine with 10 MB of physical memory and 10 of virtual?
Many years ago I ran into a bug that ended up locking more and more memory into physical memory. The machine limped on with the ever-decreasing pool of useable memory until it became completely useless. Investigating it once I did a three-finger salute and it didn't respond--before I hit the power switch I got called away. Several minutes later I came back and saw that it had responded--it was nowhere near done responding to my command. That's what can happen when the ratio gets extreme.
Dec
10
answered Is there ever a reason to use an array when lists are available?
Dec
4
comment Which are the cases when 'uint' and 'short' datatypes are a better fit than the standard int(32)?
@leftaroundabout Two cases come to mind: Bulk memory copies and cases where the smaller data set fits in cache but the bigger one doesn't. Only the latter is likely to be meaningful in the real world.
Nov
19
comment When did the term “snake case” come into use?
+1 for the idea of a screaming snake.
Nov
1
comment Safe serial numbers generation
Alternately, use only one of the pair of offending letters but internally map them to a single character. This gets a slightly higher information density in your serial number without causing the confusion.
Oct
17
awarded  Yearling
Oct
10
awarded  Guru
Oct
7
comment If we have TDD and BDD why do we need QA for?
Neither TDD nor BDD is of any use at all in finding the cases that were missed. In my experience most bugs that don't get swatted at once come down to this.
Oct
3
comment Simple method for reliably detecting code in text?
Another pattern: ()
Sep
25
answered Is there ever a reason to do all an object's work in a constructor?
Sep
24
awarded  Autobiographer
Sep
21
comment What is more efficient, a single square root or multiple divisions?
I suspect that's a matter of running out of registers.
Sep
18
comment Why do some languages round to the nearest EVEN integer?
@Profpatsch You could never accept random rounding in most situations because it means a non-deterministic result. For a game or simulation, though, it sounds like a good idea.
Sep
16
comment The importance of duplicate code removal
@IulianOnofrei I was making a joke about a question about duplication being marked a duplicate.
Sep
16
comment The importance of duplicate code removal
It's like the importance of duplicate question removal!
Sep
15
awarded  Guru
Sep
15
awarded  Good Answer
Sep
15
awarded  Enlightened
Sep
15
awarded  Nice Answer
Sep
14
answered Why do some languages round to the nearest EVEN integer?