skysight-inc/HackerNews huggingface dataset:
Controller. You need a controller. Or a smart model, in this simple case.

That’s what react/redux has done to you, selling this ‘immutable functional’ flavoured thing. While it is immutable at the programming surface, it is actually a series of complex updates with little to no help from the ‘store’ for convenient access. In pure js, when you want project.tasks, you just:

class Project {
get tasks() {
return db.tasks.filter(x => x.project_id == this.id && !x.deleted)
}
}

class Task {
get project() {
return db.projects.find(x => x.id == this.project_id)
}
del() {this.deleted=true}
}

db.tasks = [].map(Task)
db.projects = [].map(Project)

... in a view:
h(button, {bind:[cr, 'add_task']}, '+')
cr.project.tasks.map(task =>
...
h(check, {bind:[task, 'done']})
h(button, {bind:[task, 'del']}, 'x')

... in a controller:
add_task(project) {
db.tasks.push(new Task({project}))
}

In “immutable functional state transformer based on async-dispatched store”, which these re-whatever buzzwords are, you cannot have neither smart data items, nor a good controller that could join unrelated objects together, nor recombinable data sources, nor nice testable api boundaries. And when someone whispers MVC, you think about web 1.0 patterns, with it’s “MC in MVC is backend roundtrip” meaning.

This particular example is a set of five dead-simple classes (DB, Project, Task, TaskListController and TaskListView), almost all orthogonal and useful/testable on their own. Easy for imperative thinking and managing^, cause UI is suddenly imperative. You constantly battle with immutability, lack of control, state copy-transfer and tons of boilerplate for a simple action, can’t you see? You’re doing a monad bind operation by hand, because there is no do-notation in your language, and where there is, it exists and is called “do” for a reason. How did they miss that completely? /rant

^ e.g. want to see deleted tasks? Write a getter in a controller or a db (depending on locality requirements) and use it in a view as if it was a pojo array. Reimplement on demand to leave your tests and logic intact.
Replacing pictures wont help (they already have them), GDPR request for deletion might work better but on the other side you also give them your confirmed identity. With companies as shady as this one, they might just set a flag in their database and add your documents data to them.

As you have figured out on your own, public should listen to some people warning about this for more than decade instead of making fun from them (tin foil hat,...).

And if anyone thinks that google and facebook are not having their own versions of clearview, think again. Any form of online presence under real name has to be minimized and it is doable but this would mean that all personal narcissistic pushes would need to be stopped (or should I say - cured) and refrain yourself from using any personal information (no, you wont secure my account by having my phone number, provide me TOTP if the security is really the reason) on the internet while avoiding it beeing stolen by apps (application firewalls, sending back fake data and not using any google applications including removing their preinstalled spyware by rooting the phone).

I can guarantee you that you wont be missing anything relevant (I am doing it for more than decade). But. Will you do that? Can you do that? Do you want to do that? Most people just rather take blue pill.
In the video I saw they seem to have added a gasket material to the edge.

Yes, you are right, getting a good seal with a hard plastic is difficult (unless you impale it into your skin). I wonder how carefully they adjust their N95's to have a good seal? If you don't, particularly at the nose bridge, you can have some pretty big gaps.
Newpipe on mobile, ublock origin on desktop. Problem solved.
Best top air purifiers to have in your home
Why wouldn’t we want people to continue iterating on designs? Should all the world’s designers just start trying to become manufacturing planners? Of course not. This would be a terrible use of their skill set. But more than that, why in the world are you criticizing people who are just trying to help? At a minimum these people are helping to inspire hope.
Wow that last photo doesn't even remotely look like him. I'm more surprised by how bad their facial recognition is than by the data have.
Chung Euisun Elected as New Hyundai Motor Board Chairman
There has been recent activity (article in german).

The article claims you could ask for deletion of your data without uploading your ID.

https://www.golem.de/news/gesichtserkennung-datenschuetzer-r...
So long as every real number exists, has properties and so on. Every such number is a separate idea. They exist, no matter whether we know about them or not.
They already knew, they just liked to see the drones line up and sing the national anthem. The sense of power having inferiors around.
I suspect the EU will just outlaw that kind of collaboration.
You can toggle off the video mode in the app setting.
This solution has been going around for a while. I read a paper about it. In fact, I believe they expanded it such that one ventilator could service four patients.

The issue seems to be that normally a ventilator has sensors and modes that will track patient needs and auto-adjust accordingly. When you split it like that they have to be used in a mode where the machine operates in a fixed mode and, for lack of a better description, just shoves air into the patients without much regard for what they might be doing. The paper described this as "very uncomfortable".

Yes, better than nothing. I would hope they are already doing this in Spain.
I would suspect if the general population was told to do this we'd have more disruptions due to house fires than from the increased risk of unboxing packages outside of the door, discarding them and then washing your hands and clothes.
The article needs to be read. "Experts disagree" is a palimpsest of what it actually says. Experts say it's hugely unhelpful to run this story is what it also says.
> Much like life, people find a way. If there is demand, innovators will find a way to meet it.

That's like saying that life is equally good and the US and North Korea because "people find a way" to work around problems. There's a real way in which economic inefficiencies reduce our standard of living. Making advertising worse on purpose is just a race to the bottom, all feel-good crusading without any end benefit to humanity.

"But I won't be tracked!", the privacy people say. So what? What harm will you have prevented?
In my experience, margin isn't harmful. Using a container to space components relative to each other is harmful.

In fact, using margin correctly can prevent an explosion of exceptions on the relative positioning of your components. It also brings you more in line with how a designer thinks.

Consider this: one of the things a designer takes into consideration is composition and whitespace. In effect, this means that distances between components might change, depending on what their layout is, and what components are situated around it.

When you have a wrapper component, you can set some sensible spacing defaults for its children. But some components visually need more breathing room, while others need less. This depends on the design of the component. It also depends on what components comes before or after, so a simple padding won't suffice. Two visually heavy components need more space in between as compared to two that are visually airy. You'll eventually end up with a long list of + selectors to precisely tune every single combination. This quickly gets out of hand. With or without a wrapper element, those exceptions must be applied somewhere.

However, when using margins, you avoid all that. Since margins collapse, you can be assured that any combination of components has the minimum amount of whitespace between them, determined by who needs the most. Now this isn't perfect, but it gets pretty close; any component that needs a bit more breathing room can force a larger distance. This way, you might still have one or two combination exceptions, but these will be rare.

So, looking at it like this, margins _are_ a property of the component itself: it's the equivalent of a guy stretching his arms out and saying "don't come too close, I need my space!".
Amazon Claims Pentagon's Jedi Review Keeps Microsoft in Front
SARS-COV-2 binds to ACE2 receptors which are prevalent in your lungs and your gut. Its possible the virus attacked the gut rather than the lung. Staring at data last night there's about 1/4-1/3 of a chance for "mild symptoms" but the data did not capture gastrointestinal issues. This also goes along with the theory that there are two strains, one more vicious than the other.
This is the very reason Russians buy dashcams by tonnes.

Sold few thousands of them to Russian retailers at around 2008-2009, when I worked in a trade company in Singapore.

Previously they were used by Taiwanese taxis to record what's going on inside the car.

Russian's immediately found an inventive use for it, and instead made them to videolog what's going on in front of the car.
So not being the majority makes it okay to completely dismiss me? Was corporal punishment bad for every kid? Is waging war bad for everyone involved? It's a dishonest question.
I also experience the same thing with Mattermost (the client also being an Electron app). The memory bloat usually comes from switching back and forth from so many channels, scrolling up to load more chat history, and lots and lots of image attachments (and of course, the emoticons).
The why include the symbols in the first place? Just in case?
What's wrong with having a picnic with wine if they're not near anyone outside their household?
I'm skeptical about that. You can easily put a bunch of masks in an oven at one time. There is no complication at all to that approach and no questions of coverage or distance (did your water vapor get all over the mask properly and at a high enough temp). The oven is fire and forget, pull after 30 minutes.

The oven is safer and easier by a wide margin.
When you are sending someone to jail, you want to make sure of their degree of fault, don't you?

The person lying on the ground wasn't killed. The woman trying to drag him out of the road was. She was presumably innocent. (although she may have played a role as well, I understand she was intoxicated too, but in the moment she was trying to help her friend to safety)

Regardless, who suffered is a completely separate issue from who is responsible. Do you really want to distort the process of determining who is responsible, out of fear of "victim blaming"? It could have happened ever-so-slightly differently, and it might have been the motorcyclist who was killed. Does that automatically shift responsibility?
Don't panic! No need to bring out the towel, the dolphins aren't leaving just yet. Someone else has access to this repo and stated that security fixes will be maintained.
Indeed. It seems that Facebook's network effect is at play here. As a platform, it is playing a massive role in communication and information sharing in an epidemic.

Perhaps when this is all over some sort of open-collaboration framework should be devised for medical professionals (assuming one doesn't exist?). Also, someone could quite easily take the information from Facebook and put it somewhere else that's more accessible. Facebook groups are closed, right?
As a whole nothing connects the financial system to the real world. Therefore it cant fail. If the robots take over and humanity goes extinct the financial system will continue to work just fine.
A Proposal for Social Insurance During the Pandemic
> I don't think I've killed anybody yet

If you can't tell for sure, are you certain that you weren't drunk yourself?
The antidote to the epidemic is not segregation, but rather cooperation
Video games do not run on/as containers. Quite the opposite, in fact.
XSS Resources
1 box of Marlboro for the prison guard should do it
What keyboard form factor is ergonomically right for you
Ok. So I'm currently writing something that parses zig code and explicitly not having to worry about \r is a godsend.
Welcoming the USA Government to Have I Been Pwned
What catches fire at 75 Celsius?
Thank you, and there are a lot of challenges! The greatest one I think is making sure that users find content that's a) relevant, b) more than just some quick-fix temporary entertainment and c) something they'll want to do and feel ready to do. We don't want the site to be something that people only use to passively ease the pain for a while (though that is of course helpful sometimes), we want them to also find things that engage them. We've talked in the team about this quite a lot and how difficult it can be.

Ideally, in time, there would be some kind of system that lets users input some basic info about who they are and what they like, and then the site would make suggestions with say a) what content sections/tags that might be relevant, b) a specific link/site that might be interesting, and c) a specific activity that the user can try, that wouldn't take much time or effort and still be interesting. We want to help people get the ball rolling with getting more active in their homes.

