<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://blog.cryos.net/feeds/atom.xml" rel="self" title="Marcus D. Hanwell's Blog" type="application/atom+xml" />
    <link href="http://blog.cryos.net/"                        rel="alternate"    title="Marcus D. Hanwell's Blog" type="text/html" />
    <link href="http://blog.cryos.net/rss.php?version=2.0"     rel="alternate"    title="Marcus D. Hanwell's Blog" type="application/rss+xml" />
    <title type="html">Marcus D. Hanwell's Blog</title>
    <subtitle type="html">Random thoughts, life, Academia, Gentoo, diving...</subtitle>
    <icon>http://blog.cryos.net/templates/competition/img/s9y_banner_small.png</icon>
    <id>http://blog.cryos.net/</id>
    <updated>2008-04-23T13:19:33Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4-alpha1">Serendipity 1.4-alpha1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:blog@cryos.net" />

    <entry>
        <link href="http://blog.cryos.net/archives/178-GSoC-Molecular-Animation-in-Kalzium.html" rel="alternate" title="GSoC: Molecular Animation in Kalzium" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-04-22T11:26:49Z</published>
        <updated>2008-04-23T13:19:33Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=178</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=178</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
    
        <id>http://blog.cryos.net/archives/178-guid.html</id>
        <title type="html">GSoC: Molecular Animation in Kalzium</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I am very pleased to be able to announce that <a href="http://blog.cryos.net/exit.php?url_id=853&amp;entry_id=178" title="http://code.google.com/soc/2008/kde/appinfo.html?csaid=4A166875B1873692"  onmouseover="window.status='http://code.google.com/soc/2008/kde/appinfo.html?csaid=4A166875B1873692';return true;" onmouseout="window.status='';return true;">Naomi Fox's application</a> for a <a href="http://blog.cryos.net/exit.php?url_id=850&amp;entry_id=178" title="http://code.google.com/soc/2008/"  onmouseover="window.status='http://code.google.com/soc/2008/';return true;" onmouseout="window.status='';return true;">Google Summer of Code (TM)</a> was successful. Some of you may remember that I participated last year as a student and was also lucky enough to attend <a href="http://blog.cryos.net/exit.php?url_id=851&amp;entry_id=178" title="http://akademy.kde.org/"  onmouseover="window.status='http://akademy.kde.org/';return true;" onmouseout="window.status='';return true;">aKademy</a>. This year I am no longer a student but I am very pleased to be able to participate as a mentor and hopefully pass on some of what I learned last year.</p>

<p>I hope you will all join me in welcoming Naomi to our development community. As I moved to the US last year we are actually in the same timezone which will make mentoring easier. It does mean getting to aKademy will be a lot more difficult but may be I can attend the first <a href="http://blog.cryos.net/exit.php?url_id=852&amp;entry_id=178" title="http://troy-at-kde.livejournal.com/15657.html"  onmouseover="window.status='http://troy-at-kde.livejournal.com/15657.html';return true;" onmouseout="window.status='';return true;">KDE Americas</a> event. I am really looking forward to working with Naomi over the summer and I think this is a really important set of features still missing in Kalzium.</p>

<p>Looking forward to a great summer, my first in Pittsburgh and my first time as a mentor.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/177-Chemistry-Visualisation-and-Tools-Meeting.html" rel="alternate" title="Chemistry Visualisation and Tools Meeting" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-03-20T18:20:00Z</published>
        <updated>2008-03-23T11:38:41Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=177</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=177</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/14-Academia" label="Academia" term="Academia" />
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/177-guid.html</id>
        <title type="html">Chemistry Visualisation and Tools Meeting</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>Last week I was privileged to be invited to speak at a meeting about <a href="http://blog.cryos.net/exit.php?url_id=841&amp;entry_id=177" title="http://www.ccp1.ac.uk/chemtoolsmeet"  onmouseover="window.status='http://www.ccp1.ac.uk/chemtoolsmeet';return true;" onmouseout="window.status='';return true;">molecular modelling</a> with a focus on tools, GUIs and visualisation. The meeting was held at the Holiday Inn in Runcorn and the Daresbury Laboratory (England). I wasn't expecting to be back in England quite so soon, having only just returned to Pittsburgh at the end of January.</p>

<p>The meeting was a great opportunity to present some of the latest work I and others in the <a href="http://blog.cryos.net/exit.php?url_id=842&amp;entry_id=177" title="http://avogadro.openmolecules.net/"  onmouseover="window.status='http://avogadro.openmolecules.net/';return true;" onmouseout="window.status='';return true;">Avogadro</a> and <a href="http://blog.cryos.net/exit.php?url_id=843&amp;entry_id=177" title="http://www.openbabel.org/"  onmouseover="window.status='http://www.openbabel.org/';return true;" onmouseout="window.status='';return true;">OpenBabel</a> communities have been doing to create tools that enable the building of molecules and structures, as well as their visualisation. It was also a great chance to hear some very interesting talks by the developers of other building tools and some quantum codes. Donald and I were also invited to Daresbury Laboratory to work with some of the <a href="http://blog.cryos.net/exit.php?url_id=844&amp;entry_id=177" title="http://www.cse.scitech.ac.uk/ccg/software/ccp1gui/"  onmouseover="window.status='http://www.cse.scitech.ac.uk/ccg/software/ccp1gui/';return true;" onmouseout="window.status='';return true;">CCP1GUI</a> developers.</p>

