<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Life &amp; hacking</title>
	<atom:link href="http://blogs.gnome.org/johannes/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/johannes</link>
	<description>Blog of Johannes Schmid</description>
	<lastBuildDate>Sun, 05 Feb 2012 00:22:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on What&#8217;s up? by Anonymous</title>
		<link>http://blogs.gnome.org/johannes/2012/02/03/whats-up/comment-page-1/#comment-830</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 05 Feb 2012 00:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=440#comment-830</guid>
		<description>Just use libgmp. :)</description>
		<content:encoded><![CDATA[<p>Just use libgmp. <img src='http://blogs.gnome.org/johannes/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s up? by Timo Kluck</title>
		<link>http://blogs.gnome.org/johannes/2012/02/03/whats-up/comment-page-1/#comment-829</link>
		<dc:creator>Timo Kluck</dc:creator>
		<pubDate>Fri, 03 Feb 2012 22:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=440#comment-829</guid>
		<description>Perhaps you have solved it already. If not, here&#039;s my idea: You could pre-calculate (x mod 97) for x a power of 2. Then use that data (and additivity of taking a modulus) as follows:

def computation(x):
    # pre-compute this table
    n_bits = 128
    a = {0:1}
    for i in range(n_bits):
        a[i+1] = 2*a[i] % 97

    res = 0
    for i in range(n_bits):
        if(x &amp; (1&lt;&lt;i)):
            res += a[i]
    return 98 - res


Hope it helps :-)</description>
		<content:encoded><![CDATA[<p>Perhaps you have solved it already. If not, here&#8217;s my idea: You could pre-calculate (x mod 97) for x a power of 2. Then use that data (and additivity of taking a modulus) as follows:</p>
<p>def computation(x):<br />
    # pre-compute this table<br />
    n_bits = 128<br />
    a = {0:1}<br />
    for i in range(n_bits):<br />
        a[i+1] = 2*a[i] % 97</p>
<p>    res = 0<br />
    for i in range(n_bits):<br />
        if(x &amp; (1&lt;&lt;i)):<br />
            res += a[i]<br />
    return 98 &#8211; res</p>
<p>Hope it helps <img src='http://blogs.gnome.org/johannes/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s up? by M Welinder</title>
		<link>http://blogs.gnome.org/johannes/2012/02/03/whats-up/comment-page-1/#comment-828</link>
		<dc:creator>M Welinder</dc:creator>
		<pubDate>Fri, 03 Feb 2012 20:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=440#comment-828</guid>
		<description>mod-97 one digit at a time.  Not large values in play.

perl -e &#039;$m = 0; foreach $d (1, 0, 0, 0, 0) { $m = ($m * 10 + $d) % 97; } print &quot;$m\n&quot;;&#039;</description>
		<content:encoded><![CDATA[<p>mod-97 one digit at a time.  Not large values in play.</p>
<p>perl -e &#8216;$m = 0; foreach $d (1, 0, 0, 0, 0) { $m = ($m * 10 + $d) % 97; } print &#8220;$m\n&#8221;;&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s up? by Marius Gedminas</title>
		<link>http://blogs.gnome.org/johannes/2012/02/03/whats-up/comment-page-1/#comment-827</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Fri, 03 Feb 2012 16:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=440#comment-827</guid>
		<description>&quot;Male&quot;?  What?</description>
		<content:encoded><![CDATA[<p>&#8220;Male&#8221;?  What?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s up? by jhs</title>
		<link>http://blogs.gnome.org/johannes/2012/02/03/whats-up/comment-page-1/#comment-826</link>
		<dc:creator>jhs</dc:creator>
		<pubDate>Fri, 03 Feb 2012 12:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=440#comment-826</guid>
		<description>Hi Benjamin!

I don&#039;t follow gtk-devel-list so no, I haven&#039;t heard about it. I am not at all opposed to integrate gdl into gtk+ but I definitly won&#039;t have time to do all the work.

The coding style of gdl overall probably isn&#039;t too bad, the documentation needs to be completed and the remaining bugs of gdl (all!) need to be fixed if this is going to be in gtk+ because it still has some rough edges. The problem is that you need a lot of knowledge of all the internal GtkWidget drawing code to be able to contribute - it&#039;s not one of those easy tasks...

Johannes</description>
		<content:encoded><![CDATA[<p>Hi Benjamin!</p>
<p>I don&#8217;t follow gtk-devel-list so no, I haven&#8217;t heard about it. I am not at all opposed to integrate gdl into gtk+ but I definitly won&#8217;t have time to do all the work.</p>
<p>The coding style of gdl overall probably isn&#8217;t too bad, the documentation needs to be completed and the remaining bugs of gdl (all!) need to be fixed if this is going to be in gtk+ because it still has some rough edges. The problem is that you need a lot of knowledge of all the internal GtkWidget drawing code to be able to contribute &#8211; it&#8217;s not one of those easy tasks&#8230;</p>
<p>Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What&#8217;s up? by Benjamin Otte</title>
		<link>http://blogs.gnome.org/johannes/2012/02/03/whats-up/comment-page-1/#comment-825</link>
		<dc:creator>Benjamin Otte</dc:creator>
		<pubDate>Fri, 03 Feb 2012 12:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=440#comment-825</guid>
		<description>Did you read https://mail.gnome.org/archives/gtk-devel-list/2012-January/msg00033.html ? In particular the part where I&#039;m wondering about having a dock in GTK?

If Inkscape and Anjuata were using such a widget and I could get someone to port the Gimp, I think there&#039;s a good argument for wanting such a widget in GTK core. (Also, I bet the GEdit guys would start using it immediately, they use all the crazy new stuff in GTK anyway....)

That said, such a task would probably involve lots of boring fixage to make GDL conform to GTK coding standards. On the other hand you gain the benefits of being a GTK core widget and access to all our awesome internal APIs. So I&#039;m not sure if that&#039;s a task anybody wants to undertake.</description>
		<content:encoded><![CDATA[<p>Did you read <a href="https://mail.gnome.org/archives/gtk-devel-list/2012-January/msg00033.html" rel="nofollow">https://mail.gnome.org/archives/gtk-devel-list/2012-January/msg00033.html</a> ? In particular the part where I&#8217;m wondering about having a dock in GTK?</p>
<p>If Inkscape and Anjuata were using such a widget and I could get someone to port the Gimp, I think there&#8217;s a good argument for wanting such a widget in GTK core. (Also, I bet the GEdit guys would start using it immediately, they use all the crazy new stuff in GTK anyway&#8230;.)</p>
<p>That said, such a task would probably involve lots of boring fixage to make GDL conform to GTK coding standards. On the other hand you gain the benefits of being a GTK core widget and access to all our awesome internal APIs. So I&#8217;m not sure if that&#8217;s a task anybody wants to undertake.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 3500 km Australien&#8230; by maria</title>
		<link>http://blogs.gnome.org/johannes/2011/09/03/3500-km-australien/comment-page-1/#comment-822</link>
		<dc:creator>maria</dc:creator>
		<pubDate>Sun, 04 Sep 2011 06:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=430#comment-822</guid>
		<description>Neue Flipflops - neues Land: good luck in Tokio</description>
		<content:encoded><![CDATA[<p>Neue Flipflops &#8211; neues Land: good luck in Tokio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun facts Australia&#8230; by maria</title>
		<link>http://blogs.gnome.org/johannes/2011/08/09/fun-facts-australia/comment-page-1/#comment-821</link>
		<dc:creator>maria</dc:creator>
		<pubDate>Tue, 09 Aug 2011 20:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=420#comment-821</guid>
		<description>Best view of the opera of Sydney, I have ever seen!</description>
		<content:encoded><![CDATA[<p>Best view of the opera of Sydney, I have ever seen!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Singapur Airport by Fabi</title>
		<link>http://blogs.gnome.org/johannes/2011/08/04/singapur-airport/comment-page-1/#comment-819</link>
		<dc:creator>Fabi</dc:creator>
		<pubDate>Thu, 04 Aug 2011 12:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=408#comment-819</guid>
		<description>Klingt doch schon mal ganz nett :)
Wünsch dir einen schönen A380 Flug! Bin schon auf deinen nächsten Eintrag gespannt...
Enjoy your meal!</description>
		<content:encoded><![CDATA[<p>Klingt doch schon mal ganz nett <img src='http://blogs.gnome.org/johannes/wp-content/mu-plugins/tango-smilies/tango/face-smile.png' alt=':)' class='wp-smiley' /><br />
Wünsch dir einen schönen A380 Flug! Bin schon auf deinen nächsten Eintrag gespannt&#8230;<br />
Enjoy your meal!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Leaving on a jet plane by Felix Kaser</title>
		<link>http://blogs.gnome.org/johannes/2011/07/25/leaving-on-a-jet-plane/comment-page-1/#comment-815</link>
		<dc:creator>Felix Kaser</dc:creator>
		<pubDate>Tue, 26 Jul 2011 07:20:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/johannes/?p=409#comment-815</guid>
		<description>Oh schade! ich bin ab ersten august in Berlin, wenn du also noch zeit auf ein bier hast, meld dich!

ansonsten: gute reise und viel spaß!</description>
		<content:encoded><![CDATA[<p>Oh schade! ich bin ab ersten august in Berlin, wenn du also noch zeit auf ein bier hast, meld dich!</p>
<p>ansonsten: gute reise und viel spaß!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/johannes/comments/feed/ ) in 1.21698 seconds, on Feb 11th, 2012 at 7:43 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 8:43 pm UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  blogs.gnome.org/johannes/comments/feed/ ) in 0.00053 seconds, on Feb 11th, 2012 at 8:20 pm UTC. -->
