News for hackers. Stuff that matters.
Re:We Built Our Own DNS Infrastructure by remram on Thursday April 29, 2021 @08:08PM (#26988415)
It's marketed as an IDE so hopefully not (I'm not sure you even could?)
Re:We Built Our Own DNS Infrastructure by amasad on Thursday April 29, 2021 @08:12PM (#26988434)
Our marketing so embarrassingly out-of-date right now but yes we have a very robust hosting offering. It's still meant for side-projects and maybe early-stage startups.

I wrote something on what it feels like to host an app from your editor: https://amasad.me/hosting

Re:We Built Our Own DNS Infrastructure by remram on Thursday April 29, 2021 @08:26PM (#26988529)
Unfortunately my experience of replit (is that the correct spelling now?) is that it doesn't work, even for development. I have the simplest create-react-app project [1], and not only does it take 10min to npm install, it then doesn't start (runs out of memory, gets killed). I know frontend development is in a bit of a weird place right now, but if it doesn't work for this...

I last tried it 8 months ago but I get the same thing now. If it takes seconds on GitHub's free CI and fails after 10min on your platform, then I really can't use it.

    The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process.
[1]: https://github.com/remram44/twitch-vod-sync
Re:We Built Our Own DNS Infrastructure by amasad on Thursday April 29, 2021 @08:34PM (#26988590)
Create React App is a crime against computers. It's an absolute resource hog, which maybe is okay for Facebook engineers with $3000 MacBooks, but we can't give that much resources to free users. To use React on Replit you should use Vite. We were on HN just yesterday talking about it, it's an absolute delight: https://news.ycombinator.com/item?id=26972400

If you really want to use CRA on Replit, you should buy the hacker plan for $7/month which also lets you boost select repls and it will then be very usable for you: https://blog.replit.com/boosts

Re:We Built Our Own DNS Infrastructure by ec109685 on Friday April 30, 2021 @12:51AM (#26989926)
Given how spiky a dev environment would seem to be from a CPU perspective, can you pack a large number of free customers on a single very large VM to allow those occasional spikes without requiring a huge investment?

Anyone abusing that free cluster, you boot over to a more constrained and throttled environment.

Appreciate the candor and thanks for the blog post. Clearly an environment like this is the future development.

Re:We Built Our Own DNS Infrastructure by edoceo on Thursday April 29, 2021 @08:48PM (#26988678)
I lol-ed and also like your frank answer. well done.
Re:We Built Our Own DNS Infrastructure by remram on Thursday April 29, 2021 @09:36PM (#26988970)
I guess my real point is that common workloads that work for everyone don't work on your development environment. I could pay for a bigger environment from you, but really this does not make me want to move any workflow to your platform (especially not production deployments!).

Sure, I can try and sell a whole different tool to my team, or accept that they just want to get things done and keep using the current tool that works everywhere but on replit.

I get where you're coming from, and I might take your advice next time I have to do something frontend-related (which hopefully I won't), but also understand that this works fine on most other tools' free tiers. In fact it builds from scratch and publishes to GitHub pages in 50s in GitHub Actions.

Re:We Built Our Own DNS Infrastructure by thrwaeasddsaf on Friday April 30, 2021 @06:00AM (#26991564)
That's a world where megacorps and VC-funded fartups are the only thing left, and they can give you lucrative free tires because either they're FU big or they're just burning VC money to lock you in and eventually sell your data or extort the money from you once they've become dominant on the market.

I get where you're coming from; you just want free stuff. Understandable. But also understand that there are people who want to operate and support different kinds of businesses. For example, we might pay a few dollars a month for someone to host a git repo: https://sourcehut.org/pricing/

Offering service actually costs money, and it has to come from somewhere.

Re:We Built Our Own DNS Infrastructure by remram on Friday April 30, 2021 @10:36AM (#26994002)
This is $7/mo before I even get to try it on real workloads though. There is no trial period or limited setup in which I can evaluate your system on a real (but simple) workload before grabbing my credit card. Surely you can see how that would turn people away...
Re:We Built Our Own DNS Infrastructure by thrwaeasddsaf on Friday April 30, 2021 @11:12AM (#26994460)
Yeah, sometimes you have to shell out.

Anything that can run a "real workload" is these days going to be heavily targeted by buttcoin miners and other abuse. Any free trial is ripe for abuse, and it becomes a cat & mouse game to try to identify and stop them before they waste all your resources. Is that fight worth fighting for a small business? Probably not. Yeah, you might lose a stingy few potential would-be customers but that may cost less than the fight. I bet most of these small businesses will be happy to refund your $7 if you try their service, find out that it's not for you, and explain your situation nicely.

Re:We Built Our Own DNS Infrastructure by nindalf on Friday April 30, 2021 @10:23AM (#26993853)
The most performant MacBook on the market costs $1000, just saying (M1 MacBook Air). You can get one with a larger screen if that’s your thing. But $1000 gets you more than enough to run create react app.

You really shouldn’t slag off people who are working hard to give you something for free. And if you are, at least get your facts straight.

Re:We Built Our Own DNS Infrastructure by nreece on Thursday April 29, 2021 @08:27PM (#26988546)
Marketing and positioning definitely needs a push towards robust and scalable hosting.

Integrated environments (browser IDE + CI/CD + serverless hosting) are going to be big for starter apps and quick APIs.

I spent some time reviewing Google Cloud Shell Editor, which has git support (not GitHub yet I guess) and one-click build & deployment to Google Cloud Run, which overall is a powerful integrated environment in itself.

Imo, replit should preemptively focus on improving and highlighting hosting.

Re:We Built Our Own DNS Infrastructure by amasad on Thursday April 29, 2021 @08:35PM (#26988594)
You're right -- thanks for the feedback.
Re:We Built Our Own DNS Infrastructure by indigodaddy on Friday April 30, 2021 @01:17PM (#26996334)
Very cool! So, would it be achievable to use Repl to both host and create (eg sort of as a web/code based cms) posts for a Jekyll (or some other ssg) blog, but/and also have the content be git-integrated? Would I just use a guide like this?: https://replit.com/talk/learn/GUIDE-MAKE-A-BLOG-USING-JEKYLL...