19,702 reputation
44281
bio website madpropellerhead.com
location Finland
age 35
visits member for 3 years, 10 months
seen 13 hours ago

Creative hardworker.

Jack of all trades, master of none, though often better than master of one.


May
10
comment Do commercial statistical calculators calculate with a high degree of arbitrary precision or just floating point precision?
Yes, in practice vast majority of cases just work well enough as expected. But how many meaningful digits do you have after an arbitrary double FP calculation? "Probably enough", maybe, but what does that mean: 5 digits? 10 digits? 15 digits? Turns out, it's actually very hard to tell. Assessing and improving FP accuracy is still a research-level problem.
May
10
answered Do commercial statistical calculators calculate with a high degree of arbitrary precision or just floating point precision?
Apr
22
comment Java Communcation API not available for Windows
Well, it might be e.g. missing or wrong (x86/x64) binaries, I don't know. Yes, rxtx site is down. One of the alive ones seems to be java-simple-serial-connector. Have yo tried it?
Apr
22
answered Java Communcation API not available for Windows
Apr
18
comment Worried about memory leak in DLL that creates a dynamic sized array
Could it be the array[NumOfChar+1]='\0' that I mentioned in the comments? Why do you need to reload the DLL, couldn't it be just loaded once when the process starts?
Apr
17
comment Worried about memory leak in DLL that creates a dynamic sized array
By the way, array[NumOfChar+1]='\0' exceeds the array bounds. The maximum index is NumOfChar-1. If you null-terminate, you need to allocate NumOfChar+1 items to accommodate for the last null.
Apr
17
answered Worried about memory leak in DLL that creates a dynamic sized array
Mar
24
awarded  Nice Answer
Feb
26
comment Understanding the difference between mutable and immutable classes
equals() and hashCode() have noting to do with immutability. You can create immutable classes without overriding them. Your class may be mutable even if you override them and mark all fields final.
Feb
26
comment Is rapid prototyping incompatible with software requirements specification?
LVS appears to be The Latvian national standardisation body. LVS 68:1996 is a Guide for Software Requirements Specifications.
Feb
5
comment Workaround for Java checked exceptions
Also note that the Consumers in forEach may be executed in parallel fashion when using parallel Streams. A throwable raised from withing the consumer will then propagate to the calling thread, which 1) won't stop the other concurrently running consumers, which may or may not be appropriate, and 2) if more than one of the consumers throw something, only one of the throwables will be seen by the calling thread.
Nov
27
revised How to compare features of two curves?
added 153 characters in body
Nov
27
revised How to compare features of two curves?
added 153 characters in body
Nov
27
answered How to compare features of two curves?
Oct
4
comment Monitor screen size and programming ease
@17of26: Alt+Tab works for me.
Sep
18
awarded  Yearling
Aug
4
awarded  Disciplined
Jul
29
comment How Lua handles both integer and float numbers?
See also stackoverflow.com/questions/1848700/…
Jul
1
comment What would be a good name of practices you don't (usually) learn at university?
@Giorgio: Relevant and sufficient are two distinct things. Academic (CS) doctrine is (mostly) relevant for software development, but it's totally insufficient "in the real world". Anyone who has experience from both sides can confirm this, and I believe most academics have no problem admitting this either. It's just a different focus, not a question of superiority of "either side" or dismissing anyone, even though the tone of my writing could possibly be interpreted so.
Jun
30
comment What would be a good name of practices you don't (usually) learn at university?
@Giorgio: I agree with what you write. But did I write that "academic things taught at university are not relevant in the real world"?