<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ForTheScience.org &#187; Computer Science</title>
	<atom:link href="http://forthescience.org/blog/category/topics/computer-science/feed/" rel="self" type="application/rss+xml" />
	<link>http://forthescience.org/blog</link>
	<description>A blog about science and programming</description>
	<lastBuildDate>Sun, 05 Sep 2010 12:27:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fortran 90 pitfall: initialization of vars at declaration</title>
		<link>http://forthescience.org/blog/2010/09/05/fortran-90-pitfall-initialization-of-vars-at-declaration/</link>
		<comments>http://forthescience.org/blog/2010/09/05/fortran-90-pitfall-initialization-of-vars-at-declaration/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 12:27:03 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Fortran]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=852</guid>
		<description><![CDATA[I am dusting my Fortran 90 skills. One big gotcha that always leaves me baffled is the following. Suppose you write the following program
program test
  implicit none

  call testsub()
  call testsub()
end program

subroutine testsub()
  implicit none
  integer :: var

  var = 0
  print *, var
  var = 5
  print [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/09/05/fortran-90-pitfall-initialization-of-vars-at-declaration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google stops Wave development</title>
		<link>http://forthescience.org/blog/2010/08/05/google-stops-wave-development/</link>
		<comments>http://forthescience.org/blog/2010/08/05/google-stops-wave-development/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 06:54:01 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Google Wave]]></category>
		<category><![CDATA[Opinion]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=968</guid>
		<description><![CDATA[Google decided to interrupt further development of Wave. The service itself remains active, though. I appear not to be good at predictions: a year ago, I expected Wave to take over email definitely. To be fair, a condition I added was for the server to be made public for third parties, something that never happened [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/08/05/google-stops-wave-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Mandelbrot set, in python</title>
		<link>http://forthescience.org/blog/2010/07/12/the-mandelbrot-set-in-python/</link>
		<comments>http://forthescience.org/blog/2010/07/12/the-mandelbrot-set-in-python/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 17:02:23 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Fractals]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=641</guid>
		<description><![CDATA[This code is so fascinating
from PIL import Image

max_iteration = 1000
x_center = -1.0
y_center =  0.0
size = 300

im = Image.new("RGB", (size,size))
for i in xrange(size):
    for j in xrange(size):
        x,y = ( x_center + 4.0*float(i-size/2)/size,
              [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/07/12/the-mandelbrot-set-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The future of entertainment is here</title>
		<link>http://forthescience.org/blog/2010/06/07/the-future-of-entertainment-is-here/</link>
		<comments>http://forthescience.org/blog/2010/06/07/the-future-of-entertainment-is-here/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 14:50:20 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Digital Rights Management]]></category>
		<category><![CDATA[Dissemination]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=493</guid>
		<description><![CDATA[Please take a look at this
This technology is probably the future of entertainment. It needs no batteries, has a nice resolution both for pictures and text, it can be easily bookmarked or annotated (although sometimes there&#8217;s not enough space). It can be bought both online and in a shop, brand new or used. It is [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/06/07/the-future-of-entertainment-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux dominates in supercomputing</title>
		<link>http://forthescience.org/blog/2010/05/31/linux-dominates-in-supercomputing/</link>
		<comments>http://forthescience.org/blog/2010/05/31/linux-dominates-in-supercomputing/#comments</comments>
		<pubDate>Mon, 31 May 2010 15:36:51 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=671</guid>
		<description><![CDATA[Nothing new under the Sun, but the very interesting presentation makes it very cool to see. I just got to this article at BBC about the Top500 supercomputer list, where a very nice Treemap graph presents supercomputers according to their computational power. By selecting the Operating System, the dominance of Linux is staggering, confirming its [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/05/31/linux-dominates-in-supercomputing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>About class attributes, semantics and microformats</title>
		<link>http://forthescience.org/blog/2010/05/12/about-class-attributes-semantics-and-microformats/</link>
		<comments>http://forthescience.org/blog/2010/05/12/about-class-attributes-semantics-and-microformats/#comments</comments>
		<pubDate>Wed, 12 May 2010 01:29:25 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Semantics]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=527</guid>
		<description><![CDATA[I just got to this post by Richard le Guen via the referrals to my blog, and I feel it&#8217;s important to clarify my point.
So, let&#8217;s describe the problem. In HTML, you describe the layout of your information. How the information will look like is &#8220;presentation&#8221; and is managed via a so called Cascading Style [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/05/12/about-class-attributes-semantics-and-microformats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The subtle art of writing a code example</title>
		<link>http://forthescience.org/blog/2010/03/07/the-subtle-art-of-writing-a-code-example/</link>
		<comments>http://forthescience.org/blog/2010/03/07/the-subtle-art-of-writing-a-code-example/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 06:10:09 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=372</guid>
		<description><![CDATA[One of the most frustrating experiences when learning a new technology is finding useless examples. An example is the most precious thing that comes with a new library, language, or technology. It must be a starting point, a wise and unadulterated explanation on how to achieve a given result. A perfect example must have the [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/03/07/the-subtle-art-of-writing-a-code-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My business card, with QR-code. Geeky!</title>
		<link>http://forthescience.org/blog/2010/02/02/my-business-card-with-qr-code-geeky/</link>
		<comments>http://forthescience.org/blog/2010/02/02/my-business-card-with-qr-code-geeky/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 17:51:12 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[QR-Codes]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=325</guid>
		<description><![CDATA[I ran out of business cards recently, so I had to make new ones. I took the chance to indulge a bit over the QR-Code, a two-dimensional barcode you can find on everything in Japan. It&#8217;s a pretty nice barcode system, very stable with respect to corruption and quite ok in terms of capacity. Among [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2010/02/02/my-business-card-with-qr-code-geeky/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A comparison of CMS/EPortfolio/Social Network solutions</title>
		<link>http://forthescience.org/blog/2009/12/08/a-comparison-of-cmseportfoliosocial-network-solutions/</link>
		<comments>http://forthescience.org/blog/2009/12/08/a-comparison-of-cmseportfoliosocial-network-solutions/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 16:03:33 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Content Management]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=258</guid>
		<description><![CDATA[I am currently looking for a good choice of Content Management System/EPortfolio/Social Network tool to start the activity on wavemol.org . I don&#8217;t know exactly what kind of information wavemol will provide, although I know the argument: theoretical and computational chemistry. I believe that the main objectives of wavemol should be:

 Provide community tools like [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2009/12/08/a-comparison-of-cmseportfoliosocial-network-solutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using contexts in rdflib</title>
		<link>http://forthescience.org/blog/2009/11/24/using-contexts-in-rdflib/</link>
		<comments>http://forthescience.org/blog/2009/11/24/using-contexts-in-rdflib/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 06:17:00 +0000</pubDate>
		<dc:creator>Stefano Borini</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[RDF]]></category>

		<guid isPermaLink="false">http://forthescience.org/blog/?p=245</guid>
		<description><![CDATA[I am playing with rdflib, a fantastic python library to handle RDF data. I had trouble understanding how to use contexts so to partition my ConjunctiveGraph into independent subgraphs. Here is the code

import rdflib
from rdflib.Graph import Graph

conj=rdflib.ConjunctiveGraph()

NS=rdflib.Namespace("http://example.com/#")
NS_CTX=rdflib.Namespace("http://example.com/context/#")

alice=NS.alice
bob=NS.bob
charlie=NS.charlie

pizza=NS.pizza
meat=NS.meat
chocolate=NS.chocolate

loves=NS.loves
hates=NS.hates
likes=NS.likes
dislikes=NS.dislikes

love_ctx=Graph(conj.store, NS_CTX.love)
food_ctx=Graph(conj.store, NS_CTX.food)

love_ctx.add( (alice, loves, bob) )
love_ctx.add( (alice, loves, charlie) )
love_ctx.add( (bob, hates, charlie) )
love_ctx.add( (charlie, loves, bob) )

food_ctx.add( [...]]]></description>
		<wfw:commentRss>http://forthescience.org/blog/2009/11/24/using-contexts-in-rdflib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
