Archive for September, 2009

osCommerce working without register_globals

Monday, September 28th, 2009

Confirmed working and committed to CVS!

I also took the time to check out the osCommerce site itself and found that they’re very close to lauching osCommerce 3.0 – that’s definitely good news. The development road map looks strikingly to my own, however, and that’s disheartening, as I’m sort of stuck on my own branch / platform at this point. It will be interesting to see the new engine, but all in all I’m not terribly worried that it will be so much better than mine as to make my past development work worthless / pointless, as open source projects are rather notoriously ragtag.

I suppose now, the next moment to look forward to is when I can compare osCommerce 3.0 to my own ecommerce platform. As far as this small step – I’ll post a working example of my heavily modified osCommerce site working once it’s launched live (probably a few weeks).

osCommerce without register_globals!

Wednesday, September 23rd, 2009

I’ve now rewritten most of osCommerce w/ OOP style code, integrated it with Smarty, and am on the verge of having it 100% functional without register_globals. Needless to say, this is a very momentous moment for me, as I’ve spent the better part of three years doing this. The question that I pose myself now, though, is whether to eventually release my work to the osCommerce team, or, given that the changes I’ve implemented are so far reaching, to start my own open source shopping cart project.

The other question, obviously, is whether or not there is much demand for yet *another* open source shopping cart. I would argue that there is, because a ton of the open source shopping cart software that I’ve seen has been absolute garbage (osCommerce included), but perhaps more research is needed. I also might completely remove all osCommerce code / design from my work and create my own site that provides ad-supported usage of the new engine without releasing my source code. Lots of possibilities.

Will post again once I’ve confirmed everything is working fine with register_globals turned off.

PDF files – the most heinous crime against the Internet?

Tuesday, September 22nd, 2009

A long time ago in 1993, Adobe decided to create a format for sharing files called “PDF” that was allegedly independent of application software, hardware, and operating system – this three letter acronym quickly grew infamous as millions worldwide were exposed to the format. The catch, of course, was that for a long time, the free (and thus most common) way of viewing these files, was with a terrible program called “Adobe Acrobat” (now “Adobe Reader“). This program is really quite astounding, in that it essentially transforms your computer into a badly bound photocopied version of whatever content you were trying to view in PDF format, in fact, if one views enough PDF files, one might come to believe that one doesn’t actually posses a computer at all. This leads me to believe that PDF format was in fact funded by some sort of anti-technology secret society – perhaps the Amish or the like. Although – in the contemporary version – there is now an option to “save as text”, this option is still basically useless for most practical uses, such as viewing a spreadsheet that’s been sent to you in PDF format in Excel or Open Office.

If you are unfortunate enough to encounter a PDF file that must be viewed, there is a good download called “pdf download” by “Nitro PDF Software” – you can get it here for Firefox or IE7/8. While this software is useful, I am not sure if “Nitro PDF Software” is a company that has the best morals. After all – they’re essentially profiting off of one of the worst crimes against human civilization (PDF).

In any case, it seems obvious to me that the secret intent of PDF format was to inhibit the technological advancement of mankind. The tragedy of the PDF atrocity, is that, unlike the holocaust, mankind has not learned its lesson from this atrocity (except Bosnia, Darfur, Chechnya, Tibet, and such) – and PDF files are still in wide and open circulation today. Even though all of the evils of PDF files are known, there are still people out there who continue to create and distribute them as if they were oblivious to the plight of the many who are forced to interact with PDF format on a day-to-day basis. When will we, as a species, stand up for our rights and shout as one “ENOUGH IS ENOUGH!” I – for one – have had enough. It’s my sincere hope that, in the future, humanity can be free of all forms of oppression and intellectual suppression – why not start by quashing PDF?

Citizens outraged by dog starvation case

Sunday, September 20th, 2009

People angry about man underfeeding dogs

As easy as it is to pick holes in the beliefs of animal rights activists, I haven’t seemed to have tired of it yet. At any rate – I think one of the biggest problems with these sort of cases is that it’s hard to know where to draw the line. What animals are included in this ban? Why do animal rights activists not push harder for the rights of cows or sheep (well, I guess the super hardcore ones (Vegans) do, but they’re completely batshit insane)? Would people be just as outraged over cows being improperly slaughtered? Obviously, “love for animals” is reserved only for cats, dogs, and perhaps seals and whales depending on the sort of animal rights quack who you happen to talk to.

Animals are animals – until it’s illegal to eat a steak or go duck hunting, it should be legal to do whatever you want to a dog or cat (assuming it’s yours). Enough of this pointless, selective, and often hypocritical animal rights nonsense already! I’ve been meaning to get a picture of myself at a dog restaurant eating meat that is visibly from a dog – I guess I’ll have to get going on that – will post pictures!

For those who would argue that many serial killers and such get their start by torturing animals – I have a counterargument: why not set them up in slaughterhouses or allot them a monthly supply of baby kittens or puppies with which to torture? Maybe all this prohibition on “violence” against animals in our society is what drove these guys to become what they became. I mean, maybe all they really needed was some encouragement, along the lines of “yes – those are animals, we can do what we like with them, because they’re not human.” When we start to treat animals the same as humans, then we blur the bounds of morality, and suddenly, a boy who is reprimanded for torturing a kitten thinks “well – I guess torturing a kitten is the same or worse than torturing a baby.” Maybe, just maybe, animal rights activism is one of the root causes of much of the sadistic homicide that is prevalent in our society.

Google Analytics tracking for subdomains – works!

Sunday, September 20th, 2009

Well – as a follow up post to my last one regarding adding subdomain support for Google Analytics – it’s working! It’s trivially easy to make GA work with subdomains, so much so that I’m honestly not sure why this isn’t the default behaviour already :S

It’s always fun to bring someone new into the world of GA – Tuzi is definitely having fun with all of the different filters, reports, and whatnot. Next on the list is probably finding a good wordpress mod that inserts analytics script into themes automatically; it’s not really an issue right now as I only have four themes enabled, but it will definitely be an issue as the site expands.

Adding Tracking for Subdomains with Google Analytics

Thursday, September 17th, 2009

Tuzi asked me to make her an account so that she can see who is viewing her blog; I just finished updating the tracking code and adding the filter – time to see if it works I guess.

I found a great blog post that I’ll share with those of you who might want to attempt something similar:

Tracking Subdomains with Google Analytics (epikone.com)

I’ll post an update probably on the weekend regarding whether or not this worked!