Skip to content
Sign upLog in
Profile icon

Teymour Aldridge

@teymour
https://notes.reasoning.page
  • proxy_server

    Cover page
    Made with Python
    Recent comments (0)
Repls
Community
teymour
teymour
shared a Post
2 years ago
6
Can I use nightly Rust in a Repl?
Rust includes both nightly and stable builds. For an application I'm building I'd like to use nightly builds instead of the stable build (which I thin
Coder100
Coder100
Method 1: Make a bash repl and then use the terminal like you would on desktop. This might not be possible, but you can see. A common error is that you don't have write access to the disk. Go search up "Install rust nightly shell". This is what I found that you can use (not tested): curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs EDIT curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly or curl -f -L https://static.rust-lang.org/rustup.sh -O sh rustup.sh --channe2 years ago
teymour
teymour
shared a Post
2 years ago
7
This post is also available on my website. React is a javascript framework for producing rich user interfaces on the web. Developed by Facebook, its
eco27
eco27
noice2 years ago
Highwayman
Highwayman
This post is also available on my website. And THAT is how you do it right! Thank you! Thank you.2 years ago
teymour
teymour
shared a Post
3 years ago
4
I'm working on a flask webapp and it would be helpful to have autocomplete + syntax highlighting features for Jinja2. Does this feature exist on repl.
teymour
teymour
shared a Post
3 years ago
1
Is it possible to use PyTorch in repl.it classrooms (for small neural networks)? I'm aware the installation can be pretty nasty (without command line
a5rocks
a5rocks
If requirements.txt is allowed in classrooms, simply add the following lines to it: numpy https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp36-cp36m-linuxx8664.whl torchvision `3 years ago
teymour
teymour
shared a Post
3 years ago
1
Repl.it does not offer GPU access (which makes sense considering (a) GPUs are expensive and (b) the site is not tailored towards people building deep
teymour
teymour
shared a Post
3 years ago
3
Malaria is a tropical disease transmitted by mosquitos. Despite the fact that it can be cured, it is still highly prevalent worldwide (mostly in poore
teymour
teymour
shared a Post
4 years ago
22
Is there any way that I can connect a repl to a github repository, so that I can make commits and pull requests?
IT21277122
IT21277122
Screenshot 2022-05-18 0950313 months ago
Retrac11
Retrac11
Is it possible to connect create a Github repo for it AFTER it has been created?2 years ago
Yuman
Yuman
Repl.it can import/read from my repo. But when I commit/push, it gives me: "Please grant Repl.it permission to access GitHub on your behalf" I click on the [Connect] button, it send me back to the same starting position. 3 years ago
teymour
teymour
shared a Post
4 years ago
3
I am trying to run a (already-trained) ml model to classify tweets as either fake. Ignoring the numerous errors in it, I can not get it to run on my r
teymour
teymour
shared a Post
4 years ago
4
I have this code. I'm trying to import my models into a flask application, but when I do so I get an error: Traceback (most recent call last): File
teymour
teymour
shared a Post
4 years ago
1
Does anyone know how to achieve this?
teymour
teymour
shared a Post
4 years ago
15
I'm currently reading up on rust, and trying to run through some examples on repl.it. I have, however, yet to figure out how to install packages. Does
TejasUmesh
TejasUmesh
found a better method; just type cargo init into your shell and everytime you wanna run your code type cargo run and you're gold!2 years ago
NeonRaspberry
NeonRaspberry
Make a new Repl Rust project In the terminal, type bash Type cargo new {project name} You should now see a new folder, navigate to the src file inside it and find the main.rs file. DO NOT CLICK RUN TO RUN YOUR PROGRAM!!! IT WILL ONLY RUN THE ORIGINAL main.rs FILE! To test run your new Cargo project, type cd {project name} in the terminal, and use command cargo run. If the run succeeds, open Cargo.toml and add rand = "{latest version of rand}" Add use rand::Rng in main.rs You're good to go!2 years ago
jfrank11
jfrank11
It looks like they are making improvements or it has been possible ever since who knows. But here is how I managed (you might need a paid account for this would be nice if someone with a free account could check): Open a shell (question mark on the lower right or (Shift-Cmd/Ctrl-S) > cargo init helloworld > cd helloworld > vi Cargo.toml put markdown = "0.2" under [dependencies] :x > vi src/main.rs enter the following: extern crate markdown; fn main() { let html : String = markdown::tohtml("3 years ago