403 reputation
26
bio website
location Michigan
age
visits member for 3 years, 4 months
seen Jul 22 at 15:02
An EE who writes software and accidentally became an expert in controlling 3-phase permanent magnet motors - where a breakthrough was inspired by my background in ray tracing.

Sep
12
awarded  Commentator
Sep
12
comment Strictness in programming methods among Stack Overflow users
@Alf the selected answer is often not the one with the highest score.
Sep
12
comment Strictness in programming methods among Stack Overflow users
+1 for pointing out that down-votes cost the voter a point!
Aug
23
comment Is running an executable as a child process the same as linking a library?
@David Schwartz: linking is not like stapling a CD to a painting. It's more like writing a new story set in the Star Wars universe using all the same characters and plot elements like "the force" and light sabers. See my comment about #include.
Aug
22
comment Is running an executable as a child process the same as linking a library?
using the compiler directive "#include xxx.h" is equivalent to copy and paste a header file into the one that includes it. Your code is not even able to compile without that, and it's implementation is dependent on the things included. This argument is true of dynamic linking as well.
Aug
22
comment Avoid GPL violation by moving library out of process
@vartec: dynamic linking can involve the use of internal data structures and functions within your program. Basically if you have the "#include" a header file to build your code, it's a sign that it's not entirely independent. This could get murky if the header implements a standard (POSIX or OpenGL) interface. However for most cases, you'd be incorporating custom objects into the linked code. The OP solution of making a server IMHO gets around this.
Aug
22
comment Is running an executable as a child process the same as linking a library?
After linking, the executable is a derivative work (same as translating a book to another language). GPL requires all source code to derivative works be made available. This is not ambiguous. There is also more to linking that your stapling analogy suggests, but that doesn't matter unless we get into dynamic linking.
Aug
10
awarded  Nice Answer
Aug
10
comment Importance of hobby projects
I would reword that slightly - use a new language to do your hobby project. Then the project is the motivation, not the learning.
Aug
10
comment Importance of hobby projects
I ask it in interviews. If someone doesn't do hobby programming, I won't hold it against them because there is a lot more to life, and with family there can be less time for such (my projects all stagnated when I had kids) - but I do consider it a bonus because it shows they have real interest and initiative. I can't tell you how many people get writers block if they have to start from "main()".
Aug
9
comment Is micro-optimisation important when coding?
@Caleb: The Angry Birds example does illustrate why not to optimize for particular hardware. It also illustrates how you may build an entire app without bothering to do more general "C level" optimizations and then getting burned. Actually not burned, but having trouble going beyond your original intent.
Aug
9
awarded  Nice Answer
Aug
8
answered Is micro-optimisation important when coding?
Aug
6
answered How do you stop yourself from bringing work home?
Aug
5
awarded  Supporter
Aug
5
comment Is information hiding more than a convention?
@Simon: why clutter an interface with stuff you don't want people to use. I hate that C++ requires every member to be present in the class definition in a header file (I understand why). Interfaces are for other people and should not be littered with things they can't use.
Aug
4
awarded  Teacher
Aug
1
answered Rendering trillions of “atoms” instead of polygons?
Apr
21
answered Algorithms that support parallelism?