<?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>they.misled.us &#187; programming</title>
	<atom:link href="http://they.misled.us/archives/tag/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://they.misled.us</link>
	<description>Featuring rants unworthy of due consideration. Spell checked, but not proofread</description>
	<lastBuildDate>Mon, 09 Jan 2012 00:50:27 +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>Future of Dark Room</title>
		<link>http://they.misled.us/archives/1738</link>
		<comments>http://they.misled.us/archives/1738#comments</comments>
		<pubDate>Sat, 23 Jul 2011 20:42:33 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Dark Room]]></category>
		<category><![CDATA[focuswriter]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1738</guid>
		<description><![CDATA[Much has changed in the years since Dark Room was originally written, and there are many options available at this time. Thus, the question to be asked is, does continued ...]]></description>
			<content:encoded><![CDATA[<p>Much has changed in the years since Dark Room was originally written, and there are many options available at this time. Thus, the question to be asked is, does continued development of DR make sense? I spent a significant amount of time rewriting the application from scratch to run as an adobe air application. I did this because I was no longer using windows at the time, so dedicating some much time on a .net application did not make a lot of sense, thus a cross platform solution seemed more desirable. Unfortunately, Adobe dropped linux support shortly before the first beta release of the new program. So, I essentially stopped development on it.</p>
<p>I still want to have a cross platform application. I began trying to find new viable options, and I was just about to start a write up in python when I discovered FocusWriter. It is a cross platform distraction free environment, and it uses QT. It&#8217;s written in C++, which I don&#8217;t really like, but I could deal with it. I would almost say it is enough to use FocusWriter, but it is missing some key functionality from Dark Room I couldn&#8217;t live without. Therefore, at this point I am seriously considering forking FocusWriter in order to add in the additional Dark Room functionality.</p>
<p>Thoughts?</p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1738/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Absolute Pricing in Magento</title>
		<link>http://they.misled.us/archives/1293</link>
		<comments>http://they.misled.us/archives/1293#comments</comments>
		<pubDate>Wed, 14 Oct 2009 23:00:53 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[magneto]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1293</guid>
		<description><![CDATA[For some reason, Magento will only allow you to show the difference an option will have on the price of a configurable product. For example, if you are selling a ...]]></description>
			<content:encoded><![CDATA[<p>For some reason, Magento will only allow you to show the difference an option will have on the price of a configurable product. For example, if you are selling a shirt for $15, but the extra larges cost $17, the extra large option would show (+$2). And, while this makes sense to me, it does not make sense to everyone. So, some clients prefer to have absolutely pricing in the options. In this case, the example above would show $17 for the extra large option.</p>
<p>People have been working on solutions for this on the boards for a while. However, they all involved editing core files, and a lot of them. I try never to edit core files, just because of the nightmares it creates in upgrading. And, I did not want to put the time investment into writing a whole module for it. So, I just whipped up a script to change the presentation to absolute.</p>
<p>You can view my solution, as well as many others on the relevant thread over on the magneto forums:</p>
<p><a href="http://www.magentocommerce.com/boards/viewreply/182869/">http://www.magentocommerce.com/boards/viewreply/182869/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1293/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 6 Magic CSS Hack</title>
		<link>http://they.misled.us/archives/1289</link>
		<comments>http://they.misled.us/archives/1289#comments</comments>
		<pubDate>Wed, 14 Oct 2009 18:37:56 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1289</guid>
		<description><![CDATA[This little line of code put into a conditional stylesheet for IE6 will work wonders: * html div {overflow-x: hidden;}]]></description>
			<content:encoded><![CDATA[<p>This little line of code put into a conditional stylesheet for IE6 will work wonders:</p>
<p><code>* html div {overflow-x: hidden;}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1289/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shadowbox is Undefined</title>
		<link>http://they.misled.us/archives/1286</link>
		<comments>http://they.misled.us/archives/1286#comments</comments>
		<pubDate>Wed, 14 Oct 2009 18:28:47 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[shadowbox]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1286</guid>
		<description><![CDATA[If you are experiencing this error in Internet Explorer, I think it is related to bug in the base Shadowbox adapter. So, I like to solve this by using the ...]]></description>
			<content:encoded><![CDATA[<p>If you are experiencing this error in Internet Explorer, I think it is related to bug in the base Shadowbox adapter. So, I like to solve this by using the jquery adapter. If you are using version 3.0b, this can be done simply by loading jquery before loading shadowbox. I like to pull jquery from google&#8217;s CDN, which can be accomplished with the following line:</p>
<p><code><br />
&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1286/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Scaffolding Theme (Symfony)</title>
		<link>http://they.misled.us/archives/1192</link>
		<comments>http://they.misled.us/archives/1192#comments</comments>
		<pubDate>Mon, 31 Aug 2009 06:15:20 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[symfony]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1192</guid>
		<description><![CDATA[Copy the default theme from [sfPropelPlugin]data/generator/sfPropelCrud/default/theme to data/generator/sfPropelCrud/default/theme Edit the files in data/generator/sfPropelCrud/default/theme/templates as you would with an admin template. Generate like usual: ./symfony propel:generate-crud [app] [module] [base] Derived from: ...]]></description>
			<content:encoded><![CDATA[<p>Copy the default theme from</p>
<p><code>[sfPropelPlugin]data/generator/sfPropelCrud/default/theme</code></p>
<p>to</p>
<p><code>data/generator/sfPropelCrud/default/theme</code></p>
<p>Edit the files in data/generator/sfPropelCrud/default/theme/templates as you would with an admin template.</p>
<p>Generate like usual: <code>./symfony propel:generate-crud [app] [module] [base]</code></p>
<p>Derived from: <a href="http://www.playingwithwire.com/2007/02/review-of-the-definitive-guide-to-symfony/">http://www.playingwithwire.com/2007/02/review-of-the-definitive-guide-to-symfony/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1192/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP UUID generator function</title>
		<link>http://they.misled.us/archives/1190</link>
		<comments>http://they.misled.us/archives/1190#comments</comments>
		<pubDate>Mon, 31 Aug 2009 06:12:49 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1190</guid>
		<description><![CDATA[Via: http://www.ajaxray.com/blog/2008/02/06/php-uuid-generator-function/ /** * Generates an UUID * * @author Anis uddin Ahmad * @param string an optional prefix * @return string the formatted uuid */ function uuid($prefix = ”) ...]]></description>
			<content:encoded><![CDATA[<p>Via: <a href="http://www.ajaxray.com/blog/2008/02/06/php-uuid-generator-function/">http://www.ajaxray.com/blog/2008/02/06/php-uuid-generator-function/</a></p>
<pre>/**
  * Generates an UUID
  *
  * @author     Anis uddin Ahmad
  * @param      string  an optional prefix
  * @return     string  the formatted uuid
  */
  function uuid($prefix = ”)
  {
    $chars = md5(uniqid(rand()));
    $uuid  = substr($chars,0,8) . '-';
    $uuid .= substr($chars,8,4) . '-';
    $uuid .= substr($chars,12,4) . '-';
    $uuid .= substr($chars,16,4) . '-';
    $uuid .= substr($chars,20,12);

    return $prefix . $uuid;
  }</pre>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1190/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Force A Secure Page Using PHP</title>
		<link>http://they.misled.us/archives/1188</link>
		<comments>http://they.misled.us/archives/1188#comments</comments>
		<pubDate>Mon, 31 Aug 2009 06:09:10 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1188</guid>
		<description><![CDATA[Via: http://php.dzone.com/news/force-secure-page-using-php //force redirect to secure page if($_SERVER['SERVER_PORT'] != '443') { header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit(); }]]></description>
			<content:encoded><![CDATA[<p>Via: <a href="http://php.dzone.com/news/force-secure-page-using-php">http://php.dzone.com/news/force-secure-page-using-php</a></p>
<pre>//force redirect to secure page
if($_SERVER['SERVER_PORT'] != '443') { header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit(); }</pre>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1188/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove .svn Folders from Project</title>
		<link>http://they.misled.us/archives/1183</link>
		<comments>http://they.misled.us/archives/1183#comments</comments>
		<pubDate>Mon, 31 Aug 2009 06:05:30 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1183</guid>
		<description><![CDATA[Navigate to the root of the projects, and execute the following command: find . -name '.svn' -exec 'rm -rf' {} \; NOTE: You can also used &#8220;svn export source destination&#8221;]]></description>
			<content:encoded><![CDATA[<p>Navigate to the root of the projects, and execute the following command:</p>
<p><code>find . -name '.svn' -exec 'rm -rf' {} \;</code></p>
<p>NOTE: You can also used &#8220;svn export source destination&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1183/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Best TextMate Theme</title>
		<link>http://they.misled.us/archives/1180</link>
		<comments>http://they.misled.us/archives/1180#comments</comments>
		<pubDate>Mon, 31 Aug 2009 06:03:26 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1180</guid>
		<description><![CDATA[The guy over at InfiniteRed blessed the community with the black theme Read More @ IR]]></description>
			<content:encoded><![CDATA[<p>The guy over at InfiniteRed blessed the community with the <a href="http://www.infinitered.com/settings/IR_Black.tmTheme.zip">black theme</a></p>
<p><a href="http://www.infinitered.com/blog/?p=8">Read More @ IR</a></p>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1180/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Custom Domain to HOST file on OS X (Leopard)</title>
		<link>http://they.misled.us/archives/1176</link>
		<comments>http://they.misled.us/archives/1176#comments</comments>
		<pubDate>Mon, 31 Aug 2009 05:55:37 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://they.misled.us/?p=1176</guid>
		<description><![CDATA[Open Terminal.app Type: sudo vim /etc/hosts Hit return Type your password when prompted for it Press i (this will put in into insertion mode) Scroll down to a blank line ...]]></description>
			<content:encoded><![CDATA[<ol>
<li>Open Terminal.app</li>
<li>Type: <code>sudo vim /etc/hosts</code></li>
<li>Hit return</li>
<li>Type your password when prompted for it</li>
<li>Press i (this will put in into insertion mode)</li>
<li>Scroll down to a blank line</li>
<li>Type in the ip and domain for the site you want to redirect using the following format:   (i.e. <code>127.0.0.1 blueoceanlabs.com</code>)</li>
<li>Press escape</li>
<li>Type <code>:wq</code> (this saves and quit vim)</li>
<li>Type: <code>dscacheutil -flushcache</code></li>
<li>Hit return</li>
<li>Test the domain in your browser, should point to new server</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://they.misled.us/archives/1176/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
