Make IE displays JSON file to the screen

When we have a JSON builder, say a MVC Controller with method returns JSON, and we want to debug this method using Internet Explorer, IE will prompt for download the JSON file hence we can’t see the result immediately. Really annoying behavior.

However we can alter this by update Windows Registry. Below are the steps on how to do so:

  1. We need to be login as user with administrator privilege
  2. Open any text editor (Notepad will do) and create a file called js_ie.reg or any name with .reg extension and put below as content

    Windows Registry Editor Version 5.00
    ;
    ; Tell IE to open JSON documents in the browser. 
    ; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .

    [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
    "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
    "Encoding"=hex:08,00,00,00

    [HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/json]
    "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
    "Encoding"=hex:08,00,00,00

  3. Double click .reg file, it will prompt us for confirmation to change registry, choose OK
  4. Now, you our IE will immediately shows JSON results on screen rather than prompt us to download

Mau Upgrade Memori Laptop, Pastikan Dulu Anda Baca Ini

Beberapa hari lalu, sedang asyiknya saya kerja, tiba-tiba chat saya ngebuzz terus, ternyata dari salah seorang teman yang bekerja sebagai tenaga pemasaran di salah satu perusahaan di KL. Sang teman ini (sebutlah namanya si A) ceritanya baru saja membeli sebuah laptop untuk dia melakukan aktifitas sehari-hari di luar pekerjaan, seperti: ngenet, maen game online, editing foto, dan sejenisnya. Tapi si A merasa, akhir-akhir ini kinerja laptop barunya sangat lamban, padahal laptop tersebut dari spesifikasinya masuk kategori hi-end laptop. Setelah bicara ngalor ngidul dan kirim screen capture sana sini, akhirnya diketahui program2 yang dijalankan oleh laptop tersebut memakan hampir semua memori yang ada, sayapun menyarankan kepada si A untuk upgrade memori. Si A mengiyakan, dan memang dia menambah memori laptopnya dari 4GB menjadi 8GB, sudah lebih dari cukup seharusnya ? tapi ternyata …. tidak ada perubahan kinerja laptop. Kira-kira kenapa ya ? Nah ternyata karena teman saya tersebut salah membeli tipe memori dan berakibat memori yang baru dibelinya tidak bekerja optimal dengan sang laptop.

Berikut adalah beberapa informasi yang harus anda ketahui sebelum membeli memory.

Screen Shot 2013 04 11 at 11 57 17 PM

Screen capture informasi memory pada laptop saya (gambar: pribadi)
 

Ketahui Jenis dan Kecepatan Memori

Nah ini adalah hal pertama yang harus kita cek sebelum membeli memori, pastikan kita tahu kecepatan BUS memori yang bisa digunakan oleh laptop kita. Kecepatan memori menentukan berapa banyak data yang bisa diproses oleh IO kepada Memori dan sebaliknya. Kalau kita hanya mengisi dengan memori yang berkecepatan lebih rendah, tentunya tidak akan berpengaruh banyak karena jalur data yang digunakan tidak maksimal. Membeli memori dengan kecepatan lebih tinggi akan mubadzir, karena selain harga lebih mahal, ya kembali besaran data yang bisa dipakai adalah sebatas hanya pada seberapa besar jalur yang disediakan.

Meskipun umumnya memory yang beredar sekarang menggunakan type DDR3, tapi ndak ada salahnya juga kalau kita mengecek jenis slot memory yang tersedia, agar kita ndak salah beli dan memory yang kita beli bisa dipasang dengan mudah.

Untuk mengetahui jenis dan kecepatan memory, kita bisa merujuk pada informasi setting di komputer kita. Nanti akan didapat informasi seperti di atas, dari informasi di atas diketahui memory yang saya gunakan adalah DDR3 dengan kecepatan 1600 MHz.

Ketahui Jumlah Slot dan Kondisi Memory Saat Ini

Dengan menggunakan metoda yang sama, seharusnya kita bisa mengetahui juga informasi tentang berapa banyak dan besar memori yang saat ini terinstall di komputer kita, dan berapa banyak slot yang masih tersedia. Hal ini penting untuk membuat perencanaan memory yang akan kita beli nantinya. Apakah akan mengganti keseluruhan memori atau hanya sebagian saja.

Apa OS dan Jenis Prosessor anda ?

Operating System juga sangat berpengaruh terhadap memori. Karena ndak semua OS mampu support memori tak terhingga. Windows contohnya, sebagai sistem operasi yang paling banyak digunakan, ternyata memiliki batasan memori yang berbeda-beda untuk masing-masing versi Windows. Batasan memory yang bisa disupport oleh Windows bisa anda lihat pada link berikut: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx

W7 ada setting

Informasi versi OS dan Jenis Processor (gambar: pribadi)

Oh ya, kalau jenis prosessor yang digunakan adalah 32bit, maka maksimal memory yang disupport hanyalah 4GB. Kita bisa membeli 8GB memory dan memasangnya, tapi tetap saja memory yang bisa digunakan hanyalah 4GB.

Hilangkan Listrik Statis Sebelum Memasang Memori

Tubuh kita memiliki listrik statis, dan aliran listrik ini berbahaya terlebih untuk jaringan mikroelektronik seperti memori. Karenanya pastikan kita atau mungkin mereka yang memasang memory nantinya untuk menghilangkan listrik statis tersebut sebelum menyentuh memori. Untuk menghilangkan listrik statis, cukup dengan menyentuh sembarang logam yang ada.

Demikian sedikit sharing informasi dari saya tentang bagaimana membeli memori yang sesuai untuk laptop/komputer kita, semoga bermanfaat.

Hunt for The Merlion – Part 4, The Art of The Brick

Art of The Brick

During our visit to Singapore last weekend, we went to Marina Bay Sands and it was coincide with The Art of The Brick event which held on MBS ArtScience museum. I know this Art exhibit will be good experience for Arda and Asty, I decided to enter the exhibit and totally awed with what I saw.

The Art of The Brick is a exhibition of Nathan Sawaya’s work. A New York based artist who devoted his life on creating awe-inspiring LEGO’s sculpture. This event is scheduled to be held at MBS ArtScience Museum until 26 May 2013 with price of SGD15 for adult and SGD9 for children. If you looking for inspiring and unique art and have a chance visit Singapore before May 26, I advise you to stop by at ArScience Museum. 

Below are some photos I took from the event, so you can also enjoy The Art of The Brick

DSC05066

a swimming lego 

DSC05068

face

DSC05069

peace

DSC05072

a healthy lego

DSC05075

Hey Lego, don’t think too much !

DSC05089

Rome is not built in 1 day, especially when it was Lego

DSC05091

World of Lego

DSC05100

on of my favourite Lego’s art

DSC05077

Lego in love

DSC05078

Life has been so tough for me !!! Say this Lego

DSC05092

Spirit of Music

DSC05090

Write your idea everywhere

DSC05101

a truly LEGO masterpiece

DSC05102

note from Nathan for his Dinosaur

Hunt for The Merlion – Part 3, Merlion

Merlion Park

Merlion Park (foto: personal)

My family have been to Singapore for many times, but none of them we went to Merlion. Once, we got chance to take photo at Sentosa’s Merlion, but this Merlion is not famous compare to Merlion statue at Merlion Park. Therefore, my wife said “on this occasion we should be able to find Merlion Park”.

Hunt for Merlion

Despite well known as Singapore’s first checklist of tourist object. Merlion Park is difficult to find. I search on internet and get no clue at all on how to get there. We know it is across Marina Bay Sands, but how to get there ? Taxi is always be there for final option though, but it won’t give us nuance of travel while exploring Singapore. Fortunately, I have Iwan Nugroho as my friend. Iwan has been staying at Singapore more than 1 year, and he is really best guide to explore Singapore.

To go Merlion, easiest way is by MRT, we need to take NS Monorail (red colour route) to Marina Bay Sands. We should stop at Rafless Place and from there walk to Merlion Park. The route from Raflless Place MRT Station to Merlion is tricky. Exit from Raffless Place we will opt with many exit routes. Best route according to Iwan is to take Battery Rd exit and walk to Standard Chartered or Bank of China Bulding, there we walk along the river which shows beautiful landscape and could be good spot to take some photos. At end of river we will reach Fullerton Hotel, and Merlion Park is exactly across Fullerton Hotel.

NS Route to Marina Bay Sands

MRT route to Raffles Place  (foto: personal)

Singapore River

View along Singapore river on the way hunting for Merlion Park (foto: personal)

Merlion Park is actually is an artificial dock on a bay, it has two merlion statues. One is small and other is quite big. Big one will spout water from its mouth, and this Merlion is the famous Merlion among others on Singapore. Bounded by the sea, not so far, we can easily see other side of the coast where Marina Bay Sands Hotel and Singapore Flyer is located. We can also ride cruise to bring us see Singapore cost from the sea.

When me and family reached Merlion Park, it was crowded by tourist, all of them were on same activities: make a pose and take a photo hehehehe.

Below are some photos I took at Merlion Park

DSC04982.jpg

MBS and Singapore Flyer

Boat at Singapore Coast

Arab Streets

Masjid Sultan & Arab Street

After satisfied with Merlion, me and family decided to go for lunch and pray. Since we had no idea where is closest mosque, Iwan advised us to go to Arab Streets where Masjid Sultan is situated. We went to nearest bus station and ride Bus 100 and stop somewhere on Victoria Street.

Arab streets is very artistic. There, we will find a lot stores for antiques and handicraft with affordable price, it is really nice place to find gift from Singapore.

Masjid Sultan is simple but looks nice from outside. It is called as Masjid Sultan, because it was built as a gift from Sultan Brunei to Singaporean Muslim, Hassanal Bolkiah.

After finish our pray, we go to a Singaporean who is descendant of Indonesian, Hajah Maimunah. She open a mix of Padang and Javanese restaurant. The taste is good and price is friendly base on Singaporean rate.

Hj Maimunah Resto

DSC05003

DSC05004

Finish with the food, we back to hotel and rest to gather some energy for next experience.

Next post, I will write about our experience at Marina Bay Sands and attending an amazing art exhibition.

Hunt for The Merlion – Part 2, From Woodlands to KL Sentral

This is second serie of my post about hunting The Merlion. On first post I write about my intention to ride train from KL to Singapore but it turned out I have to accompany my friend to drive, hence no train experience. Thus, on this post I will jump to last episode of our journey, the train experience.

Before 2011, Singapore’s intercity train would be started from Tanjung Pagar Railway Station to Woodlands Train Checkpoint, passenger need to disembark and perform immigration check at both SG and Malaysia Authority whereas hosted at Woodlands Train Checkpoint. Currently, Tanjung Pagar has been closed. Therefore, all passenger can directly go to Woodlands Train Checkpoint. At Woodland, KTMB setup a customer and ticketing office where we can buy or change date and time of our ticket.

Okay, for you who plan to go by train like me and it would be first time experience, please be noted to stop at Woodlands Train Station and not Woodlands Checkpoint. Because these two points, though they are housed on same checkpoint but have different purpose, Woodlands checkpoint is for non-train transportation (car, bus, motor, etc) and Woodlands Train Checkpoint is for train (so obvious from the name isn’t ?). And if we stopped at Woodlands Checkpoint, there is no way to turn back, except we have to talk to the officer and explain the circumstance to him/her and they will escort us along the immigration routine to other side where Woodlands Train Checkpoint located. I know this, because I stopped at wrong side of checkpoint hehehehe.

Woodlands checkpoint

Woodlands Checkpoint (foto: blogster.com)

M07 1

Woodlands Train Checkpoint (foto: arukikata.sg)

Unfortunately, Woodlands Train Checkpoint can’t really compare with KL Sentral or Jakarta’s Gambir. Their waiting room is really simple and not convenience in my opinion. No convenient store selling food and other amenities. My train was scheduled to be departed on 23.30 and gate would be opened on 23.00, I made mistake by went early at 22.00, hence need to wait for about 1 hour. This is second notes you need to memorise, no need to rush, just make sure you reach train checkpoint before gate open. The less time you will spend on waiting gate open is better :)

