https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20161010/027945.html …
Me:
"Hmm, pinfile? I thought everyone standardized on lockfile..."
"Oh no wait, it's just @wycats who has, really"
-
-
heh, I just checked: Podfile.lock! https://guides.cocoapods.org/using/pod-install-vs-update.html …
-
I would bet more people across ecosystems know of the .lock convention for lockfiles than the Unix file lock convention
-
…Unix has a file lock convention? I’m sure I’ve encountered it—but I have no idea what it is, eight years into programming.

-
it's literally using the existence of a file (often called .lock) as a mutex to sync programs. .lock file exists? Wait.
-
Ah. I’ve seen that behavior, but not often. Much less often than the ones
@wycats uses everywhere.
-
iirc this is actually the idea behind the chubby lock service: put a .lock in a distributed FS http://static.googleusercontent.com/media/research.google.com/en//archive/chubby-osdi06.pdf …
End of conversation
New conversation -
-
-
people bring up the "lock" overload objection but i can't remember anyone telling me it caused a problem/confusion in practice
-
yo
@steveklabnik you ever seen anyone get confused by this? -
I've seen people claim that they expected that people would be confused (cough
@littlecalculist) but not in practice. -
in what way? which .lock file goes with which project or something? (I guess that means "no")
-
ppl think (incorrectly imo) it conflicts w/ the "well known" Unix convention of .lock for file locks
-
oh, lol. i have been using linux for years and didn't know that. so.
-
my initial experience was colored by a couple things…
-
1. don't know what software (maybe emacs?) used visible .lock files and whenever it crashed they'd lie around…
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.