<?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>Tech Blog</title>
	<atom:link href="http://informationideas.com/news/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Sat, 17 Mar 2012 02:14:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Solving httpd MaxClients and mod_status stuck</title>
		<link>http://informationideas.com/news/2012/03/16/solving-httpd-maxclients-and-mod_status-stuck/</link>
		<comments>http://informationideas.com/news/2012/03/16/solving-httpd-maxclients-and-mod_status-stuck/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 02:14:36 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=241</guid>
		<description><![CDATA[Solving httpd MaxClients and mod_status stuck. This article really demystifies how php sessions should and should not be used. Especially if you are using a lot of AJAX within a page and they all use session, being efficient with closing sessions immediately after you're done is a must.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p><a href='http://techmythsworld.blogspot.com/2011/11/solving-httpd-maxclients-and-modstatus.html'>Solving httpd MaxClients and mod_status stuck</a>.</p>
<p>This article really demystifies how php sessions should and should not be used. Especially if you are using a lot of AJAX within a page and they all use session, being efficient with closing sessions immediately after you're done is a must.</p>
<div class="shr-publisher-241"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/03/16/solving-httpd-maxclients-and-mod_status-stuck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kelli Anderson Designs</title>
		<link>http://informationideas.com/news/2012/03/12/kelli-anderson-designs/</link>
		<comments>http://informationideas.com/news/2012/03/12/kelli-anderson-designs/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 23:54:47 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=239</guid>
		<description><![CDATA[Kelli.:.Anderson. Came across this via a TED talk. I especially like the paper folding project she made as a holiday card.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p><a href='http://www.kellianderson.com/'>Kelli.:.Anderson</a>.</p>
<p>Came across this via a TED talk. I especially like the paper folding project she made as a holiday card.</p>
<div class="shr-publisher-239"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/03/12/kelli-anderson-designs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DollarShaveClub.com &#8211; Our Blades Are F***ing Great &#8211; YouTube</title>
		<link>http://informationideas.com/news/2012/03/07/dollarshaveclub-com-our-blades-are-fing-great-youtube/</link>
		<comments>http://informationideas.com/news/2012/03/07/dollarshaveclub-com-our-blades-are-fing-great-youtube/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 20:44:05 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Startups]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=232</guid>
		<description><![CDATA[Great way to promote a new startup.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Great way to promote a new startup.</p>
<p>
<object style="width:425px; height:344px;">
<param name="movie" value="http://www.youtube.com/v/ZUG9qYTJMsI?version=3" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="window" />
<embed src="http://www.youtube.com/v/ZUG9qYTJMsI?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" wmode="window" width="425" height="344"></object>
</p>
<div class="shr-publisher-232"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/03/07/dollarshaveclub-com-our-blades-are-fing-great-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 LTS Beta Is Out</title>
		<link>http://informationideas.com/news/2012/03/07/ubuntu-12-04-lts-beta-is-out/</link>
		<comments>http://informationideas.com/news/2012/03/07/ubuntu-12-04-lts-beta-is-out/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 19:25:10 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=229</guid>
		<description><![CDATA[There are supposed to be many changes in the upcoming release of Ubuntu desktop. One notable UI change is HUD (Head-Up Display) where you can type a menu command to get to an application's functionality without navigation through the menu system. It is useful for users who are experienced with an application and know what [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>There are supposed to be many changes in the upcoming release of Ubuntu desktop. One notable UI change is HUD (Head-Up Display) where you can type a menu command to get to an application's functionality without navigation through the menu system. It is useful for users who are experienced with an application and know what they want to get to without menu, sub-menu, sub-sub-menu, etc.</p>
<p>I will need to do a VirtualBox install to play around soon.</p>
<p>http://www.pcworld.com/businesscenter/article/251367/ubuntu_linux_1204_oneups_windows_and_mac_shuttleworth_says.html</p>
<div class="shr-publisher-229"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/03/07/ubuntu-12-04-lts-beta-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Keep An Android Service Running</title>
		<link>http://informationideas.com/news/2012/03/06/how-to-keep-an-android-service-running/</link>
		<comments>http://informationideas.com/news/2012/03/06/how-to-keep-an-android-service-running/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 02:25:20 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=219</guid>
		<description><![CDATA[How to keep an Android service running? This is kind of a trick question as the best practice is to not keep an Android service running. If you need to have something done continuously by your app via a service, the service should be started by an AlarmManager at a regular interval and kills itself [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>How to keep an Android service running? This is kind of a trick question as the best practice is to not keep an Android service running. If you need to have something done continuously by your app via a service, the service should be started by an AlarmManager at a regular interval and kills itself after the task is done. The reason for this is that a long running service on Android is up to the OS to determine priority and in some cases would stop running. By using this methodology, you are treading lightly since the service does not stay in memory.</p>
<p>Here is some sample code.</p>
<p>Service implementation</p>
<pre class="brush: java; title: ; notranslate">
public class HeartBeat extends Service {

	@Override
	public IBinder onBind(Intent arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void onStart(Intent i, int startId) {

		this.beat.run();
		this.stopSelf();
	}

	public Runnable beat = new Runnable() {

		public void run() {
                    // Do something
		}
	};
}
</pre>
<p>The AlarmManager that starts it.</p>
<pre class="brush: java; title: ; notranslate">

			Intent iHeartBeatService = new Intent(this, HeartBeat.class);
			PendingIntent piHeartBeatService = PendingIntent.getService(this, 0, iHeartBeatService, PendingIntent.FLAG_UPDATE_CURRENT);
			AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);
			alarmManager.cancel(piHeartBeatService);
			alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 1000, piHeartBeatService);
</pre>
<p>Now the heartbeat service will start every second and do something and kill itself.</p>
<div class="shr-publisher-219"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/03/06/how-to-keep-an-android-service-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Current State of Hosting With Dreamhost</title>
		<link>http://informationideas.com/news/2012/03/06/the-current-state-of-hosting-with-dreamhost/</link>
		<comments>http://informationideas.com/news/2012/03/06/the-current-state-of-hosting-with-dreamhost/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 01:26:25 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=217</guid>
		<description><![CDATA[I have had a Dreamhost account since 2006 and have various domains hosted on the ridiculous unlimited plan. Back then, their service was very reliable and fairly robust especially compared to some of the other shared hosting services out there. However, over the years their service had definitely degraded culminating to a horrible past few [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>I have had a <a title="Dreamhost" href="http://dreamhost.com">Dreamhost</a> account since 2006 and have various domains hosted on the ridiculous unlimited plan. Back then, their service was very reliable and fairly robust especially compared to some of the other shared hosting services out there. However, over the years their service had definitely degraded culminating to a horrible past few months.</p>
<p>Dreamhost had an unfortunate security breach a few months ago that leaked a bunch of passwords causing a mass reset of passwords. Then their service had been quite unstable with outages lasting a few hours at a time. During the morning of 3/5/2012, many sites were inaccessible along with dreamhost.com being down. They claimed it was caused by a disruption to network connection to one of their data centers.</p>
<p>Over the years, I have moved most of our sites onto cloud server at <a title="Rackspace" href="http://rackspace.com">Rackspace</a> or <a title="Amazon AWS" href="http://aws.amazon.com/">Amazon AWS</a>. The only sites on Dreamhost are either staging or very low traffic sites that would not be hurt by a few hours of downtime. I will probably keep our Dreamhost account for now, but we just are careful what we decide to put there.</p>
<div class="shr-publisher-217"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/03/06/the-current-state-of-hosting-with-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto start Sphinx searchd after reboot on Linux</title>
		<link>http://informationideas.com/news/2012/02/16/auto-start-sphinx-searchd-after-reboot-on-linux/</link>
		<comments>http://informationideas.com/news/2012/02/16/auto-start-sphinx-searchd-after-reboot-on-linux/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 22:09:07 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Sphinx]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=212</guid>
		<description><![CDATA[By default, after you install and configure Sphinx, you will find that once your OS restarts, search will not be working. That is because searchd is not setup to auto start. The following will solve that problem. Create file /etc/init.d/searchd. sudo vi /etc/init.d/searchd Copy the following into searchd. #!/bin/bash case "${1:-''}" in 'start') /usr/local/bin/searchd ;; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>By default, after you install and configure Sphinx, you will find that once your OS restarts, search will not be working. That is because searchd is not setup to auto start. The following will solve that problem.</p>
<p>Create file /etc/init.d/searchd.<br />
<code>sudo vi /etc/init.d/searchd</code></p>
<p>Copy the following into searchd.<br />
<code>#!/bin/bash</code></p>
<p>case "${1:-''}" in<br />
'start')<br />
/usr/local/bin/searchd<br />
;;<br />
'stop')<br />
/usr/local/bin/searchd --stop<br />
;;<br />
'restart')<br />
/usr/local/bin/searchd --stop &amp;&amp; /usr/local/bin/searchd<br />
;;<br />
*)<br />
echo "Usage: $SELF start|stop|restart"<br />
exit 1<br />
;;<br />
esac</p>
<p>Add execute to the file<br />
<code>sudo chmod -x /etc/init.d/searchd</code></p>
<p>Register with auto start<br />
<code>sudo update-rc.d searchd defaults</code></p>
<div class="shr-publisher-212"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2012/02/16/auto-start-sphinx-searchd-after-reboot-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codeigniter header already sent error using json header</title>
		<link>http://informationideas.com/news/2011/12/05/codeigniter-header-already-sent-error-using-json-header/</link>
		<comments>http://informationideas.com/news/2011/12/05/codeigniter-header-already-sent-error-using-json-header/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 06:39:43 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=209</guid>
		<description><![CDATA[Getting this error when moving from development server to staging server and getting this error. Severity: Warning --&#62; Cannot modify header information - headers already sent The error shows up if you are doing all of the following. 1. Change header using $this-&#62;output-&#62;set_content_type('application/json'); 2. Outputting using echo (which is not recommended by Codeigniter). 3. In [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Getting this error when moving from development server to staging server and getting this error.</p>
<p>Severity: Warning --&gt; Cannot modify header information - headers already sent</p>
<p>The error shows up if you are doing all of the following.</p>
<p>1. Change header using</p>
<blockquote><p>$this-&gt;output-&gt;set_content_type('application/json');</p></blockquote>
<p>2. Outputting using echo (which is not recommended by Codeigniter).</p>
<p>3. In php.ini, have output_buffering set very small, like 0.</p>
<p><strong>Solution</strong></p>
<p>There are two solutions to this issue.</p>
<p>1. Increase the output_buffering enough so to buffer your echo. (this is a hack)</p>
<p>2. Recommended solution is to replace echo with CIs built in $this-&gt;output-&gt;set_output('content') method.</p>
<div class="shr-publisher-209"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/12/05/codeigniter-header-already-sent-error-using-json-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groupon pump and dump?</title>
		<link>http://informationideas.com/news/2011/11/29/groupon-pump-and-dump/</link>
		<comments>http://informationideas.com/news/2011/11/29/groupon-pump-and-dump/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 00:04:04 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Tech Companies]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=207</guid>
		<description><![CDATA[Ever since the IPO of Groupon which landed at around $28 the first day, it has been sliding constantly. Today it is around $16. Wondering if the merchant horror stories are catching up with them.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Ever since the IPO of Groupon which landed at around $28 the first day, it has been sliding constantly. Today it is around $16. Wondering if the merchant horror stories are catching up with them.</p>
<div class="shr-publisher-207"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/11/29/groupon-pump-and-dump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android making https requests with SSL from GoDaddy &#8211; No peer certificate error</title>
		<link>http://informationideas.com/news/2011/11/29/android-making-https-requests-with-ssl-from-godaddy-no-peer-certificate-error/</link>
		<comments>http://informationideas.com/news/2011/11/29/android-making-https-requests-with-ssl-from-godaddy-no-peer-certificate-error/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 00:00:08 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=201</guid>
		<description><![CDATA[Another hair pulling session that all ended well. Task: Make a secure call to a server using a httprequest and get the httpresponse for further processing. Android http request and response: HttpClient client = new DefaultHttpClient(); HttpGet req = new HttpGet("https://www.example.com"); HttpResponse res = client.execute(req); Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate Problem: The issue is that [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Another hair pulling session that all ended well.</p>
<p><strong>Task:</strong></p>
<p>Make a secure call to a server using a httprequest and get the httpresponse for further processing.</p>
<p><strong>Android http request and response:</strong></p>
<blockquote>
<pre>HttpClient client = new DefaultHttpClient();
HttpGet req = new HttpGet("https://www.example.com");
HttpResponse res = client.execute(req);</pre>
</blockquote>
<p><strong>Error:</strong></p>
<p>javax.net.ssl.SSLPeerUnverifiedException: No peer certificate</p>
<p><strong>Problem:</strong></p>
<p>The issue is that cert from GoDaddy was installed but not installed completely. An Intermediate cert is required for the server/domain in order to have a fully installed cert.</p>
<p><strong>Reference:</strong></p>
<p><strong><a href="http://community.godaddy.com/help/5238">http://community.godaddy.com/help/5238</a><br />
</strong></p>
<div class="shr-publisher-201"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/11/29/android-making-https-requests-with-ssl-from-godaddy-no-peer-certificate-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.391 seconds -->
<!-- Cached page served by WP-Cache -->

