Skip to content
Sign upLog in
Profile icon

Finlay Morrison

@finlay44111
Repls
Community
finlay44111
finlay44111
shared a Post
19 days ago
1
Added compile script
finlay44111
finlay44111
published an Update
6 months ago
0
Neural Net
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 else
finlay44111
finlay44111
shared a Post
1 year ago
1
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
gravity cpp
C++
Bookie0
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?1 year ago
finlay44111
finlay44111
shared a Post
2 years ago
1
Some code I wrote in a lab that I thought I would share, relatively easy to use as is shown in the basic example.
complex_numbers
C++
finlay44111
finlay44111
shared a Post
2 years ago
4
Hello - this post must be 50 characters long
python fast
Python
TsunamiOrSumth
TsunamiOrSumth
OofStonesBanner2 years ago
SixBeeps
SixBeeps
this is savage moment 1002 years ago
finlay44111
finlay44111
shared a Post
2 years ago
1
yeah as the title says, very fast python program
python fast
Python
TsunamiOrSumth
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
finlay44111
finlay44111
shared a Post
2 years ago
1
I have optimised the c++ solution more to get a single threaded speedup of about 2000-2500 over python.
matrix-mult-benchmark
Bash
finlay44111
finlay44111
shared a Post
2 years ago
4
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
matrix-mult-benchmark
Bash
programmeruser
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
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
FlaminHotValdez
FlaminHotValdez
This is why I use C++ python is slow2 years ago
finlay44111
finlay44111
shared a Post
2 years ago
4
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
game-of-life
C++
finlay44111
finlay44111
shared a Post
2 years ago
19
This program creates a Mandelbrot and prints it into the console, you will need to expand the console to see it well.
mandelbrot
C++
k9chelsea2
k9chelsea2
pog2 years ago
JaxonSubasavage
JaxonSubasavage
dosent work, this sucks2 years ago
finlay44111
finlay44111
shared a Post
2 years ago
2
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
countdown-solver
C++
finlay44111
finlay44111
shared a Post
2 years ago
1
A very fast C++ solution to weekly challenge 20
finlay44111
finlay44111
shared a Post
2 years ago
1
Every time i try to run i get the error : [EnvCommandError] Command ['/opt/virtualenvs/python3/bin/python', '-m', 'pip', 'install', '--n o-deps', 'ten
bigchungusmc
bigchungusmc
you need more packager files for all those modules... I think2 years ago
finlay44111
finlay44111
shared a Post
3 years ago
2
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
finlay44111
finlay44111
shared a Post
3 years ago
19
A machine learning neural network i have been working on
staticvoidliam7
staticvoidliam7
would you mind if I recreated this in C#?3 years ago
staticvoidliam7
staticvoidliam7
this is cool > the brain3 years ago
generationXcode
generationXcode
Hi, I couldn't go through all the code but did you just train the NN using a genetic algorithm?wow3 years ago
finlay44111
finlay44111
shared a Post
3 years ago
3
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++
fshabashev
fshabashev
yep, could be nice thing to have5 months ago
SixBeeps
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
finlay44111
finlay44111
shared a Post
3 years ago
4
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
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