Speaking from clinical psychology experience and from I guess just general experience of being a human, I know how hard it is for people to start new habits. You want the person to get started with something that's meaningful while also being fun/interesting enough to compete with watching another YouTube video - which again, is totally fine in moderation, it's just when the passivity becomes too much of a pattern that it's a problem.

Do you see a particular challenge we should keep in mind? :)
Tobi (Shopify’s CEO) has put up the bounty.
I just realized I have used the ordinal symbol many times when I should have used the degree sign. Why didn't someone tell me? Oh, I've been making an idiot out of myself.
Ask HN: How do we help students that are stuck at home?
I can't even imagine how disruptive it must be for students to be stuck at home trying to learn everything they are going to need for their college and future. What are some things HNers can do to help?
Just for the record, the journalist who broke the story on Clearview noted that Clearview AI has specifically demonstrated it isn't fooled by thispersondoesnotexist.com:

https://twitter.com/kashhill/status/1218542846694871040?s=20

You won't be giving them any info on you, but you won't be confounding them either.
As you can deduce from my comment, I think $10 a month is too much. I'll just download the video and watch it offline later.

(I understand the sentiment, but it's actually more like $15 a month here. Plus I make about a fifth of what a developer in the USA might make, pre-taxes. After taxes, rent, and groceries, $15 is about 10% of my monthly budget. I am not going to spend it on cat videos.)
Yes, I don't think that's even debatable.

The preservation of power right now is just egregious beyond comprehension. The Fed & Washington, for the service of the banks & corporate America, are going to add an immense amount of fragility to hold up an already fragile system with all of the Fed actions so far + $6 trillion in spending.

Ultimately, I believe how Central Banks operate these days cannot be sustained because to sustain them would defy the Laws of Thermodynamics. Their goal is perpetual low vol, but thats obviously not how volatility works. Vol suppression just leads to more explosions of volatility that are now having dangerous implications in the real world.

The latest actions by Congress & the Fed, if they pull it off, I suspect will lead to the next wave of volatility in violence, in a country with 400 million guns. Even if they pull this off, they're exposing the US to just an immense amount of pressure on the inflationary side. The political fallout of these actions I suspect will be a true rise in authoritarianism because violence will lead to chaos which leads to more violence, which leads to authoritarianism to suppress violence. Hitler rose to power as a reactionary force to the hyperinflationary failures of the Weimar Republic. The big difference now is that the tools at the hands of the government have never been more powerful.

This is not a moment where everyone is sacrificing, the managerial class of America & the executive class can maintain their pay, while 30% of Americans probably go unemployed, and every single small business in America has lost everything. The idea of America, this idea that anyone can make it, is totally lost in these circumstances. That is a far more powerful effect on society than anyone even realizes right now. So while these executives don't make a single sacrifice while so many do, I predict their lack of awareness to such extreme selfishness will ultimately be their downfall.
These ideas originated in the 1970s with the GNOSIS/KeyKOS[0][1] operating system. I wrote an informal summary here: https://github.com/void4/notes/issues/41

So they are old, but there's a wave of new projects using them again.

[0] http://cap-lore.com/CapTheory/KK/
[1] https://en.wikipedia.org/wiki/KeyKOS
Loship CEO’s Brain: How He Builds the Next Unicorn of Vietnam
There is no magic solution here, all parties are going to get somewhat screwed by this.

Its not like defering the rent is neccesarily in the best interest (from a purely ecconomic perspective of the landlord). If you defer rent for many months only for tenant to go under when this ends (and lets be real, many tenants are going to go under when this is all said and done), the landlord would be better off being heartless and not defering rent
Balderton B2B Sales Playbook
That proves the point: with multi-GiB memory nowadays you can fit many times over all the space that the iPhone saved using dynamic linking.
The problem is the assumption that people will consistently manage to ensure it only reaches 75 degrees.
Coronavirus map: “March 25, 2020 – the day the Olympics got postponed”
Use your social media to share links to free learning resources, including those offered by your local public libraries. Amplify (retweet) educators doing that.
I also shipped an app for a client called Droplii. I definitely believe you can use it for production level apps. Productivity is through the roof. There are just a few small quirks, but I believe the pros out weigh the cons here.
Author argues the coronavirus may have leaked from a Chinese virology lab
They are two new GCs Shenandoah and ZGC.

Indirect pointers or Brooks pointers has it is called were used in Shenandoah v1 to allow an application thread that perform a read to not move the object during the evacuation phase.
This strategy has been removed in Shenandoah v2 to have a better throughput so now both read and write by the application move the object during the evacuation phase.

ZGC has never used Brooks pointers.
Elite versus Non-Elite access to Covid-19 testing
Well its certainly true you can do that (World wars prove that) i doubt the united states has its shit together to even attempt that. Even if it did, i doubt it could do it quickly enough to be useful.
My guess (only a guess) is ozone would work fine. It would probably be as effective as the UV treatment.

And, again, all the caveats about ozone not being an empirically-evaluated sterilization method.
The issue isn't that this is based on a design from the '50's (whatever that might mean in practice). There's a massive difference between throwing a bench prototype together and making thousands of repeatable and reliable copies of the same device. For example, how do you guarantee it will work reliably 24/7 for weeks on end without changing settings, breaking down or killing someone?

I can find the blueprints for the engine in a 1967 Ford Mustang and machine one from scratch and probably make it work. From there to making tens of thousands of copies of that same engine it's a different matter. It's a million times harder if I have to ensure a certain level of reliability, smoothness, wear rate and longevity. And we are not even talking about a critical life support device.

Regarding globalization and the supply chain. Believe it or not, we almost can't build anything in the US or Europe without Chinese components. This spans almost anything you can think of, from wires to chips and displays.

The displays are a good example. On a good day lead times for displays and related components range from, depending on what you are buying, 8 to 20 weeks. This is for stock product. If, on the other hand, you are using a custom display in your product, perhaps one with custom indicators, lead times can easily double. We don't make ANY of that stuff in the US or Europe. And most displays are sole source.

So, if you, all of a sudden, need to make 100,000 more units of something immediately --within two to four weeks-- it is about as close to impossible as you can get and truly impossible without supernatural intervention.

Having a local supply chain may not necessarily modify that, yet it would provide you with far more control.

Extend that concept to almost every single component in a machine and the problem we have should become very evident.

All the eggs were in one basket.
Sounds very much like LambdaMOO. Back in the day there were mirror sites you could use if your ping was absurdly high its possible that sapporo host was just a mirror. Snow Crash sounds familiar, but it reminds me of an area inside LambdaMOO. That world was huge, I remember several times ending up in brand new areas that I would spend hours exploring because I never knew how to get back -- I jumped out of a helicopter once, landed on a remote island that had a HUGE underground complex. Another was a party room in the clouds... the imagination could run wild there. I also remember things that could "playback" events (like you could look into a mirror and see who used to be in that room)
For anyone interested, here's a video of a junior doctor in England testing his FFP3 mask fitting. https://youtu.be/7XZ2_xSHKMw?t=555
HP spun off the good parts in 1999 to form Agilent. The Test Equipment division was spun off in 2014 as Keysight

https://en.wikipedia.org/wiki/Agilent_Technologies
https://en.wikipedia.org/wiki/Keysight
"And then there is this little-known fact: Some Chinese researchers are believed to sell laboratory animals to street vendors after they have finished experimenting on them.

You heard me right.

Instead of properly disposing of infected animals by cremation, as the law requires, they sell them on the side to make a little extra cash. Or, in some cases, a lot of extra cash. One Beijing researcher, now in jail, made the equivalent of a million dollars selling monkeys and rats on the live animal market"
Yes, but for many projects it means no static linking in practice.
I hope not. I hope people learned a lesson. What an expensive lesson to learn. For what? To be able to buy cheap shit at Walmart? Brilliant.
This just makes FB more of a public utility.
They will call the bluff and stop paying. Mass evictions probably wont be tolerated.
I understood. So it's basically getting a book with some code that will invalidate the content after x days. Another probably stupid question: can an infinite number of people borrow the same book? Or do they have a limited number of "copies" to give out?
Not everyone works in cushy software-engineering jobs like us. minimum wage workers most of the time do not have a choice: its either work this job or none.

I urge you to not assume your position is the standard and to see beyond your nose.
BT may claim it is nowhere near their capacity but everybody on my team has seen really noticeably degradation in home internet performance over the last couple of weeks (this includes people who work from home daily).
Great Trigonometrical Survey (Of India)
I don't think my oven can go lower than 200F.
In the UK you can't walk away anytime unless you have a job to go to, because making yourself intentionally unemployed means you have severely limited access to benefits.