{"id":32,"date":"2007-09-28T23:51:38","date_gmt":"2007-09-28T21:51:38","guid":{"rendered":"http:\/\/www.thomaskeller.biz\/blog\/2007\/09\/28\/step-by-step\/"},"modified":"2007-09-28T23:55:22","modified_gmt":"2007-09-28T21:55:22","slug":"step-by-step","status":"publish","type":"post","link":"https:\/\/www.thomaskeller.biz\/blog\/2007\/09\/28\/step-by-step\/","title":{"rendered":"Step by step"},"content":{"rendered":"<p>Over the last few months I&#8217;ve worked on a new <a href=\"http:\/\/www.monotone.ca\" target=\"_blank\">monotone<\/a> interface for <a href=\"http:\/\/guitone.thomaskeller.biz\" target=\"_blank\">guitone<\/a> from time to time. This new interface supersedes the old one in a couple of aspects; the most important one is that it runs the monotone processes in separate QThreads instead of the main GUI thread. I hope this will make many unexplainable locking problems on Mac OS X and Win32 vanish, which especially pop up when starting the application up or &#8211; weird enough &#8211; when the application is run as non-root user (Win32).<\/p>\n<p>Rewriting something so important almost from the scratch is very tedious. Since it basically affects the whole application, the head of the <a href=\"http:\/\/guitone.thomaskeller.biz\/viewmtn\/viewmtn.py\/branch\/changes\/net.venge.monotone.guitone\" target=\"_blank\">net.venge.monotone.guitone branch<\/a> has been and probably will be broken for a while. This is actually the first time I appreciated the fact that you can compile single source files step by step with make, just by triggering `make target_dir\/filename.o`, so I&#8217;m kind of proud to say that I already have the actual thread class, a task item and a thread manager working (i.e. they compile ;)) &#8211; and I just finished the new utility class which supports synchronous queries to the thread (with the help of <a href=\"http:\/\/doc.trolltech.com\/4.3\/qeventloop.html\" target=\"_blank\">QEventLoop<\/a>), which otherwise has a pure async i\/o.<\/p>\n<p>Sure, there is still a lot of work left and this work could be done faster if I wouldn&#8217;t be the only one right now hacking on this project (*wink*, *wink*, want to join?) &#8211; but at least I have the feeling that I&#8217;m getting somewhere now. And maybe I get even more impressions how to do things _better_ if I come back from the <a href=\"http:\/\/trolltech.com\/company\/newsroom\/events\/allevents\/devdays2007\/overview\/\" target=\"_blank\">Trolltech Developer Days 2007<\/a> in Munich (16th and 17th October), whose attendance is sponsored by <a href=\"http:\/\/www.itcampus.de\" target=\"_blank\">my company<\/a> and Trolltech themselves.<\/p>\n<p>Yes, thats right, they invited me to go there for free; a normal entry would have cost me nearly 600 Euro! And all this just because I develop this nice little Open Source application named <a href=\"http:\/\/guitone.thomaskeller.biz\" target=\"_blank\">guitone<\/a> &#8211; isn&#8217;t that great?!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the last few months I&#8217;ve worked on a new monotone interface for guitone from time to time. This new interface supersedes the old one in a couple of aspects; the most important one is that it runs the monotone processes in separate QThreads instead of the main GUI thread. I hope this will make &hellip; <a href=\"https:\/\/www.thomaskeller.biz\/blog\/2007\/09\/28\/step-by-step\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Step by step<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-coding","category-guitone"],"_links":{"self":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thomaskeller.biz\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}