Reputation
16,836
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 33 67
Newest
 algorithms
Impact
~523k people reached

Jun
26
reviewed Close How do the algorithms to solve problems encountered in interviews translate into real world solutions?
Jun
26
reviewed Close Versions of .NET in an Interview
Jun
26
reviewed Close What should my “large codebase sample” look like?
Jun
26
reviewed Close How important is it for a programmer to know how to optimize code, solve complex puzzles, answer technical questions quickly?
Jun
26
answered Automatic code correction, Good or Bad?
Jun
24
comment Communication between state machine and GUI
@user695652 not really, the callback function in my answer is an example of the observer pattern (if you squint a bit). All the patterns means is that there is a interface in the library that the gui implements and passes to the library to get called.
Jun
23
answered Communication between state machine and GUI
Jun
17
awarded  Generalist
Jun
11
revised Should private functions be held to the same standards as public functions?
edited tags
Jun
10
comment Directly query database vs. Using web service
The answer can be found in this question tl;dr: exposing your DB locks you to that DB and creates another vector of attack.
Jun
10
comment Can multiple synchronized methods in same object run concurrently
@Yeasir you can accept the answer by clicking the checkmark.
Jun
10
comment Can multiple synchronized methods in same object run concurrently
@Yeasir The thread will see that it already owns the lock on the object and just pass through the block after incrementing the owned counter. When leaving the method it will decrement the counter and release the lock if it hit 0.
Jun
10
revised Can multiple synchronized methods in same object run concurrently
deleted 4 characters in body
Jun
10
answered How to pick a random move/action/element non-probabilistically?
Jun
10
answered Can multiple synchronized methods in same object run concurrently
Jun
9
comment Is it possible to have currying and variadic function at the same time?
isn't that the job of reduce?
Jun
8
comment Is it possible to have multiple threads using Background Workers for different controls within one GUI
It may be worthwhile to change the way you render the data to using direct3D, then you just need to change the buffer content in the mainthread callback.
Jun
4
reviewed Edit Is there an issue with closing our database connections in the “Finally” block of a Try statement?
Jun
4
revised Is there an issue with closing our database connections in the “Finally” block of a Try statement?
Corrected indentation of code sample + clarified what ISO is
Jun
4
comment In Java, why does (unsorted) Set implement Iterable, but SortedMap does not?
I understood that Set (implicitly) disallowed duplicates while Collection does allow it.