<?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>High Tech Sorcery &#187; Uncategorized</title>
	<atom:link href="http://hightechsorcery.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://hightechsorcery.com</link>
	<description>technology indistinguishable from magic</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:02:21 +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>various ways of escaping content in ruby</title>
		<link>http://hightechsorcery.com/2011/08/various-ways-of-escaping-content-in-ruby/</link>
		<comments>http://hightechsorcery.com/2011/08/various-ways-of-escaping-content-in-ruby/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 11:08:39 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=296</guid>
		<description><![CDATA[It&#8217;s difficult to keep these all straight: CGI::escapeHMTL ERB::Util::html_escape CGI::escape - replaces URI::escape URI::encode_www_form URI::encode_www_form_component String::inspect]]></description>
			<content:encoded><![CDATA[<div>It&#8217;s difficult to keep these all straight:</div>
<ul>
<li><a href="http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/classes/CGI.html#M000095">CGI::escapeHMTL</a></li>
<li><a href="http://api.rubyonrails.org/classes/ERB/Util.html#method-c-html_escape">ERB::Util::html_escape</a></li>
<li><a href="http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/classes/CGI.html#M000093">CGI::escape</a> - replaces URI::escape</li>
<li><a href="http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI.html#M009393">URI::encode_www_form</a></li>
<li><a href="http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI.html#M009391">URI::encode_www_form_component</a></li>
<li><a href="http://ruby-doc.org/core/classes/String.html#M001153">String::inspect</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/08/various-ways-of-escaping-content-in-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>storing money in decimal fields in MySQL</title>
		<link>http://hightechsorcery.com/2011/06/storing-money-in-decimal-fields-in-mysql/</link>
		<comments>http://hightechsorcery.com/2011/06/storing-money-in-decimal-fields-in-mysql/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 08:51:06 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=284</guid>
		<description><![CDATA[I haven&#8217;t found a lot of advice about what precision values to use for storing money in decimal fields.  Here&#8217;s what I calculated.  The scale is going to be 2 for US currency which requires 1 byte of storage. precision 4, scale 2 = 2 bytes of storage, 99.99 to -99.99 precision 6, scale 2 [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t found a lot of advice about what precision values to use for storing money in decimal fields.  Here&#8217;s what I calculated.  The scale is going to be 2 for US currency which requires 1 byte of storage.</p>
<ul>
<li>precision 4, scale 2 = 2 bytes of storage, 99.99 to -99.99</li>
<li>precision 6, scale 2 = 3 bytes of storage, 9999.99 to -9999.99</li>
<li>precision 8, scale 2 = 4 bytes of storage, 999999.99 to -999999.99 (I&#8217;ve tended to suggest this as a starting point)</li>
<li>precision 11, scale 2 = 5 bytes</li>
<li>precision 13, scale 2 = 6 bytes</li>
<li>precision 15, scale 2 = 7 bytes</li>
<li>precision 17, scale 2 = 8 bytes</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/06/storing-money-in-decimal-fields-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encoding webm with ffmpeg</title>
		<link>http://hightechsorcery.com/2011/03/encoding-webm-with-ffmpeg/</link>
		<comments>http://hightechsorcery.com/2011/03/encoding-webm-with-ffmpeg/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 21:46:07 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=173</guid>
		<description><![CDATA[It was pretty easy.  At it&#8217;s most basic: ffpeg -i infile -f webm outfile.webm Some resources to get fancier: The p-Code Machine » Encoding WebM using ffmpeg [all variants] FFmpeg WebM / VP8 / libvpx parameters? &#8211; Ubuntu Forums]]></description>
			<content:encoded><![CDATA[<p>It was pretty easy.  At it&#8217;s most basic:</p>
<p>ffpeg -i infile -f webm outfile.webm</p>
<p>Some resources to get fancier:</p>
<p><span id="more-173"></span></p>
<ul>
<li><a href="http://blog.pcode.nl/2010/10/17/encoding-webm-using-ffmpeg/">The p-Code Machine » Encoding WebM using ffmpeg</a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=1522381">[all variants] FFmpeg WebM / VP8 / libvpx parameters? &#8211; Ubuntu Forums</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/03/encoding-webm-with-ffmpeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternatives to the ASUS M4A785TD-V EVO</title>
		<link>http://hightechsorcery.com/2011/01/alternatives-to-the-asus-m4a785td-v-evo/</link>
		<comments>http://hightechsorcery.com/2011/01/alternatives-to-the-asus-m4a785td-v-evo/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 21:50:56 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=131</guid>
		<description><![CDATA[There seems to be a small market for consumer motherboards with ECC.  I had planned on purchasing a new system with the ﻿﻿ASUS M4A785TD-V EVO motherboard which got excellent reviews, was reasonably priced, and supported ECC DDR3 memory.  As this motherboard has been discontinued I took some time to find its successor.  I&#8217;m not sure [...]]]></description>
			<content:encoded><![CDATA[<p>There seems to be a small market for consumer motherboards with ECC.  I had planned on purchasing a new system with the ﻿﻿ASUS M4A785TD-V EVO motherboard which got excellent reviews, was reasonably priced, and supported ECC DDR3 memory.  As this motherboard has been discontinued I took some time to find its successor.  I&#8217;m not sure the M4A78T-E counts as a successor but it is a reasonable alternative.  Finding it was somewhat difficult as ECC is not a feature many places seem to list (including <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813131366&amp;cm_re=M4A78T-E-_-13-131-366-_-Product">newegg</a>).  The main difference between the ﻿M4A785TD-V EVO and the M4A78T-E is the chipset combo: AMD 785G/SB710/RADEON 4200 on the former, AMD 790GX/SB750/RADEON 3300 on the latter.  For an additional $50 the ASUS M4A89GTD PRO/USB3 brings a bump to ﻿AMD 890GX/SB850/RADEON 4290 as well as USB 3 and 6Gbps SATA.  That makes it a little more future-proof but as to whether that&#8217;s worth a 50% price jump I&#8217;m skeptical.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2011/01/alternatives-to-the-asus-m4a785td-v-evo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting more entropy for virtual servers</title>
		<link>http://hightechsorcery.com/2010/05/getting-more-entropy-for-virtual-servers/</link>
		<comments>http://hightechsorcery.com/2010/05/getting-more-entropy-for-virtual-servers/#comments</comments>
		<pubDate>Wed, 05 May 2010 03:54:38 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=88</guid>
		<description><![CDATA[It is not uncommon for people to have performance problems with the their virtual servers and chalk it up to virtualization as the problem instead of insufficient entropy.  Running a mail server or SSL web server are particularly vulnerable to virtual servers without much entropy.  I have noticed that my virtual servers have had a [...]]]></description>
			<content:encoded><![CDATA[<p>It is not uncommon for people to have performance problems with the their virtual servers and chalk it up to virtualization as the problem instead of insufficient entropy.  Running a mail server or SSL web server are particularly vulnerable to virtual servers without much entropy.  I have noticed that my virtual servers have had a lot less entropy in the past 6 months or so.  I decided to revisit what simple and effective solutions exist to solve this problem.</p>
<p><span id="more-88"></span>I decided I would do a search for debian and ubuntu packages that could be used without much modification or configuration.</p>
<ul>
<li>reseed &#8211; this pulls random data from random.org.  However, it does this over HTTP so this package should be avoided unless one wanted to rewrite it to use HTTPS.</li>
<li>randomsound &#8211; this pulls random bits from a soundcard.  This is good for a host system with a soundcard but not useful for a virtual server.</li>
<li>rng-tools &#8211; this is supposed to pull from a hardware true random number generator however some people have used /dev/urandom as the source.  This is probably not a good solution.</li>
<li>﻿﻿haveged &#8211; this basically uses interrupt timing to generate random numbers. Not a lot has been written about haveged but it seems like the best easily available solution.  It would be nice to review the quality of the random numbers though.</li>
</ul>
<p>Other options:</p>
<ul>
<li>KVM supposedly has a virtio-rng device which can pull entropy from the host into the guest.  This would still potentially create a need for entropy creation on the host but could be a simpler setup for those using KVM.</li>
<li>It would be pretty easy to write a script to download random bits from random.org using HTTPS.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/05/getting-more-entropy-for-virtual-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chromium Extensions</title>
		<link>http://hightechsorcery.com/2010/04/chromium-extensions/</link>
		<comments>http://hightechsorcery.com/2010/04/chromium-extensions/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 01:31:11 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=82</guid>
		<description><![CDATA[I&#8217;ve been playing with the beta builds of chromium for a while.  There are not nearly as many useful extensions are there are for firefox but these have helped: Copy Without Formatting FlashBlock (there&#8217;s also this FlashBlock, not sure what the practical difference is)]]></description>
			<content:encoded><![CDATA[<div>I&#8217;ve been playing with the beta builds of chromium for a while.  There are not nearly as many useful extensions are there are for firefox but these have helped:</div>
<ul>
<li><a href="https://chrome.google.com/extensions/detail/cekbgkmeapobkbadclnkjfjdbpbcaobd">Copy Without Formatting</a></li>
<li><a href="https://chrome.google.com/extensions/detail/cdngiadmnkhgemkimkhiilgffbjijcie">FlashBlock</a> (there&#8217;s also this <a href="https://chrome.google.com/extensions/detail/gofhjkjmkpinhpoiabjplobcaignabnl">FlashBlock</a>, not sure what the practical difference is)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/04/chromium-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Workbench 5.2.16 Beta 6 has been released</title>
		<link>http://hightechsorcery.com/2010/02/mysql-workbench-5-2-16-beta-6-has-been-released/</link>
		<comments>http://hightechsorcery.com/2010/02/mysql-workbench-5-2-16-beta-6-has-been-released/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 08:31:14 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=66</guid>
		<description><![CDATA[MySQL Workbench 5.2.16 Beta 6 Available]]></description>
			<content:encoded><![CDATA[<p><a title="Permanent Link: MySQL Workbench 5.2.16 Beta 6 Available" rel="bookmark" href="http://wb.mysql.com/?p=507">MySQL Workbench 5.2.16 Beta 6 Available</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/02/mysql-workbench-5-2-16-beta-6-has-been-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Open Source Search Engines with Web Crawling and HTML Indexing</title>
		<link>http://hightechsorcery.com/2010/01/open-source-search-engines-with-web-crawling-and-html-indexing/</link>
		<comments>http://hightechsorcery.com/2010/01/open-source-search-engines-with-web-crawling-and-html-indexing/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 02:48:30 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=20</guid>
		<description><![CDATA[The term search engine is particularly vague.  It can mean an online search engine, or it can mean software that provides something similar to the online search engines, or it can mean software that does fulltext indexing and querying.  I specifically wanted to find a tool that could be used to create a niche search [...]]]></description>
			<content:encoded><![CDATA[<p>The term search engine is particularly vague.  It can mean an online search engine, or it can mean software that provides something similar to the online search engines, or it can mean software that does fulltext indexing and querying.  I specifically wanted to find a tool that could be used to create a niche search engine without having to write the whole thing myself as a ruby on rails app.  Here&#8217;s what I found:</p>
<ul>
<li><a href="http://www.mnogosearch.org/">mnoGoSearch</a> &#8211; seems very actively maintained, packages present in Debian and Ubuntu, written in c</li>
<li><a href="http://www.dataparksearch.org/">DataparkSearch</a> &#8211; seems fairly actively maintained, apparently a branch of mnoGoSearch, written in c</li>
<li><a href="http://lucene.apache.org/nutch/">Nutch</a> &#8211; seems fairly actively maintained,written in java, built on top of Lucene</li>
</ul>
<p>And that&#8217;s really it.  There is a product called ASPseek but it has long since been abandoned.  There is also ht://Dig but it has not been updated in years and is not really in the same league as the above.  So, at least for anyone trying to research this area there are not a whole lot options to try.</p>
<p><span id="more-20"></span>Resources:</p>
<ul>
<li><a href="http://www.webmasterworld.com/forum16/1734.htm">Alternative Search Engines</a></li>
<li><a href="http://www.webmasterworld.com/forum16/1754.htm">Alternative Search Engines</a></li>
<li>A comparison between public-domain search engines &#8211; <a href="http://www.cecmg.de/doc/tagung_2007/agenda07/fileadmin/trilog/download/cecmg_2007/Referenten/Tag1/1C2_CBuzzi_Lazzareschi_Acomparison.pdf">pdf</a>, <a href="http://74.125.155.132/search?q=cache:vaFWJ4M_sigJ:www.cecmg.de/doc/tagung_2007/agenda07/fileadmin/trilog/download/cecmg_2007/Referenten/Tag1/1C2_CBuzzi_Lazzareschi_Acomparison.pdf">html (via google)</a></li>
</ul>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 132px; width: 1px; height: 1px;">
<h1>Alternative Search EnginesAlternative Search Engines</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/01/open-source-search-engines-with-web-crawling-and-html-indexing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another year, another blog</title>
		<link>http://hightechsorcery.com/2010/01/another-year-another-blog/</link>
		<comments>http://hightechsorcery.com/2010/01/another-year-another-blog/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 20:31:54 +0000</pubDate>
		<dc:creator>specialj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hightechsorcery.com/?p=4</guid>
		<description><![CDATA[I believe this is my 6th blog.  So far I have never taken the time to migrate articles from one to another and I am continuing that tradition.  Not so good for the internet perhaps but better for me to not have to take the time to get a migration right.  I may go back [...]]]></description>
			<content:encoded><![CDATA[<p>I believe this is my 6th blog.  So far I have never taken the time to migrate articles from one to another and I am continuing that tradition.  Not so good for the internet perhaps but better for me to not have to take the time to get a migration right.  I may go back and report some of my older content as appropriate though.  I decided to use wordpress this time because I&#8217;m supporting some other wordpress users.  I haven&#8217;t been the biggest wordpress fan in the past but I&#8217;m willing to give it another try.</p>
]]></content:encoded>
			<wfw:commentRss>http://hightechsorcery.com/2010/01/another-year-another-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

