Show newer

unfortunately the deno devs use AI now so this has to happen in an alternate universe where me and @Lady forked an old version of deno and maintain a Good runtime

Show thread

me: programmers' tendency to use their programming language of choice puts development teams in situations where they put square pegs in round holes instead of learning new languages better suited to their problem. programmers should be more open to learning new languages

also me:

Show thread

i hope the data science and stats people move to javascript so i can use only javascript forever

they will literally send you to jail for learning concepts in your own weird way that makes sense to you

🅱️🧲Ⓜ️🅱️Y :clodsire_head:​​:clodsire_tail: 🇱 🍞🅰️🇫

@aescling we must have a normal clodsire emojo without the hat or else report

Balatro and Slay the Spire

I hate that the two hour video that roasts c++ has AI generated images in the background for the whole thing because it is a really good video otherwise

I remember when Holly boosted one of her posts and I went to comment at how good she was at Posting, only to see that I had commented on the post months before with the exact same sentiment

That girl crazy and sleep deprived.
She a yawndere

I encountered a fun coding challenge while programming today.

Suppose you are teaching a class and you brought with yourself a bag of candy to hand out to your students. You want to hand out every piece of candy, but do it in a way that disperses the candy provided to each student as evenly as possible. No student should have more than 1 extra piece of candy than any other student. Exactly which students get the extra pieces of candy does not matter.

Task: Write a function that takes N students and M pieces of candy, where M > N, and returns an array of length N showing the amount candy given to each student.

Followup Task: Generate this array in O(N) time, where N is the number of students (NOT the amount of candy!)

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.