Joshua Parsons

@Zeune (34) • Seattle Central College
Hobbyist programmer (Java / Python / Html / CSS)
REPL.IT USER INFO RETRIEVER
posted to Share by CodingDoge

Fun project, who knew Jesus Christ's favorite language was Python 2.7 and the CookieMonster's favorite is C

REPL.IT USER INFO RETRIEVER
posted to Share by CodingDoge

@CodingDoge Nah, just "JesusChrist" and "God", but "Jesus", no. God is also a fan of Python. The "Pope" he is into Javascript

Does the turtle module not work anymore?
posted to Ask by ghostlys

Please be aware when using Turtle not all functions maybe available.

So, repl.it uses an open source technology called Skulpt to run Python code in a browser.

http://skulpt.org/

It seems repl.it communicates with Skupt through an API. I found the Turtle API documentation here:

http://www.pythononline.ch/pyonline/progs/doc/skulptturtle.pdf

If you look through the API documentation you will see that the turtle.shape method is included, but some of the other sizing methods like turtle.resizemode & turtle.shapesize are not included in the documentation. This is why we could change the shape and it wouldn't give us an error but it would for the other methods.

So, this seems to be a lack of functionality in the API. Skulpt being open source, I guess we could add it if we had the ambition!

reference: https://repl.it/talk/ask/Turtle-python-resizing/7312

My first stop motion
posted to Share by BenHarris4

No idea what I just watched

Really messy C++ Code
posted to Ask by HahaYes

Once you have learned how to write hairball code, learn how to clean up your code with refactoring.

https://thoughtbot.com/upcase/refactoring

PongGame
posted to Ask by Pelikan760

So, repl.it uses an open source technology called Skulpt to run Python code in a browser.

http://skulpt.org/

It seems repl.it communicates with Skupt through an API. I found the Turtle API documentation here:

http://www.pythononline.ch/pyonline/progs/doc/skulptturtle.pdf

If you look through the API documentation you will see that the turtle.shape method is included, but some of the other sizing methods like turtle.resizemode & turtle.shapesize are not included in the documentation. This is why we could change the shape and it wouldn't give us an error but it would for the other methods.

So, this seems to be a lack of functionality in the API. Skulpt being open source, I guess we could add it if we had the ambition!

reference: https://repl.it/talk/ask/Turtle-python-resizing/7312


I went in and started playing around and noticed that it appeared to be setup right and looking at the docs decided to check some more on it. This is most likely why it works in VS but not here. Sorry for the inconvenience this causes you with your work. I commented out the window title line and then proceeded to get no attribute named 'shapesize' on line 18

How do I create a GUI in Java using this website?
posted to Ask by MaximEnis

If you would like to come back as of yesterday repl.it introduced Java Swing capabilities. When you go to select your language choose "Java Swing," instead of "Java."

Java isn't working, why?
posted to Ask by Stanlyhalo

For Swing they implemented Java Swing as a language; it is separate from standard Java. Here you can program in a windowed environment.

I need help with getting buttons to going to a page
posted to Ask by _10cps_

@_10cps_ That will work (tested in my project below). Link your project for additional help.

worked for me in my project: https://repl.it/@Zeune/ZsBlog

For more information on how Buttons in html work reference

w3schools: https://www.w3schools.com/tags/tag_button.asp

WHY IS THIS NOT WORKING??? C++
posted to Ask by ItsEmpCs

https://repl.it/@Zeune/testing-project here is the project fixed

One thing I did change was the method type from int to void because void is used when we are not returning a value.

void literally means nothing. It is usually used as a function or method return type, when the function isn't supposed to return anything. In the second method you typed out, with the void keyword, it is setting a value, and nothing needs to be returned.

How do I create a GUI in Java using this website?
posted to Ask by MaximEnis

@PhilAnderson They have been added. You can choose to program in the Java Swing language when you go to create a new project.

REPL.IT USER INFO RETRIEVER
posted to Share by CodingDoge

@johnstev111 It's been three days. Who is going to write this story? The suspense is killing me.

My first stop motion
posted to Share by BenHarris4

@Kognise Nothing wrong was said. No negative criticism, except now against you for wasting my time. He took his time on the project, but still "No idea what I just watched."

How can i make my repl online
posted to Ask by EthanLauritzen

