Advogato blog for hubhttp://www.advogato.org/person/hub/
Advogato blog for huben-usmod_virguleSun, 2 Aug 2015 22:27:40 GMTWed, 13 Jun 2007 19:03:45 GMTBrowser wars: a new hopehttp://www.advogato.org/person/hub/diary.html?start=303
http://www.figuiere.net/hub/blog/?2007/06/13/531-browser-wars-a-new-hope <p>Nothing was lost in the browser and in the last years, Firefox has taken back some point in the browser market. So interestingly that after disbanding the team and not doing anything on IE for 5 years but plugging security holes, Microsoft decided to release IE 7, solely for XP SP2 and upward, in the hope to regain some market.</p>
<p>But this is not without counting on Safari.</p>
<p>Safari by itself made Microsoft not develop IE Mac anymore a by itself took a good chunk as the Mac market is somewhat growing a bit. The interesting part is that it is not based on <a href="http://en.wikipedia.org/wiki/Gecko_%28layout_engine%29" >Gecko</a>, but on <a href="http://en.wikipedia.org/wiki/KHTML" >KHTML</a>, turned into <a href="http://webkit.org/" >WebKit</a>. <a href="http://arstechnica.com/journals/apple.ars/2007/06/12/ars-at-wwdc-interview-with-lars-knoll-creator-of-khtml" >Lars Knoll interview</a> gives us a brief overview of the past and the future of KHTML and WebKit development, notably how Apple collaboration ended up working well and how KDE4 will have KHTML coming directly from Apple's repository<sup>[<a href="#pnote-531-1" id="rev-pnote-531-1" >1</a>]</sup>. Now the <a href="http://webkit.org/blog/105/i-feel-a-great-disturbance-in-the-source/" >WebKit for Windows is about to disturb the source</a>: Apple's Windows port <a href="http://webkit.org/blog/106/it-is-alive/" >did land in the repository</a>, and that port has apparently no relation with the <a href="http://opensource.adobe.com/adobe_apollo.html" >non contribution from Adobe</a> for <a href="http://www.advogato.org/hub/blog/?2007/04/09/512-webkit-with-cairo" hreflang="en" title="WebKit with Cairo" >WebKit + Cairo on Windows</a><sup>[<a href="#pnote-531-2" id="rev-pnote-531-2" >2</a>]</sup>. I'm still unsure of the direct benefit of the port source code for Free Software, as it apparently use a mix between Windows native GDI and Apple own proprietary CoreGraphics (delivered as a non-free DLL), but nonetheless.</p>
<p>Now how will that still matter for Free Software?</p>
<p>It brings a standard compliant Free Software web rendering engine a broader audience, on that it is different from Gecko. Competition is good, and diversity is good. This engine is at the heart of KDE4, and is being brought to Gtk by the work put in by various contributors, <a href="http://www.atoker.com/blog/2007/06/12/webkitgtk-is-coming/" >including Alp's port to Maemo</a> (Alp, you rock dude) making it valuable for <a href="http://www.gnome.org/mobile/" >GMAE</a> and Gnome in general. Nobody will argue, <a href="http://www.advogato.org/hub/blog/?2006/11/06/473-gnome-in-dire-need-of-an-html-component" hreflang="en" title="Gnome in dire need of an HTML component" >Gnome is in dire need to something better than Gecko for its HTML needs</a>: DevHelp, Yelp, Liferea, Evolution, etc would all benefit from it. All the enhancements made to the main engine, including support for new standards will directly serve the purpose of any Free Software using it.</p>
<p>Even more, being the browser inside the iPhone (and actually Apple's blessed development platform for the iPhone<sup>[<a href="#pnote-531-3" id="rev-pnote-531-3" >3</a>]</sup>), this could leverage enough market share to make WebKit a major browser and have actually enough power to convince the <em>Web 2.0</em> developers to ensure their development are compatible<sup>[<a href="#pnote-531-4" id="rev-pnote-531-4" >4</a>]</sup> with it. And that is something noticeable. Remember when IE was the only browser tested and that developer didn't care to fix their mistake or standard conformance because anything else was too small for them?</p>
<div class="footnotes"><h4>Notes</h4>
<p>[<a href="#rev-pnote-531-1" id="pnote-531-1" >1</a>] no I didn't say developed by Apple</p>
<p>[<a href="#rev-pnote-531-2" id="pnote-531-2" >2</a>] they released the source of their version but didn't contribute it back to the main WebKit</p>
<p>[<a href="#rev-pnote-531-3" id="pnote-531-3" >3</a>] more on that later</p>
<p>[<a href="#rev-pnote-531-4" id="pnote-531-4" >4</a>] bonus point: the iPhone <a href="http://www.macrumors.com/2007/06/12/no-flash-support-on-the-iphone/" >does not have Flash capabilities</a> which is good for standard compliance</p></div>Sat, 9 Jun 2007 05:03:45 GMTExempi 1.99.1http://www.advogato.org/person/hub/diary.html?start=302
http://www.figuiere.net/hub/blog/?2007/06/09/530-exempi-1991 <p>I forgot, but Thursday night I released <a href="http://libopenraw.freedesktop.org/wiki/Exempi" >Exempi</a> 1.99.1. The ChangeLog is probably not very obvious be the 2 notable changes are <code>xmp_register_namespace()</code> and <code>NS_CC</code>. The first is to register a new namespace to add to a metadata block. The second is actually the constant for the <a href="http://wiki.creativecommons.org/XMP" >Creative Commons XMP</a> namespace.</p>
<p>This release is brought to you especially for our friend at Creative Commons.</p>
<p>Download <a href="http://libopenraw.freedesktop.org/download/exempi-1.99.1.tar.gz" >.tar.gz</a> - <a href="http://libopenraw.freedesktop.org/download/exempi-1.99.1.tar.gz.asc" >GPG sig</a></p>Thu, 7 Jun 2007 21:03:45 GMTPresentationML/DrawingML text importhttp://www.advogato.org/person/hub/diary.html?start=301
http://www.figuiere.net/hub/blog/?2007/06/07/529-presentationml-drawingml-text-import <p>One of the good things with being employed to work on a Free Software project like OpenOffice.org is that you can blog about it, since the code is publicly available. My day to day work is current PowerPoint 2007 import for Impress. This is a joint work between Sun and Novell.</p>
<p>A few weeks ago I implemented the text import from <a href="http://wiki.services.openoffice.org/wiki/PresentationML" >PresentationML</a> (actually from <a href="http://wiki.services.openoffice.org/wiki/DrawingML" >DrawingML</a>). It is far from perfect, but it is getting there. See the example:</p>
<p><a href="http://www.figuiere.net/hub/blog/images/pptx-text-1.jpg" ><img src="http://www.figuiere.net/hub/blog/images/pptx-text-1-320.jpg" alt="" /></a></p>
<p>It imports the text, the characters and paragraph properties, etc.</p>Thu, 7 Jun 2007 17:03:48 GMT... solvedhttp://www.advogato.org/person/hub/diary.html?start=300
http://www.figuiere.net/hub/blog/?2007/06/07/528-solved <p>I went ahead and solved the problem on my own with planet OpenOffice.org: I changed the RSS template files to escape their content. I don't know why the behaviour is different between two Python installation, and actually I don't wanna know ;-)</p>
<p>It looks like <code>grep</code> is still one of my best friends.</p>
<p>People aggregating the planet should no longer have issue. Sorry for the mess.</p>Wed, 6 Jun 2007 15:03:51 GMTPlanet issues...http://www.advogato.org/person/hub/diary.html?start=299
http://www.figuiere.net/hub/blog/?2007/06/06/527-planet-issues <p>Dear Lazyweb,</p>
<p>Since <a href="http://www.advogato.org/hub/blog/?2007/06/04/526-planet-openofficeorg-and-go-ooorg-service-announcement" hreflang="en" title="Planet OpenOffice.org and go-oo.org service announcement" >I moved planet OpenOffice</a>, it generates invalid RSS feed because it does not escape the content of &lt;dc:author&gt;. The planet version is the same, but the Python version likely is different. I have no power on the version of Python that is installed.</p>
<p>This invalid feed cause problems for people aggregating planet in a feed reader (like I do).</p>
<p>Oh Lazyweb, do you have a magical solution? Your friend Google seems to not have been helpful.</p>
<p>Thanks, love,</p>
<p>Hub</p>Mon, 4 Jun 2007 20:03:42 GMTPlanet OpenOffice.org and go-oo.org service announcementhttp://www.advogato.org/person/hub/diary.html?start=298
http://www.figuiere.net/hub/blog/?2007/06/04/526-planet-openofficeorg-and-go-ooorg-service-announcement <p>I just migrated <a href="http://planet.go-oo.org/" >Planet OpenOffice.org</a> to a new ISP. Nothing should be changed for you readers, but if you notice any problem, feel free to contact me.</p>
<p>We will also be moving the rest of go-oo.org progressively, there might be disturbances. We will try to minimize them.</p>
<p>Thanks.</p>Sat, 2 Jun 2007 23:03:40 GMTLossless JPEGhttp://www.advogato.org/person/hub/diary.html?start=297
http://www.figuiere.net/hub/blog/?2007/06/02/525-lossless-jpeg <p>Last night I reached a new milestone in libopenraw: being able to decompress the RAW data from CR2 files using Lossless JPEG. The lazyweb has been helpful in finding code for it (libjpeg does not support it) code that I ported from old K&amp;R to C++. I'm still not completely statisfied with the port but it works much better than my attempt to port some MIT-licensed Java code.</p>
<p><a href="http://www.figuiere.net/hub/blog/images/20070602-raw-decompress.jpg" ><img src="http://www.figuiere.net/hub/blog/images/20070602-raw-decompress-small.jpg" alt="" /></a></p>
<p>Above is the PGM I generated, that contain the RAW data, viewed in eog. The look is due to the fact that we have a GRBG 2x2 color filter array diplayed as a graymap, and that eog does sone dithering. This is the data I should be passing to the demosaicing code. The picture is one of the random sample I took from my own photo library, taken around the corner from where I was living in Montréal.</p>
<p>DNG support should come The code is in the git repository.</p>Wed, 30 May 2007 17:03:51 GMTEight years agohttp://www.advogato.org/person/hub/diary.html?start=296
http://www.figuiere.net/hub/blog/?2007/05/30/524-eight-years-ago <p>8 years ago, back when AbiWord was a commercial venture, the <a href="http://www.abisource.com/~abi/lwce17_005_full.jpg" >AbiWord folks from Sourcegear</a> had a booth at Linux Expo 99.</p>
<p><a href="http://abisource.com/~abi/" >Abi</a> the ant <a href="http://abisource.com/~abi/expo.phtml" >was there</a>. <a href="http://www.uwog.net/" >Marc</a> dug up pictures that were still on the server. One did catch our eyes (along with the caption):</p>
<p><a href="http://abisource.com/~abi/expo99/expo_05_002_full.jpg" ><img src="http://abisource.com/~abi/expo99/expo_05_002_thmb.jpg" alt="" /></a></p>
<p><em>Miguel and his partners are starting a new company, International GNOME Support</em></p>Wed, 30 May 2007 04:03:41 GMTExempi 1.99.0http://www.advogato.org/person/hub/diary.html?start=295
http://www.figuiere.net/hub/blog/?2007/05/29/523-exempi-1990 <p>I think that a release of <a href="http://libopenraw.freedesktop.org/wiki/Exempi" >Exempi</a> 1.99.0 <a href="http://www.linux.com/article.pl?sid=07/05/29/1527232" >is due</a>.</p>
<p>This release is the first release towards Exempi 2.0. It is based on Adobe own XMP SDK and unlike the original Adobe code, it builds fine on Linux, and even more on x86_64 (I'm not proud of the fix, but it is as good as it gets for now). This version is much more feature complete than Exempi 0.5.1 as it read and writes (serialize) XMP metadata and load from and to files, including, for supported file types, reconciling the existing metadata.</p>
<p>Download: <a href="http://libopenraw.freedesktop.org/download/exempi-1.99.0.tar.gz" >.tar.gz</a> - <a href="http://libopenraw.freedesktop.org/download/exempi-1.99.0.tar.gz.asc" >GPG signature</a></p>
<p>It is licensed under the BSD license.</p>
<p>The current API is somewhat not definitive, but I hope it is OK. The documentation still has to be written / generated.</p>
<p>One of the question I got asked is how do you add XMP metadata like CC:Licensing to a PDF<sup>[<a href="#pnote-523-1" id="rev-pnote-523-1" >1</a>]</sup>. Here is a snippet:</p>
<pre>#include &lt;exempi/xmp.h&gt;
...
XmpFilePtr f;
f = xmp_files_open_new("test.pdf", XMP_OPEN_FORUPDATE);
XmpPtr xmp = xmp_files_get_new_xmp(f);
xmp_set_property(xmp, NS_XAP_RIGHTS, "Copyright", "(c) ACME Inc., some rights reserved"
" - This work is licensed to the public under the Creative Commons Attribution-ShareAlike "
"license http://creativecommons.org/licenses/by-sa/2.0/");
xmp_files_put_xmp(f, xmp);
xmp_free(xmp);
xmp_files_close(f, XMP_CLOSE_SAFEUPDATE);</pre>
<p>Now a little call: Exempi 1.99.0 supports several media format, but not vorbis... I wish I could add support for it. Any idea? I haven't actually dug into it yet.</p>
<div class="footnotes"><h4>Notes</h4>
<p>[<a href="#rev-pnote-523-1" id="pnote-523-1" >1</a>] could be any of the other supported file types</p></div>Tue, 29 May 2007 20:03:42 GMTexiv2 and Pythonhttp://www.advogato.org/person/hub/diary.html?start=294
http://www.figuiere.net/hub/blog/?2007/05/29/522-exiv2-and-python <p>I discovered today <a href="http://tilloy.net/dev/pyexiv2/dokuwiki/doku.php/" >pyexiv2</a>, which is a Python interface to the infamous <a href="http://www.exiv2.org/" >Exiv2</a>, a GPL library to read and write Exif and IPTC/IIM metadata from JPEG and various camera RAW file. Too bad I can't reuse the exiv2 code in <a href="http://libopenraw.freedesktop.org/" >libopenraw</a> as it is GPL and not LGPL.<sup>[<a href="#pnote-522-1" id="rev-pnote-522-1" >1</a>]</sup></p>
<p>pyexiv2 is actually an exemple on how easy it is to write Python module in C++ using <a href="http://boost.org/libs/python/doc/index.html" >Boost.Python</a></p>
<div class="footnotes"><h4>Notes</h4>
<p>[<a href="#rev-pnote-522-1" id="pnote-522-1" >1</a>] The decision to use LGPL for libopenraw is in complete relation to the policies from both Gnome and KDE when it come to libraries, and nothing else.</p></div>