10,541 reputation
33762
bio website
location Waco, TX
age 28
visits member for 4 years, 3 months
seen 4 hours ago
My native language is C++, but I have left my first love and now use python whenever I have the slightest excuse. Actually, I use python even if I don't have an excuse.

Dec
13
comment Implement a new Unicode encoding in a suitable open-source text-editor?
You seem to be viewing this from the perspective that if there's no compelling reason against a feature, then it should exist. But that's simply not the way things work. Features only exist if theres a compelling reason to make them work. Certainly, a system could be designed to let all the software on your computer work with any encoding. But in the absence of a compelling reason to create a system and get all your software use it, the system simply doesn't exist.
Dec
13
comment Implement a new Unicode encoding in a suitable open-source text-editor?
Why would software allow you to add your own encoding? There's not a practical reason to make your own encoding of unicode, and so there is no reason for software in general to support such a thing.
Dec
13
comment Implement a new Unicode encoding in a suitable open-source text-editor?
"How would I go about choosing which blocks go where?" - Anyway you feel like. The possible methods are limited only by your imagination. "Suppose I can find a good choice, how would I develop the software for seamless integration?" - You can't. In general, software doesn't give you a way to additional additional encodings. Some programming languages will give you the ability to define your own encoding. But, if want a way to generally do that for all software on your computer, you are out of luck.
Dec
11
comment Using reflection vs creating a new class
@svick, true. However, I think its still somewhat less straightforward then a configuration in json which has parser and pretty printers in just about any language you can imagine. But I think the bigger concern is that since this is code, there is a good chance that more complex constructs (loops, function calls, conditionals, etc.) will make there way into the construct and make it no longer fit the specific format.
Dec
10
comment Is Hyper Text Transfer Protocol (HTTP) a misnomer?
Do you want to use your time machine to back and pick the better name, or shall I?
Dec
10
comment Easy way to make old javascript files conform to new quoting standard?
Look at stackoverflow.com/questions/7564139/…. Your problem really seems to be a special case of that.
Dec
9
answered Using reflection vs creating a new class
Dec
6
answered Getters and Setters unclear example
Nov
22
comment How to prevent others from using non-thread safe variables in a multithreading environment?
It'd be useful to know more about why you are moving to multithreading.
Nov
20
answered Java exception handling design
Nov
5
comment How can I get better than O(N^2) space complexity for a type sequence search?
The version I've seen still uses recursion to build up a list of indexes even if the class itself use inheritance to hold each value.
Nov
4
comment How can I get better than O(N^2) space complexity for a type sequence search?
I think you may actually be hitting o(n^2) due to the implementation of std::tuple.
Nov
4
answered How can I get better than O(N^2) space complexity for a type sequence search?
Nov
4
comment How can I get better than O(N^2) space complexity for a type sequence search?
But, as far as I can tell, the guys at boost aren't searching enough types to make worrying about the compiler's space usage worthwhile.
Nov
4
comment How can I get better than O(N^2) space complexity for a type sequence search?
I'm going to officially register my doubt that this is a good solution, and think about whether there is a way to solve it.
Nov
4
comment How can I get better than O(N^2) space complexity for a type sequence search?
Ah, the list of types in the templates is itself O(N), giving you O(N^2) over all the templates. What in the world are you doing that this has become a concern?
Nov
4
comment How can I get better than O(N^2) space complexity for a type sequence search?
What N types are generated for each element searched? To me it looks like that for each element searched you get one instantion of SearchImpl for a total of N.
Nov
4
comment How can I get better than O(N^2) space complexity for a type sequence search?
Its not clear to me what O(N^2) types this induces.
Oct
26
comment Is it a good practice to run unit tests in version control hooks?
@Brian, I'm in total agreement, you can make this work. But, trying to do by blocking the commit hook server-side isn't going to work.
Oct
24
answered Is it a good practice to run unit tests in version control hooks?