Live data from Hacker News

cat mario.nes | nc play-nes.org 4444

github.com

41–50 of 76 posts

Re: cat mario.nes | nc play-nes.org 4444

#41
post #23

Earlier quoted context omitted.

It’s not useless because it’s able to accomplish the same without having to memorize yet another syntax trick. - Someone who knows the trick

It's a basic shell feature that every terminal user should know from day 1. Hardly a "trick".

It requires forethought in many cases. Cat-initiated pipelines can be built iteratively in a natural fashion.

Re: cat mario.nes | nc play-nes.org 4444

#42
post #40
post #38

Earlier quoted context omitted.

> In general I tend to err less on the side of "you're holding it wrong" gatekeeping in tech That's not gatekeeping. I'm pretty sure anyone that points out ` > There is room for other interpretations, but I'd say if it's super common for people to not know something, which appears to describe this, it doesn't meet the definition of basic. I'd say "basic" shell knowledge is that commands or programs produce output whi…

> It's a basic shell feature that every terminal user should know from day 1. Hardly a "trick". > That's not gatekeeping. I'm pretty sure anyone that points out ` Can't see it being pointed out here. No snark intended.

I'm not that person, so I don't know how they meant themselves to be interpreted. I interpret their comment as correcting the fact that file redirection is not a trick but a basic/core feature and emphasize that with their hyperbole of everyone knowing it from day one. I don't think they mean to dissuade people from using the shell. I don't think they mean their statement in the way of "if you didn't know this, you're not a real terminal user. Get out of here". Maybe I'm wrong and that was their motivation. I don't know.

I was also interpreting user3939382's use of gatekeeping in the context of other similar comments not just the one they were directly replying to. That's probably my mistake.

Re: cat mario.nes | nc play-nes.org 4444

#44
post #16

Save you a couple characters of typing

I was sincerely hoping I wouldn't be the first person to notice the useless use of cat. https://en.m.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_ca...

There is no such thing as useless use of cat in interactive shell. The rule (barely) matters in scripting.

Re: cat mario.nes | nc play-nes.org 4444

#45
ApplePy experimented with providing a client-server model years ago for the 6502: https://github.com/jtauber/applepy

It's great to see somebody picking up the idea again and extending it.

It's a cool idea. Lots of possibilities for fun RPC projects with distributed processing.

Remotely accessible 80-column cards and custom mappers FTW, eh?

Good reminder that projects are meant to be implemented.

Re: cat mario.nes | nc play-nes.org 4444

#47
post #41
post #23

Earlier quoted context omitted.

It's a basic shell feature that every terminal user should know from day 1. Hardly a "trick".

It requires forethought in many cases. Cat-initiated pipelines can be built iteratively in a natural fashion.

What's natural about cat on only one file?

> Briefly, here's the collected wisdom on using cat:

> The purpose of cat is to concatenate (or "catenate") files. If it's only one file, concatenating it with nothing at all is a waste of time, and costs you a process. The fact that the same thread ("but but but, I think it's cleaner / nicer / not that much of a waste / my privelege to waste processes!") springs up virtually every time the Award is posted is also Ancient Usenet Tradition.

https://porkmail.org/era/unix/award

Re: cat mario.nes | nc play-nes.org 4444

#48
post #16

Earlier quoted context omitted.

I was sincerely hoping I wouldn't be the first person to notice the useless use of cat. https://en.m.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_ca...

I’ve run across comments regarding useless use of cat twice today. However, after reading the linked Wikipedia entry, it feels more like a way to give someone an ego trip than a truly more useful alternative. The Wikipedia article even concedes that cat might be better: > A cat written with UUOC might still be preferred for readability reasons, as reading a piped stream left-to-right might be easier to conceptualize.…

Yeah, I read the wiki article to learn a new trick and when reading that paragraph, I've gained more confidence in continuing to use cat :)

Re: cat mario.nes | nc play-nes.org 4444

#50

"Cloud gaming is the next big thing." --Links to Stadia shutdown notice OP, I appreciated that bit

Love it, but in my experience geforce now makes it so I don't need a GPU anymore. I can play any (supported) game on my macbook air with a controller connected to it, with VERY little lag. It blows my mind every time.
Post reply on HN