hacker

Wade Bourne

@AllAwesome497 (375)
<insert updated bio thats less than 140 chars> Discord: AllAwesome497#0001
Ask Me Anything
posted to Ask by amasad

@BhuCoder

linux is bad because you can customize it

what

Windows 10 has bloat

well yes, but macs also have a lot of bloat, and macs are priced ridiculously high.

Every component in every Mac is optimised for performance and to ensure that it requires less power.

ok this is just wrong. Apple has been sued for literally putting in code designed to slow down older devices.

For web development, Macs tend to be an excellent choice.

this is a horribly misguided statement. Apple's browser, safari, prefixes a lot of global / window variables, eg window.AudioCTX -> window.webkitAudioCTX. The majority of the world doesn't use macs, so you're then going to be doing extra work to support other platforms because apple likes to be different.

I hope that you would in future not talk bad about companies cos they can file a lawsuit against you!

you realize that companies can't sue you for talking bad about them, right?

Not that there's not enough software, that not everyone understands Linux, not even because Microsoft is an inescapable monopoly. ..

what? What does microsoft have to do with windows. Also, are you saying variety is bad? Last I checked, that was a good thing so this statement doesn't make sense.

I AM A MAC USER AND YOU DARE TO TELL THAT MAC SUCKS

What's it with the internet where if someone has a different opinion, they're wrong? Why are you taking it as a personal insult when someone doesn't like the same operating system which you use?

Repl.it Desktop 😯
posted to Ask by HackermonDev

There is already an electron app for repl.
https://github.com/repl-it-discord/repl-it-electron
Currently it is functional, even though leon hasnt been working on it recently.

Hello from Repl.it's newest designer!
posted to Announcements by tangert

Welcome! Nice change. Wonder if you could make something for .env files? maybe like a lock would be cool. Great change though.

Importing files as modules
posted to Ask by Electrosolt

import <filename without extension>
here is an example: https://repl.it/@AllAwesome497/Business-Man-6

How long do replit projects stay up?
posted to Ask by phylo

Repl accounts are permanent. What you might be confused with is how long servers stay up. Servers stay up for 30 minutes after the website is visited. The website, though will always be up.

Cycle Finder
posted to Share by Pythonier

neat

Repl Talk Rules and Guidelines [README]
posted to Announcements by mat1

@Scoder12 yeah. Bummer i didn't have the time to work on it after i initially wrote it.

App of the Week #1

@amasad Thank you. And thanks to everyone else.

Edhesive Assignment 5 help
posted to Ask by jedifan65

Instead of pasting the code here, link the repl to the post. Dong so not only makes it readable, but it also lets us see firsthand and easily fork+edit it, so that we can better help you.

New in Basic: Sound, high resolution, and clean syntax
posted to Share by amasad

@JordanDixon1 You can! I have a post here detailing it.

New Programer
posted to Ask by RianScott

Have fun with it. when u learn something new, think of annother way u could use it, do more than what the tutorial says. customize it.

Database-Like File
posted to Ask by KiKUP

@KiKUP ok. If u want it hidden to other users:
1) make a file named .env
2)add import ast to the beginning of your code
3) Read the file:

with open('.env', 'r') as f:
    <item name> = ast.literal_eval(f.read())

4)Write data into file:

with open('.env', 'w') as f:
    f.write(str(<item name>))

here's an example of something I did with this: https://repl.it/@AllAwesome497/LOL-Bot

How to paste?
posted to Ask by mkhoi

@mkhoi ok then ctrl/cmd +v should paste. Shift right clicking might show paste idk

MaxDonalds: McDonalds Simulator
posted to Share by Nettakrim

One word:

repl chat: Integrated global chat for repl.it
posted to Share by MrEconomical

An Error occurred: Failed to authenticate :(

WHy is not working?
posted to Ask by AlexIsRapling

Your problem is at line 11, where you forgot to indent if input() == "3":, to fix this, simply put 2 spaces at the beginning of the line.

Sound? (Python 3)
posted to Ask by Vorden999

If it is a terminal game, then no, sound is currently not supported. If it is on a site though, then yes, you can.

Explanation of what's going on

@bittybith they were banned from the replit server, at least on this account...

Explanation of what's going on

@k9chelsea2 me too, I just blocked them

How do we request a free premium account for our college?
posted to Ask by misterhtmlcss

Hey. I'll point some team members your way. Right now, they are likely all asleep (i think it's 4:42 am rn in san francisco) so ur night be a while.

App of repl.it
posted to Ask by kiwonok

Like @PDanielY said, @Kognise is already making an app for repl.it. It's in react JS, and you could ask him if u can help, if you want to help him with that.

Learning about using time.sleep() to make your program wait
posted to Tutorials by 17prabkann

Time.sleep is good, but it is bad to use in any web application, since it freezes the entire application instead of a single task. asyncio.sleep pauses a single task only, making it useful (on certain occasions) in web applications.

random integer
posted to Ask by AnnaBuell

This is how you get a random number:

import random  # At the beginning of the file
random_number = random.randint(<lowest number>, <highest number>)  # Choose a number between arg 1 and arg 2, includes the top and bottom numbers
learn how to add sound with html
posted to Tutorials by ck24

Thanks for reading my earlier message and adding more to your guide, but can you provide an example please? Sometimes examples are what help the most, especially to beginners.

Circle Pixel Editor [ONLY CIRCLES]
posted to Share by JosephSanthosh

but its fine

keeps saying functions arent defined
posted to Ask by james21215

Btw, if u provide the link to the repl, if we click on it it will open a little window to it, which makes it more readable, and allows us to see the exact error,
and edit a forked version of it.

Template?
posted to Ask by Pythonier

if you are on the repl.it discord server [email protected] someone on replit team with a link to your template repl, if not, probably email [email protected]. Edit: Timchen says that he wil be making a template soon, and it will be announced at talk/announcements

Accidentally deleted an IMPORTANT repl
posted to Ask by kckusal

Contact [email protected](probably would be best if u used your email u are singed in as, or if you have signed up with social Meha , use the email u used for that) say your username, and the name of the repl you want restored, and (ofc) ask for it to be restored.

Cycle Privileges [BAD IDEA]
posted to Ask by Zavexeon

bc just because u have a lot of cycles, doesn't mean u are responsible. some people get like 40 or something just for saying something people agree w/ or making a game. Making a game doesn't make u responsible. Although a badge of some sort or something such as a admin's star (not a star ofc but something similar) would not be bad

Database-Like File
posted to Ask by KiKUP

What language? If u know how to do it make a file called .env