Reputation
1,497
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 16
Newest
 Informed
Impact
~155k people reached

  • 0 posts edited
  • 2 helpful flags
  • 187 votes cast
Feb
5
comment Reformatting and version control
In programming, nothing is as simple as it sounds :)
Jan
24
comment Efficient Repeating Alarm Clock in Low Level Language like C
Notice that thread_sleep may wake up due to a signal even when the time has not expired. You could perhaps use that?
Jan
23
comment Efficient Repeating Alarm Clock in Low Level Language like C
@cg14, see updated answer. You could of course use one thread for each alarm, but if efficiency is a goal I wouldn't do that. (I probably wouldn't anyways :)
Jan
23
revised Efficient Repeating Alarm Clock in Low Level Language like C
Update with suggestion for single timer thread approach.
Jan
23
comment Reformatting and version control
Sounds like the team in question has bigger problems than code formatting. But yeah, I don't recommend doing this unless you thing you have to. If you want to do reformatting changes, I'd still say better do them as separate commits than intermixed with functional changes.
Jan
23
answered Efficient Repeating Alarm Clock in Low Level Language like C
Jan
20
awarded  Informed
Nov
28
awarded  Yearling
Jun
29
awarded  Good Answer
Apr
24
awarded  Nice Answer
Apr
9
awarded  Organizer
Nov
28
awarded  Yearling
Apr
12
revised What conclusion to be drawn from no difference in generated assembly from 2 rather different programs?
Typo and emphasize conclusion
Apr
12
answered What conclusion to be drawn from no difference in generated assembly from 2 rather different programs?
Nov
28
awarded  Yearling
Oct
8
awarded  Critic
Jul
19
comment Managing multiple people working on a project with GIT
No, not every single time, just when you want to sync up. Consider your local copy of the branch as your private branch, and the upstream branch as the one you want to merge into. Using something like git fetch upstream followed by git merge upstream/branch should get you synced without rewriting your local commit history. If that's not an issue, just simply git pull --rebase will move your local unpushed changes onto the top of the upstream branch.
Jul
7
revised Help with learning the C++ Qt Framework
typo
Jul
7
revised Help with learning the C++ Qt Framework
Differences between C++ and dynamic languages.
Jul
6
answered Python/Database Website development