Reputation
14,914
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
7 46 77
Newest
 Nice Answer
Impact
~538k people reached

7h
comment How to replace “{” and “}” except those inside a <style> tag?
Ok, now your code doesn't look like html anymore, is that deliberate?
7h
comment How to replace “{” and “}” except those inside a <style> tag?
Well, yes, I knew that. Are you running in a browser or on the server?
7h
comment How to replace “{” and “}” except those inside a <style> tag?
Where are you running this javascript?
7h
revised How to replace “{” and “}” except those inside a <style> tag?
added 48 characters in body
Apr
26
comment How does immutability remove the need for locks when two threads are trying to update the shared state?
@Stargazer712, its an implementation detail, but in my experience, the workers are usually launched in a thread pool and I've got some sort of future which uses a lock of some sort to implement its waiting logic.
Apr
26
answered How does immutability remove the need for locks when two threads are trying to update the shared state?
Apr
26
comment How does immutability remove the need for locks when two threads are trying to update the shared state?
Why are multiple threads needing to increment this number?
Apr
25
answered Does algorithm time complexity O(5) considered as O(1)?
Apr
25
revised How to retrieve policy after DP?
added 19 characters in body
Apr
25
answered How to retrieve policy after DP?
Apr
23
answered Can I safely ignore byte order in networking?
Apr
23
comment OOP design problem. Two kinds of empty Optional
@AmadeusDrZaius, you could either use the enum with optional, or multiple subclasses.
Apr
23
answered OOP design problem. Two kinds of empty Optional
Apr
22
comment OOP design problem. Two kinds of empty Optional
This is a funny hotel you are running :P
Apr
22
comment OOP design problem. Two kinds of empty Optional
What good does putting the order back in the queue do? Won't the reception just fail over and over again?
Apr
7
comment Are static global variables as bad as global variables? How to avoid using them?
So, the key might be changed by another thread at any time? What happens if you are in the middle of using the key?
Mar
30
awarded  Nice Answer
Mar
18
awarded  Good Answer
Mar
13
awarded  Nice Answer
Mar
12
answered Event-driven programming: when is it worth it?