<p>I presented my talk on Avogadro on Wednesday morning and have made the <a href="http://blog.cryos.net/uploads/MDHanwell-AvoVisTalk.pdf">slides available here</a>. Donald gave an introduction to Avogadro, some of the history and the architecture before I gave my presentation. We finished by taking questions while I demonstrated the Avogadro application. I think it was extremely productive. We had many more conversations over dinner and drinks later as well as in a workshop setting on Thursday afternoon.</p>

<p>It was great to be able to put a face to a few of the names and discuss current issues more informally in the evening. The talks were all of a very high quality and from a varied list of speakers from other open source projects, some of the free quantum codes as well as commercial products. I have come away from the meeting with a much better appreciation of the needs in the community and I feel that Avogadro is in a great position to fill the apparent void.</p>

<p>I am glad that we were able to get surface and orbital support working in Avogadro before the meeting. Right now we only support Guassian cube files but the implementation is general enough that I will be able to add support for further formats. I really think that if we can get enough people collaborating on a common project everyone can get the tool they need to effectively do their research at a much lower investment than could be achieved by working on many separate projects.</p>

<p>I met Tristan Youngs, the developer of <a href="http://blog.cryos.net/exit.php?url_id=846&amp;entry_id=177" title="http://code.google.com/p/aten/"  onmouseover="window.status='http://code.google.com/p/aten/';return true;" onmouseout="window.status='';return true;">Aten</a>, who had implemented some really nice features in his molecular builder that is much more focussed on molecular mechanics. It is well worth checking out. As is <a href="http://blog.cryos.net/exit.php?url_id=847&amp;entry_id=177" title="http://molmod.ugent.be/code/wiki/Zeobuilder/"  onmouseover="window.status='http://molmod.ugent.be/code/wiki/Zeobuilder/';return true;" onmouseout="window.status='';return true;">Zeobuilder</a> which was developed by Toon Verstraelen. They both implement some great features and have strengths in different areas. Of course my dream is to integrate many of these features via Avogadro plugins and have one editor which is capable of being used in a diverse range of applications.</p>

<p>It was also great to speak to <a href="http://blog.cryos.net/exit.php?url_id=848&amp;entry_id=177" title="http://www.cscs.ch/~mvalle/"  onmouseover="window.status='http://www.cscs.ch/~mvalle/';return true;" onmouseout="window.status='';return true;">Mario Valle</a> who is doing some very interesting work in the area of new visualisation methods and supports a large user base of computational chemistry users. There were of course so many other talks but you can look at the schedule yourself and I think the slides of all the talks should be available in the near future.</p>

<p>I feel sure that many good things will come out of this meeting and hope to be able to attend similar meetings in the future. I would like to thank Jens once again for hosting the meeting and taking care of everything. I hope to see some patches and/or commits from him in the near future <img src="http://blog.cryos.net/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/176-Getting-Back-to-Gentoo-and-KDE-Development.html" rel="alternate" title="Getting Back to Gentoo and KDE Development" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-03-09T14:58:00Z</published>
        <updated>2008-03-10T09:02:30Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=176</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=176</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/1-Gentoo" label="Gentoo" term="Gentoo" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
    
        <id>http://blog.cryos.net/archives/176-guid.html</id>
        <title type="html">Getting Back to Gentoo and KDE Development</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>After I got back from the UK in January my wife came to join me. She brought with her my old Acer Ferrari nearly working shy of a new hard drive. I got one from NewEgg at a fairly reasonable price and installed it. The drive arrived with a few bent pins, packaging isn't their strong point obviously, and took twice as long as they said but hey at least I had it. I had been stranded in America without Linux for more than three months and so another few days wasn't going to kill me.</p>

<p>Once I got the drive in it seemed the slot loading CD drive and got itself in a twist and would not load any CDs. An hour later and lots of pieces on the table I had reset it, put it back together (a few times) and got a Gentoo LiveCD in there. So I was in business. I had considered installing kubuntu but I wasn't getting on with it in the VM I had at work and I wanted to get back to Gentoo development too.</p>

<p>Everything looked good. Got an X server up and running. The ATI binary blob was as unstable as ever. Thanks to nerdboy (I think) I got the open source r300 driver working. This is much more stable although missing several OpenGL features we use in Avogadro such as smooth triangle shading, changing vertex colours in drawing operations etc. Other than that it works much better than the binary blob and is far more stable. I like stability in a system.</p>

<p>I have KDE 4 trunk running and am using it as my main desktop right now. Still got some rough edges I haven't had time to figure out just yet such as kmail refusing to save my IMAP accounts, kopete refusing to connect to GTalk and general saving issues most of the core seems pretty solid. I am compiling Thunderbird right now so that I have something. I will hopefully be getting back to Kalzium development pretty soon. If I find the time I would love to help out with KDE in a more general sense as well as helping out with the Gentoo packages.</p>

