<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:cniehaus</id>
  <title>Carsten's blogspot</title>
  <subtitle>cniehaus</subtitle>
  <author>
    <name>cniehaus</name>
  </author>
  <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom"/>
  <updated>2009-07-03T19:12:57Z</updated>
  <lj:journal userid="4014419" username="cniehaus" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://cniehaus.livejournal.com/data/atom" title="Carsten's blogspot"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:51532</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/51532.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=51532"/>
    <title>Progress in the predator prey simulation</title>
    <published>2009-07-03T19:12:09Z</published>
    <updated>2009-07-03T19:12:57Z</updated>
    <category term="python"/>
    <category term="pyqt4"/>
    <content type="html">Since &lt;a href="http://cniehaus.livejournal.com/51231.html"&gt;yesterday&lt;/a&gt; a lot things improved. &lt;br /&gt;&lt;br /&gt;In this example I killed all but one rabbit after 1200 rounds and all but one wolve after 7700 (of 10000) rounds:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img23.imageshack.us/i/predatorprey4.png/" target="_blank"&gt;&lt;img src="http://img23.imageshack.us/img23/8906/predatorprey4.th.png" border="0" alt="Free Image Hosting at www.ImageShack.us" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img604.imageshack.us/content.php?page=blogpost&amp;amp;files=img23/8906/predatorprey4.png" title="QuickPost"&gt;&lt;img src="http://imageshack.us/img/butansn.png" alt="QuickPost" border="0"&gt;&lt;/a&gt; Quickpost this image to Myspace, Digg, Facebook, and others!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:51231</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/51231.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=51231"/>
    <title>Help Yourself: Predator Prey Simulations with PyQt4</title>
    <published>2009-07-02T14:28:01Z</published>
    <updated>2009-07-02T14:28:01Z</updated>
    <category term="school"/>
    <category term="python"/>
    <category term="pyqt4"/>
    <content type="html">As you may know I am a biology teacher. Next term I will teach Ecology. One part of that is the relationship between predators and prey (wolves and rabbits, for example). There are quite some mathematical model for these relationships, in school we mostly teach a simplified version of the &lt;a href="http://en.wikipedia.org/wiki/Predator-prey_equations"&gt;Lotka-Volterra system&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This kind of stuff really needs a simple application to test the influence of certain factors. For example, &lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;what happens if after two years we kill all but 5 predators?&lt;/li&gt;&lt;br /&gt;&lt;li&gt;what happens if after two years we kill all but 5 prey?&lt;/li&gt;&lt;br /&gt;&lt;li&gt;what happens if after 1 year, for whatever reasons, the rabbits become more fertile?&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;There are tools schools can buy, but a) they suck and b) they are very expensive.&lt;br /&gt;&lt;br /&gt;Introducing: "Predator and Prey" by Carsten Niehaus (tm)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img78.imageshack.us/i/predatorprey1.png/" target="_blank"&gt;&lt;img src="http://img78.imageshack.us/img78/9896/predatorprey1.th.png" border="0" alt="Free Image Hosting at www.ImageShack.us" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img604.imageshack.us/content.php?page=blogpost&amp;amp;files=img78/9896/predatorprey1.png" title="QuickPost"&gt;&lt;img src="http://imageshack.us/img/butansn.png" alt="QuickPost" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see the basic stuff all works. When happens when I start with just on predator but 20 prey but let the predators be more efficient hunters? Look here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img78.imageshack.us/i/predatorprey2.png/" target="_blank"&gt;&lt;img src="http://img78.imageshack.us/img78/6945/predatorprey2.th.png" border="0" alt="Free Image Hosting at www.ImageShack.us" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img604.imageshack.us/content.php?page=blogpost&amp;amp;files=img78/6945/predatorprey2.png" title="QuickPost"&gt;&lt;img src="http://imageshack.us/img/butansn.png" alt="QuickPost" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://github.com/cniehaus/biotools/tree/1807480b1ee7782f80dfeb2c85dbb2168de17439/raeuber-beute"&gt;application&lt;/a&gt; is written in &lt;a href="http://www.riverbankcomputing.co.uk/software/pyqt/intro"&gt;PyQt4&lt;/a&gt; using &lt;a href="http://matplotlib.sourceforge.net/"&gt;matplotlib&lt;/a&gt;. I would really like to express one thing: Python + Qt4 &lt;i&gt;rocks&lt;/i&gt;. Seriously, the whole application has only 306 lines including comments!&lt;br /&gt;&lt;br /&gt;Are you interested in the code or even in helping me writing a cool PP-Simulation? Do you think this should go into &lt;a href="http://edu.kde.org"&gt;KDE EDU&lt;/a&gt;? I am hosting everything in GitHub: &lt;a href="http://github.com/cniehaus/biotools/tree/1807480b1ee7782f80dfeb2c85dbb2168de17439/raeuber-beute"&gt;PP in GitHub.&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:51160</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/51160.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=51160"/>
    <title>[LazyWeb] DualHead: Hardware suggestion</title>
    <published>2009-06-28T09:36:35Z</published>
    <updated>2009-06-28T09:36:35Z</updated>
    <category term="linux hardware"/>
    <content type="html">Hey,&lt;br /&gt;&lt;br /&gt;I just got a second LCD for free. Of course I'd like to use it ;-) Currently, my computer has an old ATI card which doesn't support a second LCD-Panel (it is an ATI RV350 AR Radeon 9600).&lt;br /&gt;&lt;br /&gt;I just noticed that I have 0% knowledge about graphics adapters... And I don't care about them, to be honest. All I want is KDE on two LCDs and be able to move windows between the two panels ;-) &lt;br /&gt;&lt;br /&gt;I never ever play games on that machine and only do EMail, Firefox and OpenOffice on it. That means 3D performance is completely unimportant, I am sure the slowest chip is more than fast enough. As I am using the machine a lot passive cooling would be really nice. 3D effects in KDE would be nice, of course.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Question&lt;/b&gt;: Which graphics card would you buy if you were me?&lt;br /&gt;Criteria:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Works on Linux (I am using Chakra (Arch Linux))&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Dualhead is easy to configure (that means documented and I don't need to compile my own X.org or kernel and such)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Inexpensive&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Silent&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Thanks you for your suggestions.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:50818</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/50818.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=50818"/>
    <title>Our firstborn</title>
    <published>2009-06-10T19:58:08Z</published>
    <updated>2009-06-10T19:59:41Z</updated>
    <content type="html">&lt;img width="500" height="309" align="middle" alt="Our daugther" src="http://img4.yfrog.com/img4/6929/milanachbearbeitet2.jpg" /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:50639</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/50639.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=50639"/>
    <title>Python class variables and code dupclication</title>
    <published>2009-04-16T13:38:37Z</published>
    <updated>2009-04-16T13:38:37Z</updated>
    <content type="html">&lt;code&gt;&lt;span style="font-family: Arial,Verdana,sans-serif;"&gt;Hello&lt;br /&gt;&lt;br /&gt;I am having a Python problem. I have two classes, both inheriting the class 'Animal'. I want a counter, that means Animal.count_of() should return the number of objects.&lt;br /&gt;&lt;br /&gt;Please have a look at this code:&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;class Animal(object):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; number = 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Animal.number += 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def __del__(self):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Animal.number -= 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def count_of(self):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print Animal.number&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;class Laus(Animal):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Animal.__init__(self)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;class Bug(Animal):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Animal.__init__(self)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;l1 = Laus()&lt;br /&gt;l1.count_of()&lt;br /&gt;l2 = Laus()&lt;br /&gt;l1.count_of()&lt;br /&gt;l3 = Laus()&lt;br /&gt;l1.count_of()&lt;br /&gt;l4 = Laus()&lt;br /&gt;l1.count_of()&lt;br /&gt;&lt;br /&gt;b1 = Bug()&lt;br /&gt;b1.count_of()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is not working because both classes are using the same class variable (number) which means the number in the last line is 5, not 1. I could obviously have one class variable for Bug and one for Laus, but that would mean I'd have to have two .count_of()-methods as well (and more would have to be duplicated, I&amp;nbsp;only pasted a stripped down code).&lt;br /&gt;&lt;br /&gt;Is there a trick to have one base-class Animal with a counter or do I really have to do everything twice?&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:50205</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/50205.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=50205"/>
    <title>OpenStreetMap and routable maps</title>
    <published>2009-03-22T13:07:54Z</published>
    <updated>2009-03-22T13:07:54Z</updated>
    <content type="html">W00p.&lt;br /&gt;&lt;br /&gt;I just prepared a geocachingtour. I am using a Garmin GPS device and the OpenStreetMap maps. Even though my city is really complete (over 99% of the streets, pretty much ever pub is in ;-) I update the map every month or so. Spelling mistakes, the rural areas get better and better each day and so on.&lt;br /&gt;&lt;br /&gt;Today I discovered that the map for Garmin devices is now routable! That means I have a navigation system for my bike. How cool is that?!&lt;br /&gt;&lt;br /&gt;OSM starts to seriously rock. A year ago and today: What a difference.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:50075</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/50075.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=50075"/>
    <title>Casting an int to a float in Python 2.6</title>
    <published>2009-03-15T10:17:50Z</published>
    <updated>2009-03-15T10:17:50Z</updated>
    <content type="html">Moin&lt;br /&gt;&lt;br /&gt;Does&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;%d / %d is %f" % (num1, num2, float(num1)/num2)&lt;br /&gt;&lt;p&gt;&lt;br /&gt;have any (dis)advantages over&lt;br /&gt;&lt;p&gt;&lt;br /&gt;%d / %d is %f" % (num1, num2, float(num1)/float(num2))&lt;br /&gt;&lt;p&gt;&lt;br /&gt;? Both work. If one number is a float both are treated as a float, as far as I know. &lt;br /&gt;&lt;br /&gt;Does the first line have any (technical) disadvantages over the second?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:49913</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/49913.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=49913"/>
    <title>Wifi-Map of my school</title>
    <published>2008-11-09T18:57:52Z</published>
    <updated>2008-11-09T19:16:17Z</updated>
    <content type="html">In my school we are currently rearranging many things including our Wifi-network. We have many (30 or so) Accesspoints all over the school. We want to know two things about our network:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;So far the accesspoints are were we _think_ they should be. But for obvious reasons (like we don't know how think some walls are, if certain fire resistant doors absorb wifi-signals or not...) we have no clue if our distribution is good or not. So we want a "signal strength map" of our school.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;Second, we want a map on which we can see if a certain accesspoint is in reach of another accesspoint. This is of course a sub-project of the first point.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;As we are a school we don't want (or can) spend money here. The best tool so far seems &lt;a href="http://www.wireshark.org/"&gt;WireShark&lt;/a&gt;, NetStumbler is Windows-only, but seems even better. Kismet is also such a tool but its GUI looks like I need a year to learn how to use it.&lt;br /&gt;&lt;br /&gt;Do you have other suggestions?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:49467</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/49467.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=49467"/>
    <title>New Python app: Python really rocks :) (I still don't know where to hosts those apps)</title>
    <published>2008-10-29T21:26:48Z</published>
    <updated>2008-10-29T21:29:00Z</updated>
    <category term="pyqt4"/>
    <content type="html">Just like &lt;a href="http://cniehaus.livejournal.com/49234.html"&gt;earlier&lt;/a&gt; I needed an application. This time I needed something that simulates the relations between predator and prey (see &lt;a href="http://de.wikipedia.org/wiki/R%C3%A4uber-Beute-Beziehung"&gt;here&lt;/a&gt;). My students will use a simple simulation with dices so see those relations. The problem is that it takes ages to roll 400 times (that is what you need to get good statistics). So they only roll the dices for about 50-70 times, discuss the trends they see.&lt;br /&gt;&lt;br /&gt;The next step will be my simulation based on the same rules. 77 python lines later that app is done :-) "All" I need is a nice PyQt4 interface for it, right now it is a pure shell application. But it already exports to CSV (just three lines :). In OOCalc this loooks like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img373.imageshack.us/my.php?image=ppkx1.png" target="_blank"&gt;&lt;img src="http://img373.imageshack.us/img373/58/ppkx1.th.png" border="0" alt="Free Image Hosting at www.ImageShack.us" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://img604.imageshack.us/content.php?page=blogpost&amp;amp;files=img373/58/ppkx1.png" title="QuickPost"&gt;&lt;img src="http://imageshack.us/img/butansn.png" alt="QuickPost" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Quite nice and the code is really simple. Python rocks.&lt;br /&gt;&lt;br /&gt;PS: No clue where to host this, I don't want such a tiny tool on sourceforge.net. Perhaps I should bundle all my biology simulation tools in one application (KSmallBiologyTools like (and no, I will not use that name)) and host _that_ application somewhere.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:49234</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/49234.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=49234"/>
    <title>PyQt4 rocks... Is there a (public) need for this kind of application?</title>
    <published>2008-10-01T19:31:08Z</published>
    <updated>2008-10-01T19:34:59Z</updated>
    <content type="html">Moin&lt;br /&gt;&lt;br /&gt;As a biology teacher I am sometimes teaching about how our brain (memory) works. One way to test it is to read out loud the words while my students listen (between 10 and 40 words). When all words have been read they have 2 minutes to write them down. &lt;br /&gt;&lt;br /&gt;Depending on the number of words and on the words themselves the results differ a lot. For example, if the words are interconnected ("hammer", "nail") those pairs are remembered quite well.&lt;br /&gt;&lt;br /&gt;If you do this with 10 groups you have a problem: There is no way to read the list 10 times in the same way. Two solutions: &lt;br /&gt;&lt;br /&gt;(1) Tape you reading and simply play the MP3-file.&lt;br /&gt;&lt;br /&gt;(2) Display the words.&lt;br /&gt;&lt;br /&gt;As a programmer (2) is much easier and more fun ;-) As I love &lt;a href="http://www.riverbankcomputing.co.uk/software/pyqt/intro"&gt;PythonQt4&lt;/a&gt; I simply wrote an application doing this:&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id="9" /&gt;&lt;br /&gt;	&lt;br /&gt;As you can see I added a couple of words lists: One syllable, two syllables, more than two syllables and five lists of similar sounding words (man, ham, spam, damn, ...). You can configure the display time and see all words of a list. I am using a projector to display the words in the classroom.&lt;br /&gt;&lt;br /&gt;This application is doing exactly one thing and is doing it well (ok, it won't win a design award...). As far as I know there is no such tool for schools around. So I wonder if there is a place for this kind off application. It is to specialized for kdeedu or Plasma, I think.&lt;br /&gt;&lt;br /&gt;By the way: The application has only 129 lines of code including 11 lines of licence, 10 lines for the data, comments and white space. Python + Qt4 rocks :-)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:48968</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/48968.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=48968"/>
    <title>Geocaching</title>
    <published>2008-09-19T17:16:26Z</published>
    <updated>2008-09-19T17:16:26Z</updated>
    <content type="html">In the last 2 weeks I &lt;a href="http://en.wikipedia.org/wiki/Geocaching"&gt;geocaching&lt;/a&gt;. So far I found (cacher-lingo: logged) 10 caches. Yesterday I did my first Nightcache. Those caches can only be found at night, in this case because light reflecting discs are used that cannot be seen at day (or almost: they are white on white background 10 meters away from a road. At night it was pretty easy to see them by using a torch).&lt;br /&gt;&lt;br /&gt;Geocaching is fun! :)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:48878</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/48878.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=48878"/>
    <title>Marble 0.6.1 now also in my school</title>
    <published>2008-09-19T17:12:53Z</published>
    <updated>2008-09-19T17:13:12Z</updated>
    <category term="school"/>
    <category term="kde"/>
    <content type="html">From today on 32 laptops in my school have &lt;a href="http://edu.kde.org/marble/"&gt;Marble 0.6.1&lt;/a&gt; on Windows XP installed. Runs nicely. Lets see how our geography teachers like it!&lt;br /&gt;&lt;br /&gt;Next week I will install it on another 16 machines.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:48474</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/48474.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=48474"/>
    <title>Eigen 2.0 beta 1 released</title>
    <published>2008-09-15T19:00:05Z</published>
    <updated>2008-09-15T19:05:26Z</updated>
    <category term="kde eigen kalzium"/>
    <content type="html">&lt;i&gt;Benoît Jacob asked me to publish this great news for him as his blog disappeared from this planet...:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;We just released the beta version of &lt;a href="http://eigen.tuxfamily.org"&gt;Eigen 2.0&lt;/a&gt;. It has matured a lot over recent weeks as quite a number of apps have been ported to it: &lt;a href="http://avogadro.openmolecules.net"&gt;Avogadro&lt;/a&gt;, &lt;a href="http://koffice.kde.org"&gt;KOffice (mainly Krita and a little KSpread)&lt;/a&gt;, KGLLib, SolidKreator, KGLEngine. We plan to release 2.0 later this fall.&lt;br /&gt;&lt;br /&gt;There is now a quite decent &lt;a href="http://eigen.tuxfamily.org/api/TutorialCore.html"&gt;Tutorial&lt;/a&gt; which is a good starting point if you are interested in Eigen.&lt;br /&gt;&lt;br /&gt;Besides polishing for the upcoming 2.0 release, we are already making big plans for the future. Version 2.1 will have a complete Sparse module, which will be very useful for &lt;a href="http://koffice.kde.org/krita"&gt;Krita&lt;/a&gt; and &lt;a href="http://edu.kde.org/step"&gt;Step&lt;/a&gt;. Gael had been doing the ground work for this module, and recently Daniel Gomez joined us and contributed several improvements.&lt;br /&gt;&lt;br /&gt;We still are very few developers -- Daniel is basically the 3rd one, with Gael and me, although a few guys have been helping occasionnally in the past. We definitely can use more help (hint, hint). For that reason we try to polish the documentation a lot, and we can mentor any prospective contributor. &lt;a href="http://eigen.tuxfamily.org/index.php?title=Todo"&gt;Here is a TODO&lt;/a&gt; with many available jobs, all you need is C++ and some math background.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:48222</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/48222.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=48222"/>
    <title>[Lazyweb] Using TrueCrypt for Linux and Windows?</title>
    <published>2008-08-26T17:38:36Z</published>
    <updated>2008-08-26T17:42:53Z</updated>
    <content type="html">Moin&lt;br /&gt;&lt;br /&gt;This is my situation:&lt;br /&gt;&lt;br /&gt;I have data on my Linux machine at home (several thousand files, about 10 gigabyte). I am using that PC several hours a day. The filesystem is Ext3.&lt;br /&gt;Quite regularly I need some of my data at work which is a Windows-only land... I am thinking about buying a 2.5" HDD (USB). For various reasons I have to encrypt my data.&lt;br /&gt;&lt;br /&gt;Currently the best solutions seems to be TrueCrypt as it is OpenSource and works on Linux and Windows. I used it on Windows, but never on Linux.&lt;br /&gt;&lt;br /&gt;One problem is that I need to be able to read the data on our Windows XP and 2000 machines and that means that I'd need to make the hard disk use FAT which will probably cause problems (I have tons of files with umlauts and I cannot even count the occasions where an umlaut made huge problems when I converted FAT &amp;lt;--&amp;gt; EXT*).&lt;br /&gt;&lt;br /&gt;So my question to you, dear Lazyweb, is if a 2.5" USB HDD with TrueCrypt is the best way to go. I'd use rsync to sync between my computer and the USB HDD. &lt;br /&gt;I also thought about an U3 stick but that doesn't work on Linux...&lt;br /&gt;&lt;br /&gt;Thanks.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:48055</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/48055.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=48055"/>
    <title>Icons for elements in Kalzium: Contextinformation</title>
    <published>2008-08-07T10:21:09Z</published>
    <updated>2008-08-07T10:22:20Z</updated>
    <category term="kde kalzium"/>
    <content type="html">Moin&lt;br /&gt;&lt;br /&gt;I just added a feature (local git tree for now) to Kalzium: When you are in the iconic mode (that means where instead of chemical information you see &lt;a href="http://edu.kde.org/kalzium/iconsets.php"&gt;SVG-icons&lt;/a&gt; like in the next screenshot) you see information about the icon.&lt;br /&gt;&lt;img src="http://img115.imageshack.us/img115/5368/kalziumblogjq4.png" border="0" alt="Image Hosted by ImageShack.us" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For example to some of us it might not be clear why Lithium is represented by a battery or Sulfur by a match. This information is now in the extended legend-widget:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://img501.imageshack.us/img501/9629/kalziumblog2ct7.png" border="0" alt="Image Hosted by ImageShack.us" /&gt;&lt;br /&gt;&lt;br /&gt;For one, this is just a demo-text. The information is there but needs to be written in good and easy-to-understand english. Anyone?&lt;br /&gt;Also, I am not sure how to present the information... Perhaps someone with taste and a sense for good GUI design could help me here a bit?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:47700</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/47700.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=47700"/>
    <title>Converting any window into plasmoid</title>
    <published>2008-06-30T12:47:49Z</published>
    <updated>2008-06-30T12:47:49Z</updated>
    <content type="html">Moin&lt;br /&gt;&lt;br /&gt;Somehow Vladimirs blog disappeared from the planet, that is what he asked me to tell you about his work on Plasma. Please read the cool details (with screenshots) here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ksvladimir.blogspot.com/2008/06/converting-any-window-into-plasmoid.html"&gt;http://ksvladimir.blogspot.com/2008/06/converting-any-window-into-plasmoid.html&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:47428</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/47428.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=47428"/>
    <title>Anybody to compile a Qt app on Windows for me?</title>
    <published>2008-06-12T15:23:30Z</published>
    <updated>2008-06-13T13:21:42Z</updated>
    <content type="html">Hi&lt;br /&gt;&lt;br /&gt;I need a really small Qt4 application on Windows XP Professional. That catch is that it has to be self-contained as on the target PCs there is no Qt4 installed. The whole application is 10 lines of code plus one .ui file.&lt;br /&gt;&lt;br /&gt;I tried to compile Qt4 statically but gave up after two hours. Vista seems to hate me and I hate Vista, that is for sure.&lt;br /&gt;&lt;br /&gt;Anyone? I'd send you the files per email. If you are willing to help me out just send a mail to cniehaus at kde,org.&lt;br /&gt;&lt;br /&gt;[Update]: Thanks for all your replies! Patrick Spendrin was the first and already provided me a working .exe file.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:47223</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/47223.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=47223"/>
    <title>OpenStreetMap party in Oldenburg (North Germany)</title>
    <published>2008-06-03T19:32:09Z</published>
    <updated>2008-06-03T19:33:34Z</updated>
    <category term="openstreetmap"/>
    <content type="html">Hallo, ich werde am 5. / 6. July 2008 eine OSM-Party in &lt;a href="http://de.wikipedia.org/wiki/Oldenburg"&gt;Oldenburg&lt;/a&gt; veranstalten. Wer Lust hat, daran teilzunehmen, möge sich hier eintragen und/oder sich bei mir melden.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wiki.openstreetmap.org/index.php/Oldenburg_mapping_party"&gt;http://wiki.openstreetmap.org/index.php/Oldenburg_mapping_party&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10 GPS-Geräte werden von der Geo-Factory &lt;a href="http://www.openstreetmap.de/gps-verleih/"&gt;bereitgestellt&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;__________________________________________&lt;br /&gt;&lt;br /&gt;Hello, on the 5 and/or 6 of July 2008 an OSM-Party will be held in &lt;a href="http://en.wikipedia.org/wiki/Oldenburg"&gt;Oldenburg, Germany&lt;/a&gt;. If you would like to attend please add yourself to the Wikipage and contact me directly.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wiki.openstreetmap.org/index.php/Oldenburg_mapping_party"&gt;http://wiki.openstreetmap.org/index.php/Oldenburg_mapping_party&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10 GPS-devices will be &lt;a href="http://www.openstreetmap.de/gps-verleih/"&gt;provided&lt;/a&gt; by the Geo-Factory.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:46932</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/46932.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=46932"/>
    <title>Folding at Home, KDE-Team</title>
    <published>2008-05-25T18:03:29Z</published>
    <updated>2008-05-25T18:05:52Z</updated>
    <category term="chemistry f@h science"/>
    <content type="html">A couple of years ago I joined &lt;a href="http://folding.stanford.edu/English/Main"&gt;Folding At Home&lt;/a&gt;. There is a &lt;a href="http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&amp;amp;teamnum=461"&gt;KDE-team&lt;/a&gt; for which I folded in 2002. We are getting old, right? :-)&lt;br /&gt;&lt;br /&gt;Now that I have a fast computer again I restared using F@H in the background. It is only using one of my two cores, so I can run it all the time.&lt;br /&gt;&lt;br /&gt;Well, perhaps you are also interested in helping this biochemical and non-profit project? The teamnumber is 461.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:46763</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/46763.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=46763"/>
    <title>PyQt4: 500 lines of code later</title>
    <published>2008-05-01T17:28:05Z</published>
    <updated>2008-05-01T17:28:05Z</updated>
    <category term="python"/>
    <category term="pyqt4"/>
    <lj:music>Beck</lj:music>
    <content type="html">Yesterday I blogged that I decided to use PyQt4 in my class. A few hundred lines of code later I start to like Python. It is quite a nice language so far. The indendation thing still drives me mad from time to time (there seems to be no sane editor for python that autoindents my code... Usually I am using VIM, but it is not correctly indenting my files for some reasons. Need to google a bit more for Python-specific vim scripts/settings, I guess.&lt;br /&gt;&lt;br /&gt;But I have one issue I cannot resolve (in a nice way). I am loading data from a CSV file. One data set is just True/False, in the file represented by "1" and "0". The only way to make this work is this code:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;liquid = bool(int(row[6]))&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Without the casting from string to int the casting to bool is not working. In other words, I cannot directly cast from string to bool. I guess there is a more pythonic way, if you know it please tell me :-)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:46485</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/46485.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=46485"/>
    <title>PyQt4 success, a coding class in my school</title>
    <published>2008-04-29T17:30:54Z</published>
    <updated>2008-04-29T17:48:17Z</updated>
    <category term="qt"/>
    <category term="python"/>
    <category term="pyqt4"/>
    <content type="html">In the next term I will (for the first time) be teaching a coding class at my school. I had a few must-have criteria for the language and toolkit of choice:&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Language&lt;/h3&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Has to be a scripted language as then no compiler is needed. Is easier to understand and less error-prone&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to be free as in beer and freedom&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to run on Windows 2000, XP, Vista &lt;i&gt;and&lt;/i&gt; Linux&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to have a &lt;i&gt;german&lt;/i&gt; reference (for my students)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to have a good textbook (for me), if possible written in german&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to have a good Editor&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.perl.org/"&gt;Perl&lt;/a&gt;, &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;, &lt;a href="http://www.ruby-lang.org"&gt;Ruby&lt;/a&gt; are left&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Perl, Python, Ruby are still left&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Perl, Python, Ruby are still left&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Perl, Python, Ruby are still left&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Perl, Python, Ruby are still left&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Perl, Python, Ruby are still left (&lt;a href="http://notepad-plus.sourceforge.net/de/site.htm"&gt;Notepad++&lt;/a&gt; works great for all three languages)&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Ok, so I looked at good toolkits for all three languages. My &lt;i&gt;clear&lt;/i&gt; favorite is &lt;a href="http://www.ruby-lang.org"&gt;Ruby&lt;/a&gt;, for several reasons. I love the language, I know the language, Richard does a &lt;u&gt;great&lt;/u&gt; job maintaining the Qt- and KDE-bindings, the &lt;a href="http://www.rubycentral.com/pickaxe/"&gt;PickAxe&lt;/a&gt; is a perfect book to learn Ruby from and so on. But I did not choose Ruby. For a very simple reason. Lets see:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;Toolkit&lt;br /&gt;&lt;li&gt;Has to be free as in beer and freedom&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to have a good documentation for me (as I need to be a few steps ahead of my students)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to have a &lt;i&gt;german&lt;/i&gt; documentation for my students&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to run on Windows 2000, XP, Vista &lt;i&gt;and&lt;/i&gt; Linux&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Has to have a &lt;i&gt;german&lt;/i&gt; examples/tutorials which run out of the box (for my students)&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://trolltech.com/products/qt"&gt;Qt&lt;/a&gt;, &lt;a href="http://www.gtk.org/"&gt;GTK&lt;/a&gt; and &lt;a href="http://www.wxpython.org/"&gt;wx&lt;/a&gt; variants of Perl, Python and Ruby are left&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Qt variants of Python and Ruby are left. Sorry for wx and GTK, but there are no good documents I could use. This alone rules you out. Beside this, I'd always prefere Qt as I know that toolkit. But I would have taken wx and GTK to the next level if they had better docs. &lt;a href="http://www.wxpython.org/"&gt;wxPython&lt;/a&gt; has "ok" docs, but compared to what I found for PyQt4 it is still quite thin.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;PyQt4 and QtRuby4 are still left. Now wxPython and &lt;a href="http://www.pygtk.org/"&gt;PyGTK&lt;/a&gt; would have died anyway.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;PyQt4 is left. Works like a charm on Windows and Linux. I often used QtRuby on Linux and so far never on Windows. It seems it once existed but is no longer maintained. A shame, really, as Ruby is such a great language.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;So it will be PyQt4. &lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Python has a &lt;i&gt;great&lt;/i&gt; free (beer and freedom, written in german) &lt;a href="http://www.galileocomputing.de/openbook/python/"&gt;book&lt;/a&gt; which I will probably buy as a dead-tree version (I hate reading a book at the screen).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;There are &lt;a href="http://www.zetcode.com/tutorials/pyqt4/firstprograms/"&gt;many&lt;/a&gt;, &lt;a href="http://www.rkblog.rk.edu.pl/w/p/introduction-pyqt4/"&gt;many&lt;/a&gt;, &lt;a href="http://indico.cern.ch/contributionDisplay.py?contribId=33&amp;amp;sessionId=41&amp;amp;confId=44"&gt;many&lt;/a&gt; good tutorials, workshops and so on.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Very good class &lt;a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html"&gt;documentation&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Even a &lt;a href="http://www.amazon.de/Programming-Definitive-Prentice-Software-Development/dp/0132354187/ref=sr_1_1?ie=UTF8&amp;amp;s=books-intl-de&amp;amp;qid=1209489982&amp;amp;sr=8-1"&gt;book&lt;/a&gt; for PyQt4 itself (which is a huge plus).&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;I guess wxPython is on the second place. It also has a good &lt;a href="http://www.amazon.de/wxPython-Action-Noel-Rappin/dp/1932394621/ref=sr_1_3?ie=UTF8&amp;amp;s=books-intl-de&amp;amp;qid=1209489982&amp;amp;sr=8-3"&gt;book&lt;/a&gt; and compared to the other options a good documentation in general. Well, PyQt4 is nice, I already wrote a few hundred lines of code with it. I hope my students will also like my choice :-)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:46209</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/46209.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=46209"/>
    <title>MP3 Player vs. Windows vs. Carsten</title>
    <published>2008-04-26T18:42:27Z</published>
    <updated>2008-04-26T19:21:02Z</updated>
    <category term="mp3 amarok windows"/>
    <lj:music>Linkin Park</lj:music>
    <content type="html">Today I bought 4 GB MP3-Player. First thing I did was to copy a nice playlist from &lt;a href="http://amarok.kde.org"&gt;Amarok&lt;/a&gt; to the device (on the product box Trekstor even claims the device to be Linux compatible, nice :-), of course it just worked. After a while I had sound problems when listening to Big Pimpin'/Papercut by Linkin Park/Jay Z.&lt;br /&gt;&lt;br /&gt;I thought, ok, let's update the firmware. Of course, the software for that is Windows only (and english-only, btw, nice for those 4 billion of us not speaking english), so I switched the OS. I installed the Software and started it. It requires root-privileges. Huh? &lt;br /&gt;&lt;br /&gt;Well, I entered the admin-password and 20 minutes later I gave up. First, Windows recoqnized the device without any problem. From one minute to the other it is an unknown device. I tried hard with all my windows-fu and failed. The is no way to connect to the device it seems...&lt;br /&gt;&lt;br /&gt;The funny thing is that Windows Media Player is able to play songs directly from the device... Cool, right?&lt;br /&gt;&lt;br /&gt;/me reboots to Linux where things just work (for me, at least)&lt;br /&gt;&lt;br /&gt;PS: The sounds issues I had are fixed now, it was a headset problem.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:45935</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/45935.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=45935"/>
    <title>Basic Git-foo</title>
    <published>2008-04-18T16:29:22Z</published>
    <updated>2008-04-18T16:49:06Z</updated>
    <category term="git"/>
    <content type="html">As I just helped Vladimir to understand the basics of Git I though I can as well blog about this and make others understand Git as well. I guess this might be a start for a tutorial on techbase.kde.org? What do you think?&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; I did just &lt;a href="http://techbase.kde.org/index.php?title=Development/Tutorials/Git"&gt;that&lt;/a&gt;. Lets improve the tutorial there and make it more KDE centric.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Setting up Git&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;First, I started a new Git repository and added one file to it.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git init&lt;br /&gt;Initialized empty Git repository in .git/&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; echo "Test content" &amp;gt; testfile&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now I will check what the status is. I will list one untracked file, that means the file has not yet been added to the repository.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git status&lt;br /&gt;# On branch master&lt;br /&gt;#&lt;br /&gt;# Initial commit&lt;br /&gt;#&lt;br /&gt;# Untracked files:&lt;br /&gt;#   (use "git add &lt;file&gt;..." to include in what will be committed)&lt;br /&gt;#&lt;br /&gt;#       testfile&lt;br /&gt;nothing added to commit but untracked files present (use "git add" to track)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;In the next three commands I will add the file, commit the file and then check for the status again.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git add testfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git commit&lt;br /&gt;Created initial commit 246d7aa: This is the first commit&lt;br /&gt; 1 files changed, 1 insertions(+), 0 deletions(-)&lt;br /&gt; create mode 100644 testfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git status&lt;br /&gt;# On branch master&lt;br /&gt;nothing to commit (working directory clean)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ok, as you can see the file has been commited. Now I will demonstrate what happens when I am changine the contents of the file:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; echo "new content" &amp;gt; testfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git status&lt;br /&gt;# On branch master&lt;br /&gt;# Changed but not updated:&lt;br /&gt;#   (use "git add &lt;file&gt;..." to update what will be committed)&lt;br /&gt;#&lt;br /&gt;#       modified:   testfile&lt;br /&gt;#&lt;br /&gt;no changes added to commit (use "git add" and/or "git commit -a")&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git commit -a&lt;br /&gt;Created commit 14a9802: Second commit&lt;br /&gt; 1 files changed, 1 insertions(+), 1 deletions(-)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You see that Git noticed the changes in the file. "git-commit -a" commits all changes in the repository.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Branches are cheap in Git&lt;/h3&gt;&lt;br /&gt;git-branch shows you the branches of the repository, the one with the '*' is the active one. So lets create a new branch called "bugfix-branch" and assume we want to fix a branch there. After this fix (in this case the new file) I will merge back all the hard work into the master branch.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git-branch&lt;br /&gt;* master&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git branch bugfix-branch&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git checkout bugfix-branch&lt;br /&gt;Switched to branch "bugfix-branch"&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git branch&lt;br /&gt;* bugfix-branch&lt;br /&gt;  master&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; echo "a second file" &amp;gt; newfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git commit -a&lt;br /&gt;# On branch bugfix-branch&lt;br /&gt;# Untracked files:&lt;br /&gt;#   (use "git add &lt;file&gt;..." to include in what will be committed)&lt;br /&gt;#&lt;br /&gt;#       newfile&lt;br /&gt;nothing added to commit but untracked files present (use "git add" to track)&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git add newfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git commit -a&lt;br /&gt;Created commit 3264357: This file is here for a demonstration of Gits branch- and merge feature&lt;br /&gt; 1 files changed, 1 insertions(+), 0 deletions(-)&lt;br /&gt; create mode 100644 newfile&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ok, the bug is fixed now. Next step: Checkout the master branch and merge the two branches:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git checkout master&lt;br /&gt;Switched to branch "master"&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; ls&lt;br /&gt;testfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git merge bugfix-branch&lt;br /&gt;Updating 14a9802..3264357&lt;br /&gt;Fast forward&lt;br /&gt; newfile |    1 +&lt;br /&gt; 1 files changed, 1 insertions(+), 0 deletions(-)&lt;br /&gt; create mode 100644 newfile&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; ls&lt;br /&gt;newfile  testfile&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Lets now have a look at the log of the testfile&lt;/h3&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;carsten@moinmoin:~/git&amp;gt; git log&lt;br /&gt;commit 14a9802e249413003d1fa40002baa025aa54c75f&lt;br /&gt;Author: Carsten Niehaus &amp;lt;carsten@moinmoin.site&amp;gt;&lt;br /&gt;Date:   Fri Apr 18 18:07:18 2008 +0200&lt;br /&gt;&lt;br /&gt;    Second commit&lt;br /&gt;&lt;br /&gt;commit 246d7aad05139314e7ff62a5becb6c930f72fb8f&lt;br /&gt;Author: Carsten Niehaus &amp;lt;carsten@moinmoin.site&amp;gt;&lt;br /&gt;Date:   Fri Apr 18 18:06:33 2008 +0200&lt;br /&gt;&lt;br /&gt;    This is the first commit&lt;br /&gt;&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:45667</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/45667.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=45667"/>
    <title>Step moved to kdeedu</title>
    <published>2008-04-05T15:38:11Z</published>
    <updated>2008-04-05T15:38:11Z</updated>
    <content type="html">Today, Vladimir moved &lt;a href="http://edu.kde.org/step/"&gt;Step&lt;/a&gt; from kdereview to kdeedu. This means that KDE 4.1 will ship it! This week I demonstrated Step to several of my students (7th and 10th grade) and got a little &lt;a href="http://lists.kde.org/?l=kde-edu-devel&amp;amp;m=120724534826122&amp;amp;w=2"&gt;feedback&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This feedback already resulted in several changes including the ability to easily modify the speed of the simulation:&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id="7" /&gt;&lt;br /&gt;&lt;br /&gt;Other recent changes include the tutorial. Vladimirs woman added five tutorial. The following video shows one of them (the second) and also demonstrates how easy it is to "play" with Step: I added a rectangular to the simulation to see what happens when the ball bounces against it...&lt;br /&gt;&lt;br /&gt;&lt;lj-embed id="8" /&gt;&lt;br /&gt;&lt;br /&gt;We hope to get more bugreports and ideas for Step, now that it is inside an official KDE repository. What we currnently would like to get from users is more tutorials and more example. Interested in helping us?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:cniehaus:45362</id>
    <link rel="alternate" type="text/html" href="http://cniehaus.livejournal.com/45362.html"/>
    <link rel="self" type="text/xml" href="http://cniehaus.livejournal.com/data/atom/?itemid=45362"/>
    <title>[Step] Help needed for the documentation</title>
    <published>2008-04-03T19:32:34Z</published>
    <updated>2008-04-03T19:32:34Z</updated>
    <content type="html">The Step team has a small job to offer, everybody is well suited for this one so don't miss a chance to enter the Free Software World! You do not need to be able to code. &lt;br /&gt;&lt;br /&gt;In Step, everything should have a small help-text. We are doing this by creating simple HTML-file like &lt;a href="http://websvn.kde.org/trunk/kdereview/step/step/objinfo/GasParticle.html?revision=786022&amp;amp;view=markup"&gt;this for example&lt;/a&gt;. As you can see, the file is quite simple.&lt;br /&gt;&lt;br /&gt;All you would need to do is to choose an item without a helpfile (that is pretty much everything, you can really cherry pick!), write the text and send the file to me, Vladimir or the kdeedu-list.&lt;br /&gt;&lt;br /&gt;Interested?</content>
  </entry>
</feed>
