News for hackers. Stuff that matters.
Re:Device.farm Generates Linux+Docker Images for about 100 A... by hibbelig on Thursday May 14, 2020 @04:59PM (#23185365)
The article says you enter the credentials and then the site generates an image that can connect to that WiFi.
Re:Device.farm Generates Linux+Docker Images for about 100 A... by draugadrotten on Thursday May 14, 2020 @05:07PM (#23185462)
So these guys will have IP addresses, wifi network credentials and root passwords for all devices using their services.

The site will provide you with a root password for your embedded device, and you will provide the site with the wifi network and credentials needed to access the network where the device is.

That doesn't sound like good security practice.

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.

Re:Device.farm Generates Linux+Docker Images for about 100 A... by burgrp on Thursday May 14, 2020 @05:38PM (#23185859)
You can change the root password after first boot the same way you would do with Raspbian or Armbian image. We just want to shorten the time the device is running with a default password. You can think of that entered password as it is a temporary one. Wifi configuration is completely optional. You can leave it unconfigured and do it later over serial line. We don't keep any credentials on our servers.