<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>COO tiket.com. Advisor bouncity.com. Advisor golfnesia.com. Co-founded urbanesia.com. Initiator #StartupLokal
    var GoSquared={};
    GoSquared.acct = "GSN-086623-H";
    (function(w){
        function gs(){
            w._gstc_lt=+(new Date); var d=document;
            var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
            var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s);
        }
        w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs);
    })(window);
</description><title>ADHEAVEN - Natali Ardianto Official</title><generator>Tumblr (3.0; @adheaven)</generator><link>http://adheaven.com/</link><item><title>Installing Sphinx Search on Basic 64-bit Amazon Linux AMI</title><description>&lt;p&gt;This is a simple step by step in installing Sphinx Search on Basic 64-bit Amazon Linux AMI. This is applicable to 32-bit too. This installation is very bare, starting from zero installation at all.&lt;/p&gt;
&lt;p&gt;The conditions I wanted to meet:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Using the very latest Sphinx Search documents. And when I say latest, I mean it. I am using Sphinx Search trunk, because I need the RealTime Indexing (RT Index) and the latest trunk had the &lt;a href="http://code.google.com/p/sphinxsearch/source/detail?r=3028" title="truncate rtindex" target="_blank"&gt;TRUNCATE RTINDEX&lt;/a&gt; command to remove all indexes.&lt;/li&gt;
&lt;li&gt;Uses MySQL to connect to Sphinx Search.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;So here goes:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;# yum install mysql mysql-server mysql-devel&lt;br/&gt;# yum install make gcc gcc-c++&lt;br/&gt;# yum install svn&lt;br/&gt;# cd /usr/src/&lt;br/&gt;# svn checkout &lt;a href="http://sphinxsearch.googlecode.com/svn/trunk/"&gt;http://sphinxsearch.googlecode.com/svn/trunk/&lt;/a&gt; sphinxsearch &lt;br/&gt;# cd sphinxsearch&lt;br/&gt;# ./configure —with-mysql&lt;br/&gt;# make&lt;br/&gt;# make install&lt;br/&gt;# /usr/local/bin/indexer —all&lt;br/&gt;# /etc/init.d/searchd start&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And that’s it! Crazy simple!&lt;/p&gt;</description><link>http://adheaven.com/post/16641579235</link><guid>http://adheaven.com/post/16641579235</guid><pubDate>Sun, 29 Jan 2012 00:14:46 +0700</pubDate><category>sphinx</category><category>search</category><category>indexing</category><category>realtime</category><category>real time</category><category>trunk</category></item><item><title>nuniek:

Peserta #startuplokal meetup termuda malam ini ^.^...</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_lyb3e3kr041qk0t2ao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://nuniek.tumblr.com/post/16406855263/peserta-startuplokal-meetup-termuda-malam-ini"&gt;nuniek&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Peserta #startuplokal meetup termuda malam ini ^.^ (&lt;a href="http://lightbox.com/gPrjPIA"&gt;Photo&lt;/a&gt; by &lt;a href="http://nuniek.lightbox.com/"&gt;nuniek&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/16415031761</link><guid>http://adheaven.com/post/16415031761</guid><pubDate>Wed, 25 Jan 2012 01:18:19 +0700</pubDate></item><item><title>Project Eden, Grha 9 5th floor, Jl. Penataran no. 9,...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_ly1k82k9el1qziorgo1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://30.media.tumblr.com/tumblr_ly1k82k9el1qziorgo2_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://30.media.tumblr.com/tumblr_ly1k82k9el1qziorgo3_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://26.media.tumblr.com/tumblr_ly1k82k9el1qziorgo4_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://29.media.tumblr.com/tumblr_ly1k82k9el1qziorgo5_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://27.media.tumblr.com/tumblr_ly1k82k9el1qziorgo6_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://30.media.tumblr.com/tumblr_ly1k82k9el1qziorgo7_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://24.media.tumblr.com/tumblr_ly1k82k9el1qziorgo8_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;p&gt;Project Eden, Grha 9 5th floor, Jl. Penataran no. 9, Menteng&lt;/p&gt;</description><link>http://adheaven.com/post/16110619279</link><guid>http://adheaven.com/post/16110619279</guid><pubDate>Thu, 19 Jan 2012 17:38:26 +0700</pubDate></item><item><title>salsabeela:

