848 karma · joined April 30, 2009
Contact information in the KeyBase link below.
[ my public key: https://keybase.io/ambv; my proof: https://keybase.io/ambv/sigs/YFlWGlv21O-p2KBCGkahQq5QvzaW2fYVzzXGYMEreM8 ]
$2a$11$70w6J.UbVsGwuTMIvSTq5Oh97csRvkT9bz2BuWASdYI1W4MhnMDU2
Instead, I'm using the Every Other Day Diet variant of intermittent fasting which arguably is the best researched one. It helped me drop weight significantly in 2015 with little trouble (details: http://lukasz.langa.pl/9/i-lost-26-pounds-in-3-months/).
Sadly, since I stopped cycling regularly two years back and dropped the diet a year ago, I regained what I lost and then some. So I'm back on intermittent fasting now.
Recommendations based on my experience:
- weigh yourself daily in the morning, as the very second thing you're doing
- a Withings scale or similar helps putting this in a database efortlessly which helps seeing trends
- observe your moving average of 7 days
- eat just a light lunch (circa 500 kcal) every other day; it's easy to skip breakfast knowing there's going to be lunch soon and it's possible to skip dinner knowing "it's Eat Day tomorrow!"
- eat what you want on Eat Day but do it slowly, your body will quickly adapt to your fasts, the stomach will shrink and it's going to be easier to get full
- let people know you're losing weight and how, they will probably tell you you're more grumpy on Non-Eat Days
Good luck!
If anything, users of really old iPhones are likely to be less spendy so you're losing less than 10%.
http://www.prionalliance.org/2018/12/03/end-of-the-year-upda...
Other organizations may choose to not rewrite or migrate. At their own peril. Likely a third party like RedHat will continue patching 2.7 for their customers but no Python.org releases will be done anymore.
More importantly, after 2.7 EOL library maintainers will drop support like it's hot. And that no single player will be able to continue supporting.
So, you might get a few more years out of 2.7 but it will be an increasingly frustrating and insecure experience.
Could an admin take this submission down or flag it?
Why this blew up just today is very surprising to me.
In case of FCA the speculation is that they will sunset the brand in the USA to focus on SUVs (Jeep) and trucks (RAM). Looks like focusing on what's generating the maximum profit. Just like Apple with consumer electronics.
Judging from the additional stars on GitHub, and projects that just migrated (pytest!), I'd say there's a very vocal minority which is very attached to single quotes.
Alright, fair enough!
> Black doesn't always reformat it, so we might get linter errors from Black formatted code.
Well, as long as it doesn't add new linter errors, that should be fine, do you disagree?
There are always going to be suboptimal formattings and missing transformations but as long as the situation gets better automatically on average and can be further improved with minimal manual input, you should be fine.
General guidelines:
1. One commit with only the automatic formatting. Afterwards you'll be able to skip over it easily with `git hyper-blame` or `git blame $BLACK_REV^ -- $FILE`.
2. Avoid leaving open pull requests. If you do, after landing the blackening commit, blacken all pull requests, too. They shouldn't conflict then.
3. Set up enforcement with pre-commit or CI (you can run `black --check` on Travis or similar).
4. Don't forget the repo badge ;-)
BTW, your signature doesn't demonstrate a call with unpacking. What you meant to test was:
l = [1, 2, 3] foo(0, *l,)
This works in 3.5+ but fails on 3.4 and before.
I'm sorry this makes using my tool harder for you but I'm sure there is an easy way for you to install Python 3.6 without destroying your system Python. There's Homebrew for macOS, deadsnakes for Ubuntu, EPEL for RedHat, and so on.
With this in mind, it has to enforce a rule around operators. Since any operand might be complex, it's more robust to default to spaces around operands always. Otherwise we would inevitably end up hugging operands with an operator that humans consider too tight. And since that's subjective, there is actually no rule that we can hard-code about that.
The visual noise complaint is interesting. Do you also consider the letter W to be more noisy than the letter V? Should we discourage the use of noisy letters in the alphabet?
In contrast, when you're promising that this exact problem won't happen anymore because an automatic tool will handle stylistic preference for your team, people are more willing to accept stylistic choices they (mildly) disagree with. Because on average the style is still better and on average everybody can move faster.
As for number of lines after imports, how is a lack of enforcement there stopping you from using the tool? Black enforces one line but is fine if you put two (on module level). In general, if you give up on the tool due to a missing rule, you end up having to manually enforce tens of other rules that you'd otherwise be free from.
That is just not true. Where does Black not conform to PEP 8?
Sure, there is an additional step but we feel this shouldn't be a blocker for significant workflow improvements.
In fact, a single big "reformat all" commit is better than a bunch of incremental ones that reformat areas that you also change semantically. That is harder to filter and makes diffs harder to follow (which changes are logic and which are just style?).
The language itself doesn't have an established standard in terms of string quote usage. If it did, Black would follow it. What repr() does is a weak indicator and how the documentation is written is random, there was not only no enforcement as to which quotes to use, there wasn't even a recommendation. Black standardizes on double quotes since it has clear benefits whereas the other option does not.