101 reputation
2
bio website
location
age
visits member for 4 years
seen Dec 19 at 17:11

Dec
1
comment Lucene full text search of 6 million records
If I understand correctly, Lucene is pulling data from the SQL database? Or no?
Nov
4
comment Cross device testing for web development
Pay mturkers to test if you want cheap real world testing.
Oct
29
comment How would you go about compressing a list of integers that are non unique and retain the original order?
en.wikipedia.org/wiki/Run-length_encoding ?
Oct
27
awarded  Commentator
Oct
27
comment Original source of `(seed * 9301 + 49297) % 233280` random algorithm?
People often copy code directly from books, so it's probably from an old book somewhere and has been copied several times. It also appears to be a limiting case. Possibly helpful: heydari.persiangig.com/Ebooks/Applied_Crypto-Ch11-ch20.pdf/… ict.griffith.edu.au/anthony/info/C/RandomNumbers
Oct
18
comment Strategy to serve mobile content from “m.*” subdomain?
"How does the web server detect the client is a mobile browser": it looks at the "User-Agent" string sent by the browser. As you note, you could use the same URL and just display content based on User-Agent. The idea would be to keep the information and the design separate, and use different design templates for different browsers.
Oct
26
comment What can I do to prevent taking on an unethical development project?
Designing the H-bomb is ethical. Using it may not be.
Oct
13
comment Is “funny commenting” a bad practice or not?
My main complaint with funny commenting is that I sometimes don't realize it's supposed to be funny, and spend time trying to figure out what the author meant. My own funny comments are clearly delimited to avoid this problem.
Oct
10
comment Secure way to remember usernames and passwords
Some people use the same password tweaked slightly w/ the site name in a consistent way. (eg, bar1netflix2rycar6ter for netflix, and change netflix to the sitename). Not super secure, but maybe better than nothing.
May
28
comment What is the best retort to “premature optimization is the root of all evil”
Isn't the original: "the LOVE of money is the root of all evil?"
Mar
24
comment What is the biggest trouble developers encounter when debugging?
Others have mentioned this too, but #4: regression issues. In other words, fixing 1 bug creates 2 others. And since you've already "tested and verified" that part of the code, those 2 new bugs slip by. Basically, you have test everything everytime, and no one wants to do that.
Feb
27
comment PHP-based indexing and search implementation
I'm assuming something like MySQL's FULLTEXT search is not an option?
Feb
3
awarded  Supporter
Feb
3
comment Dealing with frustration when things don't work
When I take a break to pee, I often have the problem solved by the time I'm walking back to my desk. It's like your subconscious is waiting for your conscious to shut up.