12,735 reputation
22451
bio website
location
age
visits member for 3 years, 5 months
seen 4 hours ago

Dec
3
comment Locating playback position of audio track
fuzzy string search might be useful here
Dec
2
comment How exactly does a program (executable image) and library (pre-compiled image) “link” together?
dynamic library are linked by a list of jmp instructions so when calling a dynamic function you end up at the jmp which forwards to the actual code, the loader will fill in the jump list on load
Dec
2
comment How exactly does a program (executable image) and library (pre-compiled image) “link” together?
just the same way it links normal object files together, cause that's all static libs are, a collection of object file packaged together
Dec
2
comment Is it possible to check a client side application identity from server side?
you hit upon a classic problem in gaming, hacked clients and how to prevent them access, best way is to not trust the client at all
Dec
2
comment Verbose or concise logging
you'd think all logging is useless until you need a certain bit of info that didn't get logged
Nov
30
answered Search Substring in String collection
Nov
30
comment Search Substring in String collection
you want a string searching algo? check boyer-moore and variants
Nov
29
answered Find product using summation C# Problem?
Nov
29
comment How to choose a code style for C++
more important the choosing a good style is being consistent in following it
Nov
29
comment Evaluate all pair combinations in an array for a condition in n log n time complexity
@Neil if you step away from Big O then you are doing profiling. doing theoretical profiling is a exercise in futility because it depends on too many thing that are impossible to control
Nov
28
comment Semantic versioning when fixing an important bug
so in the new version people shouldn't care about the return value of next() only that is moves the pointer, this really doesn't break compatibility
Nov
28
comment Evaluate all pair combinations in an array for a condition in n log n time complexity
@Neil even n as low as 100 gives a big difference
Nov
28
comment Evaluate all pair combinations in an array for a condition in n log n time complexity
@7Aces I found a better approach see my edit
Nov
28
revised Evaluate all pair combinations in an array for a condition in n log n time complexity
added 233 characters in body
Nov
28
answered Evaluate all pair combinations in an array for a condition in n log n time complexity
Nov
22
answered Intersection of geometric entities
Nov
21
comment Study on designing user prompts (choice of wording, response format, etc.)
UX.se is the site where you can ask advice on this
Nov
21
comment Technical reason of why you need to use Class::static_method() instead of Class->static_method() in PHP
it imitates C++ in that; it has 3 different ways to invoke methods: the dot for references and values, the arrow for pointers and the double colon for statics
Nov
21
comment How is MTU determined and can it be changed
MTU is defined in the link level by the bluetooth standard, and BT is designed to be low bandwidth (80kb/s-2Mb/s) anyway
Nov
19
comment What is the difference between string.c_str() and &string[0]?
@clickstefan the C++98 standard allows strings to share the internal array and have other strings point to a substring (which can't be null terminated), when that substring needs the `c_str()´ it will need to allocate it's own copy and add the terminator. and since it just allocated the array it will then be able to use that as its internal array.