Finlay Morrison
@finlay44111
0
Wtf has happened to repl.it
I've not used the site for a few months and I have come back and there are so many bugs. I have only been using it for about 10 minutes at this point and its already pissing me off.
The automatic indentation for cpp is awful, who in their right mind indents code like this
https://cdn.discordapp.com/attachments/756914697810215064/955066263250550794/unknown.png
This video on the learn page is impossible to close, neither the "ok" button, nor the "x" button close it
https://cdn.discordapp.com/attachments/756914697810215064/955066723718017024/unknown.png
and my up and down arrow keys keep stopping working until I refresh the page then they work for another few minutes. They seem to break whenever it does that stupid automatic indentation thing. Anyway rant over, hopefully there's nothing else13
1
0
title says it all, all the code is gone for "gravity cpp" and I cannot roll it back, when I roll it back it stays empty
C++
Bookie0 Maybe you disconnected (no WiFi for example), and so it didn't save properly? Usually, when you get disconnected, a modal pops up asking if you want to choose the server changes or your own changes on the client side; and you always want to pick your changes as they are the most accurate. Perhaps you misclicked, or closed the tab without selecting an option?2 years ago
Some code I wrote in a lab that I thought I would share, relatively easy to use as is shown in the basic example.
C++
yeah as the title says, very fast python program
Python
TsunamiOrSumth f = open("main.cpp", "w")
f.write(program)
f.close()
os.system("g++ main.cpp -Ofast -march=native -o main")
os.system("./main")
os.system("rm main")
hol up2 years ago
I have optimised the c++ solution more to get a single threaded speedup of about 2000-2500 over python.
Bash
I have been writing an implementation for matrices, and I thought it would be cool to do a speed comparison for matrix multiplication between Python a
Bash
programmeruser https://repl.it/@programmeruser/prime-number-search
Warning: The Python version will take a very long time.
If you don't want to wait for the Python program to finish:
C Output: 99991
real 0m2.450s
user 0m1.629s
sys 0m0.027s
Python Output: 99991
real 1m21.854s
user 0m58.826s
sys 0m1.263s
NodeJS Output: 99991
real 0m3.511s
user 0m2.831s
sys 0m0.068s
2 years ago
programmeruser I only use python for scripting on Linux since it's the most popular language for that (other than bash). Plus it comes preinstalled with some distros.
cpp : 0.031s
python : 58.043s
`2 years ago
This project is an implementation of the famous game of life by Jobn Conway. This works best when you open it up in the full repl terminal.
game of l
C++
This program creates a Mandelbrot and prints it into the console, you will need to expand the console to see it well.
C++
This solves the numbers game from the TV show countdown. You get given 6 numbers and a target, and you have to figure out how to get to the target num
C++
A very fast C++ solution to weekly challenge 20
Every time i try to run i get the error :
[EnvCommandError]
Command ['/opt/virtualenvs/python3/bin/python', '-m', 'pip', 'install', '--n
o-deps', 'ten
I made a simple library for c++ for handling fractions, it is pretty basic atm but i am open to suggestions for new stuff to be added in. at the momen
A machine learning neural network i have been working on
generationXcode Hi, I couldn't go through all the code but did you just train the NN using a genetic algorithm?wow3 years ago
Is it possible to use the functions defined in my c++ repl, 'NN' in python, i want to use them to create a GUI and i am not sure how to do that in C++
SixBeeps Short answer: no
Long answer: Technically yes, but it is discouraged. There looks to be a feature of some sort in Python that lets you do this (https://docs.python.org/3/extending/building.html) but it looks a little hacky.3 years ago
I recently made a program that would extract pixel data from a .ppm file. an uncompressed image file. I uploaded a huge 150MB image into the repl, and
AllAwesome497 Oh. This is a known bug where you can't delete big files. Maybe one of the admins like @turbio will be able to help you?3 years ago