8,137 reputation
1920
bio website
location Mid-Atlantic NorthAm
age 52
visits member for 3 years, 11 months
seen 3 hours ago

Software by day, hardware by night, beer on the weekends.


Sep
9
reviewed Approve suggested edit on Should every member of scrum team be universal?
Sep
8
answered Is it correct to keep version numbers of all components always the same?
Sep
8
comment Domain model associations that do not required the behaviour of the associated object. How to model?
The invoice is a record of a transaction between a supplier and a customer. At the very least, the invoice needs to be able to get the names of the supplier and the customer when it prints itself.
Sep
8
answered Domain model associations that do not required the behaviour of the associated object. How to model?
Sep
8
answered Is there any logical reason to auto-generate code documentation?
Sep
3
answered Can we use `a <= x <= b` to check if `x` is between `a` and `b`?
Aug
5
comment Specific reasons why a top left origin is better/worse than a bottom left origin for computer graphics
Maybe because the results of trig functions all return positive values in quadrant 1, so you don't need to transform coordinates? I haven't used trig for a long time, but I seem to recall something like that.
Aug
1
answered Write data to SQL Server directly from BizTalk or use external service?
Aug
1
comment Why Increment Pointers?
@CharlesWood: The alternative is to use the length of the string as the loop control variable, which means traversing the string twice (once to determine the length, and once to copy the characters). When you're running on a 1MHz PDP-7, that can really start to add up.
Aug
1
comment Why Increment Pointers?
@INdek: You'll only get a segfault if the memory you're trying to access is protected. Most operating systems assign protection at the page level, so you can usually access anything that's on the page your pointer starts on. If the OS uses a 4K page size, that's a fair amount of data. If your pointer starts out somewhere in the heap, it's anybody's guess how much data you could access.
Jul
30
answered SOAP message testing
Jul
30
reviewed Approve suggested edit on Client-side coding: How to prevent malicious use?
Jul
25
answered How should I approach storing single boolean results for a whole table?
Jul
25
reviewed Approve suggested edit on Why would programmers ignore ISO standards?
Jul
25
answered In a large statically-typed software project with non-dynamic manual sql statements inside of it, how do you verify all the sql syntax?
Jul
25
reviewed Approve suggested edit on Why is polling accepted in web programming?
Jul
24
comment Does it make sense to break fluid interface if a bad argument is passed?
I think the word you want is "fluent" interface, not "fluid".
Jul
24
comment Is it allowed to distribute a program which source code is under Ms-PL to paying customers?
Consider: if you're distributing it, you'll be expected to provide support for it. Meaning if your customers have any problems with it, they'll call you instead of calling MS or searching the MSDN forums. Telling them "Oh, that's not ours, check with MS" may not go over well.
Jul
22
comment When I test out the difference in time between shifting and multiplying in C, there is no difference. Why?
@Bergi: I'm guessing he means that both shift and add are single machine instructions. You'd have to look at the instruction set documentation to see the cycle counts for each, but yes, an add is often a multi-cycle operation whereas a shift is usually performed in a single cycle.
Jul
22
comment When I test out the difference in time between shifting and multiplying in C, there is no difference. Why?
@NicholasFolk: Optimizations at this level are almost always obscured or rendered moot by the CPU architecture anyway. Who cares if you save 50 cycles when just fetching the arguments from memory and writing them back takes over 100? Micro-optimizations like this made sense when memory ran at (or close to) the speed of the CPU, but not so much today.