Bug#573989: unicode-screensaver: repeats same characters again and again

2010-06-20 Thread brian m. carlson
On Sun, Jun 20, 2010 at 11:25:51PM +0200, Joachim Breitner wrote: > Dear Brian, > > I notice that the discussion has somewhat stopped here, and I’d like to > pick it up again. > > Am Mittwoch, den 24.03.2010, 17:01 + schrieb brian m. carlson: > > On Wed, Mar 24, 2010 at 05:06:33PM +0100, Joac

Bug#573989: unicode-screensaver: repeats same characters again and again

2010-06-20 Thread Joachim Breitner
Dear Brian, I notice that the discussion has somewhat stopped here, and I’d like to pick it up again. Am Mittwoch, den 24.03.2010, 17:01 + schrieb brian m. carlson: > On Wed, Mar 24, 2010 at 05:06:33PM +0100, Joachim Breitner wrote: > > Given that I take the code directly from the xscreensave

Bug#573989: unicode-screensaver: repeats same characters again and again

2010-03-24 Thread brian m. carlson
On Wed, Mar 24, 2010 at 05:06:33PM +0100, Joachim Breitner wrote: > Given that I take the code directly from the xscreensaver distribution, > I’d be surprised if the bug would be in yarandom.c. If it is so, it > should probably be fixed there. Yes, I supposed that was the case. I'll check the sou

Bug#573989: unicode-screensaver: repeats same characters again and again

2010-03-24 Thread brian m. carlson
On Tue, Mar 16, 2010 at 10:54:32AM +0100, Joachim Breitner wrote: > it’s hard to judge if this is the case. The randomization code looks > good to me, but I might be wrong. It will have a slight preference for > characters in the smaller Font, and for characters appearing in both > fonts (FreeSans

Bug#573989: unicode-screensaver: repeats same characters again and again

2010-03-24 Thread Joachim Breitner
Hi, Am Mittwoch, den 24.03.2010, 16:03 + schrieb brian m. carlson: > On Tue, Mar 16, 2010 at 10:54:32AM +0100, Joachim Breitner wrote: > > Besides that, I’d be glad if someone else looks over the code, maybe I’m > > missing something. It can be found at > > http://git.nomeata.de/?p=unicode-scr

Bug#573989: unicode-screensaver: repeats same characters again

2010-03-22 Thread Joachim Breitner
Hi, Am Montag, den 22.03.2010, 21:06 +0100 schrieb Stephan Renatus: > On Sun, Mar 21, 2010 at 11:27:19PM +0100, Joachim Breitner wrote: > > > > What is the correct way to initialize the seed? > > > I was wrong about that, xscreensaver must somehow already take care of this. > (I tried adding "sr

Bug#573989: unicode-screensaver: repeats same characters again

2010-03-22 Thread Stephan Renatus
Hello, On Sun, Mar 21, 2010 at 11:27:19PM +0100, Joachim Breitner wrote: > > What is the correct way to initialize the seed? > I was wrong about that, xscreensaver must somehow already take care of this. (I tried adding "srandom(time(NULL))" to unicode_init() but there's an error indicating that

Bug#573989: unicode-screensaver: repeats same characters again

2010-03-21 Thread Joachim Breitner
Hi, Am Sonntag, den 21.03.2010, 20:56 +0100 schrieb Stephan Renatus: > I noticed the same behaviour of unicode-screensaver and tried to fix > it -- I think what might have been missing was the initializiation of > the PRNG with some seed. What is the correct way to initialize the seed? > The fol

Bug#573989: unicode-screensaver: repeats same characters again

2010-03-21 Thread Stephan Renatus
Hello Joachim, hello Brian, I noticed the same behaviour of unicode-screensaver and tried to fix it -- I think what might have been missing was the initializiation of the PRNG with some seed. The following patch works around this issue by using arc4random_uniform() instead of random() (accordi

Bug#573989: unicode-screensaver: repeats same characters again and again

2010-03-16 Thread Joachim Breitner
Hi Brian, Am Montag, den 15.03.2010, 14:06 + schrieb brian m. carlson: > I have been running unicode-screensaver for some time, and I have seen > some of the same characters (U+2128, for example) dozens of times. > There are other characters that I have never seen. > > Obviously, it is likely

Bug#573989: unicode-screensaver: repeats same characters again and again

2010-03-15 Thread brian m. carlson
Package: unicode-screensaver Version: 0.2-1 Severity: normal I have been running unicode-screensaver for some time, and I have seen some of the same characters (U+2128, for example) dozens of times. There are other characters that I have never seen. Obviously, it is likely that some characters wi