Reputation
9,490
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 30 58
Newest
 Enlightened
Impact
~354k people reached

Jul
21
awarded  Enlightened
Jul
8
comment How to provide a good User Experience with a slower app
I think this question should be moved to ux.stackexchange.com
Jun
22
comment Design Pattern for retry and error handling
It's basically a promise that will be resolved more than once if required. The promise success callback is only executed if the resource is resolved during any attempt (only once), but the error callback is only called after all attempts fail.
Jun
13
awarded  Popular Question
May
27
comment What is the value of encoders with decoders currently present
@Nick Sorry, didn't mean to imply that I knew how ioncube worked. Haven't used it before. I was referring to the tools that read a PHP file and write out an obfuscated PHP file. Often placing the source code in a scrambled string that is decoded on the fly. Like many of the JavaScript obfuscators.
May
25
comment Reusing a merged branch, good practice?
If your project gets very large then reusing old branches will be very time consuming for git to switch and/or update. Compared to the few seconds it takes to create a new branch.
May
25
answered What is the value of encoders with decoders currently present
May
25
comment Lesser of two evils regarding return types
@qbd Python's a good alternative to PHP because it's available on all the same platforms. Java/C# require the user to install them which they might not have server permissions to do. That's the main reason I recommended it.
May
24
comment Lesser of two evils regarding return types
If you're processing a lot of numerical values where memory and performance become an issue with PHP. You most likely shouldn't be using PHP. Not trying to criticize PHP, but when you have to do what you're doing just to do something. That's what I call the "writing on the wall" that you're using the wrong language. I bet this is some kind of crontab job that could easily be done with python, java or c# on linux or windows.
May
21
comment Is it okay to go against all-caps naming for enums to make their String representation simpler?
@user949300 what are you talking about? I'm not telling him to use a string instead of an enum. I give up.
May
21
comment Is it okay to go against all-caps naming for enums to make their String representation simpler?
@user949300 the OP wanted to use a variable of type enum as if it was a string. Instead of altering the toString result of enum. He changes the enum implementation instead. It's like fixing a divide by zero error by overriding the divide operator on integers.
May
21
comment Is it okay to go against all-caps naming for enums to make their String representation simpler?
@user949300 copy the code, write your own or what ever. You're missing the point.
May
21
awarded  Popular Question
May
19
awarded  Nice Answer
May
19
answered Is it okay to go against all-caps naming for enums to make their String representation simpler?
May
19
answered How do I communicate to a colleague that their code does nothing?
Apr
27
awarded  Yearling
Apr
13
comment Is it okay to have code smells if it admits an easier solution to another problem?
It's better to smell and know you stink, then to smell only other people notice. :)
Mar
31
answered Avoid opt(options) in javascript
Mar
13
awarded  Popular Question