12,904 reputation
53045
bio website
location
age
visits member for 4 years, 6 months
seen 1 hour 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.

Feb
15
comment Should private functions be held to the same standards as public functions?
@user87166, the basic principle is that most things in life follow a normal distribution, a bell-shaped curve. The curve is symmetric about the mean, which in everyday life we call the "average". Half of the curve is left of the average, below average, half is above average. (TECHNICALLY, half are below the median. For everyday purposes on programming skills, the median and the mean are probably close enough to be considered equal.)
Feb
15
answered The difference between (-(a*b)) and ((-a)*b)
Feb
14
answered Should private functions be held to the same standards as public functions?
Feb
12
comment Boss is ordering me to send spam. How to I deal with this issue/what is my options?
@Miloshio, there's no "maybe" about it. You MUST speak with a lawyer IMMEDIATELY.
Feb
9
comment What is best practice on ordering parameters in a function?
This is inherently dependent on the application domain and sub-domain. Consider RK4(F, A, B, H): Integrate F from A to B with stepsize H using a 4th-order Runge-Kutta integrator. Consider NEWT(F, FP, A, B, EPSILON, LIMITCOUNT): Using Newton's Method (aka Newton-Raphson Iteration, if you're old and grey and FORTRAN IV is your FRIEND), find a root of function F, using derivative function FP, between A and B, to error limit EPSILON, and quit if you haven't converged after LIMITCOUNT steps. (OK, you could bind F and FP together, but that's about it.)
Feb
6
comment Why no fortran standard library?
@Rook, I am afraid you are destined to be horribly disappointed.
Feb
5
comment How to setup an agile startup without the customer?
@enderland: How do you know that your sample user even EXISTS, much less exists in sufficient quantity and with sufficient disposable income to make it worthwhile to build your proposed product? Doing it Apple's way at least guarantees you know your customers are out there.
Feb
5
comment How to setup an agile startup without the customer?
You can SORT OF work around this by adopting Steve Jobs's approach: Apple built cool stuff that Apple people wanted to buy. If your plan is for your startup to get rich building something you couldn't get excited about to save your life, you've got a bigger problem than "how do we run Agile for this".
Jan
28
comment Best strategy for converting change in longitude and latitude to north, south, east, west in degrees
And one more. If you have access to a good university, with a Navy ROTC detachment (or the equivalent in your country), go make an appointment with the Professor of Naval Science (translation: commanding officer of the detachment), explain your question, and ask him NICELY for an introduction to the guy who teaches Navigation. (Any branch will likely be able to put you in touch with someone, but this is closer to a Navy problem than anything.)
Jan
28
comment Best strategy for converting change in longitude and latitude to north, south, east, west in degrees
Spherical Earth or oblate spheroid? If spheroid, which spheroid model?
Jan
28
comment Best strategy for converting change in longitude and latitude to north, south, east, west in degrees
Spherical trigonometry is your FRIEND.
Jan
27
comment Sell dual licensed software with 3rd party contributions
I'm voting to close this question as off-topic because it appears to be asking for legal advice.
Jan
22
comment Should I break contract early?
What Jim G. said. +1 for "Check your contract."
Jan
14
comment why empty function are needed
@StevenBurnap, usually when I do something like that, I include the local equivalent of printf(">>> routine XXX called\n");
Jan
13
answered why empty function are needed
Jan
13
comment Why do so many languages treat numbers starting with 0 as octal?
@OldBadmanGrey, the "leading zero == octal" design decision for C happened LONG before the ANSI standard. Why the original designers chose it, I don't know. The ANSI standard merely codified widely existing practice.
Jan
9
comment How to structure a loop that repeats until success and handles failures
The key phrase in your ellipsized sentence is "properly employed". My bitter experience seems to me to indicate that damned near NOBODY in this crazy racket knows how to employ those things "properly", for almost any reasonable definition of "properly" (or "readable", for that matter).
Jan
5
comment Distributing a set of “Jobs” across multiple computers
What you are describing is essentially the parallel programming scatter/gather problem/paradigm. You start with your JobSet. You have a Scatter() pre-step that parcels out individual Jobs in the JobSet to processors. You have a Gather() post-step that collects the multiple JobStep results, and decides how to stitch them together and what to report up. The actual implementations will be VERY operating-system-dependent.
Dec
29
comment Should curly braces appear on their own line?
@Alex, one might think that. One would be highly mistaken. 40+ years ago, using video display terminals and text editors for programming was VERY RARE. The vast majority of programmers used printed listings, at roughly 66 lines per page. EVEN TODAY, tubes that support 66 lines per screen, with a readable font, are relatively uncommon, meaning that Weinberg's data is still highly relevant today.
Dec
13
comment Is it possible to quickly change an array declared on the stack to one declared on the heap
I have to ask. What are you trying to do that you think you need 100 million elements (400 million bytes) in your matrix?