<?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>Webdac Thoughts</title>
	<atom:link href="http://webdac.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdac.wordpress.com</link>
	<description>A blog about the web, programming, music, travel, europe ... basically anything that comes to my mind :)</description>
	<lastBuildDate>Tue, 09 Sep 2008 07:57:27 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='webdac.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6f900b16fcc64ca91efd2596365fca00?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Webdac Thoughts</title>
		<link>http://webdac.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://webdac.wordpress.com/osd.xml" title="Webdac Thoughts" />
		<item>
		<title>Finally medical-bookmarks.appspot.com is running :)</title>
		<link>http://webdac.wordpress.com/2008/09/09/finally-medical-bookmarksappspotcom-is-running/</link>
		<comments>http://webdac.wordpress.com/2008/09/09/finally-medical-bookmarksappspotcom-is-running/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 07:57:27 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/?p=30</guid>
		<description><![CDATA[During the last months I have been working in my thesis project. The idea was to create a medical social bookmarking system using a web MVC system or something simmilar. Since I use a lot Python for development in my current job I decided to go for Django and since the Google App Engine was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=30&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>During the last months I have been working in my thesis project. The idea was to create a medical social bookmarking system using a web MVC system or something simmilar. Since I use a lot Python for development in my current job I decided to go for Django and since the Google App Engine was released around the time when I was doing the proposal, I decided to go for a Django application over the Google App Engine. Finally last Monday I was able to publish the first version of this <a href="http://medical-bookmarks.appspot.com">medical bookmarking system</a> in the App Engine. It took my a while an it is still very &#8220;beta&#8221;, but I&#8217;m glad that it is already live <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . If you want to visit it and give it a try it is locate at: <a href="http://medical-bookmarks.appspot.com">http://medical-bookmarks.appspot.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=30&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2008/09/09/finally-medical-bookmarksappspotcom-is-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>getelement by class</title>
		<link>http://webdac.wordpress.com/2007/11/07/getelement-by-class/</link>
		<comments>http://webdac.wordpress.com/2007/11/07/getelement-by-class/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 20:07:32 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/11/07/getelement-by-class/</guid>
		<description><![CDATA[I couple of month ago I wrote a Greasemonkey script (honestly I don&#8217;t remember exactly what was the purpose of it) and I remember using one function for getting the elements by class. The normal getElementById or getElementsByTagName were not useful for my particular needs at that moment. Today I&#8217;m working in a small project [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=24&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I couple of month ago I wrote a Greasemonkey script (honestly I don&#8217;t remember exactly what was the purpose of it) and I remember using one function for getting the elements by class. The normal getElementById or getElementsByTagName were not useful for my particular needs at that moment. Today I&#8217;m working in a small project for the university and was looking again for the same code.  I&#8217;m glad I was able to find it. Despite having a delicious account I realised I didn&#8217;t have it inside, so I decided to use this blog and put the the nice code and a reference to the author&#8217;s site:</p>
<pre><code>function getElementsByClass(searchClass,node,tag) {
	var classElements = new Array();
	if ( node == null )
		node = document;
	if ( tag == null )
		tag = '*';
	var els = node.getElementsByTagName(tag);
	var elsLen = els.length;
	var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)");
	for (i = 0, j = 0; i &lt; elsLen; i++) {
		if ( pattern.test(els[i].className) ) {
			classElements[j] = els[i];
			j++;
		}
	}
	return classElements;
}</code></pre>
<p>As you can see here you just send to the function the class you are looking for, the node where the class will be searched and the tag if you to specify one. If you want to read a more comprehensive explanation visit the authors website: <a href="http://www.dustindiaz.com/getelementsbyclass/">http://www.dustindiaz.com/getelementsbyclass/</a></p>
<p>I&#8217;m just going to try it again &#8230; last time it worked great <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=24&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/11/07/getelement-by-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP get visitor IP address and user agent</title>
		<link>http://webdac.wordpress.com/2007/07/26/php-get-visitor-ip-address-and-user-agent/</link>
		<comments>http://webdac.wordpress.com/2007/07/26/php-get-visitor-ip-address-and-user-agent/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 21:43:14 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/07/26/php-get-visitor-ip-address-and-user-agent/</guid>
		<description><![CDATA[Tomorrow I&#8217;m going to make a small presentation and I need it the PHP code for getting the visitor IP address and the user agent (basically the browser). I know it&#8217;s not very difficult, but this is the kind of stuff you need thousands of times at hand and you look over and over on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=23&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Tomorrow I&#8217;m going to make a small presentation and I need it the PHP code for getting the visitor IP address and the user agent (basically the browser). I know it&#8217;s not very difficult, but this is the kind of stuff you need thousands of times at hand and you look over and over on the web. So I&#8217;ll paste it here. Maybe tomorrow or the day after tomorrow I&#8217;ll need it again:<br />
<code><br />
$_SERVER['REMOTE_ADDR'];<br />
$_SERVER['HTTP_USER_AGENT'];</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=23&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/07/26/php-get-visitor-ip-address-and-user-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>Speaking Unix Series</title>
		<link>http://webdac.wordpress.com/2007/06/30/speaking-unix-series/</link>
		<comments>http://webdac.wordpress.com/2007/06/30/speaking-unix-series/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 08:08:54 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/06/30/speaking-unix-series/</guid>
		<description><![CDATA[
I have been working with a Ubuntu machine for a while and even if the graphical interface is not as flashy as the Mac one, it is pretty decent. One of the great advantages of having a Linux Operating System is that you have on your hand all the power of the unix command line [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=22&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://webdac.files.wordpress.com/2007/06/screenshot_3.png?w=546&#038;h=204" height="204" width="546" /></p>
<p>I have been working with a Ubuntu machine for a while and even if the graphical interface is not as flashy as the Mac one, it is pretty decent. One of the great advantages of having a Linux Operating System is that you have on your hand all the power of the unix command line interface. I have been mounting filers with the mount command, changing file access restrictions using the chmod command and killing processes with ps -A and kill, but I was thinking it would be nice to learn more about the unix file system, task automation, etc and today I found this nice &#8220;Speak Unix&#8221; technical tutorial series. I was beginning to read the article about the <a href="http://www.ibm.com/developerworks/aix/library/au-speakingunix11/">file system</a> and it was very interesting. I think I&#8217;ll spend some time this weekend reading some of the articles. You can find the whole series at:</p>
<p><a href="http://www.ibm.com/developerworks/views/aix/libraryview.jsp?search_by=speaking+UNIX+Part "> http://www.ibm.com/developerworks/views/aix/libraryview.jsp?search_by=speaking+UNIX+Part </a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=22&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/06/30/speaking-unix-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>

		<media:content url="http://webdac.files.wordpress.com/2007/06/screenshot_3.png" medium="image" />
	</item>
		<item>
		<title>The Dublin Summer</title>
		<link>http://webdac.wordpress.com/2007/06/28/the-dublin-summer/</link>
		<comments>http://webdac.wordpress.com/2007/06/28/the-dublin-summer/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 23:26:14 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/06/28/the-dublin-summer/</guid>
		<description><![CDATA[Sometimes I wonder if there are seasons at all in Ireland. I mean of course I have to wear a good jacket in winter but it is not as cold as it was in France and now the summer the weather is really bad, very wet and rainy and gray most of the days. It [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=18&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometimes I wonder if there are seasons at all in Ireland. I mean of course I have to wear a good jacket in winter but it is not as cold as it was in France and now the summer the weather is really bad, very wet and rainy and gray most of the days. It is amazing how the city looks different when the weather is nicer. For example yesterday we went to take dinner with some guys from the company and we went coming out it wasn&#8217;t very cold the sky was clear and the city had a much nicer view. I was looking at the Sky and thinking &#8220;I hope it will last!&#8221; but it was too good to be true, because this morning it was gray, rainy and cold again. It is not surprising &#8230; just another day in this Dublin Summer.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=18&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/06/28/the-dublin-summer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox + Greasemonkey</title>
		<link>http://webdac.wordpress.com/2007/06/27/firefox-greasemonkey/</link>
		<comments>http://webdac.wordpress.com/2007/06/27/firefox-greasemonkey/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 22:54:32 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/06/27/firefox-greasemonkey/</guid>
		<description><![CDATA[One of the most powerful features of the Firefox browser is the ability to extend its functionality using extensions (mmm sorry I mean add-ons now) and one the most powerful ones is called Greasemonkey. It allows the users to write or install some special javascript scripts (user scripts) that basically modify the appareance and behaviour [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=20&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the most powerful features of the Firefox browser is the ability to extend its functionality using extensions (mmm sorry I mean add-ons now) and one the most powerful ones is called Greasemonkey. It allows the users to write or install some special javascript scripts (user scripts) that basically modify the appareance and behaviour of a web page. It is really cool because you can alter any page you want to in the way you want to. Do you want to block the pop ups? Do you want to rewrite the hyperlinks avoiding the redirections? Do you want to combine multiple services in one? Then GM is the solution. There are plenty of userscripts available on the web that you can use directly or tweak to adapt them to your needs. Ok, it sounds really nice, but you might be thinking, what do I need to use Greasemonkey; Well here is the checklist:</p>
<p>1. Firefox Browser (<a href="http://www.mozilla.com/en-US/firefox/" target="_blank">http://www.mozilla.com/en-US/firefox/</a>)<br />
2. Greasemonkey Add-on (<a href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/748</a>)<br />
3. User Scripts: (<a href="http://userscripts.org/" target="_blank">http://userscripts.org/</a>)</p>
<p>That is the basic stuff you need to began using userscripts and alter the webpages. But now if you really want to have fun (an you are a geek of course) then you migh want to read a very nice tutorial about writing user scripts:</p>
<p>4. Dive into Greasemonkey (<a href="http://diveintogreasemonkey.org/" target="_blank">http://diveintogreasemonkey.org/</a>)</p>
<p>I have used GM to test improvements in user interfaces, to add customization to the tools I use at work and in general by modify any webpage I want to. I recommend you o give it a try.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=20&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/06/27/firefox-greasemonkey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript Roundup Function</title>
		<link>http://webdac.wordpress.com/2007/06/25/javascript-roundup-function/</link>
		<comments>http://webdac.wordpress.com/2007/06/25/javascript-roundup-function/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 22:09:26 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/06/25/javascript-roundup-function/</guid>
		<description><![CDATA[One of the things I love the most about the internet and the search engines is the fact you are able to search and find whatever you need to to, even your own work!. Today I was looking for a Javascript Math roundup function I had used a couple of years ago and Googling the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=19&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the things I love the most about the internet and the search engines is the fact you are able to search and find whatever you need to to, even your own work!. Today I was looking for a Javascript Math roundup function I had used a couple of years ago and Googling the title of small page I had created for my students so they could calculate their marks I found the code I was looking for:</p>
<p><code>function round(number,X) {</code></p>
<p><code>// rounds number to X decimal places, defaults to 2</code></p>
<p><code>X = (!X ? 2 : X);<br />
return Math.round(number*Math.pow(10,X))/Math.pow(10,X);</code></p>
<p><code>}</code><br />
As you might remember Javascript allows you to roundup a number to the integer value, but this handy function also gives you the chance to use decimal value.  In the university I worked we used to roundup the marks using two decimal numbers so it was useful to embed this formula into my calculator page.</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=19&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/06/25/javascript-roundup-function/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>Coming back to this blog &#8230; with an Italy post.</title>
		<link>http://webdac.wordpress.com/2007/06/15/coming-back-to-this-blog-with-an-italy-post/</link>
		<comments>http://webdac.wordpress.com/2007/06/15/coming-back-to-this-blog-with-an-italy-post/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 18:27:05 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2007/06/15/coming-back-to-this-blog-with-an-italy-post/</guid>
		<description><![CDATA[
As you can see in the previous picture I was in holydays in Italy. I had the chance to go to Rome, Florence, Siena, Pisa and a small bit of Milan.  I spend most of the vacations in Rome and it was worth it, since this is the first city where I have truly felt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=17&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img src="http://lh4.google.com/image/jdconvers/Rms3RcOXXTI/AAAAAAAABcA/4frEWVEg1OM/s400/STA71316.JPG" align="middle" height="300" width="400" /></p>
<p>As you can see in the previous picture I was in holydays in Italy. I had the chance to go to Rome, Florence, Siena, Pisa and a small bit of Milan.  I spend most of the vacations in Rome and it was worth it, since this is the first city where I have truly felt the history all around. I went to the main touristic spots such as: Colisseum, St. Peter&#8217;s Square, Roman Forum, Pallatino, Pantheon, Piazza Venezia, etc. I also went to the vatican museums and even if the line was reaaaaally long (we have to be in the line for more than 2 hours!) it was totally worth it. The visit to the Sixtine Chappel was unique, the Raphael frescos were just amazing and in general all the pieces exposed in the Vatican museums are well exposed and explained. I stayed in a small b&amp;b called St. Caterina, near the vatican city and it was pretty ok. I mean the breakfast was not amazing because it was in a bar around the corner (croissant and coffe) but the room was good.  </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=17&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2007/06/15/coming-back-to-this-blog-with-an-italy-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>

		<media:content url="http://lh4.google.com/image/jdconvers/Rms3RcOXXTI/AAAAAAAABcA/4frEWVEg1OM/s400/STA71316.JPG" medium="image" />
	</item>
		<item>
		<title>GetElementById</title>
		<link>http://webdac.wordpress.com/2006/10/01/getelementbyid/</link>
		<comments>http://webdac.wordpress.com/2006/10/01/getelementbyid/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 17:06:19 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2006/10/01/getelementbyid/</guid>
		<description><![CDATA[I&#8217;m grateful because during the last year I have being able to study a lot of Java Script and I have updated most of the concepts I had from the previous versions. It all started last year when I discovered the Greasemonkey Extension for Firefox, very useful for writing user scripts. When I read about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=16&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m grateful because during the last year I have being able to study a lot of Java Script and I have updated most of the concepts I had from the previous versions. It all started last year when I discovered the Greasemonkey Extension for Firefox, very useful for writing user scripts. When I read about how to create user scripts I realised that I hadn&#8217;t studied js for a while a there were several concepts I didn&#8217;t have a clue. One of the most interesting concepts I learned was the GetElementById method. It&#8217;s really cool since it allow you to a document object, in an HTML file. Let me give you an example: Let&#8217;s say you have an input in a form named &#8216;notes&#8217;:</p>
<p><code>&lt;input type=&quot;text&quot; size=&quot;20&quot; name=&quot;notes&quot; id=&quot;notes&quot; /&gt;</code></p>
<p>Well, using the GetElementById method you can refer to this object and change its properties or values. For example if I want to asign the value &#8220;sample notes&#8221; to that field I can use this method in javascript:</p>
<p><code><br />
    document.getElementById('notes').value = "sample notes";<br />
</code></p>
<p>Last friday I was chatting with a Team mate who is working with me in a development project and I showed him how he could change the properties of his fields in a form using this handy method. There is a simple but illustrative sample in: <a href="http://www.ugcs.caltech.edu/~takoyaki/css-test/getAtt_getById_inner.html" target="_blank">http://www.ugcs.caltech.edu/~takoyaki/css-test/getAtt_getById_inner.html</a> where you can see this method in action.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=16&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2006/10/01/getelementbyid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
		<item>
		<title>It was a happy birthday indeed.</title>
		<link>http://webdac.wordpress.com/2006/09/18/it-was-a-happy-birthday-indeed/</link>
		<comments>http://webdac.wordpress.com/2006/09/18/it-was-a-happy-birthday-indeed/#comments</comments>
		<pubDate>Mon, 18 Sep 2006 22:07:09 +0000</pubDate>
		<dc:creator>webdac</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://webdac.wordpress.com/2006/09/18/it-was-a-happy-birthday-indeed/</guid>
		<description><![CDATA[Today I became one year older. I&#8217;m 32 now. I decided to write a small post today to share that overall I feel mostly happy in this 32th birthday. I&#8217;m happy today because:
I live in Europe where I always wanted to live.
I have a supporting dad and brother.
I work in the IT field doing a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=11&subd=webdac&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I became one year older. I&#8217;m 32 now. I decided to write a small post today to share that overall I feel mostly happy in this 32th birthday. I&#8217;m happy today because:</p>
<li>I live in Europe where I always wanted to live.</li>
<li>I have a supporting dad and brother.</li>
<li>I work in the IT field doing a lot of programming in the company I always wanted to work in.</li>
<li>I started a master degree today in a very interesting subject.</li>
<li>One of my french team mates prepared a delicious cake and some buddies sang the happy birthday for me.</li>
<li>My spanish friends wrote me a really touching letter. I felt moved by their appreciation and friendship</li>
<li>I have being able to live most of my dreams</li>
<p>Now, the hapiness isn&#8217;t complete because I missed the call from my mom. She&#8217;s not able to communicate directly with us because she passed away in April. I hope you are fine Marthi, I know you were with me today even if couldn&#8217;t speak with you&#8230;.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webdac.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webdac.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webdac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webdac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webdac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webdac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webdac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webdac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webdac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webdac.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webdac.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webdac.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webdac.wordpress.com&blog=378975&post=11&subd=webdac&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://webdac.wordpress.com/2006/09/18/it-was-a-happy-birthday-indeed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ccb75d2e1c1ef13599c89518cc6817a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">webdac</media:title>
		</media:content>
	</item>
	</channel>
</rss>