« January 2003 | Main | March 2003 »

February 2003 Archives

February 1, 2003

Style Sheets

I realize this entry is like.. 5 years old, but I've finally discovered the true magic of cascading style sheets. (I think it's a late Christmas Miracle!). Prior to tonight, I'd used them here and there throughout this web site, but I've finally cleaned them all up and now they actually "cascade". Between that and SSI's (I actually use Mason, which has similar features) I think I could overhaul this entire website in about an hour -- which for me is amazing since the last 3 times I've gone through and changed everything it's been a full-weekend project. Maybe I should let viewers choose a "glug.com theme" for the mood they happen to be in that day. :) Anyway, I'd like to thank the W3C for finally bridging the gap between "HTML" and "Document Publishing".

Columbia Lost

[Space Station]: Uh.. Mission Control? This is the ISS... the boys and I have all got together and talked about this... and umm.. when it's time for us to leave the station, is there a chance we could catch a ride with the Russians?

February 2, 2003

AIM About America

Re: My "Grow up, America" post:

NeatBrian: People seem to take that topic VERY seriously.. I pissed a few people off -- got a few nasty emails that didn't get posted to the comments.
MarysBigTeeth: i dont know why you just dont mock each one of them seperately in seperate posts
MarysBigTeeth: also--you could correct their context and grammar
NeatBrian: yeah, but attacking someones opinion by insulting their intelligence is so overdone...
MarysBigTeeth: and say things like...people that love america are dumb--they lack the basic skills to write english correctly so i cannot consider their opinions as "serious" or "valid"
NeatBrian: And let's face it
NeatBrian: it's way too easy
MarysBigTeeth: yea but it's true
MarysBigTeeth: and funny
MarysBigTeeth: you can post this conversation if you like
MarysBigTeeth: then they can all send me death threats and i can play with my own feces

February 3, 2003

News Reporting Morons

Can't we pass some sort of the law that says in order to report news, you must have an IQ of at least 12?

Joe Millionaire

From Dave Barry's Blog:
"At this time we have found no -- repeat, NO -- substantiation of the rumor that, as a child, "Joe Millionaire" played Cindy, the youngest girl in the Brady Bunch. Please do not circulate this rumor widely on the Internet! Thank you."

A Cultural Experience

Do you like Nachos? Talking Chihuahuas? You've got to check this out -- you'll LOVE it!

February 10, 2003

Free Socks at Airport Security

Finally!! Someone understands how awful it is to have to take off your shoes in airport security checkpoints and they're doing something to make it all okay!! FREE SOCKS!. These guys seem to know what makes people feel all warm inside.

A clue from the Germans

Hey.. Bush.. when even the GERMANS don't want to fight, TAKE THE HINT!

February 13, 2003

What does N. Korea have to do?

What does N. Korea have to do to attract U.S. Military attention? Even The Onion gets it for heavens sake!

Editorial: Bush is a total MORON! Does he think all Americans have the IQ of lawn ornaments?

February 19, 2003

Winnie the Human Shield

Great news everyone.. Winnie has volunteered to go to Iraq. Can we put together a collection to buy her a ticket?

February 23, 2003

Good reason to invade Iraq

I'm pleased to report that it appears as though The Onion has come up with a Good reason to invade Iraq. (scroll down about halfway).

Fascinating point of view

George Monbiot has written a fascinating article detailing a possible theory for our governments unrelenting position to go to war. If you are following the politics surrounding these events, this is a must-read, even if you don't buy his theories.

In a series of packed lectures in Oxford, Professor David Harvey, one of the world's most distinguished geographers, has provided what may be the first comprehensive explanation of the US government's determination to go to war. His analysis suggests that it has little to do with Iraq, less to do with weapons of mass destruction and nothing to do with helping the oppressed.

