Earlier quoted context omitted.
Temp branches or tags are probably the "proper" way to stash a history of changes in git. `git stash` is mostly a convenience feature for when you want to quickly clean up your working tree to eg. pull latest changes from a remote.
I like the approach of creating a new temporary branch for changes I need to stash. When I come back to the work I usually bring the changes back to the branch I'm working in with `git cherry-pick -n `. The -n flag cherry picks the changes over without making a new commit, so I can finish whatever I was doing and then make a proper commit.
At what time of day do famous programmers work?
141–150 of 215 posts
Re: At what time of day do famous programmers work?
#142My gut reaction to this was the same as everyone else - to question the validity of using commits as a measurement of time worked. But then I read further and realized that this isn't a research study, it is just a clever script to output some data from github. So I'm going to go run it on a couple of my projects, see what it says, and enjoy that someone put it together.
Re: At what time of day do famous programmers work?
#143Hmmmm... Not quite. Albeit I am a massive fan of the Linux kernel, though Torvalds is _not_ the author of the Linux operating system (if we assume that Linux is the equivalent of GNU utilities + the Linux kernel).
Re: At what time of day do famous programmers work?
#144Earlier quoted context omitted.
I think the reason for confusion is that you seem to say that people doesn't even commit their work when they work, but only when they're pushing as well. dchest is (seemingly) asking why don't you commit when you're done, but delay the pushing (according to your policies)?
The confusion was my fault, but I think is mostly gone now. I initially described it as commits when I was thinking of pushes, partly because I’m lumping both git and Perforce experience together. I edited my comments to be more clear, and it seems to have helped. The question asked is valid, and we do commit often, we only avoid pushes to shared spaces at night, so some commits may have representative time stamps. A…
Unfortunately, TFA doesn't discuss which timestamp is being looked at, though that leads me to suspect that it's looking at the author timestamp because that's the default.
Re: At what time of day do famous programmers work?
#145Earlier quoted context omitted.
I already commented on this somewhere else. What's the problem with that? Are you implying female/black programmers are different? [1] https://news.ycombinator.com/item?id=20469963
No, he's implying that they are underrepresented.
Re: At what time of day do famous programmers work?
#146Are the commits represented in UTC time when using the script?
Re: At what time of day do famous programmers work?
#147> Linus is the author of the Linux operating system Hmmmm... Not quite. Albeit I am a massive fan of the Linux kernel, though Torvalds is _not_ the author of the Linux operating system (if we assume that Linux is the equivalent of GNU utilities + the Linux kernel).
Re: At what time of day do famous programmers work?
#148Re: At what time of day do famous programmers work?
#149Earlier quoted context omitted.
No, he's implying that they are underrepresented.
Yes, why does it matter? Underrepresented? Who is? The people that are not different but yet are different? I don't get it. I see a couple of people with their commit times being analyzed. If there were black and/or females in that list, great. I did not waste a single thought about it and wouldn't have even if there were some or many in it. Why would I? It's just some people. Forcing a quota on certain "types of peo…
Someone creates a list of "famous programmers" which only includes whites males. This just further cements the image of programmers being white males, when in reality the field is more diverse and when it isn't people are trying to make it a bit more diverse through various angles (mentoring, removing biases from hiring, etc).
I'm not blaming the person writing the blog post but the comment pointing that out has a valid point and something to keep in mind and develop some sensitivity for to create a more inclusive environment for everyone involved.
> I did not waste a single thought about it and wouldn't have even if there were some or many in it.
That is called privilege and means you are not affected by it and you just don't see the problem. Which is a very understandable behavior and I'm not blaming you for it. But maybe in the future if you, me or someone other white male is in a position to find sources to quote, or create a list like that we could keep that in mind and look outside of the bubble we are living in here on HN and see if there's something that we missed before.