839 karma · joined March 17, 2016
The app I use to pay for parking spots suddenly gave me a notification once, apparently to try and get me to park my car more often or something. I gave it a one-star review, never saw one of those notifications again :-) (Which reminds me, I should revise that review.)
https://en.wikipedia.org/wiki/Ethanolamine#Gas_stream_scrubb...
As another example : the -v option. In most tools this means "verbose". In some tools, but not all, you can pass it multiple times to increase the level of verbosity. But then there are a few tools, e.g. top, where -v seems to mean "version" [0]. Or take the -h option. On many tools it stands for "help". But on tools like ls or sort, it stands for "human-readable".
To me personally this is not an issue - I know by heart a few combinations of options that I use frequently, and I know where to find out the details of those, as well as other options I use less frequently. But I can see how it would be easier for people to pick it up if those things were just a little more standardised.
To clarify, I misremembered Factfulness. The book actually talks about "developed" versus "developing". In my memory I jumbled that up with "third world".
A few decades ago, there was a group of wealthy countries, a group of poor countries, and a large gap between them. Back then it made sense to see them as 2 separate groups, first world and third. Right now however, they're no longer separate groups - there's a continuous spectrum. A growing number of countries have been crawling out of poverty.
Some countries are rich, some are poor, and some are in between. They're no longer separate groups.
(This of course does not mean that there isn't a poverty problem in the world. Just that "third world" no longer accurately describes the situation.)
One meaning is "Obviously X is the better solution, and you're dumb for not doing X". The other meaning is "Naively, X would seem to be a solution, but I assume you have good reasons for not doing X. Could you please elaborate why you didn't do X, so I can learn something?"
I can't speak for other people, but when I ask a question like that, my intention is to learn something. However, many people seem to interpret it in the "you're dumb" way. I've also trained myself to receive that kind of questions in the kindest way possible - i.e. in the "learn something" interpretation. It tends to lead to much more civil conversations and less drama.
Look at it this way : if mr. Pleacher hadn't written the Carnation company "why don't you use a 1:1 ratio?", you and I wouldn't have learned these interesting things about cat food canning.
So my advice : when somebody asks "why don't you just do X", assume they understand you have good reasons, and want to learn. On the other hand, when asking a question like that, realise most people won't have that interpretation. Make it clear you understand there are probably good reasons, and you'd just like to understand them.
Rocket lab just has a different approach to the same problem.
The practical problems make me skeptical, but the potential advantages make me hopeful. To all the skeptics out there : remember that people were also skeptical when SpaceX said they wanted to land their rockets, yet here we are.
“People who say it cannot be done, should not interrupt those who are doing it.” - George Bernard Shaw
This of course assumes that you have a large enough plot of land, and no zoning laws telling you where you can and can't build.
I'd wager that's one reason some people buy the expensive phone and the cheap charger. The other is simply that most people can't tell the difference between chargers - they both charge, right?
A device like this is not useful in a system where you are actively pumping heat around.
The leader of a country is the person leading it, e.g. a president, prime minister, or similar.
Sometimes the term head of government is also used, which I think is usually the same as the leader of the country.
If you look at the "Happiest man in China" photo, it doesn't look like an old photo - it looks like a modern photo of somebody dressed up in old time clothes. There is no hard evidence, but many people believe that the man just wasn't aware of how people were expected to pose for a picture.
http://www.todayifoundout.com/index.php/2017/09/story-behind...
In what way do they limit the USB-C they pass through?
Gooey is probably easier to set up, but PySimpleGUI looks like it's more flexible and powerful. Look at your own battle and choose your weapons accordingly :-)
There's an interesting documentary on Curiositystream about the Lunokhod program too.
If your process is scaled up massively, will the oceans run out of Calcium? Or will they absorb Calcium from somewhere? What would that Calcium source be?
if __name__ == '__main__':
fire.Fire(JobManager)
which turns it into an instant CLI.Then we have a separate gui.py file, which contains the Gooey code. This includes the class mentioned above, and builds a minimalistic GUI around it. This does need some argparse-based code, but in the GUI we only expose a small subset of the full power, so we only need a little bit of argparse-code.
P.S. I'm not certain this is the best way to approach things, but it's the way we use it, and we're happy with it so far.
So we have one file which contains the class with all the functions we want to expose (in our case, the class is named JobManager). At the end, it goes
if __name__ == '__main__':
fire.Fire(JobManager)
which takes care of all the CLI access we could want.Then we have a second file for the GUI, which has a main-function that does some argparse stuff. The GUI interface is simplified from the CLI interface, so it's not that much work to write the argparse code for that. Simplified, it looks a little like this :
@Gooey(default_size=(1000, 600))
def main():
parser = GooeyParser(description="jobGUI")
# argparser code
args = parser.parse_args()
JobManager(args.name, args.whatever)
if __name__ == '__main__':
main()We use it in combination with Python Fire [0] to easily convert python code to something that users can interact with. Python fire converts our python code into a CLI without all the manual parameter parsing, and Gooey turns the CLI into a simple GUI.