366 karma · joined May 9, 2018
It's actually a pretty clever way to automagically deduce not only names of variables but also of enums :). Too bad it's most likely not maintainable in the long run as compilers probably change what their __PRETTY_FUNCTION__ (or equivalent) macros expand to in new versions.
This is only true if the server has access to the keys of your data. E2EE typically means that it doesn't, only you do.
Ok, so they are the simple because you say so? Stash in all but the simplest cases is a sure-fire way to shoot yourself in the foot. Checkout is a weird guy, he does too many different things, and what's up with the double dashes? Super-weird! Also beware that any of your branch names happen to match any of the file names in the repo :O.
> I think where people express confusion over git is that they don’t expect to be interact with revision history
This is one of the things that confuses beginners about git, but it's not a confusion about git cli. You are conflating the criticism of git cli with criticism of git. Git is good, git cli is (notoriously) bad. However, eventually you'll (hopefully) learn the proper incantations and then using git cli will seem simple to you.
I like git, but the cli is only usable after a dash and a spoonful of aliases.
Setup:
git add remote gitlab ...
git add remote github ...
Then whenever you need to sync: git fetch --all
git checkout -b gh --track github/master
git checkout --track gitlab/master
git merge/rebase gh
git push gitlab
Could probably be done shorter but those steps should do it..The only thing stopping a pro is to have an uninteresting car. My idea is to have a car good enough not to be easily stolen for a joyride but uninteresting enough for a pro.
I've mostly worked in small companies with tiny engineering teams but I've had a go at some larger companies as well. Personally I thrive in the small companies and wither in the large ones. In the small companies I tend to spend a large part of my day writing code (which I love), meetings are rare and typically to the point. In the big companies I've found it hard to find stuff to do and the meetings are many and repetitive. It seems to me that the bigger companies hire for redundancy. In the largest company I worked for (~3k ppl) I typically received >100 emails/day + dozens of slack channels. In my current job we're 8 ppl and I rarely get more than 1 email/week :)!