<p>My desktop is apparently in a customs area somewhere in New York. Delay after delay after delay with the shipping of my household possessions from the UK. So I am still without desktop hoping that an "intensive exam" is not too expensive and does not involve breaking any of my stuff :/ We shall see. Fingers crossed I will actually have furniture and my desktop computer back within a few weeks. That would allow me to be so much more productive having my dual core Gentoo desktop back, creature comforts and all that good stuff.</p>

<p> So keep your fingers crossed for me. Hopefully you will be seeing a lot more commits coming from me in the KDE and Gentoo repositories as well as the Avogadro work I have managed to continue to do on the MacBook Geoff so kindly loaned me whilst I was laptopless (is that a word? It should be!) Not sure that was a sentence now either...</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/175-Avogadro-0.6.1-Released.html" rel="alternate" title="Avogadro 0.6.1 Released" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-03-09T14:30:00Z</published>
        <updated>2008-03-23T11:39:08Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=175</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=175</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/1-Gentoo" label="Gentoo" term="Gentoo" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/175-guid.html</id>
        <title type="html">Avogadro 0.6.1 Released</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I am pleased to announce that I tagged and released <a href="http://blog.cryos.net/exit.php?url_id=838&amp;entry_id=175" title="http://avogadro.openmolecules.net/wiki/Avogadro_0.6.1"  onmouseover="window.status='http://avogadro.openmolecules.net/wiki/Avogadro_0.6.1';return true;" onmouseout="window.status='';return true;">Avogadro 0.6.1</a> yesterday evening. This is a bug fix release which fixes one pretty large bug that slipped through - the OpenGL context was lost if switching between virtual desktops, multiple views etc rendering the OpenGL window useless unless the application was restarted. As such I would encourage anyone running Avogadro 0.6.0 to upgrade to this new version. It also features several smaller bug fixes and feature enhancements.</p>

<center><img src="http://blog.cryos.net/uploads/Avo-0_6_1.png" width="600" height="503" alt="Avogadro 0.6.1 running in a KDE 4 session" /></center>

<p>The screen shot above shows Avogadro 0.6.1 running in a KDE 4 session. One of the small visual tweaks I made was to add a second light source to our default OpenGL scene which really helps to illuminate the other side of the scene. Thanks go out to Albert for his suggestion of adding another light source. Hopefully there are no really big bugs remaining but Avogadro is still in the beta stages of its development. It is rapidly approaching a stable release though and I am very happy with our progress so far.</p>

<p>We would love to hear what you think of Avogadro. I had one person question why we always have to use the latest and greatest version of <a href="http://blog.cryos.net/exit.php?url_id=839&amp;entry_id=175" title="http://openbabel.org/"  onmouseover="window.status='http://openbabel.org/';return true;" onmouseout="window.status='';return true;">OpenBabel</a> and felt I should offer some explanation. Many of the features exposed in Avogadro use functions and structures in OpenBabel. I myself was quite heavily involved in improving OpenBabel's support for Gaussian cube files and the cube format so that we could load and display orbitals for example. As such we often add new features or fix bugs in OpenBabel trunk and so a new release of OpenBabel must be used in order for everything to work.</p>

<p>There are already ebuilds for this latest version in the <a href="http://blog.cryos.net/exit.php?url_id=840&amp;entry_id=175" title="http://www.gentoo.org/"  onmouseover="window.status='http://www.gentoo.org/';return true;" onmouseout="window.status='';return true;">Gentoo</a> tree. Ubuntu/Debian builds are in the process of being built. We should hopefully have Mac and Windows binaries very soon too.</p>

<p>I am headed to a meeting in the UK where Donald and I will be talking with other scientists about visualisation in chemistry and related areas. We will of course be showing off Avogadro as well as talking with many other people working in this area. I am very much looking forward to it and hope that this will lead to further innovation in the Avogadro project as well as the open source chemistry movement in general. It will of course be great to have a full English breakfast and some real ale too!</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/174-Avogadro-0.6-Released.html" rel="alternate" title="Avogadro 0.6 Released" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-02-29T22:01:45Z</published>
        <updated>2008-03-23T11:41:32Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=174</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=174</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/174-guid.html</id>
        <title type="html">Avogadro 0.6 Released</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>Earlier today we released <a href="http://blog.cryos.net/exit.php?url_id=836&amp;entry_id=174" title="http://avogadro.openmolecules.net/wiki/Avogadro_0.6.0"  onmouseover="window.status='http://avogadro.openmolecules.net/wiki/Avogadro_0.6.0';return true;" onmouseout="window.status='';return true;">Avogadro 0.6</a>. This release is quite overdue and we had originally planned to make a release around the new year. This release has many, many new features that have been implemented since the last release.</p>

<center><img src="http://blog.cryos.net/uploads/avo_CrH2O_1-6.png" width="600" height="435" alt="Avogadro 0.6.0 displaying an orbital" /></center>

<p>I am especially proud of the new support for displaying surfaces. This initially led to the surface engine that displays a Van der Waals surface. Tim added the ability to map the electostatic surface potential onto that. I then began work on adding support for displaying orbitals. This led to me getting commit access to <a href="http://blog.cryos.net/exit.php?url_id=837&amp;entry_id=174" title="http://openbabel.org/"  onmouseover="window.status='http://openbabel.org/';return true;" onmouseout="window.status='';return true;">OpenBabel</a> and making quite a few commits as I got Gaussian cube loading working. While I was there I couldn't resist improving the Grid classes (still a little more I would like to add in).</p>

