<?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>niwos.com</title>
	<atom:link href="http://niwos.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://niwos.com</link>
	<description></description>
	<lastBuildDate>Sun, 17 Apr 2011 14:18:40 +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>Enter Bios Settings and Boot from CDROM with VMware Fusion</title>
		<link>http://niwos.com/2011/04/17/enter-bios-settings-and-boot-from-cdrom-with-vmware-fusion/</link>
		<comments>http://niwos.com/2011/04/17/enter-bios-settings-and-boot-from-cdrom-with-vmware-fusion/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 14:17:50 +0000</pubDate>
		<dc:creator>niwo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://niwos.com/?p=156</guid>
		<description><![CDATA[Today I encountered some problems when I wanted to boot from a pmagic ISO (CDROM) with VMware Fusion: How do you enforce to enter BIOS settings on next boot? There seems to be no option to &#8230; <a class="more-link" href="http://niwos.com/2011/04/17/enter-bios-settings-and-boot-from-cdrom-with-vmware-fusion/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I encountered some problems when I wanted to boot from a pmagic ISO (CDROM) with VMware Fusion:<br />
How do you enforce to enter BIOS settings on next boot?</p>
<p>There seems to be no option to do that from the GUI, but this web site helped me to get back on the track:<br />
<a title="http://raamdev.com/accessing-the-vmware-fusion-bios" href="http://raamdev.com/accessing-the-vmware-fusion-bios" target="_blank">http://raamdev.com/accessing-the-vmware-fusion-bios</a></p>
<p>For those settings you need to edit the .vmx file of your virtual machine directly.</p>
<ul>
<li>Locate your virtual machine&#8217;s location (i.e. ~/Documents/Virtual\ Machines/WinXP/Windows XP Professional.vmwarevm)</li>
<li>Right click the .vmwarevm fiel and &#8220;show package content&#8221;</li>
<li>Open the .vmx file in a text editor (i.e. mate Windows XP Professional.vmx)</li>
<li>Add the setting <strong>bios.forceSetupOnce = &#8220;TRUE&#8221;</strong> at the end of the file</li>
</ul>
<p><a href="http://niwos.com/wp-content/uploads/2011/04/vmx-edit.png"><img class="size-medium wp-image-157 alignnone" title="vmx-edit" src="http://niwos.com/wp-content/uploads/2011/04/vmx-edit-300x225.png" alt="vmx-edit" width="300" height="225" /></a></p>
<p><strong>bios.forceSetupOnce = &#8220;TRUE&#8221;</strong> helped to enter the BIOS settings at boot time but strange enough the boot order options settings within the BIOS where locked.<br />
I ended up adding the setting <strong>bios.bootOrder = &#8220;CDROM&#8221;</strong>, which sets the CDROM as the first boot option within the .vmx file.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://niwos.com/2011/04/17/enter-bios-settings-and-boot-from-cdrom-with-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Ruby readline errors on CentOS</title>
		<link>http://niwos.com/2011/04/15/fixing-ruby-readline-errors-on-centos/</link>
		<comments>http://niwos.com/2011/04/15/fixing-ruby-readline-errors-on-centos/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 12:25:21 +0000</pubDate>
		<dc:creator>niwo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://niwos.com/?p=153</guid>
		<description><![CDATA[Error The following errros may occure if readline is not properly configured on a system: /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- readline (LoadError) Fix Here is the fix: yum install readline-devel -y cd /usr/local/src/ruby-1.9.2-p136/ext/readline/ &#8230; <a class="more-link" href="http://niwos.com/2011/04/15/fixing-ruby-readline-errors-on-centos/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Error</h2>
<p>The following errros may occure if readline is not properly configured on a system:</p>
<div class="codecolorer-container text blackboard" 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">/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- readline (LoadError)</div></div>
<h2>Fix</h2>
<p>Here is the fix:</p>
<div class="codecolorer-container text blackboard" 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">yum install readline-devel -y<br />
cd /usr/local/src/ruby-1.9.2-p136/ext/readline/<br />
ruby extconf.rb<br />
make<br />
sudo make install</div></div>
]]></content:encoded>
			<wfw:commentRss>http://niwos.com/2011/04/15/fixing-ruby-readline-errors-on-centos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Showcase: Resume &amp; Portfolio application using Sinatra</title>
		<link>http://niwos.com/2010/04/17/showcase-resume-portfolio-application-using-sinatra/</link>
		<comments>http://niwos.com/2010/04/17/showcase-resume-portfolio-application-using-sinatra/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 17:39:00 +0000</pubDate>
		<dc:creator>niwo</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://niwos.com/?p=137</guid>
		<description><![CDATA[Over the last few weeks a played around with the lightweight Ruby web framework Sinatra to build a resume and project-portfolio application. The resulting application is still in a early stage but already serves it&#8217;s purpose. If you &#8230; <a class="more-link" href="http://niwos.com/2010/04/17/showcase-resume-portfolio-application-using-sinatra/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks a played around with the lightweight Ruby web framework <a title="Sinatra" href="http://www.sinatrarb.com/">Sinatra</a> to build a resume and project-portfolio application.</p>
<p>The resulting application is still in a early stage but already serves it&#8217;s purpose. If you are interested you can check out the code on <a title="showcase on GitHub" href="http://github.com/niwo/showcase">GitHub</a> or take a look at my <a title="resume.niwos.com" href="http://resume.niwos.com">resume page</a>.</p>
<p><a href="http://resume.niwos.com/en/resume/"><img class="alignnone size-medium wp-image-139" title="showcase_resume" src="http://niwos.com/wp-content/uploads/2010/04/showcase_resume-300x217.png" alt="" width="300" height="217" /></a> <a href="http://resume.niwos.com/en/portfolio/"><img class="alignright size-medium wp-image-140" title="showcase_projects" src="http://niwos.com/wp-content/uploads/2010/04/showcase_projects-300x220.png" alt="" width="300" height="220" /></a></p>
<p>At the moment the application has the following features:</p>
<ul>
<li>support for resume, contact details and project-portfolio</li>
<li>multi language support (using <a title="r18n" href="http://r18n.rubyforge.org/">r18n</a>)</li>
<li>easy configuration over YAML files for data storage</li>
<li>edit your resumes using markdown (using rdiscount)</li>
<li>page caching (using rack-cache)</li>
</ul>
<p>By the way, to get started with Sinatra I can recommend the excellent <a title="Peepcode: MEET SINATRA" href="http://peepcode.com/products/sinatra">screencast</a> from Peepcode.</p>
]]></content:encoded>
			<wfw:commentRss>http://niwos.com/2010/04/17/showcase-resume-portfolio-application-using-sinatra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RVM on OSX Snow Leopard &amp; readline errors</title>
		<link>http://niwos.com/2010/03/19/rvm-on-osx-snow-leopard-readline-errors/</link>
		<comments>http://niwos.com/2010/03/19/rvm-on-osx-snow-leopard-readline-errors/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 17:02:35 +0000</pubDate>
		<dc:creator>niwo</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://niwos.com/?p=132</guid>
		<description><![CDATA[There seems to be an issue with the system readline utility which prevents Rubies installed by rvm from being compiled. A possible fix to this is to install your own version of readline. Errors in the &#8230; <a class="more-link" href="http://niwos.com/2010/03/19/rvm-on-osx-snow-leopard-readline-errors/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There seems to be an issue with the system readline utility which prevents Rubies installed by rvm from being compiled. A possible fix to this is to install your own version of readline.</p>
<p>Errors in the make log:</p>
<div class="codecolorer-container bash blackboard" 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">readline.c: In <span style="color: #000000; font-weight: bold;">function</span> ‘username_completion_proc_call’:<br />
readline.c:<span style="color: #000000;">730</span>: error: ‘username_completion_function’ undeclared <span style="color: #7a0874; font-weight: bold;">&#40;</span>first use <span style="color: #000000; font-weight: bold;">in</span> this <span style="color: #000000; font-weight: bold;">function</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
readline.c:<span style="color: #000000;">730</span>: error: <span style="color: #7a0874; font-weight: bold;">&#40;</span>Each undeclared identifier is reported only once<br />
readline.c:<span style="color: #000000;">730</span>: error: <span style="color: #000000; font-weight: bold;">for</span> each <span style="color: #000000; font-weight: bold;">function</span> it appears in.<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<span style="color: #c20cb9; font-weight: bold;">make</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: <span style="color: #000000; font-weight: bold;">***</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>readline.o<span style="color: #7a0874; font-weight: bold;">&#93;</span> Error <span style="color: #000000;">1</span></div></div>
<p><strong>Your own readline</strong></p>
<p>Compile and install your own readline:</p>
<div class="codecolorer-container bash blackboard" 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">curl <span style="color: #660033;">-O</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.gnu.org<span style="color: #000000; font-weight: bold;">/</span>gnu<span style="color: #000000; font-weight: bold;">/</span>readline<span style="color: #000000; font-weight: bold;">/</span>readline-<span style="color: #000000;">6.1</span>.tar.gz<br />
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf readline-<span style="color: #000000;">6.1</span>.tar.gz<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> readline-<span style="color: #000000;">6.1</span><br />
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><br />
<span style="color: #c20cb9; font-weight: bold;">make</span><br />
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span><br />
<span style="color: #7a0874; font-weight: bold;">cd</span> ..</div></div>
<p><strong>Give rvm another try &#8230;</strong></p>
<p>First you have to remove Ruby versions you tried to compile before:</p>
<div class="codecolorer-container bash blackboard" 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">rvm remove 1.9.1</div></div>
<p>The following command with a reference to the newly installed newline should do the job:</p>
<div class="codecolorer-container bash blackboard" 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">rvm <span style="color: #c20cb9; font-weight: bold;">install</span> 1.9.1 <span style="color: #660033;">-C</span> <span style="color: #660033;">--with-readline-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://niwos.com/2010/03/19/rvm-on-osx-snow-leopard-readline-errors/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Reduce PDF file size on OSX</title>
		<link>http://niwos.com/2010/03/13/reduce-pdf-file-size-on-osx/</link>
		<comments>http://niwos.com/2010/03/13/reduce-pdf-file-size-on-osx/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 15:56:29 +0000</pubDate>
		<dc:creator>niwo</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://niwos.com/?p=120</guid>
		<description><![CDATA[Some days ago I needed to reduce a PDF file to send it by e-mail, but the integrated Quartz-Filter &#8220;Reduce file size&#8221; which is available per default in all programs able to save as or export &#8230; <a class="more-link" href="http://niwos.com/2010/03/13/reduce-pdf-file-size-on-osx/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some days ago I needed to reduce a PDF file to send it by e-mail, but the integrated Quartz-Filter &#8220;Reduce file size&#8221; which is available per default in all programs able to save as or export in the PDF format, was just not giving the results I expected: The file site was largely minimized but Image based pages where just from a very bad quality.</p>
<p>The trouble with the included &#8220;Reduce file size&#8221;-filter is that all pictures in the document are reduced to a size of 512&#215;128 pixels which is often not sufficient for scanned documents.</p>
<p>After some research I found out that it&#8217;s possible to create your own Quartz-Filters which are afterwards available system wide.</p>
<p>Create your own &#8220;Reduce file size&#8221; -Quartz-Filter:</p>
<ol>
<li>open the ColorSync utility and choose &#8220;Filter&#8221;</li>
<li>create a new filter by clicking the &#8220;+&#8221;</li>
<li>add an action to the filter by clicking on the arrow on the right: first a &#8220;picture adaption&#8221; -filter to reduce the file size (I chose to reduce the size by 60%, but you can play around with that)</li>
<li>add a second action to compress all images (I chose JPG and maximal compression)</li>
<li>Voilà &#8211; your new filter is ready and available in the PDF-Viewer Preview</li>
</ol>

<a href='http://niwos.com/2010/03/13/reduce-pdf-file-size-on-osx/bildschirmfoto-2010-03-11-um-15-01-32/' title='creating a filter in the ColorSync utility'><img width="150" height="150" src="http://niwos.com/wp-content/uploads/2010/03/Bildschirmfoto-2010-03-11-um-15.01.32-150x150.png" class="attachment-thumbnail" alt="creating a filter in the ColorSync utility" title="creating a filter in the ColorSync utility" /></a>
<a href='http://niwos.com/2010/03/13/reduce-pdf-file-size-on-osx/bildschirmfoto-2010-03-13-um-17-00-28/' title='selecting the custom filter in the &quot;Save as ...&quot; dialog in Preview'><img width="150" height="150" src="http://niwos.com/wp-content/uploads/2010/03/Bildschirmfoto-2010-03-13-um-17.00.28-150x150.png" class="attachment-thumbnail" alt="selecting the custom filter in the &quot;Save as ...&quot; dialog in Preview" title="selecting the custom filter in the &quot;Save as ...&quot; dialog in Preview" /></a>

<p>With my custom filter I was able to reduce the PDF file size from 4.8 to 1.2 MB and maintain good quality at the same time.</p>
]]></content:encoded>
			<wfw:commentRss>http://niwos.com/2010/03/13/reduce-pdf-file-size-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Riding the tuk-tuk in Varanasi</title>
		<link>http://niwos.com/2009/12/04/riding-the-tuk-tuk-in-varanasi/</link>
		<comments>http://niwos.com/2009/12/04/riding-the-tuk-tuk-in-varanasi/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 18:26:40 +0000</pubDate>
		<dc:creator>niwo</dc:creator>
				<category><![CDATA[travel]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://niwos.com/?p=92</guid>
		<description><![CDATA[Not as crazy as on a airport pickup in Moscow put still a lot of thrill is riding a tuk-tuk in Varanasi.]]></description>
			<content:encoded><![CDATA[<p>Not as crazy as on a airport pickup in Moscow put still a lot of thrill is riding a <a title="Auto ricksha - Wikipedia" href="http://en.wikipedia.org/wiki/Auto_rickshaw">tuk-tuk</a> in Varanasi.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/UjGvoCPCuAA&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/UjGvoCPCuAA&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://niwos.com/2009/12/04/riding-the-tuk-tuk-in-varanasi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

