Hacker News new | ask | show | jobs
by mayeaux 1303 days ago
Yeah someone submitted a PR for those to be fixed, I'm just wary about restarting the server because I haven't setup a way to be able to reboot without losing the websockets

Well those inputs should all error unless they are a valid value.

Yes if nothing is input it will automatically detect the language based on the first 30s of input

2 comments

> I'm just wary about restarting the server because I haven't setup a way to be able to reboot without losing the websockets

Wait what. Not being able to safely restart the server sounds like a disaster waiting to happen.

This was just a personal project a couple hours ago so it's not setup properly to do safe reboots and a lot of other things, I was just using it locally and now it's in in the wild, will take some time to get everything refined and professional
Isn’t this very expensive to host? Are you aware this could cost A LOT?
in another comment they state:

> I'm just running this off of a 2x RTX A6000 server on Vast.ai at the moment, about $1.30/h

whether that's a lot is a matter of perspective

> losing the websockets

users would lose the session and have to start over, not the end of the world

I'm not even using sessions just localstorage and websockets lol.
I wasn't even aware that it was on GitHub, which I suppose is an issue in itself.