1092
submitted 3 weeks ago by [email protected] to c/programmer_humor
top 50 comments
sorted by: hot top controversial new old
[-] [email protected] 1 points 1 hour ago

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

[-] [email protected] 173 points 3 weeks ago

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 3 weeks ago* (last edited 3 weeks ago)

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] 87 points 3 weeks ago

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] 39 points 3 weeks ago

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

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

[-] [email protected] 45 points 3 weeks ago

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 3 weeks ago

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

[-] [email protected] 23 points 3 weeks ago

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 3 weeks ago

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 3 weeks ago

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

load more comments (1 replies)
load more comments (1 replies)
[-] [email protected] 58 points 3 weeks ago

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

load more comments (4 replies)
[-] [email protected] 30 points 3 weeks 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] 11 points 3 weeks ago

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] 105 points 3 weeks ago

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 3 weeks ago
  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
[-] [email protected] 10 points 3 weeks ago

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 3 weeks ago

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] 64 points 3 weeks ago

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

[-] [email protected] 56 points 3 weeks 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!

[-] [email protected] 54 points 3 weeks ago

Way to discriminate against future people on Mars.

[-] [email protected] 6 points 3 weeks ago

The Musk followers? Good.

[-] [email protected] 40 points 3 weeks ago

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 3 weeks 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.

[-] Huschke 38 points 3 weeks ago

As a Martian I feel left out.

[-] [email protected] 16 points 3 weeks ago

Them dusters always complaining about something smh

load more comments (1 replies)
[-] [email protected] 9 points 3 weeks ago
[-] [email protected] 6 points 3 weeks 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] 5 points 3 weeks ago* (last edited 3 weeks ago)
[-] [email protected] 5 points 3 weeks ago
[-] [email protected] 7 points 3 weeks ago* (last edited 3 weeks ago)
load more comments (1 replies)
[-] [email protected] 29 points 3 weeks ago

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

[-] [email protected] 24 points 3 weeks ago* (last edited 3 weeks ago)

git commit --amend

git push --force

load more comments (1 replies)
[-] [email protected] 23 points 3 weeks ago

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] 58 points 3 weeks ago

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

[-] [email protected] 41 points 3 weeks ago* (last edited 3 weeks ago)

Oh shit, what's your PayPal?

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

[-] oessessnex 21 points 3 weeks ago

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

[-] [email protected] 22 points 3 weeks ago

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

[-] [email protected] 8 points 3 weeks ago

Ah, the student loan loophole

load more comments (2 replies)
[-] [email protected] 9 points 3 weeks ago

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

[-] [email protected] 9 points 3 weeks ago

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

I'll take the kiss though

[-] [email protected] 7 points 3 weeks ago* (last edited 3 weeks 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.

load more comments (2 replies)
[-] [email protected] 8 points 3 weeks ago

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 3 weeks ago

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] 22 points 3 weeks ago
[-] [email protected] 15 points 3 weeks 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 ›
this post was submitted on 27 May 2024
1092 points (99.4% liked)

Programmer Humor

18099 readers
2144 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