142 reputation
7
bio website shiftedbits.net
location Albuquerque, NM
age 27
visits member for 3 years, 7 months
seen May 15 '13 at 11:29

Give me something to program. It'll make me happy.


Mar
15
comment What is best practice for log level in PHP?
In production it's not something looked well upon to display error messages. Since it'll log to file anyways it shouldn't matter. In development, always work with error codes being displayed (or otherwise work with a running tail on the apache error_log file, whichever works for you.)
Dec
9
comment What Part of Your Project Should be in Source Code Control?
@artistoex : That's splitting hairs. It's generally assumed that the build box has the same libraries as the dev boxes do. If the two differ, there's something wrong with the IT manager. All you (ideally) would need is just the source code. Some projects this isn't applicable, but for most it should be.
Nov
12
comment Single Responsibility Principle Implementation
Yours is the only answer that's really making me think about my implementation, and I really appreciate that. It's refreshing. I'll think about this a bit more concerning what you brought up about the intention of classes rather than the responsibility and see what I can come up with. I may end up posting that refactor up on Code Review, since that's a more appropriate place to ask this kind of question. Thanks a bunch!
Nov
10
comment Single Responsibility Principle Implementation
I've looked at GRASP before, and it's probably what really drove me to design Implementation #1. Though I am wondering, in keeping with what you said about splitting implementation, should I spread out the MVC architecture, instead of over User like I did in #2, but over all the modules (Login, Logout, etc...) in the user 'space'? i.e. LoginControl, LoginView, etc, etc... ?
Nov
10
asked Single Responsibility Principle Implementation
Sep
30
awarded  Commentator
Sep
30
awarded  Critic
Sep
29
awarded  Teacher
May
5
comment Complexity point of no return. What do you call that?
+1 for texting your wife.
May
4
comment How do I approach fixing an unreproducible/randomly occurring bug?
+1 for "you just haven't found out how to reproduce it yet." All bugs have a root cause or else they wouldn't happen.
May
4
comment what do database programmers do?
That said, in small companies (<50 people) having at least one (preferrably two or three) standalone DBA(s) is super, super nice to have as far as application developers are concerned. That and a dedicated IT staff to fix computers, but that's another story entirely.
May
4
comment what do database programmers do?
In my experience there are certain business actions that require teams of expert DBA's. The most recent one I heard about was a merger between Coca-Cola and Minute Maid. Their databases (and they had a lot) had to be merged, and Minute Maid's wasn't designed the same way Coca-Cola had theirs and this, that, and the other thing. They planned and tested this merge for a good six months before pulling an all nighter to perform it. Having a standalone DBA isn't necessarily required in a small company, but in large ones teams of them become absolutely necessary for customer satisfaction.
May
3
comment What can slow a developer down?
Experience says that it'll have poor architecture. Flying by the seat of your pants and cowboy coding are probably the worst things you can do during development. Having a design phase that will last a week, will save you months of programming and will lead to code that does what it's supposed to the first time around. The idea behind TDD is that you don't change the tests. Those tests are meant to emulate real-world usability, and if your code can't finish the test, then your code is wrong.
Apr
24
comment user security pattern recommendation/best practice
+1 This is what I've generally done in the past.
Apr
20
awarded  Scholar
Apr
20
accepted How much code does one have to derive from another source before the license rules are applicable?
Apr
20
comment How much code does one have to derive from another source before the license rules are applicable?
Quoting the BSD license: Redistribution and use in source and binary forms, with or without modification, are permitted provided the following conditions are met. Then it goes on to list that redistribution must retain the copyright, and the conditions, something that doesn't apply to me since I'm not distributing binary, and then a bit about how you can't use the name of the organization (or it's contrubtors) to endorse or promote the redistribution (without written consent). Since it says I must retain copyright, even with modded code, I'm guessing that I need to use BSD. Just a guess tho.
Apr
20
answered Biggest mistake you've ever made
Apr
20
awarded  Student
Apr
20
asked How much code does one have to derive from another source before the license rules are applicable?