Slipout, reboot

November 28, 2006 · Filed Under General · Comment 

Remember that song? Koyuki, does it ring a bell?

And I’m scared scared to death

I’m scared to keep on going on my way

I’m scared scared to death

And I tell myself special ’til the end

By far, this maybe the worst month ever of my working experience. Of course, a reboot would be very nice. But I know my limit, reboot wouldn’t come that easy. I need to reboot my belongings, my records. I meant something like putting some fancy ajax show off here :p. Reboot the CSS (I can’t hardly imagine how will I ever be able to do that) and write more techie stuff that really stands out my position within the web 2.0 flux

Reboot. One darn fucking hard word/k.

Bravo, Didats

November 28, 2006 · Filed Under General · 6 Comments 

Frankly, saya agak terperanjat waktu adek bilang Didats mau kerja keluar negeri. W00t! That’s so cool. Salut deh buat Didats. Ketabahan dan ketangguhanmu selama ini membuahkan hasil :). Untuk aku kutip, aku kagumi, dan aku camkan:

Melepas zona aman demi tantangan yang luar biasa adalah sebuah kesempatan yang langka.

Selamat mewarnai dunia dengan CSS ^^

AdvAjax, multiple submit button

November 27, 2006 · Filed Under Dev Hours · Comment 

A fellow in team complained about the bug existing within the current framework. A form with multiple submit button was not submitted correctly. All submit button was submitted instead of just the one clicked. A glimpse look over advajax.js, there’re no support for this. Before I made the patch read upon W3C specification to check whether multiple submit button in one form is indeed valid. And it does. Well, using Behaviour with attribute selector rule, I made a simple helper script to disable all submit button except the one clicked. And then the rest are handled by advajax. it works as expected in W3C’s form submission spec, ie: only successful controls can be submitted. Below is the behaviour rule. I’m sorry, there’s no love for you non Behaviour user. But I can guarantee that you’ll find no issue porting this code to your need.

Read more

Casino Royale

November 25, 2006 · Filed Under General · Comment 

Why did they choose poker? Especially Texas Hold’em. Is it just a coincident that it’s has been spamming the net for quite a while? Anyway, the music score is awesome. I love Chris Cornell voice. The opening scene was also stunning, though it’s kinda bloody. I can’t remember this much blood on previous 007 movie before. The movie opened with such a nonstop chasing action, kinda acrobatic and smelled like Jackie Chan. No Q here. And I was lost when the story almost reached the end. Maybe I wasn’t aware that there’s still some more minutes to spend before the film end. So I wasn’t expecting another scenes. Realistic? Well, I’m some kinda agree that this is the only 007 that looks like a human ^^

Japanese Dangdut

November 23, 2006 · Filed Under I love Japan · 1 Comment 

I was looking for live Japanese band performance via Youtube. And I stumbled upon this Drunk Girl band which reminds me so much of dangdut — as dangdut we can meet in Indonesia or India. Is this just coincidence or the band actually got their inspiration from dangdut genre? Look at her voice and dance. it’s not a “patah-patah”, “kayang”, or “nge-bor” style, but I guess it’s still dangdut alike. Does this mean dangdut is really universal, which will always generate the same body moves stem from below-consciousness dimension? It’s kinda cool. I like it ^^.

1:1 scale figurines

November 23, 2006 · Filed Under I love Japan · 1 Comment 

Disclaimer: Do NOT click the link if you’re under eighteen years old ^^

*nose bleed*

Saber..? *faint*

Pain Philosophy, Grey’s Anatomy

November 23, 2006 · Filed Under General · Comment 

Finally I can’t turn away from Grey’s Anatomy my friends have been watching. I’ve seen some scene before on cable. This one episode I watch, it’s kinda cool. I love the final monologue and kinda agree to it: Pain, you just have to ride it and it’ll goes away on its own. You can not outrun pain cause life will always makes some more.

PHP Adodb’s mysqli call-stored-proc patch

November 22, 2006 · Filed Under Dev Hours, Open Source · 4 Comments 

Ever wonder why you got “can’t return a result set in the given context” error? Well, the doc says you need to enable CLIENT_MULTI_RESULTS using mysqli_options. I got CLIENT_MULTI_RESULTS real value via google’s codesearch. This patch below will enable stored proc call and add port support in hostname (eg: 192.168.1.51:5015).


function _connect($argHostname = NULL,
$argUsername = NULL,
$argPassword = NULL,
$argDatabasename = NULL)
{
// @ means: error surpression on
$this->_connectionID = @mysqli_init();

if (is_null($this->_connectionID))
{
// mysqli_init only fails if insufficient memory
if ($this->debug)
ADOConnection::outp("mysqli_init() failed : " . $this->ErrorMsg());
return false;
}
// Set connection options
// Not implemented now
if (function_exists('mysqli_options')) {
mysqli_options($this->_connectionID, /*CLIENT_MULTI_RESULTS*/0x20000, 1);
}
if (preg_match('/(.*)?:(\d+)/', $argHostname, $matches)) {
$argHostPort = $matches[2];
$argHostname = $matches[1];
} else
$argHostPort = NULL;

if (mysqli_real_connect($this->_connectionID,
$argHostname,
$argUsername,
$argPassword,
$argDatabasename,
$argHostPort))
{
if ($argDatabasename)
{
return $this->SelectDB($argDatabasename);
}

return true;
}
else
{
if ($this->debug)
ADOConnection::outp(”Could’t connect : ” . $this->ErrorMsg());
return false;
}
}

PS: Watch out for nasty quotes

Yahoo! Messenger Plug-in uses JavaScript and C++ API

November 21, 2006 · Filed Under Technology · Comment 

Looking at this information below, copy pasted from Yahoo! Messenger Developer site, I am intriqued to install YM8.

The Messenger Plug-in SDK is a JavaScript and C++ API that you use to create add-ons with collaborative features that can run inside Yahoo! Messenger. Plug-ins run in the main Messenger window, or as part of an IM conversation. Yahoo! users can download Plug-ins from the Yahoo! Messenger Plug-in Gallery. Create plug-ins that are as simple as an HTML web page, or as sophisticated as a map collaboration tool that uses ActiveX, Flash, DHTML, AJAX or any other browser-based technology

Ugh, Javascript is so sexy!

MS Novell Deal

November 21, 2006 · Filed Under Open Source · Comment 

It’s been around for quite sometime, yet I haven’t found the best way to express my unpleasant feeling on it. Finally, I found a nice and insightful comment on slashdot which also represents my feeling. Kudos slashdotter.

Okay, regarding the deal it self, basically I also believe that it really piss the community at large. As quoted below:

Let’s not beat around the bush on this. Your actions reek of the proprietary and closed mindset–not open source. It is clear this is a deal meant to benefit you first and foremost. While your customers may (or may not) benefit, the community at large seems to be left pissing in the wind. This is profoundly confusing since the vast majority of the Linux product you purport to protect has been written and continues to be written by that community and not your engineers.

And regarding to the interoperabilty that may benefit the community from this deal, let’s read more quote:

Like I said, Microsoft has access to all of the Linux code AND all of the Microsoft code.

Microsoft can open any spec it wants, whenever it wants.

Any other talk about “interoperability” is pure bullshit.

As I can remember, MS has joined the ODF Initiative, yet they come out with their own Office XML. ODF wasn’t good enough as I can remember what they said. Anyway, the last two lines of the quote sums it all.

PS:

I’m sorry for any hurt feeling on you MS lover ;)

Next Page »