News for hackers. Stuff that matters.
Re:Device.farm Generates Linux+Docker Images for about 100 A... by asveikau on Thursday May 14, 2020 @05:23PM (#23185691)
So... What is with this trend of making a web service out of something that ought to be a shell script?

Reminds me of yesterday's hn post about making your PDFs look scanned by... Uploading to a web server that runs a ghostscript command.

It's almost as if locally running software is deeply confusing to people and the perception is that you need to have a potentially privacy violating service if you have a friendly ui. Not to mention all the energy wasted running those servers. Is this how bad our society has gotten at writing software?

Re:Device.farm Generates Linux+Docker Images for about 100 A... by mappu on Thursday May 14, 2020 @10:13PM (#23188114)
In 2020, most people's only device is a cellphone.

They can't easily run ghostscript directly, and making a web service is easier than making an app (recompiling ghostscript for all CPU architectures, ...) despite the ongoing hosting costs.

Re:Device.farm Generates Linux+Docker Images for about 100 A... by yjftsjthsd-h on Thursday May 14, 2020 @11:56PM (#23188746)
I feel like the right answer to that is to make ghostscript run on a cell phone. I mean... we're already on Darwin or Linux; the userland is weird, but ex. Termux and iSH proves that you absolutely can run a lot of packages all the same. So in my mind, the real question is: Why does the porting and app development experience suck so much? I mean... HyperCard, in 1987, was usable by non-programmers. A/UX had Commando in 1995, which wrapped CLI in a nice GUI. To hear people rant, the height of RAD GUI building was Visual Basic 5 (1997) or VB6 (1998). Have we really lost that much in the ensuing 25 years?
Re:Device.farm Generates Linux+Docker Images for about 100 A... by asveikau on Thursday May 14, 2020 @11:23PM (#23188508)
Not just hosting costs. Energy costs. Destruction to our planet.

That is also in addition to sending your documents to who knows who.

You can probably compile ghostscript to javascript via emscripten or similar. I am not sure what this means for its AGPL license.

But maybe this is more a discussion for that other thread.

Re:Device.farm Generates Linux+Docker Images for about 100 A... by yjftsjthsd-h on Thursday May 14, 2020 @11:57PM (#23188751)
> You can probably compile ghostscript to javascript via emscripten or similar. I am not sure what this means for its AGPL license.

Shouldn't be any "worse" than running it server-side, since AGPL exists in order to apply to SaaS.