<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SODEVE &#187; Internet</title>
	<atom:link href="http://sodeve.net/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://sodeve.net</link>
	<description>is a software developer&#60;br&#62;in a pursuit of happyness</description>
	<lastBuildDate>Thu, 10 Jun 2010 19:06:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LinkedIn should have a better String-truncating Algorithm</title>
		<link>http://sodeve.net/linkedin-should-have-a-better-string-truncating-algorithm/</link>
		<comments>http://sodeve.net/linkedin-should-have-a-better-string-truncating-algorithm/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:18:08 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Laughs]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=902</guid>
		<description><![CDATA[I saw this on my LinkedIn page:

A simple check to the truncated string, whether it ends with a face-blushing word or not, should be sufficient. 
]]></description>
			<content:encoded><![CDATA[<p>I saw this on my <a href="http://sg.linkedin.com/in/hardono">LinkedIn</a> page:<br />
<a href="http://sodeve.net/linkedin-should-have-a-better-string-truncating-algorithm/linkedin-string-failed/" rel="attachment wp-att-903"><img src="http://sodeve.net/wp-content/uploads/2010/04/linkedin-string-failed.png" alt="linkedin-string-failed" title="linkedin-string-failed" width="576" height="106" /></a></p>
<p>A simple check to the truncated string, whether it ends with a face-blushing word or not, should be sufficient. </p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/linkedin-should-have-a-better-string-truncating-algorithm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GMail&#8217;s April&#8217;s Fools</title>
		<link>http://sodeve.net/gmails-aprils-fools/</link>
		<comments>http://sodeve.net/gmails-aprils-fools/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 18:14:09 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Laughs]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=900</guid>
		<description><![CDATA[Oh no&#8230;. the vowels are missing from Gmail&#8217;s login page!!!!

]]></description>
			<content:encoded><![CDATA[<p>Oh no&#8230;. the vowels are <a href="http://gmailblog.blogspot.com/2010/04/todays-vowel-outage.html">missing</a> from Gmail&#8217;s login page!!!!<br />
<a href="http://sodeve.net/gmails-aprils-fools/gmail-vowel-fail/" rel="attachment wp-att-901"><img src="http://sodeve.net/wp-content/uploads/2010/04/gmail.vowel_.fail_.png" alt="gmail.vowel.fail" title="gmail.vowel.fail" width="574" height="302" class="alignleft size-full wp-image-901" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/gmails-aprils-fools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is Kelli Garner spamming or was it someone else?</title>
		<link>http://sodeve.net/is-kelli-garner-spamming-or-was-it-someone-else/</link>
		<comments>http://sodeve.net/is-kelli-garner-spamming-or-was-it-someone-else/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 16:30:07 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=881</guid>
		<description><![CDATA[An interesting entry show up in Akismet&#8217;s spam list:

It is interesting that it end-up blocked by Akismet, even though it doesn&#8217;t mention any product, or linking to a questionable website, it simply links to Kelli&#8217;s Wikipedia page. Earlier discussion mentioned that it was the email address that causing the block.
Who will benefit from such action? [...]]]></description>
			<content:encoded><![CDATA[<p>An interesting entry show up in Akismet&#8217;s spam list:</p>
<p><img src="http://sodeve.net/wp-content/uploads/2009/10/kelly.png" alt="kelly" title="kelly" width="547" height="106" class="aligncenter size-full wp-image-882" /></p>
<p>It is interesting that it end-up blocked by Akismet, even though it doesn&#8217;t mention any product, or linking to a questionable website, it simply links to Kelli&#8217;s Wikipedia page. <a href="http://morsdei.wordpress.com/2009/09/30/puzzling-spam/">Earlier discussion</a> mentioned that it was the email address that causing the block.</p>
<p>Who will benefit from such action? Will Kelli Garner became more famous by gaining notoriety as a spammer? One could not forget how Paris Hilton become everyday conversations because of her sex tape leaked. So yeah, you can become famous by gaining notoriety. The more notorious you are, the more publicity you&#8217;ll get. Bad publicity, good publicity, all kinds of publicity, <a href="http://www.lazyowner.com/there-is-no-such-thing-as-bad-publicity/">there is no such thing as bad publicity</a>.</p>
<p>Or could it be someone else profited? If yes, in what way? Or is it just someone who is trying to be her biggest fan by dedicating her/his life promoting Kelli?</p>
<p>Another possible explanation is someone actually have planted something malicious at her Wiki page, which will be triggered whenever a person visit that page? Which is to me, a very likely explanation. Is this a <a href="http://en.wikipedia.org/wiki/Zero_day_attack">Zero Day attack</a>?</p>
<p>Anyway, the spam origin was from server which is apparently located at Prague, Czech Republic.</p>
<p><a href="http://whois.domaintools.com/217.31.51.77"><img src="http://sodeve.net/wp-content/uploads/2009/10/217.31.51.77.png" alt="217.31.51.77" title="217.31.51.77" width="419" height="451" class="aligncenter size-full wp-image-883" /></a></p>
<p>PS: This post is now <del>officially</del> unintentionally became part of the publicity machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/is-kelli-garner-spamming-or-was-it-someone-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Prevent Wordpress Loads jQuery Twice</title>
		<link>http://sodeve.net/how-to-prevent-wordpress-loads-jquery-twice/</link>
		<comments>http://sodeve.net/how-to-prevent-wordpress-loads-jquery-twice/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 15:53:28 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=864</guid>
		<description><![CDATA[When I was working on recent posts, I noticed that jQuery script was loaded twice. I investigated and found out that my current theme is also load jQuery. 
My current theme is Pyrmont V2. I look at the header.php, I found out this:


&#60;script src=&#34;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script src=&#34;&#60;?php bloginfo('stylesheet_directory'); ?&#62;/scripts/basic.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;


So this is the reason why I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://sodeve.net/wp-content/uploads/2009/09/jquery3.png" alt="jquery" title="jquery" width="255" height="93" class="alignleft size-full wp-image-870" />When I was working on recent posts, I noticed that jQuery script was loaded twice. I investigated and found out that my current theme is also load jQuery. </p>
<p>My current theme is <a target ="_blank" href="http://imotta.cn/">Pyrmont V2</a>. I look at the <strong>header.php</strong>, I found out this:</p>
<pre name="code" class="html">
<!-- .....  -->
&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;&lt;?php bloginfo('stylesheet_directory'); ?&gt;/scripts/basic.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
<!-- .....  -->
</pre>
<p>So this is the reason why I found two jQuery source code being loaded (shown below).</p>
<p>
<div class="ngg-galleryoverview" id="ngg-gallery-8-864">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-129" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://sodeve.net/wp-content/gallery/jquery/jquery.png" title=" " class="shutterset_set_8" >
								<img title="jquery" alt="jquery" src="http://sodeve.net/wp-content/gallery/jquery/thumbs/thumbs_jquery.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

</p>
<p>But what about Wordpress? In which file does the jQuery listed to be automatically loaded? After asked Windows to scour Wordpress&#8217;<strong>wp-includes</strong> folder, I found the answer:<br />
<strong>script-loader.php</strong></p>
<pre name="code" class="php">
   //...
   $scripts->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118');
   $scripts->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.3.2');
   $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.7.1' );
   //...
</pre>
<p>I found it interesting that Wordpress is loading jQuery from localhost (sodeve.net), but Pyrmont is loading it from Google. There must be a reason for this. <a target ="_blank" href="http://encosia.com/2008/12/10/3-reasons-why-you-should-let-google-host-jquery-for-you/">Dave Ward at Encosia</a> teaches us that the reasons are:</p>
<ol>
<li><strong>Decreased Latency</strong>. Because Google is using Content Delivery Network (CDN). Therefore, it is much faster than your server</li>
<li><strong>Increased Parallelism</strong>. Because it reduces the number of connections made to a single server. Browser usually has limit on the number of connection to a single server</li>
<li><strong>Better Caching</strong>. Since the script is obtained from Google, it is very likely the script is already cached when visited any Google&#8217;s website that uses jQuery</li>
</ol>
<p>Anyway, I&#8217;m sold to Dave&#8217;s idea. I replaced the line in <strong>script-loader.php</strong>, using <strong>http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js</strong> instead of <strong>/wp-includes/js/jquery/jquery.js</strong>. Then I observed the performance using Firebug.</p>
<p><img src="http://sodeve.net/wp-content/uploads/2009/09/firebug-net-js.png" alt="Before disabling Wordpress load script with ver parameter" title="Before disabling Wordpress load script with ver parameter" width="494" height="56" class="alignnone size-full wp-image-872" /></p>
<p>Hmm.. Wordpress added the &#8220;ver&#8221; parameter in the script request. This invalidated Dave&#8217;s point no. 3. What can we do to make Wordpress not to add &#8220;ver&#8221; parameter in the script request?</p>
<h3>How to Make Wordpress Load Script without Ver Parameter</h3>
<p>Open <strong>class.wp-script.php</strong> inside folder wp-includes of Wordpress</p>
<pre name="code" class="php">
//.....

$src = add_query_arg('ver', $ver, $src);

//.....
</pre>
<p>Comment the line shown above (line 117).</p>
<p>I believe things load faster now <img src='http://sodeve.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  (At least for Google, sodeve.net server is a shared hosting, so its performance is difficult to expect <img src='http://sodeve.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )<br />
<img src="http://sodeve.net/wp-content/uploads/2009/09/firebug-net-js-after.png" alt="After disabling Wordpress load script with ver parameter" title="After disabling Wordpress load script with ver parameter" width="510" height="87" class="alignnone size-full wp-image-873" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/how-to-prevent-wordpress-loads-jquery-twice/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using jQuery to Enhance Google Syntax Highligher Wordpress Plugin</title>
		<link>http://sodeve.net/using-jquery-to-enhance-google-syntax-highligher-wordpress-plugin/</link>
		<comments>http://sodeve.net/using-jquery-to-enhance-google-syntax-highligher-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 16:24:22 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=867</guid>
		<description><![CDATA[Are you using Google Syntax Highlighter plugin for Wordpress?
If you do, you might want to use my enhancement. First let&#8217;s display the original:

&#60;?php
/*
Plugin Name: Google Syntax Highlighter for WordPress
Plugin URI: http://wordpress.org/extend/plugins/google-syntax-highlighter
Description: 100% JavaScript syntax highlighter This plugin makes using the &#60;a href=&#34;http://code.google.com/p/syntaxhighlighter&#34;&#62;Google Syntax highlighter&#60;/a&#62; to highlight code snippets within WordPress simple. Supports C++, C#, CSS, [...]]]></description>
			<content:encoded><![CDATA[<p>Are you using <a target ="_blank" href="http://wordpress.org/extend/plugins/google-syntax-highlighter/">Google Syntax Highlighter</a> plugin for Wordpress?</p>
<p>If you do, you might want to use my enhancement. First let&#8217;s display the original:</p>
<pre name="code" class="php">
&lt;?php
/*
Plugin Name: Google Syntax Highlighter for WordPress
Plugin URI: http://wordpress.org/extend/plugins/google-syntax-highlighter
Description: 100% JavaScript syntax highlighter This plugin makes using the &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter&quot;&gt;Google Syntax highlighter&lt;/a&gt; to highlight code snippets within WordPress simple. Supports C++, C#, CSS, Delphi, Java, JavaScript, PHP, Python, Ruby, SQL, VB, XML, and HTML. Read  &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/wiki/Usage&quot;&gt;usage directions.&lt;/a&gt;
Version: 1.5.1
Author: Peter Ryan
Author URI: http://www.peterryan.net
*/

function insert_header() {
	$current_path = get_option('siteurl') .'/wp-content/plugins/' . basename(dirname(__FILE__)) .'/';
	?&gt;
	&lt;link href=&quot;&lt;?php echo $current_path; ?&gt;Styles/SyntaxHighlighter.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
	&lt;?php
}

function insert_footer(){
$current_path = get_option('siteurl') .'/wp-content/plugins/' . basename(dirname(__FILE__)) .'/';
	?&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shCore.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shLegacy.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushCSharp.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushPhp.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushJScript.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushJava.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushVb.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushSql.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushXml.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushDelphi.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushPython.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushRuby.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushCss.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shBrushCpp.js&quot;&gt;&lt;/script&gt;
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $current_path; ?&gt;Styles/shCore.css&quot;/&gt;
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $current_path; ?&gt;Styles/shThemeDefault.css&quot;/&gt;
&lt;script class=&quot;javascript&quot;&gt;
SyntaxHighlighter.defaults['wrap-lines'] = false;
dp.SyntaxHighlighter.ClipboardSwf = '&lt;?php echo $current_path; ?&gt;Scripts/clipboard.swf';
SyntaxHighlighter.all();
dp.SyntaxHighlighter.HighlightAll('code');
&lt;/script&gt;
&lt;?php
}
add_action('wp_head','insert_header');
add_action('wp_footer','insert_footer');
?&gt;
</pre>
<p>And now the enhanced version:<br />
<strong>ENHANCED</strong></p>
<pre name="code" class="php">
&lt;?php
/*
Plugin Name: Google Syntax Highlighter for WordPress
Plugin URI: http://wordpress.org/extend/plugins/google-syntax-highlighter
Description: 100% JavaScript syntax highlighter This plugin makes using the &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter&quot;&gt;Google Syntax highlighter&lt;/a&gt; to highlight code snippets within WordPress simple. Supports C++, C#, CSS, Delphi, Java, JavaScript, PHP, Python, Ruby, SQL, VB, XML, and HTML. Read  &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/wiki/Usage&quot;&gt;usage directions.&lt;/a&gt;
Version: 1.5.1
Author: Peter Ryan
Author URI: http://www.peterryan.net
*/
function insert_header() {
	$current_path = get_option('siteurl') .'/wp-content/plugins/' . basename(dirname(__FILE__)) .'/';
	?&gt;
	&lt;link href=&quot;&lt;?php echo $current_path; ?&gt;Styles/SyntaxHighlighter.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
	&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $current_path; ?&gt;Styles/shCore.css&quot;/&gt;
	&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $current_path; ?&gt;Styles/shThemeDefault.css&quot;/&gt;
	&lt;?php
}
function insert_footer(){
$current_path = get_option('siteurl') .'/wp-content/plugins/' . basename(dirname(__FILE__)) .'/';
	?&gt;

&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shCore.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot; src=&quot;&lt;?php echo $current_path; ?&gt;Scripts/shLegacy.js&quot;&gt;&lt;/script&gt;
&lt;script class=&quot;javascript&quot;&gt;
var arLanguages = new Array();
var arLangCounts = 0;
var arAliases = [
	{key:'shBrushCSharp.js', val:['c#','c-sharp','csharp']}
	,{key:'shBrushCpp.js', val:['cpp','c']}
	,{key:'shBrushBash.js', val:['bash','shell']}
	,{key:'shBrushAS3.js', val:['actionscript3','as3']}
	,{key:'shBrushXml.js', val:['xml','xhtml','html','xslt']}
	,{key:'shBrushVb.js', val:['vb','vbnet']}
	,{key:'shBrushSql.js', val:['sql']}
	,{key:'shBrushScala.js', val:['scala']}
	,{key:'shBrushRuby.js', val:['ruby','rails','ror']}
	,{key:'shBrushPython.js', val:['py','python']}
	,{key:'shBrushPowerShell.js', val:['powershell','ps']}
	,{key:'shBrushPlain.js', val:['text','plain']}
	,{key:'shBrushPhp.js', val:['php']}
	,{key:'shBrushJScript.js', val:['js','jscript','javascript']}
	,{key:'shBrushJavaFX.js', val:['jfx','javafx']}
	,{key:'shBrushJava.js', val:['java']}
	,{key:'shBrushGroovy.js', val:['groovy']}
	,{key:'shBrushDiff.js', val:['diff','patch']}
	,{key:'shBrushDelphi.js', val:['delphi','pascal']}
	,{key:'shBrushCss.js', val:['css']}
	,{key:'shBrushPerl.js', val:['pl','perl','Perl']}
				];
function getScriptName(alias){
	var i = 0;
	for (i=0; i &lt; arAliases.length; i++)
	{
		if (arLanguages.indexOf(arAliases[i].key)&lt;0)
		{
			if (arAliases[i].val.indexOf(alias)&gt;=0)
				arLanguages.push(arAliases[i].key);
		}
	}
}
if (jQuery)
{
	$sdv = jQuery.noConflict();
	$sdv(document).ready(function(){
		$sdv(&quot;pre&quot;).each(function(i){
			getScriptName(this.className);
		});
		$sdv.each(arLanguages, function(){
			var scrName = '&lt;?php echo $current_path; ?&gt;Scripts/' + this;
			$sdv.ajax({
			  type: 'GET',
			  url: scrName,
			  cache: true,
			  success: function(){
					++arLangCounts;
					if (arLangCounts == arLanguages.length)
					{
						SyntaxHighlighter.defaults['wrap-lines'] = false;
						dp.SyntaxHighlighter.ClipboardSwf = '&lt;?php echo $current_path; ?&gt;Scripts/clipboard.swf';
						SyntaxHighlighter.all();
						dp.SyntaxHighlighter.HighlightAll('code');
					}
				},
			  dataType: 'script',
			  data: null
			});
		});
	});
}
&lt;/script&gt;
&lt;?php
}
add_action('wp_head','insert_header');
add_action('wp_footer','insert_footer');
?&gt;
</pre>
<p>So instead of loading all the brushes, we will dynamically load it using jQuery. I hope it&#8217;s useful for you <img src='http://sodeve.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/using-jquery-to-enhance-google-syntax-highligher-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Developing NHibernate may introduce you moderate to severe pain &#8230;.</title>
		<link>http://sodeve.net/developing-nhibernate-may-introduce-you-moderate-to-severe-pain/</link>
		<comments>http://sodeve.net/developing-nhibernate-may-introduce-you-moderate-to-severe-pain/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 10:03:25 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Laughs]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=798</guid>
		<description><![CDATA[&#8230;. which requires you to get those analgesic medicine to alleviate the pain. This judgment is based on recent activity in NHibernate community website.

A person/machine, which by the way call him/her/itself as &#8217;support center&#8217; open our eyes to website in which we can purchase Tramadol with a very competitive price.
It appears to me, that &#8217;support [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;. which requires you to get those analgesic medicine to alleviate the pain. This judgment is based on recent activity in NHibernate community website.</p>
<p><img src="http://sodeve.net/wp-content/uploads/2009/09/nhibernate-spam.png" alt="nhibernate-spam" title="nhibernate-spam" width="484" height="498" class="alignnone size-full wp-image-799" /></p>
<p>A person/machine, which by the way call him/her/itself as &#8217;support center&#8217; open our eyes to website in which we can purchase <a href="http://en.wikipedia.org/wiki/Tramadol" target = "_blank">Tramadol</a> with a very competitive price.</p>
<p>It appears to me, that &#8217;support center&#8217; somehow knows that developing NHibernate might requires you to consume analgesic medicine to help you to alleviate the pain. And being a good Samaritan, he/she/it shows us where to purchase it with the cheapest price.</p>
<p>This could also be simply viewed as a <a target = "_blank" href="http://en.wikipedia.org/wiki/Spam_(Monty_Python)">spam</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/developing-nhibernate-may-introduce-you-moderate-to-severe-pain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Should I Do When Microsoft&#8217;s Bing is blocked by IWSS?</title>
		<link>http://sodeve.net/what-should-i-do-when-microsofts-bing-is-blocked-by-iwss/</link>
		<comments>http://sodeve.net/what-should-i-do-when-microsofts-bing-is-blocked-by-iwss/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 10:09:32 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=617</guid>
		<description><![CDATA[
Short answer? Call your network administrator and report the incident. He did not pick up the phone? Send him email, cc his manager if you deem necessary .. Haha, I&#8217;m kidding.  
If you had the same problem as I did, you could advise your Network Administrator, or whoever maintaining the InterScan Web Security Suite [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left; margin-right: 15px; margin-bottom: 15px;"><center><a href="http://sodeve.net/what-to-do-when-bing-blocked-by-iwss"><img src="http://sodeve.net/wp-content/uploads/2009/06/bing.png" alt="Microsoft Bing"/></a></center></div>
<p>Short answer? Call your network administrator and report the incident. He did not pick up the phone? Send him email, cc his manager if you deem necessary .. Haha, I&#8217;m kidding. <img src='http://sodeve.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>If you had <a href="http://sodeve.net/microsofts-bing-is-bonked-by-iwss/">the same problem as I did</a>, you could advise your Network Administrator, or whoever maintaining the InterScan Web Security Suite (IWSS) to make small changes to IWSS configuration. You could advise them to follow either of the following steps, depending on your circumstances:</p>
<ol>
<li>
<p><strong>Problem:</strong>You have set the action for the corrupted_zip parameter to &#8220;pass&#8221; in the [Scan-configuration] section in the intscan.ini file. However, IWSS continues to log the corrupted_zip_file events in the log file and send them to Control Manager (TMCM).</p>
<p><strong>Solution:</strong><br />
To resolve this issue, please do the following:</p>
<ul>
<li>Look for and open the intscan.ini file using a text editor.</li>
<li>Look for the &#8220;[http]&#8221; section and add the following parameter under it: &#8220;skipSpecificVirus=Corrupted_Zip_file&#8221;</li>
<li>Restart the IWSS daemon.</li>
</ul>
</li>
<li>
<p><strong>Problem:</strong> When IWSS is used as the HTTP proxy, access to websites is blocked and the Corrupted_Zip_File error appears even if compressed files are not being downloaded.</p>
<p><strong>Solution:</strong> Some Web-servers compress the requested content (HTML, images, etc) using the GZIP-algorithm to decrease the amount of traffic. If such content is sent in multiple chunks, and VSAPI only has one chunk, it will exit with an error indicating that the archive is corrupted (CORRUPTED_ZIP_ERROR). The web browsers can handle that as they are rebuilding it in there cache space on their side.<br />
To avoid such situations, IWSS 3.0 and 3.1 include a new feature that modifies the Accept-Encoding header of the HTTP request to exclude GZIP from the supported encodings. This feature is controlled in the intscan.ini file by the [http]/ disallow_gzip_encoding parameter and is enabled by default (yes).</p>
<ul>
<li>Please make sure that the parameter &#8220;disallow_gzip_encoding&#8221; is set to &#8220;yes&#8221;.<br />
If you change the value, you will have to restart the http daemon for the change to take effect. Use the following commands:<br />
<em>/opt/trend/iwss/bin/S99ISproxy stop</em><br />
<em>/opt/trend/iwss/bin/S99ISproxy start</em>
</li>
<li>If you are using an ICAP implementation as well (like squid, ISA, etc..), you will have to change your ICAP client settings to &#8220;don’t send the header Accept-Encoding: gzip&#8221;.
</li>
</ul>
<p>This will reduce the instances of the contents being blocked and may increase bandwidth usage. Some web servers may ignore this setting and still return the compressed content.
</p>
</li>
</ol>
<blockquote><p>Source:<br />
<a target = "_blank" href="http://esupport.trendmicro.com/Pages/How-to-skip-sending-of-“corrupted_zip_file”-notifications-in-InterScan.aspx">Configuring InterScan Web Security Suite (IWSS) 3.x for Linux to stop sending corrupted_zip_file notifications</a><br />
<a target = "_blank" href="http://esupport.trendmicro.com/Pages/Unable-to-access-web-sites-using-InterScan-Web-Security-Suite-IWSS-due.aspx">Unable to access web sites using InterScan Web Security Suite (IWSS) due to Corrupted_Zip_File issue</a>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/what-should-i-do-when-microsofts-bing-is-blocked-by-iwss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft&#8217;s Bing is Bonked by IWSS</title>
		<link>http://sodeve.net/microsofts-bing-is-bonked-by-iwss/</link>
		<comments>http://sodeve.net/microsofts-bing-is-bonked-by-iwss/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 09:48:00 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=591</guid>
		<description><![CDATA[As reported yesterday, Microsoft's latest search engine reign as no. 2 is <a href="http://www.techcrunch.com/2009/06/07/quick-peak-bings-reign-as-2-search-engine-lasted-one-day/" target = "_blank">only lasted one day</a>.
<p>&#160;</p>
I never tried Bing before, so today I gave it a try by visiting <a href="http://www.bing.com" target = "_blank">www.bing.com</a>. Was tempted to search for my own name, but I settled for less narcissistic approach by searching for 'Bing' instead.
<p>&#160;</p>
The following screenshots are the reason for the title of this post :D
<center>
<img src="http://sodeve.net/wp-content/uploads/2009/06/bing-bonked-by-iwss.png" alt="before bing-bonked-by-iwss" title="before bing-bonked-by-iwss" width="500" height="268" class="aligncenter size-full wp-image-592" />
<br />
<img src="http://sodeve.net/wp-content/uploads/2009/06/bing-bonked-by-iwss-2.png" alt="after bing-bonked-by-iwss" title="after bing-bonked-by-iwss" width="500" height="295" class="aligncenter size-full wp-image-593" />
<br /><small><a href="http://us.trendmicro.com/us/products/enterprise/interscan-web-security-suite/" target = "_blank">IWSS </a>bonked Bing's Search Result</small>
</center>]]></description>
			<content:encoded><![CDATA[<p>As reported yesterday, Microsoft&#8217;s latest search engine reign as no. 2 is <a href="http://www.techcrunch.com/2009/06/07/quick-peak-bings-reign-as-2-search-engine-lasted-one-day/" target = "_blank">only lasted one day</a>.</p>
<p>I never tried Bing before, so today I gave it a try by visiting <a href="http://www.bing.com" target = "_blank">www.bing.com</a>. Was tempted to search for my own name, but I settled for less narcissistic approach by searching for &#8216;Bing&#8217; instead.</p>
<p>The following screenshots are the reason for the title of this post <img src='http://sodeve.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
<center><br />
<img src="http://sodeve.net/wp-content/uploads/2009/06/bing-bonked-by-iwss.png" alt="before bing-bonked-by-iwss" title="before bing-bonked-by-iwss" width="500" height="268" class="aligncenter size-full wp-image-592" /><br />
<br />
<img src="http://sodeve.net/wp-content/uploads/2009/06/bing-bonked-by-iwss-2.png" alt="after bing-bonked-by-iwss" title="after bing-bonked-by-iwss" width="500" height="295" class="aligncenter size-full wp-image-593" /><br />
<br /><small><a href="http://us.trendmicro.com/us/products/enterprise/interscan-web-security-suite/" target = "_blank">IWSS </a>bonked Bing&#8217;s Search Result</small><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/microsofts-bing-is-bonked-by-iwss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is Twitter Limited to only 100 requests per Hour?</title>
		<link>http://sodeve.net/is-twitter-limited-to-only-100-requests-per-hour/</link>
		<comments>http://sodeve.net/is-twitter-limited-to-only-100-requests-per-hour/#comments</comments>
		<pubDate>Sat, 09 May 2009 11:35:22 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://sodeve.net/?p=544</guid>
		<description><![CDATA[<div style="float: left; margin-right: 15px; margin-bottom: 15px;"><center><a href="http://sodeve.net/is-twitter-limited-to-only-100-requests-per-hour"><img src="http://i154.photobucket.com/albums/s242/sodeve/twitter_logo_header.png" alt="Twitter"></a></center></div>I was doing some small modification to <a href="http://trainque.com/blog/2007/06/03/a-resizable-css-based-twitter-site-badge/">Trainque's Twitter Badge</a> when I encounter this error message in Firebug: 
<p>&#160;</p>
<a href="http://sodeve.net/wp-content/uploads/2009/05/twitter-error.gif"><img src="http://sodeve.net/wp-content/uploads/2009/05/twitter-error-300x50.gif" alt="twitter-error" title="twitter-error" width="300" height="50" class="aligncenter size-medium wp-image-545" /></a>
<p>&#160;</p>
Apparently this is <a href="http://www.readwriteweb.com/archives/twitter_back_on_track_raises_a.php" target="_blank">a limit for API</a> invocation. <del datetime="2009-05-09T09:58:31+00:00">Does this mean if a website with twitter badge is visited by more than 100 people per hour, only the first 100 people will see the twitter badge content?</del>  After reading this <a href="http://apiwiki.twitter.com/Rate-limiting" target="_blank">documentation</a>, I finally understand the meaning of this limitation. It means that <strong>an IP address cannot request more than 100 API requests per hour</strong>. Other way of saying this is, if you keep on refreshing this page for 100 times within 1 hour, you will not be able to see the Twitter Badge content on your 101st refresh. You need to wait until the next hour before you able to see the Twitter Badge Content.]]></description>
			<content:encoded><![CDATA[<div style="float: left; margin-right: 15px; margin-bottom: 15px;"><center><a href="http://sodeve.net/is-twitter-limited-to-only-100-requests-per-hour"><img src="http://i154.photobucket.com/albums/s242/sodeve/twitter_logo_header.png" alt="Twitter"></a></center></div>
<p>I was doing some small modification to <a href="http://trainque.com/blog/2007/06/03/a-resizable-css-based-twitter-site-badge/">Trainque&#8217;s Twitter Badge</a> when I encounter this error message in Firebug: </p>
<p><a href="http://sodeve.net/wp-content/uploads/2009/05/twitter-error.gif"><img src="http://sodeve.net/wp-content/uploads/2009/05/twitter-error-300x50.gif" alt="twitter-error" title="twitter-error" width="300" height="50" class="aligncenter size-medium wp-image-545" /></a></p>
<p>Apparently this is <a href="http://www.readwriteweb.com/archives/twitter_back_on_track_raises_a.php" target="_blank">a limit for API</a> invocation. <del datetime="2009-05-09T09:58:31+00:00">Does this mean if a website with twitter badge is visited by more than 100 people per hour, only the first 100 people will see the twitter badge content?</del>  After reading this <a href="http://apiwiki.twitter.com/Rate-limiting" target="_blank">documentation</a>, I finally understand the meaning of this limitation. It means that <strong>an IP address cannot request more than 100 API requests per hour</strong>. Other way of saying this is, if you keep on refreshing this page for 100 times within 1 hour, you will not be able to see the Twitter Badge content on your 101st refresh. You need to wait until the next hour before you able to see the Twitter Badge Content.</p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/is-twitter-limited-to-only-100-requests-per-hour/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Playing with Google Sets</title>
		<link>http://sodeve.net/playing_with_google_sets/</link>
		<comments>http://sodeve.net/playing_with_google_sets/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 14:59:23 +0000</pubDate>
		<dc:creator>Hardono Arifanto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://sodeve.net/playing_with_google_sets/</guid>
		<description><![CDATA[<div style="float: right; margin-left: 15px; margin-bottom: 15px;"><center><a href='http://sodeve.net/Playing_with_Google_Sets/' rel='attachment wp-att-295' title='g.jpg'><img src='http://sodeve.net/wp-content/uploads/2008/12/g.jpg' alt='Google' /></a></center></div>What do you do when you are looking for a particular word, but you only know other word that somehow <em>you know</em> is related.
<p>&#160;</p>
Say, you are looking for other words that associated with 'denial, anger, ....etc'. You've read it somewhere, but you forget the URL. <a href="http://thesaurus.reference.com/" target="_blank" >Thesaurus</a> couldn't help you. You totally don't know that it is actually something called <a href="http://en.wikipedia.org/wiki/K%C3%BCbler-Ross_model" target="_blank">Stages of Grief</a>
<p>&#160;</p>
So what would you do?
<p>&#160;</p>
<a href="http://labs.google.com/sets" target="_blank">Google Sets</a> might be able to help you. Google Sets will return words related to the one you supplied. I submitted 'valuair', and interestingly Google Sets return almost all the names of airlines in South East Asia region. 
<p>&#160;</p>
I must admit there's no way for user to submit suggestion to the result, so there is a high chance that the result is not what you expected. Unlike pageRank, Google is keeping the Google Sets' formula secret, making few people intrigued with the idea (<a href="http://books.nips.cc/papers/txt/nips18/NIPS2005_0712.txt" target="_blank">1</a>, <a href="http://questsin.blogspot.com/2005/06/generic-algorithm-for-classification.html" target="_blank">2</a>, <a href="http://questsin.blogspot.com/2005/05/reverse-engineering-google-sets.html" target="_blank">3</a>).
<p>&#160;</p>
What do you think?
]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 15px; margin-bottom: 15px;"><center><a href='http://sodeve.net/let-me-google-that-for-you/gjpg/' rel='attachment wp-att-295' title='g.jpg'><img src='http://sodeve.net/wp-content/uploads/2008/12/g.jpg' alt='Google' /></a></center></div>
<p>What do you do when you are looking for a particular word, but you only know other word that somehow <em>you know</em> is related.</p>
<p>Say, you are looking for other words that associated with &#8216;denial, anger, &#8230;.etc&#8217;. You&#8217;ve read it somewhere, but you forget the URL. <a href="http://thesaurus.reference.com/" target="_blank" >Thesaurus</a> couldn&#8217;t help you. You totally don&#8217;t know that it is actually something called <a href="http://en.wikipedia.org/wiki/K%C3%BCbler-Ross_model" target="_blank">Stages of Grief</a></p>
<p>So what would you do?</p>
<p><a href="http://labs.google.com/sets" target="_blank">Google Sets</a> might be able to help you. Google Sets will return words related to the one you supplied. I submitted <a href="http://labs.google.com/sets?hl=en&#038;q1=valuair&#038;btn=Small+Set+(15+items+or+fewer)" target="_blank">&#8216;valuair&#8217;</a>, and interestingly Google Sets return almost all the names of airlines in South East Asia region. </p>
<p>I must admit there&#8217;s no way for user to submit suggestion to the result, so there is a high chance that the result is not what you expected. Unlike pageRank, Google is keeping the Google Sets&#8217; formula secret, making few people intrigued with the idea (<a href="http://books.nips.cc/papers/txt/nips18/NIPS2005_0712.txt" target="_blank">1</a>, <a href="http://questsin.blogspot.com/2005/06/generic-algorithm-for-classification.html" target="_blank">2</a>, <a href="http://questsin.blogspot.com/2005/05/reverse-engineering-google-sets.html" target="_blank">3</a>).</p>
<p>What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://sodeve.net/playing_with_google_sets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