Been trying to put the painting on the wall for...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_ly1f1q2P6d1qz7deoo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://salsabeela.tumblr.com/post/16109027606/been-trying-to-put-the-painting-on-the-wall-for"&gt;salsabeela&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Been trying to put the painting on the wall for weeks. Finally after the girls (me &amp; nuniek) spend more time at the office, the painting finally put in the right place :D&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/16110401397</link><guid>http://adheaven.com/post/16110401397</guid><pubDate>Thu, 19 Jan 2012 17:23:15 +0700</pubDate></item><item><title>nuniek:

Welcoming foreign investor to @projecteden campus this...</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_ly127jiVHS1qk0t2ao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://nuniek.tumblr.com/post/16100408249/welcoming-foreign-investor-to-projecteden-campus"&gt;nuniek&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Welcoming foreign investor to @projecteden campus this morning, n they gave us good ideas :)  (&lt;a href="http://lightbox.com/EfODE9X"&gt;Photo&lt;/a&gt; by &lt;a href="http://nuniek.lightbox.com/"&gt;nuniek&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/16100500854</link><guid>http://adheaven.com/post/16100500854</guid><pubDate>Thu, 19 Jan 2012 11:11:12 +0700</pubDate></item><item><title>Using Sphinx as denormalized table: Need your point of view</title><description>&lt;p&gt;Hey guys, I need your point of view on this. So I have this query, which can take up to 17 (Seventeen!) tables into one query. I have been using Sphinx a lot for searches, and luckily, since Sphinx 1.10-beta, we have this attribute called &lt;a href="http://sphinxsearch.com/docs/current.html#conf-sql-attr-string" target="_blank"&gt;sql_attr_string&lt;/a&gt;. What this attribute does is store the value for retrieval at Sphinx. So this is what I get (below is a sphinx index):&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;mysql&gt; select room_date, room_name FROM rooms LIMIT 5;
+-----------+--------+-----------+---------------+
| id        | weight | room_date | room_name     |
+-----------+--------+-----------+---------------+
| 120120106 |      1 |  20120106 | Superior Room |
| 120120107 |      1 |  20120107 | Superior Room |
| 120120108 |      1 |  20120108 | Superior Room |
| 120120109 |      1 |  20120109 | Superior Room |
| 120120110 |      1 |  20120110 | Superior Room |
+-----------+--------+-----------+-------------------+
5 rows in set (0.01 sec)
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;So as you can see, I don’t need to query my tables anymore, basically sphinx search is doing the hard work by indexing ALL tables (schedule in background), and updates anything necessarily by using real-time indexing.&lt;/p&gt;
&lt;p&gt;Reading the manual, it says that searchd will cache all values in RAM. But I think that’s before 1.10-beta. I need your PoV on this. Is this plausible or is this consuming a lot of Sphinx Search resource?&lt;/p&gt;</description><link>http://adheaven.com/post/15403234082</link><guid>http://adheaven.com/post/15403234082</guid><pubDate>Sat, 07 Jan 2012 00:07:00 +0700</pubDate></item><item><title>Fighting Content Piracy</title><description>&lt;a href="http://www.thejakartaglobe.com/opinion/the-smart-way-to-fight-content-piracy/489458"&gt;Fighting Content Piracy&lt;/a&gt;: &lt;p&gt;&lt;a href="http://aulia-m.tumblr.com/post/15379674139/fighting-content-piracy" class="tumblr_blog"&gt;aulia-m&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;From Jakarta Globe:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Business models should be based on customer demand and an understanding of what is technically feasible - not a desire to maintain existing models or cash flows. In other words, you need to adapt the map to the terrain - you cannot change the terrain to suit the map.&lt;/p&gt;
&lt;/blockquote&gt;&lt;/blockquote&gt;</description><link>http://adheaven.com/post/15395610451</link><guid>http://adheaven.com/post/15395610451</guid><pubDate>Fri, 06 Jan 2012 19:13:09 +0700</pubDate></item><item><title>salsabeela:

My #StartupLokal office at Project Eden incubator
</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_lxcec1NZYP1qz7deoo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://salsabeela.tumblr.com/post/15357954907/my-startuplokal-office-at-project-eden-incubator"&gt;salsabeela&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;My #StartupLokal office at Project Eden incubator&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/15359555698</link><guid>http://adheaven.com/post/15359555698</guid><pubDate>Fri, 06 Jan 2012 04:04:18 +0700</pubDate></item><item><title>salsabeela:

