Thread overview
Random sampling in D -- blog post
Jul 19, 2012
Bernard Helyer
July 18, 2012
Hello all,

My patches to RandomSample were accepted earlier this month (thanks to both Jonathan and Andrei:-) so I thought I'd write a short blog post (which turned into a very long blog post...) about random sampling, the algorithms concerned, and its implementation in D.
http://braingam.es/2012/07/sampling-d/

If anyone's interested I may write up something more extended on the algorithms (if I can find a decent maths-notation solution for WordPress...) and on the D framework for random sampling (it could be fun to put up some creative examples of how to use it with different kinds of input).

Best wishes,

    -- Joe
July 19, 2012
On Wednesday, 18 July 2012 at 14:55:18 UTC, Joseph Rushton Wakeling wrote:
> Hello all,
>
> My patches to RandomSample were accepted earlier this month (thanks to both Jonathan and Andrei:-) so I thought I'd write a short blog post (which turned into a very long blog post...) about random sampling, the algorithms concerned, and its implementation in D.
> http://braingam.es/2012/07/sampling-d/
>
> If anyone's interested I may write up something more extended on the algorithms (if I can find a decent maths-notation solution for WordPress...) and on the D framework for random sampling (it could be fun to put up some creative examples of how to use it with different kinds of input).
>
> Best wishes,
>
>     -- Joe


Algorithm D in D. :D
July 19, 2012
On 7/18/12 7:55 AM, Joseph Rushton Wakeling wrote:
> Hello all,
>
> My patches to RandomSample were accepted earlier this month (thanks to
> both Jonathan and Andrei:-) so I thought I'd write a short blog post
> (which turned into a very long blog post...) about random sampling, the
> algorithms concerned, and its implementation in D.
> http://braingam.es/2012/07/sampling-d/

You should know Chrome displays quite a weird stub while loading that page over a slow connection.

Anyway, vote up!

http://www.reddit.com/r/programming/comments/wu7tx/random_sampling_in_the_d_programming_language/

> If anyone's interested I may write up something more extended on the
> algorithms (if I can find a decent maths-notation solution for
> WordPress...) and on the D framework for random sampling (it could be
> fun to put up some creative examples of how to use it with different
> kinds of input).

That would be awesome, and we'd put it on the website.


Andrei

July 20, 2012
On 19/07/12 23:33, Andrei Alexandrescu wrote:
> You should know Chrome displays quite a weird stub while loading that page over
> a slow connection.

Ack.  That'll be the way that Chrome handles embedded website fonts -- doesn't display _anything_ until the fonts have loaded.  I really must try and find a way round that.

> That would be awesome, and we'd put it on the website.

I'll see what I can do. :-)