Hacker News new | ask | show | jobs
by omgtehlion 4098 days ago
Download some blob from the internet, then run it?

No, thanks

4 comments

Fair enough. You can also build the binary yourself, since it's all open source. https://github.com/exercism/cli/releases
Looks like it just downloads/uploads plain data to the web service. I thought that in this age of internet technologies a web site would be enough.
I imagine the idea behind this was to avoid having to roll an in-browser IDE with the advantage of letting users use (and learn) the actual tooling that comes with that language.

I personally liked using my own editor, but the CLI didn't provide much added value in my opinion. The tests were enough for me and it was kind of annoying to have to run the CLI every time you're finished just to get the next exercise...

What about curl, wget, httpie?

Or how about lynx or w3m?

Plenty of people want to utilize CLIs and it's definitely beneficial when learning to program to get as much experience on a command line as possible.

Yes, but what's the value in this website having a dedicated application that I either have to trust blindly or evaluate and compile?

We already have this great sandboxed environment called a browser for running untrusted code from the internet. They could still offer endpoints for curl, if it's just about using the command line.

Thats my question exactly. Why roll your own client when you could use curl?
It was originally designed as more of a mentoring platform, so you would be led through it by a friend that knows the process. It's easier to trust a friend than a code review for a non programmer. It's also easier on the friend to be able to download just one binary and start mentoring than for her to have to find a bunch of requirements just to get the exercise.

It's enough to have to get all of the language's requirements installed...

programs who needs em
At least their code is on github and you can inspect..
Yeah. But reviewing 1900 lines of code before I've even seen a single one of their exercises? That doesn't sound like fun. I would be far more willing to run their app if I could try the actual service first.
So if the code was published as a 1900 line ruby gem, you'd be OK with it? Or would you review the 1900 line ruby gem?
It's not absurd to have a healthy distrust of foreign code running on personal machines, especially binaries from random people with a website while there's no discernible reason for a binary in the first place.