Exactly at 11pm, they will open the gate (Singaporean is really efficient) and they will ask all passenger to form 2 line of queues and enter the gate for ticket checking. After done with ticket checking, we will need to walk to Singapore Immigration Checkpoint where they will check out passport and immigration form (if not Singaporean). Finish with Singapore’s checkpoint we walk again to Malaysia’s Immigration where again they will check our passport and scan our luggage. If everything okay, we are allowed to enter another waiting from and here is the place where we can eventually see train rail and the train itself.

I was not really sure if it was not my lucky day, but when we depart from Singapore at 11.30pm, we did not use the train that we should ride on. KTMB gave us temporary train with lower quality. The Train headed to Johor Baru Checkpoint where our “real” train waiting. We stepped down from temporary train and transferred to “real” train. I asked another passenger, and he said it was not what should be, normally the “real” train should already waiting for us at Woodlands.

The train is quite convenience, though some of its seats have broken spare part. Bunda’s seat food holder not working properly and mine had same issue as well. But saw Arda and Asty quite excited with their new train experience was more than enough for me. And they sleep well also on that train. Scheduled to reach Kuala Lumpur at 6.30am in the morning, it was delayed until few hours.

From this experience, I conclude train is okay but for next journey I prefer either drive, by flight or bus coach.

Hunt for The Merlion, Singapore – Part 1, Train KL – Singapore

