<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-11295132.post2543189541743588733..comments</id><updated>2012-02-13T14:08:33.861-08:00</updated><category term='category theory'/><category term='lawvere theories'/><category term='astronomy'/><category term='optimisation'/><category term='self-reference'/><category term='comonads'/><category term='haskell'/><category term='programming'/><category term='monad'/><category term='mathematics'/><category term='physics'/><category term='probability'/><category term='types'/><category term='quantum'/><title type='text'>Comments on A Neighborhood of Infinity: Lossless decompression and the generation of rando...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.sigfpe.com/feeds/2543189541743588733/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html'/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://homepage.mac.com/sigfpe/.Pictures/Photo%20Album%20Pictures/2002-12-07%2014.53.40%20-0800/ImageDSC01397_1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11295132.post-6456180939512457757</id><published>2012-02-13T13:55:23.762-08:00</published><updated>2012-02-13T13:55:23.762-08:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/6456180939512457757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/6456180939512457757'/><author><name>Thomas</name><uri>http://www.blogger.com/profile/03095996544306624851</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1984670586'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-3262930818749391049</id><published>2012-02-06T00:50:19.077-08:00</published><updated>2012-02-06T00:50:19.077-08:00</updated><title type='text'>I don&amp;#39;t think Huffman coding yields suitable t...</title><content type='html'>I don&amp;#39;t think Huffman coding yields suitable trees for this problem, since the trees for random variate generation have the additional requirement of being ordered. Optimal alphabetic binary trees or optimal BSTs require a different algorithm that is not a variation of Huffman coding:&lt;br /&gt;&lt;br /&gt;&amp;quot;This is also known as the Hu-Tucker problem, after the authors of the paper presenting the first linearithmic solution to this optimal binary alphabetic problem, which has some similarities to Huffman algorithm, but is not a variation of [Huffman coding]. These optimal alphabetic binary trees are often used as binary search trees.&amp;quot;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/3262930818749391049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/3262930818749391049'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1328518219077#c3262930818749391049' title=''/><author><name>Yang Zhang</name><uri>http://yz.mit.edu/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1491392424'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-4096091387356274967</id><published>2012-01-23T13:43:06.560-08:00</published><updated>2012-01-23T13:43:06.560-08:00</updated><title type='text'>As I read the problem statement I immediately want...</title><content type='html'>As I read the problem statement I immediately wanted to mention Optimal Binary Search Trees (http://en.wikipedia.org/wiki/Binary_search_tree#Optimal_binary_search_trees).&lt;br /&gt;&lt;br /&gt;As it turns out, the publication &amp;quot;Darts, Dice, and Coins&amp;quot; already does it. Argh!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/4096091387356274967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/4096091387356274967'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1327354986560#c4096091387356274967' title=''/><author><name>caustic</name><uri>http://www.blogger.com/profile/16656485247989243827</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2073471506'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-4974132331447776970</id><published>2012-01-20T11:37:37.624-08:00</published><updated>2012-01-20T11:37:37.624-08:00</updated><title type='text'>Hi I hate to jump to a different subject. But a wh...</title><content type='html'>Hi I hate to jump to a different subject. But a while back you had some wonderful notes on &lt;b&gt;Target Enumeration&lt;/b&gt; and a Haskell implementation.&lt;br /&gt;My question is how could you extend what you did such that our boundary points lie on real number coordinates...so to refer to the pixel examples our area of coverage would contain the counted &amp;#39;holes&amp;#39; plus the partially contained &amp;#39;holes&amp;#39; or say pixel areas? How could we get the exact coverage based on the way you implemented? I appreciate any information as I know this was a while back---but I JUST found the blog if you have any resources please feel free to contact me at:&lt;br /&gt;jcarrola@swri.org ---thanks for any time you can spare. Regards</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/4974132331447776970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/4974132331447776970'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1327088257624#c4974132331447776970' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-959285269'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-7706661519169011954</id><published>2012-01-16T12:25:17.618-08:00</published><updated>2012-01-16T12:25:17.618-08:00</updated><title type='text'>I came to this same realization when I started stu...</title><content type='html'>I came to this same realization when I started studying data compression (almost 30 years ago -- yikes!) seriously.  Build a decoder for the appropriate arithmetic code, and feed it random bits.  You get your output distributed according to the probability model used to build the arithmetic code.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/7706661519169011954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/7706661519169011954'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326745517618#c7706661519169011954' title=''/><author><name>Victor</name><uri>http://www.blogger.com/profile/12861873904800186860</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1211279615'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-8659935809713387239</id><published>2012-01-14T18:39:00.310-08:00</published><updated>2012-01-14T18:39:00.310-08:00</updated><title type='text'>Bear in mind that if this code is a bottleneck, br...</title><content type='html'>Bear in mind that if this code is a bottleneck, branch instructions whose conditions depend on random numbers are effectively unpredictable, and hence expensive.&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s a neat little trick you should know. If the number of symbols is a power of 2, there&amp;#39;s also this solution:&lt;br /&gt;&lt;br /&gt;double x = random_number();&lt;br /&gt;unsigned s = 0;&lt;br /&gt;for (i = 0; i &amp;lt; log2(numberOfSymbols); ++i)&lt;br /&gt;{&lt;br /&gt;    s = (s &amp;lt;&amp;lt; 1) | (a[s] &amp;lt; x);&lt;br /&gt;}&lt;br /&gt;return s;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/8659935809713387239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/8659935809713387239'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326595140310#c8659935809713387239' title=''/><author><name>Pseudonym</name><uri>http://www.blogger.com/profile/04272326070593532463</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1906147328'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-5850893835386080930</id><published>2012-01-09T01:30:27.549-08:00</published><updated>2012-01-09T01:30:27.549-08:00</updated><title type='text'>What if we are sampling/compression observations f...</title><content type='html'>What if we are sampling/compression observations from a latent variable model? The bits-back method makes a connection. See p353 of MacKay&amp;#39;s textbook for a sketch and references.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/5850893835386080930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/5850893835386080930'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326101427549#c5850893835386080930' title=''/><author><name>Iain Murray</name><uri>http://www.blogger.com/profile/02208307937369256100</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/-yPhqkGxzko4/TkqdQAbKRTI/AAAAAAAAAFo/BU2WbaYWPfc/s220/iain_murray_2010.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2134760062'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-7433302871038161431</id><published>2012-01-08T20:32:51.852-08:00</published><updated>2012-01-08T20:32:51.852-08:00</updated><title type='text'>Neat! Had this problem before and wasn&amp;#39;t sure ...</title><content type='html'>Neat! Had this problem before and wasn&amp;#39;t sure how to solve it. Thanks for the explanation.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/7433302871038161431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/7433302871038161431'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326083571852#c7433302871038161431' title=''/><author><name>bw</name><uri>http://www.blogger.com/profile/14392657676100237874</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1618226202'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-1419545010811605590</id><published>2012-01-08T20:32:05.956-08:00</published><updated>2012-01-08T20:32:05.956-08:00</updated><title type='text'>Neat! Had this problem before and wasn&amp;#39;t sure ...</title><content type='html'>Neat! Had this problem before and wasn&amp;#39;t sure how to solve it efficiently.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/1419545010811605590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/1419545010811605590'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326083525956#c1419545010811605590' title=''/><author><name>bw</name><uri>http://www.blogger.com/profile/14392657676100237874</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1618226202'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-2904013393392030279</id><published>2012-01-08T11:04:28.614-08:00</published><updated>2012-01-08T11:04:28.614-08:00</updated><title type='text'>Another elegant solution (Walker&amp;#39;s method) is ...</title><content type='html'>Another elegant solution (Walker&amp;#39;s method) is described by Mihai here-- http://infoweekly.blogspot.com/2011/09/follow-up-sampling-discrete.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/2904013393392030279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/2904013393392030279'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326049468614#c2904013393392030279' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-138432925'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-5745468657896345657</id><published>2012-01-08T08:14:50.162-08:00</published><updated>2012-01-08T08:14:50.162-08:00</updated><title type='text'>jkff,

