skysight-inc/HackerNews huggingface dataset:
I'm on ubuntu 18.04 and haven't been able to get v4l2loopback related setup to work with OBS using the obs-v4l2sink

* With the packages OBS Studio or the newest compiled

* With the DMKS v4l2loopback kernel module or the newest compiled

EDIT: Thank you for helpful comments. I managed to get this to work by:

1. Purging my existing v4l2loopback-dkms

2. Compiling latest v4l2loopback kernel module

3. Compiling latest OBS Studio

4. Compiling latest obs-v4l2sink plugin

5. sudo rmmod v4l2loopback

6. sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1

7. unplugging my webcam and plugging it back in

If you're currently having problems, before trying 1-4, try 5-7. It seems like v4l2loopback is getting loaded on boot, and some combo of that and my existing webcam was messing this up. Once I rmmod the kernel module and put it back, capture works but my webcam is gone. When I unplug my webcam and put it back, it all works. It may very well work fine with the standard v4l2loopback-dkms and obs packages without having to compile latest.
The conntrack(1) utility also has some fun brokenness. For example, there's a TOCTTOU issue when you flush connection state, as Calico and other k8s CNIs do regularly. The utility queries the kernel state, builds a list in user space, and then iteratively deletes each session. But if a session expires between when its reported and when the utility tries to delete it (for example, hitting the standard UDP session timeout, or a TCP FIN, which happens all the time), the delete fails with ENOENT and the utility immediately exits without flushing the rest of the state.