<p>Another new feature I am really pleased with is the QGraphicsView based periodic table. I think it works very nicely and I am hoping to add this code to Kalzium. I think the Avogadro library is in great shape for me to begin porting Kalzium to use it. Tim and Geoff have been doing some amazing work in OpenBabel on improving the force fields used for geometry optimisations.</p>

<p>We have also been doing a lot of work to improve Avogadro's performance when rendering large systems. We have added quickRender functions and OpenGL display lists to improve interactivity as well as threading calculations where this made sense. We have a cool little colour widget Geoff coded too that allows colours to be displayed and picked easily, improved default layout and one of my personal favourites - persistent settings in most of Avogadro.</p>

<p>There are certainly some bugs remaining. I would like to get to the bottom of as many as I can and hope to make one or two bug fix releases in the 0.6 branch. We would love to get feedback from people. We have already made a source release and a Mac binary. I will be adding Gentoo ebuilds shortly and we will hopefully get a Windows binary out by early next week.</p>

<p>Hope you enjoy this release. I think we are getting close to a stable API that we can call 1.0 and have most of the core features I was hoping to get into Avogadro. Our framework is extremely modular and extensible and I hope that we will be able to build up a community around Avogadro. It was also great to be able to make this release on 29 February - we have so few of them <img src="http://blog.cryos.net/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/173-Avogadro-New-Orbital-Support-and-Gaussian-Cube-Format.html" rel="alternate" title="Avogadro: New Orbital Support and Gaussian Cube Format" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-02-19T21:00:00Z</published>
        <updated>2008-03-23T11:44:52Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=173</wfw:comment>
    
        <slash:comments>6</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=173</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/173-guid.html</id>
        <title type="html">Avogadro: New Orbital Support and Gaussian Cube Format</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>So over the weekend I spent quite a lot of time hacking away at <a href="http://blog.cryos.net/exit.php?url_id=830&amp;entry_id=173" title="http://openbabel.sourceforge.net/"  onmouseover="window.status='http://openbabel.sourceforge.net/';return true;" onmouseout="window.status='';return true;">OpenBabel</a> working on the Gaussian cube format support I needed to get working in order to be able to visualise electronic orbitals. The initial support was taken from <a href="http://blog.cryos.net/exit.php?url_id=831&amp;entry_id=173" title="http://www.cscs.ch/molekel/"  onmouseover="window.status='http://www.cscs.ch/molekel/';return true;" onmouseout="window.status='';return true;">Molekel</a> but contained no error checking and it was not reading in the example cube file I had.</p>

<p>Thankfully a colleague pointed out a page with details on the <a href="http://blog.cryos.net/exit.php?url_id=832&amp;entry_id=173" title="http://local.wasp.uwa.edu.au/~pbourke/dataformats/cube/"  onmouseover="window.status='http://local.wasp.uwa.edu.au/~pbourke/dataformats/cube/';return true;" onmouseout="window.status='';return true;">Gaussian cube format</a> and I used this as a basis to get it working in OpenBabel with better error checking and a more resilient tokenisation of the cube points. I made my first few commits to OpenBabel over the weekend and got at least simple Gaussian cube files loading that only contain one cube. More will follow I am sure.</p>

<center><img src="http://blog.cryos.net/uploads/avogadro_benzene_homo.png" width="480" height="458" alt="Benzene HOMO orbitals visualised in Avogadro" /></center>

<p>After I got the file loading sorted a few more changes to <a href="http://blog.cryos.net/exit.php?url_id=833&amp;entry_id=173" title="http://avogadro.sourceforge.net/"  onmouseover="window.status='http://avogadro.sourceforge.net/';return true;" onmouseout="window.status='';return true;">Avogadro</a> got me my first ever orbitals in Avogadro - the benzene HOMO! I believe the cube file came from the <a href="http://blog.cryos.net/exit.php?url_id=834&amp;entry_id=173" title="http://jmol.sourceforge.net/"  onmouseover="window.status='http://jmol.sourceforge.net/';return true;" onmouseout="window.status='';return true;">JMol</a> test files. Geoff informed me that chemists for some reason see positive as blue and negative as red. That seemed very strange to me and I had initially put it the other way around. Growing up playing with electronics it seemed to me that positive should be red just as the wires in a circuit have a red positive... Other than that orbitals seemed to be working well and I was very pleased.</p>

<center><img src="http://blog.cryos.net/uploads/avogadro_ch3cl_esp.png" width="480" height="458" alt="CH3Cl electrostatic potential visualised in Avogadro" /></center>

<p>Next I started to load up some other cube files I had been given as examples. I thought the above image of the electrostatic potential of CH<sub>3</sub>Cl looked very nice. When I showed Geoff he also liked it and we wondered if it had been visualised in this way before. I know normally the cube would be mapped onto the Van der Waals surface of a molecule.</p>

