<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.au/group/comp.lang.java.programmer</id>
  <title type="text">comp.lang.java.programmer Google Group</title>
  <subtitle type="text">
  Programming in the Java language.
  </subtitle>
  <link href="/group/comp.lang.java.programmer/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.java.programmer feed"/>
  <updated>2009-11-25T08:18:17Z</updated>
  <generator uri="http://groups.google.com.au" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Albretch Mueller</name>
  <email>lbrt...@gmail.com</email>
  </author>
  <updated>2009-11-25T08:18:17Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/ead2fac048a71fb5/fc08a88d1334a03b?show_docid=fc08a88d1334a03b</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/ead2fac048a71fb5/fc08a88d1334a03b?show_docid=fc08a88d1334a03b"/>
  <title type="text">Re: converting from one charset encoding to another ...</title>
  <summary type="html" xml:space="preserve">
  OK, you have made me wonder about what to do when you don&#39;t know the &lt;br&gt; encoding of a file you got. As long as I know this is not taken care &lt;br&gt; by Readers even though some heuristics may be used &lt;br&gt; So, what do you do in those situations? &lt;br&gt; Thank you &lt;br&gt; lbrtchx
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kevin McMurtrie</name>
  <email>mcmurt...@pixelmemory.us</email>
  </author>
  <updated>2009-11-25T06:23:49Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/ca8c4d157aa3e6f2/d6ab0e60f79eace1?show_docid=d6ab0e60f79eace1</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/ca8c4d157aa3e6f2/d6ab0e60f79eace1?show_docid=d6ab0e60f79eace1"/>
  <title type="text">Re: Thread in a hashtable</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;RUKOm.50406$KP1.36...@newsfe1 6.ams2&amp;gt;, &lt;br&gt; . . . &lt;br&gt; Guesses: &lt;br&gt; - Improve multithreading adoption at a time when most coders were afraid &lt;br&gt; of it or considered it voodoo &lt;br&gt; - Most of the JFCs were Java example code too &lt;br&gt; - There would have been Applet security holes if synchronization didn&#39;t &lt;br&gt; prevent unpredictable updates to the basic data types like HashMap,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Roedy Green</name>
  <email>see_webs...@mindprod.com.invalid</email>
  </author>
  <updated>2009-11-25T06:08:23Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/e13cf71060c66439/428f6cdb732ff630?show_docid=428f6cdb732ff630</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/e13cf71060c66439/428f6cdb732ff630?show_docid=428f6cdb732ff630"/>
  <title type="text">Re: book request</title>
  <summary type="html" xml:space="preserve">
  On Mon, 23 Nov 2009 23:45:27 -0800 (PST), Ztx4 &amp;lt;oladham...@gmail.com&amp;gt; &lt;br&gt; wrote, quoted or indirectly quoted someone who said : &lt;br&gt; It will be easier to find with this info: &lt;br&gt; 978-0136012672 ISBN &lt;br&gt; Daniel Liang &lt;br&gt; See &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://mindprod.com/jgloss/bookfinder.html&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mike Schilling</name>
  <email>mscottschill...@hotmail.com</email>
  </author>
  <updated>2009-11-25T05:12:01Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/e13cf71060c66439/a21684dfddda92ce?show_docid=a21684dfddda92ce</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/e13cf71060c66439/a21684dfddda92ce?show_docid=a21684dfddda92ce"/>
  <title type="text">Re: book request</title>
  <summary type="html" xml:space="preserve">
  It&#39;s consdierably less expensive at &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.abebooks.com/servlet/SearchResults?isbn=0136012671&amp;sts=t&amp;x=70&amp;y=5&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>John B. Matthews</name>
  <email>nos...@nospam.invalid</email>
  </author>
  <updated>2009-11-25T04:35:41Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/b669d3095e7c4a75?show_docid=b669d3095e7c4a75</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/b669d3095e7c4a75?show_docid=b669d3095e7c4a75"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;hei5nr$5n...@news.eternal-sep tember.org&amp;gt;, &lt;br&gt; Ah, perhaps a cache of expensive function results. &lt;br&gt; I see what you mean: floats and doubles are just rational approximations &lt;br&gt; of reals, so they always end in zero or repeat. &lt;br&gt; &lt;p&gt;The method hash() is adapted to the power-of-two array size: &lt;br&gt; &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.docjar.com/html/api/java/util/HashMap.java.html&quot;&gt;[link]&lt;/a&gt;&amp;gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Daniel Pitts</name>
  <email>newsgroup.spamfil...@virtualinfinity.net</email>
  </author>
  <updated>2009-11-25T04:25:48Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/64261ba885468848?show_docid=64261ba885468848</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/64261ba885468848?show_docid=64261ba885468848"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  I did a quick microbench to test division versus shifting. I was &lt;br&gt; surprised by the result, I expected them to be &amp;quot;close enough&amp;quot;, but it &lt;br&gt; looks like, on my machine at least, there is an order of magnitude &lt;br&gt; difference: &lt;br&gt; &amp;lt;results&amp;gt; &lt;br&gt; Nothing: count = 874270000 &lt;br&gt; Shift: count = 869828000 &lt;br&gt; Divide: count = 91958000
  </summary>
  </entry>
  <entry>
  <author>
  <name>markspace</name>
  <email>nos...@nowhere.com</email>
  </author>
  <updated>2009-11-25T02:45:12Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/d3655708c2a5137e?show_docid=d3655708c2a5137e</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/d3655708c2a5137e?show_docid=d3655708c2a5137e"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  I dunno. I have a feeling that while the example is contrived, it isn&#39;t &lt;br&gt; unreasonable. Doubles and their bit pattern don&#39;t seem to be as random &lt;br&gt; as people expect. &lt;br&gt; Look at Tom&#39;s attempt to introduce some randomness by dividing by ten. &lt;br&gt; I don&#39;t think those he produced bit patterns are random at all. I see a
  </summary>
  </entry>
  <entry>
  <author>
  <name>John B. Matthews</name>
  <email>nos...@nospam.invalid</email>
  </author>
  <updated>2009-11-25T02:30:45Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/bcc52613bf482908?show_docid=bcc52613bf482908</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/bcc52613bf482908?show_docid=bcc52613bf482908"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;hehvr3$qs...@news.eternal-sep tember.org&amp;gt;, &lt;br&gt; Is this just the contrived nature of the example? If the keys were &lt;br&gt; really positive integers less than 10 million, then HashMap&amp;lt;Integer, &lt;br&gt; Double&amp;gt; would solve the problem. If the domain were some other subset of &lt;br&gt; the reals for which Double&#39;s hashCode() proved inadequate, one might
  </summary>
  </entry>
  <entry>
  <author>
  <name>Roedy Green</name>
  <email>see_webs...@mindprod.com.invalid</email>
  </author>
  <updated>2009-11-25T01:42:57Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/fa24e47da7963190/52494dc1bab4fa95?show_docid=52494dc1bab4fa95</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/fa24e47da7963190/52494dc1bab4fa95?show_docid=52494dc1bab4fa95"/>
  <title type="text">Re: The future of Java</title>
  <summary type="html" xml:space="preserve">
  On Sun, 22 Nov 2009 21:56:54 -0500, Arne Vajhøj &amp;lt;a...@vajhoej.dk&amp;gt; &lt;br&gt; wrote, quoted or indirectly quoted someone who said : &lt;br&gt; I have seen vendors wriggle out of these sorts of promise by creating &lt;br&gt; a new product and just letting the old one languish. The wording of &lt;br&gt; the GPL licence may make that difficult for Sun and Oracle. Does the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Roedy Green</name>
  <email>see_webs...@mindprod.com.invalid</email>
  </author>
  <updated>2009-11-25T01:23:00Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/fa24e47da7963190/635c94c9b1aef7bf?show_docid=635c94c9b1aef7bf</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/fa24e47da7963190/635c94c9b1aef7bf?show_docid=635c94c9b1aef7bf"/>
  <title type="text">Re: The future of Java</title>
  <summary type="html" xml:space="preserve">
  On Sun, 22 Nov 2009 22:05:05 -0500, Arne Vajhøj &amp;lt;a...@vajhoej.dk&amp;gt; &lt;br&gt; wrote, quoted or indirectly quoted someone who said : &lt;br&gt; Under heavy loads a system can have can a variety of behaviours: &lt;br&gt; in increasing desirability &lt;br&gt; 1. the system crashes outright. &lt;br&gt; 2. the throughput drops precipitously. (e.g. virtual ram thrashing).
  </summary>
  </entry>
  <entry>
  <author>
  <name>markspace</name>
  <email>nos...@nowhere.com</email>
  </author>
  <updated>2009-11-25T01:04:32Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/1e5192f3be1bc479?show_docid=1e5192f3be1bc479</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/1e5192f3be1bc479?show_docid=1e5192f3be1bc479"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  I wasn&#39;t using bit masking and powers of two, I was using double the &lt;br&gt; previous table size then add 1, and integer modulo to limit the hash &lt;br&gt; index to the table size. I even started with a hash table size of 101. &lt;br&gt; I was using closed hashing however, which did not help. &lt;br&gt; I was *still* getting a huge clump of collisions right in the middle of
  </summary>
  </entry>
  <entry>
  <author>
  <name>Tom Anderson</name>
  <email>t...@urchin.earth.li</email>
  </author>
  <updated>2009-11-24T23:58:33Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/898611ca1b6da06b?show_docid=898611ca1b6da06b</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/898611ca1b6da06b?show_docid=898611ca1b6da06b"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  Ahaaa, yes, of course. Those bits in full: &lt;br&gt; 0.0 000000000000000000000000000000 000000000000000000000000000000 0000 &lt;br&gt; 1.0 001111111111000000000000000000 000000000000000000000000000000 0000 &lt;br&gt; 2.0 010000000000000000000000000000 000000000000000000000000000000 0000 &lt;br&gt; 3.0 010000000000100000000000000000 000000000000000000000000000000 0000
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marcin Rzeźnicki</name>
  <email>marcin.rzezni...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:55:58Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/be0ce2b35ea9f42d?show_docid=be0ce2b35ea9f42d</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/be0ce2b35ea9f42d?show_docid=be0ce2b35ea9f42d"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  I suppose that it is mature since they&#39;ve made it available and I also &lt;br&gt; suppose that they found out that benefits of EA were not that great &lt;br&gt; for many classes of programs when compared to longer JITting - but &lt;br&gt; that&#39;s just my thinking. &lt;br&gt; Semantically yes but in the case of synchronized method there is no &lt;br&gt; accompanying bytecode instruction, namely monitorenter/monitorexit
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jon Harrop</name>
  <email>j...@ffconsultancy.com</email>
  </author>
  <updated>2009-11-25T00:57:55Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/279ef81f96200395?show_docid=279ef81f96200395</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/2eaab057b6f5b951/279ef81f96200395?show_docid=279ef81f96200395"/>
  <title type="text">Re: Hash table performance</title>
  <summary type="html" xml:space="preserve">
  No, it applies to all untagged value types including byte, int, long, float, &lt;br&gt; double and any user defined value types like complex numbers or vertex &lt;br&gt; data. &lt;br&gt; Interestingly, this reminds me of a lecture one of the JVM designers gave, &lt;br&gt; describing how they felt it was preferable to build a VM upon dynamic &lt;br&gt; language principles. The JVM&#39;s awful performance here is a direct
  </summary>
  </entry>
  <entry>
  <author>
  <name>Marcin Rzeźnicki</name>
  <email>marcin.rzezni...@gmail.com</email>
  </author>
  <updated>2009-11-24T23:18:07Z</updated>
  <id>http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/8e71efdb9bcd4ac6/c2ca288b13300d64?show_docid=c2ca288b13300d64</id>
  <link href="http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/8e71efdb9bcd4ac6/c2ca288b13300d64?show_docid=c2ca288b13300d64"/>
  <title type="text">Re: good porn site</title>
  <summary type="html" xml:space="preserve">
  I am not sure but in reality it might be hard to find a really good &lt;br&gt; one :-))) &lt;br&gt; Care to recommend? :-))))
  </summary>
  </entry>
</feed>
