<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>delete &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/delete/</link>
	<description>Feed of posts on WordPress.com tagged "delete"</description>
	<pubDate>Mon, 30 Nov 2009 17:52:52 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[How to install Windows 7 ]]></title>
<link>http://ultimategurujee.wordpress.com/2009/11/30/how-to-install-windows-7/</link>
<pubDate>Mon, 30 Nov 2009 10:29:12 +0000</pubDate>
<dc:creator>arindramishra</dc:creator>
<guid>http://ultimategurujee.wordpress.com/2009/11/30/how-to-install-windows-7/</guid>
<description><![CDATA[Installing windows 7 Step 1: Just boot from the DVD drive to get to this screen which says &#8220;Wi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h1 style="text-align:center;"><span style="color:#339966;">Installing windows 7</span></h1>
<h2 style="text-align:left;"><span style="color:#339966;">Step 1: </span><span style="color:#000000;">Just boot from the DVD drive to get to this screen which says &#8220;Windows is loading </span>Files&#8221;  .</h2>
<div class="wp-caption alignright" style="width: 286px"><a href="http://4.bp.blogspot.com/_CsM3xxjCuyg/SWPEAXN9JrI/AAAAAAAAAv4/STKKe8WcZpk/s320/install_step1.jpg"><img class=" " title="Loading windows installer....." src="http://4.bp.blogspot.com/_CsM3xxjCuyg/SWPEAXN9JrI/AAAAAAAAAv4/STKKe8WcZpk/s320/install_step1.jpg" alt="The installer bootscreen" width="276" height="208" /></a><p class="wp-caption-text">The bootscreen for installer DVD</p></div>
<p style="text-align:left;">But first , you must have ensured that</p>
<ol>
<li>your computer is capable of running window 7</li>
<li>you have a hard-disk partition to install windows</li>
<li>Windows DVD is not corrupted .</li>
<li>A lot of those pirated DVD-images available on the torrent sites are riddled with malware and  spyware</li>
<li>Better buy an original DVD</li>
<li>If you already have windows vista or XP running, then insert the DVD , click upgrade and the reboot- This will ensure that all of your installed programs and settings remain intact even after you install 7 .This will make the transition even more enjoyable !</li>
</ol>
<pre>..</pre>
<h2><span style="color:#339966;">Step 2: <span style="color:#000000;">Adjusting minor settings.</span></span></h2>
<p><span style="color:#339966;"><span style="color:#000000;"> </span></span></p>
<div class="wp-caption alignright" style="width: 330px"><a href="http://www.tweakhound.com/windows7/th_install7_1.jpg"><img class="  " title="Install screen 1" src="http://www.tweakhound.com/windows7/th_install7_1.jpg" alt="Install screen 1" width="320" height="237" /></a><p class="wp-caption-text">Install options</p></div>
<p>Select the language, keyboard and the currency formats.  OR simply ignore them because its set by default for a common setting which will work fine for most of us.</p>
<p>Then click on &#8220;Next&#8221; then you shall be lead to a screen , where you should click on the install button.</p>
<p>Then you shall be taken to the License page-All you need to do is to accept the conditions by checking on the check box and  proceed .</p>
<pre>..</pre>
<h2><span style="color:#008080;">Step 3:</span>&#8220;Choosing Advanced install&#8221; or &#8220;Upgrade Install &#8220;</h2>
<h2>
<div class="wp-caption alignright" style="width: 370px"><a href="http://www.thecomputer-site.com/images/InstallW7U5.JPG"><img class="  " title="Upgrade or Install" src="http://www.thecomputer-site.com/images/InstallW7U5.JPG" alt="Upgrade or Install" width="360" height="227" /></a><p class="wp-caption-text">&#34;Upgrade&#34; or &#34;Install&#34;</p></div></h2>
<p>If you have followed &#8220;point 6&#8243; of step 1 , please click on upgrade else click on install.</p>
<p>Anyways if you are doing a fresh install , the upgrade option is unavailable and if you have followed point 6,but still want to have a fresh install, you are free to go ahead.</p>
<pre>..</pre>
<h2><span style="color:#008080;">Step 4:<span style="color:#000000;"> The most vital step </span></span></h2>
<p><span style="color:#008080;"><span style="color:#000000;"> </span></span></p>
<p>&#160;</p>
<p><div class="wp-caption alignright" style="width: 380px"><a href="http://computershopper.com/var/ezwebin_site/storage/images/media/images/windows-7-will-be-installed-into-the-unallocated-space-on-the-hard-disk/395925-1-eng-US/windows-7-will-be-installed-into-the-unallocated-space-on-the-hard-disk.jpg"><img class="   " title="The &#34;hard&#34; disk step" src="http://computershopper.com/var/ezwebin_site/storage/images/media/images/windows-7-will-be-installed-into-the-unallocated-space-on-the-hard-disk/395925-1-eng-US/windows-7-will-be-installed-into-the-unallocated-space-on-the-hard-disk.jpg" alt="The &#34;hard&#34; disk step" width="370" height="204" /></a><p class="wp-caption-text">The &#34;hard&#34; disk step</p></div>
<p>Just a small mistake here might be fatal if you do not know what you are doing .</p>
<p>If you mistakenly format or delete a partition here, you might* lose your data. So its better if you install over the earlier &#8220;c:\&#8221; drive of your computer after making a backup of the important data.</p>
<p>Click on the partition you want to install .Then click next.</p>
<p>I shall create a separate page for advanced options.</p>
<p>*as a matter of fact, no data that you delete is ever deleted even after partitioning or formatting or &#8220;Shift-Deleting or &#8220;deleting from the recycle bin&#8221;. If you have got into such trouble ,consider googling for data recovery softwares. (but sure enough getting them back is tougher than loosing them , because it&#8217;s going to take hours for this process with not 100% success guarantee).</p>
<p>I shall create a page on this too&#8230;</p>
<pre>..</pre>
<h2><span style="color:#008080;">Step 5: <span style="color:#000000;">Let the installation begin&#8230;&#8230;&#8230;</span></span><span style="color:#008080;"><span style="color:#000000;"><br />
</span></span></h2>
<p><span style="color:#008080;"><span style="color:#000000;"> </span></span></p>
<div class="wp-caption alignright" style="width: 490px"><a href="http://www.visualguides.org/wp-content/uploads/2009/01/windows7installing.jpg"><img class=" " title="Installation" src="http://www.visualguides.org/wp-content/uploads/2009/01/windows7installing.jpg" alt="Installation" width="480" height="388" /></a><p class="wp-caption-text">The Installation begins</p></div>
<p>Finally the Installation begins ,with the Copying ,Expanding,Installing and updating.</p>
<p>Your computer shall restart after this process.</p>
<p>The screen will ask for a username and password.</p>
<pre>.
.</pre>
<h2><span style="color:#008080;">Step 6:  <span style="color:#000000;">An <span style="color:#99cc00;">Honest</span>/</span></span><span style="color:#ff0000;">Dishonest <span style="color:#000000;">step </span></span></h2>
<div class="wp-caption alignright" style="width: 330px"><img title="Enter the product key" src="http://3.bp.blogspot.com/_CsM3xxjCuyg/SWPEr3Be87I/AAAAAAAAAyY/-SM6gJsu2zY/s320/install_step21.jpg" alt="Enter the product key" width="320" height="240" /><p class="wp-caption-text">Enter the windowds 7 product key</p></div>
<p>Now , you shall be asked to enter the product key for Windowds. If you have the original key then enter it .Else do not try to cheat Microsoft at this point of time . Because even if install entering a key, you shall still require to complete the authentication to use it . Its useless to enter a wrong key as they provide with a 30 day free trail period . Just click on next, if you do not have a key.</p>
<pre>.
..</pre>
<h2><span style="color:#008080;">Step 7: <span style="color:#000000;">Setting up the clock and the network</span></span></h2>
<p><span style="color:#008080;"><span style="color:#000000;">Just set up the clock and homesharing options.<img class="alignright" src="http://1.bp.blogspot.com/_CsM3xxjCuyg/SWPEsALnVFI/AAAAAAAAAyo/EEaNFDiZtw0/s320/install_step23.jpg" alt="" width="320" height="240" /><br />
</span></span></p>
<p>Windows shall boot after these settings to an all new OS.</p>
<pre>......</pre>
<h1 style="text-align:center;"><span style="color:#008000;">The all new Windows 7 !!!</span></h1>
<p><span style="color:#008000;"> </span></p>
<div class="wp-caption aligncenter" style="width: 1034px"><img title="Win7" src="http://blog.taragana.com/wp-content/uploads/2009/05/windows-7-aurora-green-wallpaper.jpg" alt="win7" width="1024" height="768" /><p class="wp-caption-text">&#34; The Best Windows Ever &#34;</p></div>
<p><span style="color:#008000;"><br />
</span></p>
<p><span style="color:#008080;"><span style="color:#000000;"><br />
</span></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[iPhone/iPod Delete and Backspace]]></title>
<link>http://flagit.wordpress.com/2009/11/28/iphoneipod-delete-and-backspace/</link>
<pubDate>Sat, 28 Nov 2009 23:26:21 +0000</pubDate>
<dc:creator>thermalspindle</dc:creator>
<guid>http://flagit.wordpress.com/2009/11/28/iphoneipod-delete-and-backspace/</guid>
<description><![CDATA[Backspace only I&#8217;ve had an iPod touch for a few months now and I&#8217;m a little frustrated b]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_546" class="wp-caption alignright" style="width: 160px"><a href="http://flagit.wordpress.com/files/2009/11/iphone-keyboard.png"><img class="size-thumbnail wp-image-546" title="iPhone Keyboard" src="http://flagit.wordpress.com/files/2009/11/iphone-keyboard.png?w=150" alt="Backspace only" width="150" height="100" /></a><p class="wp-caption-text">Backspace only</p></div>
<p>I&#8217;ve had an iPod touch for a few months now and I&#8217;m a little frustrated by one of the keyboard elements.  The keyboard has a backspace key but has no delete key -  i.e. you can delete characters to the left of the cursor,  but not to the right.</p>
<p>It would be nice to get a tweak in the firmware to convert the backspace key to a delete key.  Whilst initially pressing shift and backspace might seem like the obvious choice this would mean two key presses every time you wanted to delete a character.  Instead of that it would be better to &#8216;change the mode&#8217; and so perhaps using <a href="http://flagit.wordpress.com/2009/09/29/caps-lock-on-ipod-touch-and-iphone/" target="_self">caps lock</a> to change the backspace key into a delete key would be a more viable option?</p>
<p>So come on Apple &#8230; just one little tweak.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The Perfect Day to say I Love You- Younha (윤하) [Lyric Translation]]]></title>
<link>http://musictology.wordpress.com/2009/11/28/a-perfect-day-to-say-i-love-you-%ea%b3%a0%eb%b0%b1%ed%95%98%ea%b8%b0-%ec%a2%8b%ec%9d%80-%eb%82%a0-younha-%ec%9c%a4%ed%95%98-lyric-translation/</link>
<pubDate>Sat, 28 Nov 2009 05:44:25 +0000</pubDate>
<dc:creator>T3note</dc:creator>
<guid>http://musictology.wordpress.com/2009/11/28/a-perfect-day-to-say-i-love-you-%ea%b3%a0%eb%b0%b1%ed%95%98%ea%b8%b0-%ec%a2%8b%ec%9d%80-%eb%82%a0-younha-%ec%9c%a4%ed%95%98-lyric-translation/</guid>
<description><![CDATA[01. Delete 02. 꼬마 &#8211; I cry 03.비밀번호 486 04.고백하기 좋은 날 05.Hello Beautiful Day 06.오늘만 07.연애조건 08. F]]></description>
<content:encoded><![CDATA[01. Delete 02. 꼬마 &#8211; I cry 03.비밀번호 486 04.고백하기 좋은 날 05.Hello Beautiful Day 06.오늘만 07.연애조건 08. F]]></content:encoded>
</item>
<item>
<title><![CDATA[The Tempting "DELETE" Button!?]]></title>
<link>http://kaldeem.wordpress.com/2009/11/27/the-tempting-delete-button/</link>
<pubDate>Sat, 28 Nov 2009 04:37:23 +0000</pubDate>
<dc:creator>kaldeem</dc:creator>
<guid>http://kaldeem.wordpress.com/2009/11/27/the-tempting-delete-button/</guid>
<description><![CDATA[I have a friend, and we both suffer from a case of deletealohlism.  Its were you have too many chara]]></description>
<content:encoded><![CDATA[I have a friend, and we both suffer from a case of deletealohlism.  Its were you have too many chara]]></content:encoded>
</item>
<item>
<title><![CDATA[Delete email using Powershell]]></title>
<link>http://soulfulsyntax.wordpress.com/2009/11/26/delete-email-using-powershell/</link>
<pubDate>Thu, 26 Nov 2009 17:06:37 +0000</pubDate>
<dc:creator>ChocolateSoul</dc:creator>
<guid>http://soulfulsyntax.wordpress.com/2009/11/26/delete-email-using-powershell/</guid>
<description><![CDATA[Here is a Powershell script that I wrote that can automatically delete email messages from Outlook. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here is a Powershell script that I wrote that can automatically delete email messages from Outlook. It will delete any email in your Inbox that matches the From value specified in the Items.Restrict variable, so modify this to your desired Display Name to have it work for you. Remember to save this script with the required &#8216;*.ps1&#8242; extension or it will not work!</p>
<p>&#8216;@<br />
$olFolderInbox = 6<br />
$o = new-object -comobject Outlook.application<br />
$n = $o.GetNamespace(&#8220;MAPI&#8221;)<br />
$f = $n.GetDefaultFolder($olFolderInbox)<br />
$Items = $f.Items<br />
$FilteredItems = $Items.Restrict(&#8220;[From] = &#8216;Sanaa Lathan&#8217;&#8221;)<br />
for ($i = $FilteredItems.Count; $i -gt 0; $i&#8211;) {<br />
$FilteredItems.Item($i).Delete()<br />
}</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Utilizando TRUNCATE no MySql. É a mesma coisa que o DELETE?]]></title>
<link>http://dilbertorosa.wordpress.com/2009/11/25/utilizando-truncate-no-sql-e-a-mesma-coisa-que-o-delete/</link>
<pubDate>Wed, 25 Nov 2009 23:57:24 +0000</pubDate>
<dc:creator>dilbertorosa</dc:creator>
<guid>http://dilbertorosa.wordpress.com/2009/11/25/utilizando-truncate-no-sql-e-a-mesma-coisa-que-o-delete/</guid>
<description><![CDATA[Você precisa apagar rapidamente todos as linhas da tua tabela? Utilize o TRUNCATE! Legal! Esse coman]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Você precisa apagar rapidamente todos as linhas da tua tabela? Utilize o TRUNCATE!<br />
Legal! Esse comando é estremamente útil, fácil e mágico! Simplesmente limpa tudo. Tabela zeradinha.</p>
<p>Você pode perguntar: &#8220;<strong>Qual a vantagem se existe o delete que apaga todas as linhas?</strong>&#8220;</p>
<p>Bom, vamos lá! O comando TRUNCATE é equivalente ao DELETE que deleta todas as linhas, mas existem algumas diferenças práticas em algumas circunstâncias.<br />
Para uma tabela InnoDB antes da versão 5.0.3 do MySql, InnoDB processa TRUCATE TABLE deletando as linhas uma a uma. A partir do MySQL 5.0.3, a deleção linha por linha é usada somente se existe alguma FOREIGN KEY constraints que referencie a tabela. Se não<br />
existir FOREIGN KEY constraints, InnoDB executa rápido o truncate porque realiza um drop na tabela original e cria uma tabela vazia com as mesmas definições. Isto é extremamente mais rápido do que deletar linha por linha. Show!</p>
<p>Mas vc pode realizar uma segunda pergunta. &#8220;<strong>E o contador AUTO_INCREMENT?</strong>&#8220;</p>
<p>É resetado! Exatamente! Começa do zero! Claro, também a partir do MySql 5.0.3. Desta forma, sempre que você usar o TRUNCATE, independentemente se há restrição de chave estrangeira, o contador é resetado!</p>
<p>Vamos à um exemplo?</p>
<p><strong>TRUNCATE nome_da_tabela</strong></p>
<p>Fácil?</p>
<p>Abraço.</p>
<p>Fonte: <a href="http://dev.mysql.com/doc/refman/5.0/en/truncate-table.html">mysql.com</a></p>
<p><a href="mailto:dilbertorosa@gmail.com">Dilberto Rosa</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Facebook hoax]]></title>
<link>http://benedw4rds.wordpress.com/2009/11/22/facebook-hoax/</link>
<pubDate>Sun, 22 Nov 2009 13:43:01 +0000</pubDate>
<dc:creator>benedw4rds</dc:creator>
<guid>http://benedw4rds.wordpress.com/2009/11/22/facebook-hoax/</guid>
<description><![CDATA[A hoax is circulating Facebook again. It tells you you have to inbox message 15 of your friends to p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A hoax is circulating Facebook again. It tells you you have to inbox message 15 of your friends to price you are still active or you will be deleted. It claims to be from the FB founder. But it is a well documented hoax so just ignore. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ajax Create, update  and delete data with jquery and php]]></title>
<link>http://sharemyphp.wordpress.com/2009/11/21/create-update-and-delete-data-with-jquery-and-php/</link>
<pubDate>Sat, 21 Nov 2009 18:55:04 +0000</pubDate>
<dc:creator>robi ilham</dc:creator>
<guid>http://sharemyphp.wordpress.com/2009/11/21/create-update-and-delete-data-with-jquery-and-php/</guid>
<description><![CDATA[now we will make a simple add, edit ,delete data with jquery, php and mysql first we create a table ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>now we will make a simple add, edit ,delete data with jquery, php and mysql</p>
<p>first we create a table called &#8216;tbl_barang&#8217;</p>
<pre>CREATE TABLE `tbl_barang` (
 `kode_barang` varchar(10) collate latin1_general_ci NOT NULL,
 `nama_barang` varchar(100) collate latin1_general_ci NOT NULL,
 `harga` double(16,2) NOT NULL,
 PRIMARY KEY  (`kode_barang`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
</pre>
<p>after that we create a file called &#8216;oneksi.php&#8217; and put ths code into the file</p>
<pre>&#60;?
 mysql_connect("localhost","root","") or die("maaf, tidak berhasil konek ke database");
 mysql_select_db("myblog") or die("database tidak ada");
?&#62;
</pre>
<p>then let&#8217;s create a file to view a list of inserted data give the file name &#8220;listbarang.php&#8221; and put this code into the file.</p>
<pre>&#60;?
 include("koneksi.php");
 $str="select * from tbl_barang";
 $res=mysql_query($str) or die("query gagal dijalankan");
 ?&#62;
&#60;table width="100%" border="1" cellpadding="5" cellspacing="0"&#62;
&#60;thead&#62;
&#60;tr bgcolor="#CCCCCC"&#62;
&#60;th&#62;Kode barang&#60;/th&#62;&#60;th&#62;Nama barang&#60;/th&#62;&#60;th&#62;Harga&#60;/th&#62;&#60;th width="50"&#62;Edit&#60;/th&#62;&#60;th width="50"&#62;delete&#60;/th&#62;
&#60;/tr&#62;
&#60;/thead&#62;
&#60;tbody&#62;
&#60;? while($data=mysql_fetch_assoc($res)){?&#62;
&#60;tr&#62;
&#60;td&#62;&#60;? echo $data['kode_barang'];?&#62;&#60;/td&#62;&#60;td&#62;&#60;? echo $data['nama_barang'];?&#62;&#60;/td&#62;&#60;td&#62;&#60;? echo $data['harga'];?&#62;&#60;/td&#62;&#60;td&#62;&#60;a href="formbarang.php?action=update&#38;kodebarang=&#60;? echo $data['kode_barang'];?&#62;"&#62;edit&#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#60;a href="proses.php?action=delete&#38;kodebarang=&#60;? echo $data['kode_barang'];?&#62;"&#62;delete&#60;/a&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;? }?&#62;
&#60;/tbody&#62;
&#60;/table&#62;
</pre>
<p><!--more-->now let&#8217;s add some jquery code for edit and delete into the file. the code will do ajax for delete and edit. add this code into listbarang.php.</p>
<pre>&#60;script type="text/javascript"&#62;</pre>
<pre>$(function(){</pre>
<pre> $("a.edit").click(function(){</pre>
<pre> page=$(this).attr("href");</pre>
<pre> $("#Formcontent").html("loading...").load(page);</pre>
<pre> return false;</pre>
<pre> })</pre>
<pre> $("a.delete").click(function(){</pre>
<pre> el=$(this);</pre>
<pre> if(confirm("yakin ingin di hapus?"))</pre>
<pre> {</pre>
<pre> $.ajax({</pre>
<pre> url:$(this).attr("href"),</pre>
<pre> type:"GET",</pre>
<pre> success:function(hasil)</pre>
<pre> {</pre>
<pre> if(hasil==1)</pre>
<pre> {</pre>
<pre> el.parent().parent().fadeOut('slow');</pre>
<pre> }</pre>
<pre> else</pre>
<pre> {</pre>
<pre> alert(hasil);</pre>
<pre> }</pre>
<pre> }</pre>
<pre> })</pre>
<pre> }</pre>
<pre> return false;</pre>
<pre> })</pre>
<pre>})</pre>
<pre>&#60;/script&#62;
</pre>
<p>now create new file and named formbarang.php. this file is used to add new item.</p>
<pre>&#60;?
 $action="new";
 $status="Simpan";
 if(isset($_GET['action']) and $_GET['action']=="update" and !empty($_GET['kodebarang']))
 {
 include("koneksi.php");
 $str="select * from tbl_barang where kode_barang=".intval($_GET['kodebarang']);
 $res=mysql_query($str) or die("query gagal dijalankan");
 $data=mysql_fetch_assoc($res);
 $kode=$data['kode_barang'];
 $nama=$data['nama_barang'];
 $harga=$data['harga'];
 $action="update";
 $simpan=$action;
 $readonly="readonly=readonly";
 }
?&#62;
&#60;form method="post" name="formBarang" action="proses.php" id="formBarang"&#62;
&#60;table width="400"&#62;
&#60;tr&#62;
&#60;td&#62;Kode Barang&#60;/td&#62;&#60;td&#62;&#60;input type="text" name="kodebarang" size="10" &#60;? echo $readonly;?&#62; value="&#60;? echo $kode;?&#62;" /&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;Nama Barang&#60;/td&#62;&#60;td&#62;&#60;input type="text" name="namabarang" size="50" value="&#60;? echo $nama;?&#62;" /&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;Harga&#60;/td&#62;&#60;td&#62;&#60;input type="text" name="harga" size="10" value="&#60;? echo $harga;?&#62;" /&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td colspan="2"&#62;&#60;input type="submit" value="&#60;? echo $status;?&#62;"&#60;/td&#62;
&#60;/tr&#62;
&#60;/table&#62;
&#60;input type="hidden" name="action" value="&#60;? echo $action;?&#62;" /&#62;

&#60;/form&#62;</pre>
<p>to make it work as ajax.  add this jquery code in the file.</p>
<pre>&#60;script type="text/javascript"&#62;
$(function(){
 $("#formBarang").submit(function(){
 $.ajax({
 url:$(this).attr("action"),
 type:$(this).attr("method"),
 data:$(this).serialize(),
 success:function(data){
 if(data==1)
 {
 $("#content").load("listbarang.php");
 }
 else
 {
 alert(data);
 }
 }
 });
 return false;
 });
})
&#60;/script&#62;
</pre>
<p>now create a new file to handle the add, edit and delete named proses.php and write this code into the file</p>
<pre>&#60;?
 include("koneksi.php");
 $action=$_POST['action'];
 $kode=$_POST['kodebarang'];
 $nama=$_POST['namabarang'];
 $harga=$_POST['harga'];

 if($action=="new")
 {
 $check=mysql_query("select * from tbl_barang where kode_barang='$kode'");
 if(mysql_num_rows($check)==0)
 {

 mysql_query("insert into tbl_barang(kode_barang,nama_barang,harga) values('$kode','$nama','$harga')") or die("data gagal di insert");
 echo 1;
 }
 else
 {
 echo "kode barang sudah ada";
 }
 exit;
 }
 elseif($action=="update")
 {
 mysql_query("update tbl_barang set nama_barang='$nama',harga='$harga' where kode_barang='$kode'") or die ("data gagal di update");
 echo 1 ;
 exit;
 }
 elseif($_GET['action']=="delete")
 {
 $kode=intval($_GET['kodebarang']);
 mysql_query("delete from tbl_barang where kode_barang='$kode'")or die("data tidak berhasil di hapus");
 echo 1;
 exit;
 }

?&#62;
</pre>
<p>finaly create an index.php file to wrap all the code.</p>
<pre>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62;
&#60;html xmlns="http://www.w3.org/1999/xhtml"&#62;
&#60;head&#62;
&#60;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&#62;
&#60;title&#62;Sample Add Edit Delete ajax With Jquery&#60;/title&#62;
&#60;script type="text/javascript" src="scripts/jquery.js"&#62;&#60;/script&#62;
&#60;script type="text/javascript"&#62;
$(function(){
 $("a.add").click(function(){
 page=$(this).attr("href")
 $("#Formcontent").html("loading...").load(page);
 return false
 })
})
&#60;/script&#62;
&#60;style type="text/css"&#62;
body,html
{
 font-family:Arial, Helvetica, sans-serif;
 font-size:10px;
}
&#60;/style&#62;
&#60;/head&#62;

&#60;body&#62;
&#60;div id="Formcontent"&#62;&#60;/div&#62;
&#60;a href="formbarang.php?action=add"&#62;masukkan barang baru&#60;/a&#62;
&#60;br /&#62;&#60;br /&#62;

&#60;div id="content"&#62;&#60;? include("listbarang.php");?&#62;&#60;/div&#62;
&#60;/body&#62;
&#60;/html&#62;
</pre>
<p>you can download <a href="http://www.ziddu.com/download/7448578/crud.zip.html" target="_blank">crud.zip</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Emails: Global Warming 'Science' Exposed As The Lie It Has Been All Along]]></title>
<link>http://startthinkingright.wordpress.com/2009/11/20/emails-global-warming-science-exposed-as-the-lie-it-has-been-all-along/</link>
<pubDate>Sat, 21 Nov 2009 02:23:46 +0000</pubDate>
<dc:creator>Michael Eden</dc:creator>
<guid>http://startthinkingright.wordpress.com/2009/11/20/emails-global-warming-science-exposed-as-the-lie-it-has-been-all-along/</guid>
<description><![CDATA[Blatant scientific fraud and global warming alarmism have been best buddies for quite some time. But]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.c3headlines.com/2009/10/the-hockey-stick-global-warming-scandal-did-the-ipcc-encourage-scientific-fraud-did-the-ipcc-ignore-more-comprehensive-rese.html" target="_blank">Blatant scientific fraud and global warming alarmism</a> have been best buddies for quite some time.</p>
<p>But hundreds of emails pilfered from a major British university climate change center are stunning even to those who know what a whopping load of crap global warming is.</p>
<p>The emails are available in an easy-to-digest format <a href="http://www.anelegantchaos.org/cru/" target="_blank">HERE</a>.  There are somewhere in the vicinity of a thousand-plus, along with some 72 documents.</p>
<p>A<em> UK Telegraph</em> article slams the whole industry as bogus.  And we learn that some of the &#8220;scientists&#8221; who took part in these emails were huge names in the bogus industry they created:</p>
<blockquote><p><a href="http://blogs.telegraph.co.uk/news/jamesdelingpole/100017393/climategate-the-final-nail-in-the-coffin-of-anthropogenic-global-warming/" target="_blank"><strong>Climategate: the final nail in the coffin of &#8216;Anthropogenic Global Warming&#8217;?</strong></a><br />
By James Delingpole Politics Last updated: November 20th, 2009</p>
<div>
<p>If you own any shares in alternative energy companies I should start dumping them NOW. The conspiracy behind the Anthropogenic Global Warming myth (aka AGW; aka ManBearPig) has been suddenly, brutally and quite deliciously exposed after a hacker broke into the computers at the <strong>University of East Anglia’s Climate Research Unit (aka Hadley CRU)</strong> and released 61 megabites of confidential files onto the internet. (Hat tip: <a href="http://wattsupwiththat.com/2009/11/19/breaking-news-story-hadley-cru-has-apparently-been-hacked-hundreds-of-files-released/#more-12937">Watts Up With That</a>)</p>
<p>When you read some of those files – including 1079 emails and 72 documents – you realise just why the boffins at Hadley CRU might have preferred to keep them confidential. As <a href="http://blogs.news.com.au/heraldsun/andrewbolt/index.php/heraldsun/comments/hadley_hacked/">Andrew Bolt</a> puts it, <strong>this scandal could well be “the greatest in modern science”. These alleged emails – supposedly exchanged by some of the most prominent scientists pushing AGW theory – suggest</strong>:</p>
<blockquote><p><strong>Conspiracy, collusion in exaggerating warming data, possibly illegal destruction of embarrassing information, organised resistance to disclosure, manipulation of data, private admissions of flaws in their public claims and much more</strong>.</p></blockquote>
<p>One of the alleged emails has a gentle gloat over the death in 2004 of John L Daly (one of the first climate change sceptics, founder of the <a href="http://www.john-daly.com/">Still Waiting For Greenhouse</a> site), commenting:</p>
<blockquote><p>“In an odd way this is cheering news.”</p></blockquote>
<p>But perhaps <strong>the most damaging revelations  – the scientific equivalent of the Telegraph’s MPs’ expenses scandal – are those concerning the way Warmist scientists may variously have manipulated or suppressed evidence in order to support their cause</strong>.</p>
<p><strong><span style="color:red;">Here are a few tasters</span></strong>. (So far, we can only refer to them as alleged emails because – though Hadley CRU’s director Phil Jones has confirmed the break-in to <a href="http://briefingroom.typepad.com/the_briefing_room/2009/11/hadleycru-says-leaked-data-is-real.html">Ian Wishart at the Briefing Room</a> – he has yet to fess up to any specific contents.) But if genuine, they suggest dubious practices such as:</p>
<p><strong>Manipulation of evidence:</strong></p>
<blockquote><p><span style="color:red;">I’ve just completed Mike’s Nature trick of adding in the real temps to each series for the last 20 years (ie from 1981 onwards) amd from 1961 for Keith’s to hide the decline.</span></p></blockquote>
<p><strong>Private doubts about whether the world really is heating up:</strong></p>
<blockquote><p><span style="color:red;">The fact is that we can’t account for the lack of warming at the moment and it is a travesty that we can’t. The CERES data published in the August BAMS 09 supplement on 2008 shows there should be even more warming: but the data are surely wrong. Our observing system is inadequate.</span></p></blockquote>
<p><strong>Suppression of evidence:</strong></p>
<blockquote><p><span style="color:red;">Can you delete any emails you may have had with Keith re AR4?</span></p>
<p>Keith will do likewise. He’s not in at the moment – minor family crisis.</p>
<p>Can you also email Gene and get him to do the same? I don’t have his new email address.</p>
<p>We will be getting Caspar to do likewise.</p></blockquote>
<p><strong>Fantasies of violence against prominent Climate Sceptic scientists:</strong></p>
<blockquote><p><span style="color:red;">Next<br />
time I see Pat Michaels at a scientific meeting, I’ll be tempted to beat<br />
the crap out of him. Very tempted.</span></p></blockquote>
<p><strong>Attempts to disguise the inconvenient truth of the Medieval Warm Period (MWP</strong>):</p>
<blockquote><p><em>……Phil and I have recently submitted a paper using about a dozen NH records that fit this category, and many of which are available nearly 2K back–<span style="color:red;">I think that trying to adopt a timeframe of 2K, rather than the usual 1K, addresses a good earlier point that Peck made w/ regard to the memo, that it would be nice to try to “contain” the putative “MWP”, even if we don’t yet have a hemispheric mean reconstruction available that far back….</span></em></p></blockquote>
<p>And, perhaps most reprehensibly, a long series of communications discussing <strong>how best to squeeze dissenting scientists out of the peer review process</strong>. How, in other words, to create a scientific climate in which anyone who disagrees with AGW can be written off as a crank, whose views do not have a scrap of authority.</p>
<blockquote><p><span style="color:red;">“This was the danger of always criticising the skeptics for not publishing in the “peer-reviewed literature”. Obviously, they found a solution to that–take over a journal! So what do we do about this? I think we have to stop considering “Climate Research” as a legitimate peer-reviewed journal. Perhaps we should encourage our colleagues in the climate research community to no longer submit to, or cite papers in, this journal. We would also need to consider what we tell or request of our more reasonable colleagues who currently sit on the editorial board…What do others think?”</span></p>
<p><span style="color:red;">“I will be emailing the journal to tell them I’m having nothing more to do with it until they rid themselves of this troublesome editor.”“It results from this journal having a number of editors. The responsible one for this is a well-known skeptic in NZ. He has let a few papers through by Michaels and Gray in the past. I’ve had words with Hans von Storch about this, but got nowhere. Another thing to discuss in Nice !”</span></p></blockquote>
<p>Hadley CRU has <a href="http://blogs.telegraph.co.uk/news/jamesdelingpole/100011716/how-the-global-warming-industry-is-based-on-one-massive-lie/">form in this regard</a>. <strong><span style="color:red;">In September – I wrote the story up here as “How the global warming industry is based on a massive lie” – Hadley CRU’s researchers were exposed as having “cherry-picked” data in order to support their untrue claim that global temperatures had risen higher at the end of the 20th century than at any time in the last millenium. Hadley CRU was also the organisation which – in contravention of all acceptable behaviour in the international scientific community – spent years withholding data from researchers it deemed unhelpful to its cause. This matters because Hadley CRU, established in 1990 by the Met Office, is a government-funded body which is supposed to be a model of rectitude. Its HadCrut record is one of the four official sources of global temperature data used by the IPCC</span></strong>.</p>
<p>I asked in my title whether this will be the final nail in the coffin of Anthropenic Global Warming. This was wishful thinking, of course. In the run up to Copenhagen, we will see <strong>more and more hysterical (and grotesquely exaggerated) stories</strong> <a href="http://www.independent.co.uk/environment/climate-change/world-on-course-for-catastrophic-6deg-rise-reveal-scientists-1822396.html">such as this</a> in the Mainstream Media. And we will see ever-more-virulent campaigns conducted by <strong>eco-fascist activists</strong>, such as this risible new advertising campaign by Plane Stupid showing <a href="http://www.guardian.co.uk/media/2009/nov/20/polar-bears-plane-stupid-ad">CGI polar bears falling from the sky and exploding </a>because kind of, like, man, that’s sort of what happens whenever you take another trip on an aeroplane.</p>
<p>The world is currently cooling; electorates are increasingly reluctant to support eco-policies leading to more oppressive regulation, higher taxes and higher utility bills; the tide is turning against Al Gore’s Anthropogenic Global Warming theory. The so-called “sceptical” view is now also the majority view.</p>
<p>Unfortunately, we’ve a long, long way to go before the public mood (and scientific truth) is reflected by our policy makers. There are too many vested interests in AGW, with far too much to lose either in terms of reputation or money, for this to end without a bitter fight.</p>
<p>But if the Hadley CRU scandal is true,it’s a blow to the AGW lobby’s credibility which is never likely to recover.</p>
</div>
</blockquote>
<p><a href="http://blogs.telegraph.co.uk/news/jamesdelingpole/100017393/climategate-the-final-nail-in-the-coffin-of-anthropogenic-global-warming/" target="_blank"><strong> </strong></a></p>
<p>You can&#8217;t even begin to imagine what a pure scientific fraud all this global warming crap is.</p>
<p>Let&#8217;s take a moment to contemplate <a href="http://www.myfreedompost.com/2009/11/more-hot-air-from-al-gore-earths-core.html" target="_blank">the &#8220;science&#8221; of chief global warming propagandist Al Gore</a> when he appeared on Conan O&#8217;Brien&#8217;s program [<a href="http://www.youtube.com/v/Ns_4pzfOSTc&#38;hl=en_US&#38;fs=1&#38;rel=0&#38;color1=0xe1600f&#38;color2=0xfebd01&#38;border=1" target="_blank">youtube available here</a>]:</p>
<blockquote><p>CONAN O&#8217;BRIEN, HOST: <em>Now, what about &#8230; you talk in the book about geothermal energy&#8230;</em></p>
<p>AL GORE<em>:</em><em> Yeah, yeah.</em></p>
<p>O&#8217;BRIEN: .<em>..to create energy, and it sounds to me like an evil plan by Lex Luthor to defeat Superman. Can you, can you tell me, is this a viable solution, geothermal energy?</em></p>
<p>GORE: <em>Yeah.</em></p>
<p>O&#8217;BRIEN: <em>&#8230;and that is, as I understand it, using the heat that&#8217;s generated from the core of the earth &#8230;</em></p>
<p>GORE: <em>It definitely is, and it&#8217;s a relatively new one. People think about geothermal energy &#8211; when they think about it at all &#8211; in terms of the hot water bubbling up in some places, but two kilometers or so down in most places there are these incredibly hot rocks, &#8216;</em><strong><em>cause the interior of the earth is extremely hot, </em><em>several million degrees</em><em>, and the crust of the earth is hot &#8230;</em></strong></p></blockquote>
<p>The problem is that <a href="http://hypertextbook.com/facts/1999/PhillipChan.shtml" target="_blank">even the earth&#8217;s core is only around 2,000-7,000 degrees Celsius</a> (we can&#8217;t get to it to measure it precisely).  The whole &#8220;several million degree&#8221; thing is the blathering idiocy of a blathering idiot.</p>
<p>A blathering idiot who received a Nobel Prize for Science.</p>
<p>This is on top of the fact that <a href="http://www.prisonplanet.com/with-hurricanes-at-thirty-year-low-gore-turns-to-photoshop.html" target="_blank">Al Gore&#8217;s new book pimping global warming relied on photoshopping to artificially &#8220;show&#8221; the effects of global warming</a>.</p>
<p>And <em>THAT&#8217;S</em> on top of the fact that the propaganda film that Al Gore won his Nobel Prize for science in the first place was based on documented exaggerations and lies.</p>
<p>From <a href="http://business.timesonline.co.uk/tol/business/law/article2633838.ece" target="_blank">the <em>Times Online</em> Business section</a>:</p>
<blockquote><p><em>An Inconvenient Truth</em> won plaudits from the environmental lobby and an Oscar from the film industry but was found wanting when it was scrutinised in the High Court in London.</p>
<p>Mr Justice Burton identified nine significant errors within the former presidential candidate’s documentary as he assessed whether it should be shown to school children. He agreed that Mr Gore’s film was “broadly accurate” in its presentation of the causes and likely effects of climate change but said that some of the claims were wrong and had arisen in “the context of alarmism and exaggeration”.</p>
<p>In what is a rare judicial ruling on what children can see in the class-room, Mr Justice Barton was at pains to point out that the “apocalyptic vision” presented in the film was politically partisan and not an impartial analysis of the science of climate change.</p></blockquote>
<p>There were at least <a href="http://www.telegraph.co.uk/earth/earthnews/3310137/Al-Gores-nine-Inconvenient-Untruths.html" target="_blank">nine significant bogus claims contradicted by science</a> in Gore&#8217;s Inconvenient Truth.</p>
<p>But that didn&#8217;t stop him from receiving a Nobel Prize for it.</p>
<p>The Nobel Prize for Leftwing Propaganda.</p>
<p>When you include the Nobel Prize for Accomplishing Nothing that Barack Obama &#8220;won,&#8221; you begin to see what an empty suit our chief institutions of leftwing credibility truly are.</p>
<p><a href="http://startthinkingright.wordpress.com/files/2009/11/nobel-peace-prize.jpg"><img class="aligncenter size-full wp-image-5242" title="Nobel-Peace-Prize" src="http://startthinkingright.wordpress.com/files/2009/11/nobel-peace-prize.jpg" alt="" width="320" height="240" /></a></p>
<p>But it&#8217;s worse than making the Nobel committee or the Nobel Peace Prize a mockery.  What has happened with global warming has made science itself a mockery.</p>
<p>I wrote a couple of articles that expose a lot of these frauds and present the actual legitimate science some time back:</p>
<blockquote><p><a href="http://startthinkingright.wordpress.com/2008/06/16/what-the-science-really-says-about-global-warming/" target="_blank">What the Science REALLY Says About Global Warming</a></p>
<p><a href="http://startthinkingright.wordpress.com/2008/06/10/what-you-never-hear-about-global-warming/" target="_blank">What You Never Hear About Global Warming</a></p></blockquote>
<p>There are a few truly good scientists out there.  But there are way too many partisan ideologues who are willing to go to any lengths to pass of ideology as science.  And <a href="http://startthinkingright.wordpress.com/2009/02/05/the-intolerance-of-academia-creating-modern-day-galileos/" target="_blank">the new &#8220;Galileos&#8221; are those who stand in the way of liberal secular humanists academics for whom ideological political power and science are one</a>.</p>
<p>The &#8220;scientists&#8221; who support global warming theory are not scientists, regardless of their degrees or positions.  They are propagandists.  They are political ideologues who seek to exploit their positions to impose economic redistributionism on people who can scarcely afford to make ends meet as it is.</p>
<p>It doesn&#8217;t seem to matter how many times these pseudo-scientific fascist frauds are caught lying, fabricating data, making bogus claims, or generally defecating on the principles, methodologies, and ethics of science.  They just keep rolling merrily along as an equally dishonest, ideological, and propagandistic media covers up for them.</p>
<p>And if I may make one more comment: the people who are trying to impose ObamaCare on us are the same sort of people who are using the same sort of deceit.</p>
<p>[Update, November 22] From &#8220;<a href="http://www.thenewamerican.com/index.php/tech-mainmenu-30/environment/2377-ipcc-researchers-admit-global-warming-fraud" target="_blank">IPCC Researchers Admit Global Warming Fraud</a>,&#8221; by Rebecca Terrell and Ed Hiserodt:</p>
<blockquote><p>[In reference to a] <a href="http://www.nytimes.com/2009/11/21/science/earth/21climate.html?_r=1" target="_blank"><em>New York Times</em></a> article [which] opined, &#8220;The evidence pointing to a growing human contribution to global warming is so widely accepted that the hacked material is unlikely to erode the overall argument.&#8221;<strong>Climatologist Patrick J. Michaels challenged that position. &#8220;This is not a smoking gun, this is a mushroom cloud.&#8221; The e-mails implicate scores of researchers, most of whom are associated with the UN&#8217;s Intergovernmental Panel on Climate Change (IPCC)</strong>, an organization many skeptics believe was created exclusively to provide evidence of anthropogenic global warming (AGW).</p>
<p><strong>Among the IPCC elite embarrassingly, if not criminally, compromised is Phillip D. Jones, a Ph.D. climatologist at the University of East Anglia whose work figured prominently in the IPCC Third Assessment Report of 2001. Jones also contributed significantly to the IPCC Fourth Assessment Report in 2007 (AR4), but he failed to follow through when skeptical investigators asked to review raw data associated with that report</strong>. <strong>They announced intent to use UK Freedom of Information laws to obtain the data, so Jones sent the following <a href="http://www.anelegantchaos.org/cru/emails.php?eid=891&#38;filename=1212063122.txt" target="_blank">e-mail</a> to one of his collaborators: &#8220;Mike, Can you delete any e-mails you may have had with Keith re AR4? Keith will do likewise&#8230;. Can you also e-mail Gene and get him to do the same?&#8230; Will be getting Caspar to do likewise.&#8221; The Mike in this message is Michael Mann, professor of meteorology at Pennsylvania State University, whose influential &#8220;hockey stick&#8221; graph warning of pending global warming eco-catastrophe was found by a congressional investigation to be <a href="http://www.uoguelph.ca/%7Ermckitri/research/trc.html" target="_blank">fraudulent</a>. In another <a href="http://www.anelegantchaos.org/cru/emails.php?eid=419&#38;filename=1089318616.txt" target="_blank">correspondence</a> about AR4 labeled HIGHLY CONFIDENTIAL, Jones contacted Mann regarding research critical of their global warming platform. &#8220;I can&#8217;t see either of these papers being in the next IPCC report,&#8221; wrote Jones. &#8220;Kevin and I will keep them out somehow — even if we have to redefine what the peer-review literature is!&#8221;</strong></p>
<p><strong>Mann received another <a href="http://www.anelegantchaos.org/cru/emails.php?eid=1048&#38;filename=1255352257.txt" target="_blank">incriminating e-mail</a> from <a href="http://www.cgd.ucar.edu/cas/trenbert.html" target="_blank">Dr. Kevin Trenberth</a>, a New Zealander now with the University of Colorado and Head of the Climate Analysis Section at the National Center for Atmospheric Research. &#8220;The fact is we can&#8217;t account for the lack of warming at the moment and it is a travesty that we can&#8217;t.&#8221;</strong> An incredulous Trenberth simply blamed &#8220;our [inadequate] observing system.&#8221;  Yet he and his colleagues are now <a href="http://www.climatedepot.com/" target="_blank">dodging the &#8220;Climategate&#8221; bullet</a>, indignant that global warming skeptics are supposedly taking their comments out of context. One wonders if they might be referring to <strong>a <a href="http://www.anelegantchaos.org/cru/emails.php?eid=154&#38;filename=942777075.txt" target="_blank">message</a> from Jones who wrote about a statistical &#8220;trick&#8221; he used to &#8220;hide&#8221; data</strong>. Or perhaps they mean Mann&#8217;s <a href="http://www.anelegantchaos.org/cru/emails.php?eid=423&#38;filename=1092167224.txt" target="_blank">reference</a> to climate change skeptics as &#8220;idiots.&#8221;</p></blockquote>
<p>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Delete File Recursively In Linux]]></title>
<link>http://azerdark.wordpress.com/2009/11/21/delete-file-recursively-in-linux/</link>
<pubDate>Fri, 20 Nov 2009 17:23:31 +0000</pubDate>
<dc:creator>azer89</dc:creator>
<guid>http://azerdark.wordpress.com/2009/11/21/delete-file-recursively-in-linux/</guid>
<description><![CDATA[&nbsp; Find all files having .bak (*.bak) extension in current directory and remove them: $ find . -]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://azerdark.wordpress.com/files/2009/11/recursive_asl.jpg"><img class="aligncenter size-medium wp-image-970" title="recursive_asl" src="http://azerdark.wordpress.com/files/2009/11/recursive_asl.jpg?w=300" alt="" width="300" height="300" /></a></p>
<p>&#160;</p>
<p>Find all files having .bak (*.bak) extension in current directory and remove them:<br />
<code>$ find . -type f -name "*.bak" -exec rm -f {} \;</code></p>
<p>Find all core files and remove them:<br />
<code># find / -name core -exec rm -f {} \;</code></p>
<p>Find all *.bak files in current directory and removes them with confirmation from user:<br />
<code>$ find . -type f -name "*.bak" -exec rm -i {} \;</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Liberation]]></title>
<link>http://givenalias.wordpress.com/2009/11/20/liberation/</link>
<pubDate>Fri, 20 Nov 2009 07:10:11 +0000</pubDate>
<dc:creator>givenalias</dc:creator>
<guid>http://givenalias.wordpress.com/2009/11/20/liberation/</guid>
<description><![CDATA[So tonight I got it in my mind that I didn&#8217;t like facebook so much anymore. So I deleted most ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So tonight I got it in my mind that I didn&#8217;t like facebook so much anymore. So I deleted most of my &#8216;friends&#8217;. It felt great. It was like &#8216;yeah, right. We aren&#8217;t friends. We dont talk. You&#8217;re a number and an irritation on my daily updates by telling me about stupid games you&#8217;re playing or who you&#8217;re adding to your &#8216;friends&#8217; list. &#8216; So I basically just kept people I know from far away (ie Carrie), a few who add pictures I want, and Jamie because&#8230;Jamie and I talk on facebook once in a while and why give that up? Maybe I&#8217;ll start adding people again but very selectively.</p>
<p>As far as I&#8217;m concerned it is no longer a social website. It is now used for me to get the latest information from things from shows and musical artists that I love. Thanks, facebook, for being useful! *thumbsup* Man, it feels oddly good. I&#8217;m not sure why but&#8230;it does.</p>
<p>In other daily news Jamie did not have a heart attack so that&#8217;s good. I got a lot of Psychology done in the hospital, I have a somewhat humorous post to make tomorrow and&#8230;yeah, I guess that&#8217;s it. G&#8217;night, people! Love you guys. Like whoa.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[What I realised when I lost my Twitter account]]></title>
<link>http://tsheko.wordpress.com/2009/11/19/what-i-realised-when-i-lost-my-twitter-account/</link>
<pubDate>Thu, 19 Nov 2009 10:06:15 +0000</pubDate>
<dc:creator>tsheko</dc:creator>
<guid>http://tsheko.wordpress.com/2009/11/19/what-i-realised-when-i-lost-my-twitter-account/</guid>
<description><![CDATA[                                                                 Photo courtesy of GettysGirl on Fli]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><a href="http://tsheko.wordpress.com/files/2009/11/rapunzel.jpg"><img class="aligncenter size-medium wp-image-3053" title="Rapunzel" src="http://tsheko.wordpress.com/files/2009/11/rapunzel.jpg?w=199" alt="" width="199" height="300" /></a></p>
<p>                                                                 Photo courtesy of <a href="http://www.flickr.com/photos/gettysgirl/">GettysGirl</a> on Flickr</p>
<p>Yesterday I accidentally deleted my Twitter account. As soon as it happened, I was in shock. I&#8217;d lost everything.</p>
<p>What have I lost?</p>
<p>Firstly, I can&#8217;t believe how much it&#8217;s upset me. How long have I been on Twitter? Not a year, surely. How important can it be? I&#8217;ve lived without it most of my life, after all.</p>
<p>I feel that I&#8217;ve lost a community. I realise now how important my network is to me, and think back to the months I&#8217;ve spent discovering people, reading their biographies, appreciating their passion, their individual interests and skills, following them.</p>
<p>What&#8217;s also interesting is that I&#8217;ve developed new behaviours. I suppose you do when you become seriously involved in something. Hang on, did I say seriously? I think it means more to me than I realised.</p>
<p>I&#8217;ve developed behaviours which are social, not technological. I&#8217;m not a techie, I stand behind Web 2.0 technologies because they connect me to people. I&#8217;ve started to behave consistently as someone who functions in a community. There is nothing I discover without wanting to share. There is no idea that comes to me, no emotion I feel, without wanting to tweet out to people and wait for a response.</p>
<p>I realise that the people I&#8217;ve gradually drawn into my network are like-minded, but also diverse. I love that about Twitter.</p>
<p>I never have to wait long to get a response. Any question, suggestion, query, frustration receives a response, and leaves me feeling supported. If there&#8217;s little or no support in the people in my immediate community, there&#8217;s plenty of it out there in the Twitterverse. The world has become smaller, closer. And I meet some of these people in person; online relationships sometimes go offline.</p>
<p>I&#8217;m inspired by the people in my network. Their links take me to amazing websites, blogs, wikis, photos, videos &#8211; an incredible array of shared creativity and countless hours of their time. They give me ideas and spur me on to follow my own passion as a learner and teacher.</p>
<p>I really don&#8217;t know what to do with myself. Yes, I use Facebook, but not everybody does. I had more people on Twitter, and just the other day Facebook was blocked at school, even for teachers. I really do feel like Rapunzel at school. I feel as if my lifeline has been cut off. Discovering resources, I save them into Diigo and Delicious, but I have nobody to show them to, to talk to them about. I&#8217;ve lost the real-time connection.</p>
<p>If people who are anti-Web 2.o applications could experience the richness of online communities, I think they would change their mind. Surely, the negativity and fear come only from the absence of experience, from media-created and anecdotal misinformation &#8211; all theory.</p>
<p>If I build you a network of people like you, you too would come to depend on it; you&#8217;d also miss it if you lost it.</p>
<p>I&#8217;m going to start from scratch. My old twitter username was taniasheko, but I&#8217;m not able to keep it, so I&#8217;ve created a new username from my maiden name. On Twitter I&#8217;m <a href="http://twitter.com/taniatorikova">http://twitter.com/taniatorikova</a> I had to create a new email address: <a href="mailto:taniasheko@gmail.com">taniasheko@gmail.com</a> which I&#8217;ll use just for Twitter, and not anything else.</p>
<p> If you&#8217;re on Twitter, if you&#8217;ve followed me before, please follow me again once I&#8217;ve got a new account.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The Travian Romans Are Attacking! Part III]]></title>
<link>http://reyadel.wordpress.com/2009/11/17/the-travian-romans-are-attacking-part-iii/</link>
<pubDate>Tue, 17 Nov 2009 23:59:20 +0000</pubDate>
<dc:creator>reyadel</dc:creator>
<guid>http://reyadel.wordpress.com/2009/11/17/the-travian-romans-are-attacking-part-iii/</guid>
<description><![CDATA[It is now on my 13th day of playing Romans in Travian v.3.6 hosted at com10, and I was surprised tha]]></description>
<content:encoded><![CDATA[It is now on my 13th day of playing Romans in Travian v.3.6 hosted at com10, and I was surprised tha]]></content:encoded>
</item>
<item>
<title><![CDATA[حذف عدة روابط Hyperlinks مرة واحدة]]></title>
<link>http://alm3tasem.wordpress.com/2009/11/17/remove-hyperlinks-ms-excel/</link>
<pubDate>Tue, 17 Nov 2009 17:56:56 +0000</pubDate>
<dc:creator>معتصم</dc:creator>
<guid>http://alm3tasem.wordpress.com/2009/11/17/remove-hyperlinks-ms-excel/</guid>
<description><![CDATA[بسم الله الرحمن الرحيم حين ترغب فى حذف أحد الروابط Hyperlink من ورقة العمل فإنك تتبع الخطوات التالى ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h3 style="text-align:center;">بسم الله الرحمن الرحيم</h3>
<p>حين ترغب فى حذف أحد الروابط Hyperlink من ورقة العمل فإنك تتبع الخطوات التالى ذكرها لحذف ذلك الرابط (رابط واحد فقط)، لكن فى حالة وجود مجموعة من الروابط فإنك لا تستطيع تحديد هذه الروابط ومن ثم حذفها فى مرة واحدة؛ اليوم سنتعرف على كيفية القيام بهذه المهمة فى عدة خطوات بسيطة.</p>
<p><strong>أولاً : حذف رابط واحد</strong></p>
<ol>
<li> حدد الخلية التى يوجد بها الرابط Hyperlink</li>
<li> Right Click على الخلية</li>
<li> نختار Remove Hyperlink</li>
</ol>
<p><img class="alignnone" src="http://alm3tasem.wordpress.com/files/2009/11/del-hyperlink-01.gif" alt="" width="440" height="148" /></p>
<p><strong>ثانياً : حذف عدة روابط مرة واحدة</strong></p>
<ol>
<li> نكتب الرقم 1 فى خلية فارغة (يمكنك أن تكتب اى قيمة رقمية أخرى)</li>
<li> نقوم بعمل Copy لهذه الخلية</li>
<li> نحدد جميع الخلايا التى نريد حذف الروابط منها</li>
<li> من مربع الحوار Paste Special نختار Multiply ثم Ok (يمكنك إختيار أى عملية رياضية أخرى)</li>
<p><img src="http://alm3tasem.wordpress.com/files/2009/11/del-hyperlink-02.png" alt="" /><br />
بذلك يكون الرابط قد تم حذفه من الخلية على الرغم من أن تنسيق الخلية يبدو و كأنه رابط Hyperlink وللتخلص من هذا التنسيق نقوم بهذه الخطوة الأخيرة</p>
<li> نختار Normal من القائمة <strong>Home » Styles » Cell Styles » Normal</strong><br />
<img src="http://alm3tasem.wordpress.com/files/2009/11/del-hyperlink-031.png" alt="" /></li>
<p>أو <strong>Home » Editing » Clear » Clear Formating</strong><br />
<img src="http://alm3tasem.wordpress.com/files/2009/11/del-hyperlink-04.png" alt="" /></ol>
<p><span style="color:#ffff00;background:black;font-weight:bold;margin:2px;padding:3px;">إكسل 2003</span><br />
من خلال القائمة <strong>Edit » Clear » Format</strong></p>
<p>المصدر :<br />
<a href="http://www.mrexcel.com/podcast/2009/11/removing-hyperlinks-1137-learn-excel.html">1137 Removing Hyperlinks</a></p>
<h3 style="text-align:center;">فى رعاية الله</h3>
<p style="border:1px solid #edb903;font-weight:bold;background-color:#ffffcc;margin:5px auto;padding:5px;">»يمكنك الإطلاع على جميع موضوعات المدونة من خلال <a href="http://alm3tasem.wordpress.com/archive-2/">الأرشيف</a>.<br />
»إذا كانت هذه هى زيارتك الأولى للموقع، فلا تنس أن تشترك فى خلاصات الموقع عبر الـ <a href="http://feeds.feedburner.com/alm3tasem">RSS</a> أو عبر    الـ   <a href="http://feedburner.google.com/fb/a/mailverify?uri=alm3tasem">e-mail</a>للحصول على جديد الموقع مباشرة.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kareena wants KJo to show Babita Kurbaan's edited version]]></title>
<link>http://fenilandbollywood.wordpress.com/2009/11/17/kareena-wants-kjo-to-show-babita-kurbaans-edited-version/</link>
<pubDate>Tue, 17 Nov 2009 08:33:14 +0000</pubDate>
<dc:creator>fenilseta</dc:creator>
<guid>http://fenilandbollywood.wordpress.com/2009/11/17/kareena-wants-kjo-to-show-babita-kurbaans-edited-version/</guid>
<description><![CDATA[Kareena Kapoor has asked Karan Johar to edit out the reel which has her love making scene from the K]]></description>
<content:encoded><![CDATA[Kareena Kapoor has asked Karan Johar to edit out the reel which has her love making scene from the K]]></content:encoded>
</item>
<item>
<title><![CDATA[Mempercepat Proses Load Data di Java Menggunakan Cache]]></title>
<link>http://eecchhoo.wordpress.com/2009/11/15/mempercepat-proses-load-data-di-java-menggunakan-cache/</link>
<pubDate>Sun, 15 Nov 2009 12:38:24 +0000</pubDate>
<dc:creator>Eko Kurniawan Khannedy</dc:creator>
<guid>http://eecchhoo.wordpress.com/2009/11/15/mempercepat-proses-load-data-di-java-menggunakan-cache/</guid>
<description><![CDATA[Motivasi sebelum saya bahas tentang mempercepat proses load data di java menggunakan cache, saya aka]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Motivasi</h2>
<p>sebelum saya bahas tentang mempercepat proses load data di java menggunakan cache, saya akan bahas dahulu tentang apa saja manfaat yang akan didapat setelah mambaca artike ini. secara sederhana anda akan mengetahui :</p>
<ul>
<li>cara mempercepat proses load menggunakan cache.</li>
<li>bagaimana cara kerja cache sehingga dapat mempercepat proses laod data.</li>
<li>cara menerapkan cache pada sistem anda.</li>
<li>framework yang dapat digunakan sebagai cache.</li>
</ul>
<p>sekarang jika anda sekiranya tidak tertarik dengan manfaat artikel ini, anda bisa tidak melanjutkan membacanya, namun jika tertarik anda dapat meneruskan untuk membaca artikel ini.<!--more--></p>
<h2>Apa itu Cache?</h2>
<p>sebelum tahu bagaimana cara mempercepat proses load data menggunakan cache, tentulah anda harus mengetahui dulu tentang apa itu cache.</p>
<blockquote><p><em><span style="color:#ff0000;"><span style="color:#3366ff;">Cache</span> adalah kumpulan dari duplikasi data yang disimpan di suatu media. dimana data orisinil dari duplikasi tersebut membutuhkan biaya yang mahal untuk diakses, seperti waktu yang lama, ataupun proses yang memakan resource processor banyak.</span></em></p></blockquote>
<p>sekarang yang jadi pertanyaan, data yang bagaimana yang bagus untuk dibuat cache-nya, dan dimanakan kita harus menyimpan cache tersebut?</p>
<p>sudah tidak bisa dipungkiri lagi jika setiap sistem pasti membutuhkan media penyimpanan, dan kebanyakan media penyimpanan tersebut adalah disk. misal seperti database, ataupun file biasa. ataupun biasanya sistem menyimpan data dalam memori. biasanya data yang disimpan dalam memori itu bukanlah data yang bersifat permanen, biasanya jika datanya bersifat permanen, maka diharuskan disimpan dalam disk.</p>
<p>anggap saja saat ini kita sedang menggunakan sistem yang berbasis database. artinya kita menggunakan database sebagai media penyimpan datanya. dan hal ini berarti data tersebut disimpan dalam disk. (kecuali menggunakan database berbasis memori seperti HSQLDB, anggap saja kita sekarang menggunakan database yang datanya disimpan dalam disk).</p>
<p>perlu diketahui juga kalo proses disk io yang dilakukan oleh database, baik itu ketika menyimpan data ataupun meload data bukanlah proses yang gampang. proses tersebut meruapkan proses yang mahal. kenapa bisa dibilang proses yang mahal? karena ada proses yang lebih murah dari proses tersebut <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>yup! proses yang lebih murah tersebut adalah memori io, yang artinya pengaksesan data dari disk itu lebih mahal dari pada pengaksesan data dari memori. mengakses data dari file akan membutuhkan waktu yang lama dimandingkan mengakses data dati memori. dan mengakses data dari disk membutuhkan resource processor lebih besar dari pada mengakses data dari memori. (<span style="color:#ff0000;">makanya harga memori lebih mahal dari harga hardisk <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </span> )</p>
<blockquote><p>gak percaya kalo memori lebih cepat dari disk? coba tanya ke orang teknik komputer <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p></blockquote>
<p>sekarang yang menjadi pertanyaannya adalah, <strong>bagaimana cara kita meyimpan cache dalam memori?</strong></p>
<h2>Arsitektur Menggunakan Cache</h2>
<p>sebelum menggunakan cache, biasanya kita membuat sistem berbasis database seperti dibawah ini :</p>
<p style="text-align:center;"><img class="aligncenter" src="http://eecchhoo.files.wordpress.com/2009/11/before.png?w=500" alt="Before" /></p>
<p>dimana biasanya aplikasi langsung terkoneksi ke database, sehingga proses insert, update, delete, dan select akan langsung dilakukan ke database. namun seperti yang dibahas sebelumnya, karena proses disk io dalam database itu prosesnya cukup mahal, maka adabaiknya kita menggunakan cache untuk menggulangi masalah tersebut. dimana kita akan menggunakan memori sebagai media penyimpanan cache tersebut. sehingga arsitekturnya akan seperti ini :</p>
<p style="text-align:center;"><img class="aligncenter" src="http://eecchhoo.files.wordpress.com/2009/11/after.png?w=500" alt="After" /></p>
<p><strong>lho kenapa tetap menggunakan database? </strong></p>
<p>tentu saja, karena sifat memori yang akan menghapus data ketika sumber daya mati, maka kita tidak bisa menggunakan memori sebagai media penyimpanan utama. jadi tetap walaupun kita menyimpan cache di memori, tetapi tetap data original harus ada dalam database, sehingga saat sistem mati, data tetap ada.</p>
<h2>Implementasi Dalam Java</h2>
<p>sekarang pertanyaannya, &#8220;<strong>bagaimana cara mengimplementasikan cache di java?</strong>&#8220;</p>
<p>seperti biasa, biasanya orang java selalu menggunakan konsep yang namanya Data Access Object saat membuat sistem berbasiskan database. anggap saja misal kita memiliki entitas Manusia, maka biasanya dibuatlah data access object untuk entitas tersebut :</p>
<pre class="brush: java;">
package echo.khannedy.cacheload.mapper;

import echo.khannedy.cacheload.entity.Manusia;

public interface ManusiaMapper {

	void saveManusia(Manusia manusia);

	void updateManusia(Manusia manusia);

	void deleteManusia(Long id);

	Manusia getManusia(Long id);

}
</pre>
<blockquote><p>jika anda belum mengerti tentang konsep dao, anda bisa membacanya disini :</p>
<ul>
<li>p<a href="http://eecchhoo.wordpress.com/2009/08/06/pengenalan-data-access-object-1/">engenalan data access object 1 intro</a></li>
<li>p<a href="http://eecchhoo.wordpress.com/2009/08/10/pengenalan-data-access-object-2-implementasi-dalam-jdbc/">engenalan data access object 2 implementasi dalam jdbc</a></li>
<li><a href="http://eecchhoo.wordpress.com/2009/08/11/pengenalan-data-access-object-3-implementasi-dalam-jpa/">pengenalan data access object 3 implementasi dalam java persistence api</a></li>
<li><a href="http://eecchhoo.wordpress.com/2009/08/12/pengenalan-data-access-object-4-implementasi-dalam-hibernate/">pengenalan data access object 4 implementasi dalam hibernate</a></li>
<li><a href="http://eecchhoo.wordpress.com/2009/08/12/pengenalan-data-access-object-5-kesalahan-membuat-dao/">pengenalan data access object 5 kesalahan membuat dao</a></li>
<li><a href="http://eecchhoo.wordpress.com/2009/08/12/pengenalan-data-access-object-6-outro/">pengenalan data access object 6 outro</a></li>
</ul>
</blockquote>
<p>dan biasanya kita membuat implementasi dao tersebut seperti ini :</p>
<pre class="brush: java;">
package echo.khannedy.cacheload.implement;

import echo.khannedy.cacheload.entity.Manusia;
import echo.khannedy.cacheload.mapper.ManusiaMapper;

public class ManusiaMapperImpl implements ManusiaMapper {

	@Override
	public void deleteManusia(Long id) {
		// mulai transaksi
		database.beginTransaction();

		// hapus data yang ada di database
		database.deleteById(Manusia.class, id);

		// commit transaksi
		database.commit();
	}

	@Override
	public Manusia getManusia(Long id) {
		// mulai transaksi
		database.beginTransaction();

		// load data yang ada dalam database
		Manusia manusia = database.getById(Manusia.class, id);

		// commit transaksi
		database.commit();

		return manusia;
	}

	@Override
	public void saveManusia(Manusia manusia) {
		// mulai transaksi
		database.beginTransaction();

		// simpan data ke database
		database.save(Manusia.class, manusia);

		// commit transaksi
		database.commit();
	}

	@Override
	public void updateManusia(Manusia manusia) {
		// mulai transaksi
		database.beginTransaction();

		// ubah data di database
		database.update(Manusia.class, manusia);

		// commit transaksi
		database.commit();
	}

}
</pre>
<p>nah sekarang bagaimana membuat cache? seperti pada penjelasannya bahwa cache itu adalah kumpulan duplikasi data, artinya cache ini berisikan data. sehingga dengan demikian kita bisa menggunakan collection untuk dijadikan cache tersebut. namun yang menjadi permasalaan adalah, bagai mana kita tahu jika ada data yang kita mau dalam cache?</p>
<p>untuk mengatasi masalah tersebut, kita harus menggunakan identitas untuk tiap object dalam cache. sehingga collection yang mensupport pengidentitasan menggunakan id adalah java.util.Map, dimana jika kita menggunakan java.util.List, maka kita hanya bisa menyimpan object tanpa memberi identitas.</p>
<p>dan karena pada kasus ini kita menggunakan entitas Manusia, jadi kita buat juta cache untuk entitas Manusia dengan nama ManusiaCache :</p>
<pre class="brush: java;">
package echo.khannedy.cacheload.cache;

import java.util.HashMap;
import java.util.Map;

import echo.khannedy.cacheload.entity.Manusia;

public class ManusiaCache {

	// buat collection dari map
	private Map&#38;lt;Long, Manusia&#38;gt; map = new HashMap&#38;lt;Long, Manusia&#38;gt;();

	/**
	 * metode ini bisa digunakan untuk menambah data ke cache ataupun mengubah
	 * data di cache
	 *
	 * @param manusia
	 */
	public void put(Manusia manusia) {
		// simpan data ke map
		map.put(manusia.getId(), manusia);
	}

	/**
	 * metode ini digunakan untuk menghapus data di cache
	 *
	 * @param id
	 */
	public void delete(Long id) {
		map.remove(id);
	}

	/**
	 * metode ini digunakan untuk mendapatkan data di cache
	 *
	 * @param id
	 * @return manusia atau null jika tidak terdapat data manusia dengan id
	 *         tersebut
	 */
	public Manusia get(Long id) {
		return map.get(id);
	}

}
</pre>
<p>dengan demikian kita ubah juga data access object Manusia menjadi seperti dibawah ini :</p>
<pre class="brush: java;">
package echo.khannedy.cacheload.implement;

import echo.khannedy.cacheload.cache.ManusiaCache;
import echo.khannedy.cacheload.entity.Manusia;
import echo.khannedy.cacheload.mapper.ManusiaMapper;

public class ManusiaMapperImpl implements ManusiaMapper {

	private ManusiaCache cache = new ManusiaCache();

	@Override
	public void deleteManusia(Long id) {
		// mulai transaksi
		database.beginTransaction();

		// hapus data yang ada di database
		database.deleteById(Manusia.class, id);
		// hapus data di cache
		cache.delete(id);

		// commit transaksi
		database.commit();
	}

	@Override
	public Manusia getManusia(Long id) {
		// load data di cache
		Manusia manusia = cache.get(id);

		// cek apakah data tidak ada dalam cache
		if(manusia == null){
			// jika data tidak ada dalam cache, maka load dari database

			// mulai transaksi
			database.beginTransaction();

			// load data di database
			manusia = database.getById(Manusia.class, id);
			// simpan data ke cache
			cache.put(manusia);

			// commit transaksi
			database.commit();
		}

		return manusia;
	}

	@Override
	public void saveManusia(Manusia manusia) {
		// mulai transaksi
		database.beginTransaction();

		// simpan data ke database
		database.save(Manusia.class, manusia);
		// simpan data ke cache
		cache.put(manusia);

		// commit transaksi
		database.commit();
	}

	@Override
	public void updateManusia(Manusia manusia) {
		// mulai transaksi
		database.beginTransaction();

		// ubah data di database
		database.update(Manusia.class, manusia);
		// ubah data di cache
		database.put(manusia);

		// commit transaksi
		database.commit();
	}

}
</pre>
<p>dengan demikian saat terjadi proses load data maka proses ini yang akan dilakukan :</p>
<ul>
<li>load data dari cache</li>
<li>cek apakah data di cache ada</li>
<li>jika data ada maka proses selesai</li>
<li>jika data tidak ada dalam cache maka load data yang ada didatabase</li>
<li>setelah data yang ada didatabase diload, simpan data tersebut di cache</li>
<li>selesai</li>
</ul>
<p><em><span style="color:#ff6600;">dengan demikian saat sistem melakukan load data yang ada dicache dan ditemukan, maka sistem sama sekali tidak menyentuh database untuk meload data. dan hal ini tentu akan menjadikan proses load data lebih cepat.</span></em></p>
<p><em><span style="color:#3366ff;">namun jika data tidak ada dalam cache, maka data akan diload dari database, dan setelah itu data tersebut akan disimpan dalam cache. dengan ini proses selanjutnya maka load akan dilakukan ke cache tanpa harus ke database lagi <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </span></em></p>
<p>pada artikel ini, kita telah membuat cache secara manual, artinya kita membuat cache sendiri. namun jika anda ingin menggunakan cache yang lebih powerfull anda dapat menggunakan framework-framework cache yang telah ada seperti :</p>
<ul>
<li><a href="http://ehcache.org/">EhCache</a></li>
<li><a href="http://www.opensymphony.com/oscache/">OsCache</a></li>
<li><a href="http://www.jboss.org/jbosscache/">JBoss Cache</a></li>
</ul>
<p>terima kasih telah membaca artikel ini, semoga ilmu anda dan saya semakin bertambah <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Testing, one, two]]></title>
<link>http://vansprang.wordpress.com/2009/11/15/testing-one-two/</link>
<pubDate>Sun, 15 Nov 2009 10:58:11 +0000</pubDate>
<dc:creator>vansprang</dc:creator>
<guid>http://vansprang.wordpress.com/2009/11/15/testing-one-two/</guid>
<description><![CDATA[Like a test.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Like a test.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Have Travian Gold, Will Attack, Part VIII]]></title>
<link>http://reyadel.wordpress.com/2009/11/13/have-travian-gold-will-attack-part-viii/</link>
<pubDate>Fri, 13 Nov 2009 23:59:39 +0000</pubDate>
<dc:creator>reyadel</dc:creator>
<guid>http://reyadel.wordpress.com/2009/11/13/have-travian-gold-will-attack-part-viii/</guid>
<description><![CDATA[For the past whole week, I have tried to describe herein my Travian experience, which in its entiret]]></description>
<content:encoded><![CDATA[For the past whole week, I have tried to describe herein my Travian experience, which in its entiret]]></content:encoded>
</item>
<item>
<title><![CDATA[This Is NANOWRIMO!]]></title>
<link>http://matthewpetrites.wordpress.com/2009/11/12/this-is-nanowrimo/</link>
<pubDate>Thu, 12 Nov 2009 18:47:08 +0000</pubDate>
<dc:creator>Neo</dc:creator>
<guid>http://matthewpetrites.wordpress.com/2009/11/12/this-is-nanowrimo/</guid>
<description><![CDATA[No explanation needed here!]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>No explanation needed here!<br />
<img class="alignnone size-full wp-image-56" title="NaNoWriMo Keyboard" src="http://matthewpetrites.wordpress.com/files/2009/11/imag2400.jpg" alt="Missing Keys: Backspace, Delete, Clear" width="510" height="222" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Partition Wizard Free Home Edition &ndash; New User Friendly]]></title>
<link>http://billmullins.wordpress.com/2009/11/12/partition-wizard-free-home-edition-new-user-friendly/</link>
<pubDate>Thu, 12 Nov 2009 17:49:24 +0000</pubDate>
<dc:creator>Bill Mullins</dc:creator>
<guid>http://billmullins.wordpress.com/2009/11/12/partition-wizard-free-home-edition-new-user-friendly/</guid>
<description><![CDATA[I can still remember the first time I partitioned a live Hard Drive. What I remember most clearly is]]></description>
<content:encoded><![CDATA[I can still remember the first time I partitioned a live Hard Drive. What I remember most clearly is]]></content:encoded>
</item>
<item>
<title><![CDATA[First Post: Blackberry n00b tip]]></title>
<link>http://mybbtech.wordpress.com/2009/11/11/first-post-blackberry-n00b-tip/</link>
<pubDate>Wed, 11 Nov 2009 02:54:10 +0000</pubDate>
<dc:creator>faifaifaifai</dc:creator>
<guid>http://mybbtech.wordpress.com/2009/11/11/first-post-blackberry-n00b-tip/</guid>
<description><![CDATA[Well since this is my first post ever, I thought I&#8217;d start of with a very simply tip for all y]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Well since this is my first post ever, I thought I&#8217;d start of with a very simply tip for all you new Blackberry users out there (some may be not new but just don&#8217;t know how to do this). The following is a step by step guide on mass deleting your e-mails. If you wanna save some space on your device or simply wanna get rid of those bulk e-mails which u already read then this will definitely come in handy.</p>
<p>1. First step is of course open up your e-mail inbox</p>
<p><img class="aligncenter size-full wp-image-16" title="Mass Deleting E-Mail 01" src="http://mybbtech.wordpress.com/files/2009/11/2009_11_09_11_53_42.jpg" alt="Mass Deleting E-Mail 01" width="480" height="320" /></p>
<p>2. Hold the shift key and scroll the trackball up or down to highlight the selection of e-mails u want to delete.</p>
<p><img class="aligncenter size-full wp-image-17" title="Mass Deleting E-Mails 02" src="http://mybbtech.wordpress.com/files/2009/11/2009_11_09_11_54_04.jpg" alt="Mass Deleting E-Mails 02" width="480" height="320" /></p>
<p>3. Now press the delete button on your keypad, you will be given a choice to delete the mails on the device and mailbox or just on the device (maintaining the e-mails if you access them thru your pc). That&#8217;s it! You&#8217;re done! You can use this for mass deleting SMSes as well.</p>
<p><img class="aligncenter size-full wp-image-18" title="Mass Deleting E-Mails 03" src="http://mybbtech.wordpress.com/files/2009/11/2009_11_09_11_54_22.jpg" alt="Mass Deleting E-Mails 03" width="480" height="320" /></p>
<p>Well, I know to many this may seem like oh so simple but trust me there are many ppl out there who do not know about this. Pls feel free to leave a comment or ask me questions so I may address them in the future posts.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Smallville: Season 3 Episode 11 - Delete]]></title>
<link>http://watchsmallvillesuperman.wordpress.com/2009/11/10/smallville-season-3-episode-11-delete/</link>
<pubDate>Tue, 10 Nov 2009 22:59:00 +0000</pubDate>
<dc:creator>watchsmallvillesuperman</dc:creator>
<guid>http://watchsmallvillesuperman.wordpress.com/2009/11/10/smallville-season-3-episode-11-delete/</guid>
<description><![CDATA[Have You Seen Smallville: Season 3 Episode 11 &#8211; Delete? Episode Synopsis: After leaving an art]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2 style="text-align:center;">Have You Seen <strong>Smallville: Season 3 Episode 11 &#8211; Delete</strong>?<br />
<h3 style="text-align:center;">Episode Synopsis: </h3>
<p style="text-align:center;">  After leaving an article full of denunciations about the &#8220;Summerholt Neurological Institute&#8221; with her former colleague of the Daily Planet, Max Taylor, Chloe is chased by Clark Kent who tries to run her down with his truck. He claims that he had received an e-mail just before his action. Later, Lana also receives an e-mail from the same address and tries to kill Chloe on the steps of Smallville High, who is saved by Adam Knight. Clark and Chloe, with a little help from Lex, investigate the mysterious e-mail origin, and they discover that Molly Griggs, a former patient of the unethical Dr. Garner, is using her meteor-rock abilities to force people to kill through a hypnotic suggestion in her e-mails. Meanwhile, Adam moves to Smallville to be close to Lana despite that no body knows anything about him. Also, Lex makes contact with Dr. Garner and threatens to expose his unethical practices unless he helps him regain his memory of the last seven weeks.</p>
<h2>So what do you think of this episode?</h2>
<p>If you missed it, you can <a href='http://www.episodes-full.com'>watch it here.</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Playlist!]]></title>
<link>http://kidlilly.wordpress.com/2009/11/10/playlist/</link>
<pubDate>Tue, 10 Nov 2009 19:39:11 +0000</pubDate>
<dc:creator>Lilly</dc:creator>
<guid>http://kidlilly.wordpress.com/2009/11/10/playlist/</guid>
<description><![CDATA[De vreo cateva zile m-am hotarat sa fac curatenie in  folderul cu muzica. Totul a pornit de la faptu]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><span style="color:#800080;">De vreo cateva zile m-am hotarat sa fac curatenie in  folderul cu muzica. Totul a pornit de la faptul ca in playlist aveam si manele- da manele! manele vechi care odata imi placeau sau uneori cand aveam chef sa disper vecinii mai ascultam. Manele care imi aminteau de ceva anume, care stateau bine ascunse dar acum au nimerit in playlist si nu aveam eu starea necesara sa le aud.  Asa ca am zis gata delete manelele si le-am executat. Le-am executat si din recycle bin ca sa fiu sigura ca nu le mai am. Am mai sters melodii care am zis ca nu-mi plac, sau care le-am luat din retea pentru diversi prieteni si mi-au ramas si mie si am mai facut si eu putin spatiu pe disk, ca oricum am multe lucruri nefolositoare.</span></p>
<p style="text-align:justify;"><span style="color:#800080;">Evident ca n-am purecat eu toate fisierele si surpriza a aparut. Pun toata muzica in playlist si dupa vreo jumatate de ora, canta iar manelele. N-am scapat de ele, ca stau bine ascunse. N-am mai avut nervi sa le caut asa ca am pus in lista cateva melodii care sa le ascult si gata pana data viitoare cand fac iarasi deep cleaning.</span></p>
<p style="text-align:justify;"><span style="color:#800080;">Am insa o melodie care se pare ca se vrea ascultata in fiecare zi. Winampul e setat sa faca shuffling asa ca el e vinovat pentru aceasta melodie. Nu stiu daca are vreo semnificatie anume dar oricum e foarte frumoasa. </span></p>
<p><span style="color:#800080;">Stumblin in- Chris Norman &#38; Susi Quatro<br />
</span></p>
<p><span style="color:#800080;"><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/_am1ydf8QRA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/_am1ydf8QRA&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Eliminare i file di configurazione di software disinstallati]]></title>
<link>http://lippolweblog.wordpress.com/2009/11/10/eliminare-i-file-di-configurazione-di-software-disinstallati/</link>
<pubDate>Tue, 10 Nov 2009 15:33:07 +0000</pubDate>
<dc:creator>lippol94</dc:creator>
<guid>http://lippolweblog.wordpress.com/2009/11/10/eliminare-i-file-di-configurazione-di-software-disinstallati/</guid>
<description><![CDATA[Linux si sa, è meglio di Windows per tanti aspetti. Uno dei quali è proprio la bassissima richiesta ]]></description>
<content:encoded><![CDATA[Linux si sa, è meglio di Windows per tanti aspetti. Uno dei quali è proprio la bassissima richiesta ]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting the right HTML for Rails Nested Model Forms]]></title>
<link>http://highaltitudehacking.wordpress.com/2009/11/10/getting-the-right-html-for-rails-nested-model-forms/</link>
<pubDate>Tue, 10 Nov 2009 04:38:07 +0000</pubDate>
<dc:creator>Jon Christensen</dc:creator>
<guid>http://highaltitudehacking.wordpress.com/2009/11/10/getting-the-right-html-for-rails-nested-model-forms/</guid>
<description><![CDATA[Last week I had trouble getting Rails&#8217;s Nested Model Forms feature to work for me in exactly t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Last week I had trouble getting Rails&#8217;s Nested Model Forms feature to work for me in exactly the way I wanted.  Two things were working against me: 1) No documentation that shows the complete process for nested models from ERB to HTML, to HTTP parameters, to controller code. and 2) Blogs and suggestions I came up with were close, but didn&#8217;t work.</p>
<p>Since I was using javascript rather than ERB to create the hidden input tags in the HTML, I needed to know exactly how to construct my tags to tell rails what to do with my nested models.<!--more--></p>
<p>First a quick definition of Nested Model forms: These are forms where you manage an object and associated child objects within the same form.  For example, you might create a room (such as a hotel room) and it&#8217;s associated bookings in one form.  Another example closer to what I was trying to do is to update a room by adding and removing bookings within a single form.  The official Rails blog discusses it in some detail <a href="http://weblog.rubyonrails.org/2009/1/26/nested-model-forms" target="_blank">here</a>.</p>
<p>So, rather than boring you with everything that didn&#8217;t work, allow me to get right to what works.</p>
<p>When using nested model forms, you can add new child objects to your model by ensuring your html form has properly named input tags.  Each input tag with a rather convoluted name (full of brackets like this: project[task_attributes][]) results in a new child object getting created with the name set to whatever is in the &#8216;value&#8217; attribute of the html tag.</p>
<p>What I found odd is that delete didn&#8217;t seem to work the same way.  It turns out that in Rails 2.3.4 it is necessary to provide pairs of hidden input tags for each child you want to delete from your model.  This works because Rails figures out that it must group the two inputs together; one to define the id and the other to signify the delete.</p>
<p>Like this:</p>
<pre class="brush: xml;">
&#60;input type=&#34;hidden&#34; value=&#34;56&#34; name=&#34;room[bookings_attributes][][id]&#34;/&#62;
&#60;input type=&#34;hidden&#34; value=&#34;1&#34;  name=&#34;room[bookings_attributes][][_delete]&#34;/&#62;
</pre>
<p>This method raises an important concern, though.  Would this start failing if I had multiple children to delete in one server request?  Also what would happen if there was a mix of inserts and deletes?  Further testing showed odd behavior.  The only way I have been able to get this to work is with pairs of hidden inputs as follows:</p>
<pre class="brush: xml;">
&#60;!-- Add a booking --&#62;
&#60;input type=&#34;hidden&#34; name=&#34;room[bookings_attributes][][id]&#34;/&#62;
&#60;input type=&#34;hidden&#34; value=&#34;11/18/2009&#34; name=&#34;room[bookings_attributes][][date]&#34;/&#62;

&#60;!-- Delete a booking --&#62;
&#60;input type=&#34;hidden&#34; value=&#34;15&#34; name=&#34;room[bookings_attributes][][id]&#34;/&#62;
&#60;input type=&#34;hidden&#34; value=&#34;1&#34; name=&#34;room[bookings_attributes][][_delete]&#34;/&#62;

&#60;!-- Delete a booking --&#62;
&#60;input type=&#34;hidden&#34; value=&#34;16&#34; name=&#34;room[bookings_attributes][][id]&#34;/&#62;
&#60;input type=&#34;hidden&#34; value=&#34;1&#34; name=&#34;room[bookings_attributes][][_delete]&#34;/&#62;

&#60;!-- Add a booking --&#62;
&#60;input type=&#34;hidden&#34; name=&#34;room[bookings_attributes][][id]&#34;/&#62;
&#60;input type=&#34;hidden&#34; value=&#34;01/22/2010&#34; name=&#34;room[bookings_attributes][][date]&#34;/&#62;
</pre>
<p>These get translated to parameters as follows:</p>
<div>Parameters:</div>
<div>
<pre class="brush: ruby;">
{&#34;commit&#34;=&#62;&#34;Update Reservation!&#34;,&#34;authenticity_token&#34;=&#62;&#34;blah&#34;,
    &#34;id&#34;=&#62;&#34;1&#34;,
    &#34;room&#34;=&#62; {&#34;bookings_attributes&#34;=&#62;[{&#34;id&#34;=&#62;&#34;&#34;, &#34;date&#34;=&#62;&#34;11/18/2009&#34;},
                                      {&#34;_delete&#34;=&#62;&#34;1&#34;, &#34;id&#34;=&#62;&#34;15&#34;},
                                      {&#34;_delete&#34;=&#62;&#34;1&#34;, &#34;id&#34;=&#62;&#34;16&#34;},
                                      {&#34;id&#34;=&#62;&#34;&#34;, &#34;date&#34;=&#62;&#34;01/22/2010&#34;}
                                     ]
             }
}
</pre>
<p>I think that herein lies the key to why this works this way.  I wish I understood it a little better, but what I&#8217;m able to deduce is that the current implementation of nested attributes needs the child objects to be presented in an array where each element of the array is a hash containing child object attributes and optionally the delete flag.</p>
<p>Given that requirement, there seems to be a limitation on how the input tags are parsed.  The only way to get something on the right side of a &#8216;=&#62;&#8217; in the hashes is to put it in the &#8216;value&#8217;attribute of the html input tag.  For example:</p>
<pre class="brush: xml;">
&#60;input type=&#34;hidden&#34; value=&#34;1&#34; name=&#34;room[bookings_attributes][16][_delete]&#34;/&#62;
</pre>
<p>gets parsed to</p>
<pre class="brush: ruby;">
{&#34;booking_attributes&#34; =&#62; {&#34;16&#34; =&#62; {&#34;_delete&#34; =&#62; &#34;1&#34;}}}
</pre>
<p>The documentation says that should be ok, but Rails doesn&#8217;t actually do the deletion &#8230; nor does it complain.</p>
<p>So that&#8217;s a long and specific story, but it&#8217;s such an odd case and it doesn&#8217;t seem to be deeply explored in blogs and writeups, so I thought I&#8217;d share it with everyone.</p>
</div>
</div>]]></content:encoded>
</item>

</channel>
</rss>
