My Writings. My Thoughts.

Gempa di Bali

// September 19th, 2009 // 6 Comments // Life

Gempa Bali

Gempa Bali

Bali diguncang gempa 6,4 SR jam 06:06 WITA. Sampai sekarang belum ada laporan korban meninggal dan kerusakan bangunan di Bali. Cuma, ada 7 orang korban gempa dirawat di RSUP Sanglah, Denpasar. Katanya sih patah tulang, ga tau kenapa.

Menurut BMG gempa ga berpeluang tsunami, karena pusat gempa berada 101 km tenggara Nusa Dua Bali dan 111 km sebelah Tenggara Kuta Bali pada kedalaman 36 km. Tapi tetap aja orang orang di Kuta panik, ya iyalah deket pantai gitu lo.

Gempa dirasakan cukup lama, sekitar 2 menit, tapi tidak keras, seperti naik kapal gitulah, jadinya ga banyak bangunan yang rusak.

Beda dengan gempa yang kurasakan di Jogja dulu, gempanya sebenar tapi keras. Makanya banyak bangunan rusak.

Update:

Ada isu bahwa gempa akan terjadi di Bali pada tanggal 7 Oktober 2009 pukul 14:00. Hal itu adalah tidak benar. Karena belum ada teknologi pada saat ini yang dapat mendeteksi gempa secara detail hingga tingkat jam.

Untuk info lebih lanjut anda dapat kunjungi situs BMKG

Hal itu adalah tidak benar. Karena belum ada teknologi pada saat ini yang dapat mendeteksi gempa secara detail hingga tingkat jam.
Untuk info lebih lanjut anda dapat kunjungi situs BMKG

Cross domain AJAX, pendekatan lain

// August 29th, 2009 // 1 Comment // Programming

Cross domain ajax

Cross domain ajax

Beberapa hari yang lalu aku dapat kerjaan yang mengharuskan melakukan cross domain AJAX (ga harus-harus banget sih).

Apa itu cross domain AJAX

Nah, mungkin ada yang ga ngerti maksud cross domain AJAX itu. Cross domain AJAX adalah panggilan AJAX untuk sebuah halaman web, dimana alamat yang dipanggil berbeda dengan alamat yang memanggil. AJAX umumnya hanya memanggil halaman dari domain yang sama aja.

Tapi, udah jadi rahasia umum kalo cross domain AJAX itu dilarang demi keamanan.
Continue Reading

Anggota Tianshi dapat BMW

// August 28th, 2009 // 38 Comments // Life

BMW Tianshi

BMW Tianshi

Cuma becanda teman teman, yang beneran tuh dibawah ini nih, siap siap ngiri ya..

Continue Reading

Mazda Furai supercar bermesin rotary

// July 25th, 2009 // 5 Comments // Life

Coba denger suara mesin ini, volume digedein ya…

Mazda Furai, terakhir aku denger sih masih berupa concept car. Bermesin rotary 3 rotor kalo ga salah. Dengerin deh suaranya, bener-bener bikin merinding. Kalo denger dari suaranya mungkin kita kita nih mesin mencapai RPM 10k lebih, tapi ternyata cuma sekitar 9k.

Continue Reading

Simple Wordpress AJAX shoutbox

// June 19th, 2009 // 193 Comments // Programming

Shoutbox

Shoutbox

Hi , i have just create a Wordpress AJAX shoutbox.

Im using jQuery Framework for this plugin, althought it using compatibility mode, im not very sure it will compatible with your other plugin that uses other javascript framework.

So what is really good about this shoutbox?

  • Simple design. Does’nt have graphics, colors, etc. So it definetely fit into your templates.
  • AJAX technology. Visitor doesnt have to refresh page to post into shoutbox.

Continue Reading

jQuery causing error on Wordpress 2.8

// June 17th, 2009 // 1 Comment // Programming, Uncategorized

jquery causing error on wordpress 2.8

jQuery framework

I have just upgrade my blog’s Wordpress to Wordpress 2.8, the newest one. After a couple of days i’ve just noticed that the javascript does’nt working accordingly. Not all javascript but just several, plain old javascipt and jquery.

