The Official Status Thread
-
At the end of the day -- do you want a tool that provides a purely task-oriented interface but no way to figure out what went wrong or fix it, or do you want a tool that provides a function-oriented interface and leaves it up to you to provide checklists/... for tasks, or do you want to meet in the middle somewhere?
Git's a function-oriented interface -- while this is not as discoverable as a task-oriented interface, you have much more flexibility once you're over the initial hump. Never mind how hard it can be to diagnose problems in a system that uses an opaque, task-oriented interface...
-
uhh.... that's not what remove does.
Then even after this long-ass conversation, I still don't know what "remove" is. SUCH A GREAT TOOL!
If git is making you sad, you could try giving eg a go.
It's tolerable if I use it though Visual Studio. The only reason I had to break out SourceTree is Git suddenly somehow decided there were 307 changed files for no reason, and whatever bug caused those files to appear as changed also prevented VS from undoing the "changes". Of course if you diffed them, there was no difference.
At the end of the day -- do you want a tool that provides a purely task-oriented interface but no way to figure out what went wrong or fix it,
At the end of the day I want a nice beer.
Anyway, your dichotomy is as false as false can be. I want a task-oriented interface in which thinks won't go wrong and won't require fixing.
Git's a function-oriented interface -- while this is not as discoverable as a task-oriented interface, you have much more flexibility once you're over the initial hump.
Flexibility is about number 54234,432423,4324234238 on my list of software priorities. In fact, I think it's almost the exact opposite of what a good program should be.
It's also ironic coming from a guy who (presumably, at least) believes in "do one thing and do it well" as a software design philosophy.
-
I thought it was because of all the cage-rattling...
-
I still don't know what "remove" is.
it removes file from source control, optionally deleting it from disk (this may be the default depending on config settings)no. too son. i said i was leaving and i am leaving...... now.
-
See you later.
-
it removes file from source control, optionally deleting it from disk (this may be the default depending on config settings)
Right; so you "Add" files to a commit, but the opposite word "Remove" deletes the file altogether!? You've got to be shitting me. Person who probably won't stop replying to me until they're literally in tears.
-
Fliiiiip the biiiiit
The way forwards.
I'm going to explain to my boss next week that we're so overloaded and pissed off at his incompetence and have been for months that he's running the risk of making me stop giving a shit, and that'll give him a whole new world of actual problems to handle.
-
-
Right; so you "Add" files to a commit, but the opposite word "Remove" deletes the file altogether!? You've got to be shitting me.
Good lord, but you're stupid today. "Optionally." Which makes sense.
-
optionally deleting it from disk
cough this is wrong. That should be a separate action, not an option.
-
Person who probably won't stop replying to me until they're literally in tears.
"That's not very nice," he mildly opined.
-
Note to self: Get an avatar that fits better to the way I intend to sound like.
-
Whatever, it's my lunch break and I was bored.
-
I'm going to explain to my boss next week that we're so overloaded and pissed off at his incompetence and have been for months that he's running the risk of making me stop giving a shit, and that'll give him a whole new world of actual problems to handle.
Heh. It could give you new problems, too, but I'm sure you're aware of that.
You don't need the ulcer, though, which is the whole point of doing it. (You also don't have to actually telegraph it, either. It's fun, but you'll notice the recipient has pointedly ignored me saying I've done it. I like to think I've spoiled his fun a little.)
-
cough this is wrong. That should be a separate action, not an option.
is it?
accalia@SockBotDev:~/SockBot$ git help remove No manual entry for gitremove accalia@SockBotDev:~/SockBot$ git help unstage No manual entry for gitunstage accalia@SockBotDev:~/SockBot$ git help delete No manual entry for gitdelete accalia@SockBotDev:~/SockBot$ git help usage: git [--version] [--help] [-C <path>] [-c name=value] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] <command> [<args>] The most commonly used git commands are: add Add file contents to the index bisect Find by binary search the change that introduced a bug branch List, create, or delete branches checkout Checkout a branch or paths to the working tree clone Clone a repository into a new directory commit Record changes to the repository diff Show changes between commits, commit and working tree, etc fetch Download objects and refs from another repository grep Print lines matching a pattern init Create an empty Git repository or reinitialize an existing one log Show commit logs merge Join two or more development histories together mv Move or rename a file, a directory, or a symlink pull Fetch from and integrate with another repository or a local branch push Update remote refs along with associated objects rebase Forward-port local commits to the updated upstream head reset Reset current HEAD to the specified state rm Remove files from the working tree and from the index show Show various types of objects status Show the working tree status tag Create, list, delete or verify a tag object signed with GPG 'git help -a' and 'git help -g' lists available subcommands and some concept guides. See 'git help <command>' or 'git help <concept>' to read about a specific subcommand or concept. accalia@SockBotDev:~/SockBot$
huh.... now that is odd.
-
-
-
The thing that annoys me the most about DVCS is the crowd of "centralized VCS literally gave me AIDS" zealots that show up and drive-by slander any online conversation about TFS, SVN, CSV, RCS et al...
-
huh.... now that is odd.
Is it? I would need to see the output of "git help rm".
Also, were you questioning my "it's wrong" or "delete is an option on rm"?
I would argue that the option violates the principle of least surprise.
-
You should offer to sell them antibodies.
-
It could give you new problems, too, but I'm sure you're aware of that.
Yeah but it'll definitely make his working life a lot worse than it is now. If I actually get to that point, I'll be looking for another job anyway so it won't be worse for me for a particularly long time.
-
-
I want a task-oriented interface in which thinks won't go wrong and won't require fixing.
I'm sorry, but Murphy's Law prevails here. You can't build a high-reliability system by trying to build a system that never fails -- instead, you build systems that degrade safely and gracefully, with controlled weak points that allow failures to be detected, contained, and managed. It's why there is the "children of the magenta" controversy in aviation, and similar problems scattered throughout the computing world: a task-oriented interface relies on an automation mechanism, and when either the automation mechanism or one of the tools it uses fails, you're hosed, whereas with a function-oriented interface available to you, you can come up with an alternate way of doing things. Never mind the cases where you have some oddball problem on your hands that the original designers never planned for...
The approach that is typically used is to have a function-oriented underlying interface with a task-oriented automation layer on top of it (think of it like the difference between hand-flying an airliner or using the autopilot controls instead). Interestingly, Git already semi-captures this with its "plumbing" and "porcelain" concepts...
For an aviation-centric explanation of what's going on here (warning, SE links ahead for those who have SO/SE allergies), read these four answers.
It's also ironic coming from a guy who (presumably, at least) believes in "do one thing and do it well" as a software design philosophy.
Each control on a system should do one thing and do it well -- whether it be a task or a function. Trying to make it so the same switch actuates the landing gear when you're on the ground and the flaps when you're in the air is a ridiculously dumb idea, but UI designers old and new keep making the computer equivalent of this mistake...
-
The thing that annoys me the most about DVCS is the crowd of "centralized VCS literally gave me AIDS" zealots
Whew...I only got HepC.
-
Also, were you questioning my "it's wrong" or "delete is an option on rm"?
I think she got it backwards. Looking at git help rm:
To stop tracking a file that is currently tracked, use git rm --cached.
So the default mode is to delete and stop tracking it. One can optionally just stop tracking it.
-
So the default mode is to delete and stop tracking it. One can optionally just stop tracking it.
Pardon me while I put on my blakeyrat hat[1] and ask what the hell "tracking" means. If you mean "remove from the repository" [big]say that[/big].
[1] totally not made from his hollowed-out skull
-
"git help rm".
GIT-RM(1) Git Manual GIT-RM(1) NAME git-rm - Remove files from the working tree and from the index SYNOPSIS git rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>... DESCRIPTION Remove files from the index, or from the working tree and the index. git rm will not remove a file from just your working directory. (There is no option to remove a file only from the working tree and yet keep it in the index; use /bin/rm if you want to do that.) The files being removed have to be identical to the tip of the branch, and no updates to their contents can be staged in the index, though that default behavior can be overridden with the -f option. When --cached is given, the staged content has to match either the tip of the branch or the file on disk, allowing the file to be removed from just the index.
-
"working tree"? "Index"? see previous rant. If they mean "local/working copy [of repository][1]" and "repository" then SAY THAT.
-
hey, that's just wat the man page reads.
-
Pardon me while I put on my blakeyrat hat[1] and ask what the hell "tracking" means. If you mean "remove from the repository" [big]say that[/big].
I'll keep my normal hat on and tell you that you're wrong. Maybe. I think it could also apply to stuff that's staged (which TIL is a synonym for add) but not yet committed. Now unstage makes sense.
-
"working tree"? "Index"? see previous rant. If they mean "local/working copy [of repository][1]" and "repository" then SAY THAT.
Index sounds like a good word here. If you said one of the others, I'd have questions about what, exactly was going on. But index tells me exactly what's happening.
-
This begs the question of whether that would be a bad thing ...
I will likely be doing so in August anyway, so it is a rather moot point. Hopefully...
-
-
well then stop yelling at me!
<just rankling ya of course>
-
Index sounds like a good word here [...] If you said one of the others,
I used those two others as intended replacements for two separate things: repository->index, and local copy->working tree.
What's an index? Notice that other commands use the word repository. If index means "the index of files in the repository" then I submit using that term is losing sight of the forest for the trees, so to speak.
-
well then stop yelling at me!
I WASN'T YELLING AT YOU! I WAS YELLING AT THE MAN PAGE! AND THIS YELLING IS DIRECTED AT IT, TOO, BECAUSE REASONS!
-
think it could also apply to stuff that's staged (which TIL is a synonym for add) but not yet committed
Maybe I spend too much time with Oracle SQL but I either want to commit or not. I don't want or need a bloody middle ground.
BTW I'm fully aware that staging is optional. But still.
-
You misspelled
-
Status: every time I talk to the CEO here (3 times so far) I make the World's Worst Impression. I dunno what's up with that, he always catches me when I have my mind 100% on something else.
-
Protip: put a picture of Milton Waddams on your monitor with "DON'T BE LIKE THIS GUY" written under it.
-
Status: Today I got $15 dollars in gas. Not because that is all I could afford, and not because that filled my tank, but simply because I could only stand outside for the time that it took to pump $15 worth of fuel... Jesus fuck, it is cold outside.
Also, I went to the grocery and when I picked up a 12-pack of Cokes...the handle ripped out and it hit the floor, cans spewed Coca-Cola everywhere. It was horribly embarrassing. Imagine the majority of a grocery store staring at you as cans skitter across the floor, coating everything in sight with a coating of sticky soda. They know it is your fault, because you are holding a torn box that once held soft drinks. Good thing I have a thick skin...
Playing the single dad this week because my wife is in Vegas for work at CES. Lucky her. Meanwhile, our son has apparently become possessed by Satan. Friday needs to get here, so I have some backup.
-
-
What was the temp, including wind chill?
No clue about wind chill, but at the time my thermometer in my vehicle was saying it was 2F outside, and the wind was blowing pretty strongly. Nothing to block the wind around the gas station I was at, and I did not bring my gloves. I have a pretty good coat and it was blowing right through.
Edit: Weather.com says the wind chill is currently -23F.
-
Why in the hell do you not have gloves and an adequate coat in a place that gets that cold?!
-
I forgot my gloves, and I thought the coat I had was adequate. I obviously thought wrong... Tomorrow it is supposed to be even colder, and I have no intentions on leaving the house. This morning my vehicle did not even really warm up until I started driving, and I am pretty sure that my seat heaters don't do anything unless there is weight in the seat. Good idea in theory...but sitting down on single-digit temperature leather seats is not pleasant.
-
Status: I turned myself into a cyborg-hedgehog. Only auto-likes for now, but I'm considering further upgrades...
-
I am pretty sure that my seat heaters don't do anything unless there is weight in the seat. Good idea in theory...but sitting down on single-digit temperature leather seats is not pleasant.
The First World Problems thread is somewhere.
-
On a positive note, my MIL has taken up knitting and gave me a really warm hat for xmas. It is uglier than homemade soap, but man is it warm.
-
The First World Problems thread is somewhere.
Good call. It has changed names more than Elizabeth Taylor, if you find it let me know.
-
http://what.thedailywtf.com/t/the-fantasy-world-problems-thread/4285
I had to check to make sure that was the right one. I'm currently almost 400 posts behind in that topic.