125 reputation
3
bio website
location Pittsburgh, PA
age 30
visits member for 1 year, 11 months
seen Sep 24 '13 at 15:03

I write code n'at.


Aug
7
answered How do you unit test a User Interface?
Mar
18
comment How to count hits in an HTTP API without bogging down the DB
I'm a developer on a system that keeps counts in the database for a similar purpose and I highly advise against this. As your table grows locking will become and issue and it'll have a serious impact on your API's performance. I'd stick the requests in Redis or some other non-relational data store and run a background job that calculates new counts periodically. Are you counting hits for statistical purposes or does each client get a set number of requests?
Feb
11
comment How to convince my coworkers that doing things right will save them time
@RogueCoder I read your post as "I recently started a new company" (missing "at"). My fault.
Feb
11
comment How to convince my coworkers that doing things right will save them time
You appear to be in position of authority. Use it. Tell them their code quality is not up to company standards and figure out a plan to bring it up to snuff. Sit down with them and figure out why they are "too busy" and prioritize accordingly.
Dec
21
awarded  Critic
Dec
21
answered How to efficiently store IP addresses?
Aug
20
comment Can unit testing software be used to unit test itself?
You do realize that tests should test both success and failure cases? Also typically when you test a testing framework with itself you should be using a "known good" version of the framework. I would only use a "develop" version of a testing framework as a final acceptance test before going to release.
Aug
9
answered Best way to approach a partner business to understand the need for B2B web-services
Aug
9
comment How can I test PHP skills in a interview?
@Mascarpone Ask them about XSS (Cross Site Scripting), XSRF (Cross Site Request Forgery), SQL Injection, lack of proper server-side data validations, etc. Write up some basic examples of these security holes and ask them to find as many issues as they can.
Aug
8
awarded  Supporter
Aug
8
answered JavaScript vs third party libraries
Aug
8
answered Is it wise to be going back and forth between two programming languages?
Aug
7
awarded  Teacher