When i check using firebug found that google ANALityc is giving error. Re-paste it again with new code does’nt work.
Being too lazy to check all javascript code on my site, i just replace jquery 1.3.1 with the old one, jquery 1.2.6 (i think) and it works! No error and all script working as they should.

I check jquery 1.3.2 theres Sizzle CSS Selector. what this for? i dont think wordpress using it.
Have you check your blog?

Simple Java singleton example

// May 26th, 2009 // 2 Comments // Programming

public class SimpleSingleton {
  private static SimpleSingleton singleInstance =  new SimpleSingleton();

  //Marking default constructor private
  //to avoid direct instantiation.
  private SimpleSingleton() {}

  //Get instance for class SimpleSingleton
  public static SimpleSingleton getInstance() {

  return singleInstance;
  }
}

Ubuntu One: The next Ubuntu

// May 22nd, 2009 // No Comments // News

Ubuntu One

Ubuntu One

Some of you may know that Ubuntu has recently launched a beta version of the storage service online called “Ubuntu One”. This service is very similar to what other service online storage dropbox as already, except that Ubuntu One (Corporate Service) is more expensive than dropbox and the fact that dropbox client already supports Linux very well that it makes little sense to use Ubuntu as a service for online storage. Unless we consider these facts:

  1. More than just backup: Although still at the initial stage, online storage and file synchronization is an aspect of what will be on Ubuntu, ultimately the goal of Ubuntu is to be able to integrate with applications so that you can save / store / retrieve application specific information and share with other computers (or users) if you wish. Something very similar to what already does with OSX MobileME.
  2. Cloud is the future: RMS May not this, but the future of the desktop OS will be a form of collaboration between the cloud and the desktop clients. There is little sense for the popular Linux distributions like Ubuntu to be on the sidelines of this change in evolution of other operating systems that will eventually be a major kiss. We need more ways to appeal to new Linux distributions, users and taking proactive measures to be consistent with the ways people use computers.
  3. Fund for the future development of Ubuntu: Ubuntu As grows in popularity as the cost of keeping things working well. Perhaps the most important (for me) is that Canonical is seeking ways to generate funds for the future development of Ubuntu. You can collect as much money by selling mugs, t-shirts and gifts paid or provide support services. If Ubuntu is a service paid enough members, it will generate a source of funds for future development of Ubuntu. If you ask me it’s a win-win for everyone.Ubuntu is still supported by funds from Mark Shuttleworth, an initial “emergency” funds of 10 million.

What do you think of Ubuntu One? Are you willing to pay $ 10 per month (10 GB) for Ubuntu, which will also fund the future of Ubuntu?

Jquery framework for dummies

// May 22nd, 2009 // No Comments // Design, Programming

So you’ve heard of this wonderful JavaScript library called jQuery. What exactly is jQuery?

How can I make my life easier as a developer? How do I start? Well, writing Javascript jQuery is fun again and you can really enjoy some of the most difficult aspects of Javascript with relative ease. Today we take a look at how to start with jQuery and writing your first script!

What is jQuery?

jQuery is a lightweight Javascript library (some call it a framework), which makes most of the headaches from writing pure Javascript in your applications. It has many powerful features, some of which include: easily through the DOM, adding animations and effects to elements slick, and super simple Ajax techniques and methods. Perhaps the homepage of  jQuery described more precisely:

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animation, and Ajax interactions for rapid web development. jQuery is designed to change the way you write JavaScript.

How do I start?

The first thing you need to do to start with jQuery jQuery is to visit the home page and download the latest version of jQuery. Once you’ve downloaded the jQuery library, just load the library to your server and link to the <head> section of your document, as shown in the code below.

<script type="text/javascript" src="/jquery.js"></script>

In addition, you can let google host your jQuery code for you, which can result in faster loading times for the end user, especially if the version of jQuery is already cached by their browser. To learn more about letting google host your code, visit the Google Ajax libraries.

Continue Reading

Hello world!

// May 18th, 2009 // 1 Comment // Programming

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!