Reputation
8,986
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 28 40
Newest
 Good Answer
Impact
~384k people reached

  • 0 posts edited
  • 6 helpful flags
  • 3,053 votes cast
Feb
27
comment How do you prevent the piracy of your software?
@BCLC: Grass is, effectively, a reasonably infinite resource: When it's cut, it grows to fill the space again.
Feb
27
comment How do you prevent the piracy of your software?
@LieRyan: Your understanding of my definition is incorrect. I was very clear: You can not steal something that is freely and easily copied. Money can not be freely copied, so your theft of my money deprives me of its use. Your "theft" of my software does not deprive me of its use, nor even of my ability to make money on new copies.
Feb
1
comment Is break a code smell?
goto is not a code smell when there are no other forms of flow control that make sense for a given case. Don't be dogmatic. Not even Dijkstra was dogmatic about it in his essay. (Have you read it?)
Jan
7
comment OpenGL, multithreading, and throwing destructors
It's possible to use multiple GL contexts in a single application. In those cases where that's desired, option 2 is the only reasonable choice.
Oct
27
comment Best freeware license for my closed-source application
@kagetoki: This format doesn't handle conversational edits like this, and your questions are answered by a number of other questions on this site under the [licensing] tag. I'll amend my answer anyway, but be aware that this is a bad format for such a long question.
Oct
23
comment Is Python Interpreted or Compiled?
Cython compiles Python code to C so that it can be compiled as a shared object.
Oct
2
comment Should I stop using the term C/C++?
@BenVoigt: You're missing the point: That language was created because the string "C/C++" was so badly misused, so as to point out to people the egregiousness of their error.
Oct
1
comment Should I stop using the term C/C++?
Yes, you should stop using the term "C/C++" unless you are referring specifically to the typeless language by that name which has no relation to either C or C++.
Oct
1
comment Should I stop using the term C/C++?
Aha, I've found a copy on archive.is: Rationale, Syntax and Semantics.
Oct
1
comment Should I stop using the term C/C++?
This is not entirely true. There was at one time a page that described a proposed language spec for a language called "C/C++" that, among other things, specified the (near) absence of a type system. Sadly, the page has since been taken down, and the site that hosted it has since put up a robots.txt that erased the archived copy from archive.org.
Aug
8
comment How do you prevent the piracy of your software?
The point I'm making is that copies are an infinite resource. No number of copies will deplete that resource, so the idea of "theft" in this context is nonsensical. But, because making copies still requires some technical knowledge, it doesn't appreciably deplete the market, either.
Aug
8
comment How do you prevent the piracy of your software?
@BCLC: Stepping on a lawn or clipping some grass is not the same as stealing a lawnmower. Likewise, making a copy without authorization is not the same as stealing the master copy. The distinction in the metaphor is that the act of mowing a lawn (making copies en masse) is a very different act from someone stepping on your lawn (watching/using unauthorized copies), and no act of stepping on the lawn will deprive you of your mower (your right to copy.) The metaphor admittedly breaks down in that it doesn't account for market forces, but I think it holds.
Jul
23
comment How should I structure my web app for browser compatibility?
If each page's JavaScript file contains only the small amount of specific code relevant to the page, then there's no reason to have it outside the page itself (or, it could even be included inline in the common JavaScript files), and so the file need not exist at all. The same for browser-specific code and page-specific CSS. Each additional file you send imposes additional bandwidth overhead for the HTTP request/response and TCP packet overhead, and it's yet more stuff that clogs caches. My point stands.
Jun
3
comment Why don't Windows/Linux use relational Databases (RDBMS)?
@PeterCordes: BeFS did that. Because all the metadata was B+tree-indexed, it supported range queries, wildcards, joins, and other fun stuff. I remember hearing that Microsoft was doing the same thing in WinFS.
Jun
3
comment Why don't Windows/Linux use relational Databases (RDBMS)?
It's also worth pointing out that some filesystems actually have a number of RDBMS features. For example, file metadata (particularly extended metadata) in BeFS is indexed with B+trees, and the BeOS file manager had a SQL-like lookup engine that searched indexed metadata to find files.
May
10
comment Whether to use -pedantic flag in g++ or not?
@JaredBurrows: Actually I've stopped using -pedantic with C++ since GCC's manual implies it's only meant for C, and I've moved up to using -std=c++14 in new projects.
Apr
24
comment Can someone else copyright my wordpress plugin if I don't own any copyright for it?
@YazadKhambata: You can't "not Copyright" something in a country where it's automatic. The closest you can do (in countries with no Public Domain) is to release all your rights on the work, which is what the Creative Commons Zero license does. It's not even legally clear if Public Domain dedication is even possible in countries that have it.
Apr
24
comment Can someone else copyright my wordpress plugin if I don't own any copyright for it?
This is not exactly correct. Copyright is automatic when the work is put in a "fixed form," and this is the case in all countries that are signatories of the Berne Convention. Assertion of Copyright only clarifies the ownership. Registration is not required in any of these countries. However, registration makes prosecution of Copyright infringement a great deal easier, since it short-circuits the process of establishing ownership. Assertion is also a good place to specify which rights are offered to recipients. ("All rights reserved" means, I believe, "none are offered.")
Mar
22
comment Open source License that doesn't require credit
@StephenC: If you object to my list, do you have better examples? These are the best examples of extremely permissive licenses I know of.
Mar
11
comment Is every language written in C?
@JonathonWisnoski: Yes, and I tried to make that clear: Until you have a working compiler, it's not possible to write a compiler for a language in that language. It's the chicken-and-egg problem. Others have pointed out that you can "compile" a language by hand, but that's still writing a compiler in another language, just with the extra step of translation. But the goal of most languages is to ultimately self-compile the compiler in the language, as nearly all C compilers do today.