Comment

Comment by thepasswordis

Wait hold on a second, what?

It says curl isn't installed, so I apt install it.

It outputs as though its installing it, and then continues outputting as if it is installed. Pretty freaking impressive!

edit: hahaha, if I ask it to retrieve a non-existence page, it "succeeds" and then interprets what that page might look like and be for based on the name, and writes the HTML for it. Absolutely incredible.

edit2: okay just having fun with curl here. If you curl -v https://api.hackernews.com/auth/getUserToken

it realizes that api. implies an API, and "responds" with a JSON. Absolutely incredible.

edit3: really trying to get it to be a web browser for me. elinks is "installed", but it doesn't seem to want to take the URL.

edit4: ahahahaha. It knows our pain. IT KNOWS:

>python3 sayHi.py

>Traceback (most recent call last):

> File "sayHi.py", line 1, in <module>

> print("Hi")

>NameError: name 'print' is not defined

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton