<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>George Slavov&#039;s Blog</title>
	<atom:link href="http://georgeslavov.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://georgeslavov.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 29 Aug 2011 04:56:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='georgeslavov.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>George Slavov&#039;s Blog</title>
		<link>http://georgeslavov.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://georgeslavov.wordpress.com/osd.xml" title="George Slavov&#039;s Blog" />
	<atom:link rel='hub' href='http://georgeslavov.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Newegg experience: *very* negative</title>
		<link>http://georgeslavov.wordpress.com/2011/06/26/newegg-experience-very-negative/</link>
		<comments>http://georgeslavov.wordpress.com/2011/06/26/newegg-experience-very-negative/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 06:53:43 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.wordpress.com/?p=275</guid>
		<description><![CDATA[Last week I ordered a complete set of parts from Newegg to assemble a desktop computer. I was able to get very good deals for cheap and was awaiting the shipment with bated breath. It arrived this Wednesday, June 22, and I immediately started putting it together. First thing I realized: I was only sent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=275&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week I ordered a complete set of parts from Newegg to assemble a desktop computer. I was able to get very good deals for cheap and was awaiting the shipment with bated breath. It arrived this Wednesday, June 22, and I immediately started putting it together. First thing I realized: I was only sent 1 SATA cable and I needed to connect a hard drive and a CD drive. That might have been my fault. Who knows. I would have certainly appreciated it if the web site had warned me of my stupid oversight, but that&#8217;s a very small complaint in view of the larger issue.</p>
<p>Later in the process, I was about to insert the CD drive into one of the outward facing slots. It didn&#8217;t quite fit, and I noticed the metal framework of the CD drive was bent out of shape a little. I assumed it was a cosmetic problem and just pushed the dent back in, so that the drive slid snugly into the case. I didn&#8217;t get to use it that evening because I didn&#8217;t have a cable to connect it. Tonight I was able to try it out though. It gave out such a heart-wrenching noise when I fed it a CD that I jumped out of my seat. It was worse than nails on a chalkboard. Needless to say, it didn&#8217;t read the CD. There must have been some mechanical damage to it after all.</p>
<p>Back to my story: instead of installing the OS from a CD, I had to find a way to install it from a spare external hard drive I had. I figured out how to do that. It wasn&#8217;t too hard. The trick is that it has to be a FAT32 file system because the BIOS wouldn&#8217;t read anything else, and in order to get a FAT32 file system you need the volume to have a pretty small size. I don&#8217;t know exactly how large, but certainly not the whole 250 GB my hard drive had. That didn&#8217;t work. I created a partition only large enough to fit the install files: around 5 GB.</p>
<p>Anyway, I got to use my new machine on Wednesday night and I was beside myself with joy. It was working like a charm. The next morning, I started transferring about 100 GB from my old computer. The machine froze partway through the process and wouldn&#8217;t respond to any input. A hard reboot later, the BIOS told me that the hard drive has failed according to <a href="http://en.wikipedia.org/wiki/S.M.A.R.T.">S.M.A.R.T.</a> and it needed to be replaced. So much for my happiness. Newegg&#8217;s return process is as long as it can possibly be so that they can avoid any possibility of being swindled. I have to send in the hard drive first, then they&#8217;ll look at it, and only then will they send me a new one. They assure me each of these steps will take some number of days, and their sum seems to be about 2 weeks. Great. I have this wonderful machine next to my desk, and it&#8217;s worthless to me for another 2 weeks.</p>
<p>Now, It&#8217;s not really too hard for me to wait a little longer, but there is a catch. Newegg&#8217;s return policy states that I must return everything within 30 days of the invoice date. Funny how these days are measured in actual days whereas all of Newegg&#8217;s days are measured in business days. Whatever. The kicker is that now that I have sent in my hard drive, I have to wait two weeks. Meanwhile, I can&#8217;t really put the other parts to use to make sure they&#8217;re all in perfect working order until I can get a hard drive! These 30 days <strong>will not</strong> be extended on account of the failed hard drive, so basically by the time this new hard drive arrives, this trial period will have expired. What&#8217;s more, by my reading of the terms, if the replacement hard drive were to fail in a similar way to the last one, I will have no recourse but to buy a new one because the 30 days are up.</p>
<p>I am pretty upset about all this and I don&#8217;t think I&#8217;ll be using Newegg again. It might not be their fault that UPS banged up the shipment well enough to destroy the only two devices in it that have moving parts, but Newegg&#8217;s return process is not robust enough to deal with that possibility. It&#8217;s too much of a risk to take. I&#8217;m not planning on asking for a replacement CD drive because that only cost $20 and I don&#8217;t feel like dealing with the return process anymore. They ask that I return it in the original packaging &#8220;with all accessories&#8221;. Well, the CD drive came with no accessories and it was just bubble-wrapped and thrown in a much bigger box with other things. I&#8217;m not going to go look for packing material and boxes. I&#8217;m done. I&#8217;ll find a CD drive elsewhere. It&#8217;s next to worthless as a part in today&#8217;s computer world anyway.</p>
<p>Enough ranting.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=275&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2011/06/26/newegg-experience-very-negative/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>New version of Snarl Notifications for Winamp</title>
		<link>http://georgeslavov.wordpress.com/2011/06/20/new-version-of-snarl-notifications-for-winamp/</link>
		<comments>http://georgeslavov.wordpress.com/2011/06/20/new-version-of-snarl-notifications-for-winamp/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 18:00:31 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.wordpress.com/?p=269</guid>
		<description><![CDATA[I have made a couple of improvements on the old version. Download here. Snarl usually requires an app to register itself with Snarl, which I didn&#8217;t do. As such, you had no control over how long notifications should stay on your screen because Winamp didn&#8217;t show in the Apps tab from within Snarl&#8217;s preferences. Well [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=269&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have made a couple of improvements on the old version. <a href="https://sourceforge.net/projects/winampsnarl/files/" target="_blank">Download here</a>.</p>
<p>Snarl usually requires an app to register itself with Snarl, which I didn&#8217;t do. As such, you had no control over how long notifications should stay on your screen because Winamp didn&#8217;t show in the Apps tab from within Snarl&#8217;s preferences. Well now it does. I tested it, and it works. You can set the notifications to stay for 10 seconds. The default remains 3. These settings can be found within Snarl, not in Winamp&#8217;s plugin settings dialog.</p>
<p>Another very nice addition I&#8217;ve made is that I now use Snarl&#8217;s ability to update notifications that are already visible, so that if you find yourself skipping multiple songs, you won&#8217;t flood your screen with Winamp notifications. The same one will keep getting updated. This was the motivation for resurrecting the source code.</p>
<p>One additional thing: if installing the new version of gen_snarl causes your Winamp to crash, then you have to download and install the <a href="http://www.microsoft.com/download/en/details.aspx?id=5555" target="_blank">Visual Studio 2010 C++ Redistributable package</a>. There is a chance you already have it installed, especially if you&#8217;re running Windows 7 (I believe). Installing it won&#8217;t hurt any other piece of software on your computer, I promise!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=269&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2011/06/20/new-version-of-snarl-notifications-for-winamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Boost.DateTime to parse a tweet&#8217;s timestamp</title>
		<link>http://georgeslavov.wordpress.com/2011/06/08/using-boost-datetime-to-parse-a-tweets-timestamp/</link>
		<comments>http://georgeslavov.wordpress.com/2011/06/08/using-boost-datetime-to-parse-a-tweets-timestamp/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 01:08:26 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.wordpress.com/?p=257</guid>
		<description><![CDATA[Here is a sample tweet timestamp as requested through their API. Thu Jun 09 00:06:02 +0000 2011 In order to parse this tweet using the Boost Date Time library, we can use the following code. The output is Time: 2011-Jun-09 00:06:02 Adjusted for time zone: 2011-Jun-08 20:06:02 Time elapsed since then: 55 minutes Press any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=257&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a sample tweet timestamp as requested through their API.</p>
<blockquote><p>Thu Jun 09 00:06:02 +0000 2011</p></blockquote>
<p>In order to parse this tweet using the Boost Date Time library, we can use the following code.</p>
<p><pre class="brush: cpp;">
#define BOOST_ALL_DYN_LINK
#include &lt;iostream&gt;
#include &lt;boost/date_time/posix_time/posix_time.hpp&gt;
#include &lt;boost/date_time/posix_time/posix_time_duration.hpp&gt;
#include &lt;boost/date_time/c_local_time_adjustor.hpp&gt;

int main()
{
    using namespace boost::posix_time;
    std::string format = &quot;%a %b %d %H:%M:%S +0000 %Y&quot;;
    std::string tweetTimeString = &quot;Thu Jun 08 00:06:02 +0000 2011&quot;;
    ptime tweetTime;

    time_input_facet facet(format, 1);

    std::stringstream ss(tweetTimeString); 
    ss.imbue(std::locale(ss.getloc(), &amp;facet));
    ss &gt;&gt; tweetTime;

    std::cout &lt;&lt; &quot;Time: &quot; &lt;&lt; tweetTime &lt;&lt; std::endl; 
    
    typedef boost::date_time::c_local_adjustor&lt;ptime&gt; local_adj;
    ptime adjusted = local_adj::utc_to_local(tweetTime);
    std::cout &lt;&lt; &quot;Adjusted for time zone: &quot; &lt;&lt; adjusted &lt;&lt; std::endl;

    ptime now(second_clock::local_time());
    time_duration elapsed = now - adjusted;
    std::stringstream elapsedString;
    if (elapsed.hours() &lt; 1)
        elapsedString &lt;&lt; elapsed.minutes() &lt;&lt; &quot; minutes&quot;;
    else
        elapsedString &lt;&lt; elapsed.hours() &lt;&lt; &quot; hours&quot;;
    std::cout &lt;&lt; &quot;Time elapsed since then: &quot; &lt;&lt; elapsedString.str() &lt;&lt; std::endl;
}
</pre><br />
The output is</p>
<blockquote><p>Time: 2011-Jun-09 00:06:02<br />
Adjusted for time zone: 2011-Jun-08 20:06:02<br />
Time elapsed since then: 55 minutes<br />
Press any key to continue . . .</p></blockquote>
<p>Pretty neat, isn&#8217;t it? The code is pretty readable, too. The adjustment I&#8217;m talking about is a translation from UTC to my local timezone which is EDT. I have not found a good way to deal with the UTC offset, but from what I can tell, Twitter will always give me UTC timestamps, which is why I just hardcoded +0000 into the format string. I might have to fix this later though.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=257&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2011/06/08/using-boost-datetime-to-parse-a-tweets-timestamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>eBay extortion</title>
		<link>http://georgeslavov.wordpress.com/2010/04/15/ebay-extortion/</link>
		<comments>http://georgeslavov.wordpress.com/2010/04/15/ebay-extortion/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 13:53:37 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/2010/04/15/ebay-extortion/</guid>
		<description><![CDATA[I signed up for an eBay account. During the sign-up, I disabled all the email notifications. I received spam. I clicked on the &#8220;unsubscribe to this kind of email&#8221; at bottom of the email. Still got spam. Note the &#8220;this kind of email.&#8221; 1 out of 100 kinds? I don&#8217;t know. I went to try [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=255&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I signed up for an eBay account. During the sign-up, I disabled all the email notifications. I received spam. I clicked on the &#8220;unsubscribe to this kind of email&#8221; at bottom of the email. Still got spam. Note the &#8220;this kind of email.&#8221; 1 out of 100 kinds? I don&#8217;t know. I went to try to close my account. It takes 180 days from the time you request its closure! Unbelievable! I hate you.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=255&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/04/15/ebay-extortion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>Cross Compiling Madness</title>
		<link>http://georgeslavov.wordpress.com/2010/03/31/cross-compiling-madness/</link>
		<comments>http://georgeslavov.wordpress.com/2010/03/31/cross-compiling-madness/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 03:19:39 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/2010/03/31/cross-compiling-madness/</guid>
		<description><![CDATA[Last night I attempted to build a GCC cross-compiler from Windows to GNU/Linux. I had done it before, but in that instance I used Cygwin, which made the process much easier, but the resulting binaries were extremely slow, and I couldn&#8217;t help but wonder if creating a native build of the cross-compiler would be faster. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=254&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last night I attempted to build a GCC cross-compiler from Windows to GNU/Linux. I had done it before, but in that instance I used Cygwin, which made the process much easier, but the resulting binaries were extremely slow, and I couldn&#8217;t help but wonder if creating a native build of the cross-compiler would be faster. The most &#8216;native&#8217; one can do is to use MSYS and MinGW32.</p>
<p>I attempted to do that last night, but I ran into an error that I couldn&#8217;t diagnose, let alone fix, so now I&#8217;m opting for an extra bit of adventure. I&#8217;m going to attempt to build the cross compiler on a GNU/Linux machine, so that the build system has access to a complete and conformant UNIX shell. In order to do that, I will use a cross-compiler from GNU/Linux to Windows. Tomorrow I&#8217;ll tell you how it went.</p>
<p>Let the fun begin!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=254&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/03/31/cross-compiling-madness/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>Disturbing advertisement</title>
		<link>http://georgeslavov.wordpress.com/2010/03/31/disturbing-advertisement/</link>
		<comments>http://georgeslavov.wordpress.com/2010/03/31/disturbing-advertisement/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 14:01:05 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/2010/03/31/disturbing-advertisement/</guid>
		<description><![CDATA[This is by far the most disturbing thing I have seen on the Internet &#8211; a private company that can supply you with information, which even when in the hands of the government sends a slight chill down my spine.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=253&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://georgeslavov.files.wordpress.com/2010/03/disturbing-advertisement.png?w=510" alt="" title="disturbing-advertisement"   class="aligncenter size-full wp-image-252" /></p>
<p>This is by far the most disturbing thing I have seen on the Internet &#8211; a private company that can supply you with information, which even when in the hands of the government sends a slight chill down my spine.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=253&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/03/31/disturbing-advertisement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>

		<media:content url="http://georgeslavov.files.wordpress.com/2010/03/disturbing-advertisement.png" medium="image">
			<media:title type="html">disturbing-advertisement</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Designer 2007 over https doesn&#8217;t work</title>
		<link>http://georgeslavov.wordpress.com/2010/03/22/sharepoint-designer-2007-over-https-doesnt-work/</link>
		<comments>http://georgeslavov.wordpress.com/2010/03/22/sharepoint-designer-2007-over-https-doesnt-work/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 15:26:34 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/?p=250</guid>
		<description><![CDATA[Just a heads up to all those who have the misfortune of having to deal with Windows SharePoint Services 3.0: do not attempt to make modifications to your web pages by opening the site in SharePoint Designer 2007 over https://. Use http instead and hope that no one in your intranet is listening in on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=250&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a heads up to all those who have the misfortune of having to deal with Windows SharePoint Services 3.0: do not attempt to make modifications to your web pages by opening the site in SharePoint Designer 2007 over https://. Use http instead and hope that no one in your intranet is listening in on your login transaction.</p>
<p>When I attempted to use https, some settings wouldn&#8217;t take effect when I saved them, and I couldn&#8217;t use the Insert -&gt; SharePoint control -&gt; Custom List Form.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=250&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/03/22/sharepoint-designer-2007-over-https-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>Winamp on Vista. Possible new side project.</title>
		<link>http://georgeslavov.wordpress.com/2010/02/14/winamp-on-vista-possible-new-side-project/</link>
		<comments>http://georgeslavov.wordpress.com/2010/02/14/winamp-on-vista-possible-new-side-project/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 04:37:49 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/?p=245</guid>
		<description><![CDATA[This weekend I reformatted my system. I took the opportunity to give Vista a shot. So far I have been quite pleasantly surprised, considering how old my hardware is. We&#8217;ll see how it goes. In any event, I was in the middle of reinstalling all the software that I&#8217;m used to having, and when I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=245&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This weekend I reformatted my system. I took the opportunity to give Vista a shot. So far I have been quite pleasantly surprised, considering how old my hardware is. We&#8217;ll see how it goes. In any event, I was in the middle of reinstalling all the software that I&#8217;m used to having, and when I got to Winamp, I was taken aback by the experience. Winamp suddenly does not like Cyrillic, takes up tons of CPU during playback of MP3s, and has very annoying graphical glitches. Any one of these would normally leave me with a bad aftertaste.</p>
<p>I wanted to see if the CPU issue would present itself in another music player, and seeing as how Windows comes with Windows Media Player, I tried that. It didn&#8217;t have the problem, so I kept listening to music with it. Then I noticed that, of course, it doesn&#8217;t work with Snarl, and I was surprised to find that no plugin with that functionality exists. I set out to see what it would take to write such a plugin, and boy is it hairy! There are a lot of ins and outs to it, and I spent approximately 5 hours Googling, reading and piecing together information just so I can set up a build environment with which I can write the plugin. I think I am basically done at this point, but I have no idea if I&#8217;ll figure out how to listen to the right events and forward them to Snarl. More to come.</p>
<p>Truthfully, while WMP is not a very full-featured player, and its international text support for tags is not compatible with any other player (though it does support writing non-Latin characters), it looks awesome in Vista with Aero enabled. It also has a very nice view of albums. I don&#8217;t think I&#8217;ll be able to handle it for long, but I&#8217;ll keep it around for a while. Let&#8217;s try the full Vista experience, I say.</p>
<div id="attachment_247" class="wp-caption aligncenter" style="width: 520px"><a href="http://georgeslavov.files.wordpress.com/2010/02/wmp_screenshot.jpg"><img class="size-full wp-image-247" title="WMP_screenshot" src="http://georgeslavov.files.wordpress.com/2010/02/wmp_screenshot.jpg?w=510&#038;h=338" alt="" width="510" height="338" /></a><p class="wp-caption-text">Here&#39;s what I meant when I said I liked the album view.</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=245&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/02/14/winamp-on-vista-possible-new-side-project/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>

		<media:content url="http://georgeslavov.files.wordpress.com/2010/02/wmp_screenshot.jpg" medium="image">
			<media:title type="html">WMP_screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>A Cryptography Idea I Had is Actually Reality</title>
		<link>http://georgeslavov.wordpress.com/2010/02/11/a-cryptography-idea-i-had-is-actually-reality/</link>
		<comments>http://georgeslavov.wordpress.com/2010/02/11/a-cryptography-idea-i-had-is-actually-reality/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:46:11 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/?p=240</guid>
		<description><![CDATA[Some time ago I had this idea on the subject of cryptography. Imagine a spy behind enemy lines who uses some sort of cipher to encrypt the data on his computer. Now, of course, if that computer was to fall into the wrong hands, we can reasonably assume that the data will remain safe if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=240&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some time ago I had this idea on the subject of cryptography. Imagine a spy behind enemy lines who uses some sort of cipher to encrypt the data on his computer. Now, of course, if that computer was to fall into the wrong hands, we can reasonably assume that the data will remain safe if the password is not &#8216;Love&#8217;, &#8216;Secret&#8217;, &#8216;Sex&#8217; or &#8216;God&#8217;,  like in the movie <a href="http://www.imdb.com/title/tt0113243/" target="_blank">Hackers</a> &#8211; at least that&#8217;s what cryptographers will have us believe. However, in the event that the spy is captured along with the computer, the captors would not even bother to do a brute-force attack. They will simply beat the living soul out of the poor spy until he or she turns over the password. I don&#8217;t think people stand up well under torture, no matter their training.</p>
<p>So here&#8217;s where my idea comes in. What if a single contiguous file representing a virtual hard disk volume could be encrypted in such a way as to allow two passwords to decrypt it? One password would reveal the true data, and the other would reveal harmless or, better yet, misleading information. If this were possible, the spy would feel free to reveal the dummy password somewhere into the 24<sup>th</sup> hour of torture (so that he or she doesn&#8217;t arouse suspicion). I don&#8217;t know if this makes good tactical sense, but it is certainly a clever way to get off the hook and buy yourself some time.</p>
<p>When I came up with this, I had no idea if it was technically possible. It is crucial that such double encryption be undetectable and that the knowledge of the dummy password is not enough to give you access to the true data. Well, it turns out that not only is this scheme possible, but it has already been implemented. I just found out about it. You can get your very own kit for buying time under torture by downloading, installing and setting up <a href="http://www.truecrypt.org/" target="_blank">TrueCrypt</a> — open-source encryption software. It can encrypt whole partitions, even the ones where your <abbr title="Operating System">OS</abbr> resides, and it works on Windows.</p>
<p>By the way, I&#8217;m not playing with TrueCrpyt because I&#8217;m afraid I&#8217;ll find myself at the receiving end of torture. I just think cryptography is really cool.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=240&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/02/11/a-cryptography-idea-i-had-is-actually-reality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>
	</item>
		<item>
		<title>Hacking on Tomboy</title>
		<link>http://georgeslavov.wordpress.com/2010/02/03/hacking-on-tomboy/</link>
		<comments>http://georgeslavov.wordpress.com/2010/02/03/hacking-on-tomboy/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 23:29:36 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tomboy]]></category>

		<guid isPermaLink="false">http://georgeslavov.com/?p=233</guid>
		<description><![CDATA[For the past few days I&#8217;ve been hacking on Tomboy. For those of you who don&#8217;t know, Tomboy is a note-taking application from the land of Linux. It&#8217;s extremely well done because it has a very minimalist user interface and does exactly what it advertises. I just press Ctrl + Shift + N, and a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=233&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For the past few days I&#8217;ve been hacking on <a href="http://projects.gnome.org/tomboy/" target="_blank">Tomboy</a>. For those of you who don&#8217;t know, Tomboy is a note-taking application from the land of Linux. It&#8217;s extremely well done because it has a very minimalist user interface and does exactly what it advertises. I just press <em>Ctrl + Shift + N</em>, and a new note appears on my screen. I type whatever I have to jot down and then close the window. There is no need to press save or to say where you want the note to be stored. That&#8217;s what the program is for. There are tons of really nice features that you don&#8217;t even notice at first. I highly recommend it for people who are looking for something like this.</p>
<p>It was written using Mono C# and was, for the most part, gracefully ported over to Windows. However, the UI toolkit it uses is GTK+, which I have found to be very subtly broken on Windows, with bugs that are difficult to reproduce. I&#8217;ll just give one example. Tomboy has a tray icon which you can click on, and a menu pops up with a list of your recent notes. If you decide against opening any notes, you might want to click elsewhere on the screen to make the menu go away. You&#8217;ll be out of luck though. It won&#8217;t go away. <a href="https://bugzilla.gnome.org/show_bug.cgi?id=377416" target="_blank">This bug</a> was reported to the GTK+ team in November 2006, and it&#8217;s still not fixed.</p>
<p>Thankfully, a knowledgeable figure by the name of<span class="bz_comment_user"><span class="vcard"> <span class="fn">Raphaël  Godart</span> found a way </span></span>to work around this bug. I tested his patch yesterday, debugged a couple of issues with it, and turned it back in to the Tomboy team. Hopefully it will be included in the next stable release. I, however, can take advantage of the patch straight away, which is awesome.</p>
<p>One last cool thing about Tomboy.</p>
<p><a href="http://georgeslavov.files.wordpress.com/2010/02/tomboy-latex.png"><img class="aligncenter size-full wp-image-234" title="Tomboy-LaTeX" src="http://georgeslavov.files.wordpress.com/2010/02/tomboy-latex.png?w=510" alt="An addin that lets you type math equations in Tomboy using LaTeX."   /></a></p>
<p>What you see here is a note where I have typed a bit of math. You input it by writing LaTeX code surrounded by \[  \], and when you move away from the code, Tomboy automagically turns the code into a picture. Placing the cursor over the picture turns it back into code for you to modify. It took a bit of effort on my part to get this addin to work on Windows. I hope to finish it up and send my work back to the author, so others can use this.</p>
<p>I used to take notes in math class using LaTeX. At the end of one semester of class, I had 39 pages of notes in a <em>pdf</em> file. Having the notes in Tomboy would have been much cooler though. And more organized.</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;overflow:hidden;">https://bugzilla.gnome.org/show_bug.cgi?id=377416</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/georgeslavov.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/georgeslavov.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/georgeslavov.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/georgeslavov.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/georgeslavov.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/georgeslavov.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/georgeslavov.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/georgeslavov.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=georgeslavov.wordpress.com&amp;blog=8513301&amp;post=233&amp;subd=georgeslavov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://georgeslavov.wordpress.com/2010/02/03/hacking-on-tomboy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccbea7ad11f875163c0e84813739a98c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">George</media:title>
		</media:content>

		<media:content url="http://georgeslavov.files.wordpress.com/2010/02/tomboy-latex.png" medium="image">
			<media:title type="html">Tomboy-LaTeX</media:title>
		</media:content>
	</item>
	</channel>
</rss>
