6,961 reputation
12236
bio website
location Bellingham, WA
age 32
visits member for 4 years
seen 41 mins ago

Sep
8
comment Should a developer know the inner workings of the computers' hardware?
@AndrewHill: When is that a hardware matter and not an algorithmic one? The question is about understanding low-level hardware behavior, not high-level algorithms.
Aug
24
comment Why does void in C mean not void?
@Snowman: Your most recent comment is a much better description of what void is than your answer: It is, literally, the absence of type. Simple as that. And, having no type, it can have no value; so a type of pointer to void is a pointer to nothing in particular, just a location in memory.
Jul
18
comment What was Ruby used for before Rails?
@djechlin: Anything. Everything from build systems to web applications. Rails is merely a framework. Asking what it was used for before it got one of several dozen web frameworks implies it has no use without that framework, which is patently ridiculous. It was used for all of the same things that Python, PHP, Perl, and a dozen other languages were used for.
Jul
9
comment What do you think was a poor design choice in Java?
@Andrea: Unlike Java, Scala has the privilege of having a stronger type system from which weaker generics can be generated. You can always go to weaker typing, but you can't always go stronger.
Jun
20
comment Learning computer architecture as a programmer
For the record, the books assume C or C++ (which includes Objective-C, as it's a strict superset of both), and discusses inline assembly. It doesn't get much more "high-level" than that.
May
12
comment Can C++ be used as a server-side web development language?
@PaulDraper: Does it matter? The point, and implication, is that the reason Facebook moved away from using a pure PHP infrastructure is the expense of scaling, specifically because of the execution overhead of PHP interpreters. Surely that's changed, but my point stands, unaltered.
Mar
12
comment How do I licence my OS project, which uses other (differently-licenced) projects?
I'm only saying that it's bad form to offer legal advice without appropriate disclaimers. Getting licensing wrong can be a big deal to some very litigious folks, and the best way to avoid it is to have an attorney's assistance in verifying that the licensing is correct and valid. You and I may read the license one way, but a Court may one day read them another, despite the best efforts of the license authors. Adding the simple disclaimer "TINLA, IANAL, talk to your attorney" is a sufficient CYA.
Mar
11
comment How do I licence my OS project, which uses other (differently-licenced) projects?
But, he should probably consult an attorney anyway.
Mar
1
comment What data cannot be compressed by huffman codes?
@Carson63000: That sounds about right. 256 values with evenly distributed probabilities would require an average of at least 8 bits to represent them, and depending on how your huffman tree is built, that could mean more bits, yes.
Dec
5
comment What is considered best practice for printing usage / help (--help)?
@mouviciel: ... I thought it was. I guess not. C++ has a related standard stream (cin, cout, cerr, and clog), so I guess I thought stdlog was in the C standard. My bad.
Dec
5
comment What is considered best practice for printing usage / help (--help)?
But help is not necessarily desirable standard output, is it? How about stdlog?
Nov
28
comment adding array pointer in c
@Jonathan: You won't see this in other languages except perhaps C++ (where the rules are a bit different). This is a peculiarity unique to C.
Nov
26
comment Is application written from scratch in programming language has to be license?
A notable (and fairly uncommon) exception is (was?) Opa, which, becuase its standard library was licensed AGPL, it imposed the AGPL on all applications.
Nov
26
comment How Challenging is it to Mix Pure JS with CoffeeScript on a Team?
Having worked with Coffeescript and JavaScript together in the same project recently myself, I have to say that from the technical perspective, it's inconvenient but not difficult. So long as your team agrees on what needs to be what and where, it's really not that bad.
Nov
17
comment How does the CPU know when it received RAM data and instructions?
It's not entirely clear what you're asking. Are you trying to understand how the memory bus works, or are you trying to understand how virtual memory works? (These are different questions dealing with two different parts of the system.)
Nov
16
comment Interpreter or virtual machine that does not execute bytecode
CBM BASIC also stored a tokenized bytecode (of sorts).
Nov
6
comment Do I have to release the code of a MIT licensed software running a GPL library?
@Belohlavek: No, it means that you must make an offer of source code to anyone who receives the software, and that source code must be made readily available in the preferred from for modification. Even if he or she doesn't "require" it, you're still required to give them the source if they ask for it, for whatever reason. It also means that the entirety of your code is covered under the GPL, and anyone who receives your program can redistribute the source code however they wish.
Nov
2
comment Why should I know concurrent programming?
@ObscureRobot: Just because GPUs are often used for games doesn't mean that that's their only use. Modern GPUs are general-purpose compute engines, and can run quite general code. They happen to be very good at floating-point math, so they get used a lot in a lot of different kinds of simulation workloads. If you're at all interested in doing highly-concurrent loads, you do want to talk to the hardware.
Nov
1
comment Why should I know concurrent programming?
No mention of GPUs? These are some the most ubiquitous massively-parallel multi-core systems around, and virtually every computer has one, and none of them are single-core.
Oct
24
comment How can I correct html for missing closing tags in c# ?
A more portable alternative to embedding IE is embedding the WebKit HTML engine. The Qt project includes an easy-to-use library for this task.