News for hackers. Stuff that matters.

f00_

Re:Serenity notes: E2E encrypted notes on Thursday March 25, 2021 @02:05PM (#26583426)
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

Re:Serenity notes: E2E encrypted notes on Thursday March 25, 2021 @08:35AM (#26579438)
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/

Re:My Python testing style guide (2017) on Wednesday March 24, 2021 @08:15PM (#26574848)
do you happen to know if this is true on mock==2.0?
Re:My Python testing style guide (2017) on Wednesday March 24, 2021 @04:25PM (#26572436)
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-...

Re:My Python testing style guide (2017) on Wednesday March 24, 2021 @04:23PM (#26572408)
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

Re:H.266/Versatile Video Coding (VVC) on Monday July 06, 2020 @12:44PM (#23749701)
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?

Re:Doug Engelbart’s 1968 demo on Thursday June 18, 2020 @10:52AM (#23563610)
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

Re:A survey of recent iOS kernel exploits on Friday June 12, 2020 @01:35PM (#23501639)
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

Re:Software Engineering Within SpaceX on Wednesday June 03, 2020 @12:41PM (#23405443)
i love the windows xp screen saver ):<
Re:Software Engineering Within SpaceX on Wednesday June 03, 2020 @11:54AM (#23404826)
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

Re:Pinebook Pro, First Impressions on Sunday May 31, 2020 @05:51PM (#23373106)
Maybe I'm a retard but isn't Android linux?
Re:CI/CD on a budget for open source projects on Sunday May 31, 2020 @04:58PM (#23372679)
Google is offering free fuzzing to large open source projects: https://google.github.io/oss-fuzz/getting-started/accepting-...
Re:Type Safety with Native JavaScript on Friday May 29, 2020 @04:48PM (#23355355)
maybe just JSDoc instead? It's an old standard, widely supported by IDEs, and use typescript for CI/CD

https://www.typescriptlang.org/docs/handbook/type-checking-j...

yeah, it's not like this is a randomized experiment so there might be confounding factors. Observational studies aren't very useful for determining causation in general
true, but the written language is exactly the same.

taiwan has national health care, really good public transportation system, really liberal government (gay marriage recently) despite the low gdp. I would move there if they legalized weed which is sadly unlikely

now that hong kong is a part of the PRC, maybe they'll be forced to use the national language (mandarin) lol

yeah, hopefully they just move to taiwan
Taiwan would be perfect if they had legal marijuana, and I could get a visa

Single-payer health care, really good public transport

if you just want the sdk, twillio.

Otherwise Jitsi Meet or BigBlueButton

Re:Ask HN: Specializing in DevOps vs. Full Stack Dev on Wednesday May 06, 2020 @01:58PM (#23094237)
worst part is being on-call/responsible any time something goes wrong on prod
Re:Speculating on the Animal Crossing Turnip Market on Sunday May 03, 2020 @01:56PM (#23060677)
Are you against wave-cheating in ssbm?
Re:Formal Verification Creates Hacker-Proof Code (2016) on Saturday April 25, 2020 @09:00PM (#22983230)
The most interesting thing I've seen as far as this is concerned is Taint Analysis. You can label functions as returning user input, some functions take user input and turn it into sanitized input, and there are functions that should never take non-sanitized input.

It's all statically-checked and you can incorporate it into your CI/CD: https://pyre-check.org/docs/pysa-basics.html

See also: Property-based testing, and TLA+

friendly, wants to teach
Re:BigBlueButton: An open source web conferencing system on Wednesday March 18, 2020 @11:40PM (#22624195)
especially for some thing that is free
Re:BigBlueButton: An open source web conferencing system on Tuesday March 17, 2020 @09:52PM (#22612793)
Best open-source, self-hosted solution to this problem. There is a mattermost plugin.

Very easy install, requires a 10 - 15$ vps instance.

Would like to see if anyone uses this on a large scale

Re:Firefox Multi-Account Containers on Tuesday January 14, 2020 @05:45PM (#22050032)
yes, can't believe it doesn't support syncing
The Intercept and Democracy Now cover South America quite a bit.

Particularly politics and environmental issues, for example Glenn Greenwald lives and has been reporting in Brazil.

Some good advice someone gave me awhile ago was to follow journalists themselves instead of news outlets

Re:Ask HN: What is your financial “setup”? on Monday December 23, 2019 @07:43PM (#21868920)
I have been starting on the road to putting all of my transactions into beancount, pulled ofx data for chase and scraped pdfs for another bank account.

The idea of keeping records of everything is satisfying, but still need to do it.

Could you give me some details about how you started? I've glossed over the docs once, but hopefully I can just import everything, name it properly, and view it on Fava.

Is it possible to automatically generate tax documents?

Older »