@EthanLauritzen We are not going to make the project for you, but we can guide you to your answer. However, we need to know what you are having problems with. Is it 0Auth2? Connecting the server? Pinging it? getting a server started?

Wassup repl.it?
posted to Ask

Challenges in coding, understanding comprehensive lists and when I should use pymath for use of arrays over lists, which feel like the same thing. Also, coding at home. I am motivated to code at work, but not at home in leisure unless I start on my day off in the morning.

How can i make my repl online
posted to Ask by EthanLauritzen

What is the issue you are experiencing? I haven't looked at the code, but I tested running the application and it returns

echo hello
hello

Was this not the output you were expecting? If not what was?

2K Cycle + End of School Special!!! 🎉🎉
posted to Share by Bookie0

@Bookie0 Stop being a noob (pleb) and do your own work. People are not going to just spoon feed you. Read my last post from "if you want to know check out..."

2K Cycle + End of School Special!!! 🎉🎉
posted to Share by Bookie0

@Bookie0 Why comment me ??? when you were not the tagged individual? If you want to know check out the repls of the individual I tagged.

2K Cycle + End of School Special!!! 🎉🎉
posted to Share by Bookie0

@epicman702 How is the electricity simulator coming along, err or the crafting system? "Don't delete or I will spam you with turtles," who is that comment for lol?

Are there any hints or assistance provided?
posted to Ask by GianMacGreggor

That could've been written

print("Hello, World!")

and got the same output. Check out some online tutorials on Youtube for getting started or get a free book, but if you don't know what modules, functions, classes and OOP are, perhaps take a step back from the course you are following now and go your own pace.

Why can't I run tkinter?
posted to Ask by JordanDixon1

tkinter works on repl.it, but quite often do the guis fail and continue to load. I would check back tomorrow or try to only do backend work on here where you do not need to worry about your display.

Can't open student Repls
posted to Ask by Jollson

I can only imagine you are working with a gui. I can't speak for others, but personally I get this often when working with tkinter or java swing. Not sure how to fix. If you find a solution please share. Others have said changing your browser, coming back later date, clearing cookies. Those never worked for me, but good luck all.

At the moment my Gui projects are continuously spinning, but CLI projects are running

⌨️ HyperTyper: Ultimate Typing Test ⌨️
posted to Share by PYer

Inspirational, I have been wanting to do my own typing game also. Yours is fun, but it would be nice if the text you have already typed faded so it wasn't as pronounce. Also, if you could actually use backspace instead of just pushing the proper key, but all in all Good game.

How to begin programming in Java Swing?
posted to Ask by Zeune

@TheDrone7 I appreciate this. Thank you for a timely reply as well :D.

Java isn't working, why?
posted to Ask by Stanlyhalo

@Stanlyhalo So a few issues with the code, and once you get it setup you will run into an X11 Display error. Currently in your project you do not have a class called Game.java and you are trying to reference your constructor called Game.java inside of Main. That needs to be changed. Then, you will come into other errors for using the this reference object when there is nothing to.

Also, to answer your question about it is already a window. It's a window that is above the console it's built into the environment so you won't be able to click and drag it around. Resizing seems to be hit and miss as well. Honestly, I set my project up but, without being able to say obj.add(comp) I am struggling figuring out the project setup for Java Swing on repl.it

My_Record_Albums
posted to Ask by kittles04

If it was a project made by your friend who shared multiplayer with you, it is possible to fork the project so you can have your own copy.

Cpp Webscrape
posted to Ask by ItsEmpCs

At this time I do not have an answer for you on c++ webscrapig but I did make the Jsoup webscrapping library available to use on Repl.it in Java. Very easy to use. Perhaps you could expand on what you need scraped and I will attempt to get you going in the right direction.

Fork this project: https://repl.it/@Zeune/Java-PLAYGROUND

WHY IS THIS NOT WORKING??? C++
posted to Ask by ItsEmpCs

Code that is written into the browser should be using the code tag `

If you are having trouble figuring out the tag you can click the Markdown hyperlink to open a new tab with the different commands or you can link your project. As well as to please post the error.

Does anyone use c++?
posted to Ask by ItsEmpCs

@ItsEmpCs Do you have a particular question you are needing assistance with? Most languages it's just minor syntax differences so most people should be able to get you going in the right direction. Please feel free to post on here and we will do your best to assist you.