Live data from Hacker News

Doom, Played over Curl

github.com

31–36 of 36 posts

Re: Doom, Played over Curl

#31
post #8

What the hell. First, I thought this was crazy. How could you do anything crazy with curl? But of course, curling a bash script opens lots of opportunities. Given the right permissions, you could run an enterprise Jira server via only a curl to a bash script. Still cool that people find more ways to play doom, but calling it "via curl" seems a little missleading to me. "Playing doom via a simple bash script" would ha…

[deleted]

Re: Doom, Played over Curl

#32
post #10
post #7

Earlier quoted context omitted.

Except it’s actually called “cooked mode” [1] and predates the use of the slang. [1]: https://en.wikipedia.org/wiki/Terminal_mode https://www.linusakesson.net/programming/tty/

"cooked mode" refers to physical teletypes, though. In the POSIX spec[1] it's called "canonical mode", same for the other specifications (if they're mentioned at all, I don't think the ANSI specification mentions either term). https://en.wikipedia.org/wiki/POSIX_terminal_interface#Canon...

Thank you for this correction. I'll update the readme!

Re: Doom, Played over Curl

#33
post #6

One interesting side effect of having a LLM write the thing including the README, is that the models tend to leave little hints of the authors intention or prompt as over-explained passages that make it obvious that AI help was used. https://github.com/xsawyerx/curl-doom?tab=readme-ov-file#how... eg. > A browser hitting the same URL gets a tiny landing page that just shows the one-liner it’s subtle but once you notic…

I think it's safe to assume that "AI help was used" in everything these days and I don't understand why that should be a problem.

Re: Doom, Played over Curl

#34
post #6

One interesting side effect of having a LLM write the thing including the README, is that the models tend to leave little hints of the authors intention or prompt as over-explained passages that make it obvious that AI help was used. https://github.com/xsawyerx/curl-doom?tab=readme-ov-file#how... eg. > A browser hitting the same URL gets a tiny landing page that just shows the one-liner it’s subtle but once you notic…

Constant struggle to get Claude to stop putting in little comments in the code that are only relevant to pointing out the thing it just changed, rather than actually helpful context for later.

Re: Doom, Played over Curl

#35
post #11

Earlier quoted context omitted.

Not to mention that the objectively bad practice of piping a curl call to bash is nowhere close to "playing doom via curl". It's almost as if they simply prompted "play doom with curl". In my experience, almost any overly-ambitious prompt ends similarly.

One form is to `curl` to get the bash code to just run the loop on keys that make additional curl requests. That is playing DOOM via curl. Each curl is a movement. However, if you see the next form, it creates a single curl request that stays open and does not need bash or additional calls for each key. It uses the open request. (You do need to set the terminal to raw for this.) HOWEVER, to push back against myself:…

You are correct, on all counts. (See my response to the other commenter.) I was more harsh than I should have been. You're correct that it's not the most advanced of DOOM implementations, but I'd hate to hinder DOOM-ifying things with pedantry. (So long as one isn't simply piping a DOOM binary to bash, of course.)

Re: Doom, Played over Curl

#36
post #10

Earlier quoted context omitted.

"cooked mode" refers to physical teletypes, though. In the POSIX spec[1] it's called "canonical mode", same for the other specifications (if they're mentioned at all, I don't think the ANSI specification mentions either term). https://en.wikipedia.org/wiki/POSIX_terminal_interface#Canon...

Thank you for this correction. I'll update the readme!

[dead]
Post reply on HN