1,702 reputation
415
bio website
location
age
visits member for 3 years, 8 months
seen Oct 28 '13 at 18:13

Aug
6
awarded  Pundit
Jul
11
comment Is an API in C++ a better alternative to computing directly in SQL?
Need more details. If the computation is trivial and the data is large, then keeping on the SQL server is probably best. If the computation is long/large/complex, then offloading is probably better.
May
2
comment why are both index[array] and array[index] valid in C?
I like the explanation, a slightly more formal one might include that arrays are merely a syntactical sugar of pointers which further reinforces your commutative argument.
May
2
comment why are both index[array] and array[index] valid in C?
-1 for random editorializing on the motivations of the C designers
Apr
30
comment REST and redirecting the response
First - the create should probably be a PUT, not poas POST. Also not clear on what the POST is doing with its multipart upload, can you elaborate? Any why go back to the form anyways - what is the purpose of that?
Apr
23
comment Diving into microcontroller programming
You'll likely get better answers on electronics.stackexchange.com
Apr
9
comment Low coupling processing big quantities of data
@vitalik of course there is that possibility (to sleep a producer) you just have to do it. Some queues can be configured to be blocking, so that if a producer tries to insert into a full queue, you just block, and effectively sleep/spin (watch out for which one) on the queue to have space.
Apr
3
comment How to represent a Rubik's Cube in a data structure
Homework? Or real-world problem...
Mar
30
comment How does one become a big contributor to an opensource project?
@monksy it seems like you are starting from a different premise than perhaps your question indicated. If you believe you have a much better way than a current project does, perhaps engage in a low-key open conversation to better understand why things are they way they are, and then go from there...
Mar
30
comment How does one become a big contributor to an opensource project?
@monksy - it is neither, as you would not normally make it public, but contribute it via whatever mechanism is appropriate to the code-base. You're trying to gain trust via shared experience. You don't get commit privs by annoying people!
Mar
28
comment C++ Multithreading on Unix
What is "the Unix Thread class" ?
Mar
13
comment Please explain the benefit(s) of using an XML-based syntax (e.g. XAML) instead of normal source code (e.g. WinForms)?
There is indeed a long history of UI meta-languages. n.b. the Motif UIL and also David Flannigan's pre-Java work on his Xmt Library.
Mar
8
comment Writing better timesheet
Offtopic for Programmers, no?
Feb
22
comment Determining if language/framework/technology is 'Future-proof'
So how do you explain VB6? ;-)
Feb
17
comment Why is it evil to run selects from a prod server?
FYI you might get more/better answers from dba.stackexchange.com
Feb
7
comment Regulation of the software industry
@user1936 I was not trying to be that harsh, but was indeed quibbling with perhaps idea that testing for basics is useless. There are studies done that show experts tend to underestimate their skills, while neophytes tend to overestimate theirs; probably because the newbies don't know what they don't know. Give them enough basics to know that they don't know everything. That would help. (but not completely solve any one particular problem)
Feb
7
comment Regulation of the software industry
Disagree with "A lack of basic knowledge is never the problem." In fact it often is the problem. How often do new programmers (or older ones) neglect input sanitization? Corner-case verification? For physical systems, I might read a sensor. It can be on or off. What about broken? How can my software tell? Then what do I do about it? Presume it is on or off? These types of "basic" things are indeed commonly at issue.
Jan
30
comment How to emphasize the differences between Software Engineering, Computer Engineering and Computer Science to high schoolers?
Agree these are the theoretical differences, but not by-and-large the practical differences in much schooling and industry. e.g. most CompSci people end up as programmers (at least in Canada)
Jan
26
comment What is the value in hiding the details through abstractions? Isn't there value in transparency?
@user606723 While laws do change, they tend to change in expected ways (at least in the short run). e.g. tax rates change, tax brackets change, but the core computation does not If you bake in the wrong thing, then you will indeed be up and down the hierarchy.
Jan
26
comment What is the value in hiding the details through abstractions? Isn't there value in transparency?
@user606723 if you API is not stable, then it is likely either immature, or more likely the wrong abstraction