@starless I love buffering cause people point at it and go "look it's so much more efficient for large files" and then you have to actually allocate memory on the heap which takes up more processor cycles than just doing the whole thing without buffering up until a certain size

Love to have a slower printf for small strings, luckily I never have to print short strings

@dragon I feel like I'm getting a code review via toot! :P

I mostly tend to focus on the end goal so much that I find I get bored with even the most minor complexity introductions until the whole thing 'works' end-to-end... But I might just be, like, some kind of barbarian dev here.

@starless omg sorry idk why I @ed you!!! also no thats super valid tbh

@dragon lol no worries. I was just like "Wow, they must be talking about my little cat tarot printer project. Okay, okay, this is weird, but maybe not that surprising for mastodon."

Silly me. :P

Follow

@dragon social.pixie.town/@starless/10

it's a little python script that prints out a pseudo-random tarot card (no fancy seeds or anything) and a little interpreted meaning on a receipt printer. I just updated it to work on a bluetooth cat printer off ali express ($20 if you've got cash to burn).

· · Web · 1 · 0 · 1

@dragon Thanks! Yeah, the printer looked *adorable* so I got it and forked the repo that hacked the BT control scheme.

Unfortunately, the graphics resolution isn't as good as the espos python one that I'd been using before, so there's that, but like... It's pretty cool, and people really get delighted by it.

If I could trivially make a little android app, I'd make one that calls the script when the phone is turned over (gyroscope?) while the app is running so that you 'draw' a card by turning over the phone (displaying the image of the back of a card).

@starless but whats the point of having it on ur phone when u can have a cute little kitty give u ur fortune!!! also I think it works well like the resolution definitely didn't seem bothersome :3

@dragon nono, the kitty would! Just when you turn over the phone it would send the signal to print it

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.