<p>Anyway I was pleased and also felt more productive as I now have my laptop back up and running and am developing on <a href="http://blog.cryos.net/exit.php?url_id=835&amp;entry_id=173" title="http://www.gentoo.org/"  onmouseover="window.status='http://www.gentoo.org/';return true;" onmouseout="window.status='';return true;">Gentoo</a> again. It would be great to hear what other people think of this new support. I am already working on various improvements to the code and getting ready for another release of Avogadro!</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/172-Avogadro-Surface-Support.html" rel="alternate" title="Avogadro: Surface Support" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-02-11T11:50:00Z</published>
        <updated>2008-03-23T11:45:19Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=172</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=172</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/172-guid.html</id>
        <title type="html">Avogadro: Surface Support</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I am pleased to announce that we now have working surface support in Avogadro. We originally began working on support for surfaces around November time when <a href="http://blog.cryos.net/exit.php?url_id=825&amp;entry_id=172" title="http://geoffhutchison.net/blog/"  onmouseover="window.status='http://geoffhutchison.net/blog/';return true;" onmouseout="window.status='';return true;">Geoff</a> improved the support in <a href="http://blog.cryos.net/exit.php?url_id=826&amp;entry_id=172" title="http://openbabel.sourceforge.net/"  onmouseover="window.status='http://openbabel.sourceforge.net/';return true;" onmouseout="window.status='';return true;">OpenBabel</a> for grids and added some initial code to the <a href="http://blog.cryos.net/exit.php?url_id=827&amp;entry_id=172" title="http://avogadro.souceforge.net/"  onmouseover="window.status='http://avogadro.souceforge.net/';return true;" onmouseout="window.status='';return true;">Avogadro</a> repository. Quite quickly it became evident that this algorithm did not deal well with data sets containing discrete objects that you wanted to polygonise.</p>

<p>I began a search of the available algorithms and came across a very nice <a href="http://blog.cryos.net/exit.php?url_id=828&amp;entry_id=172" title="http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/"  onmouseover="window.status='http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/';return true;" onmouseout="window.status='';return true;">guide to the marching cube algorithm</a> with example code. I had a brief look for a C++ implementation and didn't find anything initially, began implementing what was on his page and then came across <a href="http://blog.cryos.net/exit.php?url_id=829&amp;entry_id=172" title="http://sourceforge.net/projects/zhu3d/"  onmouseover="window.status='http://sourceforge.net/projects/zhu3d/';return true;" onmouseout="window.status='';return true;">Zhu3d</a> which is a Qt 4 based program that actually uses an implementation of the algorithms described in the guide and references them. As it is GPL licenced code I imported the relevant class into our repository and began the task of adapting it to fit into our framework.</p>

<center><img src="http://blog.cryos.net/uploads/avo-surface1.png" width="468" height="528" alt="Avogadro surface points" /><img src="http://blog.cryos.net/uploads/avo-surface2.png" width="468" height="528" alt="Avogadro surface lines" /></center>

<p>With some code from Geoff, more pointers from Geoff, some reading and quite a bit of help from Tim (not sure if he has a web page/blog) we got it working. Since then Tim has actually fixed a big bug in OpenBabel that was causing crashes and done more work on the IsoGen class. The screenshots above show the results of our early work where initially we got points and then lines working. I was very pleased at this stage as it adds a feature that had been missing for quite some time to the Avogadro framework.</p>

<center><img src="http://blog.cryos.net/uploads/avo-surface3.png" width="468" height="528" alt="Avogadro surface with filled triangles" /><img src="http://blog.cryos.net/uploads/avo-surface4.png" width="468" height="528" alt="Avogadro surface with filled triangles coloured by electrostatic charge" /></center>

<p>I then got filled triangles added with transparency support, allowing us to visualise the underlying structure of the molecule and map other parameters onto the surface. Tim then added electrostatic charge mapping to the colour of the surface which I hope you agree is already looking very good.</p>

<p>There is still quite a bit left to do. I need to move the class into libavogadro and out of the engines, integrate it into our Painter API, implement caching and am thinking of using the Qt Concurrent framework to do intelligent multithreading once Qt 4.4 is released as surface generation is quite slow for big molecules. I also need to link the mesh size to the global quality level and see what other optimisations might be possible. Another big one is adding support for visualising molecular orbitals. Geoff has already done a lot of work on the back end in OpenBabel for this and so hopefully it will not take me long to get it added in.</p>

<p>Lots to do but some great progress already. I would love to know what you think. Once we have been able to polish this new feature a little I hope we can get a release out of the door so that more people can test out these new features and let us know what they think, point out bugs and shower us with compliments <img src="http://blog.cryos.net/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> Until then I hope you enjoy the screenshots!</p>

<p><strong>Note:</strong> For some reason the exported graphics shown in this post were not antialiased. They are on screen and I need to look into why they are not when I export graphics in this way.</span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/171-KDE-4-Release-and-Party.html" rel="alternate" title="KDE 4 Release and Party" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-01-12T11:42:05Z</published>
        <updated>2008-01-13T05:57:21Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=171</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=171</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/1-Gentoo" label="Gentoo" term="Gentoo" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/171-guid.html</id>
        <title type="html">KDE 4 Release and Party</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I am sure you have heard by now about the KDE 4.0.0 release made yesterday. Currently my desktop machine is on a boat in the middle of the Atlantic somewhere, my laptop is broken and I only have access to Apple systems... I was able to check out KDE 4 and test it in a VM and it is looking good.</p>

<p>I haven't been able to help with Gentoo packaging of KDE 4 very much at all which is a shame. I should get my desktop back at the end of the month in my new home in Pittsburgh. I also couldn't attend the release event as I am attending my graduation ceremony on the 17th of January. Hope you guys really enjoy the event and if I could have moved things around to attend I certainly would have.</p>

<p>There is lots of stuff I hope to be able to do for KDE 4.1, and more specifically Kalzium, once I get my desktop back at the end of the month. Avogadro already has lots of improvements including a KGraphicsView based periodic table which I think Carsten is interested in me getting into Kalzium 4.1.</p>

<p>Enjoy the release event and remember to raise a glass to those of us unable to make it for various reasons <img src="http://blog.cryos.net/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/170-XKCD-Responsible-Behaviour.html" rel="alternate" title="XKCD: Responsible Behaviour" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-01-12T11:00:26Z</published>
        <updated>2008-01-12T12:13:01Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=170</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=170</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.net/archives/170-guid.html</id>
        <title type="html">XKCD: Responsible Behaviour</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I haven't been keeping up with XKCD since my laptop stopped working - never set up my RSS feeds for the few comics I used to regularly read. I thought I would catch up and this one really made me laugh - I guess geek humour is alive and well!</p>

<center><a href="http://blog.cryos.net/exit.php?url_id=822&amp;entry_id=170" title="http://xkcd.com/364/"  onmouseover="window.status='http://xkcd.com/364/';return true;" onmouseout="window.status='';return true;"><img src="http://imgs.xkcd.com/comics/responsible_behavior.png" /></a></center>

<p>Along with the one linked to from <a href="http://blog.cryos.net/exit.php?url_id=823&amp;entry_id=170" title="http://slashdot.org/"  onmouseover="window.status='http://slashdot.org/';return true;" onmouseout="window.status='';return true;">slashdot</a> about the Googlebomb caused by the <a href="http://blog.cryos.net/exit.php?url_id=824&amp;entry_id=170" title="http://xkcd.com/369/"  onmouseover="window.status='http://xkcd.com/369/';return true;" onmouseout="window.status='';return true;">died in a blogging accident</a> which I may have just added to now I guess.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/169-2007-Roller-coaster-of-a-Year.html" rel="alternate" title="2007: Roller coaster of a Year" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2008-01-08T08:00:00Z</published>
        <updated>2008-01-08T15:11:55Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=169</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=169</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.net/archives/169-guid.html</id>
        <title type="html">2007: Roller coaster of a Year</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I thought I would join in, a little late, with the posts about 2007. I think it is good to reflect at times. Please feel free to skip this whole post if you were hoping for something more focussed. For me 2007 has really been a roller coaster of a year filled with highs and lows. If I were ever to write my memoirs this one would probably go down as the most surreal so far.</p></span> <br /><a href="http://blog.cryos.net/archives/169-2007-Roller-coaster-of-a-Year.html#extended">Continue reading "2007: Roller coaster of a Year"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/168-Avogadro-Just-Hit-Commit-1000!.html" rel="alternate" title="Avogadro: Just Hit Commit 1000!" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2007-12-15T17:52:42Z</published>
        <updated>2008-03-23T11:46:52Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=168</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=168</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.net/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/168-guid.html</id>
        <title type="html">Avogadro: Just Hit Commit 1000!</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I just made a few commits using my trusty git svn dcommit (I am still really loving git and it looks like the bug I reported may be fixed in it now too). Then I saw the commit numbers - we just hit commit 1000. Development has really been accelerating recently and I haven't had time to write about as much as I wish I could.</p>

<p>Hopefully I will get a chance to take some screenshots and show off some of the latest stuff. I have coded a QGraphicsView based periodic table I am pretty happy with. It is compact, allows elements to be chosen, shows our colour scheme and even displays a little extra information on the selected element. Then there is the ribbon engine which is coming along but needs some loving attention from some bio people.</p>

<p>I am very pleased with the new quick rendering stuff we have added. It still has its issues. I had fixed some but some of Benoit's recent commits seem to have reintroduced the cache problem upon engine changes. Tim has added a new hydrogen bond engine which looks great thanks to some stipple line stuff from Geoff. There is some great stuff in the properties dialogs too along with lots of improvements to our force fields.</p>

<p>There is certainly lots more for us to do. The biggest thing I still haven't gotten in yet is surface support! I really want to get that sorted as I think it will be both useful and should look great. Along with some extra dialogs for graphics export, POV-Ray rendering etc.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/161-Postdoctoral-Associate-Position-at-University-of-Pittsburgh.html" rel="alternate" title="Postdoctoral Associate Position at University of Pittsburgh" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2007-12-07T11:48:00Z</published>
        <updated>2007-12-09T18:58:21Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=161</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=161</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/14-Academia" label="Academia" term="Academia" />
            <category scheme="http://blog.cryos.net/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.net/archives/161-guid.html</id>
        <title type="html">Postdoctoral Associate Position at University of Pittsburgh</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>At the start of October I began my first postdoctoral position, at the <a href="http://blog.cryos.net/exit.php?url_id=817&amp;entry_id=161" title="http://www.pitt.edu/"  onmouseover="window.status='http://www.pitt.edu/';return true;" onmouseout="window.status='';return true;">University of Pittsburgh</a> in the <a href="http://blog.cryos.net/exit.php?url_id=818&amp;entry_id=161" title="http://www.chem.pitt.edu/"  onmouseover="window.status='http://www.chem.pitt.edu/';return true;" onmouseout="window.status='';return true;">Chemistry Department</a> working in the newly formed <a href="http://blog.cryos.net/exit.php?url_id=819&amp;entry_id=161" title="http://hutchison.chem.pitt.edu/"  onmouseover="window.status='http://hutchison.chem.pitt.edu/';return true;" onmouseout="window.status='';return true;">Hutchison Group</a> for <a href="http://blog.cryos.net/exit.php?url_id=820&amp;entry_id=161" title="http://geoffhutchison.net/blog/"  onmouseover="window.status='http://geoffhutchison.net/blog/';return true;" onmouseout="window.status='';return true;">Geoffrey Hutchison</a>. Life has been so hectic these last few months finishing my doctorate and preparing for my biggest move ever.</p>

<p>Louise and I arrived on the 27th of September and had less than a week to find a suitable apartment out here ready for me to start work. I am now a legal non-resident alien (I think - someone correct me if I got it wrong). I am very excited to be starting this new job, the move has been really tough but the research looks very interesting and I am sure that my time here will be very productive.</p>

<p>I have already been to quite a few interesting talks in the department and am making the transition from physics to chemistry. It is OK though as I get to do lots of physics and programming along with some more chemistry. Exciting times and I am sure I will talk more about my work in future. I have already posted a tutorial article on <a href="http://blog.cryos.net/exit.php?url_id=821&amp;entry_id=161" title="http://www.macresearch.org/lab_journal_installing_sun_grid_engine_on_xserve_cluster"  onmouseover="window.status='http://www.macresearch.org/lab_journal_installing_sun_grid_engine_on_xserve_cluster';return true;" onmouseout="window.status='';return true;">installing Sun Grid Engine on a Mac OS X cluster</a>.</p>

<p>Dax made it out here and we are both enjoying the recent snow. This entry sat in drafts for about a month or so as I have been so busy sorting things out, coding, reading and going to physio for my high ankle sprain which I am told is both unusual and the worst kind of sprain...</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/167-Git,-SVN-and-Development.html" rel="alternate" title="Git, SVN and Development" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2007-12-02T20:42:57Z</published>
        <updated>2007-12-04T05:39:10Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=167</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=167</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/167-guid.html</id>
        <title type="html">Git, SVN and Development</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>It seems I have read quite a few posts in the last half a year or so on the virtues on decentralised version control and how good git it. Before my laptop died I had installed git and was using it for development. Unfortunately that was pretty short lived due to the failure of my laptop. Now all of my development is taking place on Apple Mac machines using Leopard (I used Tiger for a while too).</p>

<p>Recently I built git from source on the laptop I am using and checked out the full <a href="http://blog.cryos.net/exit.php?url_id=813&amp;entry_id=167" title="http://avogadro.sourceforge.net/"  onmouseover="window.status='http://avogadro.sourceforge.net/';return true;" onmouseout="window.status='';return true;">Avogadro</a> subversion repository using the following commands.</p>

<p><tt>git svn init -t tags -b branches -T trunk https://avogadro.svn.sourceforge.net/svnroot/avogadro<br />
git svn fetch</tt></p>

<p>Then I went and grabbed a coffee while it imported over 800 commits which is pretty small compared to many of the other repositories I have heard about being imported. It didn't take too long, but I would happily make my git repository available should anyone want a copy.</p>

<p>I have found git to be very fast which is absolutely great. There are some things which I have found a little confusing while getting to grips with git and its interaction with the subversion repository.</p>

<p>For my day to day work I need very few commands. <tt>git svn rebase</tt> synchronises with the subversion repository. I really like this way of updating too as it displays the diffs for the commits and the log messages. <tt>git commit -a</tt> commits all local changes to the local repository. <tt>git status</tt> shows the current status of the repository, <tt>git show</tt> shows local changes already committed and <tt>git svn dcommit</tt> pushes my local changes to the subversion repository.</p>

<p>It is this last feature I think I like the most. I can queue up multiple change sets which might actually break Avogadro, giving nice bite size commits as I make progress, but only committing them once I am done and everything is working (at least reasonably well). Then there is the potential for doing this when off line which is also great.</p>

<p>One of the most confusing things I found was how to nuke local changes if I didn't want to keep them. Deleting the file and updating doesn't work as it does with subversion. Also revert didn't do what I was after. I finally found <tt>git checkout</tt> which was not what I was expecting. Issuing the command with no arguments resets the repository to the last committed state. Adding filenames as arguments reverts just those files.</p>

<p>Another one I haven't found the answer to is files reappearing that we long since deleted. The avogadro.pro file is the main one left but a set of directories also reappeared. They are not there when checking out using just subversion. If anyone has the answer I would love to know. If I <tt>git rm</tt> the file the commit to subversion does nothing and it loops round.</p>

<p>Other than that I am really happy with git. It can be a little too easy to use the wrong commands and wipe out changes so I am moving quite gingerly at times but I think it is well worth the trade off. A few guides such as <a href="http://blog.cryos.net/exit.php?url_id=814&amp;entry_id=167" title="http://utsl.gen.nz/talks/git-svn/intro.html"  onmouseover="window.status='http://utsl.gen.nz/talks/git-svn/intro.html';return true;" onmouseout="window.status='';return true;">this one</a>, <a href="http://blog.cryos.net/exit.php?url_id=815&amp;entry_id=167" title="http://cheat.errtheblog.com/s/git/"  onmouseover="window.status='http://cheat.errtheblog.com/s/git/';return true;" onmouseout="window.status='';return true;">this one</a> and of course <a href="http://blog.cryos.net/exit.php?url_id=816&amp;entry_id=167" title="http://www.kernel.org/pub/software/scm/git/docs/"  onmouseover="window.status='http://www.kernel.org/pub/software/scm/git/docs/';return true;" onmouseout="window.status='';return true;">this</a> have helped me along the way.</p>

<p><strong>UPDATE:</strong> Just to note that I was using the git 1.5.3 release compiled from source.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/165-Avogadro-New-Ring-Polygon-Engines.html" rel="alternate" title="Avogadro: New Ring &amp; Polygon Engines" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2007-11-26T22:58:52Z</published>
        <updated>2007-12-03T10:39:14Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=165</wfw:comment>
    
        <slash:comments>7</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=165</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.net/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.net/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.net/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.net/archives/165-guid.html</id>
        <title type="html">Avogadro: New Ring &amp; Polygon Engines</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I recently added a couple of new engines to <a href="http://blog.cryos.net/exit.php?url_id=812&amp;entry_id=165" title="http://avogadro.sourceforge.net/"  onmouseover="window.status='http://avogadro.sourceforge.net/';return true;" onmouseout="window.status='';return true;">Avogadro</a> and the screen shot below shows them both. The ring engine finds all the rings of the molecule and draws a transparent plane through the ring. The polygon engine finds atomic centres with three or more atoms bonded and draws a polygon around that atom. This is only done for atoms that are not the common organic types.</p>

<center><img src="http://blog.cryos.net/uploads/avogadro_rings_polygons.png" width="426" height="434" alt="Avogadro using the ring and polygon engines" title="Avogadro using the ring and polygon engine" /></center>

<p>I think these are useful engines that have been prompted by user requests. May be not as exciting as the ribbon engine or the surface support we are working on but useful to display certain structures. The ring engine has not been without its problems though as you can probably spot in the image below showing the ring engine rendering a carbon nanotube.</p>

<center><img src="http://blog.cryos.net/uploads/avogadro_nanotube_rings.png" width="426" height="434" alt="Avogadro using the ring engine to render a nanotube" title="Avogadro using the ring engine to render a nanotube" /></center>

<p>The lighting just flips at certain points - the same happens as you rotate molecules that are using the ring or polygon engine. I guess the lighting is flicking on at certain angles. I would be interested if anyone with more OpenGL knowledge than I might know how I can improve the rendering. Some rings are near white and some of the back rings don't seem to be drawn - that could actually be drawing order though which is always tough to get right.</p>

<p>Comments and tips are always welcome. The big challenge right now is getting surface support added in. This is something I think we really need and I would use in my daily work as I am sure many others would. I have been reading up on marching cubes and stuff but would welcome tips in that area too!</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.net/archives/164-Daxs-Flight-to-the-US.html" rel="alternate" title="Dax's Flight to the US" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2007-11-10T17:37:00Z</published>
        <updated>2007-11-13T15:05:59Z</updated>
        <wfw:comment>http://blog.cryos.net/wfwcomment.php?cid=164</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://blog.cryos.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=164</wfw:commentRss>
    
            <category scheme="http://blog.cryos.net/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.net/archives/164-guid.html</id>
        <title type="html">Dax's Flight to the US</title>
        <content type="xhtml" xml:base="http://blog.cryos.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>On Wednesday Dax, my overgrown German Shepherd dog, took his first ever flight. Originally they were supposed to fly him into Pittsburgh International Airport but apparently there were no carriers that could accommodate such an overgrown dog!</p>

<center><img width="639" height="428" src="http://blog.cryos.net/uploads/Dax.jpg" alt="Dax" title="Dax" /></center>

<p>So eventually they gave up and told us that they couldn't get him to Pittsburgh as promised. I think it was Thursday night last week I had a voice mail left from what sounded like Dallas International Airport asking me to call them back and confirm that I would take delivery of Dax. I nearly had kittens of my own as I saw how far away this was!</p>

<p>It turned out that there is a Dulles International Airport, and the way it is pronounced sounds very much like Dallas. That was a much more manageable four hour drive away near Washington DC. So I hired a large pickup truck for Wednesday of this week.</p></span> <br /><a href="http://blog.cryos.net/archives/164-Daxs-Flight-to-the-US.html#extended">Continue reading "Dax's Flight to the US"</a>
            </div>
        </content>
        
    </entry>

</feed>