Welcome to Repl Talk

Posts
Pinned
DEVELOPER SPOTLIGHT #05: Forget school, just teach yourself.
Aloha, friends! Today, I’m writing from the beautiful island of Oahu and I am very pleased to welcome you all to another edition of our **Developer Spotlight** series! ![tumblr_inline_mlud44tb6c1roozkr](https://storage.googleapis.com/replit/images/1560189460829_1a36e0a95df6ff771065becc95a04552.gi) *image compliments of Tumblr* We sat down with one of my favorite community members, @superwhiskers. Some of you might already know @superwhiskers as the golang teacher of our [Discord](https://repl.it/discord) server’s Language Learning Club—but she *originally* got on my radar because of her [Undertale-themed tet chat](https://repl.it/@superwhiskers/undertale-textchat-thing). @katyadee: Hey there! Happy to have you here. I know you pretty well, but let’s start off with an introduction for the folks at home.
 @superwhiskers: Hello! I’m just a 16 year old programmer who lives in the U.S. There's not much else to it. @katyadee: I’ve wondered this for a long time… What’s the story behind your username? 
 @superwhiskers: It's just a tweaked version of an older username I had. I've used it for so long and it kinda just stuck.
 @katyadee: 😭 and here I thought it had some cool meaning behind it! Are you in school? 
 @superwhiskers: Yes. I take slightly more advanced-ish classes like (e.g. calculus), but I find it boring so anything that I really want to study I do on my own time. For example, I've been looking into studying something called category theory outside of school because it's more college level stuff. ![cat](https://storage.googleapis.com/replit/images/1560189510639_d7c03eef95699f27c68d2ba8cb71e4ee.jpe) @katyadee: What do you find boring about school? Also… what’s [category theory](https://en.wikipedia.org/wiki/Category_theory)? @superwhiskers: IDK, I just prefer learning things on my own, so I don't really bother paying too much attention and instead listen enough to learn the basis of what I need to learn and figure out the rest of my own. And I can't really explain category theory entirely, as I don't understand it entirely myself, and it also encompasses a bit that would be too much to explain here. I'd recommend doing a bit of your own research to explain it rather than having me do so. @katyadee: LOL, ok. Let’s talk programming. How’d you get into coding? How long have you been coding? @superwhiskers: I’ve been programming seriously for over a year now, but I’ve been doing programming longer than that (around 5 or so years) but nothing notable really came from that. @katyadee: What do you mean that you've been 'programming seriously' for over a year? What changed? @superwhiskers: I begun to understand the basics much better, and got really, really good at programming in golang. It was a substantial improvement from where I was a year ago. @katyadee: You are pretty good at golang. You actually lead the golang LLC group. You just self-taught? @superwhiskers: I just learned. I tend to read documentation and other things when I'm bored at school, so i guess I just passively absorb the information and put it to use. Go is also just a really simple language. There isn't much to learn about it so when you learn the base concepts you almost know the entire language. ![golang](https://storage.googleapis.com/replit/images/1560189523818_6e9ebed105948245147f0e5372551e4f.gi) @katyadee: What can I say, I’m still impressed. How’d you find Repl.it? @superwhiskers: I guess I was just looking for something to write code online with and I found it ¯\_(ツ)_/¯ @katyadee: Aw. No story, you really don't remember? @superwhiskers: There isn't really much that was really interesting, I just found it and decided to use it :) @katyadee: Ok. Ok. I guess I always expect people to have these cool stories. But usually, we were just the best IDE for their needs, haha. What’s your favorite language to code in and why? @superwhiskers: I don't really have "one favorite language" but I kinda like C for the amount of control it gives you while still being practical-ish to use for large things (unlike Assembly). @katyadee: C is pretty hard, isn't it? I don't know much about it, actually. What kind of things have you created in C? @superwhiskers: It isn't very hard (at least for me). It's just really verbose. I haven't done much, but I did meme and port crunch over to it and write a question function in it as part of a project to port one function to every language possible. (Seen [here](https://github.com/superwhiskers/question)) @katyadee: Based on what I know about you and your projects, you strike me as super capable and proactive. What’s one time you felt really challenged by something while programming and how’d you overcome it? @superwhiskers: I feel really challenged at finding the motivation to actually work on things. There aren't really many things I’ve found challenging while programming, but I absolutely suck at getting motivated to do something in the first place. I usually overcome it by just finding something else enjoyable to do and then come back instead of constantly working on project after project without doing something else to keep myself from getting fatigued. @katyadee: What do you think could help motivate you? @superwhiskers: Other people wanting to use what I make does a good job. @katyadee: I like that. I think I’m the same way with things I create. What are your plans for the future? Do you want to go into tech? If so, what kind? @superwhiskers: I plan to get some programming-related job, but I don't really know where :/ @katyadee: Hard to tell with that kind of thing, I think. You never know where you’ll end up! What would your dream job be, though? @superwhiskers: I don't really have one, I just want to be able to enjoy what I do @katyadee: You’re a lot more practical than I was at your age. I think my answer was something like, “Be a cartoonist,” and I had a really narrow idea of what that meant and where I wanted to work. Fulfilment as a goal… It’s like you’re 30, not 16! What’s your favorite thing that you’ve built, on or off Repl.it? @superwhiskers: Well, I have this kinda nice buffer library I've been working on recently that used a bunch of optimization techniques called crunch. It’s probably my best done library, but i think it can be better. [Here] (http://github.com/superwhiskers/crunch) it is. @katyadee: Can you explain what a buffer library is, for people who might not know? @superwhiskers: It's basically a region of data stored in memory. crunch actually uses an array under the hood, (an array can be thought of as a buffer, as it's just data) and edits it when you perform actions on it. @katyadee: What’s your favorite thing you’ve built on Repl.it? @superwhiskers: I tend to use Repl.it for smaller snippets of code when I'm away from my development setup, but I do have that [sanschat](https://repl.it/@superwhiskers/undertale-textchat-thing) thing that people seemed to enjoy. @katyadee: I really liked that one, too. What’s the story behind it? @superwhiskers: it was just a simple chat application I wrote when I was bored in school. There isn't much story behind it besides "it's a chat where all of the text boxes look like Sans Undertale.” ![sans undertale](https://storage.googleapis.com/replit/images/1560189569172_acabb24229dcaf9488f9eed8a51c46a8.jpe) @katyadee: What’s one piece of advice you’d give someone new to code? @superwhiskers: Learning at your own pace gives better results than having others dictate how you learn. Or at least that's how I've found it to work for me. @katyadee: You’re like a walking advertisement for why kids should drop out of school and become autodidacts. I hope you know that! Do you have any tech heroes? Who are they? Why? @superwhiskers: Not really. I see the point in having someone you look up to for inspiration, but I just don't really find anyone inspiring to me. Idolizing someone only sets you up for disappointment when you realize that nobody is perfect. @katyadee: That's a really interesting answer to this question... I kind of love it. What inspires you, if not a person in particular? @superwhiskers: I'm inspired by looking at things other people make and seeing how I can improve upon them.
8
posted to Announcements by katyadee (613) 8 days ago
Pinned
Rules for Posting - Read me!
Some rules and guidelines to keep in mind as you share your great work on our boards: 1 - Be kind and courteous to others 2 - Make sure that any feedback you provide is constructive. 3 - Outside links are allowed, but you must provide the source. Ideally, things that you post will have been created on Repl.it. 4 - Avoid posting overly promotional material - the focus is, and always will be, a programming, learning, and collaborative community. :) 5 - Don't spam! Keep things SFW (Safe For Work). We may revoke your access to these boards if you are found to be in violation of any of these rules. Feel free to ask clarifying questions. Last updated 7/10/18 12:09 PST
63
posted to Share by timmy_i_chen (919) 12 months ago
Pinned
✨✨Introduce Yourself! 👋 ✨✨
Hi everyone! Use this space to share anything you want to share with our community - your name, where you're from, what you program in, what brought you here... whatever you're comfortable with! Can't wait to get to know y'all. 💖 Katya
135
posted to Announcements by katyadee (613) 1 month ago
Pinned
Announcing contest SPACE 🏆
It's time for another contest! We're not gonna make this one super huge, but promise that it is going to be real good fun to build entries for this one! So what do you have build? **Web Repls**! But, not just plain old web repls - this contest needs you to make webapps in a certain format! Let's start by taking a look at an example: [https://dadjokes--jajoosam.repl.co](https://dadjokes--jajoosam.repl.co/) ![](https://i.imgur.com/mqqkBvs.gif) Every time you hit space, the app loads a new dad joke, and a new image 👴 🖼️ That's why the contest is named `<SPACE>` - you gotta make a repl which when the user hits space! This could be updating an image, text (even both!) - or anything that feels like the main content of the repl. We also recommend that you update the app automatically every so often (you'll see why soon!) You can use any APIs you want, try [Web Scraping](https://repl.it/talk/learn/Get-started-with-Web-Scraping/8930), or just make a list of your own! ## Get started with examples You can check out the source for any of these and fork them to get started 👇 - [Dad Jokes - Node.js + Express](https://repl.it/@jajoosam/dadjokes) - [One more Shibe - HTML](https://repl.it/@jajoosam/shibes) - [Inspiring Kotes - Python + Flask](https://repl.it/@jajoosam/Inspiring-Kotes) ## Okay, but what do we get? The winning entry gets a $50 Amazon giftcard + 3 free months of Hacker Plan 💥 Along with that, we're also gonna put up a big screen at Repl.it HQ - and put up some of the coolest entries there! We recommend you to update the app every 5s so that our screen keeps showing new things ✨ As we're working on making repl.it - we'll also have fun when we see the creations y'all have made! Get going - you have a week from now - until *June 12th*! **Update - the deadline is now extended to June 20th, 00:00 PST** 😄
25
posted to Challenge by jajoosam (525) 14 days ago
1
Which JavaScript editor and code-completion utlitily is provided by repl.it?
I am impressed with the JavaScript code editor provided in each JS repl. Which one is it?
1
posted to Ask by jgcoding (0) 2 hours ago
1
Problem with pygame
Hi! I've got this error when i run an working pygame-script: 'bash -c polygott-x11-vnc q && DISPLAY=:0 run-project nohup: redirecting stderr to stdout' The code is perfectly working on local python-installation...need help! THX! CODE ' import pygame pygame.init() screenx = 400 screeny = 300 window = pygame.display.set_mode((screenx,screeny)) counter = 0 run = True class Viereck: x = 0 y = 0 breite = 0 hoehe = 0 farbe = (0,0,0) speed = 10 def __init__(self, x, y, breite, hoehe, farbe): self.x = x self.y = y self.breite = breite self.hoehe = hoehe self.farbe = farbe def zeichneMich(self, fenster): pygame.draw.rect(fenster, self.farbe, pygame.Rect(self.x,self.y,self.breite,self.hoehe)) def bewege(self, x, y): self.x += x self.y += y viereck1 = Viereck(250,10,40,40,(255,255,255)) viereck2 = Viereck(10,150,20,20,(255,0,255)) def zeichne(fenster): fenster.fill((0,0,0)) viereck1.zeichneMich(fenster) viereck2.zeichneMich(fenster) pygame.display.update() while run: pygame.time.delay(28) zeichne(window) counter +=1 # VIERECKE BEWEGEN #viereck1.bewege(counter*1, 0) #viereck2.bewege(counter*2, 0) #if counter == 100: # run = False for event in pygame.event.get(): if event.type == pygame.QUIT: run = False keys = pygame.key.get_pressed() if keys[pygame.K_LEFT]: viereck1.bewege(viereck1.speed*-1, 0) pygame.quit() '
1
posted to Ask by holgertrampe (0) 2 hours ago
HTML, CSS, JS
HTML, CSS, JS
1
class
class attribute deisn jsjasdn jsdkajsdsajdknkjsad jsad
0
posted to Share by Sadhna (0) 3 hours ago
Python
Python
1
dice game help
please help me add these specification to my code thanks: The points rolled on each player’s dice are added to their score. • If the total is an even number, an additional 10 points are added to their score. • If the total is an odd number, 5 points are subtracted from their score. • If they roll a double, they get to roll one extra die and get the number of points rolled added to their score. • The score of a player cannot go below 0 at any point. • The person with the highest score at the end of the 5 rounds wins. • If both players have the same score at the end of the 5 rounds, they each roll 1 die and whoever gets the highest score wins (this repeats until someone wins).
0
posted to Share by Saoxddd (0) 4 hours ago
Python
Python
1
Adventure Game
This is an adventure of mystery. You do not know much and you have to scramble to find different objects. This is my first game so pls don't hate me if its bad and also let me know what I could improve.
0
posted to Share by CallumLilley (0) 4 hours ago
3
Daily Question #1
I have started a daily question thread, mainly because why not? Some of these questions will be about coding, some will be about any other topic. The first daily question, today will be: Which games engine would you think of programming with and why? Mine is Ren'Py because it is versatile and everything you need is there to create a really cool Visual novel. It was also made to use two of my favourite games, Doki Doki Literature Club and Danganronpa
2
posted to Ask by ReshiramWolfu (20) 4 hours ago
Express
Express
5
GoodAnime
# GoodAnime Hi! This is my submission for the <SPACE> contest. (Barely managed to get it done). ## About Firstly, [this is a link to the website](https://www.goodanime.tk). Nextly, the purpose of this site is to help my fellow weebs or just anime-lovers in general find new anime that they might enjoy watching. ## How it works? I used the [kitsu API](https://kitsu.io) to fetch a random anime's details and then display it on the screen for you! ## How to use? Just visit the website by [clicking here](https://www.goodanime.tk) and then click on the link that says `Click here to get started`, it will lead you to a page that will show you some anime to watch! As usual, you can press the `Spacebar` key on your keyboard to see the next anime. The amount of time this waits before automatically changing the content is 30 seconds instead of 5 seconds as per the rules since it takes time to read the details. --- > Finally, please provide me with "useful feedback" to help me improve this website. Thank You!
2
posted to Challenge by TheDrone7 (477) 6 hours ago
Python
Python
1
EPIC GAMER
ITS FOR EPIC GAMERS ONLY IF YOUR NOT EPIC THEN NO ENTRY
0
posted to Share by azmirbeattie (0) 6 hours ago
Python (with Turtle)
Python (with Turtle)
1
FUN WITH TURTLE
Please run the REPL to know more . refer to the code section to unlock the Mystery and draw your imagination . Inside lies the code for the image shown below . I was getting bored and thought of doing some turtle work .so I built this one . Code for fun, code for love , code for food , code to live . learn and yearn for code .CODELIFE ![turtlesnip](https://storage.googleapis.com/replit/images/1560846010704_4aabff5309ad2df93c48c4bfa13145c7.pn)
0
posted to Share by godebian (0) 7 hours ago
Python
Python
1
Saving files
How do I save a file in repl.it? I can't find it anywhere in the interface.
2
posted to Ask by aligoucem (0) 7 hours ago
1
Change Variables Integrers.
So, i am trying to change a variable from 0 to 10 (+10) but it gives me error. How can i print integers?? ![image](https://storage.googleapis.com/replit/images/1560842666952_7c9b5a196abbfd47b6963bb758b6211d.pn)
2
posted to Ask by IzanLarumbe (23) 8 hours ago
1
HTML Comment Doubt 2
Er, so it is working on a repl. But in my exams, I will be having to do HTML Codes in Notepad, because of our REALLY bad internet connection. So I usually practice it in Notepad, and just to get the hang of it, I also practice on Repl.it. But when I try this commenting in Notepad it doesn't seem to work, and in the browser, it keeps on getting displayed here: In the tab address. Any clues on what I'm doing wrong? And my first HTML Comment Doubt is here https://repl.it/talk/ask/HTML-Comment-doubt/15807/41320?from=notifications
0
posted to Ask by Lanna (32) 10 hours ago
1
knapsack problem
¿how do you solve a knapsack problem that has 3 variables?
0
posted to Ask by Prankishtik2 (0) 11 hours ago
Lua
Lua
1
How to set decimals on the moon?
I am doing a circle area code and i need to delimit the number of decimal places, but i do not know how it works on the moon
0
posted to Ask by TryAgain (0) 12 hours ago
Nodejs
Nodejs
1
Node co
Dùng Co Module để async code gọn gàng hơn
0
posted to Share by LongDang (0) 12 hours ago
HTML, CSS, JS
HTML, CSS, JS
1
ball run
like rolling sky in app store but for computer play it
0
posted to Share by Bryannguyen (2) 13 hours ago
HTML, CSS, JS
HTML, CSS, JS
2
Tetris clone
press space to play and enjoy. Please vote if you liked it.
2
posted to Challenge by SolarBoom (1) 13 hours ago
Python
Python
1
ext aktiviti 3.3
Penambahbaikan aktiviti 3.3 ms 94(buku teks ASK tingkatan 2)
0
posted to Share by mazyusoff (0) 15 hours ago
C
C
1
simplex
programação linear - disciplina extra do curso de engenharia de computação 2019
0
posted to Share by MrBrook1 (0) 18 hours ago
HTML, CSS, JS
HTML, CSS, JS
2
✨SpaceReddit✨
# [✨SpaceReddit✨](https://www.spacereddit.tk) ## What it is Hi! This is basically a quick random searcher for reddit posts every 5 seconds, so you can get memes, to entitled parents stories! (for large more than 5 second reads, turn auto off by clicking it) ## Why? Its a really easy to use reddit random browser, and since it can access reddit, you have an almost infinite amount of images/posts/quotes this can display! From memes, to cool cute cats, to inspirational quotes! ## Reccomended Subreddits Really good with meme subreddits (u know it) and also works with text ones! - dankmemes - me_irl - entitledparents - prorevenge - programmerhumor ## Updates - Added Sound for each meme - Added light mode - Added Neon and Blue themes - Cache implemented for super fast loading speeds - Added a "Sort By" - Added Reddit not Found Screen Thanks for following and look forward for more! ## Themes ### Dark (normal) ![](https://i.ibb.co/0Qs15rD/Screen-Shot-2019-06-14-at-1-05-18-AM.png) ### Light ![](https://i.ibb.co/V2kVjfh/Screen-Shot-2019-06-14-at-1-05-24-AM.png) ### Blue ![](https://i.ibb.co/0mqC1jD/Screen-Shot-2019-06-14-at-1-05-41-AM.png) ### Neon ![](https://i.ibb.co/zxYL7sW/Screen-Shot-2019-06-14-at-1-05-47-AM.png) ## About Me Im a kid in California that is 8th going to 9th and I was bored so I did this! I searched up cloud hosting for my python programs when I was in 5th grade and after that I have been using repl.it! It has actually been really cool to see all the new features and looking at it grow! I like to debate, eat, read, and code. (im not THAT shallow but thats about it) Thx for reading and have a great day!
2
posted to Share by Hacker22 (14) 18 hours ago
Python (with Turtle)
Python (with Turtle)
2
iLikeTurtles - An abstract art generator
This was a generator I made with turtle to draw random lines to make an abstract art piece. You can change the colors however to whatever you want in the colors list! Enjoy making cool abstract art :)
0
posted to Share by M4cs (1) 18 hours ago
Python
Python
1
FindMeADomain
Wanted to see if I could easily find domains that fit with phrases so something like app.le or windo.ws. Thought it'd be cool to make and share a program for it :) Enjoy!
0
posted to Share by M4cs (1) 18 hours ago
answered
1
Functions not running.
Hi, i am making a game called SpainLovesPolitics. And i am making a function, but when i do function() it does not run automatically, it has to be runned by the user, how can i make it so it runs automatically? Also here's the code: ![image](https://storage.googleapis.com/replit/images/1560802440286_4f5390ded15c1c22a2ad53af16722e81.pn)
3
posted to Ask by IzanLarumbe (23) 19 hours ago
HTML, CSS, JS
HTML, CSS, JS
1
don't rush
try things before rushing and submitting your answer
0
posted to Share by Sajoca (0) 19 hours ago
Python
Python
1
EA games
It's in the name... If you pay for the DLC. You can also find the game in lootboxes
0
posted to Share by LangstonDeHart (0) 20 hours ago
1
Django, need to use pip installed module in installed apps
When I start my Django project it pip installs the module fine but when I reference it in my installed apps in settings.py, it states that no such module exists. How am I supposed to reference the module so that it woks, thanks in advance for your guy's help :)
2
posted to Ask by newCrisco (0) 21 hours ago