this post was submitted on 03 Apr 2024
425 points (89.1% liked)

Programmer Humor

32267 readers
19 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 88 points 6 months ago (28 children)

How is this funny? 8 Upvotes at current writing???

[–] [email protected] 164 points 6 months ago (21 children)

It's kind of funny because it looks like it is nonsense dreamt up by a non-programmer. But it actually works.

[–] [email protected] 30 points 6 months ago
from Lemmy import Upvote
from Fediverse import Posts
from ActivityPub import Submit

target_post = 'https://lemmy.ca/post/18691085'
num_votes = 8

post = Posts.open(target_post)

package = Upvote(post, num_votes)

package.Submit(target_post)

or something

load more comments (20 replies)
load more comments (26 replies)