Programming for Cats
programmingforcats.com
programmingforcats.com
So, a hodgepodge of bash, basic, Python, JavaScript and some C. Or Java if it happens to be just on top in some menu. And NIH: obviously theyr own ZiggyLang or ZazaScript.
Java has so little syntax—and yet what little syntax it has is C-ish—that it's mutually intelligible to everybody from programmers who only know C, to programmers who only know Haskell. (Maybe not to programmers who only ever learned 6502 assembler, but they have their own humor books published 40 years ago.)
(Is there a term for this in linguistics? A measure of the eigenvector of mutual intelligibility a language has to all other spoken/written languages?)
Java doesn't seem a bad choice because if one sticks to the basics probably everybody can figure out what a simple program does. Smalltalk, I wonder how many people here ever read a Smalltalk source file [1]. Lisp, maybe more, at least to look once at all those funny parentheses (disclaimer, I wrote my fair share of Lisp but I know the effect it does on most people.)
[1] One random Smalltalk project from the list of trending Smalltalk repositories on GitHub https://github.com/svenvc/zinc
I don't really know Java. But I know C, and Java looks enough like C that I can get what Java code is trying to do.
Personally, I've never learned any language with similar-enough syntax to BASIC, to understand what a (real, non-trivial) BASIC program is trying to do. Would I recognize a BASIC subroutine if I saw one? Probably not.
And it's not about a language having "less" syntax, either, but rather about it having very few syntactic features that're unfamiliar. Smalltalk is a rather large novelty the first time you see it. (`ifTrue`? You mean I've got to use closures to branch?)
A few folks have already vented that they don't like it. Don't care too much about it. A good bunch of people might love a book like this.
Secondly, I applaud the style/premise of the book. Cats especially are aiming at an underserved demographic that would absolutely be interested in programming but do not have the same number of and level of quality of 'ins' (ways of getting into programming) as other demographics. Along the same lines I would love to see 'scripting for Sims 4 builders' or 'Love Calculator and other scriots for your next sleepover'.
Thirdly, I really like the way that this is pitched. I feel like so few tutorials give a high level overview of programming rather than diving into specifics of languages. I can only think of "Hello Ruby" as being analogous, although I'm sure others exist.
Finally, I love the art style. Not much more to be said than that.
I can't really think of anything critical to add.
Why Cats Paint - A theory of feline aesthetics
Buying it either way but it might be a means to finally kindling an interest into it in my spouse. :P
man cat
Bash Shell -> Fish Shell
And if it was shellfish it would be a PITA to Google it.
The 'sh' goes at the end. Shhhhhhhhh.
# eix sys-apps/dog
* sys-apps/dog
Available versions: 1.7-r6
Homepage: https://packages.gentoo.org/package/sys-apps/dog
Description: Dog is better than cat
:)SHEEPDOG(8) System Manager's Manual SHEEPDOG(8)
NAME dog - Command line utility for the sheep daemon
SYNOPSIS dog <command> <subcommand> [options]
DESCRIPTION dog - Sheepdog is a distributed storage system for QEMU. It provides highly available block level storage volumes to virtual machines. Sheepdog supports advanced volume management features such as snapshot, cloning, and thin provisioning. The architecture of Sheepdog is fully symmetric; there is no central node such as a meta-data server.
The server daemon is called sheep(8). A command line utility is avail‐
able via dog(8). QEMU virtual machines use the sheep daemon via a
block driver available in qemu(1).
For more information, run 'dog <command> <subcommand> --help'.I loved the characters, sidebars and various stories; I don't remember too much of the Ruby content, however.
:-)
In the sea of "Corporate Memphis" [1][2], it's pretty refreshing to see the good stuff.
[0] https://www.karendonnelly.com/
[1] https://news.ycombinator.com/item?id=22890877
[2] https://www.are.na/claire-l-evans/corporate-memphis
PS - Feedback to the author: Dogs really love JPEGs in the PDF, so try to use SVG format instead.
I was hoping this was in that domain.. but alas, I could see this being entertaining to 8-14 year old children.
* I am Bunny (a very fluent dog) ( https://www.youtube.com/channel/UCEa46rlHqEP6ClWitFd2QOQ )
* BiliSpeaks (a cat) ( https://www.youtube.com/channel/UCGMTesZlKa0Lokb7ZNqOJXQ )
Or adults with a working sense of humor.
You you get C@
Subreddit for Cat related programmer jokes:
$ /bin/cat - | python -
print("Hello, world!")
^D
Hello, world!I am a big proponent of the idea of fusing art and technical content in a pedagogical way.
This is really nice, even if I'm not the target audience, I can appreciate just how much care and effort went into this work. Best of luck moving forward!
https://andrewnc.github.io/preview/toc.png https://andrewnc.github.io/preview/page_20.png https://andrewnc.github.io/preview/page_94.png
There is a PDF version online that is "half priced" on gumroad to try and make it affordable for those who don't need a hardcopy
Ah - so you’re not a cat?
eject /dev/sr0 && read && eject -t /dev/sr0
The `read` is there so I only have to press the Enter key to close the disc tray before my feline fired catches it (I learned the hard way when the motor stopped working on `/dev/sr1`). He’s clever enough to have figured out that it’s me typing on the laptop that causes the DVD tray to eject and he gets equally excited when he sees me pick up the remote control for the Blu-Ray or CD player.The man was surprised but overjoyed. A few years passed with both having a great time together, and one day ...
A mouse appeared in front of the woman and she grabbed it with her tender hand and ate it raw and alive right that very moment.
The man was disgusted to see this and the God remarked "Look I can change a being from outside but what they are inside even I can't change!"
Disclaimer: No pun intended; just sharing after reading the title for fun. No offence to cats around :)
Coincidentally, after I managed to get my sister to name her daughter Ada after the programming language, I will eventually have to make an effort to get her acquainted with programming. This book will make a good starting point.
Changing <body> CSS rule to "color: black; font-weight: normal" was required to actually read the page here
“Juvenile humans, in particular, are capable of having their internal logic be permanently reconfigured by repeated exposure to certain powerful instructions. These kinds of devices are called purrgrammable logic devices.”
Excellent work!
Good job!
If you can’t sit down for an hour to learn something, you’re going to hate programming because that’s literally the entire job.
I.e. this might be one of those books which is meant to be bought as gifts for others, regardless of whether the recipient will read them or not.