TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: The Unix Pipe Card Game – teach kids basic Unix commands

216 pointsby throwaway47292over 2 years ago

18 comments

1vuio0pswjnm7over 2 years ago
In the example.jpg image, we can see an example with sort -R &quot;to shuffle the input (random sort).&quot;<p>But sort -R does not randomise input if one is using NetBSD.<p><a href="https:&#x2F;&#x2F;man.netbsd.org&#x2F;sort.1" rel="nofollow">https:&#x2F;&#x2F;man.netbsd.org&#x2F;sort.1</a><p>A POSIX-like sort has no -R option. See, .e.g, Plan9 sort or early versions of FreeBSD or OpenBSD. Early Linux did not have this non-POSIX option either. For example, look at Debian, RedHat, SuSE and other distributions in the mid-2000&#x27;s. HP-UX, Minix, BusyBox, and so on have no -R option.<p>A different approach to teaching &quot;basic&quot; UNIX commands would be to focus on the portability and &quot;lowest common denominator&quot; and ignore non-ubiquitous options like -R. Ask the student what sequences of commands, i.e., scripts, will work on all UNIX&#x2F;UNIX-like OS regardless of the age of system. From that &quot;basic&quot; foundation, one can then learn how the programs have evolved to become larger and more complicated (a side lesson about bloat) and all the OS-specific differences between them.
评论 #33229801 未加载
falcor84over 2 years ago
Looks a bit simulator to the online Unix Game, which I really like:<p><a href="https:&#x2F;&#x2F;www.unixgame.io&#x2F;unix50" rel="nofollow">https:&#x2F;&#x2F;www.unixgame.io&#x2F;unix50</a>
评论 #33223744 未加载
petespeedover 2 years ago
More from the author: <a href="https:&#x2F;&#x2F;github.com&#x2F;jackdoe&#x2F;programming-for-kids" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jackdoe&#x2F;programming-for-kids</a>
1MachineElfover 2 years ago
The photo at the bottom appears to be some small ergonomic keyboard (maybe an Atreus?) built into stained wood along with a screen. Perhaps it is a cyberdeck? Curious to know more.
评论 #33226779 未加载
ajotover 2 years ago
Is there any way you could&#x2F;would change the license from ND to something else allowing derivatives? I would love to see translations of these!
评论 #33224488 未加载
patrickdaveyover 2 years ago
I would love a Kickstarter (or something similar) with this. Would totally buy a nice set.
sparr0over 2 years ago
I reformatted and uploaded the game to a US-based print on demand game publisher. If you can&#x27;t print your own and need a copy before the author has them back in stock or don&#x27;t want to ship from the UK, here you go:<p><a href="https:&#x2F;&#x2F;www.thegamecrafter.com&#x2F;games&#x2F;the-unix-pipe-card-game" rel="nofollow">https:&#x2F;&#x2F;www.thegamecrafter.com&#x2F;games&#x2F;the-unix-pipe-card-game</a><p>Full disclosure, I will make about a dollar from each purchase.
Zhylover 2 years ago
There&#x27;s a typo on the instructions page. The example has &#x27;rises&#x27; but the rest of the explanation uses &#x27;raises&#x27;<p>I love this as a concept, though.<p>I think if I were to expand this I&#x27;d maybe have pre-defined strings for the greps, cards with results on, number pre-selected etc. This makes it more of a &#x27;find the card&#x27; or &#x27;matching&#x27; game than a problem solving game, but it would make it more kids-card-gamey
评论 #33228552 未加载
avsteeleover 2 years ago
Nice. Was trying to print out the programming set for my son, but its too hard to read.<p>Can anyone get these to printout larger, and where the grey comments are less washed out?
评论 #33226242 未加载
dlgover 2 years ago
Is the creator thinking of doing another printing? If not can someone recommend a service that will print a high quality card deck given the PDF?
评论 #33223739 未加载
评论 #33226079 未加载
ForOldHackover 2 years ago
I was able to complete everything that does not involve Random. I am working on a solution as a wrapper for the sort function, that involves the last digit of the seconds clock.<p>The amount of shells that run in the browser, amazing, the number of new shells that run well in the browser - amazing.
CaptainRefsmatover 2 years ago
My first thought when I saw this was &quot;stocking stuffer&quot;. It sounds a little bit pricey for DIY, though. The Python game sounded interesting, but my initial impression was that it would be way too advanced for beginners. Am I missing something?
loonsterover 2 years ago
You should add this game to boardgamegeek. They will also host the files for you if you want.
评论 #33223609 未加载
jdthediscipleover 2 years ago
Looks nice, though my guess is it would be more appealing to kids if it used more color, a bigger font size and a more &quot;fun&quot; font family like Comic Sans perhaps.<p>Nice work though, would definitely consider this for my own kids.
评论 #33223160 未加载
评论 #33223106 未加载
nixpulvisover 2 years ago
This is brilliant. Every office should have this!
mrashesover 2 years ago
Oh man! Love it. Great Idea!
wodenokotoover 2 years ago
I love Unix pipes and I love the immense computational power you can achieve through streaming pipelines. You hear stories of people processing terabytes of data faster and cheaper than a distributed cloud solution, by the virtue of Unix pies[1].<p>But I don’t really see them in any other environment. I can’t think of anything that uses something similar except for big, distributed data processing pipelines like Apache Beam.<p>Where’s the Python with streaming pipelines?<p>[1] <a href="https:&#x2F;&#x2F;livefreeordichotomize.com&#x2F;posts&#x2F;2019-06-04-using-awk-and-r-to-parse-25tb&#x2F;" rel="nofollow">https:&#x2F;&#x2F;livefreeordichotomize.com&#x2F;posts&#x2F;2019-06-04-using-awk...</a>
评论 #33227371 未加载
评论 #33224528 未加载
EdSchoutenover 2 years ago
I&#x27;m not saying that this isn&#x27;t a great way for people to familiarize themselves with basic Unix shell commands. That said, why would you want to teach this to <i>kids</i>?
评论 #33226229 未加载
评论 #33225664 未加载
评论 #33225577 未加载