Re: Random sampling in D -- blog post

2012-07-20 Thread Joseph Rushton Wakeling

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. :-)



Re: Random sampling in D -- blog post

2012-07-19 Thread 1100110

Zim desktop 'wiki.'

Sounds rather stupid but it is very nice for informal style.

It uses Markdown by default and comes with inline support for 'naked'  
LaTeX.


It outputs to HTML, and doesn't look half bad for a five-minute learning  
curve.


On Wed, 18 Jul 2012 09:55:06 -0500, 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



--
Using Opera's revolutionary email client: http://www.opera.com/mail/


Re: Random sampling in D -- blog post

2012-07-19 Thread Andrei Alexandrescu

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



Re: Random sampling in D -- blog post

2012-07-19 Thread Bernard Helyer
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


Random sampling in D -- blog post

2012-07-18 Thread Joseph Rushton Wakeling

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