4,852 reputation
1123
bio website
location
age
visits member for 3 years, 6 months
seen yesterday

May
23
awarded  Good Answer
May
8
answered Avoiding the Grid of Doom™ in Git-Flow
May
8
comment Avoiding the Grid of Doom™ in Git-Flow
Ah, so your problem is that you're merging every hot fix two or three times? (First to master, then to develop, lastly from develop to master again)?
May
8
comment Avoiding the Grid of Doom™ in Git-Flow
So it seems like the activity in that graph is mostly the very frequent merges from develop, and nothing to do with hotfix branches?
May
8
comment Avoiding the Grid of Doom™ in Git-Flow
What are all those Merge branch 'develop' commits though? The bottom merge is from one of the hotfix branches you mentioned, so what are the others?
Apr
16
comment Handling source code table alignment
What is the actual problem with having the whitespace changes in your changeset alongside the functional changes, if you don't see them anyway? You don't have more patches/changesets, and they aren't less clear AFAICS.
Apr
15
revised How to share memory between applications written in C/C++
added 685 characters in body
Apr
15
answered How to share memory between applications written in C/C++
Apr
15
comment Difference between a socket and a port
The problem here is that your analogy is wrong. Forget what a socket means in the physical world - it's not a metaphor for something else, just a technical term for a specific technical software concept. It isn't even strongly related to physical network ports or sockets - you just have to understand it, in this domain, as a concept on its own terms.
Mar
24
comment Alternative to goto-statement in this case?
Which also gets you a hard-to-reason about chain of negatives, nowhere to put any condition-specific logic or logging, and some free indentation. It's fine in the case shown, but IMO scales poorly as the number (or complexity) of conditions grows.
Mar
12
comment in C++, how to call an 'init' routine as a class is loaded?
Sure, but stuff like the layout of STL types isn't specified as part of the ABI, which is problematic when STL code expecting different layouts is inlined in different modules.
Mar
10
awarded  c++
Mar
9
revised Why aren't `void *`'s implicitly cast in C++?
added 684 characters in body
Mar
9
answered Why aren't `void *`'s implicitly cast in C++?
Feb
27
comment How to avoid violating one definition rule in this case?
Well, only one of the two will link successfully, but you can't control their build system.
Feb
23
comment Question on RC4 algorithm
Your original quote doesn't seem to contain the word character, so where did that come from? Just stick with byte, or use octet for perfect clarity.
Feb
23
comment Question on RC4 algorithm
Each of the 256 elements of the array contains a (different) value also in the range [0,255]. So, the array provides a bijective map from [0,255] onto itself. Any bijection from a set onto itself must also describe a reordering, or permutation, of that set.
Jan
24
comment Situations when O(n^2) better than O(n*log(n))
Yes, but naive pivot selection means you're more likely to get worst-case performance
Jan
13
answered Facing MemoryError in Python
Jan
8
answered How to make max-heap stable with counter and account for counter overflow?