[Seaside] Https request to Random.org

Tim Mackinnon tim at testit.works
Wed Jun 26 22:38:32 UTC 2019


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 <david at totallyobjects.com> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20190626/69f0764f/attachment.html>


More information about the seaside mailing list