Reputation
3,210
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
5 14
Newest
 Nice Answer
Impact
~175k people reached

  • 0 posts edited
  • 0 helpful flags
  • 32 votes cast
Aug
29
comment How to *detect* if open source software is used in a commercial product?
This might give you an idea, but someone who wanted to be sneaky could trivially alter the source so this wouldn't work; and someone who forgot to be sneaky could trivially produce other programs, with source, which would provide false positives.
Aug
22
comment Checking array size in C/C++ to avoid segmentation faults
The op's request is to help prevent trashing arrays allocated by C. The first step is to avoid bad practices such as losing track of what part of the program "owns" the memory in question. Writing code that uses an anonymous chunk of memory it is passed is laying landmines.
Aug
20
comment Checking array size in C/C++ to avoid segmentation faults
If you are in the habit of allocating chunks of memory then using parts of it in ad hoc ways that lose contact with the original pointer, you need better methodology.
Aug
19
answered Checking array size in C/C++ to avoid segmentation faults
Aug
19
awarded  Nice Answer
Aug
9
awarded  Yearling
May
24
answered How do I deal with the following technical issue?
May
22
answered How to determine if set of ordered coordinates form a simple curve?
May
21
answered Is it worth to rewrite the logic that already done client side on the server side or vice versa?
May
7
answered How to work on a program from any computer that is connected to the internet?
May
1
answered How to add a property to an object you can't change?
Apr
6
awarded  Nice Answer
Mar
15
answered Do bare computer systems (without OS installed) use (executable) files?
Mar
11
comment Enums in java switch-statements and completeness
Likewise, because classes are compiled independently, the enum class can be extended and recompiled long after the switch was compiled, which could create an undefined result if there were no default clause in the switch.
Mar
11
comment Enums in java switch-statements and completeness
enums can not only be null, but switch(enum) will get a null pointer exception if it is.
Mar
3
comment Java Start JNLP without paying to certificate authority?
Self-signed certs are just as effective, but not accepted. The only thing "real" certs certify is that you paid the cert authority.
Feb
11
answered Are websites hosted in distant servers slower?
Feb
4
comment Overriding equals() method in Java
Implementing equals and hashcode allows interning complex objects using hashtables.
Oct
8
answered Is it possible/good idea to reduce chance of crashing by catching Error?
Oct
5
answered How do I handle a spam server invalidating my tokens?