There are a few quick ways to monitor MySQL performance. This isn’t much of an in-depth reference, just a quick reminder. Lets look: (more…)
All entries of my technical and business blog.
Eclipse PDT2 won't jump to functions/classes on ctrl-click: solved
I am using the new PDT2 based off of Eclipse 3.4. The one thing I noticed as an issue for me was the building. I created a project based off of a checkout using SVN. After I had built the PHP project, I could not ctrl-click any of the functions that were part of my project. It just wouldn’t find them. (more…)
Why the Boss makes YOU make a List or Proposal
From time to time, I’ve been asked to make a list of my design ideas, or to develop a better proposal for an idea I have. This really irritated me: didn’t he believe me? Didn’t he trust my ideas? But in the constant battle to become a better businessman, I’ve taken a bit of time to think about why this happens. He’s not out to get me, right? Yours isn’t either. Lets take a look... (more…)
Another example of CSRF - in CSS
Just saw this really cool example get submitted on one of my websites testing for CSRF: (more…)
My Progression through Forgot Passwords
I thought I’d take some time to look at the 3 main ways that I’ve handled forgotten passwords on my websites, why I did them that way, and if there was anything wrong. (more…)
Rely on Google for your Javascript?
After reviewing the Google Javascript API project, I am torn. Pro’s and cons below… What do YOU think? (more…)
Disable md5 now - or you will die
I remember a while ago hearing about a few theoretical collisions of the MD5 algorithm, but I thought nothing of them. Now, as more information emerges, Microsoft is issuing advisories, and people are proving more and more collisions with example code, and even md5 is out of vista, I figure its time to remind everyone not to use MD5. (more…)
Password Complexity Class
After many times of coding relatively the same thing, it becomes prudent to have a standard library for certain sets of processes. Of course - that is why there are things like frameworks! At any rate, one of the biggest things I run into is password complexity. Each website has its own requirement for the security they want to implement. So, let’s talk about the requirements and then look at the code: (more…)
Please Use Public Accessors in your Object Oriented Programming
I really hate to see people accessing and designing objects with public attributes. So many times I’ve seen this backfire. Lets take a few examples and see why this matters: (more…)
Trac Bookmarklet: load ticket number easily
While communicating with other coworkers, they generally just give me a trac ticket # and not the full URL. And, as a lazy programmer, I hate typing in the full URL or loading up trac and searching the #. So, I generated this bookmarklet. Replace the url with the root path to your trac instance. Finally, create a bookmark and put the following content in it: (more…)