Reputation
9,848
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 21 43
Newest
 Nice Answer
Impact
~510k people reached

Dec
9
awarded  Nice Answer
Dec
8
answered What do you use string reversal for?
Dec
7
answered What is the one bit of computer science theory I should know?
Dec
7
answered Do you have your own 'misc utils' library? What part are you most proud of?
Dec
5
answered What's so bad about creative coding?
Dec
2
comment How to slow down your computer (for testing purposes)?
@Joonas: I rely on the random-pause method of "profiling", and one thing I've found useful is this: Create a data-watch breakpoint in the program. That seems to cause the IDE to either emulate or interrupt after every instruction, which slows it down by 1-2 orders of magnitude, making it easier to pause and see what's happening. I don't do this a lot, but sometimes it's useful.
Dec
2
comment How to slow down your computer (for testing purposes)?
@Darknight: I think @Joonas is asking a very sensible question. The idea that just "changing your coding habit" is sufficient is not realistic. Here's an example: (stackoverflow.com/questions/926266/…) AND, the idea that you can just time it on a slower machine without an IDE assumes that's enough to find performance bugs. Lots of people talk about profiling, but doing it (successfully) is another matter. What would really help me (& others I think) is what Joonas is asking for.
Dec
1
comment What programming language generates fewest hard-to-find bugs?
++ Race conditions. You can say that again.
Dec
1
comment What's the idea behind defining rectangles with two points?
@Barry: That makes sense, since it used XOR a lot, and if you're stringing lines together, you want them to connect without a missing pixel where they meet. I actually published a siggraph paper on filling polygons, considering both coordinate systems.
Nov
30
answered What's the idea behind defining rectangles with two points?
Nov
30
comment How bad can it be to lack teamwork when you are a programmer?
@Helper: Yeah. What I didn't say is that it goes back to low again as you start the next phase :)
Nov
29
answered What popular “best practices” are not always best, and why?
Nov
29
comment Which useful alternative control structures do you know?
@Steve314: I think focussing on optimization is not the real point. IMO, the whole point of control structures is permitting certain kinds of programs to be written more clearly with less source code, although at the same time, it requires the reader to learn something they might not have, yet.
Nov
29
comment Which useful alternative control structures do you know?
++ Yeah. Back in the 70s, backtrack programming was big in AI, and continuation-passing was the way to do it. When backtrack could be controlled (because it was easy to take exponential time) it was very useful.
Nov
29
revised Which useful alternative control structures do you know?
edited body
Nov
29
answered Which useful alternative control structures do you know?
Nov
29
comment How bad can it be to lack teamwork when you are a programmer?
Very interesting observations. Thanks.
Nov
29
revised How bad can it be to lack teamwork when you are a programmer?
deleted 2 characters in body
Nov
29
answered How bad can it be to lack teamwork when you are a programmer?
Nov
21
comment Will high reputation in Stack Overflow help to get a good job?
@Frank: Right, but one thing I seriously like about these forums or whatever they are - you get to argue/agree/learn from people from all over the globe.