6,967 reputation
12236
bio website
location Bellingham, WA
age 33
visits member for 4 years, 3 months
seen 7 hours ago

Dec
12
comment Implement a new Unicode encoding in a suitable open-source text-editor?
@MilindR I think you're confused about something, but I'm not sure what. The Unicode blocks are arranged as a standard against which fonts can be developed. If you're talking about making your own Unicode-like mapping, that is a massive undertaking that has previously involved the efforts of international committees, and is well outside the scope of what an individual can do alone. If you're talking about encodings like UTF, please read RFC-2279 and look up how the idea came about - it's the standard because any other approach would be needlessly convoluted.
Dec
3
comment What can C++ do that Python cannot?
Put another way, C++ offers tools to meet a requirement of completing a computation within a resource-limited (time-limited, memory-limited, etc.) window. For example, many games have the requirement that all work done for a given frame must be completed in less than 16 milliseconds to achieve a consistent 60 frames per second. The more complex the work, the harder it is to stay within that window.
Nov
27
comment Getting your user agreement right
@rmayer06 The question is one about legal matters, for which no one here is qualified to answer. An attorney who is well-versed in user agreements can clarify what issues need to be addressed, and more importantly, how to word the agreement to protect him from litigious users.
Sep
26
comment Why do most programming languages have special keyword or syntax for declaring functions?
Just FYI: Your second "why not" example is syntactically identical to CoffeeScript.
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.
Sep
7
revised Should a developer know the inner workings of the computers' hardware?
added 79 characters in body
Sep
4
awarded  Good Answer
Sep
1
awarded  Yearling
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.
Jul
8
revised Can an algorithm be patented?
new information
Jul
8
reviewed Approve Why use Android Fragments?
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
16
awarded  Enlightened
Mar
16
awarded  Nice Answer
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.