Show newer

fun python/console trick: you want to print an increasing number without making a bunch of lines?

sys.stdout.write('\r%d' % i)
sys.stdout.flush()

carriage return without newline

Show thread

as soon as i confirm the scraping and tooting works i'll publish the code on github, i'm actually pretty happy with how this turned out ???

Show thread

i'm actually having a bit of fun programming right now ??? like i'm happy seeing the results i want

i wanna open up all my devices, desolder red power LEDs and replace them with green ones. live in a nice positive green cyberpunk future instead of a dreary red one

@somarasu i wouldn't know how to work with a curator either it's ok

i wish i could literally give someone full access to my hard drive and everything i've ever done and just go "here do you wanna organize this for me"

i wish i knew how to organize the things i do to better showcase them to people

a lot of it already got lost to time

and here's some Processing sketches

i kinda wanna put these in my website with processing.js some day so people can just see them running without having to download Processing

gist.github.com/Lana-chan/bc0e

this isn't super useful unless you make a ton of python mastodon bots like i do but here have a gist gist.github.com/Lana-chan/b0d9

@Vann@glitch.social i think i'm just not happy about it scraping every single toot instead of limiting itself to only the ones it hasn't yet so i'll have to write my own from scratch anyway

@Vann@glitch.social so will this only scrape once every time i run main.py? what about new toots after that

do i need to re-scrape the whole account every time

@Vann@glitch.social yeah something like this is what i wanted to do and i could only find it made in ruby

thanks

i don't feel like coding one up from scratch but i also don't want to touch ruby. does anyone want to set one up for me

Show thread
Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!