Slashdot Mirror


Linux-Based Cat Feeder

prostoalex writes "Chris McAvoy is a UNIX administrator and an owner of two cats. So as a natural application of his work to his hobby he built this Linux-based cat feeder. A little hardware hacking and Python scripting can get you a device that would automatically disperse a yummy fish at specified intervals."

63 of 420 comments (clear)

  1. Sounds like... by nuclear305 · · Score: 4, Funny

    Someone has been watching too much Back to the Future.

    Nice to see some tech details instead of just pretty pictures though.

    1. Re:Sounds like... by Asgard · · Score: 5, Funny
      Or from another TV series:


      Dispensing Machine: Today's fish is trout a la creme. Enjoy your meal.
      Cat: Fish!
      Dispensing Machine: Today's fish is trout a la creme. Enjoy your meal.
      Cat: Fish!
      [...]


    2. Re:Sounds like... by AsbestosRush · · Score: 4, Funny

      How am I looking now? Still looking good!

      How about now? *Still* looking good!

      Or even better when Cat was taking the bullhorn around the ship announcing his availability to all females aboard and requesting them to form a queue.

      Good times.

      --
      EveryDNS. Use it. It works.
      AC's need not reply
    3. Re:Sounds like... by isometrick · · Score: 2, Funny

      "Garrick, please kern the double underscores in listing 2."

      Looks like Garrick was watching a movie instead of editing ... what is it with this guy?

    4. Re:Sounds like... by edlinger · · Score: 3, Funny

      "I'm so excited all six of my nipples are tingling!"
      -Cat

  2. I want chicken, I want liver... by ShatteredX · · Score: 5, Funny

    Linux, Linux, please deliver~

  3. Feeding time by mesach · · Score: 5, Funny

    I thought that feeding time was the only time that most cats paid any attention to you. Why on earth anyone would want to take that away I will never know.

    --
    moo.
    1. Re:Feeding time by Anonymous Coward · · Score: 5, Funny

      I got the BSD version. My cat started acting weird so I took it to the vet. He said it's dying...

    2. Re:Feeding time by lrucker · · Score: 5, Funny

      There's also book-reading time. I suspect the real reason ebooks didn't take off was that it's harder to hold an ebook in a position where the cat doesn't block it.

    3. Re:Feeding time by Anonymous Coward · · Score: 5, Funny

      Petcraft confirms it.

  4. Cat feeder by cyberfunk2 · · Score: 4, Funny

    I'd ask if this was completely nessicary, but knowing the forgetful habbits of nerds...

    Hell I'm suprised fluffy aint dead already.

  5. cat food /dev/cat by delire · · Score: 5, Funny


    there, i said it

  6. OK, so my only question is... by oGMo · · Score: 5, Funny

    What does it feed the cats to?

    --

    Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

    1. Re:OK, so my only question is... by AndroidCat · · Score: 5, Funny

      The bit at the top said something about a python! (The FA is /.'ed and there's a brandwidth seller's ad right under that. Hmm.)

      --
      One line blog. I hear that they're called Twitters now.
    2. Re:OK, so my only question is... by Malek+the+Damned · · Score: 2, Funny

      what do ducks have to do with it?

      =)

  7. Litter box by lsmeg · · Score: 5, Funny

    So can you also set up a cron job to clean the litter box?

    --
    It's OK! I'm a limo driver!
    1. Re:Litter box by ari_j · · Score: 4, Funny

      self-cleaning robotic litterbox ... does it run linux?

      I don't know, but as long as nobody makes a Beowulf cluster of them, I'll be happy.

    2. Re:Litter box by Anonymous Coward · · Score: 1, Funny

      There was also a product called Litter-Maid some time ago. We inherited one when its prior owner used it, and it (litterally) scared the piss out of their cat the first time it cleaned itself. Had to buy quite a lot of carpet when the cat decided it would rather piss and crap on the carpet than in the box.

  8. Overkill. by David+M.+Sweeney · · Score: 2, Funny
    Hardware hacking and Python? Pfft. All he had to do is this:

    % cat < /tmp/tastyFish

    What are they teaching young admins in college these days, anyway?

  9. something that feeds off cats by pyrrho · · Score: 5, Funny

    and it runs linux!!!

    finally a solution to the feral cat problem! Open Source ROCKS!!!

    and I think my dog will love it... she doesn't seem that fond of cats.

    what? read the article? excuse me... I only read titles... I'm American! If you don't get the meaning in that title... that's your bad.

    anyway... cat eating robots... my god what will they think up next!?

    --

    -pyrrho

  10. Cat fish? by Tackhead · · Score: 4, Funny
    > A little hardware hacking and Python scripting can get you a device that would automatically disperse a yummy fish at specified intervals

    Bah. On my system, cat and fish come preinstalled.

    So all I need to do for the specified interval bit is add a line to my crontab that looks something like this:

    1 * * * * "cat /usr/local/bin/fish | twofish | blowfish > seuss.fish"

  11. It could be... by angedinoir · · Score: 5, Funny

    the closest a linux geek ever gets to pussy.

  12. Food in tin cans by saddino · · Score: 5, Funny

    This reminds me of the old UNIX joke:


    $ cat "food in tin cans"
    cat: cannot open food in tin cans


    Of course, BSD's "cat: food in tin cans: No such file or directory" doesn't have quite the same effect.

    1. Re:Food in tin cans by bcmm · · Score: 2, Funny
      Modern commands are less fun. Even the traditional
      $ make fire
      Stop. Do not know how to make fire.
      $ why?
      why?: no matches.
      (or something like that) has been replaced by
      $ make fire
      make: *** No rule to make target `fire'. Stop.
      $ why?
      -/bin/bash: why?: command not found
      --
      # cat /dev/mem | strings | grep -i llama
      Damn, my RAM is full of llamas.
  13. Dispersing by pbalzac · · Score: 5, Funny

    a device that would automatically disperse a yummy fish

    Over how wide an area?

  14. that cat is going to starve by jellocat · · Score: 2, Funny

    if the server hosting his site is the same server feeding the cat, a new cat may be needed in a couple days

  15. Cats by Anonymous Coward · · Score: 1, Funny

    I don't want to start a holy war here, but what is the deal with you cat fanatics? I've been sitting here on my sofa in front of a cat (a sealpoint siamese) for about 20 minutes now while attempting to get it's attention away from a bug on the floor. 20 minutes. At home, with my labrador cross, which by all standards should be a lot dumber than this cat, the same operation would take about 2 minutes. If that.

    In addition, during this attention seeking attempt, my children's attention is also held by the cat. And everything else has ground to a halt. Even trying to get the remote from my partner fails.

    I won't bore you with the laundry list of other problems that I've encountered while dealing with other cats, but suffice it to say there have been many, not the least of which is I've never seen a cat that fetches as much as it's canine counterpart, despite the cat's faster ambulatory system. My terrier with one ingrown toenail runs consistently faster than this siamese at times, as the cat is often completely asleep. From a productivity standpoint, I don't get how people can claim that the cat is a superior animal.

    Cat addicts, flame me if you'd like, but I'd rather hear some intelligent reasons why anyone would choose to use a cat over other faster, cheaper, more affectionate animals.

    1. Re:Cats by PitaBred · · Score: 4, Funny

      Cheaper? My cat brings home half her food. And has the sense to not eat her own shit.

    2. Re:Cats by Anonymous Coward · · Score: 2, Funny

      My cat brings home half her food.

      Yeah. Mine does that too. Gross, isn't it? I wish she'd either eat the whole thing or leave the other half outside. :(

  16. Red Dwarf says cat wants many fish! by fermion · · Score: 5, Funny
    Machine: Hello. How can I help you?
    Cat: Fish!
    M: Today's fish is trout a la creme. Enjoy your meal.
    C: Fish!
    M: Today's fish is trout a la creme. Enjoy your meal.
    C: Fish!
    M: Today's fish is trout a la creme. Enjoy your meal.
    C: Fish!
    M: Today's fish is trout a la creme. Enjoy your meal.
    C: Fish!
    M: Today's fish is trout a la creme. Enjoy your meal.
    C: Fish!
    M: Today's fish is trout a la creme. Enjoy your meal.
    C: I will!

    cats, like basement trapped boys, have little else to do than figure out how to hack the machine.

    --
    "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
  17. Now you need a cat exerciser by Frank+T.+Lofaro+Jr. · · Score: 4, Funny

    Can't have the cat eating and not exercising, that wouldn't be too healthy.

    Too bad using a laser to exercise a cat is patented. :)

    --
    Just because it CAN be done, doesn't mean it should!
  18. Peronsally, by robyannetta · · Score: 5, Funny
    Personally, I'd like to see one of those robotic self-cleaning litter boxes hacked with their own version of linux. Think of the possibilities!

    You can program it to a solenoid on the front door. If someone opens the door, the robotic scooper is automatically put in "turbo" mode, rakes and shoots a sandy shit at you at 50mph. Hacking. It's just not for coffee machines anymore.

    --
    - Just my $0.02, take with a grain of salt, your mileage may vary.
  19. Microsoft is coming out with this too... by PHPgawd · · Score: 5, Funny
    In order to stay current with all Linux features, Microsoft Feed (tm) will be bundled with the next major release of Windows.

    The early insider-only reviews contain the following highlights:

    • The feeder dispenses 70kg of food at a time no matter what size cat you have.
    • Users of the feeder must use Microsoft CatChow (tm) or an authorized, licensed, compatible cat food (MS-ALCCF). Non-Microsoft licensed cat foods "may" cause your cat to crash.
    • The feeder contains hidden, Microsoft-only APIs to connect to Microsoft LitterBox (tm) and Microsoft ScratchingPost (tm). These products will be available early next year.
    • To show Microsoft's committment to open standards, any kind of water may be used with the Feeder product, although Microsoft may "extend" the Water Standard anytime in the future in incompatible ways.
    1. Re:Microsoft is coming out with this too... by museumpeace · · Score: 3, Funny

      hard to type and giggle at the same time but I gotta add that I would have been more worried about a DOS attack on the fish server. or If someone hacks the cron job and the system has piled up 40 lbs of formerly fresh mackerel on the kitchen floor by the time you get back from a summer weekend at the beach...eyuuch!

      --
      SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
    2. Re:Microsoft is coming out with this too... by Brandybuck · · Score: 4, Funny

      Years ago I got up in the morning and started my commute to work. As I got into the car I detected a faint fishy smell. Twenty miles from work it was a bit stronger. Then miles and I knew something was up. Was it some weird weather that wafted the scent of rotting whales in from the coast two hundred miles distant? Five miles from work and my eyes started to water, as I catch an aroma like there's a fish sauce convention nearby. I finally get to work and notice the hazmat teams in the downtown district of the city where I worked.

      Turns out that digging the basement for a new downtown building had broken into two 100+ year old fish oil tanks from 100+ year defunct fish oil company. The downtown was pretty much closed for the entire week. Nasty, nasty, nasty. It was like goatse for the nostrils...

      --
      Don't blame me, I didn't vote for either of them!
  20. Prepositional playfulness... by Colz+Grigor · · Score: 5, Funny
    I've heard of feeding cats to pythons, but this is definitely the first time I've read about feeding cats with Python!

    ::Colz Grigor

  21. ALF by dsb · · Score: 2, Funny

    doesn't he feed on cats?

  22. insightful? by pyrrho · · Score: 4, Funny

    I thought it was funny.

    from a slashdot perspective it's insightful... a lot of geeks just went... "good point... perhaps I should modify my fish dispersal plans"

    --

    -pyrrho

  23. Cliche alert... by Linker3000 · · Score: 3, Funny

    Wow...imagine a feral pack of those!

    --
    AT&ROFLMAO
  24. That's nothing by EnronHaliburton2004 · · Score: 2, Funny

    Man hacks computer to feed cat.

    That's nothing.

    My cat hacks on my computer all the time.

  25. Should have used Mac OS X by snuf23 · · Score: 3, Funny

    Given the low cost of the mini, is there really any excuse to do this on a Linux box?
    Some big, ugly, noisy PC, ugh.
    The small form factor makes it ideal for projects like this. And it's so quiet you can still hear your cat purring when it sits right on top of the mini.
    I mean considering the solid BSD based nature of OS X and the elegant Apple aesthetic, I really think the cat would be more likely warm up to a new iFeeder rather than some generic Linux POS box.
    I think iTunes integration would be pretty easy to do to. This is a serious advantage that no other OS can offer. Then kitty can be informed of cat food refresh by the playback of an appropriate song. Perhaps something by the Jingle Cats?
    I'm currently working on a mod I call the iFlush which uses the mini to automate the process for toilet flushing. The great thing is how well the mini's white and silver style complement my porcelain and steel bathroom environment.

    --
    Sometimes my arms bend back.
  26. Re:cat food /dev/cat by Coryoth · · Score: 4, Funny

    cat food > /dev/cat

    Now if you were a serious UNIX and hardware hacker you'd have your cat feeding system work by regsitering the food dispenser as /dev/cat, have the raw byte instruction sequence required to make the dispenser operate stored in a file /food, and then, indeed, you simply add

    30 9,18 * * * cat /food > /dev/cat

    to your crontab.

    Jedidiah.

  27. You forgot... by NoseBag · · Score: 4, Funny

    ... Encoding in the 70Kg food cartridge will automatically expire in 60 days - necessitating the purchase of additional Tasty-Gates(tm) cat food.

    --
    Cloned foods give the statement "We had that last week!" a whole new meaning.
  28. Link to the web interface by Bushcat · · Score: 2, Funny

    From the web interface to the feeder at http://kittens.lonelylion.com/index.py, the cats seem to be getting around 2 fish treats per second right now. That's two happy kitties, unless they're caught in the dispenser's paddles, of course.

  29. Re:The real deal by Anonymous Coward · · Score: 1, Funny

    Since it's coming up to the end of another academic year I thought I'd take this opportunity to explain how lucky you Americans are to have a fraternity system.

    English Universities are so dull by comparison. Like most students in England I had to rent private accommodation for my second and third years, but it never occurred to us to build a whole culture around collectively renting a rather dilapidated house in Clapham. It wasn't even single sex accommodation, so we couldn't engage in the fun and games of para-homosexual activities - Girls just don't have the same grip on your loyalties as your Greek brothers.
    ;-)

    And while cliques certainly form in English Universities, the are all much too boring to come up with the idea of hazing. I fondly recall diving off a weir and almost drowning when I was 12 because everyone said I was chicken. If only it had been possible for me to gain respect in later life through similar tests, and if these tests could have been combined with pseudo Masonic rituals culminating in the awarding of a little badge, then that truly would have made my time at University worthwhile. And while I still have friends from University, these friendships seem so hollow compared to bonds of fraternal brotherhood since they are not based on solemn vows of fellowship, mutual sacrifice, group solidarity and owning the same poxy little badge.

    Then there's sheer joy alcohol seems to bring fraternity members. By the time I went to university the delights of getting dangerously drunk at parties had started to seem mundane. But to American students in fraternities, the bravado of excessive alcohol consumption is a an exciting new and illicit game where you can prove yourself worthy to all your male friends and simultaneously circumvent college alcohol policy - thereby proving what a rebel you are too. Gosh.

    I am also rather fond of the references to ancient Greece. It reeks of a history far nobler and grander than anything a British University can instill its students with, and the wearing of togas must make it seem as authentic as a ploughman's lunch.

    I think what I am trying to say is that Fraternities give young Americans the chance to grow up in their own time, and that it is regrettable that no similar opportunity is afforded to European Students. In particular, I find it sad that even some American students forego the opportunity to wear togas and claim to be Greek. Really this should be mandatory, so every graduate will be secure in the knowledge that they have gained something much more valuable than a degree from an American University - a little badge with some Greek letters on it.

    Although I am not American, I admire the system so much that I would dearly love to become an honorary member of a fraternity. I have set my heart on becoming an alumnus of Theta Omicron Sigma Sigma Epsilon Ro Sigma. I do so hope this is possible.

  30. But... by CSG_SurferDude · · Score: 2, Funny

    Wait!

    Does it run Lin...

    Oh, wait, never mind....

    Somebody HAD to say it!

  31. Robot Feeds Kitten by ps_inkling · · Score: 2, Funny
    If everyone who visits /. visited and dropped a treat for the kitties, I would imagine the kitties are probably quite ill.

    Too bad there's not a webcam of the pile of kitty treats in front of the server. Over 3000 treats have been dropped, but no indication of the timeframe.

    I wonder if the web spiders feed the kitties...

  32. Re:This ties in to my own project. by wasted · · Score: 2, Funny

    And to automatically dispose of the deceased felines, you could automate a catapult. You probably couldn't patent it though, since I believe the French use of the device to dispose of cats in Monty Python and the Holy Grail constitutes prior art.

  33. Obligatory movie quote by The+Llama+King · · Score: 2, Funny

    Dear Kitty,

    I hacked you a delicious bass.

    --
    C'mon, baby, kiss The King.
  34. Re:Meow Meow by Anonymous Coward · · Score: 2, Funny

    Fuck you, I'm a retard and I find the comparison to Windows progammers offensive!

  35. But what does it feed ... by IchBinEinPenguin · · Score: 2, Funny

    ... the cats to?

    OH... it provides food FOR the cats. Silly me.

  36. Redundant by Nailer · · Score: 4, Funny

    cat already accepts stdin on Unix.

    What'd be more interesting is tac - which works like cat, except backwards ;^).

  37. When my cat gets really hungry, by Stephen+Samuel · · Score: 2, Funny
    It just eats my mouse...

    and then spends the next 2 hours throwing up plastic-coated furrballs.

    --
    Free Software: Like love, it grows best when given away.
  38. Re:cat food /dev/cat by grondak · · Score: 2, Funny

    In Version 2.0, the core team comes along and performs the following optimizations:

    1. rename /dev/cat to /dev/catfeeder.
    2. add /dev/cat pointing to the cat itself. Reading /dev/cat blocks until the cat is hungry.
    3. add a device for /dev/catfoodbin. Reading /dev/catfoodbin returns the number of feedings left in it.
    4. add crontab entry corrected to take advantage of these capabilities.

    Then the source forks when a Microsoft astroturfing campaign tries to add DRM to the cat food (see that other Funny post)

    Enhanced to extinction. There ya go.

    --
    [Error 407: No signature found]
  39. Wrong device by ingo23 · · Score: 3, Funny

    You got it all wrong. The proper way would be

    cat < /dev/mouse

    1. Re:Wrong device by Coryoth · · Score: 4, Funny

      I tried that, but apparently I have Speedy Gonzales attached to my machine and the cat is struggling:

      bash$ cat /dev/mouse

      cat: /dev/mouse: permission denied

      If the cat has to get permission from the mouse, there are always going to be problems.

      Jedidiah.

  40. Re:I have the following to say: by Almost-Retired · · Score: 2, Funny

    you should rethink your position as a cat owner

    When are you all going to get it straight that you do not 'own' a cat? Its impossible. because the cat will never aknowledge it.

    OTOH, the cat may own you...

    while (!learned) {
    To a dog, you are the Master;
    To a cat, you are just staff;
    }

    --
    Cheers, Gene

  41. to truly be Linux based by SpacePunk · · Score: 2, Funny

    it would have to dispense herring.

  42. Re:cat food /dev/cat by RFC959 · · Score: 2, Funny

    Damn it, has everyone forgotten the old jokes?
    cat "food in cans"
    Unfortunately, it does not give the funny answer ("...cannot open...") on a lot of platforms these days.

  43. Re:WTF? by NanoGator · · Score: 2, Funny

    "I don't understand peoples desire to needlesly complicate simple projects."

    Not every project has to be uber-practical, especially when somebody's lookin to expand their knowledge and have a little fun.

    I swear, some people here need to have their nerd license revoked.

    --
    "Derp de derp."
  44. Re:Slashdotted, here's the Google Cache by BLAG-blast · · Score: 3, Funny
    It's worse than a slashdotting, I won't provide the direct link to the automated cat feeder control page, but I don't think Cotton and Tulip are hungry just now:

    Cotton and Tulip have been fed 5557 times

    Meow?

    Hopefully it ran out of food after the first few 100 clicks!

    --
    M0571y H@rml355.
  45. Fake alert!!! by Gaardenzwerch · · Score: 4, Funny
    This is obviously a spoof!
    UNIX administrator and an owner of two cats

    Anyone with cats knows that this should read:
    UNIX administrator and owned by two cats
  46. Re:Dispenses fish by Tassach · · Score: 2, Funny

    You need the gown, towel, satchel, and junk mail extension for that.

    --
    Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?