> Why do you need to run the browser on the server? I can't think of a case where you would want to use a text browser there instead of a regular browser on your actual machine.
I've had to do that on my VPS a few times when I was debugging my Apache setup and needed to look at a web page that was only visible on the VPS, i.e., not available to the outside world.
Honestly I really agree with this use case and I even created a point asking for some browser like this but one which is more capable than even browsh perhaps, I am not sure if text is just the right choice, we need something between text and complete vnc install or debugging instance
You can take a look at pinggy.io / tunnl.gg and so many other options where you can just use the standard ssh command to port forward a port for some time and so you can debug it
Crystal compiles directly to object code, using LLVM. It does provide the ability to interoperate with C code; as an example, I use this feature to call ncursesw functions from Crystal.
As others have mentioned, Crystal is close to Ruby in many ways, such that some simpler code will port straight over. I've managed to port a large Ruby application (the sup email client) to Crystal, and a lot of the code just worked, but I still had tweak just about everything else to get it to compile. The hardest bits were the places that used Ruby's dynamic nature, e.g., constructing method names at runtime and then calling them with send, or creating methods on the fly, or data structures that mixed up types freely.
Crystal's intent, as I see it, is very different from Ruby's. Because it compiles down to machine code in a single executable, it's good for making things that are fast and easy to deploy. I've used it to make small web services as well as the bigger thing I mentioned above.
My ex-wife had the same name as a woman in another state who had beaten up a cop and done jail time. So every time my wife's driver's license came up for renewal, the DMV decided she was that criminal, and refused to issue the license. This happened so often, she eventually was on a first-name basis with the DMV director, who had to intervene every time. I'm guessing this problem due to the DMV in our little state using an ancient computer system, perhaps written in COBOL in the 1960s. I can just see the code now, where it compares the name, but not state of residence or any other identifiers.
i had the exact same first/last name / birth year as a kid in my school (town of about 3,000) and were both “juniors” so our dads both have the same name. that makes four of us.
unfortunately that guys got some problems .. duis… domestic batteries.. drug possession ..
i have been walked out of a couple jobs for “not disclosing my record” and having to sort that out.
then the one time i did get into trouble. my expungement was denied because i had “so many priors”…… and then i had to go back and explain that NO, thats not me. it was approved.
then process servers, warrants, derogatory credit entries cause the guy doesnt like paying his bills.
i eventually got a sealed name change and that was the end of that.
I've had to do that on my VPS a few times when I was debugging my Apache setup and needed to look at a web page that was only visible on the VPS, i.e., not available to the outside world.