this post was submitted on 27 May 2024
1068 points (99.4% liked)

Programmer Humor

18206 readers
1335 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] roguetrick 1 points 5 days ago

A self revoking license. You can only use or distribute this software if you've made the last commit.

[–] [email protected] 168 points 1 month ago (3 children)

Ok, I might be misunderstanding here, but since committing changes is allowed for everyone, doesn't this mean fixing bugs is something you could do? You'd just be stuck with all the other rights as well until someone else makes a change.

[–] [email protected] 87 points 1 month ago* (last edited 1 month ago) (6 children)

The main dev made the last commit, so they dont have the right to make another commit, until they arent the last person to make a commit anymore (until someone else has made a commit). This makes sure that there are at least 2 people making commits but hopefully much more.

In other words, making a commit revokes your right to do so until someone else makes a commit.

[–] [email protected] 84 points 1 month ago (2 children)

Am I just bad at reading? It says the right to make changes is granted to everyone one Earth. That would include the last person to make a commit as well, assuming they're a citizen of Earth. I'm sure what you're saying is what it's supposed to say, but it isn't actually what it says.

[–] [email protected] 38 points 1 month ago (1 children)

All rights reserved by......, except the right to commit to this repository.

Being a legal license it requires much more rigorous and clear statement

[–] stankmut 45 points 1 month ago (3 children)

You can't just ignore the second part of that sentence which gives the right to make commits to all citizens of earth. That would include the person who wrote the last commit.

[–] [email protected] 23 points 1 month ago (1 children)

Yeah, that should read "all other citizens of earth".

[–] [email protected] 23 points 1 month ago (1 children)

I'm pretty sure it means exactly what it says, but you lot are all misreading it.

I interpret it as "all rights, except the right to commit, are reserved" (which doesn't mean you surrender the right to commit, but rather that it's the only right you aren't depriving everyone else of)

[–] [email protected] 12 points 1 month ago (1 children)

And I'm pretty sure that the name "hot potato license" and the comment above the license are very strong indicators for this not being the case. The license is meant to mimic a game of hot potato where you get the code for a short moment (one commit) and have to throw it to someone else. Sure, the analogy doesn't quite work because you can't decide who has to make the next commit but it would make even less sense if you were able to keep control over the code and add more and more commits. That would defeat the whole point of naming it "hot potato license".

load more comments (1 replies)
[–] [email protected] 6 points 1 month ago

Are you doxing OOP right now??? How do you know they life on earth?

[–] [email protected] 4 points 1 month ago

Thats why I said it needs to be more rigorous. The license probably meant Everyone in the earth except the last person who commited to it

load more comments (1 replies)
[–] [email protected] 56 points 1 month ago

That may be what they meant, but that's not what it says.

load more comments (4 replies)
[–] [email protected] 30 points 1 month ago

the fact that there are this many people having different interpretations shows that the license would need waaaaaay clearer wording to hold any sort of water.

this is why i hate licenses like WTFPL and its ilk, just saying "do whatever" cannot possibly be legally viable and thus using anything with such a license is impossible by anyone who cares about copyright law (such as say, companies).

If you want your creations to be free for all to use, just slap a fat CC0 on it.

[–] [email protected] 10 points 1 month ago (1 children)

Yeah, the problem with the proposition is that you have all rights and access to the code regardless of who made the last commit, unless the last person to commit revoked the HPL.

load more comments (1 replies)
[–] [email protected] 99 points 1 month ago (1 children)

But in a moment of legal discovery, it was found that "GitLab Support Bot" always owns the repository since it creates the merge commit after CI runs.

[–] [email protected] 21 points 1 month ago (1 children)
  1. The bot is not a person and this cannot have the rights
  2. Just don't use something as fancy as that. CI for a HLP project? Wth are you doing, there aren't even tests
[–] mynameisigglepiggle 10 points 1 month ago (1 children)

You don't have to be a person to have the rights of a person. That's what a corporation is.

[–] [email protected] 5 points 1 month ago (3 children)

But the license mentions all of earths citizens. Corpos can't be citizens, right? Legal terms are confusing.

load more comments (3 replies)
[–] [email protected] 61 points 1 month ago (1 children)

"It's not my code" "It is now!"

[–] mumblerfish 55 points 1 month ago

This is how I handle code at work, almost. Program not working? Who has the last commit on the code? You get the question!

[–] jaybone 52 points 1 month ago (1 children)

Way to discriminate against future people on Mars.

[–] [email protected] 5 points 1 month ago

The Musk followers? Good.

[–] raldone01 41 points 1 month ago (1 children)

There are a few flaws.

There should be a clause forcing it to remain open source. Another clause should be that the license must not be changed. A warrenty and liability disclaimer would be also good. Otherwise a splendid license.

[–] [email protected] 26 points 1 month ago

I would 100% use this HPL-v2 for all of my (temporary) foss projects. It's just genius. I mean, good luck keeping track of the current owner, Nintendo lawyers.

[–] [email protected] 36 points 1 month ago (2 children)

As a Martian I feel left out.

[–] [email protected] 15 points 1 month ago (1 children)

Them dusters always complaining about something smh

load more comments (1 replies)
[–] [email protected] 7 points 1 month ago (2 children)
[–] [email protected] 5 points 1 month ago

Nah, we're alright. I don't think anyone has clearly defined the requirements of earth citizenship, we can assume it's like Ireland who hand it out like candy

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)
[–] Agent641 4 points 1 month ago
[–] [email protected] 29 points 1 month ago

