<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5448672520706082441</id><updated>2016-06-20T14:08:01.452+07:00</updated><category term="programming"/><category term="sharing"/><category term="algoritma"/><category term="Linux"/><category term="story"/><category term="python"/><category term="Ubuntu"/><category term="gambar"/><category term="lelucon"/><category term="programmer"/><category term="C"/><category term="java"/><category term="Hacking"/><category term="Struktur Data"/><category term="pascal"/><category term="computer"/><category term="design"/><category term="interface"/><category term="internet"/><category term="software"/><category term="foto"/><category term="komputer"/><category term="php"/><category term="sunnah"/><category term="ux"/><category term="android"/><category term="bahasa"/><category term="css"/><category term="game"/><category term="google"/><category term="javascript"/><category term="kesehatan"/><category term="kriptografi"/><category term="security"/><category term="Makalah"/><category term="beta"/><category term="browser"/><category term="memori"/><category term="sql"/><category term="terjemahan"/><category term="Gnome"/><category term="Masjid"/><category term="ansible"/><category term="color"/><category term="islam"/><category term="istilah"/><category term="logika"/><category term="makanan"/><category term="math"/><category term="mobile"/><category term="mysql"/><category term="networking"/><category term="proyek"/><category term="web"/><title type='text'>Makanlah ketika lapar</title><subtitle type='html'>berhentilah sebelum kenyang</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>156</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-4301893486850514072</id><published>2015-12-21T14:53:00.001+07:00</published><updated>2015-12-21T14:53:19.830+07:00</updated><title type='text'>On hiatus!</title><content type='html'>&lt;pre&gt; _____________________&lt;br /&gt;&amp;lt; on hiatus until ... &amp;gt;&lt;br /&gt; ---------------------&lt;br /&gt;        \   ^__^&lt;br /&gt;         \  (oo)\_______&lt;br /&gt;            (__)\       )\/\&lt;br /&gt;                ||----w |&lt;br /&gt;                ||     ||&lt;br /&gt;&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/4301893486850514072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/4301893486850514072'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2015/12/on-hiatus.html' title='On hiatus!'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-1183478292889395524</id><published>2014-04-21T19:13:00.002+07:00</published><updated>2014-04-21T19:28:34.226+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Setup sudo tanpa password di Linux</title><content type='html'>Mekanisme melakukan sudo tanpa password memudahkan kita saat menggunakan IT automation tools e.g &lt;a href=&quot;http://www.ansible.com/home&quot;&gt;Ansible&lt;/a&gt;, distributed database &lt;a href=&quot;https://hbase.apache.org/&quot;&gt;HBase&lt;/a&gt;, dan hal lain yang hampir sama.&lt;br /&gt;&lt;br /&gt;Berikut step by step cara melakukannya:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Buat group baru dimana user yang ada di group ini melakukan sudo tanpa password, buka terminal masuk ke root, ketik perintah &#39;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;addgroup &amp;lt;nama group&amp;gt;&lt;/span&gt;&#39;, contoh &#39;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;addgroup nopass&lt;/span&gt;&#39;.&lt;/li&gt;&lt;li&gt;Edit file &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudoers&lt;/span&gt; menggunakan perintah visudo, tambahkan baris berikut ini &#39;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;%nopass ALL=(ALL) NOPASSWD: ALL&lt;/span&gt;&#39;.&lt;/li&gt;&lt;li&gt;Langkah terakhir tambahkan user yang ingin sudo tanpa password ke group &#39;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;nopass&lt;/span&gt;&#39;. Invoke perintah &#39;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;usermod -a -G nopass &amp;lt;nama user&amp;gt;&lt;/span&gt;&#39;.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Sebelum anda menikmati sudo tanpa password silahkan logout terlebih dahulu. :)&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/1183478292889395524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/1183478292889395524'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2014/04/setup-sudo-tanpa-password-di-linux.html' title='Setup sudo tanpa password di Linux'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-8296838809089855402</id><published>2013-08-01T12:29:00.001+07:00</published><updated>2013-08-01T12:29:59.176+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Posting pertama via mobile</title><content type='html'>&lt;p dir=&quot;ltr&quot;&gt;Postingan pertama via mobile (nexus 7/ 4.3).&lt;/p&gt;&lt;p dir=&quot;ltr&quot;&gt;Fitur baru android 4.3 built in photo editor&lt;br&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt; &lt;a href=&quot;http://lh6.ggpht.com/-8BbiMys2h2E/UfnxncJHX7I/AAAAAAAABB4/zh1IJ_ZHt3E/s1600/Screenshot_2013-08-01-12-22-53.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt; &lt;img border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-8BbiMys2h2E/UfnxncJHX7I/AAAAAAAABB4/zh1IJ_ZHt3E/s640/Screenshot_2013-08-01-12-22-53.png&quot;&gt; &lt;/a&gt; &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Create new post&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt; &lt;a href=&quot;http://lh3.ggpht.com/-900DOg5gS30/UfnxpD4xTNI/AAAAAAAABCA/yy_KnNH4niI/s1600/Screenshot_2013-08-01-12-26-05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt; &lt;img border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-900DOg5gS30/UfnxpD4xTNI/AAAAAAAABCA/yy_KnNH4niI/s640/Screenshot_2013-08-01-12-26-05.png&quot;&gt; &lt;/a&gt; &lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/8296838809089855402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/8296838809089855402'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2013/08/posting-pertama-via-mobile.html' title='Posting pertama via mobile'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/-8BbiMys2h2E/UfnxncJHX7I/AAAAAAAABB4/zh1IJ_ZHt3E/s72-c/Screenshot_2013-08-01-12-22-53.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-5209664333970835951</id><published>2013-03-07T15:15:00.000+07:00</published><updated>2013-03-07T15:15:10.975+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Parsing Pesan ISO 8583 dengan Python</title><content type='html'>Berikut langkah-langkah sederhana untuk melakukan parsing pesan ISO 8583 menggunakan Python.&lt;br /&gt; Instalasi modul ISO8583.  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ pip install https://pypi.python.org/packages/source/I/ISO8583%20Module/ISO8583%20Module-1.2.zip&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt; test_parse_8583.py&lt;br /&gt; &lt;pre&gt;&lt;code&gt;&lt;br /&gt;# test_parse_8583.py&lt;br /&gt;from ISO8583.ISO8583 import ISO8583&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if __name__ == &#39;__main__&#39;:&lt;br /&gt;    iso = &#39;0800d010800000000000000000002000000001200000000000400001200170299&#39;&lt;br /&gt;&lt;br /&gt;    msg = ISO8583()&lt;br /&gt;    msg.setIsoContent(iso)&lt;br /&gt;&lt;br /&gt;    print &#39;Tipe pesan: %s&#39; % msg.getMTI()&lt;br /&gt;    # iterasi field / kolom&lt;br /&gt;    for field in msg.getBitsAndValues():&lt;br /&gt;        print &#39;Kolom %s [%s] : %s&#39; % (field[&#39;bit&#39;],&lt;br /&gt;                field[&#39;type&#39;], field[&#39;value&#39;])&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt; Output  &lt;pre&gt;&lt;code&gt;&lt;br /&gt;Tipe pesan: 0800&lt;br /&gt;Kolom 2 [LL] : 012&lt;br /&gt;Kolom 4 [N] : 000000000004&lt;br /&gt;Kolom 12 [N] : 000012&lt;br /&gt;Kolom 17 [N] : 0017&lt;br /&gt;Kolom 99 [LL] : 0299&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5209664333970835951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5209664333970835951'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2013/03/parsing-pesan-iso-8583-dengan-python.html' title='Parsing Pesan ISO 8583 dengan Python'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-5179799665037714229</id><published>2012-07-14T11:24:00.000+07:00</published><updated>2012-07-14T11:30:32.123+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kriptografi"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><title type='text'>Enkripsi Public Key di Python</title><content type='html'>Public key memungkinkan orang mengirim pesan terenkripsi tanpa mengetahui kunci yang digunakan untuk dekripsi. Hal ini dikarenakan kunci yang digunakan asymetric, dimana kunci yang digunakan dekripsi berbeda dengan yang digunakan untuk enkripsi.&lt;br /&gt;&lt;br /&gt;Terdapat modul Python PyCrypto yang menyediakan fungsi enkripsi public key. Untuk menginstall modul ini gunakan &lt;code&gt;pip&lt;/code&gt; atau download module binary yang sudah tersedia&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ pip install PyCrypto&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Untuk melakukan enkripsi dan dekripsi diperlukan kunci, PyCrypto menyediakan fungsi untuk membuat kunci dengan beberapa pilihan algoritma. &lt;br /&gt;&lt;ul&gt;&lt;li&gt;DSA&lt;/li&gt;&lt;li&gt;RSA&lt;/li&gt;&lt;li&gt;ElGamal&lt;/li&gt;&lt;li&gt;qNEW&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4&gt;      Pembuatan Kunci&lt;/h4&gt;Dalam proses pembuatan kunci dibutuhkan data random dan panjang kunci yang akan dibuat (dalam kelipatan 256 dan lebih dari 1024). Data random dihasilkan oleh class Random yang menyediakan random number generation.&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;    from Crypto.PublicKey import RSA&lt;br /&gt;    from Crypto import Random&lt;br /&gt;&lt;br /&gt;    # fungsi menghasilkan data random&lt;br /&gt;    rng = Random.new().read&lt;br /&gt;&lt;br /&gt;    # generate kunci dengan panjang 5120 bit&lt;br /&gt;    key = RSA.generate(256 * 20, rng)&lt;br /&gt;&lt;br /&gt;    # export private key ke private.pem&lt;br /&gt;    open(&#39;private.pem&#39;, &#39;w&#39;).write(key.exportKey())&lt;br /&gt;&lt;br /&gt;    # export public key ke public.pem&lt;br /&gt;    open(&#39;public.pem&#39;, &#39;w&#39;).write(key.publickey().exportKey())&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;h4&gt;      Enkripsi&lt;/h4&gt;Gunakan kunci public &lt;code&gt;public.pem&lt;/code&gt; untuk melakukan enkripsi.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;    from Crypto.PublicKey import RSA&lt;br /&gt;&lt;br /&gt;    # import key dari file&lt;br /&gt;    key = RSA.importKey(open(&#39;public.pem&#39;).read())&lt;br /&gt;&lt;br /&gt;    message = &#39;ini pesan rahasia blabla bla&#39;&lt;br /&gt;&lt;br /&gt;    #enkripsi encrypt(plaintext, K); untuk RSA nilai K tidak digunakan&lt;br /&gt;    chipertext = key.encrypt(message, None)&lt;br /&gt;&lt;br /&gt;    open(&#39;encrypted_message&#39;, &#39;wb&#39;).write(&#39;&#39;.join(chipertext))&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;h4&gt;      Dekripsi&lt;/h4&gt;Untuk melakukan dekripsi import kunci dari &lt;code&gt;private.pem&lt;/code&gt;.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;    from Crypto.PublicKey import RSA&lt;br /&gt;&lt;br /&gt;    # import private key dari file&lt;br /&gt;    key = RSA.importKey(open(&#39;private.pem&#39;).read())&lt;br /&gt;&lt;br /&gt;    # baca chipertext&lt;br /&gt;    chipertext = open(&#39;encrypted_message&#39;, &#39;rb&#39;).read()&lt;br /&gt;&lt;br /&gt;    # dekripsi&lt;br /&gt;    message = key.decrypt(chipertext)&lt;br /&gt;&lt;br /&gt;    print message&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Catatan: Proses enkripsi masih menggunakan enkripsi primitive RSA, pada aplikasi yang sebenarnya selalu dibutuhkan penggunakan cryptographic padding yang tepat. Gunakan modul &lt;code&gt;Crypto.Cipher.PKCS1_OAEP&lt;/code&gt; atau &lt;code&gt;Crypto.Cipher.PKCS1_v1_5&lt;/code&gt;.</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/5179799665037714229/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/07/enkripsi-public-key-di-python.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5179799665037714229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5179799665037714229'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/07/enkripsi-public-key-di-python.html' title='Enkripsi Public Key di Python'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-5662133857047362607</id><published>2012-04-27T08:30:00.000+07:00</published><updated>2012-04-27T08:31:38.727+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="sharing"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Menjalankan apache2 web server standalone</title><content type='html'>Mungkin judulnya kurang tepat, &amp;nbsp;menjalankan apache2 web server &lt;strike&gt;standalone&lt;/strike&gt; untuk direktori tertentu ke nomor port tertentu tanpa menjadi root terlebih dahulu.&lt;br /&gt;&lt;br /&gt;Akhir-akhir ini sering membuat halaman web statis (html, css, dan javascript) yaitu berupa dokumentasi proyek, slide presentasi, dan mockup ui. Untuk sharing lebih enak kalo setup webserver untuk &lt;i&gt;serving&lt;/i&gt;&amp;nbsp;file-file tersebut daripada copy-paste lewat flashdisk.&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;Berikut contoh untuk &lt;i&gt;serving&lt;/i&gt;&amp;nbsp;direktori &lt;code&gt;/tmp/coba&lt;/code&gt; ke port &lt;code&gt;9000&lt;/code&gt;, pertama kita buat direktori struktur yang minimal dibutuhkan dan buat konfigurasi&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ mkdir /tmp/coba&lt;br /&gt;$ cd /tmp/coba&lt;br /&gt;$ mkdir logs&lt;br /&gt;$ ls&lt;br /&gt;logs&lt;br /&gt;$ touch index.html httpd.conf&lt;br /&gt;$ echo &quot;&amp;lt;h1&amp;gt;Halo Selamat Datang!&amp;lt;/h1&amp;gt;&quot; &amp;gt; index.html&lt;br /&gt;$ vi httpd.conf &lt;br /&gt;...&lt;br /&gt;... edit file konfigurasi&lt;br /&gt;$ cat httpd.conf&lt;br /&gt;ServerName &quot;coba&quot;&lt;br /&gt;ServerRoot &quot;/tmp/coba&quot;&lt;br /&gt;DocumentRoot &quot;/tmp/coba&quot;&lt;br /&gt;PidFile &quot;/tmp/coba/pid&quot;&lt;br /&gt;Listen 9000&lt;br /&gt;LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so&lt;br /&gt;LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so&lt;br /&gt;TypesConfig &quot;/etc/mime.types&quot;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Sekarang tinggal jalankan &lt;code&gt;apache2&lt;/code&gt; dengan opsi &lt;code&gt;-f&lt;/code&gt;  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ apache2 -f /tmp/coba/httpd.conf&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Web server apache sudah berjalan, tinggal buka alamat &lt;a href=&quot;http://localhost:9000/&quot;&gt;http://localhost:9000&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Jika hal ini terasa terlalu ribet, gunakan Python. cd ke direktori yang diinginkan ketik perintah berikut &lt;code&gt;python -m SimpleHTTPServer&lt;/code&gt;.&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/5662133857047362607/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/04/menjalankan-apache2-web-server.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5662133857047362607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5662133857047362607'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/04/menjalankan-apache2-web-server.html' title='Menjalankan apache2 web server standalone'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-7649470678340754928</id><published>2012-04-21T12:17:00.000+07:00</published><updated>2012-04-21T20:53:41.899+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Statistik ukuran file HTML di Wikipedia Indonesia offline</title><content type='html'>Let&#39;s do an experiment. Ada mirror Wikipedia bahasa indonesia lokal (entah kapan downloadnya). &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ cd wikipedia_id&lt;br /&gt;$ du . -sh&lt;br /&gt;4.1G .&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Total ukurannya 4.1 Gigabyte termasuk file gambar, html dan file pendukung lain.  Langkah pertama generate data ukuran file hanya yang bertipe html, gunakan &lt;code&gt;du&lt;/code&gt;, &lt;code&gt;grep&lt;/code&gt; dan &lt;code&gt;cut&lt;/code&gt;.  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ du . -ab | grep \.html$ | cut -f 1 &amp;gt; /tmp/stats.txt&lt;br /&gt;$ head /tmp/stats.txt&lt;br /&gt;7519&lt;br /&gt;8254&lt;br /&gt;8910&lt;br /&gt;8907&lt;br /&gt;8560&lt;br /&gt;8834&lt;br /&gt;10463&lt;br /&gt;8776&lt;br /&gt;9558&lt;br /&gt;10196&lt;br /&gt;$ wc -l /tmp/stats.txt&lt;br /&gt;277899 /tmp/stats.txt&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Ada sekitar 277.899 file html dengan informasi ukuran dalam byte tersimpan pada file stats.txt.  Untuk pembuatan graph histogram statistik, saya menggunakan Python modul &lt;a href=&quot;http://matplotlib.sourceforge.net/&quot;&gt;matplotlib&lt;/a&gt;.  &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/usr/bin/env python&lt;br /&gt;# generate_hist.py&lt;br /&gt;&lt;br /&gt;import matplotlib.pyplot as plt&lt;br /&gt;&lt;br /&gt;data = open(&#39;/tmp/stats.txt&#39;).readlines()&lt;br /&gt;&lt;br /&gt;data = map(int, data)&lt;br /&gt;&lt;br /&gt;plt.hist(data, 50)&lt;br /&gt;&lt;br /&gt;plt.title(&#39;Histogram ukuran file HTML Wikipedia ID offline&#39;)&lt;br /&gt;plt.xlabel(&#39;Ukuran file (byte)&#39;)&lt;br /&gt;plt.ylabel(&#39;Jumlah file&#39;)&lt;br /&gt;&lt;br /&gt;plt.savefig(&#39;hist1.png&#39;)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-RxO7_5xqo6o/T5IuOLh5KVI/AAAAAAAAAzA/uVdngHcbWX0/s1600/hist1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;http://1.bp.blogspot.com/-RxO7_5xqo6o/T5IuOLh5KVI/AAAAAAAAAzA/uVdngHcbWX0/s640/hist1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;hist1.png&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Wah, ternyata tampilannya kurang informatif, data terlalu mengelompok pada tiga pertama &lt;a href=&quot;http://en.wikipedia.org/wiki/Histogram#Number_of_bins_and_width&quot;&gt;bins&lt;/a&gt;. Sekarang coba plot ukuran file dari yang terkecil sampai terbesar.&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/usr/bin/env python&lt;br /&gt;# generate_plot.py&lt;br /&gt;&lt;br /&gt;import matplotlib.pyplot as plt&lt;br /&gt;&lt;br /&gt;data = open(&#39;/tmp/stats.txt&#39;).readlines()&lt;br /&gt;&lt;br /&gt;data = map(lambda x: int(x)/1024, data)&lt;br /&gt;data = set(data)&lt;br /&gt;data = list(data)&lt;br /&gt;data.sort()&lt;br /&gt;&lt;br /&gt;plt.plot(data)&lt;br /&gt;&lt;br /&gt;plt.title(&#39;Ukuran file HTML Wikipedia ID offline kecil ke besar&#39;)&lt;br /&gt;plt.ylabel(&#39;Ukuran file (kilo byte)&#39;)&lt;br /&gt;&lt;br /&gt;plt.savefig(&#39;plot.png&#39;)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-c3_o35YbGbs/T5IuaofRkTI/AAAAAAAAAzI/3eoFbZe-i7I/s1600/plot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;http://3.bp.blogspot.com/-c3_o35YbGbs/T5IuaofRkTI/AAAAAAAAAzI/3eoFbZe-i7I/s640/plot.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;plot.png&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Terjadi lonjakan ukuran file pada sekitar 500 kB. Kemudian coba exclude file dengan ukuran lebih besar dari 500 kB.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/usr/bin/env python&lt;br /&gt;# generate_plot2.py&lt;br /&gt;&lt;br /&gt;import matplotlib.pyplot as plt&lt;br /&gt;&lt;br /&gt;data = open(&#39;/tmp/stats.txt&#39;).readlines()&lt;br /&gt;&lt;br /&gt;data = map(int, data)&lt;br /&gt;data = filter(lambda x: x/1024 &amp;lt; 500, data)&lt;br /&gt;&lt;br /&gt;plt.hist(data, 50)&lt;br /&gt;&lt;br /&gt;plt.title(&#39;Histogram ukuran file HTML Wikipedia ID offline\n&amp;lt; 500 kb&#39;)&lt;br /&gt;plt.xlabel(&#39;Ukuran file (byte)&#39;)&lt;br /&gt;plt.ylabel(&#39;Jumlah file&#39;)&lt;br /&gt;&lt;br /&gt;plt.savefig(&#39;hist2.png&#39;)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-F-B0X7qbkBQ/T5I6FU5CJeI/AAAAAAAAAzY/1b5rSttAS4w/s1600/hist2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;http://4.bp.blogspot.com/-F-B0X7qbkBQ/T5I6FU5CJeI/AAAAAAAAAzY/1b5rSttAS4w/s640/hist2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;hist2.png&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Sekarang data mengelompok pada sekitar 8 bins yang semuanya terletak pada ukuran kurang dari ~ 100.000 byte. Saya coba perkecil lagi sample data &amp;lt; 100 kB.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/usr/bin/env python&lt;br /&gt;# generate_plot3.py&lt;br /&gt;&lt;br /&gt;import matplotlib.pyplot as plt&lt;br /&gt;from matplotlib.ticker import MultipleLocator&lt;br /&gt;&lt;br /&gt;data = open(&#39;/tmp/stats.txt&#39;).readlines()&lt;br /&gt;&lt;br /&gt;data = map(lambda x: int(x)/1024 , data)&lt;br /&gt;data = filter(lambda x: x &amp;lt; 100, data)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;minor_locator = MultipleLocator(5)&lt;br /&gt;ax = plt.subplot(111)&lt;br /&gt;&lt;br /&gt;# menggunakan 100 bins&lt;br /&gt;plt.hist(data, 100)&lt;br /&gt;&lt;br /&gt;ax.xaxis.set_minor_locator(minor_locator)&lt;br /&gt;&lt;br /&gt;plt.title(&#39;Histogram ukuran file HTML Wikipedia ID offline\n&amp;lt; 100 kb&#39;)&lt;br /&gt;plt.xlabel(&#39;Ukuran file (kilo byte)&#39;)&lt;br /&gt;plt.ylabel(&#39;Jumlah file&#39;)&lt;br /&gt;&lt;br /&gt;plt.savefig(&#39;hist3.png&#39;)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Berikut hasil script terakhir  &lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-nGrpeJYz2aU/T5K7lmoakkI/AAAAAAAAAzo/JtfqSoMB2pI/s1600/hist3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;http://3.bp.blogspot.com/-nGrpeJYz2aU/T5K7lmoakkI/AAAAAAAAAzo/JtfqSoMB2pI/s640/hist3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;hist3.png&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/7649470678340754928/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/04/statistik-ukuran-file-html-di-wikipedia.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/7649470678340754928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/7649470678340754928'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/04/statistik-ukuran-file-html-di-wikipedia.html' title='Statistik ukuran file HTML di Wikipedia Indonesia offline'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-RxO7_5xqo6o/T5IuOLh5KVI/AAAAAAAAAzA/uVdngHcbWX0/s72-c/hist1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-6015425188408890415</id><published>2012-04-19T14:48:00.000+07:00</published><updated>2012-04-19T15:38:31.068+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Hewan Peliharaan Baru</title><content type='html'>&lt;img src=&quot;http://imgs.xkcd.com/comics/new_pet.png&quot; /&gt; &lt;br /&gt;&lt;pre&gt;&lt;code&gt;#!/usr/bin/env python&lt;br /&gt;&lt;br /&gt;import soul&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;i&gt;Just in Python.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Credit: &lt;a href=&quot;http://xkcd.com/413/&quot;&gt;http://xkcd.com/413/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/6015425188408890415/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/04/hewan-peliharaan-baru.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6015425188408890415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6015425188408890415'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/04/hewan-peliharaan-baru.html' title='Hewan Peliharaan Baru'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-1184965205043249277</id><published>2012-04-11T21:32:00.002+07:00</published><updated>2012-04-25T20:15:28.684+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Menghasilkan kombinasi alfabet menggunakan Python</title><content type='html'>Berikut kode program Python memanfaatkan modul &lt;code&gt;itertools&lt;/code&gt; untuk menghasilkan kombinasi dari list  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;# two_alfabets_combination.py&lt;br /&gt;&lt;br /&gt;import itertools&lt;br /&gt;import string&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;def create_circular_alfabet(count=26):&lt;br /&gt;    multiplier = count / 26 + 1&lt;br /&gt;    result = string.lowercase * multiplier&lt;br /&gt;    return result[:count]&lt;br /&gt;&lt;br /&gt;source = create_circular_alfabet(100)&lt;br /&gt;item_length = 2&lt;br /&gt;output_file = &#39;result.txt&#39;&lt;br /&gt;&lt;br /&gt;combination_result = itertools.combinations(source, item_length)&lt;br /&gt;&lt;br /&gt;fh = open(output_file, &#39;w&#39;)&lt;br /&gt;&lt;br /&gt;count = 0&lt;br /&gt;for item in combination_result:&lt;br /&gt;    fh.write(&#39;%s &#39; % &#39;&#39;.join(map(str,item)))&lt;br /&gt;    count += 1&lt;br /&gt;&lt;br /&gt;fh.close()&lt;br /&gt;&lt;br /&gt;print &quot;Finished %s result items, check %s&quot; % (count, output_file)&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Berikut hasil setelah dijalankan  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ python two_alfabets_combination.py&lt;br /&gt;Finished 4950 result items, check result.txt&lt;br /&gt;$ wc result.txt&lt;br /&gt;    0  4950 14850 result.txt&lt;br /&gt;$ cat result.txt&lt;br /&gt;ab ac ad ae af ag ah ai aj ak al am an ao ap aq ar as at au av aw ax ay az aa ab ac ad ae af ag ah ai aj ak al am an ao ap aq ar as at au av&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;i&gt;Improvement: gunakan modul &lt;code&gt;argparse&lt;/code&gt; atau &lt;code&gt;optparse&lt;/code&gt; untuk membuat tool command line.&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/1184965205043249277/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/04/menghasilkan-kombinasi-alfabet.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/1184965205043249277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/1184965205043249277'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/04/menghasilkan-kombinasi-alfabet.html' title='Menghasilkan kombinasi alfabet menggunakan Python'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-6004098748907143379</id><published>2012-04-04T21:20:00.000+07:00</published><updated>2012-04-04T21:39:11.200+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Update GCC terbaru pada Ubuntu</title><content type='html'>Ternyata ada PPA(Personal Package Archive) untuk &lt;a href=&quot;http://gcc.gnu.org/&quot;&gt;GCC (GNU Compiler Collection)&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Tambahkan PPA,&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Update &amp;amp; Install &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo apt-get update&lt;br /&gt;$ sudo apt-get install gcc-4.6&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Mau coba pake salah satu sub module &lt;a href=&quot;http://www.scipy.org/&quot;&gt;Scipy&lt;/a&gt; ternyata keluar error &lt;code&gt;ImportError: libquadmath.so.0: cannot open shared object file: No such file or directory&lt;/code&gt;. Ternyata libquadmath (GCC Quad-Precision Math Library) tersedia mulai GCC versi 4.6.  &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://superuser.com/questions/310809/how-can-i-update-gcc-to-the-latest-version-in-ubuntu-10-04&quot;&gt;Sumber&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/6004098748907143379/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/04/update-gcc-terbaru-pada-ubuntu.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6004098748907143379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6004098748907143379'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/04/update-gcc-terbaru-pada-ubuntu.html' title='Update GCC terbaru pada Ubuntu'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-2822912410014886633</id><published>2012-04-02T10:36:00.000+07:00</published><updated>2012-04-02T10:38:22.180+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Mengambil Informasi Daftar Isi File PDF, Python</title><content type='html'>Install dulu pdfminer&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo pip install pdfminer&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;#!/usr/bin/env python&lt;br /&gt;# parse_toc.py&lt;br /&gt;&lt;br /&gt;from pdfminer.pdfparser import PDFParser, PDFDocument&lt;br /&gt;&lt;br /&gt;def parse(filename, maxlevel):&lt;br /&gt;    fp = open(filename, &#39;rb&#39;)&lt;br /&gt;    parser = PDFParser(fp)&lt;br /&gt;    doc = PDFDocument()&lt;br /&gt;    parser.set_document(doc)&lt;br /&gt;    doc.set_parser(parser)&lt;br /&gt;&lt;br /&gt;    outlines = doc.get_outlines()&lt;br /&gt;    for (level, title, dest, a, se) in outlines:&lt;br /&gt;        if level &amp;lt;= maxlevel:&lt;br /&gt;            print &#39; &#39; * level, title&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if __name__ == &#39;__main__&#39;:&lt;br /&gt;    import sys&lt;br /&gt;    if len(sys.argv) != 3:&lt;br /&gt;        print &#39;Usage: %s xxx.pdf level&#39; % sys.argv[0]&lt;br /&gt;        sys.exit(2)&lt;br /&gt;&lt;br /&gt;    parse(sys.argv[1], int(sys.argv[2]))&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Cara menjalankan  &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ chmod +x parse_toc.py&lt;br /&gt;$ ./parse_toc.py somefile.pdf 1&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/2822912410014886633/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/04/mengambil-informasi-daftar-isi-file-pdf.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/2822912410014886633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/2822912410014886633'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/04/mengambil-informasi-daftar-isi-file-pdf.html' title='Mengambil Informasi Daftar Isi File PDF, Python'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-5671429843865167039</id><published>2012-02-23T23:01:00.000+07:00</published><updated>2012-02-23T23:01:11.354+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kesehatan"/><category scheme="http://www.blogger.com/atom/ns#" term="sharing"/><title type='text'>Jika bom nuklir diledakkan di Bandung</title><content type='html'>Apa jadinya kalo bom nuklir di jatuhkan di Kota Bandung, berikut prediksi dari NUKEMAP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tsar Bomba (50 &lt;a href=&quot;http://en.wikipedia.org/wiki/TNT_equivalent&quot;&gt;Mt&lt;/a&gt;) - The largest USSR bomb tested&lt;br /&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-k-CEEnvRbQ8/T0ZhOilAaCI/AAAAAAAAAxY/tU74iqryFjo/s1600/tsar+bomba+50mt.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-k-CEEnvRbQ8/T0ZhOilAaCI/AAAAAAAAAxY/tU74iqryFjo/s1600/tsar+bomba+50mt.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://nuclearsecrecy.com/nukemap/?lat=-6.928794379369976&amp;amp;lng=107.60494555342484&amp;amp;zm=9&amp;amp;kt=50000&quot;&gt;50 Megaton TNT&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tsar Bomba (100 Mt) - The largest USSR bomb designed&lt;br /&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/--kNJOP-ItFg/T0ZheT7VuSI/AAAAAAAAAxg/8gfWSKekCYE/s1600/tsar+bomba+100+Mt.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/--kNJOP-ItFg/T0ZheT7VuSI/AAAAAAAAAxg/8gfWSKekCYE/s1600/tsar+bomba+100+Mt.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://nuclearsecrecy.com/nukemap/?lat=-6.917888160073344&amp;amp;lng=107.60219897139359&amp;amp;zm=9&amp;amp;kt=100000&quot;&gt;100 Megaton TNT&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Keterangan:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-gj87-jq1kSY/T0ZhfK-E1KI/AAAAAAAAAxo/sbzzA8u3UKk/s1600/keterangan.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-gj87-jq1kSY/T0ZhfK-E1KI/AAAAAAAAAxo/sbzzA8u3UKk/s1600/keterangan.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Credit: &lt;a href=&quot;http://nuclearsecrecy.com/nukemap/&quot;&gt;NUKEMAP&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/5671429843865167039/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/02/jika-bom-nuklir-diledakkan-di-bandung.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5671429843865167039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5671429843865167039'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/02/jika-bom-nuklir-diledakkan-di-bandung.html' title='Jika bom nuklir diledakkan di Bandung'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-k-CEEnvRbQ8/T0ZhOilAaCI/AAAAAAAAAxY/tU74iqryFjo/s72-c/tsar+bomba+50mt.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-7011408318223318625</id><published>2012-01-19T10:19:00.000+07:00</published><updated>2012-01-19T10:19:23.069+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="networking"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Makefile untuk sinkronisasi file menggunakan Rsync</title><content type='html'>Perlu sinkronisasi file? seperti file konfigurasi (konfigurasi cluster hadoop / hbase) atau dokumen. &lt;a href=&quot;http://en.wikipedia.org/wiki/Rsync&quot;&gt;Rsync&lt;/a&gt; bisa digunakan untuk tugas ini.&lt;br /&gt;&lt;br /&gt;Rsync memiliki beberapa kelebihan diantaranya mendukung kompressi, delta encoding (hanya diff / perbedaan yang dikirim), dan menggunakan ssh.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#&lt;br /&gt;#  Makefile for sync file using rsync&lt;br /&gt;#&lt;br /&gt;#  Directory path is PARENTDIR + TARGETDIR&lt;br /&gt;#  &lt;br /&gt;&lt;br /&gt;PARENTDIR = /tmp&lt;br /&gt;TARGETDIR = /coba&lt;br /&gt;REMOTEHOST = master&lt;br /&gt;&lt;br /&gt;get:&lt;br /&gt; rsync -avuz ${REMOTEHOST}:${PARENTDIR}${TARGETDIR} ${PARENTDIR}&lt;br /&gt;put:&lt;br /&gt; rsync -avuz ${PARENTDIR}${TARGETDIR}  ${REMOTEHOST}:${PARENTDIR}&lt;br /&gt;&lt;br /&gt;sync: get put&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Dengan Makefile diatas sinkronisasi menjadi lebih mudah tinggal &lt;code&gt;$ make get&lt;/code&gt; untuk sinkronisasi remote ke lokal, &lt;code&gt;$ make put&lt;/code&gt; sinkronisasi lokal ke remote, dan &lt;code&gt;$ make sync&lt;/code&gt; untuk sinkronisasi dua arah.</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/7011408318223318625/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/01/makefile-untuk-sinkronisasi-file.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/7011408318223318625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/7011408318223318625'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/01/makefile-untuk-sinkronisasi-file.html' title='Makefile untuk sinkronisasi file menggunakan Rsync'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-6012119716222978532</id><published>2012-01-10T18:41:00.001+07:00</published><updated>2012-01-10T18:41:03.733+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Compile ulang &#39;package&#39; Ubuntu/Debian</title><content type='html'>Terkadang dijumpai beberapa keadaan dimana kita ingin mengubah program yang sudah disediakan oleh &lt;a href=&quot;http://en.wikipedia.org/wiki/Package_management_system&quot;&gt;Package Manager&lt;/a&gt;. Mungkin karena ada beberapa fungsionalitas yang dimatikan (e.g fitur ssl2 di openssl), &amp;nbsp; mengubah alur program atau hanya sekedar iseng. Berikut langkah - langkah untuk family &#39;apt&#39;.&lt;br /&gt;&lt;br /&gt;Install package yang diperlukan untuk compile &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo apt-get install build-essential fakeroot dpkg-dev&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Buat directory sementara / untuk menampung source &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ mkdir sementara&lt;br /&gt;$ cd sementara&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Download sourcecode package &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo apt-get source [nama paket]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Download dependency untuk mengcompile package &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo apt-get build-dep [nama paket]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Extract package dan terapkan patch &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ sudo dpkg-source -x [nama paket]_version-revision.dsc&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;Ubah source code atau konfigurasi  Compile ulang / buat package &#39;.deb&#39; &lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;$ cd [source dir nama paket]&lt;br /&gt;$ sudo dpkg-buildpackage -rfakeroot -b&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;file .deb akan dibuat di parent directory.&lt;br /&gt;&lt;br /&gt;Selamat mencoba</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/6012119716222978532/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2012/01/compile-ulang-package-ubuntudebian.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6012119716222978532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6012119716222978532'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2012/01/compile-ulang-package-ubuntudebian.html' title='Compile ulang &#39;package&#39; Ubuntu/Debian'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-4009106703071035380</id><published>2011-12-28T09:28:00.001+07:00</published><updated>2011-12-28T09:28:22.326+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Pengurangan yang membingungkan</title><content type='html'>Apa hasil dari program berikut?&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;int o;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;    o = 10;&lt;br /&gt;    o = --o - o--;&lt;br /&gt;    printf(&quot;o = %d\n&quot;, o);&lt;br /&gt;    return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/4009106703071035380/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/12/pengurangan-yang-membingungkan.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/4009106703071035380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/4009106703071035380'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/12/pengurangan-yang-membingungkan.html' title='Pengurangan yang membingungkan'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-5264432509428487985</id><published>2011-10-10T16:40:00.001+07:00</published><updated>2011-10-10T16:40:45.975+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bahasa"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><title type='text'>Standardisasi</title><content type='html'>Hari ini Google mengeluarkan bahasa pemrogramman alternatif web (selain JavaScript) yaitu &lt;a href=&quot;http://www.dartlang.org/&quot;&gt;Dart&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://imgs.xkcd.com/comics/standards.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://imgs.xkcd.com/comics/standards.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Bagaimana standarisasi menyebar&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;still looking forward.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://xkcd.com/927/&quot;&gt;pic. source&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/5264432509428487985/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/10/standardisasi.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5264432509428487985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5264432509428487985'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/10/standardisasi.html' title='Standardisasi'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-6056693317590350651</id><published>2011-09-28T14:24:00.000+07:00</published><updated>2011-09-28T14:24:43.355+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algoritma"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="sharing"/><title type='text'>Masalah Perjalanan Pedagang</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://imgs.xkcd.com/comics/travelling_salesman_problem.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://imgs.xkcd.com/comics/travelling_salesman_problem.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://www.xkcd.com/399/&quot;&gt;link&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/6056693317590350651/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/09/masalah-perjalanan-pedagang.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6056693317590350651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/6056693317590350651'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/09/masalah-perjalanan-pedagang.html' title='Masalah Perjalanan Pedagang'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-5504961383576652255</id><published>2011-09-14T10:56:00.000+07:00</published><updated>2011-10-12T06:03:25.188+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="sharing"/><title type='text'>`ls` hanya directory</title><content type='html'>ls merupakan peritah linux untuk melihat isi directory  &lt;br /&gt;&lt;pre&gt;sakti@node:~/lat/py$ ls -l&lt;br /&gt;total 189696&lt;br /&gt;-rw-r--r--  1 sakti sakti        81 2010-07-03 18:08 acak.py&lt;br /&gt;drwxr-xr-x  3 sakti sakti      4096 2011-05-16 23:16 ai&lt;br /&gt;-rw-r--r--  1 sakti sakti       392 2011-03-21 10:16 ajax_decorator.py&lt;br /&gt;-rw-r--r--  1 sakti sakti    489132 2011-01-24 19:30 alarm-clock-1.mp3&lt;br /&gt;-rwxr-xr-x  1 sakti sakti      2120 2011-01-24 19:33 alarm.py&lt;br /&gt;-rw-r--r--  1 sakti sakti         0 2011-03-06 18:02 a.out&lt;br /&gt;drwx------  2 sakti sakti      4096 2008-11-21 03:00 basicOCR&lt;br /&gt;-rw-r--r--  1 sakti sakti    268781 2011-01-30 15:18 basicOCR.tar.gz&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&lt;/pre&gt;untuk menampilkan hanya directory anda dapat menggunakan grep &lt;br /&gt;&lt;pre&gt;sakti@node:~/lat/py$ &lt;strong&gt;ls -l | grep &quot;^d&quot;&lt;/strong&gt;&lt;br /&gt;total 189696&lt;br /&gt;drwxr-xr-x  3 sakti sakti      4096 2011-05-16 23:16 ai&lt;br /&gt;drwx------  2 sakti sakti      4096 2008-11-21 03:00 basicOCR&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;&lt;/pre&gt;atau menggunakan opsi &lt;em&gt;-d&lt;/em&gt; &lt;br /&gt;&lt;pre&gt;sakti@node:~/lat/py$ &lt;strong&gt;ls -d */ -l &lt;/strong&gt;&lt;br /&gt;total 189696&lt;br /&gt;drwxr-xr-x  3 sakti sakti      4096 2011-05-16 23:16 ai&lt;br /&gt;drwx------  2 sakti sakti      4096 2008-11-21 03:00 basicOCR&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;sakti@node:~/lat/py$ &lt;strong&gt;ls -d */&lt;/strong&gt;&lt;br /&gt;ai/            distributed/  hard/         multi/        pyglet/   twisted/&lt;br /&gt;basicOCR/      exception/    heart/        network/      pygtk/&lt;br /&gt;coba_doctest/  flask/        hellomodule/  OCR/          sakti/&lt;br /&gt;comet/         glade/        keylogger/    profiler_ex/  testing/&lt;br /&gt;curses/        hack/         matplot/      pygame/       tkinter/&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/5504961383576652255/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/09/ls-hanya-directory.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5504961383576652255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/5504961383576652255'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/09/ls-hanya-directory.html' title='`ls` hanya directory'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-7230218694975800224</id><published>2011-09-09T14:24:00.000+07:00</published><updated>2011-09-09T14:25:22.317+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algoritma"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Tiga Aturan Optimasi</title><content type='html'>Tiga aturan optimasi dalam membuat software:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Pastikan berjalan dengan benar&lt;/li&gt;&lt;li&gt;Benar menurut pandangan pengguna&lt;/li&gt;&lt;li&gt;Jaga agar source code dapat dibaca&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.amazon.com/Expert-Python-Programming-practices-distributing/dp/184719494X&quot;&gt;Sumber&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/7230218694975800224/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/09/tiga-aturan-optimasi.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/7230218694975800224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/7230218694975800224'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/09/tiga-aturan-optimasi.html' title='Tiga Aturan Optimasi'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-1420523911671568168</id><published>2011-08-20T07:08:00.000+07:00</published><updated>2011-08-20T07:26:52.704+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Alasan Menggunakan Python #Falcon</title><content type='html'>Seri postingan &#39;Alasan Menggunakan Python&#39; berisi informasi yang mungkin dapat dijadikan alasan untuk mempelajari atau menggunakan bahasa pemrograman Python.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;# Falcon&lt;/span&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;Pernah menonton drama Bloody Monday? jika ya, pasti familiar dengan kata &#39;Falcon&#39;(&lt;a href=&quot;http://wiki.d-addicts.com/Bloody_Monday&quot;&gt;untuk yang belum pernah nonton&lt;/a&gt;). Untuk melakukan &#39;hacking&#39;nya falcon atau Takagi Fujimaru(&lt;a href=&quot;http://wiki.d-addicts.com/Miura_Haruma&quot;&gt;Miura Haruma&lt;/a&gt;) mengunakan Python.&lt;br /&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-JvE-116CaaQ/Tk7387X1ryI/AAAAAAAAAls/aK-3h3_3UbM/s1600/falcon.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-JvE-116CaaQ/Tk7387X1ryI/AAAAAAAAAls/aK-3h3_3UbM/s1600/falcon.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Logo Falcon&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-RTdqIt7Ze2Q/Tk74PUijRcI/AAAAAAAAAlw/Nzs58iohQfw/s1600/password.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-RTdqIt7Ze2Q/Tk74PUijRcI/AAAAAAAAAlw/Nzs58iohQfw/s1600/password.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-9j8JcUXnEUM/Tk74dGsSFvI/AAAAAAAAAl0/th6bc27VDus/s1600/script2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-9j8JcUXnEUM/Tk74dGsSFvI/AAAAAAAAAl0/th6bc27VDus/s1600/script2.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;falcon_stuff.py&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-_bMRXMlSIwg/Tk74tStSUrI/AAAAAAAAAl4/dwI4sJNsAAs/s1600/script.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-_bMRXMlSIwg/Tk74tStSUrI/AAAAAAAAAl4/dwI4sJNsAAs/s1600/script.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;mailto.py, editor gedit&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Dapatkah Python digunakan untuk hacking? Ya bisa, bahkan ada buku &#39;Gray Hat Python: Python Programming for Hackers and Reverse Engineers&#39;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.amazon.com/Gray-Hat-Python-Programming-Engineers/dp/1593271921&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ecx.images-amazon.com/images/I/51a7VUQcPpL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA300_SH20_OU01_.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Bagi sudah yang terbiasa menggunakan python, bisa cek library/module python untuk &lt;a href=&quot;http://dirk-loss.de/python-tools.htm&quot;&gt;penetration testing&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/1420523911671568168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/1420523911671568168'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/08/alasan-menggunakan-python-falcon.html' title='Alasan Menggunakan Python #Falcon'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-JvE-116CaaQ/Tk7387X1ryI/AAAAAAAAAls/aK-3h3_3UbM/s72-c/falcon.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-8685399532829512509</id><published>2011-08-16T13:25:00.004+07:00</published><updated>2011-11-07T15:29:08.068+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="programmer"/><category scheme="http://www.blogger.com/atom/ns#" term="sharing"/><title type='text'>Kuliah Gratis dari Stanford</title><content type='html'>Stanford University School of Engineering menyediakan 3 mata kuliah yang dapat anda ikuti secara gratis&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Introduction to Database&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.db-class.org/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;http://www.db-class.org/img/db-final.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Machine Learning&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.ml-class.org/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;http://www.ml-class.org/img/banner.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Introduction to Artificial Intelligence&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.ai-class.com/&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;304&quot; src=&quot;http://www.ai-class.com/img/artificial_intelligence_header.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;*klik pada masing-masing banner untuk masuk ke official website</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/8685399532829512509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/8685399532829512509'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/08/kuliah-gratis-dari-standford.html' title='Kuliah Gratis dari Stanford'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-3572443664448132543</id><published>2011-08-10T17:21:00.000+07:00</published><updated>2011-08-10T17:21:37.678+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algoritma"/><category scheme="http://www.blogger.com/atom/ns#" term="Hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="security"/><title type='text'>Password Strength</title><content type='html'>Bingung bikin password atau kata sandi yang kuat? Lihat komik berikut ini sebelum anda memastikan memilih password anda&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://imgs.xkcd.com/comics/password_strength.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;518&quot; src=&quot;http://imgs.xkcd.com/comics/password_strength.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Pastikan password anda susah ditebak oleh komputer namun bukan oleh anda&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://xkcd.com/936/&quot;&gt;sumber&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/3572443664448132543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/3572443664448132543'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/08/password-strength.html' title='Password Strength'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-4708636907692413736</id><published>2011-06-27T13:56:00.000+07:00</published><updated>2011-06-27T13:56:28.014+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><category scheme="http://www.blogger.com/atom/ns#" term="Hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="story"/><title type='text'>SQL Injection</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://imgs.xkcd.com/comics/exploits_of_a_mom.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;196&quot; src=&quot;http://imgs.xkcd.com/comics/exploits_of_a_mom.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://xkcd.com/327/&quot;&gt;Sumber&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/4708636907692413736/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/06/sql-injection.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/4708636907692413736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/4708636907692413736'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/06/sql-injection.html' title='SQL Injection'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-8116192004904401216</id><published>2011-06-07T05:49:00.000+07:00</published><updated>2011-06-07T05:49:16.102+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="gambar"/><title type='text'>You are The CSS to My HTML</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-SPzlWTGWYFw/Te1Y8Kjd_EI/AAAAAAAAAhw/8gAhrXFMpo4/s1600/csspic-5177021.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-SPzlWTGWYFw/Te1Y8Kjd_EI/AAAAAAAAAhw/8gAhrXFMpo4/s1600/csspic-5177021.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://www.pcworld.com/article/228649/7_essential_things_every_geek_should_know_or_own.html&quot;&gt;Sumber&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/8116192004904401216/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/06/you-are-css-to-my-html.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/8116192004904401216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/8116192004904401216'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/06/you-are-css-to-my-html.html' title='You are The CSS to My HTML'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-SPzlWTGWYFw/Te1Y8Kjd_EI/AAAAAAAAAhw/8gAhrXFMpo4/s72-c/csspic-5177021.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5448672520706082441.post-9086401323965014929</id><published>2011-05-22T09:05:00.002+07:00</published><updated>2011-05-22T09:09:58.741+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="math"/><category scheme="http://www.blogger.com/atom/ns#" term="programmer"/><title type='text'>Matematika dalam berbagai pekerjaan</title><content type='html'>Berikut daftar pekerjaan dan kompetensi matematika yang diperlukan.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.weusemath.com/?q=careers/physician&quot;&gt;Dokter &lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;College Algebra&lt;/li&gt;&lt;li&gt;Trigonometry&lt;/li&gt;&lt;li&gt;Calculus I&lt;/li&gt;&lt;li&gt;Calculus II (useful)&lt;/li&gt;&lt;li&gt;Linear Algebra (useful)&lt;/li&gt;&lt;li&gt;Statistics and&lt;/li&gt;&lt;li&gt;Probability&lt;/li&gt;&lt;/ul&gt;Dokter menggunakan matematika dalam kesehariannya, mereka menggunakan statistik dan probabilitas untuk menginterpretasikan hasil tes. Ketika seorang pasien dirawat karena sakit, probabilitas yang digunakan untuk menentukan jenis pengobatan untuk digunakan, jika ada.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.weusemath.com/?q=careers/computerscientist&quot;&gt;Computer Scientist &lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;College Algebra&lt;/li&gt;&lt;li&gt;Trigonometry&lt;/li&gt;&lt;li&gt;Calculus I, II, III&lt;/li&gt;&lt;li&gt;Linear Algebra&lt;/li&gt;&lt;li&gt;Ordinary Differential Equations&lt;/li&gt;&lt;li&gt;Theory of Analysis&lt;/li&gt;&lt;li&gt;Abstract Algebra&lt;/li&gt;&lt;li&gt;Graph Theory&lt;/li&gt;&lt;li&gt;Numerical Methods&lt;/li&gt;&lt;li&gt;Combinatorics&lt;/li&gt;&lt;/ul&gt;Computer Scientist menggunakan matematika untuk berbagai topik mulai dari studi teoritis algoritma, berupa rangkaian langkah yang dapat dimengerti oleh orang / sesuatu untuk menyelesaikan tugas tertentu dalam jumlah yang ditentukan, dan perhitungan dari implementasi sistem komputasi pada hardware dan software.&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.weusemath.com/?q=careers/astronaut&quot;&gt;Astronot&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;College Algebra&lt;/li&gt;&lt;li&gt;Trigonometry&lt;/li&gt;&lt;li&gt;Calculus I, II, II&lt;/li&gt;&lt;li&gt;Ordinary Differential Equations&lt;/li&gt;&lt;li&gt;Linear Algebra&lt;/li&gt;&lt;/ul&gt;Astronot menggunakan matematika untuk membuat perhitungan matematis yang tepat, dari bagaimana pesawat ruang angkasa meninggalkan atmosfer bumi sampai bagaimana astronot mengendarai pesawat itu. Selain itu matematika digunakan untuk merancang kendaraan luar angkasa, menghitung kecepatan, jarak, percepatan, dan keamanan kendaraan.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.weusemath.com/?q=careers/airtrafficcontroller&quot;&gt;Air Traffic Controller&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;College Algebra&lt;/li&gt;&lt;li&gt;Trigonometry&lt;/li&gt;&lt;li&gt;Geometry&lt;/li&gt;&lt;li&gt;Calculus I and II&lt;/li&gt;&lt;li&gt;Statistics&lt;/li&gt;&lt;/ul&gt;Air Traffic Controller menggunakan matematika untuk memahami jarak dan pengukuran pada saat ada pemberitahuan. Mereka juga harus memiliki mental matematika yang cepat dan akurat. Bagian pekerjaan mereka mengarahkan pesawat terbang pada ketinggian dan kecepatan tertentu untuk terbang. Kesalahan perhitungan menyebabkan efek yang fatal sehingga memiliki kemampuan matematika yang kuat sangat diperlukan.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.weusemath.com/?q=careers&quot;&gt;Selengkapnya (sumber)&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.saktidwicahyono.name/feeds/9086401323965014929/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.saktidwicahyono.name/2011/05/matematika-dalam-berbagai-pekerjaan.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/9086401323965014929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5448672520706082441/posts/default/9086401323965014929'/><link rel='alternate' type='text/html' href='http://www.saktidwicahyono.name/2011/05/matematika-dalam-berbagai-pekerjaan.html' title='Matematika dalam berbagai pekerjaan'/><author><name>Sakti Dwi Cahyono</name><uri>https://plus.google.com/107982829732107681007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-01FRFwNXGRQ/AAAAAAAAAAI/AAAAAAAAA2g/GF3FkHS4Gqk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>