Discuss Scratch

coder_isaiyah11
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

bump
-InsanityPlays-
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

griffpatch wrote:

-snippy snippy-
Aww…Getting Over It was extremely hard and now I will never get a good score
Wettining
Scratcher
500+ posts

Cloud Variables Limited to 128 Characters Now?

19031801200308 wrote:

I'm slightly concerned about the fact that we can only use digits in cloud variables You can encode a character to a pair of digits though. That means no. of characters is limited to 64!! JavaScript's largest finite number is 1.7976931348623157e+309 which is way larger than 9.999999e+127 (Scratch's largest cloud variable number)
set (☁ score) to [1.7976931348623157e+309]
will already mess it up.
These are floating point numbers which lose value as the number increase
Sheep_maker
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

19031801200308 wrote:

I'm slightly concerned about the fact that we can only use digits in cloud variables You can encode a character to a pair of digits though. That means no. of characters is limited to 64!! JavaScript's largest finite number is 1.7976931348623157e+309 which is way larger than 9.999999e+127 (Scratch's largest cloud variable number)
set (☁ score) to [1.7976931348623157e+309]
will already mess it up.
Cloud variables also can store strings as long as it only contains digits. Use the join block instead of the math blocks so that the values are stored as strings and don't lose precision
dominic305
Scratcher
500+ posts

Cloud Variables Limited to 128 Characters Now?

What I'd be interested in is possibly using cookies for this data, that would eliminate the need for big cloud variables but allow users to save their data, scores, etc. It would work similar to cloud variables, but have no restriction and have a cookie icon instead of a cloud.

Although perhaps there should be a limit of maybe 15 of these?

sorry if this is too old to post in again

Last edited by dominic305 (Sept. 14, 2020 11:24:34)

griefercube
Scratcher
500+ posts

Cloud Variables Limited to 128 Characters Now?

Maybe we can overcome this with more than 1 cloud car to save data…
DREWNOLT
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

What does the cloud data characters take up? I know the cloud vars themselves take up servers, but why is there a limit on the character length?
god286
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

DREWNOLT wrote:

What does the cloud data characters take up? I know the cloud vars themselves take up servers, but why is there a limit on the character length?
Storage on the servers?
ideapad-320
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

Yeah, They should add a Save Data vartype
wgyt
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

dominic305 wrote:

What I'd be interested in is possibly using cookies for this data, that would eliminate the need for big cloud variables but allow users to save their data, scores, etc. It would work similar to cloud variables, but have no restriction and have a cookie icon instead of a cloud.

Although perhaps there should be a limit of maybe 15 of these?

sorry if this is too old to post in again
This is a good idea, this could be used for local save data.
XayCraft360
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

DREWNOLT wrote:

What does the cloud data characters take up? I know the cloud vars themselves take up servers, but why is there a limit on the character length?

Because of the uses of Cloud Variables, they limited it to limit their uses
DREWNOLT
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

god286 wrote:

DREWNOLT wrote:

What does the cloud data characters take up? I know the cloud vars themselves take up servers, but why is there a limit on the character length?
Storage on the servers?
But, that's so small! That's just 128 bytes! You could easily put hundreds of that into a single server!
imfh
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

DREWNOLT wrote:

god286 wrote:

DREWNOLT wrote:

What does the cloud data characters take up? I know the cloud vars themselves take up servers, but why is there a limit on the character length?
Storage on the servers?
But, that's so small! That's just 128 bytes! You could easily put hundreds of that into a single server!
It's more about the network usage. When you have projects with multiple people changing variables constantly, the 128 bytes adds up.
AHypnoman
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

Just wanted to mention that the cloud limit is 256 unless they changed it in the last 8 months.
awesome-llama
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

AHypnoman wrote:

Just wanted to mention that the cloud limit is 256 unless they changed it in the last 8 months.
It used to be 128, this topic was made back then, but the cloud limit was raised soon after to 256, and has remained that way since. I guess the title is now a bit misleading for those who haven't kept up or only just discovered the limit.

Last edited by awesome-llama (Oct. 19, 2020 03:47:11)

DREWNOLT
Scratcher
100+ posts

Cloud Variables Limited to 128 Characters Now?

thisandagain wrote:

Hi folks,
As many of you have noticed we have added some limits to the Cloud Variables system that previously did not exist. We have added a 128 character limit and we are now restricting cloud variables to be numbers only (no hexadecimal, E-notation, etc). These new limits were put into place to prevent abuse of the cloud variables system that was causing it to be unreasonable to maintain, scale, moderate, and support financially. In addition, these new limits help reduce the possibility of projects like “Chat Rooms” (which are incredibly difficult for the ST to keep safe). We recognize that these new limits may impact some projects, but hope the community will be empathetic in understanding that as a non-profit Scratch needs to make sure that the services we provide are sustainable. Thanks for understanding and sorry it took a few days for us to clarify the situation.
Are decimals allowed in cloud? Like, could I put 0.32432 in a cloud variable?
imfh
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

DREWNOLT wrote:

thisandagain wrote:

Hi folks,
As many of you have noticed we have added some limits to the Cloud Variables system that previously did not exist. We have added a 128 character limit and we are now restricting cloud variables to be numbers only (no hexadecimal, E-notation, etc). These new limits were put into place to prevent abuse of the cloud variables system that was causing it to be unreasonable to maintain, scale, moderate, and support financially. In addition, these new limits help reduce the possibility of projects like “Chat Rooms” (which are incredibly difficult for the ST to keep safe). We recognize that these new limits may impact some projects, but hope the community will be empathetic in understanding that as a non-profit Scratch needs to make sure that the services we provide are sustainable. Thanks for understanding and sorry it took a few days for us to clarify the situation.
Are decimals allowed in cloud? Like, could I put 0.32432 in a cloud variable?
Yes, they are allowed.
RealBaruto
Scratcher
56 posts

Cloud Variables Limited to 128 Characters Now?

Yo how to make a save block?
I still don’t know how
freakingcup14159
Scratcher
3 posts

Cloud Variables Limited to 128 Characters Now?

griffpatch wrote:

Oh bother . So no more high score tables, achievements, and definitely no scratcharia as I can't store the level . What a shame.

Since cloud cars could no longer be used for high score tables or storing achievements, do you think there will be score in new scratch 3 blocks for implementing this kind of functionality in a more scalable controllable way? For example, achievements want to be recorded per user, but not accessable by other scratchers, so this is like a local cloud variable or list for that scratcher? Couldn't be used for chat rooms, and could be set to only save very periodically as it only needs to persist between sessions not in real time.

The high score table is more tricky, but perhaps an extension for high score tables that is limited in functionality just to record the username and a number for score. It might even present itself in a common way across all scratch projects?

Just a few ideas too try to handle the huge disappointment in the loss of a highly appreciated feature of scratch.

Not sure what could be done about the saving levels like scratcharia… In that game the level was saved once a minute to a cloud var to persist it between games… Guess there's nothing that could be done there
maybe you can do the hexadecimal letters as encoded with two 0 at the end. Was this helpful if so then you can use my method without credit
freakingcup14159 ::events hat 
always here to help you ::pen
my favourite irr number is phi ::sensing cap //why phi?
it is most ::motion hat
irrational ::#000000 cap //what is everything here
everything here is my ::looks hat
signature ::control cap
awesome-llama
Scratcher
1000+ posts

Cloud Variables Limited to 128 Characters Now?

freakingcup14159 wrote:

maybe you can do the hexadecimal letters as encoded with two 0 at the end. Was this helpful if so then you can use my method without credit
Cloud variables only store numbers, not hexadecimal anymore.

Powered by DjangoBB