<?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"
	>

<channel>
	<title>nunespascal</title>
	<atom:link href="http://nunespascal.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nunespascal.com</link>
	<description></description>
	<pubDate>Mon, 29 Sep 2008 03:15:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Python is awesome</title>
		<link>http://nunespascal.com/2008/09/29/python-is-awesome/</link>
		<comments>http://nunespascal.com/2008/09/29/python-is-awesome/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 02:45:06 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=26</guid>
		<description><![CDATA[Python is an awesome language. The objective of a programming language is to instruct the computer what you want it to do. Ideally, the lesser instructions you need to give, the better the language. What makes python awesome is not just the ease of programming or readability but the availability of a large number of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left;" src="http://python.org/images/python-logo.gif" alt="python" width="211" height="71" /><a href="http://en.wikipedia.org/wiki/Python_(programming_language)">Python</a> is an awesome language. The objective of a programming language is to instruct the computer what you want it to do. Ideally, the lesser instructions you need to give, the better the language. What makes python awesome is not just the ease of programming or readability but the availability of a large number of really useful libraries. You can get directly to what you want to do, and let the machine bother about the rest.</p>
<p>Let me give you an example: Say you want your computer to read out all the post from an RSS/atom feed. Just put together a few lines of code as follows:</p>
<div class="code">
<pre>
<code>
import feedparser;
import speech;
import sys;

feed = "http://nunespascal.com/feed/";
if len(sys.argv)==2:
	feed = sys.argv[1];
d = feedparser.parse(feed);
for e in d.entries:
        print e.title;
        speech.say(e.title);
        print e.description;
        speech.say(e.description);
</code>
</pre>
</div>
<p>If you wish to download python you can get it from the official <a href="http://python.org/download/">python download page</a>. A lot of flavors of Linux would already have it installed.</p>
<p>You will need the libraries <a href="http://www.feedparser.org/">feedParser</a> (To read RSS/atom feeds) and <a href="http://code.google.com/p/pyspeech/">pyspeech</a>(To read out the text). These are not part of python by default. You can download them, or install using easy_install. <a href="http://peak.telecommunity.com/DevCenter/EasyInstall">Here</a> is some very good documentation on easy_intall.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/09/29/python-is-awesome/feed/</wfw:commentRss>
		</item>
		<item>
		<title>new theme?!</title>
		<link>http://nunespascal.com/2008/09/24/new-theme/</link>
		<comments>http://nunespascal.com/2008/09/24/new-theme/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 12:27:52 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[nunespascal]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=24</guid>
		<description><![CDATA[Malcom told me today that my blog looks really old. I couldn&#8217;t disagree that the theme has not changed for a long time now.
I did try searching for a new theme, only to realize how much I love the simplicity of this theme. I did find a few bugs that creeped in when I was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mloclam.wordpress.com" target="_blank">Malcom</a> told me today that my blog looks really old. I couldn&#8217;t disagree that the theme has not changed for a long time now.</p>
<p>I did try searching for a new theme, only to realize how much I love the simplicity of this theme. I did find a few bugs that creeped in when I was making changes and fixed those.</p>
<p>So I settled for a change of colors. Hope you like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/09/24/new-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>innovation</title>
		<link>http://nunespascal.com/2008/09/17/innovation/</link>
		<comments>http://nunespascal.com/2008/09/17/innovation/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 17:22:03 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[learning]]></category>

		<category><![CDATA[life]]></category>

		<category><![CDATA[progress]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=22</guid>
		<description><![CDATA[needs time.
If all your energies are dedicated to just completing a task, you will almost always decide to do it a way you know for sure will work. To innovate; to find better, simpler, faster, or more elegant solutions, one needs to have time to think about the problem at hand. Innovation needs you to [...]]]></description>
			<content:encoded><![CDATA[<p>needs time.</p>
<p>If all your energies are dedicated to just completing a task, you will almost always decide to do it a way you know for sure will work. To innovate; to find better, simpler, faster, or more elegant solutions, one needs to have time to think about the problem at hand. Innovation needs you to experiment, have time to make mistakes and recover from them.</p>
<p>Naturally no one has infinite time to solve a problem. But if you are very hard pressed for time, processes will stagnate. Innovation will almost come to a stop. I believe that one should always be pursue innovation. That means that one should always have more time alloted for a task than strictly necessary.</p>
<p>The road to innovation is not by thinking out the best way. But by experimenting on several alternatives. Making the mistakes along the way. And learning the lessons forever.</p>
<p>Keep experimenting. Keep innovating.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/09/17/innovation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Never work under a dumb boss</title>
		<link>http://nunespascal.com/2008/09/01/never-work-under-a-dumb-boss/</link>
		<comments>http://nunespascal.com/2008/09/01/never-work-under-a-dumb-boss/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 07:15:46 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=17</guid>
		<description><![CDATA[I am sure all those working normal jobs have at some point cribbed about how dumb there bosses are. No boss can be dumber than one who wastes the time of his team. There are several ways to waste time. I will not elaborate on those here. If you get a dumb boss, move on. [...]]]></description>
			<content:encoded><![CDATA[<p>I am sure all those working normal jobs have at some point cribbed about how dumb there bosses are. No boss can be dumber than one who wastes the time of his team. There are several ways to waste time. I will not elaborate on those here. If you get a dumb boss, move on. Smart people are hard to find, but they are always good to work with. Hunt such smart people and work with them. Forget the rest. Respect your time. Someone who doesn&#8217;t respect his own time, and doesn&#8217;t care about yours; is wasting your life.</p>
<p>It is just your very immediate boss that matters. How do you know if you are working under someone dumb? Well, I am sure most of you can tell, but still: someone who wastes you time in needless tasks, isn&#8217;t confident in the skills of their team, takes all credit for things that go right, and blames the team for everything that goes wrong. The easiest way to find someone unfit as a boss is if the person doesn&#8217;t take responsibility for his team.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/09/01/never-work-under-a-dumb-boss/feed/</wfw:commentRss>
		</item>
		<item>
		<title>All hail John Resig</title>
		<link>http://nunespascal.com/2008/08/19/all-hail-john-resig/</link>
		<comments>http://nunespascal.com/2008/08/19/all-hail-john-resig/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 04:19:26 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=23</guid>
		<description><![CDATA[John Resig is the creater of jQuery. jQuery is java-script library. What makes it really wonderful is that it lets you do a lot of dom modification is just a few lines. Additionally most of the cross browsers issues are taken care of by the library. That means you spend more time doing what you [...]]]></description>
			<content:encoded><![CDATA[<p>John Resig is the creater of <a href="http://jquery.com/">jQuery</a>. jQuery is java-script library. What makes it really wonderful is that it lets you do a lot of dom modification is just a few lines. Additionally most of the cross browsers issues are taken care of by the library. That means you spend more time doing what you want.</p>
<p>No. This site does not use jQuery. But I use it at work, and find it awesome. If I am to redesign nunespascal.com jQuery will surely come handy.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/08/19/all-hail-john-resig/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Keep meetings short</title>
		<link>http://nunespascal.com/2008/07/04/keep-meetings-short/</link>
		<comments>http://nunespascal.com/2008/07/04/keep-meetings-short/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 15:13:01 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=19</guid>
		<description><![CDATA[&#8220;Meetings are the best way to kill productivity and crush creativity so keep ‘em short.&#8221; 
I read this on a blog post today, and couldn&#8217;t agree more. Why? Well I have wasted a lot of time in unproductive meetings lately. They have wasted my time, wasted a lot of energy and as for creativity; as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.techcrunch.com/2008/07/03/how-to-build-a-web-app-in-four-days-for-10000-say-hello-to-matt/">&#8220;Meetings are the best way to kill productivity and crush creativity so keep ‘em short.&#8221; </a></p>
<p>I read this on a blog post today, and couldn&#8217;t agree more. Why? Well I have wasted a lot of time in unproductive meetings lately. They have wasted my time, wasted a lot of energy and as for creativity; as a result of those last few meetings I have come to believe that: The creativity of a group in a  meeting comes down to that of the least creative amoung the group, maybe even lower&#8230;</p>
<p>Sadly meetings cannot be totally done away with. You will surely find a lot of sites that will give you a lot of good ways to conduct meetings. But I prefer them short. Set a finite time so that you don&#8217;t get carried on. Communicate what you need to. If something needs to be talked out, and you run out of time, schedule another meeting, the next day if possible. This will give everyone involved a lot of time to think about what they have to say. Should avoid beating around the bush. Ranting away your thoughts in a meeting will very often waste the time of everyone involved.</p>
<p>Yes I know that short meetings and rescheduling is not always possible. But when possible, it will help a lot by increasing the intellectual thought put into the ideas to be discussed in the meeting.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/07/04/keep-meetings-short/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Everyone should know programming&#8230;</title>
		<link>http://nunespascal.com/2008/06/17/everyone-should-know-programming/</link>
		<comments>http://nunespascal.com/2008/06/17/everyone-should-know-programming/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 18:43:28 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[programming]]></category>

		<category><![CDATA[communication]]></category>

		<category><![CDATA[education]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=18</guid>
		<description><![CDATA[Since computers first appeared, they have gone on to make human life better and easier. What troubles me is that still only a handful of people can really tell a computer what to do. Yes we are way better than a few years ago; but still a lot of people don&#8217;t know how to harness [...]]]></description>
			<content:encoded><![CDATA[<p>Since computers first appeared, they have gone on to make human life better and easier. What troubles me is that still only a handful of people can really tell a computer what to do. Yes we are way better than a few years ago; but still a lot of people don&#8217;t know how to harness the power of a machine to solve their problems. Make their day to day life easier.</p>
<p>There will always be those who know tools better, and can solve problems faster. But if the commoner  was able to instruct a computer how to solve a problem, we would be much better off. What keeps the commoner away?  Computers still cannot understand natural language. We can reasonably state that it will be a long time before they can understand natural language instructions and code for themselves. However as languages improve and allow people to specify instructions at a much higher level, giving the instructions should be easier. I hope this enables more people to program.</p>
<p>The other remedy to the situation is that we learn to speak the language of computers. Fundamental programming logic should be a part of school education. Just as kids learn languages to talk to other humans, it is necessary that they know how to talk to computers too. What do I mean by fundamental programming logic? Anyone who understands programming in one language, understands how to communicate with a computer. It is then no big deal to learn programming in another language. Just a matter of picking up the syntax.</p>
<p>Why is this knowledge needed? Machines are better at solving certain types of problems. Excellent candidates to carry out repetitive tasks. But people who are oblivious to the world of computers and programming, often don&#8217;t realize the many ways in which these machines can help them. As a result a lot of things that can be automated are still waiting for someone who understands both the task and computers to automate the process.  Tell the machines how to do it once&#8230; and  no one will have to waste their time doing it in future.  To  make that  future happen,  everyone should know some programming.</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/06/17/everyone-should-know-programming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>And I am back!</title>
		<link>http://nunespascal.com/2008/06/16/and-i-am-back/</link>
		<comments>http://nunespascal.com/2008/06/16/and-i-am-back/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 16:49:02 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[life]]></category>

		<category><![CDATA[nunespascal]]></category>

		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=16</guid>
		<description><![CDATA[Yes, I have been gone long. Given how the web works, I doubt if ppl are still reading this site. So for the blog, this is a new start. I love expressing my ideas in words, and will always do so, talking to a friend, chatting on some IM or here.
Q: Where have I been?
 [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I have been gone long. Given how the web works, I doubt if ppl are still reading this site. So for the blog, this is a new start. I love expressing my ideas in words, and will always do so, talking to a friend, chatting on some IM or here.</p>
<p><strong>Q:</strong> Where have I been?<br />
<strong> A:</strong> A lot of places. <a href="http://picasaweb.google.com/pascal.nunes/Amsterdam">Amsterdam</a>, <a href="http://picasaweb.google.com/pascal.nunes/Antwerp">Antwerp</a>, <a href="http://picasaweb.google.com/pascal.nunes/Brugge">Brugge</a>, <a href="http://picasaweb.google.com/pascal.nunes/Brussels">Brussels</a>, <a href="http://lh6.ggpht.com/pascal.nunes/Rt8JaKhTurE/AAAAAAAAAo4/I9JAtmbipqo/s160-c/Cologne.jpg">Cologne</a>, <a href="http://lh5.ggpht.com/pascal.nunes/RsX8JahTskE/AAAAAAAAATQ/dqUeTYtk0x8/s160-c/KayakingDinant.jpg">Dinant</a>, <a href="http://picasaweb.google.com/pascal.nunes/Paris">Paris</a>.</p>
<p><strong>Q:</strong> Was that a vacation?<br />
<strong> A:</strong> No. I was working in Antwerp, for <a title="AXA" href="http://www.axa.be/" target="_blank">AXA</a>. It was a nice place to work.</p>
<p><strong>Q:</strong> Did I learn dutch or french?<br />
<strong> A:</strong> I did not. Most of the people of Antwerp speak english, so I managed just fine. I did learn a few words and phrases though.</p>
<p><strong>Q:</strong> Will I be going again?<br />
<strong> A:</strong> No. I quit that job. Joined a startup Finacus, that makes financial products. Learn&#8217;t C# there; using it to develop a RAD framework. Its fun to be working with friends here.</p>
<p>There will be a lot more blogs, rants, cribs here soon&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2008/06/16/and-i-am-back/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The more problems you face, the more you learn</title>
		<link>http://nunespascal.com/2007/08/03/the-more-problems-you-face-the-more-you-learn/</link>
		<comments>http://nunespascal.com/2007/08/03/the-more-problems-you-face-the-more-you-learn/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 15:48:02 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[education]]></category>

		<category><![CDATA[learning]]></category>

		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=15</guid>
		<description><![CDATA[Yesterday was one of those days when a lot of things went wrong. An investigation into the exact cause of what caused the trobule taught me a lot of things I was not aware of earlier.
Often when things run the way they are supposed to, no one is bothered about how they run.
When you flick [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday was one of those days when a lot of things went wrong. An investigation into the exact cause of what caused the trobule taught me a lot of things I was not aware of earlier.</p>
<p>Often when things run the way they are supposed to, no one is bothered about how they run.<br />
When you flick a light switch you expect the room to be lit. No even thinks at that moment the number of things in the background that need to be just right for it to turn on.<br />
You need to have power-supply. There needs to be a particular minimum voltage. Your bulb needs to have a proper filment&#8230; if you really want to think more&#8230; the bulb needs to have an inert gas in it and all..Do we even have the time to think of all this every time we put on a switch?!</p>
<p>You know what the problem with problems is?! Some people learn from their problems, some people just don&#8217;t. You can solve your problems yourself. Or you can look for an easy way out. Lets take the same example: The bulb in your room does not turn on. You would probably check your power supply(I am assuming any human would do this basic check before accepting that the bulb does not work). Now you have a choice, you can find why there is no power&#8230; or you can take the easy way out; just call an electrician, and he will do it for you. If you call an electrician you learn nothing. Then there are those times when you are left without much of a choice, like my case. When the electrician is just not available. You could live without the bulb, which would be really messy. Or you could call it a bad day and get down to solving your own problems. In the process you learn what an electrician does.</p>
<p>Learning from other problems is like studying history. Its really good to know it&#8230; I don&#8217;t dispute that. But it is so damn boring. But solving your problems&#8230; your own way; is fun! It feels great when you pull yourself out of a mess. Now historians will tell you, you could have stayed out of the mess in the first place. But when you goof around, you put yourself in a bigger mess&#8230; you learn more. The bigger a mess you are able to pull yourself out of, the better you feel.</p>
<p>Be goofy! Learn more!!</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2007/08/03/the-more-problems-you-face-the-more-you-learn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Crazy code</title>
		<link>http://nunespascal.com/2007/06/19/crazy-code/</link>
		<comments>http://nunespascal.com/2007/06/19/crazy-code/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 15:26:22 +0000</pubDate>
		<dc:creator>nunespascal</dc:creator>
		
		<category><![CDATA[work]]></category>

		<category><![CDATA[avoid]]></category>

		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://nunespascal.com/?p=14</guid>
		<description><![CDATA[Programming, as I understand it, is something that needs one to solve problems by analytical thinking. But one thing that I have noticed recently reviewing code is that a lot of people code in a pretty haphazard, &#8220;just finish it&#8221; kind of way. What happens due to this is that, you end up with a [...]]]></description>
			<content:encoded><![CDATA[<p>Programming, as I understand it, is something that needs one to solve problems by analytical thinking. But one thing that I have noticed recently reviewing code is that a lot of people code in a pretty haphazard, <em>&#8220;just finish it&#8221;</em> kind of way. What happens due to this is that, you end up with a lot of crazy code. Crazy code?! Oh, this is not code that won&#8217;t work. It will work all right&#8230; cause that was the objective from the start right? to get it working. What makes it crazy is that, it present to you the work created by a shut-out mind. Sometimes it feels like the person was almost brain dead or highly doped. Yup! I find no traces of the logical work by a thinking mind.</p>
<p>There will always be those who are no good at programming. Who are just doing a job with no love for the programming and logic that goes behind it. I can&#8217;t seem to find a way to help them, but what was more shocking was that, a lot of good programmers too wrote <em>crazy code</em>.Â  Why?! One thing that totally kills the thinking mind are deadlines set by a non thinking mind. When you work in a services company, and have clients who always want the code ready before they thought of developing it you get mindless deadlines. Yes, you can argue; you can get extentions&#8230; But whenever there is a deadline, that leave no scope for a programmer to sit there, think about the situation and decide the best solution, you are bound to find <em>crazy code</em>.</p>
<p>Who pays for it?! Before we talk about who pays, lets see what all costs we are talking about here. I have found that you spend more time writing crazy code that writing well thought out code. Yes it may appear that you are just scribbling on paper when you should be programming&#8230; but that saves time. So the first cost comes in extra time spent by programmers. The code is inefficient, so system performance is degraded. User experience will be bad and you are bound to loose value. This code is difficult to understand, debug, modify, fix, maintain&#8230; they all add to a lot of extra cost. In the end you will hire more programmers, tighten the deadline, mess up the code even more, and come up with a crappy product. Losses losses losses&#8230;.</p>
<p>If you are a programmer who wants to avoid writing crazy code, I suggest writing a small plan on paper, needn&#8217;t be a complex flow chart or something, but just a few lines of step by step documentation of how you plan to solve the problem at hand. Before this is ready, don&#8217;t even start coding. You are bound to miss out a lot of things. This plan is not foolproof, but avoid a lot of logical errors.</p>
<p>If you are someone who sets deadlines&#8230;. GIVE YOUR PROGRAMMERS TIME TO THINK!</p>
]]></content:encoded>
			<wfw:commentRss>http://nunespascal.com/2007/06/19/crazy-code/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
