Re: Https request to Random.org

Tim Mackinnon <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi David - if you need to generate some random numbers from your seaside app, I’m sure there must be a Random class in VA that you can see on startup and then just generate random number from it?

In Pharo its: Random new next: 20

If you are convinced you want to use that service, again I’m sure there must be an https library in VA? In Pharo I would use:

(ZnEasy get: 'https://www.random.org/integers/?num=55&min=1&max=55&col=55&base=10&format=plain&rnd=new') contents

I think there might be a port of Zinc to VA - but possibly there is something built in already.

Tim


> On 26 Jun 2019, at 20:56, David Pennington <[email protected]> wrote:
> 
> https://www.random.org/integers/?num=55&min=1&max=55&col=55&base=10&format=plain&rnd=new <https://www.random.org/integers/?num=55&min=1&max=55&col=55&base=10&format=plain&rnd=new>

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.