Hacker News new | past | comments | ask | show | jobs | submit | f00_'s comments login

Even if you pay 10$/mo, to use images you need to connect to a separate service which I thought was crazy

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/


IMHO - if they became an image host it would get in the way of the longevity and portability of their notes themselves.

IMHO, they take the "unix" philosophy of "do one thing and do it well, and interoperate with other things". And i wish more tools operated this way.


It is almost perfect for someone who doesn't want to self-host, but you have to use another commercial service

why am I even paying them, with Joplin I can also sync to Dropbox. And I still have to pay them even if I'm self hosting

I think Joplin is more single purpose since it doesn't focus on the server side, and is just a client

On OSX/iOS, if you don't care about markdown/open-source/self-hosting you should just use Apple Notes


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!)."

https://engineeringblog.yelp.com/2015/02/assert_called_once-...


This behaviour has changed in Python 3.5 [1], and it was also backported to the mock package.

When unsafe=False (the default), accessing an attribute that begins with assert will raise an error.

[1]: https://docs.python.org/3/library/unittest.mock.html#the-moc...


> accessing an attribute that begins with assert

Or any of the names in this surprising hardcoded list of typos https://github.com/python/cpython/blob/fdb9efce6ac211f973088...


do you happen to know if this is true on mock==2.0?


Yes it looks as if that functionality is in 2.0, but the list of typos isn’t as extensive as in later versions.

https://mock.readthedocs.io/en/latest/changelog.html#and-ear...


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


buying vc1/mpeg licenses to use hardware decoding on raspberry pi's pre-4 was annoying https://codecs.raspberrypi.org/license-keys/

is this because of licensing/copyright?


Right, now I remember these keys.

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

what can you expect, just use open source


Almost all their engineering staff are in China.

> 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.

https://en.wikipedia.org/wiki/Zoom_Video_Communications


I want to run open source software, but this is the show stopper

I wonder what the difference is in pricing on the 0 day market. I think iOS was always more expensive until last year


Hope I get to use this in a project one day!

Declarative systems always seem to feel good (SQL and React come to mind)

Vega-lite is the underlying standard (A Grammar of Interactive Graphics ): https://vega.github.io/vega-lite/

I used altair in a hackathon interview and got the job: https://github.com/DustinAlandzes/drchrono-hackathon/blob/ma...

sadly not hosted


touch screens are a bad choice to me

I want the buttons and knobs.

Love the old soviet control rooms posted awhile ago: https://designyoutrust.com/2018/01/vintage-beauty-soviet-con...

Need John Carmack's opinion of SpaceX



i love the windows xp screen saver ):<


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: