<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
   <channel>
<title>Taming Vortex</title><link>http://www.martinnovak.net/puakma/martinplog.pma/</link><description>This blog talks about life here in Prague, Puakma technology, Java, Eclipse, and Mac OS X.</description><item><title>Be careful with monitors</title><pubDate>Wed, 14 Feb 2007 03:50:00 GMT</pubDate><category>Eclipse</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=14</comments><description><![CDATA[ <p>Progress monitors services are very useful in Eclipse. You use them to display progress of some long running operations to users. As I said very good. But like every other useful thing it can change to beast. This happened in Vortex too. Imagine that you want to report progress of project download to user.<br />&nbsp;Easy no brain code:</p><pre>void doDownload(IProgressMonitor monitor)<br />{<br />&nbsp; monitor.beginTask(&quot;Downloading project...&quot;);<br />&nbsp; try {<br />&nbsp; &nbsp; // do the actual download here...<br />&nbsp; }<br />&nbsp; finally {<br />&nbsp;&nbsp;&nbsp; monitor.done();<br />&nbsp; }<br />}<br /></pre><p>Easy, nope? Now imagine that you call this function inside monitor.</p><pre>public void doDownload(IProgressMonitor monitor)<br />{<br />&nbsp; synchornized(lock) {<br />&nbsp;&nbsp;&nbsp; doDownload(monitor);<br />&nbsp; }<br />}</pre><p>Ok, now you want to ask me what&#39;s wrong? The deal is that I&#39;m using some other thread to do the actual download processing. This other thread executes some events to the listeners, and some of those listeners are running in UI thread updating some controls. So they use Display.asyncExec(...) function to run code in UI thread. Ok, so where is the problem? The problem is that some Eclipse progress displaying services are acquiring some other locks, and are executing some code with other locks they shouldn&#39;t. I explain this later.</p><p>The actual lock progress service use is RunnableLock. In comments of this class is that this is used that async and sync runnables do not interfere. They wait in asyncExec (in class Synchronizer) like this:</p><pre>void asyncExec(Runnable runnable) {<br />&nbsp; // Some code ...<br />&nbsp; RunnableLock lock = new RunnableLock(runnable);<br />&nbsp; synchronized(lock) {<br />&nbsp; &nbsp; addToQueue(lock);<br />&nbsp;&nbsp;&nbsp; while(lock.finished() == false)<br />&nbsp;&nbsp; &nbsp; lock.wait();<br />}</pre><p>And they are running the queue:</p><pre>boolean runAsyncMessages(boolean all) {<br />&nbsp; synchronized(lock) {<br />&nbsp;&nbsp;&nbsp; lock.runnable.run();<br />&nbsp;&nbsp;&nbsp; lock.setFinished(true);<br />&nbsp; }<br />} <br /></pre><p>So let&#39;s summarize it. The background thread acquires our lock, then progress monitor beast acquires runnable lock, and waits. The UI thread acquires RunnableLock at first, and then it happens. There are apparently some UI event loop executed by these listeners which runs our event listeners that want to acquire our background thread lock.&nbsp; And the deadlock is here. This deadlock happened twice today, and it&#39;s hard to reproduce, so I cannot give you any stack trace... [-; </p><p>The bug on eclipse for has been filled <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=173995">here</a>. So please feel free to add some comments.</p><p>Morale of this story? Be carefull. [-; When dealing with threads, there are not only your locks.<br /></p><p>Solution - I use my own version of AccumulatingProgressMonitor in all entries which are called by some progress services. In this class I just have replaced all syncExec()s with asyncExec()s.</p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=14</guid></item><item><title>Tornado Java logging addin</title><pubDate>Sat, 27 Jan 2007 05:36:00 GMT</pubDate><category>Tornado Server</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=13</comments><description><![CDATA[ <p>As you might know, Java from version 1.4 does contain standard logging facilities for logging errors, debug messages, warnings, etc. Those classes reside in java.util.logging package, and are quite nice since you just use standard Java mechanism to log events, and you don&#39;t need any external library to do it. Lot of existing libraries are using these classes as well. So I have made a small addin for Tornado which transfers all java logging events to Tornado logs. Feel free to have a look at it, and send me some comments.<br /></p><p>The packaged addin is <a href="http://www.puakma.net/puakma/martinplog.pma/GetResource?OpenAction&amp;Name=logaddin.jar">here</a> .</p><p>To run this addin copy the jar file to addins folder under your Tornado installation directory, and add &quot;puakma.addin.log.LogAddin&quot; to AddIns in puakma.config file, and reload server. I have done also testing addin: puakma.addin.log.TestLogAddin which is periodically sending some java logging events, so you might have a look how to use it. </p><p>Future - I want to make it better [-; I want to add some better configuration handling, and better formating since this is just hard coded stuff. Also maybe I will add support for Apache log4j library. But this is just the beginning. </p><p>I also have some links about java logging you might have a look at:</p><ul><li><a href="http://www.onjava.com/pub/a/onjava/2002/06/19/log.html" title="An Introduction to Java logging API">An Introduction to Java Logging API at onjava.com</a> </li><li><a href="http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html">Java Logging Overview at sun.com</a></li><li><a href="http://www.oracle.com/technology/pub/articles/hunter_logging.html">Java logging in J2SE at Oracle</a>  <br /></li></ul>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=13</guid></item><item><title>Tornado tips</title><pubDate>Sun, 17 Dec 2006 05:58:00 GMT</pubDate><category>Tornado Server</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=12</comments><description><![CDATA[ <p>I was doing some performance optimizations for soapdesigner, and I have found few things. The main message is that whenever possible, run Tornado on included hsqldb database. Really, don&#39;t use as system database anything external like mysql. Of course, the exception is when you run Tornado in cluster. In such case you need to run system database on external RDBMS. Anyway, I was measuring performance, and for me HSQLDB runs much faster. I did a simple test for measuring how fast does Vortex code get the snapshot of application&#39;s structure from the Tornado system database. So for mysql on my machine it was around 1200 ms, and on embeded hsqldb it was around 200 ms. Pretty big difference, what do you thing?</p><p>So you might tell me that my measurement is biased. Maybe true. A little bit. HSQLDB doesn&#39;t contain much applications, and my Mysql system database contains a lot. This might slow down hsqldb on the same data, but I think that what makes the difference is that Mysql connects to the external data source via TCP/IP network connection, and doesn&#39;t transfer data in memory like HSQLDB does. Also it might be different on other OS/configuration. My system is Apple Powerbook, CPU PowerPC G4 1.5, 2GB RAM, MacOSX 10.4.8, Apple JDK 1.5. </p><p>I was also trying to optimize soapdesigner application structure load time, but unsuccessfully. So what is the conclusion from my measuring here? Using DOM for generating xml doesn&#39;t affect performance that much in comparison to using just StringBuffer to generate xml. Maybe on bigger data I might be wrong, or even on higher load I might be wrong, but this is what I have seen. But apparently there is smaller memory usage since I don&#39;t create objects for every new xml node. Also executing more SQL selects when trying to save some time transferring less data is not always helping. It&#39;s the same to make one select for the whole application with the design object&#39;s source and data than to select application, and than to select only design object data, and source to get class and package name. Maybe for bigger databases I would see some difference, but not here. Sorry 1MB application is not apparently enough, and I doubt that anybody would make that much bigger application. </p><p>So that was the tip from today. Now it is the time for traditional Spanish christmas dinner which shows us our Erasmus coordinator Gustavo Taberner. And we will continue with fiesta somewhere in the center of Madrid. I will tell you what is traditional Spanish Christmas dinner later (Even I don&#39;t know what is tradition here). [-; </p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=12</guid></item><item><title>Rename action</title><pubDate>Mon, 27 Nov 2006 11:02:00 GMT</pubDate><category>Vortex</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=11</comments><description><![CDATA[ <p align="left">Ok, this new feature is quick one [-; There is now ability to rename action. This was originally designed to be in the properties page in the editor of java source files (like for html or resource objects). But during the time it was quite obvious that this is not the way. Just editing java files in eclipse editor feels much better. Anyway there is some screenshot for those of you who want to see something [-;</p><img src="/puakma/martinplog.pma/GetResource?OpenAction&amp;Name=RenameActionMenu.png" alt="RenameActionMenu.png" title="RenameActionMenu.png" width="474" height="235" />&nbsp;<p align="left">Rename action menu&nbsp;</p><img src="/puakma/martinplog.pma/GetResource?OpenAction&amp;Name=RenameActionDlg.png" alt="RenameActionDlg.png" title="RenameActionDlg.png" width="525" height="202" /><div align="left"> <br /></div>Rename action dialog<br />]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=11</guid></item><item><title>Scheduled action configuration</title><pubDate>Thu, 23 Nov 2006 04:09:00 GMT</pubDate><category>Vortex</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=9</comments><description><![CDATA[ <p>One of the things where Vortex had to catch up webdesigner is modification of the schedule scheduled actions. This is just fairly simple dialog, but I want to start the mini series about Vortex 1.1 with this one.</p><p>At first how to get to the dialog. This nicely illustrates the next image:</p><p><img src="/puakma/martinplog.pma/GetResource?OpenAction&amp;Name=SchedActMenu.png" alt="How to open scheduled action dialog" title="How to open scheduled action dialog" width="482" height="271" /></p><p>Next are some samples how the editing looks like.&nbsp;</p><p>&nbsp;<img src="/puakma/martinplog.pma/GetResource?OpenAction&amp;Name=SchedActYear.png" alt="SchedActYear.png" title="SchedActYear.png" width="533" height="488" /></p><p>editing schedule which is supposed to be executed every year on the 1. of july at 0:00</p><p><img src="/puakma/martinplog.pma/GetResource?OpenAction&amp;Name=SchedActHour.png" alt="Editing schedule which executes every 20 minutes every day in the week from 4:00 to 6:00" title="Editing schedule which executes every 20 minutes every day in the week from 4:00 to 6:00" width="533" height="488" /> <br /></p><p>editing schedule which executes every 20 minutes every day in the week from 4:00 to 6:00&nbsp;</p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=9</guid></item><item><title>What's comming next?</title><pubDate>Fri, 17 Nov 2006 10:46:00 GMT</pubDate><category>Vortex</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=8</comments><description><![CDATA[ <p>Release of the version 1.1 of Vortex is closer and close every day. So now it&#39;s the time to introduce what cool new things you can expect from it. Today I will cover the overall changes, and in the next few days I will talk about each of the changes in detail.</p><p>What is the main message of the version 1.1? Webdesigner application is obsolete. [-; Well, not quite right, for small, last time fixes it&#39;s still great tool. But in version 1.1 there is nothing you could do in webdesigner, and not in Vortex. What was added from missing webddesigner features are:</p><ul><li>database schema designer</li><li>sql query editor</li><li>scheduled action scheduling</li><li>action renaming<br /></li></ul><p>We have also added lot of things to make developer&#39;s life easier, and more productive. The major improvements are namely these:</p><ul><li> javadoc context help for puakma.jar</li><li>blackbook integration in help system</li><li>new version of Eclipse IDE 3.2, which is itself huge step forward at least on Mac</li><li>improved html editor, new css, and javascript editors<br /></li><li>enhanced uploader</li><li>new Tornado server command console view<br /></li><li>and of course many speed improvements, consistency, and bug fixes </li></ul><br />]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=8</guid></item><item><title>Two handy tricks for Macs</title><pubDate>Thu, 19 Oct 2006 09:25:00 GMT</pubDate><category>Mac</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=7</comments><description><![CDATA[ <p>Last week I have found somewhere on the forums trick how to instantly grab a part of the screen on Mac OS X. It left in my memory, and I had no idea at that time how handy would this be. Just press Cmd-Shift-4, and&nbsp; there appears a new cursor which allows you to select part of your screen, and saves that screenshot to png file on your desktop.</p><p>The second trick allows you to magnify part of the screen under your cursor. It is a new feature of 10.4.8. This was also very handy during the development of the new Vortex database editor. Just press ctrl, and scroll you mouse wheel. Screen smoothly zooms in and out. </p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=7</guid><wfw:commentRss>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/CommentsRSS?OpenAction&amp;ID=7</wfw:commentRss></item><item><title>Madrid</title><pubDate>Thu, 05 Oct 2006 01:07:00 GMT</pubDate><category></category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=6</comments><description><![CDATA[ <p>Yes, it&#39;s here. I finally moved to Madrid. Sorry for not letting know so long, but I was too busy with everything here, specially looking for flat, and I finally have some time to write at least some notice here. </p><p>Anyway, I should explain what I&#39;m gonna to do here. I&#39;m here to spend a year here studying at <a href="http://www.upm.es" title="Universidad Polit&eacute;cnica de Madrid">Universidad Polit&eacute;cnica de Madrid</a>  at <a href="http://www.fi.upm.es" title="Facultad de inform&aacute;tica">Facultad de inform&aacute;tica</a>. I will stay here as student of European-wide university exchange program Erasmus with about other 40 foreign students at the faculty. Madrid seems to be nice place to spend year, and I&#39;m really looking forward to see the life in Spain closer. I also would like to learn Spanish better, and make some new contacts among the people I meet here.<br /></p><p>I also plan to make some site only about my stay here, and I have some more content to put on this site too, so stay tuned.<br /></p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=6</guid></item><item><title>Vortex is on eclipseplugincentral.com</title><pubDate>Wed, 23 Aug 2006 03:01:00 GMT</pubDate><category>Vortex</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=5</comments><description><![CDATA[ <p>Today I finally added Vortex to the eclipseplugincentral.com site. Bit shame on me, because eclipseplugincentral.com is Eclipse&#39;s official site to post pugins on, and might have been done much sooner. Anyway you can find there almost all plugins ever done for Eclipse. We really hope that this brings us little bit more attention, and spreads out Puakma technology all around the world [-; </p><p>You can find site about Vortex at the address <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-675.html" title="http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-675.html">http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-675.html</a>. So check it out, and please, vote for it.   </p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=5</guid></item><item><title>On the way to 1.1 release</title><pubDate>Wed, 09 Aug 2006 07:15:00 GMT</pubDate><category>Vortex</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=4</comments><description><![CDATA[ <p>Vortex 1.1 is also about polishing things, and make them working better. One of the features we wanted to improve the most is the pages editor. The one in 1.0 was pretty much xml editor with some tweaks to be able to handle Tornado tags. But this doesn&#39;t work in real world. For the real world you need a little bit more. So thus we adopted Eclipse Web Tools Platform project&#39;s HTML editor, and now I&#39;m just beginning to customize to support specific Tornado templates in content assistance (when you press ctrl+space). There is a screenshot of the new editor. Don&#39;t be fooled that it fully works right at the moment. We are on the beginning of the way, and as I know Eclipse it knows to be very hard to customize, and it seems&nbsp; to have almost no documentation, so cross fingers!</p><p><img src="http://www.martinnovak.net/puakma/martinplog.pma/GetResource?OpenAction&amp;name=vortex-snippets.png" alt=" " title="Vortex new pages editor preview" width="499" height="321" /> <br /></p><p>So what will this new editor know? It will know how to syntax highlight Tornado tags, HTML, but also JavaScript code and CSS inside your pages. Another new thing is hooking outline, so you will see structure of the file. You can see the outline on the left side on the top. Also new will be snippets which will contain some very useful pieces of code. Also there will be available editor of properties of every tag. Content assistance for Tornado tags, HTML, JavaScript, and CSS. </p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=4</guid></item><item><title>Moving to Olomouc</title><pubDate>Sun, 30 Jul 2006 20:22:00 GMT</pubDate><category></category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=3</comments><description><![CDATA[ <p>After one year spent in Prague I returned this thursday back home to Olomouc. This is really pleasant event, and I&#39;m glad to be here again. I meet my old friends in the streets, lot of old faces I know. This never happens in Prague since it&#39;s too big city, and nobody knows each other. However sometimes somebody start talking on&nbsp; the street with me, and I really don&#39;t know who is that. [-; Yes, this happens after years living somewhere else. [-; Or, well, maybe people misunderstand me with my brother, and I have really bad times talking to somebody I don&#39;t know... [-;  </p><p>There is also terrible weather. On friday there was about 38 degrees which must be record here. And really, we are not used to it. Usually we have below 30 degrees during the summer, and we don&#39;t suffer from hot weather so much (but we suffer from rains, and cold more). But this is a problem in the whole Europe at the moment.</p><p>This hot weather brings also storms. I actually experienced one yesterday at the music festival <a href="http://www.hrachovka.cz" title="Hrachovka">Hrachovka</a>. This festival had to be canceled after afternoon storm. We hide ourself in ambulance tent, but information tent on the right side flattened down, and also sound guy&#39;s tent flattened down, and it rained into his electronics. After while came firemen to remove ruins. Few minutes later something broke down on the main stage construction, and also beer tent felt down, and injured few people. After the storm they had to dismount two stages, and while after village mayor canceled festival because it was not safe to have 10000 on the place. So this was really bad luck. One sunny day more, and it could be phenomenal success. But we had to spend whole saturday in the pub, and we have seen only two band - the Exploited, and Slonovski Bal - Balkan orchestra on friday night.</p><p>But summer festivals do not end. In CZ we have at least two or three big music festivals every weekend. So there is lot of music, concerts, and theater for everyone. Next week I go with lot of people from Olomouc to every year&#39;s favorite <a href="http://www.zebrinak.org/" title="Beseda u Bigb&iacute;tu">Beseda u bigb&iacute;tu</a>. And I can&#39;t wait for it! </p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=3</guid></item><item><title>Vortex dmg distribution</title><pubDate>Wed, 28 Jun 2006 06:07:00 GMT</pubDate><category>Mac</category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=2</comments><description><![CDATA[ <p>In WNC we prefer to have Mac OS X as our platform of choice. Not only because of almost zero administration, and also because of no problems at all. We would like everybody who has Mac OS X to to have better experience from our products by better integration Vortex with Mac OS X. For really good user experience you cannot provide the same installer as for other platforms, but you should use dmg image for installation. This is actually what I really like on Mac - to have no installation. You just copy application to /Applications folder, and that&#39;s it. No messing up the system. Also uninstaling means simply drag icon to trash.</p><p>&nbsp;<img src="http://www.martinnovak.net/puakma/martinplog.pma/GetResource?OpenAction&amp;name=vortex_dmg.gif" alt="Opened Vortex Dmg in Finder" title="Opened Vortex Dmg in Finder" width="498" height="414" /></p><p>However it is not obvious how to make really nice disk image which opens Finder window of certain size, and with certain background. I have seached internet, but all tutorials tell only partially or not mention how to include creation of dmg image to your build system. So there is sumary how do we did it.</p><p>There are two basic steps - the first one you create only once, and then with every build you repeat the second in your build script. So the strategy is to create and setup dmg image, and then you copy files to image, and pack image with every build.<br /></p><h3>Create and setup empty dmg image</h3><p>I created a new sparse disk image in disk utility application. This disk image is read/write, and sparse images can grow their size when needed (up to the limit from disk utility). So I saved the newly created image as &quot;Puakma Vortex.sparseimage&quot;. I set size to 100MB, but it doesn&#39;t matter since we shrink dmg file at the end.</p><p>So the next step is to setup this sparseimage file. Open sparseimage in Finder. The image will mount to the /Volume directory under name of sparseimage (or dmg) file. Resize the window as you want. Copy the background file to some directory in the image. Now set the window background. Press cmd+J to open view settings dialog, and set background there.<br /></p><p>Now we will hide this directory from finder. You can use two ways - the first one is to rename directory name to start with dot, so this will be UNIX hidden file, or use SetFile utility from Apple&#39;s developer tools. I used SetFile utility from terminal which hided directory on the mounted disk image. Also note quotes around the file.<br /></p><pre>/Developer/Tools/SetFile -a V &quot;/Volumes/Puakma Vortex/background&quot;<br /></pre><p>At the end you will need to create link to the /Application directory. You also might want to setup position of icons in the folder. Just drag icon at some place, and that&#39;s it.</p><h3>Copy your application to image&nbsp;</h3><p>For this part you might want to use some script because this will be repeated task mostly included in your build system. So there is what I have to setup Vortex:</p><pre># mount image<br />hdiutil attach &quot;Puakma Vortex.sparseimage&quot;<br /># remove all directorues and files from Puakma Vortex directory from that image<br />rm -Rf &quot;/Volumes/Puakma Vortex/Puakma Vortex/*&quot;<br /> # copy all needed files - you can use rsync instead of this command, <br /># and the previous one, but Vortex has setup consisting from more parts<br />cp -R what &quot;/Volumes/Puakma Vortex/Puakma Vortex/&quot;<br /># and unmount image at the end<br />hdiutil detach &quot;/Volumes/Puakma Vortex&quot;</pre><h3>Shrink the image<br /></h3><p>The last step which should be done also in your build script is to shrink the file to the size which is necessary, and create dmg file.</p><pre>hdiutil compact&nbsp; &quot;Puakma Vortex.sparseimage&quot;<br />rm -f &quot;Puakma Vortex.dmg&quot;<br />hdiutil convert -format UDZO -o &quot;Puakma Vortex.dmg&quot; &quot;Puakma Vortex.sparseimage&quot;<br /></pre><p>So that&#39;s all, hope you enjoy new installation procedure for Mac.</p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=2</guid></item><item><title>Hello, world.</title><pubDate>Wed, 21 Jun 2006 00:00:00 GMT</pubDate><category></category><comments>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=1</comments><description><![CDATA[ <p>Hello, before I start writing this blog, let me introduce myself.<br /></p><p>My name is Martin Nov&aacute;k. I live in Prague in Czech Republic, and I study there computer science at <a href="http://www.cvut.cz" target="_blank" title="Czech Technical University">Czech Technical University</a> . Prague is one of the most beautiful cities around the world which is need to visit, and spend few days. I love Prague, however I have never considered Prague being my real home. I study there, and live there, but my hometown has always been <a href="http://www.olomouc-tourism.cz" target="_blank" title="Olomouc">Olomouc</a>  which is in Han&aacute; region in Morava - it&#39;s in the eastern part of Czech Republic about 300 km on the east of Prague. Olomouc is beautiful historical town which is small enough to live without stress, and big enough to have lot of fun there. Olomouc has the second largest historical town in country after Prague, but it&#39;s really peacuful.</p><p><img src="http://www.martinnovak.net/puakma/martinplog.pma/GetResource?OpenAction&amp;name=svtrojce1.jpg" alt="Saint trinity column with town hall" title="Saint trinity column with town hall" width="498" height="374" /> <br /></p><p>I work for <a href="http://www.wnc.net.au" target="_blank" title="webWise Network Consultants">webWise Network Consultants</a>, small Aussie company from Sydney doing wonderful things around <a href="../..//" target="_blank" title="Puakma technologies">Puakma technologies</a> , and some other computing stuff. I develop <a href="../website.pma/Vortex?OpenPage" target="_blank" title="Puakma Vortex">Puakma Vortex</a>  which is plugin for Eclipse helping people to develop applications for Puakma Tornado server.<br /><br />I would like to write about technology, specially about Puakma, Eclipse, Java, and MacOSX. And sometimes you will hear from me some other comments about various interesting things. I hope you will enjoy reading!</p>]]></description><guid>http://www.martinnovak.net/puakma/martinplog.pma//puakma/martinplog.pma/ViewEntry?OpenPage&amp;ID=1</guid></item>
   </channel>
</rss>