You use the tree given by the Huffman algor...</title><content type='html'>jkff,&lt;br /&gt;&lt;br /&gt;You use the tree given by the Huffman algorithm but you don&amp;#39;t have a 50/50 decision at each branch. You derive the probability of going each way from the sum of the probabilities in each branch below.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/5745468657896345657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/5745468657896345657'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326039290162#c5745468657896345657' title=''/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://homepage.mac.com/sigfpe/.Pictures/Photo%20Album%20Pictures/2002-12-07%2014.53.40%20-0800/ImageDSC01397_1.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-961546855'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-870947397892346718</id><published>2012-01-07T22:41:18.669-08:00</published><updated>2012-01-07T22:41:18.669-08:00</updated><title type='text'>I see how this tells us about the optimal number o...</title><content type='html'>I see how this tells us about the optimal number of decisions you have to make while generating a random number, but we still cannot generate the numbers by just taking a random bit string and decompressing it with the Huffman tree over the desired distribution. E.g. consider a distribution {a:0.4, b:0.6} - it will have a Huffman tree with just 2 leaves, and decompression will give {a:0.5, b:0.5}. Am I missing something?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/870947397892346718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/870947397892346718'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1326004878669#c870947397892346718' title=''/><author><name>jkff</name><uri>http://www.blogger.com/profile/16923431648214439769</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://4.bp.blogspot.com/_zdzLDOzl46w/TQfGQljIUKI/AAAAAAAAANA/UDMmdmP6j7Y/S220/a_4a99a9a6.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-122478438'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-1312910182011294355</id><published>2012-01-07T13:51:25.109-08:00</published><updated>2012-01-07T13:51:25.109-08:00</updated><title type='text'>@sigfpe, I don&amp;#39;t believe so, it&amp;#39;s a rather...</title><content type='html'>@sigfpe, I don&amp;#39;t believe so, it&amp;#39;s a rather clever way of doing random sampling. That said, I haven&amp;#39;t looked at the literature beyond the article linked.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/1312910182011294355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/1312910182011294355'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325973085109#c1312910182011294355' title=''/><author><name>Justin</name><uri>http://www.blogger.com/profile/12806086460285980607</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1064081364'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-8669096855767612132</id><published>2012-01-07T13:49:24.879-08:00</published><updated>2012-01-07T13:49:24.879-08:00</updated><title type='text'>@Justin,

