12,964 reputation
53045
bio website
location
age
visits member for 4 years, 7 months
seen 13 hours ago
Very senior embedded real-time systems programmer (Texas law is very picky about the use of the term "engineer"), unsuccessful candidate for U.S. Congress, and unreconstructed Cold Warrior.

Aug
23
answered How to write a syntax checker
Aug
21
comment GPS accuracy with software
See answer below about "carrier phase tracking".
Aug
20
comment What did programmers do before variable scope, where everything is global?
@KevinRubin, don't remind me. Ah feel yore pain, as Bill Clinton used to say...
Aug
17
answered What software is used to write functional and non-functional requirements?
Aug
16
answered How would my custom language be categorized?
Aug
14
comment I've had 7 jobs in 16 years. Is that OK?
Disclaimer: I am not a physician, or a mental health professional, just an educated layman who has been not far from where it sounds like you are. Having said all that: Your comment "The problem is, I don't enjoy anything" is damned near DIAGNOSTIC of clinical depression, ALL BY ITSELF.
Aug
13
answered Is it possible to build software that interprets video in real time?
Aug
13
comment Why do some software packages have an “amd64” suffix for 64-bit systems?
@TMN: Actually, moving instruction scheduling into the compiler IS a good idea. It simplifies the frack out of the silicon if you can throw away the gadgets needed to stall instruction until the operands are available. It also removes the need for the silicon to have all the smarts necessary to do the reordering in the first place.
Aug
13
revised What do other languages offer when it comes to infrastructure technology that could indicate its advantage over C in the future?
Change "ADA" to "Ada". Ada is a programming language, named for Ada Augusta, Countess Lovelace. It is not an acronym.
Aug
13
comment Sort an array in a specific order - not ascending/descending
That'll work. The key is that the current tree node defines one endpoint of a fully-closed interval, and either the left or right child defines the other endpoint of the interval. The closest value will be found somewhere in that interval. Actually, it will either be the current node, the child, or somewhere in subtree "between" the node and child. (I.e., in the subsequence between the node value and the child node value, in an inorder traverse.)
Aug
8
answered Source code “prints” at release
Aug
7
answered Lead Developer responsibilities
Aug
7
revised What does 'between' and 'in range' mean in the world of numeric types?
clarification of "open" and "closed"
Aug
7
answered What does 'between' and 'in range' mean in the world of numeric types?
Aug
3
comment Does modular programming affect computation time?
@detly: Yes and no. Modern compilers can IN GENERAL do a better job WITHIN THE LIMITS IMPOSED BY THE LANGUAGE. The human programmer knows whether the limits imposed by the language are applicable in the particular case at hand. For example, Cn and C++ compilers are required by the language standards to allow the programmer to do certain very pathological thing, and generate code that works anyway. The programmer may know he isn't crazy or stupid or adventurous enough to do those things, and make optimizations that would otherwise be unsafe, because he knows they are safe in this case.
Aug
1
comment Find pattern in a string
It is an interesting comment on the state of education in this field that, out of the first five answers posted, NOBODY mentioned the Boyer-Moore string search algorithm.
Jul
31
comment When is the register keyword actually useful in C?
It is not always possible to "just get a faster chip and get the product out the door". Consider real-time image processing. 640x480 pixels/frame x 60 frames/second x N instructions per pixel adds quickly. (The lesson from real-time image processing is that you sweat blood over your pixel kernels and you just about ignore everything else, because it runs once per line or once per patch or once per frame, as opposed to hundreds of times per line or patch or tens or hundreds of thousands of times per frame.)
Jul
30
comment Does modular programming affect computation time?
@Kevin: You'd think new programmers would understand that embedded is different. In the real world, however, they frequently don't.
Jul
29
comment When is the register keyword actually useful in C?
4 MIPS / 10,000 polls/sec = 400 instructions/poll. That's not nearly as much margin as you'd like to have. Also note that quite a few 4 MHz processors were microcoded internally, meaning that they were nowhere near 1 MIP/MHz.
Jul
29
awarded  Nice Answer