{"id":93,"date":"2009-05-02T12:17:04","date_gmt":"2009-05-02T11:17:04","guid":{"rendered":"http:\/\/www2.apebox.org\/wordpress\/?p=93"},"modified":"2009-05-02T12:17:04","modified_gmt":"2009-05-02T11:17:04","slug":"gnot-invented-here","status":"publish","type":"post","link":"https:\/\/apebox.org\/wordpress\/rants\/93","title":{"rendered":"Gnot Invented Here"},"content":{"rendered":"<p>A short missive on Gnote, which ties into my last post about bloat.<\/p>\n<p>Gnote is, for those living under a large pile of particularly non-porous rocks, a fork of Tomboy, doing a line-by-line translation of the source into C++. It was announced one month ago today, and has already seen several releases.<\/p>\n<p>Gnote is impressive. No really, The fact that Gnote exists is a testament to the patience of its developer &#8211; Mono (which Tomboy uses) was created to remove the pain associated with mangling C or C++, so taking an existing app and going back there is impressive work. It impressed me enough that when I became aware of it, I considered packaging it myself &#8211; however, inspection at a source level made me decide I couldn&#8217;t support certain practices which I&#8217;m not going to go into. That, and several members of the anti-Mono brigade had already accepted Gnote as their shining saviour and done packaging already.<\/p>\n<p>If Debian&#8217;s FTP Master determines that Gnote is permissible for inclusion in Debian (I hear FTP Master has been particularly stringent these days in checking copyright) then great. Gnote is unquestionably faster to start up than Tomboy &#8211; that&#8217;s because Tomboy runs though a JITter and Gnote doesn&#8217;t. It doesn&#8217;t take a rocket scientist to determine that app startup time is higher on Mono apps than non-Mono apps. We&#8217;re not talking much time here &#8211; about a second or two tops on my desktop &#8211; but for some, that&#8217;s significant.<\/p>\n<p>However, I think it&#8217;s worth mentioning at this point that those same anti-Mono elements (Moycott Movell, mi&#8217;m mooking mat moo) don&#8217;t seem to comprehend basic benchmarking technique, and readers should be very wary of their quoted numbers relating to (you guessed it) bloat. Firstly, RAM numbers. The quoted figures are 15.2 MiB versus 5.5 MiB. How true are these numbers? Well, first, let&#8217;s look at the RAM consumption here on Ubuntu 9.04 of both apps &#8211; Gnote 0.3 and Tomboy 0.14.0 &#8211; with a fresh install. 14.2 MiB versus 7.6 MiB. Hm, those numbers don&#8217;t add up to what was quoted. I wonder why&#8230;.. Firstly, Gnote is a C++ app, and as a result, is much more memory hungry on 64-bit architectures like mine than on 32-bit architectures &#8211; that accounts for some of the difference.<\/p>\n<p>However, let&#8217;s look closer &#8211; what functionality exactly is being offered by both apps, out of the box? Gnote comes with 4 add-ins, all enabled: printing, bugzilla links, fixed width, and timestamps. Tomboy has all of these, but ALSO comes with Sticky Notes importing, backlinks, HTML export, Evolution integration, local directory and WebDav synchronization, but NOT the timestamp addin by default. Let&#8217;s change Tomboy&#8217;s addins to match Gnote, shall we? 14.1 versus 7.6 &#8211; Gnote is half as RAM-hungry as Tomboy if you disable two thirds of its abilities. If you don&#8217;t want those abilities &#8211; e.g. integration into Tasque to-do lists or synchronization to anywhere else, then Gnote is definitely the less &#8220;bloated&#8221; app. But, just for curiosity&#8217;s sake, shall we try another comparison &#8211; Gnote with ALL its abilities enabled versus Tomboy with ALL its abilities enabled? 14.5 versus 7.6, with three times the feature set. Three times the features in twice the RAM footprint would, if my sums are correct, make Tomboy the less-bloated app in terms of features-per-meg-of-RAM. If you use those features. And now we&#8217;re looking again at defining bloat.<\/p>\n<p>Now, the disk space question. Tomboy and its unique deps take 13.9 MiB of space on a Jaunty install CD. Gnote pulls in 6.3 MiB &#8211; so, again, about half the size. These numbers make certain assumptions &#8211; for example, that we&#8217;re working purely on these packages, and not making hysterical judgements on surrounding frameworks. Ubuntu comes with Mono and GTKmm by default due to other apps, and it&#8217;s important when measuring this kind of thing not to impact on other apps. And if you want a clue as to where the space difference comes from? Tomboy comes with documentation in 14 languages, taking 4.4 MiB of disk space; Gnote has 2 languages, taking 1.1 MiB. Don&#8217;t do the maths on what that would mean if Gnote had parity on number of languages including documentation, it&#8217;ll make you sad. Yet again, we&#8217;re into subjective territory over classifying features (such as documentation) as bloat or not. And the only people equipped to do that are the distro packagers who make a decision.<\/p>\n<p><em>IF<\/em> Gnote can reach feature parity with Tomboy, and <em>IF<\/em> it remains smaller on disk and in RAM with those features it currently lacks, and <em>IF<\/em> it shows a clean bill of health for security and stability over a testing period longer than its one month on this Earth, and <em>IF<\/em> the desktop team are comfortable switching from an app with an upstream team to a one-man show, and <em>IF<\/em> the desktop team are comfortable going from an app which innovates to an app which emulates, then I think it&#8217;s pretty clear which app makes more sense on the default install CDs. Until then, let&#8217;s be sure to compare Gnote and Tomboy using <strong>real<\/strong>, verifiable metrics and not hyperbole.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A short missive on Gnote, which ties into my last post about bloat. Gnote is, for those living under a large pile of particularly non-porous rocks, a fork of Tomboy, doing a line-by-line translation of the source into C++. It was announced one month ago today, and has already seen several releases. Gnote is impressive. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[28,40],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-rants","tag-mono","tag-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2qJco-1v","_links":{"self":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apebox.org\/wordpress\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}