Me &amp; Vica
</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lxcepfdGAW1qz7deoo1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a class="tumblr_blog" href="http://salsabeela.tumblr.com/post/15358336848/me-vica"&gt;salsabeela&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Me &amp; Vica&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/15359482135</link><guid>http://adheaven.com/post/15359482135</guid><pubDate>Fri, 06 Jan 2012 04:02:48 +0700</pubDate></item><item><title>Object runs faster than array!</title><description>&lt;p&gt;Amazing new finding again. Now take a look at this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;span&gt;foreach&lt;/span&gt; &lt;span&gt;(&lt;/span&gt;&lt;span&gt;$query&lt;/span&gt;&lt;span&gt;-&gt;&lt;/span&gt;&lt;span&gt;result_array&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;)&lt;/span&gt; &lt;span&gt;as&lt;/span&gt; &lt;span&gt;$page&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;
	&lt;span&gt;$links&lt;/span&gt; &lt;span&gt;.=&lt;/span&gt; &lt;span&gt;'&lt;a href="'&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;site_url&lt;span&gt;(&lt;/span&gt;&lt;span&gt;$page&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;'uri'&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;'"&gt;'&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;
	&lt;span&gt;$links&lt;/span&gt; &lt;span&gt;.=&lt;/span&gt; &lt;span&gt;ucwords&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;$page&lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;'title'&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;'&lt;/a&gt;&lt;br /&gt;'&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;
&lt;span&gt;endforeach&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;compared to this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;span&gt;foreach&lt;/span&gt; &lt;span&gt;(&lt;/span&gt;&lt;span&gt;$query&lt;/span&gt;&lt;span&gt;-&gt;&lt;/span&gt;&lt;span&gt;result&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;)&lt;/span&gt; &lt;span&gt;as&lt;/span&gt; &lt;span&gt;$page&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;
	&lt;span&gt;$links&lt;/span&gt; &lt;span&gt;.=&lt;/span&gt; &lt;span&gt;'&lt;a href="'&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;site_url&lt;span&gt;(&lt;/span&gt;&lt;span&gt;$page&lt;/span&gt;&lt;span&gt;-&gt;&lt;/span&gt;&lt;span&gt;uri&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;'"&gt;'&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;
	&lt;span&gt;$links&lt;/span&gt; &lt;span&gt;.=&lt;/span&gt; &lt;span&gt;ucwords&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;$page&lt;/span&gt;&lt;span&gt;-&gt;&lt;/span&gt;&lt;span&gt;title&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;'&lt;/a&gt;&lt;br /&gt;'&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;
&lt;span&gt;endforeach&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;The second one runs faster than the first one. Unbelievable. I think it has got to do with the array hashing. Talking about array hashtable, there’s this new DDoS attack method founded at the late 2011, by using a mere arrays. Here’s the link: &lt;a href="http://nikic.github.com/2011/12/28/Supercolliding-a-PHP-array.html"&gt;&lt;a href="http://nikic.github.com/2011/12/28/Supercolliding-a-PHP-array.html"&gt;http://nikic.github.com/2011/12/28/Supercolliding-a-PHP-array.html&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://adheaven.com/post/15284579927</link><guid>http://adheaven.com/post/15284579927</guid><pubDate>Wed, 04 Jan 2012 13:18:31 +0700</pubDate></item><item><title>Foreach Loop Optimization</title><description>&lt;p&gt;This is crazy! I’ve just found out that:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;$pages = $query-&gt;result_array();
foreach ($pages as $page): &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;is a lot faster than:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;foreach ($query-&gt;result_array() as $page):&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Crazy! It happens that $query-&gt;result_array() is called multiple times if you put it inside the foreach(). I need to learn more…&lt;/p&gt;</description><link>http://adheaven.com/post/15227677104</link><guid>http://adheaven.com/post/15227677104</guid><pubDate>Tue, 03 Jan 2012 12:33:07 +0700</pubDate></item><item><title>Find files that is larger than n KB in Linux</title><description>&lt;a href="http://snippets.dzone.com/posts/show/1491"&gt;Find files that is larger than n KB in Linux&lt;/a&gt;: &lt;blockquote&gt;
&lt;p&gt;find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/14554567954</link><guid>http://adheaven.com/post/14554567954</guid><pubDate>Wed, 21 Dec 2011 14:31:02 +0700</pubDate></item><item><title>Trouble in opening CSV formats on Microsoft Excel</title><description>&lt;p&gt;When you open a CSV file with Excel, they will check your regional settings, and sometimes depending on your regional setting, they will use comma or semicolon. To let Excel know that you only want one of those type of separators, you should generate your CSV like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sep=,&lt;br/&gt;“col1”,”col2”,”col3” &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;… or this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;sep=;&lt;br/&gt;“col1”;”col2”;”col3” &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Please take note that you must put this on the first line, and it will not be shown when you open this with Excel.&lt;/p&gt;</description><link>http://adheaven.com/post/14302834357</link><guid>http://adheaven.com/post/14302834357</guid><pubDate>Fri, 16 Dec 2011 15:44:09 +0700</pubDate></item><item><title>IMAP doesn't exist. PHP must be compiled with IMAP enabled.</title><description>&lt;p&gt;If you event get this message from OsTicket, all you have to do is:&lt;/p&gt;
&lt;p&gt;# yum install php-imap&lt;/p&gt;
&lt;p&gt;And voila! Problem solved.&lt;/p&gt;</description><link>http://adheaven.com/post/13910445175</link><guid>http://adheaven.com/post/13910445175</guid><pubDate>Thu, 08 Dec 2011 12:25:01 +0700</pubDate></item><item><title>550 Permission denied. Passive mode refused.</title><description>&lt;p&gt;If you found this message when you are accessing vsftpd ftp server, then you need to do this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt; [root@Production]/etc/vsftpd# ftp localhost&lt;br/&gt;Connected to localhost (127.0.0.1).&lt;br/&gt;220 (vsFTPd 2.2.2)&lt;br/&gt;Name (localhost:xxx): xxx&lt;br/&gt;331 Please specify the password.&lt;br/&gt;Password:&lt;br/&gt;230 Login successful.&lt;br/&gt;Remote system type is UNIX.&lt;br/&gt;Using binary mode to transfer files.&lt;br/&gt;ftp&gt; debug&lt;br/&gt;Debugging on (debug=1).&lt;br/&gt;ftp&gt; ls&lt;br/&gt;&lt;strong&gt;---&gt; PASV&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;550 Permission denied.&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;Passive mode refused.&lt;/strong&gt;&lt;br/&gt;ftp&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;So actually the cause of this is that PASV mode is turned off (which actually I turned it off purposely).&lt;/p&gt;</description><link>http://adheaven.com/post/13732955329</link><guid>http://adheaven.com/post/13732955329</guid><pubDate>Mon, 05 Dec 2011 00:08:00 +0700</pubDate></item><item><title>Swiftmailer bug simple fix</title><description>&lt;p&gt;There’s a major bug in Swiftmailer, where sometimes your email returns 0 bytes attachment, or broken html email, or broken plaintext email in Yahoo? Well the cause of this is that Swiftmailer wrongly sends header and body. They forgot to separate the two.&lt;/p&gt;
&lt;pre&gt;--_=_swift_v4_13225521024ed48b26208bf_=_
Content-Type: application/pdf; name=#101086-8144-487-MOVIE.pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=#101086-8144-487-MOVIE.pdf
JVBERi0xLjQKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL1Jlc291cmNlcyAy
IDAgUgovR3JvdXAgPDwvVHlwZSAvR3JvdXAgL1MgL1RyYW5zcGFyZW5jeSAvQ1MgL0RldmljZVJH&lt;/pre&gt;
&lt;p&gt;As you can see, between the header and the body sticks together. All you have to do:&lt;/p&gt;
&lt;p&gt;/classes/Swift/Mime/SimpleMimeEntity.php&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;      if ($this-&gt;_cache-&gt;hasKey($this-&gt;_cacheKey, ‘body’))&lt;br/&gt;      {&lt;br/&gt;        $body = &lt;strong&gt;“\r\n\r\n”&lt;/strong&gt; .$this-&gt;_cache-&gt;getString($this-&gt;_cacheKey, ‘body’);&lt;br/&gt;      }&lt;br/&gt;      else&lt;br/&gt;      {&lt;br/&gt;        $body = &lt;strong&gt;“\r\n\r\n”&lt;/strong&gt; . $this-&gt;_encoder-&gt;encodeString($this-&gt;getBody(), 0,&lt;br/&gt;          $this-&gt;getMaxLineLength()&lt;br/&gt;          );&lt;br/&gt;        $this-&gt;_cache-&gt;setString($this-&gt;_cacheKey, ‘body’, $body,&lt;br/&gt;          Swift_KeyCache::MODE_WRITE&lt;br/&gt;          );&lt;br/&gt;      }&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;At the cache, I added \r\n\r\n and at the else block, I added \r\n just to be safe. That’s all!&lt;/p&gt;</description><link>http://adheaven.com/post/13494845192</link><guid>http://adheaven.com/post/13494845192</guid><pubDate>Tue, 29 Nov 2011 16:10:13 +0700</pubDate></item><item><title>Manipulate Reported URL for Better Google Analytics Readings</title><description>&lt;p&gt;So this is the case. You have this uber cool website, with lots of different content types in the first directory segment. For example:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://www.domain.com/this-is-a-hotel-profile"&gt;http://www.domain.com/this-is-a-hotel-profile&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The problem is that you want to identify this as a hotel profile page, and wanted to be able to differentiate with other pages such as /myprofile or /this-is-a-user-profile on Google Analytics. The solution, is really plain ol’ simple.&lt;/p&gt;
&lt;p&gt;First, locate this keyword:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;_gaq.push([‘_trackPageview’]);&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Or usually in a standard Google Analytics template&lt;/p&gt;
&lt;blockquote&gt;_gaq.push([‘_setAccount’,’UA-XXX-1’],[‘_trackPageview’]);&lt;/blockquote&gt;
&lt;p&gt;All you have to do is manipulate the _trackPageview into these:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;_gaq.push([‘_trackPageview’, ‘/hotel/this-is-a-hotel-profile’]);&lt;/p&gt;
&lt;p&gt;&lt;em&gt;or&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;_gaq.push([‘_trackPageview’, ‘/user/this-is-a-user-profile’]);&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And voila! Your Google Analytics report will show /hotel/ and /user/, and you can do anything with it, such as creating custom segments.&lt;/p&gt;
&lt;p&gt;The question is, why bother renaming the analytics rather than renaming the website’s URL? You should read this: &lt;a href="http://searchengineland.com/supercharge-your-urls-for-maximum-seo-impact-14006"&gt;&lt;a href="http://searchengineland.com/supercharge-your-urls-for-maximum-seo-impact-14006"&gt;http://searchengineland.com/supercharge-your-urls-for-maximum-seo-impact-14006&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;The fewer the parameters in your dynamic URL, the better. One or two parameters is much better than seven or eight. Avoid superfluous/nonessential parameters like tracking codes. &lt;em&gt;(ed: parameters is the thing after ?, such as ?var1=val1&amp;var2=val2)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;A static looking URL (containing no ampersands, equals signs, or question marks) is more search optimal than a dynamic one.&lt;/li&gt;
&lt;li&gt;Having keywords in the URL is more optimal than no keywords. &lt;em&gt;(ed: always have keywords in the URL)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A keyword in the filename portion of the URL is more beneficial than in a directory/subdirectory name.&lt;/strong&gt; &lt;em&gt;(ed: filename portion is domain.com/this-is-a-hotel-profile rather than domain.com/hotel/this-is-a-hotel-profile)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Hyphens are the preferred word separator, although underscores are &lt;a href="http://www.news.com/8301-10784_3-9748779-7.html"&gt;gaining acceptance&lt;/a&gt; over &lt;a href="http://www.mattcutts.com/blog/dashes-vs-underscores/"&gt;times past &lt;/a&gt; . So if you have multiple-word keyword phrases in your URLs, I’d recommend using dashes to separate them. &lt;em&gt;(ed: Always use DASH, not underscore)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Stuffing too many keywords in the URL looks spammy. Three, four, or five words in a URL looks perfectly normal. A little longer and it starts to look worse to Google, &lt;a href="http://www.businessblogconsulting.com/2008/01/shorten-your-urls-for-google"&gt;according to Matt Cutts&lt;/a&gt; . &lt;em&gt;(ed: Maximum 5 keywords in the url. Limit it with word limiter function)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;The domain name is not a good place for multiple hyphens, as it can make your URL look spammy. Although that said, sometimes a domain name should have a hyphen, as the&lt;a href="http://www.stephanspencer.com/branding/company-names-dont-always-translate"&gt;domain faux pas ‘arsecommerce.com’&lt;/a&gt;  demonstrates (you may not get this joke if you don’t recognize Queen’s English!).&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;So, don’t believe anyone who claims to be an SEO expert, if they didn’t know about this technique. Consult with someone reliable. *PointingAtMyself*&lt;/p&gt;
&lt;ul&gt;&lt;/ul&gt;</description><link>http://adheaven.com/post/12888006641</link><guid>http://adheaven.com/post/12888006641</guid><pubDate>Thu, 17 Nov 2011 01:47:44 +0700</pubDate></item><item><title>This is what startups is all about</title><description>&lt;p&gt;Tiket.com akan launching dalam waktu 11 hari. Kalau melihat ke belakang, kita mengembangkan tiket.com ini dalam waktu kurang dari 3 bulan lho! Saya ingat team baru mulai benar-benar di-assemble setelah 17 Agustus 2011. Yang tadinya berdua saja coding dengan Ivan, sekarang team dev sudah berenam. Dan dalam waktu 3 bulan itu kita sudah membuat:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;front-end browser interface&lt;/li&gt;
&lt;li&gt;front-end mobile interface&lt;/li&gt;
&lt;li&gt;admin interface&lt;/li&gt;
&lt;li&gt;hotel management interface (called Connect, took ages to build this)&lt;/li&gt;
&lt;li&gt;customer services interface&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Kalau membandingkan startup yang satu ini dengan startup-startup saya sebelumnya, ada beberapa hal positif yang bisa saya sarikan dari startup ini:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Setiap team, baik dev, designer, marketing, management saling mempercayai kompetensi masing-masing. What they think it’s good for us, kita terima and we suck it up! Saya ingat startups saya sebelumnya, desainer harus ganti interface 3 kali, setelah webnya selesai! Yang tadinya selesai dalam 3 bulan, jadi molor 8 bulan.&lt;/li&gt;
&lt;li&gt;There are a lot of good programmers out there, dan ternyata banyakan dari Binus. That’s a fact!&lt;/li&gt;
&lt;li&gt;Technology is nothing without sales team. Tim sales kita diambil dari orang-orang terhebat di industri. And they are not cheap. Recruiting a great person costs money!&lt;/li&gt;
&lt;li&gt;Decision should be fast! No wishy woshy, and don’t worry about the future! If you haven’t launch, your future haven’t started yet.&lt;/li&gt;
&lt;li&gt;Set a fixed deadline. Satu tanggal keramat itu. Entah mengapa semua timeline akan mengikuti dengan sendirinya.&lt;/li&gt;
&lt;li&gt;Daily Scrum meeting, I think it’s effective. Membuat orang takut merasa ngga berguna.&lt;/li&gt;
&lt;li&gt;If it’s time to launch, it’s time to launch. Dalam web tidak ada yang namanya ‘sempurna’. Not working on Internet Explorer 6? The hell with it. IE6 users can wait.&lt;/li&gt;
&lt;li&gt;Work with people that know the web industry, and how web development work. Saya ingat dulu pernah seorang creative director (non-web) bertanya, nanti launching webnya selesai berapa persen? I said 99% and she freaked out. I spared 1% for bugs, and she can’t accept it.&lt;/li&gt;
&lt;li&gt;Melihat kembali ke poin nomer 1. TRUST your team. If you don’t know a bit about what your other division do, don’t try to mess around and pretend you know everything. Kalau mereka ngga kompeten, why did you hire them in the first place?&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;Semoga ketika launch nanti, ngga terlalu banyak bug :D Pssst.. tanggal 11-11-11 11:11:11 situs tiket.com ada kontes lho, berhadiah trip Bali. Pokoknya gila banget hadiahnya. Set schedule ya!&lt;/p&gt;</description><link>http://adheaven.com/post/12437657620</link><guid>http://adheaven.com/post/12437657620</guid><pubDate>Mon, 07 Nov 2011 04:55:29 +0700</pubDate></item><item><title>thedailywhat:

Day Of Infamy of the Day: Speaking of which, have...</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_lu3swsVMyl1qzpwi0o1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://tumblr.thedailywh.at/post/12296979090/day-of-infamy-of-the-day-speaking-of-which-have"&gt;thedailywhat&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Day Of Infamy of the Day:&lt;/strong&gt; Speaking of which, have you seen what happens when you run search for “&lt;a href="https://www.google.com/#hl=en&amp;sugexp=kjrmc&amp;cp=5&amp;gs_id=j&amp;xhr=t&amp;q=do+a+barrel+roll&amp;tok=8M5FCc8WZ22j4CZphDU9SQ&amp;pf=p&amp;sclient=psy-ab&amp;safe=active&amp;site=&amp;source=hp&amp;pbx=1&amp;oq=do+a+&amp;aq=0&amp;aqi=g4&amp;aql=f&amp;gs_sm=&amp;gs_upl=&amp;fp=1&amp;biw=1366&amp;bih=643&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;cad=b"&gt;do a barrel roll&lt;/a&gt;” in Google? &lt;a href="http://news.cnet.com/8301-17852_3-57317947-71/googles-do-a-barrel-roll-captivates-humanity/"&gt;It’s wild&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are a few other cool Google Easter Eggs to check out: &lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.google.co.nz/search?source=ig&amp;hl=en&amp;rlz=&amp;q=tilt&amp;oq=tilt&amp;aq=f&amp;aqi=&amp;aql=&amp;gs_sm=e&amp;gs_upl=169l578l0l627l4l3l0l0l0l0l0l0ll0l0"&gt;tilt&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.google.co.nz/search?source=ig&amp;hl=en&amp;rlz=&amp;q=tilt&amp;oq=tilt&amp;aq=f&amp;aqi=&amp;aql=&amp;gs_sm=e&amp;gs_upl=169l578l0l627l4l3l0l0l0l0l0l0ll0l0#sclient=psy-ab&amp;hl=en&amp;source=hp&amp;q=the+lonliest+number&amp;pbx=1&amp;oq=the+lonliest+number&amp;aq=f&amp;aqi=g-s4&amp;aql=1&amp;gs_sm=e&amp;gs_upl=32106l35828l0l36090l19l14l0l0l0l0l296l3172l2-13l13l0&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;fp=b47f68eca295378b&amp;biw=1355&amp;bih=728"&gt;the lonliest number&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.google.co.nz/search?source=ig&amp;hl=en&amp;rlz=&amp;q=tilt&amp;oq=tilt&amp;aq=f&amp;aqi=&amp;aql=&amp;gs_sm=e&amp;gs_upl=169l578l0l627l4l3l0l0l0l0l0l0ll0l0#pq=the+lonliest+number&amp;hl=en&amp;sugexp=kjrmc&amp;cp=4&amp;gs_id=2h&amp;xhr=t&amp;q=recursion&amp;pf=p&amp;sclient=psy-ab&amp;source=hp&amp;pbx=1&amp;oq=recu&amp;aq=0&amp;aqi=g4&amp;aql=f&amp;gs_sm=&amp;gs_upl=&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;fp=b47f68eca295378b&amp;biw=1355&amp;bih=728"&gt;recursion&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.google.com/#hl=en&amp;sugexp=kjrmc&amp;cp=14&amp;gs_id=19&amp;xhr=t&amp;q=once+in+a+blue+moon&amp;tok=mmNWMbyl-H57vjwpBrhV0A&amp;pf=p&amp;sclient=psy-ab&amp;safe=active&amp;source=hp&amp;pbx=1&amp;oq=once+in+a+blue&amp;aq=0&amp;aqi=g4&amp;aql=f&amp;gs_sm=&amp;gs_upl=&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;fp=a33b2cd21fb68a5f&amp;biw=1366&amp;bih=643"&gt;once in a blue moon&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.google.co.nz/search?source=ig&amp;hl=en&amp;rlz=&amp;q=tilt&amp;oq=tilt&amp;aq=f&amp;aqi=&amp;aql=&amp;gs_sm=e&amp;gs_upl=169l578l0l627l4l3l0l0l0l0l0l0ll0l0#sclient=psy-ab&amp;hl=en&amp;source=hp&amp;q=anagram&amp;pbx=1&amp;oq=anagram&amp;aq=f&amp;aqi=g4&amp;aql=1&amp;gs_sm=e&amp;gs_upl=18733l21918l3l22070l14l8l3l1l1l2l321l2201l0.1.3.4l11l0&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;fp=b47f68eca295378b&amp;biw=1355&amp;bih=728"&gt;anagram&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="http://www.google.com/search?hl=en&amp;source=hp&amp;biw=1920&amp;bih=866&amp;q=ascii%20art&amp;aq=f&amp;aqi=&amp;aql=&amp;oq="&gt;ascii art&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://www.google.com/search?gcx=c&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=180+degrees#sclient=psy-ab&amp;hl=en&amp;source=hp&amp;q=askew&amp;pbx=1&amp;oq=askew&amp;aq=f&amp;aqi=&amp;aql=1&amp;gs_sm=s&amp;gs_upl=0l0l4l13049l0l1l0l0l0l0l0l0ll1l0&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;fp=aee690d59afda60d&amp;biw=1236&amp;bih=775"&gt;askew&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;a href="https://www.google.com/search?gcx=c&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=180+degrees#pq=answer+to+life&amp;hl=en&amp;sugexp=kjrmc&amp;cp=14&amp;gs_id=7b&amp;xhr=t&amp;q=answer+to+life+the+universe+and+everything&amp;tok=i_9JSBaiiD_qCJ9ms2OPhQ&amp;pf=p&amp;sclient=psy-ab&amp;source=hp&amp;pbx=1&amp;oq=answer+to+life&amp;aq=0&amp;aqi=g4&amp;aql=f&amp;gs_sm=&amp;gs_upl=&amp;bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&amp;fp=6acea173434976c6&amp;biw=1236&amp;bih=775"&gt;answer to life, the universe, and everything&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;[&lt;a href="http://www.reddit.com/r/funny/comments/lzag5/11311_never_forget/"&gt;reddit&lt;/a&gt; / &lt;a href="http://news.cnet.com/8301-17852_3-57317947-71/googles-do-a-barrel-roll-captivates-humanity/"&gt;cnet&lt;/a&gt; / &lt;a href="http://www.theatlanticwire.com/technology/2011/11/googles-finest-easter-eggs/44522/"&gt;atlantic&lt;/a&gt;.]&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://adheaven.com/post/12334602606</link><guid>http://adheaven.com/post/12334602606</guid><pubDate>Sat, 05 Nov 2011 02:34:57 +0700</pubDate></item><item><title>GIT 101: Git Stash</title><description>&lt;p&gt;Sedang di tengah-tengah coding, tiba-tiba klien bilang kalau dia nemu bug di situs. Apa yang akan kamu lakukan? Git commit? Tapi codingannya belum selesai, dan malah akan membuat situsnya tambah kacau. Solusinya?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;git stash&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Itu saja! Setelah git stash, maka kamu bisa mulai membenarkan bug (yang ada di branch yang sama) atau lompat ke branch yang lainnya (misal branch devel ke branch production/master). Setelah kamu git commit dan git push, balik ke branch yang sedang kamu kerjakan, lalu:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;git stash apply&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;perintah ini akan mengembalikan kerjaan yang kamu tinggal tadi!&lt;/p&gt;
&lt;p&gt;Masih banyak perintah-perintah lainnya. Misal:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;git stash save “lagi mengerjakan abc, tapi benerin bug xyz dulu”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ini sama dengan git stash biasa, tapi kita bisa ‘titip pesan’ ke diri kita sendiri. Buat apa?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;git stash list&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Disini kamu bisa lihat list dari stash yang ada di git. Kamu bisa stash sebanyak mungkin. Jadi misal lagi ngerjain A, tapi trus decide ngerjain B, maka A di stash. Lalu mau ngerjain C, maka B di stash. Dengan git stash kita bisa lihat daftar stash yang kita buat. Cara manggil baliknya:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;git stash apply stash@{0}&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Jadi waktu pakai perintah git stash list, kamu akan melihat baris semisal “stash@{0}: WIP on master: 4defab5…” nah tanda stash@{0} adalah nama stashnya.&lt;/p&gt;</description><link>http://adheaven.com/post/11323357208</link><guid>http://adheaven.com/post/11323357208</guid><pubDate>Wed, 12 Oct 2011 01:46:21 +0700</pubDate></item></channel></rss>

