Guest User

Untitled

a guest
Apr 21st, 2019
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.05 KB | None | 0 0
  1. {"props":{"store":{},"isServer":true,"initialState":{"replEnvironment":{"isForking":false,"activeWid":null},"repls":{"data":{}},"replsByUrl":{},"replsByUser":{},"workspace":{},"files":{},"notifications":{"data":[],"isFetching":false,"unreadCounts":{"classroom":0,"board":0,"total":0}},"plans":{"data":{}},"messages":[],"profiles":{"data":{}},"user":{"userInfo":{"fetchState":"idle"},"billingInfo":{"isFetching":false},"authModal":{"promptCount":0,"dismissed":false,"show":false}},"banners":{"message":""},"replHistoryByFile":{},"replHistoryByDay":{},"replHistory":{}},"initialProps":{"pageProps":{},"apolloState":{"Board:6":{"id":6,"name":"Ask","description":"Ask coding questions","url":"/talk/ask","cta":"What's your question? ","titleCta":null,"bodyCta":"If related to your code, please include a link to your code. Please try to be as specific as possible with the questions.","buttonCta":null,"replRequired":false,"canPost":false,"isLocked":false,"__typename":"Board","slug":"ask","color":"#4286f4"},"ROOT_QUERY":{"boardBySlug({\"slug\":\"ask\"})":{"type":"id","id":"Board:6","generated":false},"currentUser":null,"boards":[{"type":"id","id":"Board:14","generated":false},{"type":"id","id":"Board:6","generated":false},{"type":"id","id":"Board:16","generated":false},{"type":"id","id":"Board:17","generated":false},{"type":"id","id":"Board:3","generated":false}],"leaderboard({\"count\":5})":{"type":"id","id":"$ROOT_QUERY.leaderboard({\"count\":5})","generated":true},"postsByBoard({\"id\":6,\"searchQuery\":\"\",\"order\":\"new\"})":{"type":"id","id":"$ROOT_QUERY.postsByBoard({\"id\":6,\"searchQuery\":\"\",\"order\":\"new\"})","generated":true}},"Board:14":{"id":14,"name":"Announcements","url":"/talk/announcements","slug":"announcements","color":"#7998a6","__typename":"Board"},"Board:16":{"id":16,"name":"Challenge","url":"/talk/challenge","slug":"challenge","color":"#e34442","__typename":"Board"},"Board:17":{"id":17,"name":"Learn","url":"/talk/learn","slug":"learn","color":"#00d91e","__typename":"Board"},"Board:3":{"id":3,"name":"Share","url":"/talk/share","slug":"share","color":"#68afd4","__typename":"Board"},"User:152732":{"id":152732,"username":"CyanCoding","image":"https://storage.googleapis.com/replit/images/1504209885572_c93d43dc8a1b8208e9159633d5b9020f.png","url":"/@CyanCoding","karma":1354,"__typename":"User"},"User:601176":{"id":601176,"username":"PYer","image":"https://storage.googleapis.com/replit/images/1546039805412_dcdc34236aa820e3cb54e0c8c2073361.gi","url":"/@PYer","karma":1298,"__typename":"User"},"User:747811":{"id":747811,"username":"mat1","image":"https://storage.googleapis.com/replit/images/1555780454217_314394fb0955b35903c60558af7f8f48.gi","url":"/@mat1","karma":1274,"__typename":"User"},"User:755566":{"id":755566,"username":"JSer","image":"https://storage.googleapis.com/replit/images/1545996879539_86707c7468b69aff45a3bc7255a7e550.jpe","url":"/@JSer","karma":1049,"__typename":"User"},"User:314805":{"id":314805,"username":"pyelias","image":"https://storage.googleapis.com/replit/images/1540153217893_1ec1068dad567d9aa06652b892db82d3.pn","url":"/@pyelias","karma":627,"__typename":"User"},"$ROOT_QUERY.leaderboard({\"count\":5})":{"items":[{"type":"id","id":"User:152732","generated":false},{"type":"id","id":"User:601176","generated":false},{"type":"id","id":"User:747811","generated":false},{"type":"id","id":"User:755566","generated":false},{"type":"id","id":"User:314805","generated":false}],"__typename":"UserConnection"},"$ROOT_QUERY.postsByBoard({\"id\":6,\"searchQuery\":\"\",\"order\":\"new\"}).pageInfo":{"nextCursor":"13320","__typename":"PageInfo"},"$ROOT_QUERY.postsByBoard({\"id\":6,\"searchQuery\":\"\",\"order\":\"new\"})":{"pageInfo":{"type":"id","id":"$ROOT_QUERY.postsByBoard({\"id\":6,\"searchQuery\":\"\",\"order\":\"new\"}).pageInfo","generated":true},"items":[{"type":"id","id":"Post:7251","generated":false},{"type":"id","id":"Post:13490","generated":false},{"type":"id","id":"Post:13489","generated":false},{"type":"id","id":"Post:13488","generated":false},{"type":"id","id":"Post:13484","generated":false},{"type":"id","id":"Post:13483","generated":false},{"type":"id","id":"Post:13481","generated":false},{"type":"id","id":"Post:13480","generated":false},{"type":"id","id":"Post:13478","generated":false},{"type":"id","id":"Post:13475","generated":false},{"type":"id","id":"Post:13472","generated":false},{"type":"id","id":"Post:13467","generated":false},{"type":"id","id":"Post:13465","generated":false},{"type":"id","id":"Post:13464","generated":false},{"type":"id","id":"Post:13462","generated":false},{"type":"id","id":"Post:13459","generated":false},{"type":"id","id":"Post:13454","generated":false},{"type":"id","id":"Post:13427","generated":false},{"type":"id","id":"Post:13409","generated":false},{"type":"id","id":"Post:13408","generated":false},{"type":"id","id":"Post:13391","generated":false},{"type":"id","id":"Post:13389","generated":false},{"type":"id","id":"Post:13386","generated":false},{"type":"id","id":"Post:13379","generated":false},{"type":"id","id":"Post:13374","generated":false},{"type":"id","id":"Post:13373","generated":false},{"type":"id","id":"Post:13372","generated":false},{"type":"id","id":"Post:13355","generated":false},{"type":"id","id":"Post:13337","generated":false},{"type":"id","id":"Post:13320","generated":false}],"__typename":"PostConnection"},"Post:7251":{"id":7251,"title":"Guide to Asking Coding Questions","body":"# **Guide to Asking Coding Questions**\n\n\n\n## **Why?**\n\nGood questions help your question be solved faster, and people will want to answer your question\n\nBad questions waste time, you will often not get answers that you asked for, and people will often ignore your questions\n\n\n\n## **Quick Questions Guide**\n\n### Do This\n\n- Always ask your questions in English\n- Explain what you want the code to do\n- Explain what the code does\n- Include error messages\n- Share the repl with the line numbers\n- When you figure out the answer, update your post\n- Put the repl link, instead of pasting code\n\n### Don't Do This\n\n- Don't post homework questions\n- Don't use caps in the title\n- Don't use words like 'HELP' or 'PLEASE' in the title\n- Don't post questions that already have an answer (Search Box)\n- Don't post feedback or bugs on Talk, use [repl.it/feedback](https://repl.it/feedback) for feedback, or [repl.it/bugs](https://repl.it/bugs) for bugs\n\n\n\n## **Steps For Better Questions**\n\n1. Understand the code\n\n - Read your code and figure out what each line does\n - If a concept is unfamiliar, Google it\n - You can also use a debugger to help you\n\n2. Describe the problem\n\n - Explain what you want the code to do\n - Explain what the code does (error messages)\n\n3. Provide the code\n\n - Share a repl that has your code\n - Share the line number(s) of your code issue\n - Make sure that the code you shared has the issue\n\n4. Format code constantly\n\n - Make sure you code is easy to read\n\n5. Check for typos\n\n - Make sure the code does not have any typos that would cause the problem\n\n6. Explain what you did to troubleshoot the problem\n\n - Make a list of what you think the problem is and try to fix your problem by going through the list\n\n7. Make a guess on what you think the problem might be\n\n - Use the list from the previous step\n\n8. Proofread the question\n\n - Make sure you provided everything \n - Clear all confusions that you think there might be\n\n9. Update people on the question\n\n - If you figured out the answer, edit the post to tell people\n - When you get an answer, fully understand it\n - Be nice to people who answer your question\n - Remember that the people wanted to answer your question, but didn't have to\n\n10. Things to NOT do\n\n - Don't post homework questions\n - Only post questions in English\n - Do not use caps in the title\n - Do not use \"HELP\" or \"PLEASE\" in the title\n - Don't post questions that have already been answered (Use search box)\n - Don't post feedback or bugs on Talk, use [repl.it/feedback](https://repl.it/feedback) for feedback, or [repl.it/bugs](https://repl.it/bugs) for bugs\n\n\n## **Example:**\n\n### **Question**\n\nWe have some Python code with an error: [repl](https://repl.it/@Mosrod/Question-Tutorial)\n\n```python\nrannumexe = int(input())\nif rannumexe = 1:\n print('hi' + rannumexe)\n```\n\n### Step 1\n\nWe show what each line does using comments.\n\n```python\nrannumexe = int(input()) # Asks the user to input a rannumexe\nif rannumexe = 1: # If the rannumexe equals 1\n print('hi' + rannumexe) # Print hi and the rannumexe\n```\n\n### Step 2\n\nWe want the code to input a number, and if the number is one, print \"hi\" and the number.\n\nOur problem is that we have an invalid syntax error on line 2 in the main.py file.\n\n```\n File \"main.py\", line 2\n if rannumexe = 1:\n ^\nSyntaxError: invalid syntax\n```\n\n### Step 3\n\nOur repl with the issue is located [here](https://repl.it/@Mosrod/Question-Tutorial).\n\nWe have an issue on line 2\n\n### Step 4\n\nWe can change \"rannumexe\" to \"number\" to clear confusion\n\n```python\nnumber = int(input()) # Asks the user to input a number\nif number = 1: # If the number equals 1\n print('hi' + number) # Print hi and the number\n```\n\n### Step 5\n\nWe don't have any typos\n\n### Step 6\n\nOur problem could be that we improperly used the if statement\n\n### Step 7\n\nThe problem could be about using the if statement incorrectly\n\n### Step 8\n\nOur final question:\n\nTitle: \n\nInvalid syntax error about equal signs\n\nContent:\n\nI have an invalid syntax error on line 2 in the main.py file of this [repl](https://repl.it/@Mosrod/Question-Tutorial). The program should take a number as an input, check if the number is equal to one, and if so, print \"hi\" and the number. The error point to the equal signs and I think this issue is with the incorrect syntax of the if statement. Help is appreciated :).\n\n```python\nnumber = int(input()) # Asks the user to input a number\nif number = 1: # If the number equals 1\n print('hi' + number) # Print hi and the number\n```\n\n```\n File \"main.py\", line 2\n if rannumexe = 1:\n ^\nSyntaxError: invalid syntax\n```\n\n\n\nSteps based on Gordon Zhu's [post](https://medium.com/@gordon_zhu/how-to-be-great-at-asking-questions-e37be04d0603).\n\nIf you have any suggestions or feedback, post it in the comments below.\n\n","url":"/talk/ask/Guide-to-Asking-Coding-Questions/7251","commentCount":21,"isPinned":true,"isLocked":false,"isAnnouncement":false,"timeCreated":"2018-10-04T21:18:55.000Z","isAnswered":false,"isAnswerable":true,"voteCount":49,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:228926","generated":false}},"User:228926":{"id":228926,"url":"/@Mosrod","username":"Mosrod","karma":196,"__typename":"User"},"Post:13490":{"id":13490,"title":"Help in a project","body":"Hey everyone, i was asked to do a project where i'm supposed to work with a file through my program with C but we didn't cover files a lot so i was hoping if someone could help me, through discord or something where we can interact in real time (I could give more info about the project if you contact me), my discord is Bakrouzif(Sky)#4129 \n\nsincerely,","url":"/talk/ask/Help-in-a-project/13490","commentCount":5,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T23:10:26.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1248234","generated":false}},"User:1248234":{"id":1248234,"url":"/@BakrOuzif","username":"BakrOuzif","karma":0,"__typename":"User"},"Post:13489":{"id":13489,"title":"CSS not linking to html","body":"Hi,\n\nI am having problems where main in css will not show color even if it is any other attribute eg background color or font.\n\nAny ideas?\nThanks ","url":"/talk/ask/CSS-not-linking-to-html/13489","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T21:19:35.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1470701","generated":false}},"User:1470701":{"id":1470701,"url":"/@RossJames","username":"RossJames","karma":2,"__typename":"User"},"Post:13488":{"id":13488,"title":"Help me!","body":"Can anyone help me fix my code? https://repl.it/live/M35T2afH0B8uDg","url":"/talk/ask/Help-me/13488","commentCount":2,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T20:19:19.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1229524","generated":false}},"User:1229524":{"id":1229524,"url":"/@erskineemily","username":"erskineemily","karma":0,"__typename":"User"},"Post:13484":{"id":13484,"title":"promo","body":"Hi, \nI have a problem with my code because i need to send a file of html, css, js to the client. at the moment, i can only send one file, the html.\n\nthanks.","url":"/talk/ask/promo/13484","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T19:04:51.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1470701","generated":false}},"Post:13483":{"id":13483,"title":"Difficulty embedding a javascript/text item","body":"Hi all,\n\nI should start by saying I am barely newbie level when it comes to computer programming. I am trying to embed a crossword puzzle into my repl but it is not working. Below is the embed code, as taken directly from the outside website's instructions:\n\n\u003cscript type=\"text/javascript\" src=\"https://CrosswordHobbyist.com/embedjs?puzzle_id=621761\"\u003e\n \u003c/script\u003e\n\nDoes anyone know what the problem is? My repl is using html/css/js and has the following packages:\n\n{\n \"name\": \"runner\",\n \"version\": \"0.1.0\",\n \"private\": true,\n \"dependencies\": {\n \"react\": \"^16.8.2\",\n \"react-dom\": \"^16.8.2\",\n \"react-scripts\": \"2.1.5\",\n \"bootstrap\": \"4.3.1\",\n \"jquery\": \"3.3.1\",\n \"react-router\": \"5.0.0\",\n \"react-router-dom\": \"5.0.0\",\n \"localforage\": \"1.7.3\",\n \"popper.js\": \"1.14.7\"\n },\n \"scripts\": {\n \"start\": \"react-scripts start\",\n \"build\": \"react-scripts build\",\n \"test\": \"react-scripts test\",\n \"eject\": \"react-scripts eject\"\n },\n \"eslintConfig\": {\n \"extends\": \"react-app\"\n },\n \"browserslist\": [\n \"\u003e0.2%\",\n \"not dead\",\n \"not ie \u003c= 11\",\n \"not op_mini all\"\n ]\n}\n\nThanks in advance for any help.\nDaniel","url":"/talk/ask/Difficulty-embedding-a-javascripttext-item/13483","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T13:36:49.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1069844","generated":false}},"User:1069844":{"id":1069844,"url":"/@dmatishek","username":"dmatishek","karma":0,"__typename":"User"},"Post:13481":{"id":13481,"title":"__dirname repl.it not working","body":"Hi,\n\nI have a problem on line 6 of my code where __dirname is not defined. It is probably obvious but I have little js experience.\n\nthanks!","url":"/talk/ask/__dirname-replit-not-working/13481","commentCount":8,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T11:36:37.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1470701","generated":false}},"Post:13480":{"id":13480,"title":"Express not working","body":"Hi,\n\nThe express example in nodejs is not working and is having an error where it can't find express module. Any ideas? This one has had me stuck for a little while now\n\nThanks!","url":"/talk/ask/Express-not-working/13480","commentCount":3,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T11:09:16.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1470701","generated":false}},"Post:13478":{"id":13478,"title":"Code isn't running properly[URGENT]","body":"When I run my code, it seems to be glitching. It isn't the code, as it was working one minute, but now it isn't. I tried to go back to previous versions, but it doesn't work! Here's the link to it. please let me know if the code works, and if there are any fixes to this. https://repl.it/@Abdul_QadirBhat/Assignment-2-String-Manipulation-v4 I've got to hand this in in a few days and I need to complete it! \n\nEDIT: The code is meant to have a menu displayed like this: \n\n![image](https://storage.googleapis.com/replit/images/1555756328940_ff7c28f4fd25fe8f1643ed81b67bedaf.pn)\n\nBut it just seems to be glitching when I run it and it doesn't allow me to input anything. It may be some error on the backend or something, but I don't know...I'm pretty sure it isn't my code...","url":"/talk/ask/Code-isnt-running-properlyURGENT/13478","commentCount":5,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T10:28:04.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1717928","generated":false}},"User:1717928":{"id":1717928,"url":"/@Abdul_QadirBhat","username":"Abdul_QadirBhat","karma":0,"__typename":"User"},"Post:13475":{"id":13475,"title":"How to draw a mathematical graph in Python?","body":"Hi!\nI am a math teacher trying to draw a graph to a mathematical function in Python. I canÒ€ℒt possibly be the first person with this problem. Does anybody know a function for this? Please help me.","url":"/talk/ask/How-to-draw-a-mathematical-graph-in-Python/13475","commentCount":3,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-20T05:33:04.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1486679","generated":false}},"User:1486679":{"id":1486679,"url":"/@DanielGottfrids","username":"DanielGottfrids","karma":0,"__typename":"User"},"Post:13472":{"id":13472,"title":"Syntax error: Unexpected Number","body":"https://repl.it/@OtakuMom/IST113-19S-LI-Final\nOkay, so I'm working on my final for my Web Programming class, and this has me kind of stumped. The message I'm getting is \"Syntax Error: Unexpected number\" on line 14, and being new to Javascript I don't know what that means. If anyone can help it would be greatly appreciated.","url":"/talk/ask/Syntax-error-Unexpected-Number/13472","commentCount":6,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T22:34:46.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1540776","generated":false}},"User:1540776":{"id":1540776,"url":"/@OtakuMom","username":"OtakuMom","karma":1,"__typename":"User"},"Post:13467":{"id":13467,"title":"Login system","body":"I have created a login and register system in python 3, and I'm trying to do an if statement testing to see if the users login input matches the registered users in a separate file but it wont work!\nAny tips or help will be greatly appreciated!\nCode: https://repl.it/@OathOfCode/Login-System-Final","url":"/talk/ask/Login-system/13467","commentCount":5,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T19:09:21.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1735319","generated":false}},"User:1735319":{"id":1735319,"url":"/@OathOfCode","username":"OathOfCode","karma":0,"__typename":"User"},"Post:13465":{"id":13465,"title":"Login system","body":"I have created a login and register system in python 3, and I'm trying to do an if statement testing to see if the users login input matches the registered users in a separate file but it wont work!\nAny tips or help will be greatly appreciated!\nCode: https://repl.it/@OathOfCode/Login-system","url":"/talk/ask/Login-system/13465","commentCount":0,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T19:06:05.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1735319","generated":false}},"Post:13464":{"id":13464,"title":"Web Programming","body":"I am looking to create a web page for one of my teachers that includes him or other students being able to enter data into some sort of form and then having it be displayed, so which language would be a good one to do something like this in?","url":"/talk/ask/Web-Programming/13464","commentCount":14,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T16:46:14.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1272190","generated":false}},"User:1272190":{"id":1272190,"url":"/@tperr","username":"tperr","karma":0,"__typename":"User"},"Post:13462":{"id":13462,"title":"help nested list is not letting me do stuff","body":"https://repl.it/@ShamrockKing/CLICK\nIn my pokemon project, i made a nested dictionary for the pokemon type damage chart, on its own it made no trouble but on every line below that i get syntax errors for anything i put\nhttps://repl.it/@ShamrockKing/CLICK","url":"/talk/ask/help-nested-list-is-not-letting-me-do-stuff/13462","commentCount":3,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T15:39:47.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1369331","generated":false}},"User:1369331":{"id":1369331,"url":"/@ShamrockKing","username":"ShamrockKing","karma":0,"__typename":"User"},"Post:13459":{"id":13459,"title":"Adrien Lamo","body":"Legit Bank wire logs, PayPal, Wu trf, fullz, cvv, email leads, atm skimmer, rdp, smtp, visa debit card shipment...","url":"/talk/ask/Adrien-Lamo/13459","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T13:55:02.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1758070","generated":false}},"User:1758070":{"id":1758070,"url":"/@sosahack","username":"sosahack","karma":0,"__typename":"User"},"Post:13454":{"id":13454,"title":"Turning [Currently] Fixed Rectangles, and other shapes-PYGAME","body":"I have been programming in Pygame for a while now. Yet I don't know how to make objects spin.\nThis line of code spins an image:\n`pygame.transform.rotate(image, degrees)`\nThe problem is, it does not affect the rectangle behind it, and the image won't even spin in place. Can someone please help me?\n ","url":"/talk/ask/Turning-Currently-Fixed-Rectangles-and-other-shapes-PYGAME/13454","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T13:06:50.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:994086","generated":false}},"User:994086":{"id":994086,"url":"/@GrantKeo","username":"GrantKeo","karma":34,"__typename":"User"},"Post:13427":{"id":13427,"title":"MeteorJS on repl.it","body":"Is there a way to run a MeteorJS application or repl.it?","url":"/talk/ask/MeteorJS-on-replit/13427","commentCount":5,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-19T02:41:59.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:790448","generated":false}},"User:790448":{"id":790448,"url":"/@tarekskr","username":"tarekskr","karma":0,"__typename":"User"},"Post:13409":{"id":13409,"title":"Pip version problem !","body":"Hi,\nI had completed my first simple code for an assignment months ago, now that I have to write a report and etc about it, it needs to be ran few times. The issues is that, out of nowhere, from a working code, I get the following error all the time - \n\nYou are using pip version 9.0.1, however version 19.0.3 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n\nHere is a link to my code - https://repl.it/@AleksandrosPro1/DarkorchidShockingTransfer\n\nJust to make it clear, I am fresh into programming in general. ","url":"/talk/ask/Pip-version-problem/13409","commentCount":4,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T23:04:36.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1111931","generated":false}},"User:1111931":{"id":1111931,"url":"/@AleksandrosPro1","username":"AleksandrosPro1","karma":0,"__typename":"User"},"Post:13408":{"id":13408,"title":"Repl.it page 404's after it wouldn't load.","body":"https://repl.it/repls/FickleCanineApplets\nI was working on some code, when upon hitting run, it wouldn't run. Hitting stop did nothing. I read that Google cloud services went down last time this happened. Now the page just 404's. Is there any reason for this?","url":"/talk/ask/Replit-page-404s-after-it-wouldnt-load/13408","commentCount":4,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T22:57:44.000Z","isAnswered":true,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1800819","generated":false}},"User:1800819":{"id":1800819,"url":"/@EamonBrennan","username":"EamonBrennan","karma":0,"__typename":"User"},"Post:13391":{"id":13391,"title":"Assembly","body":"Will assembly be added to the list of languages? Particularly RISC and CISC syntax assembly. If not, will it be considered? Thanks.","url":"/talk/ask/Assembly/13391","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T18:11:42.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:577678","generated":false}},"User:577678":{"id":577678,"url":"/@NEILSENBENJAMIN","username":"NEILSENBENJAMIN","karma":23,"__typename":"User"},"Post:13389":{"id":13389,"title":"Just uploaded my game for Game Jam!","body":"Hello Repl.It!\nToday is the last day for entries for game jam, and my game is finally ready for judgement! :)\n\nI just wanted to see when we might expect to hear back about the winner? This was an awesome idea, and it created a unqiue opportunity for me to create something and learn a TON about programming. \n\nThank you again!\n\n","url":"/talk/ask/Just-uploaded-my-game-for-Game-Jam/13389","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T17:22:48.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1692991","generated":false}},"User:1692991":{"id":1692991,"url":"/@jkeane889","username":"jkeane889","karma":0,"__typename":"User"},"Post:13386":{"id":13386,"title":"Text File to Array (JS)","body":"Hi, in my current project I have uploaded a text file to my project and I need to figure out how, in my main javascript file, how to turn it into an array. The closest I have gotten is shown below, which prints the file to the console, but I can't figure out how to put it into an array from here.\n```js\nfetch(fileposition)\n .then(r =\u003e r.text())\n .then(t =\u003e console.log(t))\n```","url":"/talk/ask/Text-File-to-Array-JS/13386","commentCount":12,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T15:50:20.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1217723","generated":false}},"User:1217723":{"id":1217723,"url":"/@iPenguin","username":"iPenguin","karma":2,"__typename":"User"},"Post:13379":{"id":13379,"title":"JS Assignment 13 Intro to Classes in Javascript","body":"Hey could anyone who has done the lambda precourse work help me, I do not understand why my answer is wrong. here is the assignment link: https://repl.it/student/submissions/6438375\n\nfunction ClassOne(name, pw, mail){\n // Exercise One: In this exercise you will be creating your own class!\n // You are currently in the class, you are given three strings, name, pw, and mail.\n // You need to create three properties on this class.\n // Those properties are: 'username', 'password', and 'email'\n // Set the value of username to name,\n // Set the value of password to pw,\n // Set the value of email to mail\n\n\nthis was my answer\u003e\u003e\u003e \n function ClassOne(username, password, email) {\n this.username = name; \n this.password = pw; \n this.email = mail; \n }","url":"/talk/ask/JS-Assignment-13-Intro-to-Classes-in-Javascript/13379","commentCount":32,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T14:26:40.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1726578","generated":false}},"User:1726578":{"id":1726578,"url":"/@nda1","username":"nda1","karma":0,"__typename":"User"},"Post:13374":{"id":13374,"title":"I need help!","body":"class Application(Frame):\n def_init_(self, master):\n super(Application, self)._init_(master)\n self.grid()\n self.create_widgets()\n def create_widgets(self):\n self.buttn1 = Button(self, text = \"I do nothing!\")\n self.buttn1.grid()\n self.buttn2 = Button(self)\n self.buttn2.grid()\n self.buttn2.configure(text = \"Me too!\")\n self.buttn3 = Button(self)\n self.buttn3.grid()\n self.buttn3[\"text\"] = \"Same here!\"\n root = Tk()\n root.title(\"Broken Brokens 2\")\n root.geometry(\"200x85\")\n app = Application(root)\n root.mainloop()","url":"/talk/ask/I-need-help/13374","commentCount":5,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T12:55:19.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1770743","generated":false}},"User:1770743":{"id":1770743,"url":"/@CollinKunsman","username":"CollinKunsman","karma":3,"__typename":"User"},"Post:13373":{"id":13373,"title":"What's wrong with it?? Plz help...","body":"It won't run. Can you PLEASE help me out??\n========================================\nclass Application(Frame):\n def_init_(self, master):\n super(Application, self)._init_(master)\n self.grid()\n self.create_widgets()\n def create_widgets(self):\n self.buttn1 = Button(self, text = \"I do nothing!\")\n self.buttn1.grid()\n self.buttn2 = Button(self)\n self.buttn2.grid()\n self.buttn2.configure(text = \"Me too!\")\n self.buttn3 = Button(self)\n self.buttn3.grid()\n self.buttn3[\"text\"] = \"Same here!\"\n root = Tk()\n root.title(\"Broken Brokens 2\")\n root.geometry(\"200x85\")\n app = Application(root)\n root.mainloop()","url":"/talk/ask/Whats-wrong-with-it-Plz-help/13373","commentCount":3,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T12:54:58.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1770743","generated":false}},"Post:13372":{"id":13372,"title":"What's wrong with it??? Plz help...","body":"I made this program for School, but I don't know what's wrong with it. It won't run! Can you guys PLEASE tell me why it's not working??\n=======================================================\nclass Application(Frame):\n def_init_(self, master):\n super(Application, self)._init_(master)\n self.grid()\n self.create_widgets()\n def create_widgets(self):\n self.buttn1 = Button(self, text = \"I do nothing!\")\n self.buttn1.grid()\n self.buttn2 = Button(self)\n self.buttn2.grid()\n self.buttn2.configure(text = \"Me too!\")\n self.buttn3 = Button(self)\n self.buttn3.grid()\n self.buttn3[\"text\"] = \"Same here!\"\n root = Tk()\n root.title(\"Broken Brokens 2\")\n root.geometry(\"200x85\")\n app = Application(root)\n root.mainloop()","url":"/talk/ask/Whats-wrong-with-it-Plz-help/13372","commentCount":3,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T12:53:14.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1770743","generated":false}},"Post:13355":{"id":13355,"title":"Help me fix my BlackJack pls!","body":"Ok so I made a blackjack game but whenever I try and play and I try and raise or hold after I have already raised once it doesn't work! Try it for yourself so you can see what I mean. If anyone knows how to fix this, your help would be much appreciated!\n-THANKS!!!\nPS: my code sucks cuz i just started!\n","url":"/talk/ask/Help-me-fix-my-BlackJack-pls/13355","commentCount":1,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T06:38:30.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1652669","generated":false}},"User:1652669":{"id":1652669,"url":"/@Dormey","username":"Dormey","karma":0,"__typename":"User"},"Post:13337":{"id":13337,"title":"Array Sorting ","body":"Any ideas or suggestion why sorting does not work entirely for this program. It sort the index but skip around. Any advice and help would be much appreciated. Thanks ","url":"/talk/ask/Array-Sorting/13337","commentCount":4,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T04:15:17.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:1057222","generated":false}},"User:1057222":{"id":1057222,"url":"/@SylvianBryan","username":"SylvianBryan","karma":1,"__typename":"User"},"Post:13320":{"id":13320,"title":"Getting it working","body":"Could you please look at my code. I got it from Codecademy it is working without errors. \nNow, I want to actually use it, now that everything is defined. Any suggestions? \nThanks! ","url":"/talk/ask/Getting-it-working/13320","commentCount":2,"isPinned":false,"isLocked":false,"isAnnouncement":false,"timeCreated":"2019-04-18T01:43:14.000Z","isAnswered":false,"isAnswerable":true,"voteCount":1,"canVote":false,"hasVoted":false,"__typename":"Post","user":{"type":"id","id":"User:286971","generated":false}},"User:286971":{"id":286971,"url":"/@LisaBender","username":"LisaBender","karma":1,"__typename":"User"}},"introspectionQueryResultData":{"__schema":{"types":[{"kind":"UNION","name":"DashboardItem","possibleTypes":[{"name":"Repl"},{"name":"ReplFolder"}]}]}}}},"page":"/board","query":{"order":"new","slug":"ask","path":"/talk/ask?order=new"},"buildId":"n6UA7i2wKkCJOhzYpC__L","dynamicIds":[2718]}
Add Comment
Please, Sign In to add comment