3,292 karma · joined Jul 1, 2013 (13y ago) · 1,194 submissions
comment 8y ago · link · parent
The issue you have with git, is that untrained developers have a hard time using it. Which brings me back to my original comment. It really doesn't take long to train someone to use git. And you can choose whatever flow you want. That's the beauty of it. If the company hires lower skill people, you can just guide choose a branching mode suited for their needs. They don't even need to use branches. Or just teach them to use an UI. But please don't teach them SVN.
comment 8y ago · link · parent
`git log` tells you all the commits that are part of the branch. More generally, they are the commits who are children of the current commit (the commit your branch points to).
`git reflog` tells you where your HEAD has been. When you change for branch to branch, the HEAD moves around. That history is recorded in the reflog. If you botch a rebase, your HEAD will sit on top of the newly created (and botched) commits. You can still access your previous commit by looking where the HEAD was before moving to the new commits made by the rebase.
comment 8y ago · link · parent
If you're a software developer who uses branches and merges, you absolutely should learn how it works.
If you're an artist, git is not for you. It can neither store large binary files efficiently, nor merge them. There are other VCS that supposedly can, but I haven't tried them.
> Also, it's important to note that everything on that list is something that actually happened.
I can assure you, no data was permanently lost. What did happen is somebody couldn't find it, because they didn't know where to look. And I argue they should have, because git is not really that hard to learn (as a developer).
comment 8y ago · link · parent
Git is something that you can use on almost any project, with any team, at any company. It's something you need to use if you want to contribute to open source. Aside from your programming language of choice, it's probably the second most useful tool you should be learning as a software developer.
You're telling me a developer was too busy learning "other technologies", and in 6 months he couldn't be bothered (or was too afraid) to spend one or two hours going through a simple course about git? By that argument, he probably couldn't be bothered to learn how separate concerns into classes or how to use refactoring or write tests. What other things didn't he have time for? Unwillingness to learn is not an excuse.
> he never really learned how to use Git, because it was a low priority, for both him and our CEO.
I think it was more of a lower priority for your CEO than Sital. Learning git was something that benefited him more than it benefited the company.
I still have issues with your attitude, because it can be applied to anything useful in software development, but management might take issue with. Writing tests? Who needs them? The CEO doesn't care so they're low priority. Refactoring? Waste of time. Management wants shiny features not code quality. Developers have tried really hard to convince management that some overhead is needed to keep the quality high and maintenance easy. Your attitude is the exact opposite.
comment 8y ago · link · parent
No. Just no. Please stop spreading FUD like it's candy. Git only deletes commits after a GC, which won't erase commits from reflog and will keep unreferenced commits for at least a month before deleting them. And rebasing generates new commits, leaving the old ones exactly how they were. If somebody lost a commit after a rebase, and nobody nearby could help them recover it, they should consider spending a few hours learning about git.
I've been using git for 4 years both at work (with a team of 40+ people) and at home, without ever having any of the problems listed here (except 3 which has nothing to do with git). It takes a few hours, maybe a few days to understand how git works and how to use it. Instead of blaming the tools, you (and your team) should probably learn how to use them.
comment 8y ago · link · parent
comment 8y ago · link · parent
Yes, you can expect modern games to use any and all tricks available to squeeze performance. Imposters are an example of a LOD (Level of Detail) technique, which is standard in all game engines.
comment 8y ago · link · parent
That's condescending, hypocritical bullshit. Why do you feel entitled to "cashing out" on their savings because you're tech savvy?
> Not necessarily rich people (not just rich people), but well-off people who have money they don't need sitting around.
This is straight up delusional. I'm appalled that you would spend so much time describing who you think invests in cryptocurrencies, just to justify yourself profiting off them. Actually, most people who invest in the stock market know better than to get involved with bitcoin. Most people who hyped its value lately are the kind of people who have no idea what's about, invest poorly and have fewer funds. [1]
So yes, most likely your profit came from "broke people, people working several jobs on minimum wage, people who have to use food pantries, people trapped in debt". At least don't try to pretend it's otherwise.
[1] https://www.engadget.com/amp/2017/12/12/bitcoin-mania-mortag...
comment 8y ago · link · parent
There's only two ways this bubble will burst:
1. Inflation: the value of fiat currencies drops to match the supposed value of bitcoin, which negatively affects everyone
2. Only the first people to cash out actually turn a profit. Every other person who invested will lose everything.
Either way, the money you now made from bitcoin, came from people who will probably lose their savings contributing to the bubble.
comment 8y ago · link · parent
> 50. On May 6, 2015, Defendants began posting a series of videos online titled "Bugsmashers." The videos contain excerpts of information from CryEngine that were confidential, in breach of the GLA, and should not have been shown to the public. The series continues today.
> 51 On August 26, 2017, news reports announced a partnership between Defendants and a third party developer, Faceware Technologies. Upon information and belief, as a result of the partnership, Faceware received access to the underlying technology for CryEngine (including computer source code). Defendants did not disclose this third party developer's involvement to Crytek, let alone obtain Crytek's prior written approval. This was entirely in breach of the GLA.
comment 8y ago · link · parent
> 36. Section 2.1.2 of the GLA contained a critical promise from Defendants that they would not develop the Star Citizen video game using any other video game engines.
If you don't want to get sued, don't sign contracts and breach them.
comment 8y ago · link · parent
comment 8y ago · link · parent
This is both false and irrelevant.
It's false because after the rebase, the branch you just rebased won't point to the old commits. Unless you had other branches there, they would be orphaned. Also, according to the "Notes" section of the git-gc documentation [0]:
> git gc tries very hard not to delete objects that are referenced anywhere in your repository. In particular, it will keep not only objects referenced by your current set of branches and tags, but also objects referenced by the index, remote-tracking branches, refs saved by git filter-branch in refs/original/, or reflogs (which may reference commits in branches that were later amended or rewound).
Since the commit you were on before making the rebase is in the reflog, it will actually not be GCed (yet) even though there are no branches pointing to them.
It's irrelevant because, even if it was true, as long as there are no more objects referencing that commit, it's perfectly eligible for gc. I don't understand your argument that "you can't have it both ways".