1,034 reputation
323
bio website
location Bulgaria
age
visits member for 2 years, 2 months
seen 7 hours ago

Jul
25
awarded  Popular Question
Jul
25
awarded  Nice Question
Jul
24
comment Should temporary code be put under version control and how?
Unfortunately I don't have experience with writing tests. The current platform involves an ARM cpu, configuring some hardware in response to USB commands. There is no feedback from the hardware to the cpu.
Jul
24
comment Should temporary code be put under version control and how?
Sometimes I need to do small hacks to a file, while at the same time writing production code in the same file. svn does not support partial file commits, so it's a pain in those situation. Most of my colleagues just commit the hacks to the branch and the purge them at the merge to trunk. However, I get distracted (and make mistakes during merges, and merges in svn are sacred and immutable) way easier and hence this question.
Jul
24
comment Should temporary code be put under version control and how?
@JeffO, not sure if I understand you. The dirty snippets are small and rarely clash with code under development. However, @ Blrfl, it is very dangerous for them to be commited into the mainstream. Imagine a return 7 in the trunk Friday evening, after a lousy merge in the summer heat.
Jul
24
revised Should temporary code be put under version control and how?
added 33 characters in body
Jul
24
asked Should temporary code be put under version control and how?
Jun
25
awarded  Popular Question
Jun
17
revised How to define different names for the same type and have the compiler check them?
added 397 characters in body
Jun
17
comment How to define different names for the same type and have the compiler check them?
@jimbobmcgee, that would work. However 1) users must type .value in addition to the name of the variable 2) is a bit of a WTF moment. I can't believe that a language this strict doesn't have an out-of-the-box solution.
Jun
17
asked How to define different names for the same type and have the compiler check them?
Jun
17
revised Is heap fragmentation a problem in bare-metal arm with g++?
added 120 characters in body
Jun
17
comment Is heap fragmentation a problem in bare-metal arm with g++?
Do you know where can I get documentation on the specific implementation of my heap allocator. I am using arm-none-eabi-g++ (GCC) 4.7.2. All I could find was this? And thirdly, would some defragmentation procedure be possible for an embedded system?
Jun
17
comment Is heap fragmentation a problem in bare-metal arm with g++?
Why would pushing an element to`vector` beyond it's capacity not cause fragmentation? Isn't it the same as freeing some memory and then allocating new chunk?
Jun
17
asked Is heap fragmentation a problem in bare-metal arm with g++?
Jun
17
comment Easily moving both direction of time during a rebase
@Cupcake, 1) some commits do not compile at all (debugging someone else's code) 2) some commits need to be split up, because they contain many unrelated changes and isolating a bug to that commit is rather useless.
Jun
16
asked Easily moving both direction of time during a rebase
Jun
16
accepted Public versus private inheritance when some of the parent's methods need to be exposed?
Jun
13
comment Public versus private inheritance when some of the parent's methods need to be exposed?
@Doval, do you mean that I should be using composition?
Jun
13
revised Public versus private inheritance when some of the parent's methods need to be exposed?
added 114 characters in body; edited title