1,673 reputation
1713
bio website
location
age
visits member for 3 years, 1 month
seen yesterday

Jun
6
awarded  Yearling
Oct
5
revised What are some really simple rules to keep a PHP codebase organized?
added 671 characters in body
Oct
4
revised What are some really simple rules to keep a PHP codebase organized?
added 147 characters in body
Oct
4
answered What are some really simple rules to keep a PHP codebase organized?
Jun
15
awarded  Nice Answer
Jun
6
awarded  Yearling
Jun
5
answered Is it bad practice to use <?= tag in PHP
Feb
3
comment Unit-testing of inherently random/non-deterministic algorithms
Regarding the "random table" approach, you can also use a test-implementation that contains a "reversible" number-generating algorithm. This allow you to "rewind" the PRNG or even query it to see what the last N outputs were. It would allow much more in-depth debugging in certain scenarios.
Aug
19
comment How do I transition from a large enterprise to a small startup?
My experience going from "10-person startup" to "300-person company" was great: I could focus on good code instead of being randomized every day with some new emergency or "customers on server X think it is slow" complaint.
Aug
17
answered How do I transition from a large enterprise to a small startup?
Aug
17
comment Selenium and non technical team members
Regarding brittleness, I've been experimenting with custom locator for Selenium-IDE which I'm pretty happy with. It still generates XPath expressions, but they represent a path based on the hierarchy of custom data-test-label attributes on elements. I'd put it on GitHub, but it was made on company time...
Aug
15
comment Java SE and Java EE?
@MattC: Doesn't it depend on the version of EJB too?
Aug
5
comment How to organise Website CSS
Side note: You really, really want to have a "CSS Reset" stylesheet as the first one that gets hit. That will removes all of the styling different browsers apply by default, and allow you to style things much more consistently.
Aug
5
comment Where are octals useful?
On that note, watch out for Javascript when handling user input. parseInt(011)==9
Aug
4
comment Which things instantly ring alarm bells when looking at code?
I know some people learned that every method should have only one return statement, but when it causes 6+ levels of if/then nesting I think its doing far more harm than good.
Aug
4
comment Which things instantly ring alarm bells when looking at code?
95%? Be careful of confirmation bias.
Aug
4
comment Which things instantly ring alarm bells when looking at code?
Looking at that, the only thing that came to mind were emoticons: ^_^
Aug
3
awarded  Nice Answer
Aug
3
comment Legality/Ethics of crawling a site to basically copy its database?
Ethics aside for a moment: I suggest you tell them that they must supply a server of their own which will runs the crawling script. You might write the software, but they've got to be the ones who are using it and incurring bandwidth fees. If some legal stuff does come down the pipeline, they are the ones who have to be in its path, not you. Also, you may want to call up the telephone-listing company and ask them about whether they sell access to the list. (And if so, how much it is worth.) Your client might be severely lowballing the value of such a list.
Aug
3
comment how can you avoid version nightmare?
Could you add more detail what kind of software you are deploying, and what languages, frameworks, build-systems, or version-control you are using? Because there are many different ways to try to automate it, depending on those factors.