Discuss Scratch

sdg1
Scratcher
100+ posts

Report cloud data glitches here

As you may seen in today's announcement, we deployed a new version of the Cloud Data server. Most of this is code reorganization, and some performance improvements, so there may be a few glitches in this new version. Please report in this thread if you face any glitches. Remember to include information about your operating system, browser, and a link to your project.

Also, I know that some people have reported slowdown of Cloud variable updates recently. Please report those here as well, especially if you used to get faster speeds, but now Cloud variable updates lag significantly.

[Updated 08/30/2013: Based on your reports, I fixed a bunch of problems. Thanks, and keep more of these reports coming in (still working on the glitches that have been already reported, and are still not fixed). For a list of what changed, check out this forum post: http://scratch.mit.edu/discuss/topic/14722/ ]

Note from Paddle2see - In February of 2018, an update was done to Cloud variables that limits the length of them to 256 characters, as well as a few other restrictions. Please see this post for more information. This should not be reported as a bug. Thanks!

Last edited by Paddle2See (Oct. 20, 2023 15:10:02)


sdg1
MIT Scratch Team
Wes64
Scratcher
500+ posts

Report cloud data glitches here

Failord wrote:

Sweet! First post!
congratulations, you have my respect for your speedy and entirely useful response.

the cloud data appears to be working and saving things properly. i can't tell if it is faster, but I do think it connects to the server more quickly. i'd be glad to test, so if anybody wants to just start this project and it will record your username. this was previously unstable and often reset data, so we will see how it works now.

Using Firefox 46.0.1, Flash plugin version 21.0.0.242, and Windows 7 Professional.
A computer does what you tell it to do, not what you want it to do. - Murphy's Law
ocool72
Scratcher
43 posts

Report cloud data glitches here

cool oh yeah!(forth!)

Last edited by ocool72 (Aug. 8, 2013 21:43:31)

FlippyCatFan
Scratcher
100+ posts

Report cloud data glitches here

what did you add to the cloud variables? I cant read ur mind.

Generation 3: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.

when green flag clicked
say [FlippyCatFan here!]
sdg1
Scratcher
100+ posts

Report cloud data glitches here

FlippyCatFan wrote:

what did you add to the cloud variables? I cant read ur mind.

No feature additions - it's just code cleanup and performance tweaks.

sdg1
MIT Scratch Team
dvd4
Scratcher
100+ posts

Report cloud data glitches here

Wes64 wrote:

Failord wrote:

Sweet! First post!
congratulations, you have my respect for your speedy and entirely useful response.

the cloud data appears to be working and saving things properly. i can't tell if it is faster, but I do think it connects to the server more quickly. i'd be glad to test, so if anybody wants to just start this project and it will record your username. this was previously unstable and often reset data, so we will see how it works now.
Seems to be all right.

totally agreed with your views one comment #1


YOU WILL REMEMBER MY NAME
jvvg
Scratcher
1000+ posts

Report cloud data glitches here

As I said in this topic,

I wrote:

If you look at my Browser Survey project, when somebody votes, it adds 1 to the cloud variable containing the number of votes for that browser. It also adds their username to an encoded variable containing who voted (it's all numbers). However, when looking at the cloud data log, only the browser variable changes. The voted variable isn't changing. I then tried voting for Safari, Firefox and IE (although I cringed at the last one), and they also appeared not to save. Chrome is the only variable that is saving properly.

I am using Chrome v28.0.1500.95 with Flash v11.8 r800 on Windows NT 6.1 build 7601 (Windows 7 64-bit).

Last edited by jvvg (Aug. 12, 2013 16:40:26)



Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
jvvg
Scratcher
1000+ posts

Report cloud data glitches here

Also, in the project mentioned in the above post, I had 5 cloud variables, so I tried re-creating the 4 that weren't saving, but it said I reached the limit, even though there were only 4 (there would have been 5 if I could create the variable).

I am still using Chrome v28.0.1500.95 with Flash v11.8 r800 on Windows NT 6.1 build 7601 (Windows 7 64-bit).


Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

Is there a URL where I can read the Cloud Variables in JSON?
I recall this was there in the beta version (which is no guarentee its there now

Okay Editing this post as I found the answer (at least partial): http://scratch.mit.edu/cloudmonitor/11836408/
where 11836408 is the project id.

Of course thats the full page, slightly easier to parse (and with timestamp) is: http://scratch.mit.edu/cloudmonitor/log/11836408/

Still a URL to get the JSON would be nice

Cheers,
Stephen

Last edited by mrsteve (Aug. 14, 2013 02:48:05)


“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

When you create cloud data the “info box” drops down, but there is no “visible” way to clear it. Perhaps an X to indicate close me.

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

Okay here is a “test” program for you. I created a dice roll simulator to count how many times each number 2-12 comes up when rolling two die.

I set the cloud variable each time (thinking I could have a group of kids run this from the same or different projects and aggregate the data, once I got the json URL

But I would also want kids to setup a loop to run thousands/millions of times (and of course write their own dice roll programs rather than use mine).

The log loads incrementally, which makes sense and seems to capture all the data, but I really need to test that more.
Would like to run to millions of rolls, but worried that could impact performance (which others might report) so I leave that to you.

Cheers,
Stephen

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

Okay one last thing
Would be cool if the data could be loaded into a Google Spreadsheet auto-magically, although with the millions rolls, that could be an issue.

And the solution to large # of log entries would be to have the kids store the counts for each roll (and the total number of rolls in the run) in cloud variables at the end of their 1,000/1,000,000 roll runs.

Cheers,
Stephen

Last edited by mrsteve (Aug. 14, 2013 03:34:05)


“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

One last last thing, I did a remix of my project to try a test in turbo speed (to see if all the data was logged) and when I did the cloud data log seemed to be duplicated as well. Is there anyway to clear that on remix? Perhaps it is because I remixed my own project?

Cheers,
Stephe

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

One more. Check http://scratch.mit.edu/projects/11837027
I basically increment a variable in a repeat 10 loop each time the Cat is Clicked.
I ran once and the log showed 10 entries PASS
I switched to Turbo Mode (from see inside) clicked 3 times and log still showed 10 entries FAIL
I switched to project page (still Turbo mode) clicked once and log still showed 10 entries FAIL
I switched out of Turbo mode and clicked once and log still showed 10 entries FAIL
I refreshed my page and variable went from 70 to 10 FAIL
Clicked on the Cat, variable went to 20 and log still at 10 FAIL

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

Also can't see the “Cloud Data Log” link unless I share a project.

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

Go to http://scratch.mit.edu/projects/11837245/
Simple project increment cloud variable by 1 on click. I clicked twice really fast and the counter only incremented by 1 (from 4 to 5) but the cloud data log shows two updated (both with the values in the log show 5). How do you guarentee serialization of messages?

Also create a simple project (http://scratch.mit.edu/projects/11837232/) with a slide showing for the variable and changing the slide did not create a log entry. Then added a click to increment and that did update the variable watcher, but still no entries in the log.

Hope this helps,
Stephen

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
sdg1
Scratcher
100+ posts

Report cloud data glitches here

mrsteve wrote:

Is there a URL where I can read the Cloud Variables in JSON?
I recall this was there in the beta version (which is no guarentee its there now

Yes - http://scratch.mit.edu/varserver/<project_id> (don't rely on it to exist forever though, and the format may change as well).

Thanks for all the feedback and reports, going through them…

sdg1
MIT Scratch Team
mrsteve
Scratcher
100+ posts

Report cloud data glitches here

Sayamindu,

Thanks and thanks for all all your efforts (including those on OLPC and Read).

Cheers,
Stephen

“If you give a child an answer, you solve a problem for a day,
If you teach a child to find the answers, you prepare her for life.”
- Mr. Steve's Science
PhirripSyrrip
Scratcher
500+ posts

Report cloud data glitches here

Cloud data gets broken for me when projects are copied.

Recently I copied a few projects and shared them, unsharing the originals in order to change the thumbnails of the projects. The copied versions kept the same numbers as the original project. But when you changed the value of the variables, they would change, but not in the cloud- they acted as normal variables instead of cloud variables. In the cloud data log, it just said that there was no cloud data or something like that.

To solve this, I deleted all the variables and recreated them again. This worked. I'm using Chrome on Windows 8.

Last edited by PhirripSyrrip (Aug. 16, 2013 13:51:31)


; ; ; ; ; ; ; ;You thought I'd get away from you, didn't you?!
mitchboy
Scratcher
1000+ posts

Report cloud data glitches here

PhirripSyrrip wrote:

Cloud data gets broken for me when projects are copied.

Recently I copied a few projects and shared them, unsharing the originals in order to change the thumbnails of the projects. The copied versions kept the same numbers as the original project. But when you changed the value of the variables, they would change, but not in the cloud- they acted as normal variables instead of cloud variables. In the cloud data log, it just said that there was no cloud data or something like that.

To solve this, I deleted all the variables and recreated them again. This worked. I'm using Chrome on Windows 8.
Yep, this is a known issue. DadOfMrLog discovered this a while back and it hasn't been fixed yet.

Capsicum annuum.

Powered by DjangoBB