<?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>I Drivel</title>
	<atom:link href="http://blog.justinlintz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.justinlintz.com</link>
	<description>whatever comes to mind</description>
	<lastBuildDate>Sat, 14 Aug 2010 03:54:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Configuring Varnish</title>
		<link>http://blog.justinlintz.com/2010/08/configuring-varnish/</link>
		<comments>http://blog.justinlintz.com/2010/08/configuring-varnish/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 03:22:19 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=103</guid>
		<description><![CDATA[ The Unreal Universe A Book on Physics and Philosophy "For thinking laymen." <p>At $WORK I&#8217;m currently working on deploying a pool of Varnish servers to sit in front of some Apache servers running Pressflow. On our current infrastructure we&#8217;ve been running Squid for the past few years with very good success , minus <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2010/08/configuring-varnish/">Configuring Varnish</a></span>]]></description>
			<content:encoded><![CDATA[<p>At $WORK I&#8217;m currently working on deploying a pool of <a href="http://varnish-cache.org/">Varnish</a> servers to sit in front of some Apache servers running <a href="http://pressflow.org/">Pressflow</a>.  On our current infrastructure we&#8217;ve been running Squid for the past few years with very good success , minus a hiccup or two along the way, one involving memory fragmentation (thank you <a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html">tcmalloc</a>).  Varnish has a few nice features that Squid lacks.</p>
<li>The ability to PURGE objects using wildcards</li>
<li>Better support for multiple processors (Squid can benefit from multi procs when using AUFS)</li>
<li>Grace period that can be configured to serve objects from the cache after they&#8217;ve expired while fetching the new content from the backend.  You can also use this to serve up stale content if your backend is down</li>
<li>Ships with a nice set of command line tools (varnishtop,varnishlog,varnishstat,varnishhist,etc&#8230;)</li>
<li>A very flexible scripting/configuration language (you can even do inline C if you&#8217;re feeling saucy) that allows you to manipulate the objects at any point in the request or response (<a href="http://varnish-cache.org/raw-attachment/wiki/VCLExampleDefault/varnish-2.0.4-flow.jpg">See flow chart</a>)</li>
<p>There are many others but these are just a few off the top of my head and I&#8217;m still discovering what other capabilities Varnish has.  The site has not gone live yet so I&#8217;m still testing on a dev version of the site and have not had an opportunity to perform any load testing yet. So far with my current working configuration I&#8217;ve made the following tweaks</p>
<li>Stripped cookies off static objects</li>
<li>Stripped Google analytics cookies</li>
<li>Removed empty cookies</li>
<li>Configured a graceful period to serve up stale objects from cache</li>
<li>Added a debugging header to show weather the object was a cache HIT or MISS</li>
<p>The use of mod_expires on the Apache backend controls cache times for static assets (css,js,images,etc..).  In my googling around when reading about Varnish I see a lot of people are setting cache times in their VCLs.  IMO you should be letting the backend or application itself control the TTLs on objects.  Within your application you can set more defined TTLs for certain  sections of your site or even certain types of dynamic content without having to rely on complex VCL rules or deal with the deployment of the rules into Varnish.  While Varnish does support a &#8220;graceful&#8221; style restart, its not quite as eloquant as doing <i>service apache graceful</i>.  Kristian Lyngstol (one of the Varnish devs) has a good <a href="http://kristian.blog.linpro.no/2009/02/18/easy-reloading-of-varnish-vcl/">post</a> on his blog on dealing with this.  Also with the use of mod_expires you can set TTLs based on MIME-type within Apache.</p>
<p>One other thing I see a lot of people blindly recommending in configurations to deal with Varnish&#8217;s behavior of not caching cookies is to take the cookie value and add it into Varnish&#8217;s hash of the object.  e.g.</p>
<div class="codecolorer-container c default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sub vcl_hash <span style="color: #009900;">&#123;</span><br />
set req.<span style="color: #202020;">hash</span> <span style="color: #339933;">+=</span> req.<span style="color: #202020;">http</span>.<span style="color: #202020;">cookie</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p>If a light bulb just went off in your head as to why this is a bad idea, kudos to you.  What you&#8217;re basically doing is creating a cache per-user on your Varnish server.  Your hit ratio will plummet from this config.  There are scenarios where this <em>can</em> be used in a good way.  In talking with some folks in #varnish on irc.linpro.no, a scenario where you&#8217;d want this is if say you had a cookie that was a display filter on your site or some sort of site customization that didn&#8217;t have a large number of combinations.</p>
<p>One thing that bothers me about Varnish currently is that it&#8217;s admin interface is completely unsecured.  By default it listens on localhost but without any authentication, anyone with a shell on your Varnish box can bring down your Varnish instance or modify the config in anyway they feel fit.  For those that allow dev&#8217;s on production servers to debug logs, this is a bit of a security concern.  I&#8217;m not really sure of a workaround for this, so if anyone has any ideas, leave it in the comments below.</p>
<p>If you use Cacti for trending, there are some great templates available over at the <a href="http://forums.cacti.net/viewtopic.php?p=182152">cacti forums</a>.  They utilize a python script that needs access to the admin interface.</p>
<p>I&#8217;ll probably post some more in the future on Varnish as I do further reading and testing with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/08/configuring-varnish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinkpad Trackpoint sensitivity on Ubuntu</title>
		<link>http://blog.justinlintz.com/2010/06/thinkpad-trackpoint-sensitivity-on-ubuntu/</link>
		<comments>http://blog.justinlintz.com/2010/06/thinkpad-trackpoint-sensitivity-on-ubuntu/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 00:27:54 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=97</guid>
		<description><![CDATA[<p>A while back I found some notes on configuring the sensitivity of my trackpoint on my Thinkpad T43 and took the time to tweak the values to get it just right. The commands were</p> /bin/echo -n 171 &#62; /sys/devices/platform/i8042/serio1/serio2/sensitivity /bin/echo -n 119 &#62; /sys/devices/platform/i8042/serio1/serio2/speed <p>In order to keep those values the same on reboot, <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2010/06/thinkpad-trackpoint-sensitivity-on-ubuntu/">Thinkpad Trackpoint sensitivity on Ubuntu</a></span>]]></description>
			<content:encoded><![CDATA[<p>A while back I found some notes on configuring the sensitivity of my trackpoint on my Thinkpad T43 and took the time to tweak the values to get it just right.  The commands were</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">171</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>platform<span style="color: #000000; font-weight: bold;">/</span>i8042<span style="color: #000000; font-weight: bold;">/</span>serio1<span style="color: #000000; font-weight: bold;">/</span>serio2<span style="color: #000000; font-weight: bold;">/</span>sensitivity<br />
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">119</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>devices<span style="color: #000000; font-weight: bold;">/</span>platform<span style="color: #000000; font-weight: bold;">/</span>i8042<span style="color: #000000; font-weight: bold;">/</span>serio1<span style="color: #000000; font-weight: bold;">/</span>serio2<span style="color: #000000; font-weight: bold;">/</span>speed</div></div>
<p>In order to keep those values the same on reboot, I placed those commands in /etc/rc.local.  I rebooted and&#8230; values got reset.  After struggling a bit and just giving up on the issue, I ended up just making a shell script that I would execute on boot each time (crappy solution).  Finally I got annoyed with the issue enough and researched it again some more and stumbled upon<a href="http://ubuntuforums.org/showpost.php?p=9365735&#038;postcount=13">this post on Ubuntu Forums</a>.  A couple of things I learned from that&#8230;</p>
<ol>
<li> The proper ways to set the values in the sysfs is to use udev rules, <a href="http://www.reactivated.net/writing_udev_rules.html">Writing udev rules</a></li>
<li> Even if I used a udev rule, there appears to be an issue where the device does not exist yet at the time the rule is processed to set the value for the device</li>
</ol>
<p><strong>Solution</strong> (per forum post) create a file <strong>/etc/udev/rules.d/trackpoint.rules</strong> and place the following in</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">SUBSYSTEM</span>==<span style="color: #ff0000;">&quot;serio&quot;</span>, <span style="color: #007800;">DRIVERS</span>==<span style="color: #ff0000;">&quot;psmouse&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>description<span style="color: #7a0874; font-weight: bold;">&#125;</span>==<span style="color: #ff0000;">&quot;Synaptics pass-through&quot;</span>, <span style="color: #007800;">WAIT_FOR</span>=<span style="color: #ff0000;">&quot;/sys/devices/platform/i8042/serio1/serio2/sensitivity&quot;</span> ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>sensitivity<span style="color: #7a0874; font-weight: bold;">&#125;</span>=<span style="color: #ff0000;">&quot;171&quot;</span>, ATTR<span style="color: #7a0874; font-weight: bold;">&#123;</span>speed<span style="color: #7a0874; font-weight: bold;">&#125;</span>=<span style="color: #ff0000;">&quot;119&quot;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/06/thinkpad-trackpoint-sensitivity-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check for missing reverse DNS entries on network</title>
		<link>http://blog.justinlintz.com/2010/05/check-for-missing-reverse-dns-entries-on-network/</link>
		<comments>http://blog.justinlintz.com/2010/05/check-for-missing-reverse-dns-entries-on-network/#comments</comments>
		<pubDate>Wed, 26 May 2010 18:15:48 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=90</guid>
		<description><![CDATA[<p>A quick way to check your network for IPs missing reverse DNS entries&#8230;.</p> nmap -PE -sP 10.0.0.0/24 &#124; awk '{if ($2 ~ /^[[:digit:]]/ ) print $2}' ]]></description>
			<content:encoded><![CDATA[<p>A quick way to check your network for IPs missing reverse DNS entries&#8230;.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">nmap -PE -sP 10.0.0.0/24 | awk '{if ($2 ~ /^[[:digit:]]/ ) print $2}'</div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/05/check-for-missing-reverse-dns-entries-on-network/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Support for authorized-keys.d/</title>
		<link>http://blog.justinlintz.com/2010/02/support-for-authorized-keys-d/</link>
		<comments>http://blog.justinlintz.com/2010/02/support-for-authorized-keys-d/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 05:02:41 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[thoughts linux]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/2010/02/support-for-authorized-keys-d/</guid>
		<description><![CDATA[<p>Why is there no subdir inside .ssh called authorized-keys.d where I can just throw my ssh keys and easily manage them by file name instead of having to edit the authorized-keys(2) file?</p> <p>I need to do some googling on this , a quick search yields this debian bug report on wishing for support for <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2010/02/support-for-authorized-keys-d/">Support for authorized-keys.d/</a></span>]]></description>
			<content:encoded><![CDATA[<p>Why is there no subdir inside .ssh called authorized-keys.d where I can just throw my ssh keys and easily manage them by file name instead of having to edit the authorized-keys(2) file?</p>
<p>I need to do some googling on this , a quick search yields this <a href="http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg518628.html">debian bug report</a> on wishing for support for one.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/02/support-for-authorized-keys-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Quote module</title>
		<link>http://blog.justinlintz.com/2010/01/python-quote-module/</link>
		<comments>http://blog.justinlintz.com/2010/01/python-quote-module/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 05:38:37 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=81</guid>
		<description><![CDATA[<p>Over the past couple of years I&#8217;ve been wanting to learn Python more seriously but really haven&#8217;t sat down and just done it.   I&#8217;ve written a couple of various scripts for personal and work use but always felt they weren&#8217;t coded in a &#8220;pythonic&#8221; way.  I&#8217;m now reading Learning Python (4th edition) from the <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2010/01/python-quote-module/">Python Quote module</a></span>]]></description>
			<content:encoded><![CDATA[<p>Over the past couple of years I&#8217;ve been wanting to learn Python more seriously but really haven&#8217;t sat down and just done it.   I&#8217;ve written a couple of various scripts for personal and work use but always felt they weren&#8217;t coded in a &#8220;pythonic&#8221; way.  I&#8217;m now reading <a href="oreilly.com/catalog/9780596158071">Learning Python (4th edition)</a> from the beginning and making sure I learn things properly from the ground up.  When I was writing my code in the past I wasn&#8217;t aware of what objects were immutable vs mutable or how generators worked.  I basically knew what I wanted to accomplish before writing my code and would reference the online documentation and just go at it.  Overtime I picked up on some &#8220;pythonic&#8221; methods from looking at code examples, for example, using optparse for handling arguments passed into your program.</p>
<p>My first project I decided to tackle as I go through my book is writing a module that will fetch stock quotes from Yahoo&#8217;s Finance page and store them in memcached.  I just pushed it out to github available @ <a href="http://github.com/jlintz/python_quote">http://github.com/jlintz/python_quote</a>.  I&#8217;m hoping to get some feedback from some people on where I can improve in my code and hopefully it will be useful to someone else out there.  As I go through the book I plan on going back and looking at the code and see what I can refactor and I&#8217;m sure along the way I&#8217;ll probably re-architect things.</p>
<p>One thing I know I need to do is write some unit tests for the module.   When I was in my Computer Science program in college, we really never had any exposure to unit tests.  The unit tests consisted of assert statements and really never had any real lessons on them.  I need to do more reading on <a href="http://docs.python.org/library/unittest.html">unittest</a>.  I know many developers write their unit tests first before writing a single line of code in a test driven development approach.  It&#8217;s something I want to look at more and see if I should consider picking that up.</p>
<p>Also as part of this coding project, it was a good excuse to get some exercise with <a href="http://git-scm.com/">Git</a>.  It&#8217;s pretty easy to work with and I haven&#8217;t even scratched the surface of its potential.  I just need to begin looking at some of its more advanced features and incorporating them into my work flow.</p>
<p>Vim is another program I&#8217;m getting some finger exercise in.  When I started my job 3 years ago I had never really opened Vim/Vi but one day forced myself to learn it because as a sysadmin, Vi will always be there for you, <a href="http://www.familyguyquotes.com/quotes/695.html">like your friend Stewie</a>.  In my day to day uses of Vi, I just used the basics, hjkl and :wq.  Slowly I picked up some commands from co-workers and got used to using them daily.  When writing code in Vim , there are a lot of tricks and commands to aide you in writing code , I&#8217;ve read about many but now it&#8217;s a matter of incorporating them so I don&#8217;t have to think much and breaking my old habits to use the new commands I&#8217;ve read about.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/01/python-quote-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 64bit + iPhone sync</title>
		<link>http://blog.justinlintz.com/2010/01/windows-7-64bit-iphone-sync/</link>
		<comments>http://blog.justinlintz.com/2010/01/windows-7-64bit-iphone-sync/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 01:24:55 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=78</guid>
		<description><![CDATA[<p>I somehow attract issues whenever I build a new computer or do a fresh installation on my desktop.  I currently dual boot between Windows XP 64bit and  Ubuntu 9.10 (Karmic) which has served me well the last 3 years.  My current setup is running atop a fakeraid mirror which at the time, was a <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2010/01/windows-7-64bit-iphone-sync/">Windows 7 64bit + iPhone sync</a></span>]]></description>
			<content:encoded><![CDATA[<p>I somehow attract issues whenever I build a new computer or do a fresh installation on my desktop.  I currently dual boot between Windows XP 64bit and  Ubuntu 9.10 (Karmic) which has served me well the last 3 years.  My current setup is running atop a fakeraid mirror which at the time, was a PITA to get configured as it involved using a live cd and following a really long howto while crossing my fingers it would work.  Today the installer supports fakeraid out of the box so no poor soul would have to go through those installation steps.</p>
<p>I got a new 1TB hard drive for the holidays and I had been meaning to redo my setup for some time and finally took the plunge this weekend.  I also decided I was going to give Windows 7 a go.  With my current(now old) setup, I couldn&#8217;t install iTunes in Windows XP 64bit so I had to do all my iPhone syncing using a 32bit Windows XP install inside a Virtualbox VM inside of Ubuntu.  I would run into issues anytime I would have to do a firmware upgrade on my iPhone since the iPhone would disconnect from the VM during the firmware upgrade process and the USB filters I had in place to pass through the iPhone to the VM would run into a race condition with the OS while it tried to mount the iPhone as a photo device.  This would end up leaving my iPhone as a brick (but upgraded) and I&#8217;d have to restore from backup and re-sync all my music, a process that would take up to 4 hours.  The last time I did an iPhone upgrade, I learned my lesson and did the upgrade from a Mac, no restores needed and I didn&#8217;t need to do any syncing after.</p>
<p>With my new setup I was planning on doing all of my syncing in Windows 7, without having to worry about any issues with USB pass through or performance issues of doing the sync through a VM.  Once I got my Windows 7 install up and running, I installed iTunes and added my music to the library.  I went to go ahead and perform my first sync and noticed it began syncing then about 5 seconds later it would just finish.  I tried this a couple more times and noticed it was still not behaving right.  I figured I&#8217;d try to atleast backup my iPhone incase anything went wrong.  I began the backup process and went to go play some CoD MW2.  I came back an hour later and noticed no real progress on the backup of the iPhone.  I cancelled the backup process and then tried restarting the backup.  I let it sit for a couple of hours and it never completed.  Normally a backup will take maybe 10-15 minutes so I knew something was wrong.</p>
<p>I began Googling and right away I came upon <a href="http://discussions.apple.com/thread.jspa?threadID=2157442&amp;tstart=0">this thread </a>on the Apple forums.  The thread described a varying amount of issues with Windows 7 64bit and iTunes syncing.  Issues with people having their iPhone not recognized to certain chipsets causing sync issues.  I tried jumping around the thread a bit looking for some simple answers related to my issues, but most of the solutions were geared towards BIOS updates.  After some more Googling I found a thread on one of the MS support forums (sorry I lost the link) where a representative from MS was actually contributing to the thread and seemed to be working with developers on a hot fix for the issues.  The thread talked about users with issues with USB hard drives and iPhone issues as well. Later in the thread MS eventually came up with a hot fix for the issue so I figured I&#8217;d give it a go.  The hotfix can be found here <a href="http://support.microsoft.com/kb/976972">http://support.microsoft.com/kb/976972</a> .  I installed it and low and behold, it actually fixed my issue.  This is the first time I can remember downloading a hotfix for an issue I&#8217;ve had with Windows and it actually fixing the problem.  I&#8217;m now finishing syncing up my music to my iPhone which is syncing A LOT faster than going through a VM layer.  Hopefully someone will stumble across this blog post facing similar issues and it will solve their iTune woes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/01/windows-7-64bit-iphone-sync/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yahoo Finance message boards</title>
		<link>http://blog.justinlintz.com/2010/01/yahoo-finance-message-boards/</link>
		<comments>http://blog.justinlintz.com/2010/01/yahoo-finance-message-boards/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 02:32:07 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[observations]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/2010/01/yahoo-finance-message-boards/</guid>
		<description><![CDATA[<p>&#8230; has to be the biggest waste of space on the interwebs. Clearly Yahoo doesn&#8217;t give a shit about them since they are not policed in the slightest and riddled with spam, trolls, and crazies. There are absolutely no insightful conversations going on for any stock. I wonder why they even bother keeping them around.</p> ]]></description>
			<content:encoded><![CDATA[<p>&#8230; has to be the biggest waste of space on the interwebs.  Clearly Yahoo doesn&#8217;t give a shit about them since they are not policed in the slightest and riddled with spam, trolls, and crazies.  There are absolutely no insightful conversations going on for any stock.  I wonder why they even bother keeping them around.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2010/01/yahoo-finance-message-boards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Camera of near future prediction</title>
		<link>http://blog.justinlintz.com/2009/12/camera-of-near-future-prediction/</link>
		<comments>http://blog.justinlintz.com/2009/12/camera-of-near-future-prediction/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 06:18:32 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=66</guid>
		<description><![CDATA[<p>Edit: The title of this is great engrish&#8230; ok read on&#8230;</p> <p>I predict cameras in the near future will begin shipping with wireless , 3G antennas or both. The cameras will be tied into social networking sites so that you can take photos of events and upload them as they happen. There will be <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2009/12/camera-of-near-future-prediction/">Camera of near future prediction</a></span>]]></description>
			<content:encoded><![CDATA[<p><strong>Edit</strong>: The title of this is great engrish&#8230; ok read on&#8230;</p>
<p>I predict cameras in the near future will begin shipping with wireless , 3G antennas or both.  The cameras will be tied into social networking sites so that you can take photos of events and upload them as they happen.  There will be a settings page in your camera to enter your Facebook, Myspace or Flickr account info. An option would be available to auto upload all photos taken or to prompt  the user after each photo is taken for upload, and finally an option to just bypass that and worry about the uploading only when you are in review mode.  The camera will auto resize (user setting on adjusting size) the photos and upload in the background so you can live blog events without thought.  I know some cameras today already have built in wireless and can upload directly to a computer or an FTP, but the cameras that have those features are attached to SLRs, usually coming as an add-on .  They are mainly for professionals wanting to instantly review photos during photo shoots, not for frat boys wanting to live blog a kegger.</p>
<p>Sony attempted this with their <a href="http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?storeId=10151&amp;catalogId=10551&amp;langId=-1&amp;productId=8198552921665736684">DSC-G3</a> model but failed miserably in it&#8217;s implementation.  From reading reviews, the act of connecting to a WiFi access point is cumbersome and they were too eager by including a browser in the camera which IMO is a bit overkill and just needs a simple menu interface to select the social networking services you wish to use.  All photo uploading must go through Sony&#8217;s portal page and photos have to be chosen one at a time, no seamless uploads, too much thinking involved.</p>
<p>My ideal camera would be a mash up of how the iPhone handles WiFi access points, a 3G provider that is not AT&amp;T (bonus points if it&#8217;s free to use, but highly unlikely), and the ability for the manufacturer to add social networking services through easily installable firmware upgrades.  The camera should also make all of it&#8217;s connections over a secure protocol so users won&#8217;t have to worry about their login information being compromised over an unsecured access point.</p>
<p>A couple of downsides to this may be that some people really don&#8217;t want to have photos available to the public before they can really look at them to make sure they don&#8217;t look like an idiot and that they are even appropriate enough to be made public.  It wouldn&#8217;t really draw as big of a crowd if it just has WiFi.  You are then limited in where you get to use the cameras main draw of being able to instantly publish photos to the world.  A couple other short comings I could see with this camera would be the battery life not lasting too long.  Users don&#8217;t give a shit that WiFi and 3G suck up more battery life, they just want their battery life to be the same as if those components weren&#8217;t there to begin with.  The iPhone has people complaining about battery life all the time, comparing it to their old phones. If you are listening to music on it all day long, while checking facebook, the battery is not going to last more than a few hours.  People aren&#8217;t using iPhones the same way as they did with their snake playing Nokia phones of early decade.  The way people use their &#8220;phones&#8221; has dramatically changed over the last couple of years and <a href="http://en.wikipedia.org/wiki/Lithium-ion_battery">battery technology</a> has not been keeping pace.</p>
<p>I hope Canon or Nikon will integrate these features into a camera soon, and hopefully their implementation won&#8217;t suck.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2009/12/camera-of-near-future-prediction/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone 3.2 Wishes (Updated)</title>
		<link>http://blog.justinlintz.com/2009/10/iphone-3-2-wishes/</link>
		<comments>http://blog.justinlintz.com/2009/10/iphone-3-2-wishes/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 23:05:53 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[observations]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=57</guid>
		<description><![CDATA[<p>Before I had an iPhone, I had just your average flip phone, didn&#8217;t care if it had a web browser on it or if it did anything else besides just have a decent battery life. This summer I finally took the plunge and bought my first Apple product ever, the iPhone 3GS. I had <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2009/10/iphone-3-2-wishes/">iPhone 3.2 Wishes (Updated)</a></span>]]></description>
			<content:encoded><![CDATA[<p>Before I had an iPhone, I had just your average flip phone, didn&#8217;t care if it had a web browser on it or if it did anything else besides just have a decent battery life.  This summer I finally took the plunge and bought my first Apple product ever, the iPhone 3GS.  I had been waiting for some time for them to come out with a version with more storage before I even considered getting one and 32GB was just good enough for me (64Gb would have really been the sweet spot).  So far I&#8217;ve been pretty happy with the phone , not counting all the <a href="http://www.engadget.com/2009/09/30/apple-genius-says-30-iphone-call-drop-rate-is-average-in-new-yo/">AT&amp;T issues</a>.</p>
<p>As I&#8217;ve come to realize with Apple products, they always seem to leave out the most obvious of features to people and dictate to the user what their experience and usage of their products should be.  A couple quick examples off the top of my head,  you cannot turn off the monitor on the iMac, iTunes doesn&#8217;t support the ability to monitor your mp3 folder for changes in the library (iTunes 9.0 did a weak attempt of supporting this by adding a folder you can drag things into).</p>
<p>Apple does seem to be listening&#8230;. a bit, to their users with the iPhone as everyone is so vocal about them and it&#8217;s one of the most widely used phones out there.  I remember in the past if I had any issue with my flip phones there would almost certainly never be any firmware release to fix the issue and the product would be abandoned all together by the company within a year.  Calling support about the issues was pointless, they would just try sending you a replacement phone or just file a bug report that never got corrected unless there were enough people using the phone to complain about the same issue (there never was).  I just accepted that as the norm if you were not using the most popular phone out on the market at the time.  Then I got an iPhone and all of a sudden I started caring about my phone working perfectly. All those little nuisances suddenly needed to be fixed dammit, I paid a lot for this phone!   A few things still remain that I&#8217;d love to see get fixed/added as an option in 3.2&#8230;</p>
<ol>
<li>Timestamps on all text messages sent and received.  Currently you only get a time stamp on a message if it&#8217;s the first message that&#8217;s been sent after 15(or some other time) minutes of inactivity.  The data is definitely there, but they are choosing not to display it for whatever reason.  Makes them look sleeker? F that, just give users an option to turn them on and off.  Friends text me all the time saying &#8220;I&#8217;m on my way&#8221; and I always used to use that to judge how long its been since I&#8217;ve heard from them.
<li>A global option to turn off auto-rotate.  A couple of apps have this built in currently, mainly e-book readers.  I, like many other people, use their iPhone in bed, or laying on the couch and end up turning on our sides only to have the current item we are reading rotate along with us.  I then end up trying to play a game with the phone on how I can move it slow enough not to trigger a rotation and still be able to read what I wanted to while laying on my side.
<li>Video and Podcast titles are cut off that are too long.  If you download any podcast or video with a title more than 11 characters long, it is truncated on the listing.  Guess what?  Every single video and podcast I&#8217;ve come across has a title longer than that.  The first few words in every video and podcast title appear to rarely have any information relevant to the episode you are wanting to watch.  I can never find particular episodes of videos or podcasts because of this,  unless I happen to know the date of the item.  Please just give us some sort of way to scroll horizontal in the title box to see the rest of the title.
<li>An accurate signal strength indicator.  I&#8217;m not sure if this falls in AT&amp;T&#8217;s lap or not, but my phone seems to have either 2 states, full bars or no bars, and there are countless times when I have full bars that I can&#8217;t make a phone call, send a text or get any data service, but the indicator does not change.
<li>Ok this one is a stretch but&#8230;. The weather icon always says 73 and sunny and I&#8217;m constantly fooled into thinking that&#8217;s the actual weather outside.  It seems like the iPhone supports dynamically changing the app icons as it can add a progress meter during an install and an unread message counter for apps with inboxes/notifications.  It would be nice if the weather icon could dynamically change instead of mocking me all the time.</li>
<li><strong>Edit 12/09/2009: </strong>Would like to see the ability to snooze Calendar events that go off, and also have them accumulate with a count on the calendar icon for unread events that have gone off.
<li>Ability to select &#8220;Emergency&#8221; contacts on your phone to call if phone is locked.  I lock my iPhone and in the event of an emergency or if I lose my iPhone and some good samaritan happens to stumble upon on it, I&#8217;d like the ability to choose a few emergency contacts that can be displayed without having to unlock the phone that can be contacted in an emergency or to return my phone.
</ol>
<p style="text-align: center;"><img class="size-full wp-image-59 aligncenter" title="weather" src="http://blog.justinlintz.com/wp-content/uploads/2009/10/weather.JPG" alt="weather" width="65" height="75" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2009/10/iphone-3-2-wishes/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Reserved block space</title>
		<link>http://blog.justinlintz.com/2009/10/reserved-block-space/</link>
		<comments>http://blog.justinlintz.com/2009/10/reserved-block-space/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 23:17:16 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.justinlintz.com/?p=52</guid>
		<description><![CDATA[<p>Normally when a partition fills up, you remove some files, freeing up some space and watch your disk usage drop in</p> df -h <p>The first time recently I ran into a situation where that wasn&#8217;t the case. I had filled up my root partition and after removing some files and moving some others to <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.justinlintz.com/2009/10/reserved-block-space/">Reserved block space</a></span>]]></description>
			<content:encoded><![CDATA[<p>Normally when a partition fills up, you remove some files, freeing up some space and watch your disk usage drop in</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-h</span></div></div>
<p>The first time recently I ran into a situation where that wasn&#8217;t the case.  I had filled up my root partition and after removing some files and moving some others to another partition I noticed no change in my output of</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-h</span></div></div>
<p>Applications were crashing since they couldn&#8217;t write to the partition but I knew I had removed at least a few GB&#8217;s worth of data.  What gives?</p>
<p>After some frantic googling I stumbled upon something I hadn&#8217;t heard of before, known as &#8220;Reserved blocks&#8221;.  Paraphrasing the man page on tune2fs, Reserved blocks are a set of filesystem blocks set aside for use by privileged processes to avoid fragmentation as well as allow system daemons to function after all available disk space has been used up.  By default the filesystem sets aside 5% of the filesystem during formatting for use in reserved blocks.  If you have a large hard drive, 5% may be a bit much.  You can adjust this amount with the command</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tune2fs <span style="color: #660033;">-mX</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1</div></div>
<p>where X is the percentage you wish to change to and /dev/sda1 is the partition you wish to modify.  In order to get out of the hole I dug myself,  I used the command</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tune2fs <span style="color: #660033;">-r</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1</div></div>
<p>to reset the block count to 0 and thus giving me back my space I had freed up.  Be sure that you have freed up space before running this command, as the reason reserved blocks exist is so in the instance when you have completely filled up your partition, you will still be able to run important daemons and commands without them crashing.  </p>
<p>Maybe I will finally add some monitoring to my own desktop to prevent this from happening to me.  So far I&#8217;ve been bitten by this twice, I noticed each time when pidgin began crashing and firefox wasn&#8217;t saving any cookies when logging into any sites.  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.justinlintz.com/2009/10/reserved-block-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
