Reputation
282
Top tag
Next privilege 300 Rep.
Create new tags
Badges
2 16
Impact
~5k people reached

Dec
28
awarded  Popular Question
Apr
9
comment What are the absolute, minimal requirement for containing SE Asian charsets for an embedded system project?
Wow, clean-up some of the text of an old question any automatically the up-votes appear. This feels like karma-cheating...
Apr
9
awarded  Nice Question
Apr
9
revised What are the absolute, minimal requirement for containing SE Asian charsets for an embedded system project?
edited title
Mar
4
comment Team member questioning moving from VBA to C#
There are an unbelievable number of reason why I've come to the personal conclusion that you should run... run as fast as you can away from VBA. However, one of the best arguments that your users can understand is that since this code is contained in a spreadsheet, each time the file is copied, that is one more file that may need to be updated with fixes, which is a manual process. If, say, you find a major bug in 9 months, all affected files will need to be updated. This can become an impossible task if they are distributed on many OCs. For sanity-sake, bundle the app in a plug-in for Excel.
Nov
25
comment Function guaranteed to never return the same value twice
I know this question has been answered, and this comment will likely get buried, but the problem with such questions is that they are VERY subjective. The interviewer probably hopes to hear something specific but, honestly, you have no way of knowing what that is. I offer two suggestions for the future-- just because you can't provide the specific answers they desire for their relative questions, don't lose heart. Second, ask questions, questions, questions. You can't write any useful software without clear requirements. Therefore, demand requirements from the interviewer.
Oct
16
awarded  Custodian
Oct
16
reviewed Approve Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
Oct
16
accepted Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
Oct
16
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
FYI, my use-case relates to bitcoin. If you are unfamiliar, after all bitcoins are created, there will only be 21,000,000 and bitcoins cannot be divisible to any relevant value less than .00000001. In this context, you can store values in a decimal(8,16) field, but you will always be converting from a decimal. If you have a value in your db that you will need to pass back to bitcoin for bitcoin transaction, you will need to convert back to integer values. I recommended to always store the value as an integer, which started the argument.
Oct
15
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
Also, to be clear, calculations can result to values under 10^-8 but the result always evaluates to 0.
Oct
15
revised Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
added 320 characters in body
Oct
15
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
@ratchetfreak Consider such a case an error case and proper handling is out of the scope of this exercise.
Oct
15
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
@ratchetfreak I think the line "If a calculation results in value containing significant digits under the 10^-8 range, they are essentially 0." answers your question, does it not? all values, even intermediaries within multi-step calculations, must evaluate to numbers in the expressed range.
Oct
15
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
@gnat If a context is necessary (assuming this isn't moderately standardized) I'd say I'm using a SQL decimal type. Specifically MySQL. Integers are the same but can be of any standard byte-width (i.e. ints (4 bytes), bigints (8-bytes) even smallints,(2).)
Oct
15
asked Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
Aug
20
awarded  Popular Question
Jul
9
accepted When does it become mandatory to sign up with the Bluetooth Special Interest Group (SIG)?
Jun
28
comment How do functional languages handle random numbers?
Remarkable answer. I'm not a functional programmer but I do understand most of the concepts and I've "played" with Haskell. This is the type of answer that both informs the questioner and inspires others to dig deeper and learn more about the topic. I wish I could give you a few extra points above the 10 from my up-vote.
Feb
25
awarded  Caucus