Calico and other controllers resolve this by calling conntrack(1) in a loop until success or a limit (e.g. 3, 5, or w'ever magic number) is reached. But even then you regularly get one more error than the limit, triggering alarms.

I submitted a patch last year that added a command-line switch for suppressing certain errors, but the netdev mailing-list is high traffic and I never got any feedback. I never expected my patch to be accepted on the first round; not even the approach. I can think of several other alternative ways to address the issue, such as not exiting on error until working through the queue, utilizing exit status codes for reporting the reason, etc. But it's unfortunate I got no feedback whatsoever considering it's a substantial pain point in the wild and a clear (IMO) defect in the implementation--because the error is inevitable and to be expected given the TOCTTOU race.

Of course, if I were writing a controller like Calico I probably wouldn't be shelling out to conntrack(1), but instead making the netlink calls in-process. But I'm not most people, especially in this particular case where everybody else manifestly treats conntrack(1) as the de facto programmatic interface.
"And the only effective treatment is time."

I think you mean that time is necessary, not that time is sufficient.
Show HN: DPiggy – A no-loss crypto investing platform
It would have to run a marathon to catch up. Initial steps are hardly an indication that it will.
I'm frankly amazed that you are really arguing that it is "absurd" for companies to be prepared for events of this magnitude. Many businesses absolutely prepare for them. This isn't a mile-wide asteroid, it's a pandemic. Also, $50B is not the amount an airline has to buffer to weather this, that's a ridiculous exaggeration.
Sounds exactly like government contracting.
Who is winning at capturing online sales and what they're doing right
Which is exactly the goal, every landlord would rather have ridiculously rich tenants, and most wouldn't give a single shit about what happened to the people who weren't.
This is great. Docker sometimes feels like a tangle of hacks, for example docker-compose build and docker build diverge and don't use the same layers. More standardization is better
No, 5G does not cause or spread the coronavirus. Here’s what experts say
As usual, someone posts a factual tautology, and the contrarian minds of HN decide that it must be buried into the depths of oblivion.

Get over yourselves. This poster is correct. Technology is not alive. It does not have ethics.
https://rafaelquintanilha.com

I write mostly about React, but you will find articles about JavaScript and Web Development in general.

It is a compilation of things that I use on a daily basis, so I think it is worthy for anyone who is interested in understanding what is relevant for modern front-end development.

Popular posts:

* https://rafaelquintanilha.com/how-to-become-a-bad-developer/ - What is the most guaranteed way of becoming a bad developer?

* https://rafaelquintanilha.com/react-testing-library-common-s... - Did you work with Enzyme before? If so, you should read this article explaining why you should switch to React Testing Library and how do perform basic tests you will very likely find in your applications.

* https://rafaelquintanilha.com/how-to-reuse-logic-with-react-... - Comprehensive guide of the basics (with examples) of React Hooks.
bocker
Firstly, there's running instructor-led training sessions remotely. I'm doing that, and I'm lucky in that the companies I work with have reliable video-conferencing systems. Unfortunately, the training experience really suffers when swapping to remote. It's not as much fun without audience density and being able to read individuals.

E-Learning is something that many companies will already have for their proprietary technologies. This can range from simple recorded videos to full-on courses with projects and assessments. It's early days, but I expect that there will be an increased demand if the COVID-19 restrictions continue.

I say that companies have it for their proprietary technologies, not general ones because they'll often buy general technology e-learning from someone like Pluralsight or O'Reilly.

For some topics, e-learning is fantastic, but if you want developers to learn deeply and quickly, then I think instructor-led is the best option. The blog is new, but that's an issue I touch on in: https://ignition-training.com/posts/elearning-wrong/. In the future, that may mean that we see more e-learning supported by remote instructors. This is hardly a new idea and is certainly under heavy testing with all of the homeschooling right now.

I don't yet have specific software recommendations. That's something I definitely need to be looking at - thanks for the nudge!
Pretty low-tech, but what we do is to create an md5 hash of the whole stack trace as a single string. Before hashing, we munge some bits to help make similar stack traces hash to the same value:

- remove file/line#

- omit the bottom (top) frame, which can be different between environments

- convert certain constructs to a common format (e.g., "unknown module" (clang) to "???" (valgrind)

- translate "func@@GLIBC_version" => "func"

This works well enough in practice for our purposes (identifying regressions and suppressing specific reports from valgrind/Address Santizer).

We also maintain a xref between md5 hash and full stack trace.
Since you mentioned Mao, I'm going to glom on here with this: what service does a landlord offer beyond four walls, a floor, and a ceiling, that's worth hundreds or thousands of dollars a month? They deal with maintenance issues, sure; occasionally, they can help mediate disputes between neighbors. But, beyond that, what justifies them getting paid simply for owning more of a thing (housing) than they can personally use? It seems like the perfect set of incentives to create hoarding and abuse, which is exactly what we see in the real world.
Hello, World – Zerodha, India's largest stock broker
Filth. Just when you cant think some of them sink any lower.
Reading the Wikipedia just now taught me that Big Buck Bunny has audio!

BBB is often played on a loop while setting up large (particularly high-res) video systems, independent of the sound systems. I've seen the video hundreds, if not thousands or times but don't think I've ever heard the audio.
F# is 85% OCaml. IDE is probably better though. Also you get all the .NET libraries.
It's not extremely simple. Do you know when to use v2 vs v3?
Ok, naive question: Why the <expletive> did they do that in the first place?
Submitting this so folks can discuss the actual root causes of the problem, because this may not be a zoom issue at all. Discussing with coworkers, we can see that the paid version allows saving to the cloud and users don't select the location, but the users of the free version may also be uploading directly to Youtube and S3.

This article does not really make it clear to us that this is an issue of Zoom uploading to unauthenticated S3 buckets (though the app does give you the option to remove authentication in the paid version). I would like the author to clarify as to whether or not they confirmed that the videos uploaded by the paid version can also be found in web searches, or if anyone here has also verified this. As for the naming, a coworker pointed out you can simply search for "GMT20200325" on Google / Youtube. Naming conventions get into the topic of obfuscation, but it is not clear if the app is uploading these files to searchable locations or users are doing this in reference to the article.

If this is just people uploading files manually to a public location, then it is on them, not Zoom. Youtube is obviously end users and they should surely know that is public. I can't imagine that many end users uploading to S3 or even knowing what S3 is without setting proper permissions.
yeah, a printer like that would be pretty great -- and two color printing?! What more can anyone ask for?

These sorts of projects are always on my mind. For a while I was looking into building what is essentially a Telex / typewriter output.

Thanks for this!
The UK government sacks science advisors for speaking out. It also routinely ignore their advise.

The current government are particularly bad at this, promoting pseudoscience and sacking anyone who isn't 110% aligned to their political point of view.

Under those circumstances, you cannot blame scientists for not speaking out loudly enough. It's inaccurate, it's unfair, it's counterproductive. It's also exactly what I'd personally expect from politicians like the current government.

If you have "had enough of experts" and you take no action on their written report saying 100k people are going to die, you can't come back and blame them when people start dying.
Of course, but rich people are on to that scam already. I would wager that most of those who can afford to own a home do, simply because they don't want a landlord as a liability.
The LTB [1] in Ontario is heavily leaned towards the tenant and currently is blocking all evictions in the city regardless of payment of rent.

>COVID-19 Notice: Until further notice, the LTB is suspending the issuance of eviction orders and all hearings related to eviction applications — unless the matter relates to an urgent issue such as an illegal act or serious impairment of safety.

1. http://www.sjto.gov.on.ca/ltb/
Congratulations on launching. Getting my CS major was one of the hardest things I did. Not because the knowledge (it's hard, but not thaaat hard), but because of the perseverance you need to have in an enviroment as toxic as a college, with sometimes bad professor (and sometimes the best you could ask for), or bad colleagues / students (and also the best friends you could get).
This post is a great example of how k8s cluster autoscaler expanders works.
A big one for me (covered in the release notes):

"Experimental support for using client certificates from the OS certificate store can be enabled on macOS by setting the preference security.osclientcerts.autoload to true."

This allows Firefox to work with my company's BeyondCorp implementation. I was forced to use Chrome before.
Short answer: Yes.

Before the pandemic I thought Trump has a very little chance to get reelected, and he needed a bigger miracle than last time. That "miracle" might be this pandemic. His support increased slightly, the pandemic might impact voter turnout and the Republicans might find ways of using the pandemic to further increase voter suppression. Four more years under Trump will depress American influence further.

I also feared that bad international actors would strike before the election, maybe more than one at a time, recognizing the US is at its weakest point in decades and can only get stronger with a president that can actually read. Examples would be Putin gobbling up territory in eastern Europe, North Korea testing a nuclear bomb or even poking South Korea militarily, Iran reaching the nuclear breakout or Israel launching a unilateral assault to stop it. Now, that might not happen, because all those countries have their hands full...
E. Margaret Burbidge, Astronomer Who Blazed Trails on Earth, Dies at 100
That would work if it ended in pockets where it can do some good. Having it end up with WeWork is the same as tossing it into an outdoor furnace.
What about the Moralist?
Why are you afraid to mention the word "Indian"?
you're right...they are the public, as in public relations
Indeed, the author is confusing things here:

- It has a vastly smaller attack surface than e.g. OpenVPN, because it is much less complex.

- Its performance is improved by being kernel based.

- Compatibility is helped by it being in the mainline kernel, i.e. every device shipping a recent enough kernel will be able to have it (no need to deploy/version libraries etc).

These don't have anything to do with each other.
Minus the retaliation this jives with what a friend who is a doctor at a hospital in the Midwest has told me. Hospital administrators and even other doctors who should know better making obviously incompetent policies and saying obviously wrong things about when to wear PPE.

I also think the headline characterizing doctors who want to wear PPE as "frightened" is extremely inappropriate. I don't wear my seat belt in the car because I'm frightened of dying in a car wreck I wear it because it reduces my chance of a bad outcome in the event a crash happens.
DANE for STMP is supported in postfix as well. DANE is more popular in Europe currently than the newly specified MTA-STS. Larger providers tend to prefer MTA-STS because it does not mandate the use of DNSSEC.
Portfolio performance report Q1 2020
Evil will always pay better, until everyone is equally evil. There's an essay titled "Meditations on Moloch" which covers this topic quite well (including how you can't sufficiently fix incentives).
anyone know what connector the gameboy link cable uses? i actually have a gameboy printer and it would be fun to print to from a PC
When there's a glut of people looking to rent, a seemingly endless supply, landlords can afford a lot of false negative rejections.

This means that trying to single out the people who were able to pay during this epidemic - by simply filtering out anyone who didn't - can be a 'winning' strategy. Or at worst, a non losing one.
"Take a warm bath" suffers from a lot of the same problems as this study. You can't actually have a blind control group, so there is effectively no control group.

So this is really just 17 people assigned to take a warm bath. The thing about mental illness is that it's really really hard to be sure if something helped. You're brain is the thing that is broken, and your brain knows you are being treated.

I have depression. I've lost count of the things I've tried, and when asked, I have to say "I don't know if this actually helped or if it's just my brain thinking it should have helped."

With depression, studies which are not double-blind are garbage.
Tale of two hypervisor bugs – Escaping from FreeBSD bhyve
Imputing Out of Mixtures, or Un-Stirring Spicy Soup
The difference is that it's you that gives them your reference and you can opt out if you want. Just like you give consent for a credit check.
http://forum.arcadecontrols.com/
> Now any content that disputes the existence or transmission of Covid-19, as described by the WHO [World Health Organization] and local health authorities is in violation of YouTube policies.

> This includes conspiracy theories which claim that the symptoms are caused by 5G.

Yeah, fair point. But it's a red herring.

> For borderline content that could misinform users in harmful ways, we reduce recommendations. We'll continue to evaluate the impact of these videos on communities around the world.

This one is KEY. Truth is, the majority of views comes from the Recommended, Trending and Next to Play. No one without a direct link will see your video, if it's nerfed by the algorithm. Checkmate.

Corona is a very heated topic with many unknowns. Deciding what can and can not be labeled as misinformation is thus very tricky even for an expert, because there is a very fine line between misinformation and speculation (which is different in the sense that it's done in good faith and thus perfectly fine). Who's going to make these decisions? A private corp with zero transparency?

We sorely need very clear distinction (maybe even legal - e.g. a framework for Terms of Service) between media and medium. With the former being free to set arbitrary rules, push agendas, ban otherwise harmless content, fuck with content promotion in whatever ways they want, etc. And the latter providing just the infrastructure and technical means to publish content with minimal governance. Status of being either of these must be granted upfront and then prohibited to change.

Otherwise every "social media" platform will eventually mutate into a weaponized propaganda machine, promoting the interests of its stakeholders and greater powers-that-be and suppressing any dissenting opinion. This temptation is evidently impossible to resist.
The difference is financial companies are well regulated and keep the information securely.

Oh crap... Equifax... nevermind.
Trump signs executive order to support moon mining, tap asteroid resources
They won't recover faster. I'm not convinced they are even now at the point of recovery!

I expect multiple new epidemic waves in China. Or a lot more suppression efforts than we saw already.

Corruption isn't helping public health.
Proving use will be damn near impossible.
Getting the list shutdown is more likely if a lawyer can prove they are acting as an unlicensed credit reporting service.
Is there something I can use besides Adobe Character Animator to stream a cartoon version of myself to Hangouts and Zoom? Something that talks when I do, uses my webcam to copy my movements, press keys to move arms, etc?
In California, all mortgage companies have said they will not notify credit report agencies during this time. That makes this another example of protection for landowners with renters on their own, causing additional friction in the upward movement of poor and lower-middle class of America.
Human Misjudgment Revisited (2017) [pdf]
"What if the placebo effect isn't just a trick?" (1 year ago, 278 comments): https://news.ycombinator.com/item?id=18398342

> Those with the high-COMT variant had the weakest placebo responses, and those with the opposite variant had the strongest. These effects were compounded by the amount of interaction each patient got: For instance, low-COMT, high-interaction patients fared best of all, but the low-COMT subjects who were placed in the no-treatment group did worse than the other genotypes in that group

> Analyzing the data amassed during the first 10 years of the study, Hall found that the women with the low-COMT gene variant had significantly higher rates of heart disease than women with the high-COMT variant, and that the risk was reduced for those low-COMT women who received the active treatments but not in those given placebos. Among high-COMT people, the results were the inverse: Women taking placebos had the lowest rates of disease; people in the treatment arms had an increased risk.
A New AI Translated Brain Activity to Speech with 97 Percent Accuracy
What a complete rubbish article. Apparently the three possibilities as an outcome are; 1) Nothing changes, 2) "China's rise is confirmed" (does this even mean anything?) and .... 3) Biden is elected. I'm going to go out on a limb and assert that these three choices do not span the space of possibilities, or even the space of large probabilistic mass for the possibilities, but they may span the space of the acceptable outcomes to the clown who wrote it.

