Reputation
9,300
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 29 42
Newest
 Good Answer
Impact
~158k people reached

Jul
21
comment Should the story points of stories created after splitting a story add up to the number of story points of that story?
"Story points" should never be treated like time. They are a measure of task complexity, not a measure of the time a task will take.
Jul
20
comment rand() gives same numbers again for a small range
Over a decade ago, I wrote a weighted playlist generator. I didn't use rand but I got complaints from people who were sure I was because they'd get two plays in a row, or something similar. I ended up making it deliberately less random in certain ways so people perceived it as random. (I couldn't shuffle because I was generating "infinite" playlists.)
Jul
20
comment rand() gives same numbers again for a small range
While it is true that rand() is a lousy RNG, it is probably appropriate for a single player game, and RNG quality isn't the issue here.
Jul
18
comment Should the story points of stories created after splitting a story add up to the number of story points of that story?
If you split one task into 25, it is highly doubtful that you'll complete all 25 in the time the original single task would take as there are often efficiencies at doing things all at once. For instance, it will probably take less time to add two fields to a form and then test than it would to add a field to a form, test, add another form to a field and test again.
Jul
16
comment Is there a standard way to indicate that a function returns a new pointer?
Sorry for the snark, but you really should just not allocate pointers without having some method that ensures that they will be deallocated that doesn't rely on the coder remembering.
Jul
15
comment Is there a standard way to indicate that a function returns a new pointer?
Yes. // TODO: Fix allocation of raw pointer.
Jul
13
awarded  Good Answer
Jul
12
answered Modular programming practices
Jul
12
revised Why does Python need both a compiler and an interpreter?
Removed a line that seemed too personal, and added no information to the answer
Jul
12
comment Modular programming practices
Is this some sort of networked, multiuser application where you have to worry about cheating? When you say you want to abide by the principle of least privilege, are you talking about the actual objects themselves?
Jul
5
comment When should you avoid iterative and incremental development?
A distinction should be made between a prototype that is intended to be thrown away after the "real" version is designed and a "prototype" that is intended to be a seed of the final application.
Jul
1
comment Should I automatically install needed modules?
It may be assuming too much to assume that a to a non-technical user, pip is something you run "simply".
Jun
27
reviewed Approve Mnemonic for always overriding equals when you override hashCode?
Jun
27
revised git workflow: read access + pull request or write access?
added 8 characters in body
Jun
27
answered git workflow: read access + pull request or write access?
Jun
26
comment Minimizing compression overhead in a simple compression algorithm
unicode.org/notes/tn31
Jun
25
comment Benefits of this data format
My guess is that the the original developer wanted to transmit only ASCII for some reason and also wanted to limit it to a fixed number of bytes. (Since what you describe will always be two bytes per number.) But that's just a guess.
Jun
18
comment I wrote a Python Switch statement
Yes, but the point is that your code does not actually do anything.
Jun
18
revised I wrote a Python Switch statement
Added lambda vesion
Jun
18
answered I wrote a Python Switch statement