The secret license everyone gets while working for an enterprise. If the previous dude left, good luck changing anything.

[–] [email protected] 24 points 1 month ago* (last edited 1 month ago) (1 children)

git commit --amend

git push --force

load more comments (1 replies)
[–] [email protected] 22 points 1 month ago
[–] uservoid1 21 points 1 month ago (4 children)

What happen when the repository is getting forked? Goofing with the license is all haha fun till nasty lawyers get into the picture and you get all sort of liability claims

[–] [email protected] 56 points 1 month ago (4 children)

Just writing words doesn't make it legally binding. Anyone who reads this comment owes me $1,000,000 USD.

[–] ogeist 40 points 1 month ago* (last edited 1 month ago) (3 children)

Oh shit, what's your PayPal?

Anyone who reads this comment owes me $1,000,000 USD and a kiss

[–] [email protected] 21 points 1 month ago (1 children)

I don't have 2 mil, how do I get out of this? File for bankruptcy?

[–] [email protected] 22 points 1 month ago (1 children)

on a technicality, debts like this are not legally dischargable through bankruptcy

[–] [email protected] 8 points 1 month ago (1 children)

Ah, the student loan loophole

[–] Speculater 4 points 1 month ago (1 children)

What's the opposite of a loophole? That's what student loans are.

load more comments (1 replies)
[–] [email protected] 9 points 1 month ago

If anyone I owe money to reads this, the debt is reversed.

I'll take the kiss though

[–] [email protected] 9 points 1 month ago

I don't have the money, can I kiss you twice instead?

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago)

Ofcourse its legally binding. If you include a license text with your own code on a platform that doesnt have a clause to license your code under different terms, then that license is legally valid.

But writing the license yourself without making sure that it doesnt allow for any legal loopholes is a bad idea.

[–] [email protected] 4 points 1 month ago

You declaring a debt isn't meaningful because you don't have legal authority to do so.

A licence statement is describing in what way you're granting permission for something you do have the right to control, which makes it meaningful

load more comments (1 replies)
[–] nogooduser 7 points 1 month ago (1 children)

If you want to fork the repo then you make a commit to the original repo giving yourself rights then you make the fork and you’re golden.

load more comments (1 replies)
[–] [email protected] 7 points 1 month ago (1 children)

I think this is a sort of anti-license, so I think the sort of people who use it reject copyright law.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 15 points 1 month ago

So that's the legal equivalent of the guy committing 10k changes the day before leaving the company...

load more comments
view more: next ›