8,642 reputation
22539
bio website
location Bellingham, WA
age 33
visits member for 4 years, 8 months
seen 1 hour ago

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.
Feb
28
comment raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
@Zilators: Please note my added comment about Qt. The answer to your question about whether all three pointers should be managed depends on whether Qt objects will behave well.
Feb
28
revised raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
add Qt notes
Feb
28
answered raw, weak_ptr, unique_ptr, shared_ptr etc… how to choose them wisely
Feb
27
comment Should a bin directory be full of shell scripts?
If this isn't on-topic for programmers.se, maybe this is appropriate for the Unix stackexchange?
Feb
24
answered is it possible to make a gui in c without an external library