assert on the call_count attribute of a mock instead of trying to use methods on it like .assert_called_once_with()
"a mock’s job is to say, “You got it, boss” whenever anyone calls it. It will do real work, like raising an exception, when one of its convenience methods is called, like assert_called_once_with. But it won’t do real work when you call a method that only resembles a convenience method, such as assert_called_once (no _with!)."
you can access it from object.__doc__, and there is tooling in ide's like pycharm to quick view them to see what a function does, auto generated documentation
prior to mypy/type hints it allowed you to document the types of a function
I used to live in vegas, when did yucca mountain get NIMBY'ed?
>The project was approved in 2002 by the 107th United States Congress, but federal funding for the site ended in 2011 under the Obama Administration via amendment to the Department of Defense and Full-Year Continuing Appropriations Act, passed on April 14, 2011
But the very first Pi already had hardware h264 decoder (and even encoder!) which didn’t need any extra keys to work. No idea how they did it, maybe the license was included in the $25 price. Pi 1 was launched in 2013, at that time h264 has been already widespread, while mpeg-2 use was declining.
I think that’s why they did not include the license. It increases price for all users but only useful for very few of them, who connected a USB DVD or BluRay drives to their Pi-s.
Wonder if the chording keyboard was an extension of stenotypes
>The stenotype keyboard has far fewer keys than a conventional alphanumeric keyboard. Multiple keys are pressed simultaneously (known as "chording" or "stroking") to spell out whole syllables, words, and phrases with a single hand motion. This system makes real-time transcription practical for court reporting and live closed captioning. Because the keyboard does not contain all the letters of the English alphabet, letter combinations are substituted for the missing letters.
they have a lot of staff in china proper right? I mean, it's likely like every other business trying to operate in china (including google) bow down to the government to get the money
> In January 2020, Zoom had over 2,500 employees, 1,396 are in the United States and 1,136 are in their international locations.[69] Although 700 employees within a subsidiary work in China and develop Zoom software.
...
Zoom's product development team is largely based in China, where an average entry-level tech salary is one-third of American salaries, which is a key driver of its profitability.
So I would need to host the standard files server, and also host my own webdav server in addition
I like Joplin and I run a seafile server as the webdav backend
https://joplinapp.org/