Foolog: Mostly geek, tech, misc stuff

Blog - Foolog

Scaling PHP from the farside

[UPDATE]: Facebook plans to release a rewritten PHP runtime shortly. There was some speculatory report which made claims of a 10Ximprovement over mod_php.

Lately, I've managed to push myself to work on a new (and hopefully useful) pet project. For somebody whose constrained world-view of PHPLand was centered around producing or maintaining MVC frameworks that weren't full of shit bloat, It's been an interesting experience treading previously uncharted territory.

The most bitter truth is complicated
Let's accept it. PHP (for it's 33% share of the web, facebook, wikipedia, yahoo! and everything else included) is a tough nut to scale. The conventional way of scaling the PHP-layer for an application from scratch involves getting your hands dirty in the world of web servers, load balancers, opcode-caches and more.

Monty says, Help save #MySQL

http://monty-says.blogspot.com/2009/12/help-saving-mysql.html

Matter of notice, especially for PHPers, MySQLers in one of the EU nations.

This is a laughable account of profound hypocrisy. MySQL maintained a smart dual license policy throughout (I'm not complaining!), and sold out to Sun in it's ailing days(?) (This was disappointing) and eventually Oracle got a runaway deal on everything, but it's now that Monty expresses moral outrage over Oracle's ownership.

Why most frameworks suck

You might call me cynical, but this is a ranty (and nothing new) list of complaints + FUDs against most web development / application frameworks. Seems like this is also a natural point of transition for believers in another (new) faith, that of self-help (albeit more self deception and vanity all the same).

You fit the bill, rather than the bill fitting you
So many times, it seems that the problem is with MVC as a concept itself. The inherently flat flavor most frameworks put MVC in action to makes it that much more difficult for large codebases. It can't be helped feeling that adopting an MVC design is in many cases, squeezing yourself into a car rather than walking into one.

Like all blogs, I promise to write more

The true spirit of traveling is in *NOT* planning on the places or (the intention of) arriving.
— I don't know who

Not to appease my reader-base (which hardly exists in the first place), But for some soul-satiation which writing does provide.

On the other side of things, Traveling has hit an all-time low and life has been so hectic that I've found very little for all else. Maybe it *should* be this way, atleast at times: You get to savor those breaks in that much more bliss. Then again, Being the perennially paranoid restless person that I am, it takes more than an escapist getaway to find true peace. As Lao-tzu remarked, "I must find my way".

Help Translate Drupal to Kannada

http://localize.drupal.org/translate/languages/kn

Help Kannadize Drupal and Drupalize Kannada! Please join the Kannada localization group on localize.drupal.org and contribute translations online.

If you are the casual contributor who doesn't like messing around with translation editors, You need none of that. All you need is an account on Drupal.org. Or incase you prefer to / have translations locally/elsewhere, Please import your .pos in one shot.

Why Drush rocks and why dreamhost sucks.

I usually find three major uses of Dreamhost: Firstly (and importantly), as a backup dump, Secondly for SVN (Oops, not any more since I switched to github for good), Thirdly as cheap and slow hosting for mostly personal / hobby-network / friends sites. Contrary to people's complaints about Dreamhost, I find them extremely value providing (for shared hosting) for the money you pay them.

Now Drupal, as resource hungry as it is, is a pain on Dreamhost servers. I've had repeated painful experiences of the {menu_router} table getting half-rebuilt (or lesser) when I visit admin/build/modules before Dreamhost terminates the script for memory overconsumption, resulting in broken pages (and the annoyance of manually regenerating the table externally)

Ride the Wave.

I think this is the icing on the cake. Google is worthy of world domination.

http://wave.google.com/

Honestly, that demo excited me like nothing has in the last couple of years. I'm darn sure this is going to change and redefine how organizations, businesses and people are going to work and the technology thereof.

Useful Drupal Upgrade Snippet

Long time no post. Been really caught up: Tons of work, travel, Acads. Anyway, I happened to be upgrading some old Drupal sites from 5.x -> 6.x. Here's a little SQL snippet to disable all non-core modules first.

UPDATE `system` SET `status` = 0
WHERE `name` != 'system' AND `name` !='block' AND `name` !='node' AND `name` !='user' AND `name` !='watchdog' AND `name` !='filter' AND `name` !='upload' AND `name` !='tracker' AND `name` !='throttle' AND `name` !='taxonomy' AND `name` !='statistics' AND `name` !='search' AND `name` !='profile' AND `name` !='poll' AND `name` !='ping' AND `name` !='path' AND `name` !='menu'