This morning I wake up early to go to college, It was chilly you know. Due to the mild temperature in bandung. On the way to campus I usually bought The jakarta post morning newspaper in the shop I passed by. I like to read jakarta post due to its simple english structure. Fortunately today the jakarta post also provide free magazine named “the weekender”, its contains all about live and lifestyle. It was a good magazine I think

when I read the magazine there is something that put my interest, there was an article made by Dalton tanonaka. I am sure you know him, right? he’s the news anchor at metro tv news. I watch his program on tv several times. And I had to say that he is good in conveying the news.

in the article he explained the enjoyment of something small that brought pure happiness to us. But there is something real funny in the article, here is the excerpt.

The luxury store opening in Jakarta’s newest megamall had all the glamour of a Hollywood movie premiere. As I stood trying to coolly observe the landscape, a young lady approached me with a smile and introduced herself as being from one of the city’s upscale social-scene magazines
“Hi, I’m Christine. What’s your name?”
“My name is Dalton,” I replied
“And where do you work?”
“Metro”
“Ah Metro Department Store. which one?” she asked with all sincerity
My burst of laughter reinforced the beliefs that I’ve followed all my life…..

did you now understand what I mean? there are still many people in Indonesia that do not know who Dalton Tanonaka is. the news anchorman at metro tv. so I decided to email dalton tanonaka about his article with the following letter

from    Yakob cool :yakob.matrix@gmail.com
to    dalton@metrotvnews.com,
date    Fri, Apr 25, 2008 at 8:53 AM
subject    the big joy you’ve got
Hi dalton, I’ve read about your article in the weekender. Well, it’s a funny thing for people not knowing who you are. :-) . But I surely know you. I did watch your program in metro tv. my advice to you is that Just give other people sometime to get to know you. people in indonesia still learning english you
know.

keep up the good work.
best regards
yakob

the good news is that Dalton did reply my email with the following
from    Dalton Tanonaka dalton@metrotvnews.com
to    Yakob cool <yakob.matrix@gmail.com
cc    bruce@thejakartapost.com,
date    Fri, Apr 25, 2008 at 10:29 AM
subject    RE: the big joy you’ve got

Reply
Hello Yakob
Thank you for your comments and suggestion.  I hope people in Indonesia are getting to know me through my writing and my television program.
Best regards,
Dalton

I think he is a nice man, And I truly enjoy watching him at tv. I hope you all could do that. There is nothing better to learn english than to hear the news in english. :-)
ps: you can watch the program exclusively at every saturday 7 am in metro tv channel

comparison of the OS

July 28, 2008

clipped from ralree.com
http://ralree.com/images/MacPCLinuxTruth.jpg
  blog it

okay, I am now officially have began to love windows due to its great tools named powershell. Here I’ll try to run a script that will download file over the internet by using wget. Just for the record though, you can’t installed wget but you need to run the scripts in powershell (I don’t think sudo apt-get install wget will work in powershell. :-) .

firstly you have to set the execution policy in powershell.

PS C:\Users\jacobian\MyScripts> set-executionpolicy remotesigned

and to see if the policy is correctly in place do this

PS C:\Users\jacobian\MyScripts> get-executionpolicy
RemoteSigned

 
the purpose of remotesigned policy is that it can run scripts that you write but it will need confirmation when trying to run scripts downloaded over the internet.

okay now you have to open a notepad (it’s not linux and yes you have to open a notepad) and paste the following code into it.

## Get-WebFile (aka wget for PowerShell)
##############################################################################################################
## Downloads a file or page from the web
## History:
## v3.6 - Add -Passthru switch to output TEXT files
## v3.5 - Add -Quiet switch to turn off the progress reports ...
## v3.4 - Add progress report for files which don't report size
## v3.3 - Add progress report for files which report their size
## v3.2 - Use the pure Stream object because StreamWriter is based on TextWriter:
## it was messing up binary files, and making mistakes with extended characters in text
## v3.1 - Unwrap the filename when it has quotes around it
## v3 - rewritten completely using HttpWebRequest + HttpWebResponse to figure out the file name, if possible
## v2 - adds a ton of parsing to make the output pretty
## added measuring the scripts involved in the command, (uses Tokenizer)
##############################################################################################################
function Get-WebFile {
param(
$url = (Read-Host "The URL to download"),
$fileName = $null,
[switch]$Passthru,
[switch]$quiet
)

$req = [System.Net.HttpWebRequest]::Create($url);
$res = $req.GetResponse();

if($fileName -and !(Split-Path $fileName)) {
$fileName = Join-Path (Get-Location -PSProvider "FileSystem") $fileName
}
elseif((!$Passthru -and ($fileName -eq $null)) -or (($fileName -ne $null) -and (Test-Path -PathType "Container" $fileName)))
{
[string]$fileName = ([regex]'(?i)filename=(.*)$').Match( $res.Headers["Content-Disposition"] ).Groups[1].Value
$fileName = $fileName.trim("\/""'")
if(!$fileName) {
$fileName = $res.ResponseUri.Segments[-1]
$fileName = $fileName.trim("\/")
if(!$fileName) {
$fileName = Read-Host "Please provide a file name"
}
$fileName = $fileName.trim("\/")
if(!([IO.FileInfo]$fileName).Extension) {
$fileName = $fileName + "." + $res.ContentType.Split(";")[0].Split("/")[1]
}
}
$fileName = Join-Path (Get-Location -PSProvider "FileSystem") $fileName
}
if($Passthru) {
$encoding = [System.Text.Encoding]::GetEncoding( $res.CharacterSet )
[string]$output = ""
}

if($res.StatusCode -eq 200) {
[int]$goal = $res.ContentLength
$reader = $res.GetResponseStream()
if($fileName) {
$writer = new-object System.IO.FileStream $fileName, "Create"
}
[byte[]]$buffer = new-object byte[] 4096
[int]$total = [int]$count = 0
do
{
$count = $reader.Read($buffer, 0, $buffer.Length);
if($fileName) {
$writer.Write($buffer, 0, $count);
}
if($Passthru){
$output += $encoding.GetString($buffer,0,$count)
} elseif(!$quiet) {
$total += $count
if($goal -gt 0) {
Write-Progress "Downloading $url" "Saving $total of $goal" -id 0 -percentComplete (($total/$goal)*100)
} else {
Write-Progress "Downloading $url" "Saving $total bytes..." -id 0
}
}
} while ($count -gt 0)

$reader.Close()
if($fileName) {
$writer.Flush()
$writer.Close()
}
if($Passthru){
$output
}
}
$res.Close();
if($fileName) {
ls $fileName
}
}

