Live data from Hacker News

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

github.com

21–30 of 76 posts

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

#21

Save you a couple characters of typing

I saw this too, but both the title and your command don't work to play the game.

The actual command is "cat mario.nes - | nc ...”

The trailing dash allows you to actually control the game after the rom has been loaded.

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

#23
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...

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".

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

#24
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".

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 which is where many stop and why it's common to use cat this way.

In general I tend to err less on the side of "you're holding it wrong" gatekeeping in tech and when there's a common issue with something, blame the tech rather than the users. Maybe the way shell handles input, output, and redirection isn't intuitive and poorly designed. For those that already know there's an ego thing going on condescending to users who haven't learned as much that prevent honest or productive conversations on these topics.

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

#25

I can't seem to select a render mode. It never gives me a chance to enter a number, I see the prompt ">" and then it immediately tells me I gave invalid input.

Adding the dash fixed it for me: cat mario.nes - | nc play-nes.org 4444

However, while i got the game to render, I couldn't get the game to respond to controls after that, so YMMV

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

#27
post #26

Not sure what cat is supposed to do in this case. All I get is mario.nes: No such file or directory

.nes is the extension for a NES ROM.

Given you have a NES ROM named “mario.nes” in your current folder, you will play that ROM by executing the full command.

It literally reads the ROM file, what cat normally does.

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

#28
post #26

Not sure what cat is supposed to do in this case. All I get is mario.nes: No such file or directory

cat is a command that reads one (or more) files from disk and outputs them either to the terminal or to a subsequent command if the pipe | is used.

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

#30

Earlier quoted context omitted.

It's a funny joke, but imo Stadia shutting down has very little to do with the viability of cloud gaming as a business and a lot more to do with how google (mis)managed it.

Isn't this the regular story of Google though? "Let me give a half effort on X product. Oh, see, nobody likes it. Well, guess I'll go ahead and shutter it." It's a shame that products with so much potential have all the resources put into them wasted with their behavior.

[deleted]
Post reply on HN