News for hackers. Stuff that matters.
Re:Repl from Repo by ZainRiz on Wednesday December 11, 2019 @03:30PM (#21766479)
Fyi, there's another similar project called gitpod.io

Take any github repo, prepend the url with "https://gitpod.io/#", and hit Enter

(so https://github.com/ZainRizvi/UseRWithGpus would become https://gitpod.io/#https://github.com/ZainRizvi/UseRWithGpus)

That'll open up an instance of VSCode in a web browser and you can start coding

Re:Repl from Repo by amasad on Wednesday December 11, 2019 @03:35PM (#21766521)
Gitpod is awesome and a really bright team behind it.

However, Repl.it is different in that we're focused on speed and minimal configuration. You don't even need to login to clone a repo and start it.

The URL structure is repl.it/github/<GitHub path>

Try this 2048 implementation in C: https://repl.it/github/mevdschee/2048.c

(You can even run it on your phone!)

Re:Repl from Repo by MuffinFlavored on Wednesday December 11, 2019 @05:41PM (#21767571)
If the Github repo has a docker-compose.yml file in it, can it spin up all of the containers?
Re:Repl from Repo by amasad on Wednesday December 11, 2019 @06:06PM (#21767748)
Not yet. But planned
Re:Repl from Repo by MuffinFlavored on Wednesday December 11, 2019 @06:27PM (#21767894)
I don't see how repl.it doesn't get burned doing that. You could host my entire ELK stack and Postgres database... what would the resource limits be? What would the cost be?
Re:Repl from Repo by sansnomme on Wednesday December 11, 2019 @08:05PM (#21768443)
I think repl.it is still at the growth and scale stage. Actual profitability probably won't matter much for another couple of years. (They run on Google Cloud so the costs are pretty insane without VC funding.)
Re:Repl from Repo by 0x4FFC8F on Thursday December 12, 2019 @12:49AM (#21769573)
Okay this is irrelevant to the discussion but I just typed in `github/mevdschee/2048.c` in the address bar expecting Firefox to perform a Google search but it instead lead me to the repo! What!
Re:Repl from Repo by Liquid_Fire on Thursday December 12, 2019 @05:15AM (#21770736)
If you type something that is not a valid/existing domain, Firefox will try to append .com and/or prepend www. in an attempt to get a valid domain. If that fails, it will do a search.

You can configure this via browser.fixup.alternate.* in about:config.

Re:Repl from Repo by whycombagator on Wednesday December 11, 2019 @03:42PM (#21766597)
> Try this 2048 implementation in C: https://repl.it/github/mevdschee/2048.c

I did and got: "Failed to connect, retrying"

Re:Repl from Repo by amasad on Wednesday December 11, 2019 @03:46PM (#21766634)
Are you behind a firewall? Some block websockets. It also could be an aggressive adblocker.
Re:Repl from Repo by TumorousJoker on Wednesday December 11, 2019 @04:02PM (#21766798)
Yup, I can confirm it doesn't play nice with Ad blockers for some reason because it worked on chrome and Firefox on my android phone, but did not work with Firefox focus
Re:Repl from Repo by amasad on Wednesday December 11, 2019 @04:08PM (#21766831)
Thanks -- we'll take a look!
Re:Repl from Repo by whycombagator on Wednesday December 11, 2019 @10:29PM (#21769042)
At the time I tried turning off privacy badger and ublock, but the issue persisted.
Re:Repl from Repo by verttii on Wednesday December 11, 2019 @05:52PM (#21767646)
Public sharing of REPLs for anyone even without an account is just awesome. Gitpod or anyone else that I know of doesn't offer this.
Re:Repl from Repo by shaneprrlt on Wednesday December 11, 2019 @04:51PM (#21767146)
GitPod is a lifesaver on the go when you need to work on private repos. Couldn't recommend more highly.
Re:Repl from Repo by j88439h84 on Wednesday December 11, 2019 @05:09PM (#21767302)
What's special about private repos? Why not just clone and use a local editor?
Re:Repl from Repo by shaneprrlt on Thursday December 12, 2019 @11:37AM (#21773363)
Of course you can do this, however, if you're ever on a shared device or using someone else's computer, it's much faster to login to GitPod and make a quick fix than to setup SSH keys, download an editor (if you're an atom guy like myself), and go through the song and dance. Then have to tear it all down again.

Granted, this isn't a common scenario, but it's happened to me before and GitPod is just so much more convenient. I've tried AWS Cloud9 and wasn't that great of a development experience, the great thing about GitPod is it's fast, easy, portable, and honestly a great developer experience since it's the VSCode editor.

Re:Repl from Repo by enigmadev on Wednesday December 11, 2019 @06:09PM (#21767775)
Thats pretty easy to explain! Some people are using multiple devices at once for programming,and thus need the ability to code from multiple devices.
Re:Repl from Repo by ss3000 on Tuesday December 17, 2019 @09:37PM (#21821252)
> That'll open up an instance of _VSCode_ in a web browser and you can start coding

GitPod actually runs https://theia-ide.org/, not VSCode, but Theia is compatible with VSCode extensions, and they've themed it to look practically identical, so it's definitely not super obvious.

Re:Repl from Repo by aalhour on Wednesday December 11, 2019 @03:52PM (#21766707)
It takes forever to open on my phone, tried different browsers and it still doesn't work, is this intended for desktop use only?
Re:Repl from Repo by zubairq on Thursday December 12, 2019 @02:26AM (#21769960)
when i log in to gitpod I get the message:

We have trouble parsing your context Error: Couldn't parse context '%22'. Please file an issue if you think this is a bug.

Re:Repl from Repo by jankeromnes on Thursday December 12, 2019 @03:34AM (#21770291)
'%22' is an urlencoded double-quote: '"'

Maybe you accidentally have a double-quote in your URL?

Re:Repl from Repo by zubairq on Thursday December 12, 2019 @04:47AM (#21770594)
I saw this message as soon as I logged in to gitPod. Will continue the discussion in another thread, but thanks