Congrats ciknana (PnNana) !
Posted by mkhairul - November 27, 2006 at 11:11:06 am - No CommentsCategories: blog
Congratulations to Pn Nana! OMEDETO GOZAIMASHITA!
Since you love cats… Here’s a few pics.
Streamyx Static / Public IP Configuration
Posted by mkhairul - November 25, 2006 at 03:11:15 am - No CommentsCategories: Troubleshoot, blog
I’m amazed at TMnet’s folly. No manuals? I’m amazed that I finally completed this task. Although I did make a lot of phone calls to people.. most of them helped a little, but didn’t root out the problem.
Here’s my setup.
Click for bigger view
For more info on IP allocation by ISP, go to Phil Lavin’s article.
First the settings for the modem / gateway.
Continue reading Streamyx Static / Public IP Configuration…
And its in your head.. In your overhead..
Posted by mkhairul - November 18, 2006 at 03:11:02 pm - No CommentsCategories: Tips, blog
While I was bored and waiting for FC6 (i386) download to finish… I found a site for bandwidth calculations. Lots of calculators. An interesting thing that I bumped into is the Overhead (I’ve heard of it before, cant remember).
I tried to calculate my download speed. In this case I used a file that I have downloaded.
2366 KB
Download time: 00:00:18
Actual Download Time: 1:54:41 -> 1:55:15 (34 seconds)
0.97379543533389687235841081994928
- File Size: 2366KB
- Ideal Download Time: 18 seconds
- Actual Download Time: 34 seconds
- Overhead = (18 / 34 ) * 100
- Overhead = 52%
From T1 Shopper’s Download Calculator:
"Actual transfer speeds will be slower than these times due to latency,
physical signaling overhead (i.e. the available transfer speed on a T1
is not 1536 Kbps since 192 Kbps is usually tied up in the T1 signaling
protocol), layer 4 transport and transmission protocol overhead (i.e. TCP
overhead, error checking, or protocol headers. For example each IPv4
header is 160 bits, each UDP header is 64 bits, etc. Add all this up
and you can loose over 10% of the total line capacity for just this one
step.), and handshaking negotiation procedures like "slow start" and others."
More Info:
- RFC 2001 – TCP Slow Start, Congestion Avoidance, Fast Retransmit, and Fast Recovery Algorithms
I’ll make him an offer he cant refuse..
Posted by mkhairul - November 17, 2006 at 06:11:28 pm - No CommentsCategories: blog
Pity I cant upload the theme.
Fedora Core 6
Posted by mkhairul - November 17, 2006 at 06:11:58 am - No CommentsCategories: Development, Troubleshoot, blog
A friend came over and asked for a help. Setup a production firewall and router for a company.
This is the task that I should embark. A challenge (for someone as lazy as me). I searched for stuffs. What stuffs? Stuffs that assures me of running it for production.
- Distrowatch – Fedora Core
- LWN: Fedora Core 6 review (Software In Review)
- Are you using Fedora in a production environment?
- Wikipedia’s Fedora Core
- Marketing/Press Archive – Fedora Project Wiki
- Installing A LAMP System With Fedora Core 6
- Fedora Project Leader Max Spevack Responds
- etc
I’ll update this later. For now I’ll just post.
Looking into Ajax…. AGAIN!
Posted by mkhairul - November 16, 2006 at 10:11:58 am - No CommentsCategories: Development, blog
I started doing a simple ajax project. Listing prices of pc parts. Easier for me to compare and see. Its like a dashboard of prices comparing prices from Lowyat vendors and pricewatch (I’ll probably extend this feature for flexibility purposes).
I start with simple stuffs using CodeIgniter PHP web framework. Then I started inserting Yahoo! UI Library. Well.. the stuffs are fascinating, and neat. But I got stuck on its autocomplete feature. You see, CodeIgniter doesnt support http get queries (localhost/price?test=woot). It only supports POST. So.. YUI wont let me do it, I could adjust the code but I dont have the time for it. I searched for prototype, yeah.. prototype is the answer (Easy Ajax with Prototype), but then I stumbled upon script.aculo.us’s autocomplete function. Since it uses prototype, it should extend prototype to considerable length. So.. I started using it, works great so far.
Oh yeah, I also found a nice extension for firefox 2, Firebug, a web debugging tool (besides webdeveloper extension). It has a feature that I needed. It lets me see XmlHttp traffic. See pic below. Ah yes.. thats YUI autocomplete example.
Upgraded to Firefox 2.0 Finally.
Posted by mkhairul - November 15, 2006 at 06:11:26 pm - No CommentsCategories: blog
I’ve finally come around to updating to Firefox 2. Why? Because I open lots of tabs. When I mean lots.. it really is alot.. so much till I cant see the latest opened tab. I have to use my Jedi senses and find the tab with the help of the Force.
After I upgraded, I checked the Add-ons(extensions), if they were working ok with this version. The most important extension is the session saver (for me). The original extension doensnt work with Firefox 2, but there’s an upgrade or rather a patch, dont worry. I experience this feature initially on Opera. You open up a bunch of tabs, and close the browser. Open up the browser again.. and BEHOOOOLD! the tabs are still there. For people who are unfamiliar with this, and browsing pr0n sites. People can see the last opened tab. Beware! Hehe.
Still havent cleaned up..
Posted by mkhairul - November 15, 2006 at 04:11:17 pm - No CommentsCategories: Development, blog
Yah.. I still havent cleaned up my Email (I’m using Thunderbird) inbox. See my screenshot.
I started doing a simple module. Barebone, no frameworks. No frameworks is quite a pain but still feasible for little systems like this. First thing I searched for is database connection class. I searched specifically for Active Record pattern.
Found a few sites about it. Simple straightforward example. But still, missed a few lines (include adodb.inc.php).
After that, I focus on filtering post contents ( mysql_real_escape_string($_POST['woot']) ). Created a function for iterating through $_POST and determine if all have content (might extend its function to exclude certain keys).
function check_array_full($tmp) {
$flag = true;
foreach($tmp as $content){
if (empty($content)) {
$flag = false;
}
}
return $flag;
}
Here’s a link to adodb’s site:
ADOdb Database Abstraction Library for PHP (and Python)
Email Solved, mysterious still
Posted by mkhairul - November 14, 2006 at 07:11:25 pm - No CommentsCategories: blog
The non-stop email have been solved. There seems to be a cron task that was set, one that I didnt do and didnt know. The admin found it out and informed me. Deleted it.
Email barrage have stopped. Mind at ease. Now.. I’ll start working and play some games (currently Neverwinter Nights 2).
I’ve got mail
Posted by mkhairul - November 11, 2006 at 02:11:02 am - No CommentsCategories: blog
Uh-oh.. there seems to be a problem. I’ve tried to tell the admin. Hrmm..
GimpStyle Theme design by Horacio Bella.






