<?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>gnapse.com &#187; search engine</title>
	<atom:link href="http://gnapse.com/blog/tag/search-engine/feed/" rel="self" type="application/rss+xml" />
	<link>http://gnapse.com/blog</link>
	<description>whatever comes to my mind</description>
	<lastBuildDate>Wed, 02 May 2012 15:08:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Unit Conversion for Alfred and Java</title>
		<link>http://gnapse.com/blog/2012/02/07/unit-conversion-for-alfred/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unit-conversion-for-alfred</link>
		<comments>http://gnapse.com/blog/2012/02/07/unit-conversion-for-alfred/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 22:14:53 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[alfredapp]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[growl]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[unit conversion]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=335</guid>
		<description><![CDATA[Have you ever tried typing unit conversion queries in Google&#8217;s search box? You&#8217;ll get something like this. Imagine if you could that offline, or even be able to have this functionality available to incorporate it in scripts or other programs as well. Imagine you could have this functionality as an extension in Mac&#8217;s AlfredApp. Introducing Metric: [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever tried typing unit conversion queries in Google&#8217;s search box? You&#8217;ll get something like this.</p>
<div id="attachment_336" class="wp-caption aligncenter" style="width: 552px"><a href="http://gnapse.com/blog/wp-content/uploads/2012/02/google-unit-conversion.png"><img class="size-full wp-image-336" title="Google Unit Conversion" src="http://gnapse.com/blog/wp-content/uploads/2012/02/google-unit-conversion.png" alt="Google Unit Conversion" width="542" height="293" /></a><p class="wp-caption-text">Performing unit conversion queries using Google&#39;s search box.</p></div>
<p>Imagine if you could that offline, or even be able to have this functionality available to incorporate it in scripts or other programs as well. Imagine you could have this functionality as an extension in Mac&#8217;s <a title="Alfred App" href="http://www.alfredapp.com/" target="_blank">AlfredApp</a>.</p>
<h2>Introducing Metric: A Unit Conversion Library for Java</h2>
<p>I needed this functionality to develop an extension for Alfred, the most wonderful Mac launcher, and I wanted it to work offline, without having to retrieve the results from Google or another online source. So I created a Java library that&#8217;s capable of performing unit conversion queries expressed in natural English. I called it simply <strong>Metric</strong>, made it open source, and <a href="https://github.com/gnapse/metric" target="_blank">published it on Github</a>. You can clone it, fork it, play with it or contribute back if you will. The code is fairly well documented and organized. The library includes some supporting sub-libraries that may be used independently in other projects, including a plural/singular inflector for the English language.</p>
<h2>Metric meets Alfred</h2>
<p>The original goal of developing a library like <strong>Metric</strong> was to use it as an Alfred extension. Alfred (<a href="http://www.alfredapp.com/" target="_blank">http://www.alfredapp.com/</a>) is a wonderful productivity application for Mac, much like Quicksilver or Google&#8217;s Quick Search Box, but  a little bit better in my opinion. You can grab a copy of Metric as an Alfred extension <a title="Unit Conversion extension for AlfredApp" href="http://cl.ly/340O1y0n0p3c1b2D3n30" target="_blank">here</a>. After you install this extension, you can type unit conversion queries on Alfred using <code>cv</code> as keyword.</p>
<div id="attachment_337" class="wp-caption aligncenter" style="width: 658px"><a href="http://gnapse.com/blog/wp-content/uploads/2012/02/alfred-unit-conversion.png"><img class="size-full wp-image-337" title="Alfred Unit Conversion" src="http://gnapse.com/blog/wp-content/uploads/2012/02/alfred-unit-conversion.png" alt="Unit Conversion with Alfred" width="648" height="190" /></a><p class="wp-caption-text">Performing a unit conversion query with Alfred</p></div>
<p>This Alfred extension shows the results of the conversion using Growl, but I guess if you already have a Mac chances are that you Growl installed. If not, you can get it <a title="Growl" href="http://growl.info/" target="_blank">here</a>.</p>
<h2>Links and resources</h2>
<ul>
<li><a href="https://github.com/gnapse/metric" target="_blank">Metric source code repository on Github</a></li>
<li><a href="http://cl.ly/340O1y0n0p3c1b2D3n30" target="_blank">Unit Conversion extension for AlfredApp</a></li>
<li><a href="http://www.alfredapp.com/" target="_blank">Alfred App</a> and <a href="http://growl.info/" target="_blank">Growl</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2012/02/07/unit-conversion-for-alfred/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The last question</title>
		<link>http://gnapse.com/blog/2009/07/03/the-last-question/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-last-question</link>
		<comments>http://gnapse.com/blog/2009/07/03/the-last-question/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 21:26:26 +0000</pubDate>
		<dc:creator>ernesto</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[artificial intelligence]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[wolfram alpha]]></category>

		<guid isPermaLink="false">http://gnapse.com/blog/?p=38</guid>
		<description><![CDATA[Wolfram Research has released a few weeks ago what could be the first instance of a computational knowledge engine, Wolfram Alpha. By a computational knowledge engine I mean a computing system in which we provide questions in natural language and receive meaningful and correct answers derived from internal knowledge and immense data-banks. According to the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_39" class="wp-caption alignright" style="width: 310px"><a><img class="size-medium wp-image-39" title="wolfram-alpha" src="http://gnapse.com/blog/wp-content/uploads/2009/07/wolfram-alpha-300x201.png" alt="Wolfram Alpha homepage" width="300" height="201" /></a><p class="wp-caption-text">Wolfram Alpha homepage</p></div>
<p><a href="http://www.wolfram.com/" target="_blank">Wolfram Research</a> has released a few weeks ago what could be the first instance of a computational knowledge engine, <a href="http://www.wolframalpha.com/" target="_blank">Wolfram Alpha</a>. By a computational knowledge engine I mean a computing system in which we provide questions in natural language and receive meaningful and correct answers derived from internal knowledge and immense data-banks.</p>
<p>According to the project&#8217;s <a href="http://www.wolframalpha.com/about.html" target="_blank">about page</a></p>
<blockquote><p>Wolfram|Alpha&#8217;s long-term goal is to make all systematic knowledge immediately computable and accessible to everyone. We aim to collect and curate all objective data; implement every known model, method, and algorithm; and make it possible to compute whatever can be computed about anything. Our goal is to build on the achievements of science and other systematizations of knowledge to provide a single source that can be relied on by everyone for <strong>definitive answers to factual queries</strong>.</p></blockquote>
<p>As you can see, this is a work in progress. The system still has shortcomings, but it can already interpret and answer correctly <a href="http://www.wolframalpha.com/gallery.html" target="_blank">many questions</a> from <a href="http://www.wolframalpha.com/examples/" target="_blank">a very diverse range of topics</a>, that are not only limited to exact sciences.<span id="more-38"></span></p>
<p>Here are some examples of funny or insightful questions that amused me for a while&#8230;</p>
<ul>
<li><a href="http://www.wolframalpha.com/input/?i=what+is+wolfram+alpha%3F" target="_blank">What is Wolfram Alpha?</a>, <a href="http://www.wolframalpha.com/input/?i=what+is+your+name%3F" target="_blank">What is your name?</a> or <a href="http://www.wolframalpha.com/input/?i=who+are+you%3F" target="_blank">Who are you?</a></li>
<li><a href="http://www.wolframalpha.com/input/?i=where+are+you%3F" target="_blank">Where are you?</a> and <a href="http://www.wolframalpha.com/input/?i=where+am+i%3F" target="_blank">Where am I?</a></li>
<li><a href="http://www.wolframalpha.com/input/?i=what+is+my+name%3F" target="_blank">What is my name?</a> and <a href="http://www.wolframalpha.com/input/?i=my+name+is+Ernesto" target="_blank">My name is Ernesto</a></li>
<li><a href="http://www.wolframalpha.com/input/?i=what%27s+the+second+largest+country+in+the+world%3F" target="_blank">What&#8217;s the second largest country in the world?</a></li>
<li><a href="http://www.wolframalpha.com/input/?i=milk+and+apple+juice" target="_blank">Milk and apple juice</a> or <a href="http://www.wolframalpha.com/input/?i=milk+vs+apple+juice" target="_blank">Milk vs apple juice</a></li>
</ul>
<p>And before I finish, just as a curiosity, I asked Wolfram Alpha <a href="http://en.wikipedia.org/wiki/The_Last_Question" target="_blank">the last question</a> a few minutes ago&#8230;</p>
<blockquote><p><a title="The last question" href="http://www.wolframalpha.com/input/?i=How+can+the+net+amount+of+entropy+of+the+universe+be+massively+decreased%3F" target="_blank">How can the net amount of entropy of the universe be massively decreased?</a></p></blockquote>
<p>Unfortunately, there&#8217;s still insufficient data for a meaningful answer. The people behind this project have still a lot of work to do.</p>
<p>Kudos for all your great work and for this fine product!</p>
]]></content:encoded>
			<wfw:commentRss>http://gnapse.com/blog/2009/07/03/the-last-question/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

