<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5" -->
<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/"
>

<channel>
	<title>Hazel Nuts</title>
	<link>http://www.hazelsoft.com</link>
	<description>This is a professional blog of the founder, owner and the only employee of Hazelsoft, an innovative software company.</description>
	<pubDate>Mon, 28 Nov 2005 11:06:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5</generator>
	<language>en</language>

		<item>
		<title>The Lip Clip</title>
		<link>http://www.hazelsoft.com/2005/11/27/the-lip-clip/</link>
		<comments>http://www.hazelsoft.com/2005/11/27/the-lip-clip/#comments</comments>
		<pubDate>Sun, 27 Nov 2005 21:51:14 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Other</category>
		<guid>http://www.hazelsoft.com/2005/11/27/the-lip-clip/</guid>
		<description><![CDATA[Way back in 1924, an early adapter of facial fashion named Hazel (some distant cousin?) developed the latest in technology for reshaping the lips.  The upper lip to be specific. The device, named Lip Clip has been patented in the US. Just like zillion of other hilarious devices presented on the site - like [...]]]></description>
			<content:encoded><![CDATA[	<p>Way back in 1924, an early adapter of facial fashion named Hazel (some distant cousin?) developed the latest in technology for reshaping the lips.  The upper lip to be specific. The device, named <a href="http://www.totallyabsurd.com/lipclip.htm">Lip Clip</a> has been patented in the US. Just like zillion of other hilarious devices presented on the site - like Dimple Drill, Cranium Cooler and Face Flexor.</p>
	<p>Seems even the most absurd thing can be patented <img src='http://www.hazelsoft.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/11/27/the-lip-clip/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Turbo Gears: a Rails alternative?</title>
		<link>http://www.hazelsoft.com/2005/11/14/turbo-gears-a-rails-alternative/</link>
		<comments>http://www.hazelsoft.com/2005/11/14/turbo-gears-a-rails-alternative/#comments</comments>
		<pubDate>Mon, 14 Nov 2005 21:29:23 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
		<guid>http://www.hazelsoft.com/2005/11/14/turbo-gears-a-rails-alternative/</guid>
		<description><![CDATA[There has been recently much buzz about Ruby on Rails, a Ruby- based application framework. Thought to be as flexible and easy to work with, it gained many appraisal from the web community. I, however, couldn't really convince myself to use it- mainly because of the Ruby language, which I can't really get a grip [...]]]></description>
			<content:encoded><![CDATA[	<p>There has been recently much buzz about <a href="http://www.rubyonrails.org/">Ruby on Rails</a>, a Ruby- based application framework. Thought to be as flexible and easy to work with, it gained many appraisal from the web community. I, however, couldn&#8217;t really convince myself to use it- mainly because of the Ruby language, which I can&#8217;t really get a grip on.</p>
	<p>Now there is a similar alternative- <a href="http://www.turbogears.com/index.html">Turbo Gears</a>. It is written in Python, my language of choice- so I am sure to give it a try. However, this is not the first - and certainly not the last - Python application framework; will it offer more?
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/11/14/turbo-gears-a-rails-alternative/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Universal SQL Console project started</title>
		<link>http://www.hazelsoft.com/2005/11/14/universal-sql-console-project-started/</link>
		<comments>http://www.hazelsoft.com/2005/11/14/universal-sql-console-project-started/#comments</comments>
		<pubDate>Mon, 14 Nov 2005 21:05:43 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Software</category>
	<category>Programming</category>
		<guid>http://www.hazelsoft.com/2005/11/14/universal-sql-console-project-started/</guid>
		<description><![CDATA[I need to work with several database engines- Oracle, DB2, MySQL, PostgreSQL etc. Each of this RDBMs has its own console, different from the others. I simply don't have the patience to learn them all. I guess that's what most of people feel. I need a simple, universal interface to every database I use.

A quick [...]]]></description>
			<content:encoded><![CDATA[	<p>I need to work with several database engines- Oracle, DB2, MySQL, PostgreSQL etc. Each of this <acronym title = "Relational Database Manager">RDBMs</acronym> has its own console, different from the others. I simply don&#8217;t have the patience to learn them all. I guess that&#8217;s what most of people feel. I need a simple, universal interface to every database I use.</p>
	<p>A quick list of requirements would include:</p>
	<ul>
	<li>a sleek, lightweight interface:
	<ul>
	<li>query window with code coloring,</li>
	<li>result window with table and text display</li>
	</ul>
</li>
	<li>ability to process both DDL and DML queries, also in a batch;</li>
	<li>ability to export results to .csv file;</li>
	<li>queries history</li>
	<li>ability to connect to every known database <img src='http://www.hazelsoft.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
	</ul>
	<p>I searched the &#8216;net, and failed. The only software close to my expectations is <a href="http://www.minq.se/products/dbvis/">DB Visualizer</a>, but it is too bloated and doesn&#8217;t really suit my needs. An easy solution- write the application myself. Well, let&#8217;s get to work!</p>
	<p>Any feedback and suggestions would be welcome.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/11/14/universal-sql-console-project-started/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>AJAX for form validation - Not So Easy As It Seems</title>
		<link>http://www.hazelsoft.com/2005/10/10/ajax-for-form-validation-not-so-easy-as-it-seems/</link>
		<comments>http://www.hazelsoft.com/2005/10/10/ajax-for-form-validation-not-so-easy-as-it-seems/#comments</comments>
		<pubDate>Mon, 10 Oct 2005 15:19:44 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
	<category>Thoughts</category>
		<guid>http://www.hazelsoft.com/2005/10/10/ajax-for-form-validation-not-so-easy-as-it-seems/</guid>
		<description><![CDATA[Dissatisfied with your HTML interface? Bored of constant page reloading? Try AJAX. It allows to communicate with the server using simple javascript calls. No more page reloading just to check if a given username exists, for instance.

Unfortunately, it is not so easy as it seems.

One thing that has to be realized is that AJAX calls [...]]]></description>
			<content:encoded><![CDATA[	<p>Dissatisfied with your HTML interface? Bored of constant page reloading? Try <a href="http://www.adaptivepath.com/publications/essays/archives/000385.php">AJAX</a>. It allows to communicate with the server using simple javascript calls. No more page reloading just to check if a given username exists, for instance.</p>
	<p>Unfortunately, it is not so easy as it seems.</p>
	<p>One thing that has to be realized is that AJAX calls are - as the name suggests - asynchronous. This means, the interface isn&#8217;t blocked during the data exchange- which means, you can still submit the form while waiting for server&#8217;s answer. You can of course block the submission with javascript hacks - but it means additional work. Not so easy, actually.</p>
	<p>Another thing that I realized recently is that the &#8220;onblur&#8221; event happens actually <strong>after</strong> the form submission - in case you submit using &#8220;Enter&#8221; key. Kinda surprising, but it means you can&#8217;t use &#8220;onblur&#8221; event to validate your entry without some serious javascript tinkering.</p>
	<p>Conclusions? Oh well- AJAX is just not so easy to use <img src='http://www.hazelsoft.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/10/10/ajax-for-form-validation-not-so-easy-as-it-seems/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>To hell with spammers</title>
		<link>http://www.hazelsoft.com/2005/09/05/to-hell-with-spammers/</link>
		<comments>http://www.hazelsoft.com/2005/09/05/to-hell-with-spammers/#comments</comments>
		<pubDate>Mon, 05 Sep 2005 13:14:26 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/09/05/to-hell-with-spammers/</guid>
		<description><![CDATA[The Hazelsoft weblog is being recently plagued by spammers via the contact form. I receive a lot of nonsense e-mails, which is rather annoying.

I tried to find a solution to the problem, and I failed (for the moment- I don't give up so easily). Not because there is no spam protection software (check Bad Behaviour [...]]]></description>
			<content:encoded><![CDATA[	<p>The Hazelsoft weblog is being recently plagued by spammers via the contact form. I receive a lot of nonsense e-mails, which is rather annoying.</p>
	<p>I tried to find a solution to the problem, and I failed (for the moment- I don&#8217;t give up so easily). Not because there is no spam protection software (check <a href="http://www.ioerror.us/software/bad-behavior/">Bad Behaviour</a> and <a href="http://unknowngenius.com/blog/wordpress/spam-karma/dev/">Spam Karma</a> for example), but because it does deal with comment spamming rather than contact form spam. The comment spamming is nowadays very &#8220;popular&#8221;- however, because my weblog is not getting as much attention as I would like to, I don&#8217;t really care about this form of spam. </p>
	<p>The other problem is that the spam filters are not perfect - and could easily wipe an important contact entry without me ever knowing about it. The last problem is that while spam filters offer some kind of protection, they are obtrusive for legitimate users. Others have written about it - for example on <a href="http://binarybonsai.com/archives/2005/04/07/how-to-stop-spam/">Binary bonsai</a>. </p>
	<p>My solution for the moment is very simple- I do nothing. Since I use Mozilla Thunderbird, which has a bayesian spam filter built-in, I can move all the spam messages to junk folder with one move of the mouse. So, dear spammer - it&#8217;s not really worth your time.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/09/05/to-hell-with-spammers/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>More privacy issues</title>
		<link>http://www.hazelsoft.com/2005/08/16/more-privacy-issues/</link>
		<comments>http://www.hazelsoft.com/2005/08/16/more-privacy-issues/#comments</comments>
		<pubDate>Tue, 16 Aug 2005 14:07:27 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Software</category>
	<category>Thoughts</category>
		<guid>http://www.hazelsoft.com/2005/08/16/more-privacy-issues/</guid>
		<description><![CDATA[In popular oppinion, the 'net is the place where you can get invisible. Anonymous, I mean. Well, do you really? Recently many countries proposed to monitor e-mail activity, allegedly because of terrorist threat. Well, maybe e-mails can be used to share information between terrorists, but so can phones, postcards and tam-tams. I guess that more [...]]]></description>
			<content:encoded><![CDATA[	<p>In popular oppinion, the &#8216;net is the place where you can get invisible. Anonymous, I mean. Well, do you really? Recently many countries proposed to monitor e-mail activity, allegedly because of terrorist threat. Well, maybe e-mails can be used to share information between terrorists, but so can phones, postcards and tam-tams. I guess that more oppressive control on citizens will pose more problems to normal people than to Osama fellows (which are Laughing Out Loud of westerner stupidity). And then, we had this before in Poland - I might be young, but I remember &#8220;controlled talks&#8221;, censorship and other oppresion for the sake of Socialism. Veto!</p>
	<p>What to do? Speak in cipher: <a href="http://www.gnupg.org/">GNU Privacy Guard</a> + e-mail client plugin will help protect your privacy. As long as &#8220;THEY&#8221; don&#8217;t ban encryption, as they already tried to do in the US. And then what? Move to Polinesia, I&#8217;d suggest.</p>
	<p>And, by the way; here id my <a href="http://www.hazelsoft.com/hazelsoft_pub.asc">public key</a>.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/08/16/more-privacy-issues/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Religion</title>
		<link>http://www.hazelsoft.com/2005/08/04/religion/</link>
		<comments>http://www.hazelsoft.com/2005/08/04/religion/#comments</comments>
		<pubDate>Thu, 04 Aug 2005 11:02:43 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Thoughts</category>
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/08/04/religion/</guid>
		<description><![CDATA[I just read Accessibility Only For Disabilities? article on Autistic Cuckoo. Another one like this :). I keep hearing this from everywhere: we should make the Web more accessible! Well, why should we (and who is "we")? Common argument - because "information should be free". Why?

A serious developer has to think of making money, not [...]]]></description>
			<content:encoded><![CDATA[	<p>I just read <a href="http://www.autisticcuckoo.net/archive.php?id=2005/06/27/accessibility-for-disabilities-only">Accessibility Only For Disabilities?</a> article on Autistic Cuckoo. Another one like this <img src='http://www.hazelsoft.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I keep hearing this from everywhere: we should make the Web more accessible! Well, why should we (and who is &#8220;we&#8221;)? Common argument - because &#8220;information should be free&#8221;. Why?</p>
	<p>A serious developer has to think of making money, not of some religious beliefs. Contrary to what many people think, software business is just like any other business - invest the money and reap the income. No place for Mother Teresa- if you don&#8217;t make money, you fall out of business. Then, should you invest your money to make your sites more accessible? Of course!</p>
	<p>Your site should make money. A simple equation: more clients = more money. Your site is not accessible? Less clients- less money. Simple as that.</p>
	<p>A digression: making pages accessible is not so hard as it seems. Coding the site in HTML Strict + CSS and remembering a few guidelines should be enough. Not a big deal, actually.</p>
	<p>Another happy conclusion from the &#8220;information should be free&#8221; slogan: all the software should be free! I liked the Joel Spolsky <a href="http://www.joelonsoftware.com/articles/StrategyLetterV.html">article</a>. It explains why the free software even exists- it exists because it actually pays to publish the software free of charge if it helps selling other software or services.</p>
	<p>And yes, I understand the difference between the &#8220;free&#8221; software as stated by GNU Foundation and &#8220;free&#8221; software, which you simply don&#8217;t have to pay for. I don&#8217;t mind the difference. Do you?
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/08/04/religion/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Join the underground</title>
		<link>http://www.hazelsoft.com/2005/07/21/join-the-underground/</link>
		<comments>http://www.hazelsoft.com/2005/07/21/join-the-underground/#comments</comments>
		<pubDate>Thu, 21 Jul 2005 10:31:27 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/07/21/join-the-underground/</guid>
		<description><![CDATA[I found another online "Massive Multiplayer" online game- "The Crims". Become a criminal - a thug, a dealer, a pimp... Somewhat disgusting, but if you can forget that this is just a game, try it out and join TheCrims ]]></description>
			<content:encoded><![CDATA[	<p>I found another online &#8220;Massive Multiplayer&#8221; online game- &#8220;The Crims&#8221;. Become a criminal - a thug, a dealer, a pimp&#8230; Somewhat disgusting, but if you can forget that this is just a game, try it out and <a href="http://www2.TheCrims.com/?rid=879073">join TheCrims</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/21/join-the-underground/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>The most important thing in application design</title>
		<link>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/</link>
		<comments>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/#comments</comments>
		<pubDate>Mon, 18 Jul 2005 15:44:41 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
	<category>Disappointments</category>
		<guid>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/</guid>
		<description><![CDATA[Understanding what the user needs. Clear and simple. Problems? Sure...


  The client doesn't know what he wants, and even if he knows,
  he can't communicate his needs.


This is how "we" (the computer people) usually view our clients. I'd say this is absolutely wrong. The problem is that "our" interface to common people is [...]]]></description>
			<content:encoded><![CDATA[	<p>Understanding what the user needs. Clear and simple. Problems? Sure&#8230;</p>
	<ol>
	<li>The client doesn&#8217;t know what he wants, and even if he knows,</li>
	<li>he can&#8217;t communicate his needs.</li>
	</ol>
	<p>This is how &#8220;we&#8221; (the computer people) usually view our clients. I&#8217;d say this is absolutely wrong. The problem is that &#8220;our&#8221; interface to common people is rather poor. Remember, common people don&#8217;t think in terms of &#8220;processes&#8221;, &#8220;objects&#8221;, &#8220;workflow&#8221; etc. Software designers seem to forget that their clients have no technical educations, understand no programming jargon and have little interest whether the implementation uses XML, HTML or whatever. People become easily confused- just as &#8220;we&#8221; get confused when we speak with poets, for example. This confusion leads to poor design- and then, we get the &#8220;but it&#8217;s not what I wanted&#8221; problem.</p>
	<p>I&#8217;d say, when speaking with the client, to go no further than the requirements stage. That is:</p>
	<ul>
	<li>What will the software do?</li>
	<li>How to check if it does?</li>
	</ul>
	<p>That&#8217;s it. The rest is our problem.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Transparent PNG images in IE</title>
		<link>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/</link>
		<comments>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/#comments</comments>
		<pubDate>Sun, 03 Jul 2005 09:53:26 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Disappointments</category>
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/</guid>
		<description><![CDATA[When I yesterday put together the weather snippet, I didn't quite notice that the weather icons are in PNG format. This is no problem for me, since I use Firefox for my everyday work. However, in my "favourite" browser, the M$ Internet Explorer, the PNG transparency doesn't really render very well. Instead of a nice [...]]]></description>
			<content:encoded><![CDATA[	<p>When I yesterday put together the weather snippet, I didn't quite notice that the weather icons are in PNG format. This is no problem for me, since I use Firefox for my everyday work. However, in my "favourite" browser, the <acronym title="Microsoft">M$</acronym> Internet Explorer, the PNG transparency doesn't really render very well. Instead of a nice and smooth alpha channel we get a "127" gray, which of course ruins all the webmasters' hard work.</p>
	<p>There exists a bunch of "solutions" to this problem, using "alpha filters", chunks of javascript, server-side scripting (<a href="http://koivi.com/ie-png-transparency/">this</a> is my favourite) and the like. This is all fine, but it is a patch, not a solution- a lot of unnecessary coding, just to make one buggy browser happy. The real solution is not to use <acronym title="Internet Explorer">IE</acronym>... For the time being, I just converted all the weather .pngs to .gifs using <a href="http://www.imagemagick.org/script/index.php">ImageMagick</a>:</p>
	<div class="syntax_hilite">
<div id="code-1">
	<div>
FOR /F &quot;delims=.&quot; %%k IN <span style="color:#008800; font-weight:bold;">&#40;</span><span style="color: #808080; font-style: italic;">'dir /b .\*.png') DO (</span><br />
convert %%k.png %%k.gif<br />
<span style="color:#008800; font-weight:bold;">&#41;</span></div>
	</div>
</div>
	<p>A digression: there have been many rants about how M$ Internet Explorer is "evil", M$ is "evil" and the like. I'd say it's just a very, very old browser - there hasn't been any significant update in 5 years! No wonder the software is not up-to-date. So? So now it is the time of "the turn of the tide". More and more people use alternative browsers - <a href="http://www.mozilla.org/products/firefox/">Firefox</a>, <a href="http://www.opera.com">Opera</a> and others. And this is good. Stop complaining and download Firefox! And - <a href="http://www.spreadfirefox.com/">Spread the Word!</a></p>
	<div class="img-centering">
<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=59"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/180x60/safer.gif"/></a>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
