534 reputation
37
bio website
location
age
visits member for 4 years, 1 month
seen yesterday

Aug
14
comment am I simply too old to try and get work as a programmer?
+1 especially for "a portfolio of proven skill." Also see this question for ideas on what employers care about. Do be realistic about expectations: Many 36-year old programmers will have senior positions and very high pay, but you may need to start out more humbly.
Sep
2
comment Is it safe to just use MySQLi?
The only thing that should give you pause is if you have active users who do not have mysqli available in their php installations. If they exist, you'll be doing a favor by forcing them to upgrade, but it might be nice to warn them first.
Oct
9
awarded  Yearling
Sep
19
comment Which VCS is efficient for storing small changes to big text files?
I don't think you'll have performance or space problems with git, but the best way to find out is to try it.
Sep
3
comment Productivity strategies for one developer using many PCs
+1 Storing config (dot) files in something like Dropbox or Github can be really powerful. To set up a new machine, just make symlinks to those sync'd files and it acts just like your other machine(s).
Aug
1
comment How can I get an anonymous user to submit bugs on a private GitHub project?
Also not an answer: Consider simpler form (lower barrier for the user) that just sends you an email. As you're just launching, any user who takes the time to file a bug report is probably somebody you want to engage with personally, anyway. Dumping them off to Github is actually a waste of an opportunity.
Jun
29
comment Where should I insert data into the database?
@fdsa: What really matters is the pattern of requests and responses between the client and server, not which code lives in which file. You could put all of the code in one file and use $_POST and $_GET to determine which action to take or view to render. Or you could use a separate file for everything, or something in between.
Jun
28
revised Where should I insert data into the database?
added 27 characters in body
Jun
28
answered Where should I insert data into the database?
Jun
20
comment Using a parser to locate faulty code
Ah... yeah, that's a rough spot to be in. If asked to change code like this (and if quitting isn't an option), I'd first reformat it w/o altering its behavior. THEN make the desired changes.
Jun
20
comment Using a parser to locate faulty code
Format Your Code A big reason for using consistent line breaks, indentation, spacing, and naming is so that errors jump out at you. There's no reason for all of this to be on one line. (You're also abusing the ? operator, which makes the code especially obtuse in the absence of formatting.)
Jun
13
comment PHP Parallel Requests and Session Stability
+1 If you keep the session locking as brief as possible and treat session data as mostly read-only, you shouldn't need a hardcore concurrency solution unless you're doing something unusual.
Jun
13
comment Learn programming backwards, or “so I failed the FizzBuzz test. Now what?”
Relating to the stuck b/c I didn't memorize % issue, it's worth noting that there are other ways to do this: (assuming $n2 != 0) if (is_int ($n1 / $n2)) or if (($n1 / $n2) == (int) ($n1 / $n2)) Knowing keywords is one thing, and knowing how to express the underlying ideas in the absence of a built-in solution is another.
Jun
8
awarded  Caucus
Nov
30
comment Elegant ways to handle if(if else) else
+1 This mutual 'Nooooo!' is funny. I think the status variable and early return are both reasonable in certain cases. In more complex routines, I'd go for the status variable because, rather than adding complexity, what it really does is make the logic explicit. Nothing wrong with that.
Oct
9
awarded  Yearling
Jul
28
comment Is there a way to update a client's database without seeing all his sensitive data?
@Daenyth: Don't give up on your idea so quickly. You could dump the live data along with the schema, import it to a new db, and run a sanitizing script to replace sensitive info with fake data without losing the shape of the original data. Certainly the madness referred to by Christopher Mahan isn't the actual email address of Client number 452.
Jul
21
comment create site with Codeigniter without database support
@wolf3d, in case you haven't looked into SQLite because it sounds too much like a database with a server component, it's not. It stores data in files, but lets you access it in nice SQLy ways, instead of having to parse XML or CSV or whatever...
Mar
19
comment Does anyone know of a simple (free?) feature request tracking system we could use internally for sales people?
@Thorbjorn: good suggestion. I'd add that, if your issue tracker can accept issues via email, you could just send the emails there and create 'Feature Request' issues. (Many of the answers below suggest specific issue trackers, but surely you're already using one.)
Mar
2
answered How do you get people to use a bug tracker?