First Last

@a5rocks (514)
Motivation... Please give...
What do YOU think of repl.it's new homepage?
posted to Announcements by 21natzil

I like it personally, though I do agree with people's criticisms that it has a little too much white space. At the same time, I have not really spent much time looking at it, so take what I say with a grain of salt.

✨HERE'S WHO WON OUR MUSIC HACKATHON!
posted to Announcements by katyadee

Nice job everyone!

What is the language you recommend the most? Why do you recommend it??
posted to Ask by enigma_dev

I personally really really recommend python. But then of course, python is also the only lang I know (other than a little js), so that doesn't say much.

As for why, it's because:
a) you have packages for many, many things
b) it's easy enough to pick up, and "pythonic" code is easy to read.

New and improved Multiplayer launching Thursday 8/29
posted to Announcements by amasad

@Kognise is that... version control!

Default name challenge
posted to Ask by mkhoi

BitesizedMindlessComputationalscience ohhhhhhhhh boy here we go again

You know? I'm happy python has a NotImplementedError!

https://repl.it/@a5rocks/BitesizedMindlessComputationalscience lol

██ Empty ██
posted to Share by mat1

10/10 best game. This rating is completely unbiased.

This game made me reflect on my past, something not many games have done.

can I get help with this question please
posted to Ask by ayaanHasan

This is just a bunch of ifs. I'm sure you can do it.

LOGIN PAGE
posted to Ask by K1NGBOSS

The html should look something like this:

<form action="/login">
  <input type="text" placeholder="username">
  <input type="password" placeholder="password">
  <input type="submit">
</form>

which will send a GET request to YOUR_URL/login?username=USERNAME&password=PASSWORD

Default name challenge
posted to Ask by mkhoi

@mkhoi Nope, still too scared.

the bitesized part is going to be the real challenge

Why are we here ?
posted to Share by DamianPieczykol

Sounds like a existential crisis to me... I recommend watching Kurzgesagt's existential crisis playlist to be even more existentially crisised.

But in all seriousness, please post this in share

Artificial Intelligence Competition
posted to Share by lydiahallie

@SPQR Seeing so little replies makes me sad. I'm going to share two of my impossible ideas for people to continue this chain. Here:

  • A random number generator, but AI
  • An 8-ball, but with infinite answers
    Please note I'm working on a more plausible idea related to an 8-ball.
What language?
posted to Ask by mkhoi

Python has all the features I need (thus far).

And this might be cheating, but Cython allows you to use C in Python too (if i remember correctly).

Python update??
posted to Ask by Kioriin

If you are unable to do something in Python 3.6.3, tell me (I can get you a Python 3.7 repl), but you should be able to do most things.

Spam Filter
posted to Ask by Vandesm14

If this is going to be a discord code jam, ping Zwack, or don't because I'm pretty sure he said he won't accept other people's ideas for some reason (forgot).

Artificial Intelligence Competition
posted to Share by lydiahallie

@Stanlyhalo Wait are AIs von Neumann machines?

⚡️DEVELOPER SPOTLIGHT #03:⚡️We're flying out a new intern - all the way from India!
posted to Announcements by katyadee

Very very very cool xd

Personally, I want to know how people get motivated enough to finish projects. After all, that's a major flaw of mine.

Storing information in an external file
posted to Ask by HibaBiba

Okay so um... Programmatic file writing is wonky in repl. Supposedly they are trying to fix it though xd.

Two solutions (as far as I see):
a) explorer-ify (get the explorer role)
b) use an external database, e.g. jsonstore or mongodb (both are free)

What advice would you give to someone new to coding?
posted to Ask by katyadee

@eankeen lol i just try to wake up earlier to finish features while I can think. (though I normally just stay up later instead of waking up earlier.)

What's your favorite thing about Repl.it? What about your least favorite?
posted to Ask by katyadee

Favorite thing: It's free!

Least favorite thing: Programmatic file writing is wonky.

Bring Back Timmy!!!
posted to Ask by RaunakvirBhulla

Understandable

Coding for consoles
posted to Ask by RoylatGnail

Consoles have closed(ish) off ecosystems, where you need a special development kit to code. At least, that's what you need for the 3DS. Though, supposedly, for most modern consoles, they can use compiled C(++) code, meaning you can take engines like Unreal Engine or whatever.

Please note this is completely out of my expertise, and I would recommend researching a little more.

Python Environment Variable for npm/gyp (in an imported Gatsby project)
posted to Ask by noididntreadit

Well, this would be not a problem if repl allowed you to do anything with any lang in every repl type. However, there is only one repl type where that is allowed : polygott. So, just go to https://repl.it/languages/polygott, go into the console (ctrl+shift+p then search "shell"), git clone SOMETHING, and now in the makefile, replace run-project (or whatever) with node main.js (or whatever the filepath is), and now it should work.

Pokemon Thing
posted to Share by ChristianDupont

Okay... I appreciate your admiration for My Hero Aca, and Pokemon, but one(ish) things:

DO YOU NOT KNOW LOOPS? I recommend checking them out before you get carpal tunnel syndrome... 2095 lines... heck...

A lot of things
posted to Ask by ebest

@PYer turns out that checking if people is online is in the pipeline AFAICT (as far as i can tell). This is because you can get the "online" status for someone using graphQL.

Now for a list of mods / staff...
https://repl.it/site/about for staff
mods are just:

Also, https://repl.it/feedback exists

Can I change compiler switches?
posted to Ask by Jack_AdrianAdr1

Yes! right-click repl, click "open command palette", type "shell", press enter, type "clang++ main.cpp -compiler_options_here -o main", press enter, then type "./main".

UPDATE: It works for me :) (though I don't actually know if the compiler options actually change anything, but they should)

Also, you can upvote this feature request so maybe repl will add a more intuitive way : https://repl.it/feedback/p/visually-change-compiler-switches

My code isn't syncing with console until I reload the page...
posted to Ask by DomminicMayer

Try becoming an explorer (or un-becoming an explorer if you already are one)? Also, try reporting on https://repl.it/bugs

Default name challenge
posted to Ask by mkhoi

@mkhoi Maybe it's a webpage with everything?

What now???
posted to Ask by mkhoi

There's a code jam on the discord server starting soon :)

https://repl.it/discord

Upgrading pip.
posted to Ask by KianAlford

@KianAlford Actually, random makes it easy to do that. random.sample(LIST_HERE, 26)

https://stackoverflow.com/questions/22741319/what-does-random-sample-method-in-python-do

[SOLVED] Is it possible to use git?
posted to Ask by 12944qwerty

You can run commands on repl. For example, in python, one way is:

import os
os.system('command here')

As far as I know (haven't checked), you can access github from there. So that's one way (i think). Secondly, it shouldn't be too hard to make a repl2git extension, but that's beyond the point.

So three solutions:

  • make an extension (uses the next way)
  • os.system / call commands
  • download your repl and then push that.