Live data from Hacker News

The Unix Pipe Card Game

punkx.org

41–50 of 88 posts

Re: The Unix Pipe Card Game

#41

I wish pipes would transfer more than just text to avoid re-parsing.

Could I introduce you to https://www.nushell.sh/ , kind sir? Started using it last year and being able to type ‘ls | sort-by modified -r | take 5’ feels liberating.

Disappointing that Debian seems completely uninterested in this :(

Re: The Unix Pipe Card Game

#42
post #31

Earlier quoted context omitted.

> But I am having a hard time imagining it's the best way to learn to pipe together commands. To be honest, it is very strange how hard it is to teach programming concepts, for some reason almost all humans use computers but only 0.1% or so can program them. I am not sure we have the 'best way' to teach anything computer related. People develop world model for physics quite early, they know they can pull with a rope…

> almost all humans use computers but only 0.1% or so can program them. This is nitpicking but I was curious: there are 4.4 million software developers in the US ( https://www.griddynamics.com/blog/number-software-developers... ). The population is 340 million, 0.1% would be 340,000. You’re off by over one order of magnitude.

there are 45 million devs in the world (out of which probably 10 can actually program) and 8.5 billion people

we could say 0.5%?

Re: The Unix Pipe Card Game

#43
post #21

Earlier quoted context omitted.

I’m wondering whether it could be played with a Unix box connected to the big TV in the living room so that with each command added to the pipe you can see the result. That’s my instinct for what to do with this, although it does feel like it is a play once kind of game.

Would this be something along those lines? https://github.com/williamcotton/guish It's a GUI for constructing and executing Unix pipelines and it shows the output of each step in the pipeline.

woah that looks nice!

Re: The Unix Pipe Card Game

#44

We need one for SELinux for adults, it'll lowkey force people who haven't taken the time to learn SELinux to learn it and be fully capable of using it without fear.

Well, there's a SELinux coloring book - you need to start with SELinux while they are still young! https://people.redhat.com/duffy/selinux/selinux-coloring-boo...

Re: The Unix Pipe Card Game

#45
post #36
post #7

As a science teacher and former software dev, I find this totally cute, and I understand exactly why the creator chose to make it a physical card game. That said, I do think the translation into a physical card game means that kids aren't getting the experimentation and near-instant feedback that they'd be getting if they were doing this digitally. In order for a kid to "win," they either have to already know, or exp…

hey, I just copy and pasted your comment into an agent I hope you don't mind. one shot result: https://wonderful.exe.xyz you could do the same, or I could give you access to this one if you want.

unreal that an agent knocked this out in one shot.

Re: The Unix Pipe Card Game

#46
post #7

As a science teacher and former software dev, I find this totally cute, and I understand exactly why the creator chose to make it a physical card game. That said, I do think the translation into a physical card game means that kids aren't getting the experimentation and near-instant feedback that they'd be getting if they were doing this digitally. In order for a kid to "win," they either have to already know, or exp…

One could make an app that actually scans the cards from a distance and computes the stuff. Brett Victor style.

Re: The Unix Pipe Card Game

#47
post #36

Earlier quoted context omitted.

hey, I just copy and pasted your comment into an agent I hope you don't mind. one shot result: https://wonderful.exe.xyz you could do the same, or I could give you access to this one if you want.

unreal that an agent knocked this out in one shot.

well, technically 2, my second was "good, now do it better"

Re: The Unix Pipe Card Game

#48
post #28
post #9

Earlier quoted context omitted.

As a young Linux user I always hated the experimentation aspect because usually it meant just straight up getting the command wrong 5 times before trying to read the man page, thinking I understood what the man page meant, trying again another 5 times and then giving up. This idea of experimenting and getting instant feedback is just survivorship bias for a certain type of person, not “the way we ought to teach Unix…

> usually it meant just straight up getting the command wrong 5 times before trying to read the man page, thinking I understood what the man page meant, trying again another 5 times I think that is a developer's superpower. The poncy term for it is grit. I tell others that the secret to leaning computers is frustration and persistence. > and then giving up. Knowing when to stop or change direction is hard. I've defin…

I consider myself a fairly good developer, and I think that's in large part due to knowing, "doing this should be possible, and the reason it's not working right now is just due to stupidity (my own or the developer of whatever I'm using's)". But yes, in a few (thankfully rare) cases it just plain isn't practically possible. Even then, I've given up on problems just to have it nagging in the back of my mind and then randomly coming up with a beautifully simple solution weeks later. That's sort of the essence of what I like about programming (and math too).

Re: The Unix Pipe Card Game

#49
post #31
post #7

As a science teacher and former software dev, I find this totally cute, and I understand exactly why the creator chose to make it a physical card game. That said, I do think the translation into a physical card game means that kids aren't getting the experimentation and near-instant feedback that they'd be getting if they were doing this digitally. In order for a kid to "win," they either have to already know, or exp…

> But I am having a hard time imagining it's the best way to learn to pipe together commands. To be honest, it is very strange how hard it is to teach programming concepts, for some reason almost all humans use computers but only 0.1% or so can program them. I am not sure we have the 'best way' to teach anything computer related. People develop world model for physics quite early, they know they can pull with a rope…

> I am not sure we have the 'best way' to teach anything computer related.

Not saying this is the best way, but have you followed any of Bret Victor's work with dynamicland[1]?

[1] https://dynamicland.org/

Re: The Unix Pipe Card Game

#50
post #9
post #7

As a science teacher and former software dev, I find this totally cute, and I understand exactly why the creator chose to make it a physical card game. That said, I do think the translation into a physical card game means that kids aren't getting the experimentation and near-instant feedback that they'd be getting if they were doing this digitally. In order for a kid to "win," they either have to already know, or exp…

As a young Linux user I always hated the experimentation aspect because usually it meant just straight up getting the command wrong 5 times before trying to read the man page, thinking I understood what the man page meant, trying again another 5 times and then giving up. This idea of experimenting and getting instant feedback is just survivorship bias for a certain type of person, not “the way we ought to teach Unix…

I'd like to add that, while anything will have some learning friction, learning the Unix CLI is rather unnecessarily painful.
Post reply on HN