Reputation
2,346
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
12 16
Newest
 Nice Answer
Impact
~73k people reached

Apr
10
comment Why does everyone use Git in a centralized manner?
@Luaan: Sounds like you aren't applying the feature branch strategy correctly. The merging process is supposed to go as follows: (1) Commit all local work into the feature branch. (2) Merge all trunk commits between the last sync point and trunk HEAD into the feature branch (this does not block trunk) (3) commit to feature branch (4) if trunk has advanced during 2, repeat 2-3 (5) conflict-free merge from feature branch into trunk. Using this pattern, your local changes are never blocked from being merged, and conflicts occur only to the developer who owns one of the involved branches.
Apr
10
comment Is there a name for “leak” of CPU usage?
One possible cause would be a callback leak : when an operation takes longer and longer, it can be because the data being processed becomes more complex and takes more time (but that isn't happening here because memory usage is constant), or because more and more logic is being added to the handler. If the data complexity IS growing, but computation is growing more quickly, that's poor scalability as Erik already commented.
Apr
10
comment Why does everyone use Git in a centralized manner?
No, people can definitely keep committing into the branch you're merging changes from, without interrupting your workflow.
Apr
10
comment Why does everyone use Git in a centralized manner?
Well, that still doesn't affect everyone, because conflict resolution is done in the working copy of the one person responsible for the merge. That's true of both SVN and GIT.
Apr
10
comment Why does everyone use Git in a centralized manner?
I find the main difference, when a central server exists, to be that GIT allows ongoing local versioning while the network is down, and SVN doesn't (some other version control systems are even worse, and stop all work when the network is unreachable, because they don't let you change a file until you check it out).
Apr
10
comment Why does everyone use Git in a centralized manner?
SVN merges also only affect the developers involved with conflicting changes. One commit makes it into the repo, no conflicting merge can go into the repo until the conflicts are resolved (you can also commit in parallel to a separate branch/path, but that doesn't actually conflict now does it?)
Mar
10
comment Is “truthiness” a legitimate programming term?
As (nearly) everyone knows, something is real if and only if its imaginary part is falsey.
Feb
15
comment Is functional programming faster in multithreading because I write things differently or because things are compiled differently?
Did you mean to ask about "functional programming" or "programs written in functional style"? Often faster programming doesn't yield a faster program.
Feb
11
comment Why do so many languages restrict string literals to a single source line?
@cat I also addressed the idea of having the different preprocessor design. Try reading the answer completely before commenting (and voting)
Feb
11
answered Why do so many languages restrict string literals to a single source line?
Jan
27
comment Should we avoid language features that C++ has but Java doesn't to increase maintainability?
I think there's already a question or two around here covering the FQA and correctness thereof. I can help look in a couple hours.
Jan
27
comment Should we avoid language features that C++ has but Java doesn't to increase maintainability?
The FQA author definitely falls into the "understand at most 20% of the language" group. Quite a few answers there that are factually wrong, and a whole bunch more that just miss the point, illustrated with strawman after strawman.
Jan
21
comment If I use locks, can my algorithm still be lock-free?
@supercat: That's pretty much what I said.
Jan
21
comment If I use locks, can my algorithm still be lock-free?
@Panzercrisis: So you think it is "Do what it wants, excluding acquiring any other lock"? That still doesn't meet any of the progress conditions, because you could begin waiting for I/O or any other condition that needs to be triggered by another thread waiting for the lock you are holding. "Do what you want" while holding a lock is a recipe for disaster.
Jan
21
awarded  Nice Answer
Jan
6
comment Should I avoid using unsigned int in C#?
@NathanCooper: ... "can't call APIs that use them from some other languages". The metadata for them is standardized, so all .NET languages that DO support unsigned types will interoperate just fine.
Dec
17
revised How to refer to ByRef and ByVal in a dropdown label?
added 31 characters in body
Dec
17
answered How to refer to ByRef and ByVal in a dropdown label?
Dec
14
comment Isn't the use of pointer variables a memory overhead?
That clarification looks good.
Dec
14
comment Isn't the use of pointer variables a memory overhead?
(Blog post showing the performance benefit: blog.juma.me.uk/tag/compressed-oops)