Hacker News new | past | comments | ask | show | jobs | submit login

I just wanted to say, I enjoyed the little pixel art cat that runs towards wherever you click immensely. It’s one of those fun, whimsical little touches that I don’t see all that often. A reminder that the internet can be a fun, whimsical place if we want it to be :)



As I didn’t get that, it seems like the dev honors prefers-reduced-motion, and doesn’t display it in that case. Excellent of them, give joy to those who want it, prevent annoyances for those who hate them.


It does: https://github.com/adryd325/oneko.js/blob/main/oneko.js

       const isReducedMotion =
         window.matchMedia(`(prefers-reduced-motion: reduce)`) === true ||
         window.matchMedia(`(prefers-reduced-motion: reduce)`).matches === true;
     
       if (isReducedMotion) return;
     
Simple but effective. More websites should include this check. Well done, adryd325!


Same for me, on FF you can override it with:

  about:config
    ui.prefersReducedMotion = 0
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...


It's doing great for being a 35-year-old cat!

https://en.wikipedia.org/wiki/Neko_(software)


On Debian, you can install and run the cat with

    sudo apt install oneko
    oneko &
Makes a great gift for colleagues who leave their computer unattended.


Well that was a rabbit hole.

Current version is hard to even see with high-res screens. A few checks shows endless ports, code from the 90s and before, and all sorts of other fun.

Wonder if the author will reply.


You have sudo access to your colleagues computers?


I don't, but I run the same system configuration, so I can compile it on my computer, transfer it and run it.

Alternatively, if a compiler such as gcc is available, you could also run

    # https seems to be broken on this website currently
    wget http://www.daidouji.com/oneko/distfiles/oneko-1.2.sakura.5.tar.gz
    tar -xf oneko-1.2.sakura.5.tar.gz
    cd oneko-1.2.sakura.5/
    gcc oneko.c -lX11 -lm -o oneko
    ./oneko &
    cd ..
    # remove all traces
    rm -r oneko-1.2.sakura.5 oneko-1.2.sakura.5.tar.gz


so, to remind your coworkers that they should securely lock their computer, you download some software from http and run it on it?


Not the person you're responding to but my workplace has a special internal link precisely to "remind" coworkers to not leave unlocked laptops unattended.

Don't worry, it's https ;)


No. As mentioned before, I have a precompiled binary. But you are right about security, so here is how to verify the SHA-256 hash of this file:

    printf '2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f\t oneko-1.2.sakura.5.tar.gz' | sha256sum -c


It's cute but I just can't focus on the article knowing the cat is gonna move every time I move my mouse or scroll. I popped open my console and deleted him. Sorry, kitty


And here I was wishing it would go away and trying to find a way to hide it because on my phone it was always covering text. Firefox reader mode worked.


I found it, like an actual cat, extremely distracting.


it sits when it's next to pointer. just don't move your mouse.


For the curious, that specific cat goes back to 1989:

https://en.wikipedia.org/wiki/Neko_(software)


On desktop it follows the mouse no need to click.


I did not. On the firefox mobile browser it was just using screen space.


It is distracting and annoyed me, I stopped reading because of it.


I thought it just ran around on the top line of the header, and was quite taken with it. I then scrolled and it followed me right into the middle of a paragraph. Less taken, but cat's gonna cat.


I guess it's removed? I don't see it. On Windows Chrome.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: