Discuss Scratch

rewamd
Scratcher
27 posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

May I be a helper?
MonkeyBean2
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

mybearworld wrote:

Joshisaurio wrote:

I know but anyway the processor is Python3
But for VSCode it is too… We're not talking about interpreters but about IDEs here, aren't we?
Whatever IDE you use, if it runs the python code, all the ones i know will internally run the python3 command. (Or ipython, ex. for jupyter notebooks)
MonkeyBean2
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

rewamd wrote:

May I be a helper?
What IDE's do you use?
NFlex23
Scratcher
1000+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.
MonkeyBean2
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.
Good point, I was just asking them what Joshisaurio was asking people…
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
MonkeyBean2
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/

That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.

Last edited by ScratchTheCoder12345 (July 1, 2022 13:22:10)

MonkeyBean2
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/

That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/

That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
Oh nice!
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.
Right it's just to add info for people who are looking at the top page and yeah all those people bc I've seen them help on the ScratchAttach with decent/very good ideas. Those who I don't know will prob take a test
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

s

papierblau wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
Okay… Can you let me know when you have found a solution?
Sure!
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

NFlex23 wrote:

Instead of asking people which IDE they use (which is kind of pointless), you should ask them how good they are at Python. Maybe give them a little test or something. Asking which IDE they use tells nothing about if they know enough Python or not; you could use a really advanced IDE and not know how to use it correctly.
Besides, I work with @Rewamd on the Orange OS servers so I'm really sure he's good at it, trust me
MonkeyBean2
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

rewamd wrote:

May I be a helper?

How good are you at python?

Here's a short little test: (don't worry, you don't have to get them all right - i'll explain what's wrong and why it's wrong)
def isprime(n):
   #write a function that returns wether n is prime or not.
#Sort this list, from least to greatest.
mylist = [66, 1, 6, 9, 17, 5, 71, 3]
#Download and save https://scratch.mit.edu/discuss/post/6427068/source/
url = "https://scratch.mit.edu/discuss/post/6427068/source/"
#Run a shell command
#Make a simple webserver
#Do something with PIL (or pillow)
#Make two random numpy arrays, and add them together
#Open an image with PIL (or pillow), and using numpy to add a small amount of randomness to each pixel.
#Print "done with test"
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/

That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
But how do you implement it on Python? I don't know any other coding languages
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Joshisaurio wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

papierblau wrote:

ScratchTheCoder12345 wrote:

MonkeyBean2 wrote:

papierblau wrote:

Hi Guys! I've got a question: Is it possible to bypass the lock of Scratch on Replit or are there other websites (or applications) that make Scratchconnect projects (or projects with other Scratch connections) possible again?
A proxy.
Yes, you'd need some sort of VPN on the Replit side I'd say. I'll take a look later at some libraries that might do the trick!
So there is nothing I can do now?
Unfortunately, I think so, the same thing happened to me, all my servers are broken rn…
You could try Cookie login, It's a bit of a pain to implement though.
Doubt that will work.
What will work? Cookie login works with changing cloud variables and using APIs like Scratch attach, but the only thing is Scratch bans API requests from Replit IP's so I can't get info using something like api.scratch.mit.edu/something here/

That results in an HTTP error even if you do try cookie login because in the end you can't just use cookies you always have an IP address.
Right! So, use a proxy! Eg.
https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu
(now obviously https://api.scratch.mit.edu can be whatever you want)
But how do you implement it on Python? I don't know any other coding languages


Something like this I guess.


import json, requests

url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text

data = json.loads(text)
print(data)
Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

~HUGE snip~
Something like this I guess.

import json, requests

url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text

data = json.loads(text)
print(data)
Oh ok also you can separate code without so many spaces like this:
import json, requests
url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text
data = json.loads(text)
print(data['count'])
ScratchTheCoder12345
Scratcher
500+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Joshisaurio wrote:

ScratchTheCoder12345 wrote:

Joshisaurio wrote:

~HUGE snip~
Something like this I guess.

import json, requests

url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text

data = json.loads(text)
print(data)
Oh ok also you can separate code without so many spaces like this:
import json, requests
url = requests.get("https://thingproxy.freeboard.io/fetch/https://api.scratch.mit.edu/users/griffpatch/messages/count")
text = url.text
data = json.loads(text)
print(data['count'])

Last edited by ScratchTheCoder12345 (July 1, 2022 22:49:53)

Joshisaurio
Scratcher
100+ posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

Umm you deleted it I think
gdpr0d1c374ad4b131d0c9c84821
Scratcher
89 posts

PyHelp - The official Scratch Python help forum | Ask, help, discuss, & more! | +800 posts! |

May I be a helper?

Powered by DjangoBB