A lot of us really do need to just RTFM sometimes.
View full article »
Category: Technology
Well, it seems that spambots have found an easy way around the SI Captcha plugin for WordPress…
What a pain in the ass. I swear, if I ever catch someone to runs a spam operation, I’ll kill them. It’s the most pointless and annoying blight on our generation since reality TV.

This is you on social media
Don’t get me wrong: I love Google. Not to the extent of some raving fanboys, but I do have a soft spot in my heart for our increasingly powerful friend from Mountain View, California. If I’m going to have to sell my soul (read: personal data, genetics, history of movements) to a massive company, I’d rather it be Google than Yahoo, Microsoft, or Facebook.
There’s one thing that niggles me, and a lot of other people, about Google though and it’s nothing to do with privacy, monopoly, or power; it’s their complete inability to provide decent customer service or timely bug fixes.
View full article »
I swear I didn’t just play L.A. Noire for 3 hours.
A) Truth
X) Doubt
Y) Lie
…but seriously, I’ve come to the conclusion that it’s really not a very good game. The missions are repetitive, the story ridiculously linear, the game mechanics are dated, the player interaction is trival (it’s like watching a movie but being forced to twiddle a joystick every 15 minutes until something beeps).
View full article »
I picked up L.A. Noire from EB Games this morning, much to the chagrin of the store clerk who wanted the day off to play it but got called into work regardless.
View full article »
I thought I’d do the right thing and buy one of those $70 Jackson 6 plug “energy saver” PT9778 powerboards that have a master socket and a number of slave sockets. The idea is that you plug your computer or TV into the master socket, and when you flick it to standby mode, everything plugged into the slaves is instantly turned off — saving you money.
View full article »
Another boring tech post, but I found it so difficult to find a simple, straight answer online that I have to post this.
All I wanted to do was make sure that when editing a record in Symfony using a page created using the admin generator, that it didn’t crack the shits if you didn’t edit an image that you’d previously uploaded. What if you just wanted to change the name of a recipe, but not the photo?
That’s a pretty simple request, right? I’ve seen posts advocating javascript and ajax, checkboxes that turn the input boxes on and off, extending the base Doctrine/Propel classes… wow.
Want to allow users to keep the existing file? Modify your *Form class and set the sfValidatorFile ‘required’ field to $this->isNew().
Eg.,
$this->setValidator(‘banner_file’, new sfValidatorFile(array(
‘required’ => $this->isNew(),
‘mime_types’ => ‘web_images’,
‘path’ => sfConfig::get(‘sf_upload_dir’).’/',
)));
Done. If the user edits the file, it will save. If they don’t, the original file will remain. If they create a new record, they’ll be forced to upload the file.