save the file as wget.ps1, remember to select all file not text file when you save it.  And then it’s time for you to run the file

PS C:\Users\jacobian\MyScripts> powershell .\wget.ps1

 and you will see like the following picture.

 power

It’s a real fun learning new shell scripting language you know. :-P

source

and I want to say thanks to Joel “Jaykul” Bennett for publishing the script. :-)

if you have flickr account, maybe you would like to upload your photo there. Well now there is this tools that allow you to upload it even easier. Its name is jUploadr

firstly you have to download the file here . And then open your terminal and extract it

[root@localhost jacobian]# tar zxvf jUploadr-1.1.2-linuxGTK-i386.tar.gz

and then you gonna have to change to jUploadr directory and change the file permission

[root@localhost jUploadr-1.1.2-linuxGTK-i386]# chmod 754 jUploadr

and then run it from your konsole

[root@localhost jUploadr-1.1.2-linuxGTK-i386]# ./jUploadr

juploadr

to upload your photo just drag a picture and place it in jUploadr and click upload. Have fun then. :-)

PS: jUploadr is an executable file, so it can only be run from konsole

ok I have to admit that windows is beginning to interest me, microsoft just launched a new shell named powershell for all the command line geek out there. I am now beginning to like using it, because of it robustness and also it’s command line oriented. I can even use almost all the command in linux in powershell (i.e cp, ls, mv ,etc). For me powershell is almost the same as BASH in linux, so I can administered my windows system properly without having to go through GUI.

here are reason why powershell differ from bash
1. bash is a tiny little shell which ties together thousands of
applications designed to process text.
2.powershell is an object-oriented scripting language and command
console, which passes objects (not text) from one command to the next ….functionally, they can do many of the same things ….

On Windows, PowerShell is far superior because it gives you access to the
windows management instrumentation which is object-based, not text-based. In fact, as a general scripting language, PowerShell is far
superior, because it’s fully capable as a programming language, with
full access to the .Net framework … so in a sense, it’s like Bash + Perl

  :-)

powershell

source : #powershell at freenode

piracy is not a crime

July 18, 2008

clipped from i28.tinypic.com
http://i28.tinypic.com/2m7xd85.jpg
  blog it

hellp

ini adalah bukti betapa masih mahalnya internet di indonesia, aq harus membayar 860 ribu perbulan utk bisa menikmati internet unlimited dengan menggunakan speedy. mungkin sebaiknya aq make telkomsel flash unlimited aja ya. :-) .

if you like joke, then you might like this one.
clipped from hijinksensue.com
http://hijinksensue.com/comics/2008-03-31-matrix-browsers.jpg
  blog it

ya mungkin kalian semua udah pada tau situs kaskus, ini adalah forum terbesar di indonesia. Karena terlalu banyak yg mengakses situs ini sampai-sampai saya sendiri tidak bisa mengaksesnya. ini adalah error yg sering saya dapatkan jika mengakses kaskus.

ya saya berharap aja supaya error ini tidak selalu terjadi, karena walau bagaimanapun kaskus adalah situs yg sangat informatif. :-)

kaskus

so this is my laptop. HP Pavilion tx1000. I had installed ubuntu in it and I had erased vista partition (I didn’t like vista anyway). Ubuntu did recognize all the hardware in my laptop (sound, bluetooth and also wireless), it also recognizes my billionton wireless USB dongle that has rt73 chipset. So that’s why I really like using ubuntu.

PS: the picture may look a bit messy. :-) my_laptop