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

Programmer Humor

19623 readers
167 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
[–] Wimopy 175 points 5 months 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.

[–] unexposedhazard@discuss.tchncs.de 89 points 5 months ago* (last edited 5 months 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.

[–] Cethin@lemmy.zip 87 points 5 months 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.

[–] mexicancartel@lemmy.dbzer0.com 39 points 5 months 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@lemmy.world 44 points 5 months 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.

[–] dfyx@lemmy.helios42.de 23 points 5 months ago (1 children)

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

[–] MartianSands@sh.itjust.works 23 points 5 months 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)

[–] dfyx@lemmy.helios42.de 12 points 5 months 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)
[–] lugal@sopuli.xyz 6 points 5 months ago

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

[–] mexicancartel@lemmy.dbzer0.com 4 points 5 months 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)
[–] sxan@midwest.social 58 points 5 months ago

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

load more comments (4 replies)
[–] Swedneck@discuss.tchncs.de 31 points 5 months 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.

[–] FiniteBanjo@lemmy.today 11 points 5 months 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)
[–] Artyom@lemm.ee 105 points 5 months 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.

[–] PlexSheep@infosec.pub 21 points 5 months 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@lemmy.world 10 points 5 months ago (1 children)

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

[–] PlexSheep@infosec.pub 5 points 5 months 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)
[–] RiikkaTheIcePrincess@pawb.social 64 points 5 months ago (1 children)

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

[–] mumblerfish@lemmy.world 56 points 5 months 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@lemmy.world 54 points 5 months ago (1 children)

Way to discriminate against future people on Mars.

[–] todd_bonzalez@lemm.ee 6 points 5 months ago

The Musk followers? Good.

[–] raldone01@lemmy.world 41 points 5 months 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.

[–] jnk@sh.itjust.works 27 points 5 months 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@programming.dev 38 points 5 months ago (3 children)

As a Martian I feel left out.

[–] Zos_Kia@lemmynsfw.com 16 points 5 months ago (1 children)

Them dusters always complaining about something smh

load more comments (1 replies)
[–] MartianFox@lemmy.ml 8 points 5 months ago (2 children)
[–] MartianSands@sh.itjust.works 6 points 5 months 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

[–] clay_pidgin@sh.itjust.works 5 points 5 months ago* (last edited 5 months ago) (1 children)
[–] Agent641@lemmy.world 5 points 5 months ago
[–] MangoKangaroo@beehaw.org 7 points 5 months ago* (last edited 5 months ago) (1 children)
load more comments (1 replies)
[–] RiQuY@lemm.ee 29 points 5 months ago

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

[–] narc0tic_bird@lemm.ee 24 points 5 months ago* (last edited 5 months ago) (1 children)

git commit --amend

git push --force

load more comments (1 replies)
[–] uservoid1@lemmy.world 23 points 5 months 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

[–] ImplyingImplications@lemmy.ca 58 points 5 months ago (4 children)

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

[–] ogeist@lemmy.world 41 points 5 months ago* (last edited 5 months ago) (3 children)

Oh shit, what's your PayPal?

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

[–] oessessnex@programming.dev 21 points 5 months ago (1 children)

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

[–] pupbiru@aussie.zone 22 points 5 months ago (1 children)

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

[–] refurbishedrefurbisher@lemmy.sdf.org 8 points 5 months ago (1 children)

Ah, the student loan loophole

[–] Speculater@lemmy.world 4 points 5 months ago (1 children)

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

[–] Swedneck@discuss.tchncs.de 4 points 5 months ago

a legal dick jammed up your hole

[–] morrowind@lemmy.ml 9 points 5 months ago

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

I'll take the kiss though

[–] narc0tic_bird@lemm.ee 9 points 5 months ago

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

[–] unexposedhazard@discuss.tchncs.de 7 points 5 months ago* (last edited 5 months 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)
[–] nogooduser@lemmy.world 8 points 5 months 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)
[–] Faresh@lemmy.ml 7 points 5 months 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)
[–] ArmokGoB@lemmy.dbzer0.com 23 points 5 months ago
[–] souperk@reddthat.com 15 points 5 months 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 ›