Programming

Nov 20 18:36

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.

Apr 12 22:16

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'

Feb 21 10:28

Useless, but...

Somebody wanted this.

function ripper($url) {
$page = appr_curl_function($url);
if ($page === false)
{
die("Something wack happened");
}
preg_match('/watch_fullscreen\?video_id=(.*?)&l=(.*?)+&t=(.*?)&/', $page, $match);
$match1 = "http://www.youtube.com/get_video?video_id=";
if(!$match[1]){

Feb 14 10:15

Drupal 6 Released!

http://drupal.org/drupal-6.0

Finally! I should be ready to upgrade most of my sites right away. First pleasing news of the day!

Jan 25 07:44

Y! ID Scanner with PHP.

Old. Miss the Old YaJew! Days.

Not Multisock. Used to work, atleast.

-> http://www.bas.org.in/files/php.idscanner.phps

Disclaimer: People who hate nefarious stuff please turn away. I was still a Juvenile Delinquent then.

Jan 25 07:29

Thou artless earth-vexing pigeon-egg!

Finally, a programming language I can actually like!

http://shakespearelang.sourceforge.net/

There 's always something in the universe that you can get good at. I've heard of somebody who composed palindromic poems in Sanskrit and somebody who came up with a programming language with the code syntax being completely in whitespaces. I guess this endeavor deserves to make it to that list too.

Much in the same context, One more thing that comes to my mind are Kasper's (The Typo3 Man) PHPoems. I'm too lazy to find the links. Go look up google and read 'em up sometime.

Jan 25 07:21

Port of baseline.

One More Drupal Theme. This one is baseline from freecsstemplates

Quick n' Dirty, for some arbitrary dude.
Licensed under GPL. (C) 2007 to nobody. No Rights Reserved (atleast for the port).

Go here to Download - http://www.bas.org.in/files/baseline.zip

Refer to this post for the port of Industrial

I've got a few more. Will post 'em as I find 'em.