8,005 reputation
12837
bio website hewgill.com
location Auckland, New Zealand
age 44
visits member for 3 years, 10 months
seen 17 hours ago

Software geek.

Twitter: @ghewgill


Jul
21
comment Program that calculates and displays resistance
@tcrosley: I had a look on Amazon, they had the C# book, and r2 was definitely uninitialised exactly as given in this question.
Jul
20
comment Program that calculates and displays resistance
If you knew what the value of r2 was, this would not be a programming problem but an arithmetic problem. Isn't the question to write a program that does the calculations as given and displays the results? (I'm not saying that this is a good question.)
Jul
4
awarded  Guru
Jul
3
comment How does the “Fourth Dimension” work with arrays?
@Manu343726: I carefully said Programs, not Computers. That's one of the great things about software.
Jul
3
awarded  Enlightened
Jul
3
awarded  Good Answer
Jul
3
comment How does the “Fourth Dimension” work with arrays?
@RichardTingle: Sorry, perhaps my notation wasn't clear. Each tuple represents an array element, and the numbers within the tuple represent the coordinate of that element. It looks like you're thinking of a notation for representing the actual array contents.
Jul
3
awarded  Nice Answer
Jul
3
comment How does the “Fourth Dimension” work with arrays?
@ColtonAllen: I'm not quite sure what you're referring to. The definition of dimension says "Roughly speaking, it is the number of coordinates needed to specify a point on the object." An array declared in C as int a[2][2][2]; would be a 3-dimensional array.
Jul
3
comment Why do programmers still use “SAFE_DELETE”?
For some reason there is a considerable amount of superstition surrounding NULL checks with delete and free(). I suspect the fact that these checks are harmless make them justifiable in the minds of those who haven't read the documentation.
Jul
2
answered How does the “Fourth Dimension” work with arrays?
Jun
26
comment Understanding the differences: traditional interpreter, JIT compiler, JIT interpreter and AOT compiler
Why led you to believe there is a distinction between "JIT compiler" and "JIT interpreter"? They're essentially two different words for the same thing. The overall concept of a JIT is the same, but there are a wide variety of implementation techniques that can't be simply divided into "compiler" vs "interpreter".
Jun
24
answered How to handle versioning with multiple independent pull requests in a Git repository?
Jun
24
reviewed Approve suggested edit on How to handle versioning with multiple independent pull requests in a Git repository?
Jun
16
revised Research on common problems that people have when learning programming?
formatting
Jun
12
revised Best strategy to discover a web service in a local network?
added 22 characters in body
Jun
12
comment Can I save & store a user's submission in a way that proves that the data has not been altered, and that the timestamp is accurate?
@jt0dd: Well, if you create your own timestamped data with no third party involvement, it's unlikely that anybody else would have a reason to believe you if the validity of your timestamp were called into question. However, distributed methods (such as storing a hash inside a cryptocurrency block) rely on distribution of the information but do not rely on a single (or specific) third party.
Jun
12
answered Best strategy to discover a web service in a local network?
Jun
12
comment Can I save & store a user's submission in a way that proves that the data has not been altered, and that the timestamp is accurate?
@jt0dd: The EU maintains a Trusted List of Certification Service Providers, which would be a good starting point.
Jun
12
answered Can I save & store a user's submission in a way that proves that the data has not been altered, and that the timestamp is accurate?