Why, when the most urgent threat arising from illegal weapons of mass destruction is the nuclear confrontation between India and Pakistan, is the US government ignoring it and concentrating on Iraq? Why, if it believes human rights are so important, is it funding the oppression of the Algerians, the Uzbeks, the Palestinians, the Turkish Kurds and the Colombians? Why has the bombing of Iraq, rather than feeding the hungry, providing clean water or preventing disease, become the world's most urgent humanitarian concern? Why has it become so much more pressing than any other that it should command a budget four times the size of America's entire annual spending on overseas aid?

Read the entire article Here.

February 24, 2003

My Love/Hate with Sprint

Could I be any more excited? A few weeks ago I switched my cell phone service from Nextel to Sprint -- but before I begin, I think a few disclaimers are in order.

First, let's talk about Nextel. They're not bad -- but I think they're the cell phone carrier for people who have more money than sense. Let's face it, the two-way radio is cool, but is it really worth paying double what the other carriers are charging? I switched from two phones sharing 1,000 minutes for $150/mo to two phones sharing 2000 minutes (plus free calls between the phones) for $85. There's something to be said for helping fools to part with their money -- Nextel has this mastered.

Second, let's talk about my choice to switch to Sprint. I swear I was sober when I did so and to the best of my knowledge, had not been the victim of any government (or corporate) mind control projects. This is a hot topic of debate among friends and coworkers, however. So take this with a grain of salt. Anyway, it turns out Sprint, at the time, was kind enough to offer UNLIMITED DATA on their phones! Yes.. the same thing T-Mobile charges $5 to $25/mo extra for 5mb to 15mb of data.. AT&T in similar price ranges.. Sprint is giving away UNLIMITED for FREE. I still can't figure out what made them do this -- but it's okay by me!! (Note: I don't think they're offering any more plans of this nature).

So here's the good news -- it turns out the Samsung N400 can be plugged into a computer via USB (with the top secret cable that Sprint won't tell you about). In other words, you can surf the net, from your laptop, using their 1xRTT CDMA network. And since the plan uses UNLIMITED DATA, I can connect to the internet, for free, anywhere within the SprintPCS coverage area.. once again.. FOR FREE..

So about this secret cable... It turns out Sprint doesn't want this to be a well known thing because I all but had their customer service reps deny its existence. It's as though it's critical to national security that customers not buy these cables because once I got it out of them that yes, there was a cable I could use to connect my laptop to the internet through the phone, that they didn't sell the cable and it was impossible to find one.. so I'd best not even try. They need a better cover story because 10 seconds later, I had found one on eBay for $19.95 and it was on the way.

Sprint... I love you. This is the greatest thing ever, and I promise to recommend you to all my blog buddies because of this. *MUUAH*. I do have a couple of complaints though... 1> Don't advertise that this stuff goes 144k -- I'm lucky to be getting 1k (yes.. slower than a 14.4k dialup modem). The speed SUCKS! Fortunately, it's for backup-travelling purposes only.. but come on, 144k? please. Only one other complaint... I was shocked at first when I found out that I could only download ringtones from the SprintPCS site -- I was further shocked to discover that they wanted $1 for every ringtone I downloaded, and I was FLOORED to find out that they expire after 90 days!!!! WHAT THE ?! I have to RENT MY RING TONES?! The ones that come with the phone are all AWFUL - they're all SONGS.. and I REFUSE to be the guy who has a FREAKING SONG PLAY every time his phone rings. NOT A SINGLE NORMAL RING TONE COMES WITH THIS PHONE! So I'm stuck RENTING one from Sprint.
I asked the customer service rep about this, and asked if there was ANY POSSIBLE WAY for me to download a ring tone from another site.. he was very quick to dodge the question and eventually I got it out of him that yes, this could be done, but doing so would VOID MY WARRANTY! Give me a BREAK!

Good thing I have this data thing. Reow.

February 25, 2003

Why PHP is not for enterprise development

Why I wrote this

