Archive for the ‘Web’ Category

We should call it Treet

Thursday, February 14th, 2008

I really love SPAM. Spam musubi, spam & eggs, ramen with spam… the list goes on. Sure it’s made from unknown parts of a pig with surely unhealthy amounts of salt and other things but it tastes good. And millions of people throughout the world love Spam. I never got why we call unwanted mail or postings “spam” when it’s such a good thing. Shouldn’t we call it something else like Treet? Really, who eats Treet? And why would you eat a chicken and pork product when you could have 100% pure pork and ham? (Apologies to my kosher friends out there.)

Why am I talking about this? Well, after a couple of months of minor spam comment postings, my little blog fell under attack in the last day with dozens of bogus comments advertising all kinds of gambling services. Most got flagged as needing moderation but a lot still made it through and needed to be manually gotten rid of. If you’ve seen the commenting area of a post, you’ll notice I’ve been using reCAPTCHA to help prevent spamming. Since it’s turned out not to be an end-all solution, I started to look at alternatives.

First step was to straight away ban the most common IP addresses. Current WordPress versions have this as an option. Since the traffic and number of comments is very light, I don’t think there’ll be much collateral damage to legitimate posters. It’s also possible to alter the .htaccess file to totally deny access but that felt to be a bit much since I’m not really under a heavy attack. As a longer term solution I’m looking to see what other options are out there. A couple of notable are Spam Karma 2, Peter’s Custom Anti-Spam Image Plugin and Bad Behavior. Depending on how effective updating to the latest reCAPTCHA and just blocking annoying IP addresses turn out to be, I’ll take a look at these solutions.

Thanks to a posting on Jammed for some of these plugin pointers.

iPhone Web Apps

Monday, January 28th, 2008

While I’m writing posts, I’ll update on my Comics DB web app. I’ve started to do a mock up of a user interface for iPhone. Not that I did a huge amount of investigation, but the most serious choice for a framework looks to be Joe Hewitt’s iUI. It’s a combination of JavaScript and CSS which neatly transforms simple HTML elements into nice iPhone-like menus.

I really need to put more time into this as I’d like to get it up and running in time for field use at WonderCon next month.

Quick Progress

Wednesday, November 28th, 2007

The long Thanksgiving weekend was a good opportunity to make some progress with my comics database web application. I was actually surprised how easy it was to get something more or less fully functional running in a few hours spread across the weekend.

I ultimately decided to just go with CakePHP. For the reasons listed before, it ended up making to most sense based on what I’ve already had experienced with and what seemed to be installed by default with my ISP. I just followed the Cake Blog Tutorial, recasting blog postings into comic book titles with the appropriate field changes. Some retyping of code and minor editing of values and voila! a complete web application was born.
(more…)

Managing a Comic Book Collection

Saturday, November 3rd, 2007

I’m still planning to write some additional articles on Japan, specifically on Akihabara. Since pictures are always good, I’ve started to look through my backlog of trip photos. Unfortunately, organizing family pics have taken precedence. In the mean time I’m contemplating my first private programming project in a while.

I have a lot of comic books… when I stopped counting years ago I must’ve had around 3,000 by estimate. With many short boxes added in the last few years, the count should be over 3,500, maybe even 4,000. Since I’ve long stopped remembering comics by issue number or cover, I’ve turned to databases over the years to keep everything organized.
(more…)