Reputation
8,674
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 25 39
Newest
 Enlightened
Impact
~321k people reached

  • 0 posts edited
  • 5 helpful flags
  • 2,987 votes cast
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.
Jul
22
answered How should I structure my web app for browser compatibility?
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
reviewed Approve Why don't Windows/Linux use relational Databases (RDBMS)?
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.")
Apr
16
answered Is there any harm in having classes made up mostly of inherited classes?
Apr
5
revised I have a particular coding style, does it have a name?
added 139 characters in body
Apr
5
answered I have a particular coding style, does it have a name?
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
22
answered Open source License that doesn't require credit
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.
Mar
3
awarded  Enlightened
Mar
3
awarded  Nice Answer
Mar
1
revised raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
fix remaining issues
Feb
28
comment raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
@Deduplicator: I've made a relevant edit. Please correct it if it's still wrong.
Feb
28
revised raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
clarify `make_shared`
Feb
28
comment raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
@Deduplicator: My wording must have been unclear: The shared_ptr is a separate object - a separate allocation - from the newed object. They exist in different locations. make_shared has the ability to put them together at the same location, which improves cache locality, among other things.