This weekend (5 – 7 Mar) me and family accidentally travel to Singapore, why I call it accidentally. Because I suppose to go there to meet someone alone and already prepare everything for 3 days journey. But, suddenly last week SIKL sent message to all parents that upcoming week (8 – 12 Mar) all students on grade 1 – 5 will be on holiday. Due to fact, it has been like few months we as family had none out-of-malaysia trip, I decide to bring my family along. But we choose to go there with different experience, by train.

Continue reading Hunt for The Merlion, Singapore – Part 1, Train KL – Singapore

Sekolah di Luar Negeri Dengan Cita Rasa Indonesia

Ketika saya mendapat tawaran untuk bekerja di negeri orang, hal pertama yang saya pikirkan adalah bagaimana dengan sekolah anak-anak saya. Mau masuk sekolah internasional ? saya agak ragu dengan tata pergaulan dan nilai-nilai yang diajarkan. Mau masuk sekolah lokal, takut anak saya malah dibully nanti hehehe. Dan setelah melakukan sekian banyak tanya sini dan sana, ternyata saya menemukan sekolah bercita rasa Indonesia di Luar Negeri.

20130320_114524Gedung Sekolah Indonesia Kuala Lumpur (dok pribadi)

 

Continue reading Sekolah di Luar Negeri Dengan Cita Rasa Indonesia