I write this not to start a flame war or become involved in a religious debate about the right language for the right job. I recognize the value of PHP to the current IT economy. It provides tremendous strength in time to market and light-weight web development apps. I am attempting to point out the short-falls of PHP in relation to its use as an enterprise web development platform, not to discount it as a web development language in general. These are the conclusions I've drawn after a significant amount of research on this subject, they are the opinions of only myself, but I believe anyone who is considering PHP for a large-scale development effort will find this information valuable in making an intelligent decision.


PHP lacks maturity

PHP has only been around for a very short amount of time, especially in comparison to other popular web development languages like Perl. Even Java, a language geared towards web development, has been around longer. This may not seem like a huge issue until you bury yourself in a project and realize that the language doesn’t yet provide support for some intricate task you’re trying to accomplish. Case in point, PHP lacks support for doing embedded evals. Further, the actual syntax for simple things like variable numbers of arguments to functions is still evolving. Further, there is no unity in the syntax of PHP functions (don’t believe me? Try to write a set of operations that maintain a sorted list – PHP keeps changing the rules!)

The PHP development team is reckless

The lack of maturity in PHP is further illustrated in the documentation, which is incomplete and does not get updated between revisions. Even the core specification seems to change between minor versions, the likes of which have no documentation other than the source code itself. Additionally, my experience with PHP in a mass-deployment environment of approximately 12,000 customers has proven that with each release of PHP comes new bugs that go far beyond “slight changes in behavior” of the code. They actually BREAK core functions in the language! (the upgrade from 4.2.3 to 4.3.0 actually broke sprintf()! (Why someone was messing with a core function like sprintf is beyond me). The end result of this being that, in my experience, not a single deployment of PHP (be it a bug fix or version upgrade) has ever happened without at least 100+ web sites of ours breaking due to some major bug in the release – often with things the developers had no business messing with in the first place. Further, the PHP team, while quick to release patches for security bugs (which tend to break other things, I might add) are often painfully slow to issue patches to known bugs (example, the $PHP_SELF problem in 4.3.0 still has no resolution, yet it’s a core function used in nearly every PHP application. Their answer instead was to issue a workaround, requiring each site using PHP_SELF to change their code).

PHP requires a significant amount of wheel re-inventing

Unlike more mature languages such as C++ or Perl, the PHP libraries are severely lacking. Indeed, in nearly every case where a connector or API is needed to talk to some other application or product, the work must be done by hand. Other languages such as Perl really shine in this area where plug-ins and modules are readily available for nearly every task imaginable (from SSH to EDI to X10, it’s probably already been done).

PHP was never designed for large scale applications

The primary design goal of PHP was to produce a light-weight application that would make things as simple as possible to install and start using. In some cases, this meant that features normally available to experienced programmers had to be left out. For example, PHP lacks support for private namespace so there is no way to create three-tiered applications that separate business logic and presentation code. Further, there is no mechanism in place for creating reusable code modules. Finally, PHP was not designed for general-purpose programming (although it now provides some hooks for using PHP from the command line, but those who understand PHP or scripting in general realize that this would be the wrong tool for any command line job). Understand that PHP is well-suited for the common tasks associated with web-scripting. However, experienced programmers will find it drastically limiting to expand beyond that scope with PHP, thus forcing the programmer to bring two development platforms to a project that could have been easily done with one. In large scale projects, a general-purpose language will always outweigh the benefits of a specialized language as the scope of the project grows.

Conclusion

PHP is a tremendously valuable development platform provoding the scope of the project stays within the realm of what PHP was designed for (extremely light-weight quick-to-market apps). Beyond that scope, PHP is very much comparable to a toy in light of better alternatives on the larger scale. Platforms such as Java, C++, or even Perl (using Mason for embedded content and template management) should be considered heavily before banking on PHP as the proper solution to a big problem.

About February 2003

This page contains all entries posted to Brian's Brain in February 2003. They are listed from oldest to newest.

January 2003 is the previous archive.

March 2003 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34