-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The playground does not work #65
Comments
Yes, I also faced similar issues. It significantly affects the user experience. |
See #47. In short, creative users can run programs that eat CPU for fun. The backend is running on a free VM that gives us a fraction of a CPU to work with, so it spends a lot of time throttled. That's why you get very slow responses or even a bad response from the server. Until it's properly secured, the backend relies on users playing nice. I agree it's not a good first experience. Yes, https://dev.lfortran.org is great. What exactly do you mean by invest in it? Of course, it doesn't need to be instead. I welcome and encourage people to contribute to both projects. Regarding the playground that play.fortran-lang.org points to, I think that's a good idea. The best playground should be pointed to from the website, and it's obvious to me that right now that's the LFortran playground. Why don't you open an issue in the webpage repo and gain support there, and we'll easily switch over? |
@milancurcic what is the path forward with this playground to make it fast and responsive and robust against errors such as the above? For example, the only roadblock against dev.lfortran.org is the maturity of LFortran. You can follow our progress at lfortran/lfortran#1251, and it seems convincing that this roadmap will lead us to the finish line of delivering a playground that is fast, robust and feature complete. And so it makes sense to do this work. The roadblock for this playground is not the maturity of GFortran, but rather how to run it. So if you could formulate a similar roadmap that will lead to success, then it makes sense to follow it. For example https://godbolt.org/ works great, so it is possible. I am guessing there is some upfront work, and then some maintenance work. |
Hi @milancurcic , @certik |
I had thought about it but didn't end up including it, for the simple reason that it may be difficult to define the project with clear goals and deliverables. The current playground is more at the state of needing tidying and fixing-up kind of work across the board--backend, frontend, and content (tutorials, alternative compilers, and similar). So I don't necessarily want to push it as a dedicated project idea, but if there comes up an applicant with interest in it, we can consider it. It would probably not be a priority over some new projects. I may just take one quiet weekend to dive in and take care of most of the current performance issues. It's not a lot of work needed, just needs some careful thinking through and planning. |
We should join efforts on the two projects (playground + dev.lfortran.org), if at all possible. |
Here are a few ways that I see integration as possible:
|
@milancurcic it seems that the playground is not working. can you please reboot it ? |
Thanks @henilp105, I just did and it runs again. If you or anybody else would like admin access to our AWS account, let me know by email and I can add you. I tend to notice all emails from GitHub, but I get many every day and can miss some (this one I noticed later). The best way to reach me quickly is a DM or a chat message on Fortran Discourse, for things that aren't actual code issues of course. |
I think the playground is down again (it has been loading for an hour or so). It was great following this thread because I didn't knew the existence of https://dev.lfortran.org/ and works really smoothly. Would be great in a not far away future to have a playground like the Fortran Playground with tutorial capabilities and URL shareable code, but at the same time the speed of lfortran, and optimally the possibility of writing and reading data files. |
Hi @Mapaor where are you accessing it? I thought that it was no longer hosted publicly. In short, because of no guards against long programs that any user could send, the small and cheap VM would often get incapacitated, so we chose to default LFortran's in-browser playground. The project in this repo is best run locally, if you want to develop it further or use its features. |
I think there might be a way in the website where it is still accessible. I'll try to fix it. @Mapaor we are making great progress with LFortran to compile all of Fortran and once we reach beta, it would be ready for any tutorial etc. If you want to help us with the web app, let me know, that would be great. |
First it took about 30s to show the result, then I clicked on Run again and got:
This is not a good first look of Fortran newcomers who just want to test Fortran out.
Instead, why don't we use and invest in https://dev.lfortran.org/ ? It's been working non-stop for almost a year, it is very fast (immediate) and it is getting better with every LFortran change. We can have a version being hosted under fortran-lang if there is interest.
The text was updated successfully, but these errors were encountered: