Reputation
1,803
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 11 13
Newest
 Pundit
Impact
~28k people reached

Apr
25
awarded  Pundit
Apr
20
comment How much is it correct to adopt on a static variable to store data that must always be a “live” in the memory
@TulainsCórdova Nice stats. I'd argue against this, but there is no gain in being helpful and avoiding incorrect behaviour on programmers.sx. You "win".
Apr
20
comment How much is it correct to adopt on a static variable to store data that must always be a “live” in the memory
Unlike say GUID generation algorithms which are designed to make collisions astronomically rare, your garden variety hash has rather everyday risks attached to them. Just making sure that you've considered the very real effect of collisions, not just handwaving it away as "rare".
Apr
20
comment How much is it correct to adopt on a static variable to store data that must always be a “live” in the memory
Note that hashes are not unique, unless you want false equivalence you need to do a full equality test for equality.
Apr
15
comment How to encrypt a file in Android?
The scope of this site is not to talk about code dumps. Your question may be more suited for StackOverflow if you ask an actual question instead of just showing a lump of code. You have not said what the problem you experience is, you have not described your requirements, and you have not mentioned any relevant circumstances. A lump of code is not a question that can be meaningfully answered. If you want someone to do your job/homework for you, there's other sites for that.
Apr
15
comment How to encrypt a file in Android?
That's some code indeed. Did you have a question that is on-topic for this site to go with it?
Apr
11
comment What is the common name for the BO Layer
If you invent terms, please document them in a glossary.
Apr
8
revised Is there any low level way to get shifted or unshifted bits which results from bitwise operations?
spelling, "loose" vs "lose"
Apr
8
suggested approved edit on Is there any low level way to get shifted or unshifted bits which results from bitwise operations?
Mar
18
comment Should <= and >= be avoided when using integers, such as in a For loop?
Please be very careful when teaching about floating point values. You don't want to propagate the impression that they're unstable and mysterious.
Mar
17
comment Best Practice for masking Credit Card informations in Web Api 2
Why are you seeing this instead of your payment processor, is a question you ought to ask yourself.
Mar
14
revised Why are SameAsClassName() constructors deprecated in PHP7?
added 3 characters in body
Mar
14
answered Why are SameAsClassName() constructors deprecated in PHP7?
Mar
11
answered Obtaining lists from an array
Feb
15
answered Pem certificate in mobile app
Feb
14
awarded  Nice Answer
Feb
11
answered Why aren't there more multi natural language programming languages?
Feb
4
comment Efficient way in comparing two lists
@DavidPacker Are you suggesting to query for all records, do the filtering on the application side, and inserting the new ones? That's race-prone (in the case of multiple instances) and very costly as the number of elements in the database grows.
Feb
4
comment Efficient way in comparing two lists
Do you need to do any additional work in the application with the duplicates, or can you simply attempt to insert all entries and let the database reject the duplicates by virtue of unique constraints?
Feb
3
comment How does the base class non-virtual function get called when derived class object is assigned to base class?
I had hoped that this question was about slicing on assignment, but it seems that you've conflated pointers and objects.