Let me propose an alternative 3 possibilities that presently seem more likely:

1) Autarky is recognized as not so bad after all, at least in strategic resources

2) International institutions continue to not matter much in a crisis

3) Someone is elected (I could be wrong about this)
Thanks for writing the blog post. It was a great read.

You wrote "organs of executed prisons for transplant / sale, then slowly morphed into an extremely lucrative industry generating HUNDREDS OF BILLIONS". China has a $14 trillion dollar economy, so surely HUNDREDS of billions is not correct?

Also do you have a citation for the Mao quote. I would like to see the screenshot and/or the full canonical English translation. I am very interested in learning more.
Wasn't there a Dave Chapelle skit about exactly this?
Why is there no paper? How is possible to verify anything he's saying without one?
I got a laugh out of the ad at the bottom of the page: “convert COBOL to Java”.

I mean, it’s the first thing that went through my head when I saw the article, but...

We got off of that 60 year old language, and are no longer beholden to IBM!

... to be on a 30 year old language (that few outside of management love), and owe our souls to Oracle.

Yeah, balancing stability and ease of use is hard. The post-Java landscape is pretty fragmented with many more developer friendly options, but it’s hard to know what will still be well supported in 20 years. I like JavaScript - which is also as old as Java, but seems to have aged better - but I understand that it scares the hell out of many developers.

So what do we replace COBOL with?
Yes, all the keys do is scale the problem down. In general this is a very tough problem, everything else in the system is designed to avoid data loss, that's the biggest scariest failure case. But then when you want to lose data all the measures in the system to prevent data loss prevent that from happening.
I think the idea of building a community is valuable, and reduces the risk of disintermediation if you were just a tutor-matching service. You might want to look into the idea of separate pricing for the tutoring component vs just being part of a community.
> encode the difference between what is predicted and the actual data

Minor nitpick: In the idealized model there is no single prediction that you can take the difference with. There is just a probability distribution and you encode the actual data using this distribution.

Taking the difference between the most likely prediction and the actual data is just a very common implementation strategy.
In that case, let's just call it triple-blind... /s