3,099 karma · joined October 24, 2016
https://github.com/b0o
Personally, I’ve avoided all added sugars and sweeteners for a few years now. I used to find apples bland and boring, but now they taste like indulgent candy. The same goes for pretty much all fruit. I can taste sweetness in vegetables that I used to find bitter. Lightly cooked carrots, beets, squash are all deliciously sweet treats. The bottom line is that I get a lot more enjoyment out of “healthy” foods now.
When I’ve recently tried “normal” sweets like cake or soda, they taste sickeningly sweet. However, I imagine that if I drank even a no calorie sweetened drink like Coke Zero “in moderation”, my sweetness scale would recalibrate and I would start gravitating more towards sweeter things, and be less able to sense the sweetness of mildly sweet things.
The same concept applies to other flavor profiles. Salty, umami, starchy, fatty. Eating processed foods even in moderation reduces your enjoyment of whole foods and consequently makes you less likely to eat them.
- Each [failed] attempt to rotate the cylinder could partially compress a spring-loaded lever.
- The return mechanism would always return if not in its resting position, not only after each 5 failures.
- Successful attempts immediately reset the spring.
I could imagine each attempt to rotate the cylinder could partially compress a spring-loaded lever. There could be some sort of ratcheting return mechanism that allows the spring to decompress at a known rate (think a kitchen timer). Once the spring is compressed beyond a certain point (e.g. after 5 failed attempts), a mechanism locks out the cylinder until the return mechanism allows the spring to decompress back to its starting position.
If the lockout happened after 5 failed attempts, and the lockout duration was 10 minutes, an attacker could test at a maximum rate of 30 combinations per hour. It would take 64 days to check all 46,656 possible combinations, or 32 days on average to find the solution.
[0]: http://hnreplies.com
Whenever I come across a fork on GH, my first assumption is that the fork is aiming to be merged back into the main repo in the future, and my second assumption is that the maintainers of the fork have less of an interest in the project than the original project’s maintainers. It’s a signal of lower quality IMO. You should keep mention of the original project in your docs, but I personally don’t think it’s necessary to keep the repo as a fork.
You can use the GitHub virtual assistant to request this: https://support.github.com/request/fork
I am pretty sure that issues, PRs, stars, and everything should be preserved, but don’t take my word for it.
At the moment, I am particularly interested in finding good books and resources on communication. Especially verbal, critical, collaborative communication, and receptiveness/openness. Team and interpersonal focused stuff. There are so many resources out there, but I’d like to hear about what other HN users have found useful.
It seems there is an open issue for this: https://github.com/mozilla/firefox-translations/issues/358
My current workflow is to open the image in a viewer that automatically reloads on change, like feh or sxiv, and then in my terminal use <M-a> to run the command without clearing the command line.
[0]: https://magickstudio.imagemagick.org/scripts/MagickStudio.cg...
https://en.wikipedia.org/wiki/Ward_Cunningham#Cunningham's_L...
> tempfile is deprecated; you should use mktemp(1) instead.
awk '{do_stuff()}' myfile.txt | sort -u | column --table > new-myfile.txt
The only thing you’ve changed is that you’re sending the output to a new file. That’s fine, but it’s what sponge is avoiding.tee actually does sorta work for this sometimes, but it’s not guaranteed to wait until EOF. For example I tested with a 10 line file where I ran `sort -u file.txt | tee file.txt` and it worked fine. But I then tried a large json file `jq . large.json | tee large.json` and the file was truncated before jq finished reading it.
awk '{do_stuff()}' myfile.txt | sort -u | column --table > myfile.txt
The shell will truncate myfile.txt before awk (or whatever command) has a chance to read it. So you can use sponge instead, which waits until it reads EOF to truncate/write the file. awk '{do_stuff()}' myfile.txt | sort -u | column --table | sponge myfile.txthttps://news.ycombinator.com/item?id=21070351
From that thread:
> Some of these fancy bags (e.g. from tea pigs) are made from polylactic acid. This is derived from corn starch and used in temporary medical implants (it degrades to lactic acid) so hopefully it's safe.