Reputation
719
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 16
Impact
~145k people reached

Jun
1
comment Stored Procedures a bad practice at one of worlds largest IT software consulting firms?
@Rig Code reuse is added just as it is for functions of any language - by wrapping code in a reusable container. Certainly stored procedures do in fact protect you from SQL injection so long as you don't execute a string you've built. To say speed is minimal seems simply uneducated. Most cases wont fall into the same categories on performance benefits but show a wide disparity.
May
19
revised What technical caveats exist using EXT file system on Windows that programmers should be aware of?
edited title
May
19
comment What technical caveats exist using EXT file system on Windows that programmers should be aware of?
what is it that sucks in this case? according to the help for programmers, subjective questions are ok here. However, I'm wondering about concrete examples of what makes development of these tools difficult.
May
19
asked What technical caveats exist using EXT file system on Windows that programmers should be aware of?
May
19
comment Is it okay to go against all-caps naming for enums to make their String representation simpler?
I think the answer is more based in your idea of 'okay'. The world is, most likely, not going to burst into flames if you do this and you can even successfully write a program. Is it useful? meh too subjective. If you get some benefit, is it worth it for you and will it affect others? Those are the questions I'd care for.
May
1
comment How to convince my boss that quality is a good thing to have in code?
@Pacerier I could agree that leaving can be an easier solution personally. I give my +2 because putting the effort to change minds improves not only your own work quality but also the whole team's work environment; plus it takes confidence.
Mar
28
awarded  Popular Question
Sep
30
awarded  Explainer
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”?