Hi Everyone,
First off, I'm John and I just joined. I don't why it took so long and was only reminded about this when I heard about the 13,000 milestone being reached and I realized that I could post my question here and give Wolfram support a break. Anyway, I apologize if this question has been asked but here goes.
I recently struggled with something fairly simple and it comes down to the behavior being different on the desktop than in the cloud. In particular if you do RandomInteger[10] in the desktop, you potentially get a different pseudo random number each time you execute the cell.
Therefore I naively assumed that CloudDeploy[RandomInteger[10]] would behave the same way, but it doesn't, you just get a number and it doesn't change when you refresh the page. Eventually, I figured out that I needed to use Delayed as in CloudDeploy[Delayed[RandomInteger[10]]] in order to recover the same behavior as on the desktop.
My first question is to ask if this is a bug or by design. In either case I would appreciate an explanation for these different behaviors. Finally, in general I would like to know if there are any resources that address where wolfram cloud behavior differs from the desktop as it is usually the same but not always. Thanks.
John