I&amp;#39;ve had links to that article on bo...</title><content type='html'>@Justin,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve had links to that article on both G+ and Twitter now! Looks like I missed out on a nice article a few weeks ago. But does the alias method imply anything interesting about compression algorithms?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/8669096855767612132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/8669096855767612132'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325972964879#c8669096855767612132' title=''/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://homepage.mac.com/sigfpe/.Pictures/Photo%20Album%20Pictures/2002-12-07%2014.53.40%20-0800/ImageDSC01397_1.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-961546855'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-8698239667203336533</id><published>2012-01-07T13:45:43.216-08:00</published><updated>2012-01-07T13:45:43.216-08:00</updated><title type='text'>There&amp;#39;es a faster algorithm for selecting elem...</title><content type='html'>There&amp;#39;es a faster algorithm for selecting elements at random from a finite distribution known as the Alias Method that doesn&amp;#39;t suffer from the O(log n) worse case. Keith Schwarz has a good description written up called &lt;a href="http://www.keithschwarz.com/darts-dice-coins/" rel="nofollow"&gt;Darts, Dice, and Coins: Sampling from a Discrete Distribution&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/8698239667203336533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/8698239667203336533'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325972743216#c8698239667203336533' title=''/><author><name>Justin</name><uri>http://www.blogger.com/profile/12806086460285980607</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1064081364'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-1660820375318525241</id><published>2012-01-07T12:34:20.913-08:00</published><updated>2012-01-07T12:34:20.913-08:00</updated><title type='text'>@lvps1000vm

I really need to read that book!

(PS...</title><content type='html'>@lvps1000vm&lt;br /&gt;&lt;br /&gt;I really need to read that book!&lt;br /&gt;&lt;br /&gt;(PS I was a student at the same time and place as MacKay. It was interesting suddenly seeing his name everywhere years later.)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/1660820375318525241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/1660820375318525241'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325968460913#c1660820375318525241' title=''/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://homepage.mac.com/sigfpe/.Pictures/Photo%20Album%20Pictures/2002-12-07%2014.53.40%20-0800/ImageDSC01397_1.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-961546855'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-4781722556413032634</id><published>2012-01-07T12:31:40.868-08:00</published><updated>2012-01-07T12:31:40.868-08:00</updated><title type='text'>This concept of a decoder as a random sample gener...</title><content type='html'>This concept of a decoder as a random sample generator is explained in MacKay&amp;#39;s book, my personal reference book in the subject.&lt;br /&gt;&lt;br /&gt;You can download it for free at&lt;br /&gt;http://www.inference.phy.cam.ac.uk/mackay/itila/book.html&lt;br /&gt;&lt;br /&gt;It appears at chapter 6.3, page 118 of the book, 130 of the PDF file.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/4781722556413032634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/4781722556413032634'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325968300868#c4781722556413032634' title=''/><author><name>lvps1000vm</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1669025185'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-3490542368649775437</id><published>2012-01-07T11:58:08.556-08:00</published><updated>2012-01-07T11:58:08.556-08:00</updated><title type='text'>Nice! This is similar to a Galois tech talk I gave...</title><content type='html'>Nice! This is similar to a Galois tech talk I gave in May:&lt;br /&gt;&lt;br /&gt;http://corp.galois.com/blog/2011/5/16/tech-talk-video-empirical-sampling-with-haskell.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/3490542368649775437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/3490542368649775437'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325966288556#c3490542368649775437' title=''/><author><name>Chad Scherrer</name><uri>http://www.blogger.com/profile/07015145495335911032</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1335675471'/></entry><entry><id>tag:blogger.com,1999:blog-11295132.post-6193772513454310345</id><published>2012-01-07T11:28:56.266-08:00</published><updated>2012-01-07T11:28:56.266-08:00</updated><title type='text'>That&amp;#39;s a really great insight! It goes to show...</title><content type='html'>That&amp;#39;s a really great insight! It goes to show the value in asking the right question :) At last I know when a raven is like a writing desk.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/6193772513454310345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11295132/2543189541743588733/comments/default/6193772513454310345'/><link rel='alternate' type='text/html' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html?showComment=1325964536266#c6193772513454310345' title=''/><author><name>Nick</name><uri>http://www.blogger.com/profile/07554585746004123227</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.sigfpe.com/2012/01/lossless-decompression-and-generation.html' ref='tag:blogger.com,1999:blog-11295132.post-2543189541743588733' source='http://www.blogger.com/feeds/11295132/posts/default/2543189541743588733' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1989013505'/></entry></feed>
