News for hackers. Stuff that matters.
Re:CLUI: Building a Graphical Command Line by amasad on Thursday March 05, 2020 @08:49PM (#22500357)
Might be interesting to people here: this blog is hosted on Repl.it on a single repl/container[1] (2GB memory, 2vCPUs[2]) that's also powering IDE functions like editing, collaboration, chat, intellisense, etc.

We're able to fix typos and bugs and have it live-deployed as it's serving traffic. I recorded a gif here of what it looks like from the inside: https://twitter.com/amasad/status/1235742525056380929

Where is the fabled "hackernews hug of death" if a tiny container can handle the traffic? :-)

[1] https://repl.it/@turbio/replit-blog

[2] https://repl.it/site/pricing

Re:CLUI: Building a Graphical Command Line by thunderbong on Friday March 06, 2020 @02:51AM (#22501740)
This should be upvoted more!

For reference the other HN post and the comments therein - "Let’s use Kubernetes. Now you have eight problems" - https://news.ycombinator.com/item?id=22491170

Re:CLUI: Building a Graphical Command Line by lonelappde on Friday March 06, 2020 @07:48AM (#22503153)
Hug of death is for non static content. And sometimes people unnecessary dynamically generate their static content.
Re:CLUI: Building a Graphical Command Line by amasad on Friday March 06, 2020 @10:03AM (#22504076)
Unfortunately we fall into that bucket. It's a dynamic app :-)
Re:CLUI: Building a Graphical Command Line by Ultimatt on Friday March 06, 2020 @03:41AM (#22501954)
Where do I go to add language support? Given you have BrainFuck and LOLCODE but not Perl.
Re:CLUI: Building a Graphical Command Line by masfrost on Friday March 06, 2020 @11:58AM (#22505147)
https://repl.it/perl6 If that stops working it means we moved it to https://repl.it/raku Check it out. It's not actively supported but we hope to make it official soon
Re:CLUI: Building a Graphical Command Line by lizmat on Monday March 09, 2020 @03:29PM (#22528830)
It appears to me that both Perl 6, as well as Raku, are NOT supported at repl.it (anymore)
Re:CLUI: Building a Graphical Command Line by raiph on Monday March 09, 2020 @07:40PM (#22531166)
They got the URL wrong.

https://repl.it/python 404s and I rather suspect they support python. ;)

https://repl.it/languages/perl6 and https://repl.it/languages/raku both work. :)

They're both 2019.03.1 so their "raku" is presumably raku in name only. (Eg doesn't support $*RAKU etc.) Be nice to see it upgraded to a real 2020 raku.

Re:CLUI: Building a Graphical Command Line by tyil on Tuesday March 10, 2020 @06:17AM (#22534214)
That looks like the previous version shipped with Rakudo Star. A new version was published a very short while ago, so perhaps they will update to 2020.01 soon enough.
Re:CLUI: Building a Graphical Command Line by neop1x on Sunday March 08, 2020 @06:35AM (#22517374)
You are not using PHP for every request
Re:CLUI: Building a Graphical Command Line by amasad on Sunday March 08, 2020 @10:31AM (#22518185)
Even worse. Using node.js