You wouldn’t download a car‽
Software developer interested into security and sustainability.
You wouldn’t download a car‽
This book was left blank…
I understand your project’s constraints. I meant that you could try compiling and running the mongoose server linked against the packed filesystem in your development machine.
It seems to me that the problem would be caused by Mongoose packing, rather than vite/rollup’s build, since it seems to run fine on your development environment.
PS: Could you try reproducing the Problem using a mongoose server running on your development machine, or even better: on a Dockerfile? Then you could share a minimal example that could help to further diagnose the issue.
Maybe you should consider a server & client architecture to use the right tool for the right job on each platform.
Try disabling hardware acceleration
I think the command pattern would be useful. The user requests to perform a command. The command implementation can define preconditions and actions that mutate your game state.
You could start with a multiplayer server that handles the game logic, and a command line client that that can interact with it, create a game room and invite someone to it. You can handle realtime communication with socket.io. Once you have the client and some game rules, you can implement the client on a frontend using a canvas or game engine. You could then add the bot opponents using simple random number generation and some basic strategies.
Files could be decrypted by the end user. The OS itself could remain unencrypted.
Nginx is pretty easy to set up. Look up “nginx virtual hosts”. You might want to use certbot/acme if you don’t have SSL certificates for your domain names. You need either a wildcard certificate (*.example.com), a certificate with SAN (Subject Alternative Name) containing the second subdomain, or two certificates (one for each subdomain). Note that subdomains can be found more easily than path based websites, if you allow connections from the whole WAN.
Is yours working? Just tried it and apparently the patch prevents you from logging in. If it does, which version are you using?
Currently namecheap, but I was pretty mad to see that API access (for ACME DNS record auth, which I need to prevent downtime) was not available due to my yearly plan being too cheap (?!). You need to spend at least 50$ per months or have at least 20 domains for no good reason.
The best solution seems to acquire the domain using namecheap and then transfer name servers to a better service.
But you can set a tab width instead so any developer editing the code can adjust the indentation width to his liking, without changing the actual files contents and having to worry about setting the editor up to insert the right amount of spaces.
There are piped and invidious to do exactly this. You can host the server yourself or use a public instance. Subscriptions can be exported using google takeout and imported into piped when creating an account.
I don’t know if the history can be imported too, but at least it keeps track of new history across devices.
You can export YT and YT music subscriptions in CSV format on google takeout: https://takeout.google.com/settings/takeout/custom/youtube
In French, oursin (urchin) seems to be the diminutive of ours, which means bear. So oursin means something like “little bear”.