615 reputation
414
bio website approach.im
location Long Beach, CA
age 29
visits member for 3 years, 7 months
seen Jul 8 at 18:57

C++, JavaScript, PHP, OpenGL, OpenCL


Jul
8
comment Using scoped enums for bit flags in C++
+1 looks good, clean. I'll try this out in our SDK project.
Mar
1
awarded  Necromancer
Feb
18
awarded  Yearling
Oct
6
revised How to cross-reference many character encodings with ASCII OR UTFx?
Attempted clarification
Oct
3
comment How to cross-reference many character encodings with ASCII OR UTFx?
thanks for your response. Apologies I have difficulty collecting this concept - its my first major project where I'm unable to convert into a Unicode format using a library. I am trying to learn the lingo better so I may reform the question. When I'm talking about control characters and bit ranges; I'm referring to bitmasking primarily. I should note, this { control: 31, range: [65,122], print: [32,255] } is meant only for ascii. Other records would have different values. Based on what you've mentioned I am looking at BOM and order scheme instead.Thanks for the assist.
Oct
2
comment How to cross-reference many character encodings with ASCII OR UTFx?
@JukkaK.Korpela Apologies if the wording is poor; I will have to rethink how to phrase this. Certainly we know that character encodings can be longer than 1 byte =0 We're trying to filter the first byte first before looking in the rest though. The question is how can an efficient mapping algorithm be implemented while preserving the sort of event hooks and requirements I need, with a few caveats. Anyway I'll think this over and try to edit it.
Oct
2
revised Why do books say, “the compiler allocates space for variables in memory”?
clarification of meaning
Oct
2
asked How to cross-reference many character encodings with ASCII OR UTFx?
Sep
22
awarded  Autobiographer
Apr
9
comment Why do books say, “the compiler allocates space for variables in memory”?
Shouldn't it only be the allocation commands stored for globals? If you have hardcoded all the values using the primitives like int or char, the size of the executable would definitely increase by more than the amount of variables added. Such as int a1=1,a2=2, ... all the way to... , a1048576=1048576; Only then you'd definitely get something bigger than 1mb i think.
Apr
9
comment Why do books say, “the compiler allocates space for variables in memory”?
@James Ah, this is not my experience. For instance int test[256][1024]; int main(){ test[0][0]=2; return 0; } This small program has 1MB allocated but only generates me a 1.4 Kb object file and an 8.4 Kb executable. It should use the correct amount of RAM, though.
Apr
4
answered Why do books say, “the compiler allocates space for variables in memory”?
Mar
31
comment Why must we learn Procedural programming before we learn Object-oriented programming
@Giorgio, for the record, I'm not calling either new, neither method more or less worthy of being mainstream. i'm simply against how it is being taught currently, which is often a waste of time. it's actually because professors often treat it as a stepping stone to OOP, and lose the scope of it's use.
Mar
31
comment Why must we learn Procedural programming before we learn Object-oriented programming
When speaking of the style of programming taught commonly, I'm certainly not going to refer to any good programming.. the procedural code taught in universities now is merely being perpetuated by people not letting go of what they are used to from their youth. Some schools are exceptional as are some programmers...good for them, the few.
Feb
18
awarded  Yearling
Feb
8
revised lightweight document indexing to handle less than 250k potential records
that was the COMPLETELY wrong link. not sure what i did with the right link so...
Feb
8
answered lightweight document indexing to handle less than 250k potential records
Sep
18
awarded  Popular Question
Sep
17
awarded  Nice Question
Sep
17
revised What do you do with coder's block?
apology of question