Parallax
Parallax
Explore posts from servers
DDeno
Created by Parallax on 7/9/2024 in #help
Is there a way to use Javascript as easily as Php?
Sorry for the vague title. I don’t know how else to say it. In Php, you can make a simple file that looks like this
<?php echo "Hello"; ?>
<?php echo "Hello"; ?>
When a user requests that file, it automatically executes the Php code and sends them the result, using https. Easy But whether using Node or Deno, it seems like you need to add lines and lines of code to set up a server… on your already running server… which makes no sense to me, but sure. I guess I can do that You also have to figure out a way for it to find your ssl certificate and key, which change at unpredictable times and have unpredictable filenames each time (at least for me). And you have to figure out a way to make it detect when those files expire and automatically hotswap them And you also have to daemonise each and every script you write, and manage them all somehow, making sure one of them didn’t just fail silently 7 months after you started its process (happened to me, still not sure why) I have been trying to move away from Php to Javascript for many years, and I have tried to solve all these obstacles in many different ways. I must be doing something wrong, because it should not be this hard. Is Deno only meant for supergeniuses who already know how to code every aspect of their own server from scratch, or is there a way to use it that ordinary web developers can comprehend?
40 replies
UBUniversal Blue
Created by Parallax on 6/3/2024 in #🛟bazzite-help
Setting Up Virtual Box
I couldn’t find a flatpak of Virtual Box, so i tried to install an rpm of it. I don’t have much experience with immuntable systems, so i don’t know exactly how you’re supposed to install non-flatpak apps. But i used rpm-ostree install and it seemed to work. Everything was working fine and i could run virtual machines and everything. But a few days later, it decided to break, saying it doesn’t have access to a directory in /sbin, which is understandable since it’s immutable, i guess. Was rpm-ostree the right thing to do? Was i supposed to add some more command-line arguments in there in order to install it permanently and give it the access that it needs?
24 replies