skysight-inc/HackerNews huggingface dataset:
Is React Native performance really good? Compared to what?

I've found RN performance passable but underwhelming. It seems generally worse than a good native UI, and no better than a mobile web UI.

I don't understand why the JS is run in a separate thread, rather than just using the UI thread for UI (as it's intended for). By making all the interaction with the native toolkit asynchronous, it adds extra latency and leads to unavoidable glitches in native widgets used as controlled components.

Animation in React Native is much more of a hassle than UIKit or even CSS. (About the same as native Android, though, where it's also pretty tedious.)
This reminds me of a website called Cooking For Engineers[1] which uses diagrams to represent the parallel and sequential parts of a recipe (e.g. [2]).

[1] http://www.cookingforengineers.com/

[2] http://www.cookingforengineers.com/recipe/172/Pan-Pizza/trn
80's and 90's it was mainly about pushing the limits of hardware (and some art). Now the demos don't look as innovative comparing to games, VFX. I think only C64 and some other artificially limited platforms still are doing very interesting stuff but it's very little of it.
AWS Architecture: Architecting Twitter Using AWS Services
> Never use a credit card for credit. The only kind of credit, or debt, that is acceptable is debt to acquire something whose exchange value is extremely likely to increase, like in a home. The exchange value of most things diminishes or vanishes the moment you purchase them. Don’t be in debt to losers.

While true on credit, I would like to point out that the statement "something whose exchange value is extremely likely to increase, like in a home" can only be made by someone who doesn't know history beyond their lifespan and beyond their country (or maybe even beyond their county). The long term value of homes basically doesn't increase. People in their 60s are especially prone to not knowing this, having lived through the greatest asset appreciation period in the history of America, and perhaps in the history of the world.

Forced savings may be worth it, but it is forced at the expense of crazy leverage and severe tail risks. 10% downpayment is 10x leverage, 20% downpayment is 5x leverage - would you ever leverage stocks or any other personal investment even by 3x?
Deploy Gin (Go HTTP Framework) with Postgres on a New CaaS Platform
> without any useless packages

This is as opinionated as it can get. No specific mention of any of those packages either. So what am I looking at?
That's exactly the problem though. Parents and some teachers don't realize that. They have no clue what they're actually doing, they just follow the algorithm. Which means they have no number sense either, and don't get that they can break up into easier to solve ways and play around with numbers.
You can paste in the value and then change the value to something wrong and to the right thing back again. This will make sure that the required events will fire.
> at some point admit that we want machine learning algorithms to be able to interface with symbolic rules rather than pretending that everything is a data issue

That is a long way off. We find ourselves in a situation where we have models that do useful things, but are also horrendously biased.

If you want improvement now, the quickest way to get it is recasting benchmarks. Most NLP research groups just hill climb on GLUE or whatever. What gets measured gets managed, and bias is not being systematically measured.

Right now language models can't even compare ages that fall outside the 20-100 range, and it is really unlikely that we are going to quickly get to architectures with symbolic reasoning sophisticated enough to squelch bias.

To Google's credit, they are working to measure (and therefore manage) bias [2].

[1] https://arxiv.org/pdf/1912.13283.pdf

[2] https://www.youtube.com/watch?v=XR8YSRcuVLE
I actually heard Germany’s infection rate has now increased directly related to their reopening (before R0 was <1 now it is ~1?)
> New York's 20% indicated infection rate likely means that the infection rate today is approaching the 50% or more required to achieve herd immunity.

Yes, if by approaching you mean at least twice the number of people who have already died from the virus would have to die to achieve this, since 20% is less than half of 50%. I’ve seen scientific experts estimating that with this specific virus, due to its high R0, 50-70% is not the threshold for herd immunity anyway and it could be up to 84% or higher (Polio = 80%, Measles = 95% thresholds, for comparison). That could mean up to 4x the amount of deaths we’ve already seen.

The total number of people who would be affected by a herd immunity strategy could also be changed by a social distancing intervention around the time the threshold is reached. Otherwise, models indicate there would be an overshoot and a higher % of people would end up being infected than is necessary for herd immunity. No country or region seems to have reached this threshold yet though since they all engaged in social distancing first. https://twitter.com/CT_Bergstrom/status/1252078649827667968

The other option would have been to do what several countries in the Asia Pacific region did - Taiwan, Vietnam, and apparently China, for instance. Instead of allowing the virus to run free, they have worked toward eliminating it within their borders. Many lives will be saved if that plan can succeed and they can avoid a “herd immunity” result until a safe vaccine is available to provide the herd immunity.
The only way to enforce such a scheme is fascism -- immediately negating all freedoms won thereby
A lot of places there is a sharp licensing distinction between requirements for those who want to be able to pick up unscheduled passengers on the street or taxi ranks, vs. those who only pick up on request or from their own locations. Overall the latter category tends to face far fewer limitations and be a lot more competitive.
And he might still be right.

But - and here is the rub - it will be because the lockdown interrupted person-to-person transfers, and not because the inert bases making up the virus suddenly decided all by themselves, and all over the world, to lower their R0 from > 3 to < 1.
"Just participate in the debate" is the kind of nonsensical rhetoric Creationists use to push their religious beliefs into science education. There is no debate. There are no questions. The only dangerous precedent we're setting is one of ignoring the expert epidemiologists tasked with protecting the public.

https://www.weforum.org/agenda/2020/04/pandemic-economy-less...

https://www.ssrn.com/abstract=3561560

To summarize, during the 1918 flu pandemic, American cities that implemented early and extensive non-medical measures (including quarantines) suffered no additional adverse economic effects due to implementing those measures when compared with cities that implemented measures late or not at all.

http://webarchive.loc.gov/all/20150111194407/http://www.hist...

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3291414

Again, to summarize, American Samoa and New Caledonia succeeded in preventing even a single death from the 1918 influenza through effective quarantines.
This looks a lot like the common fallacy (in blockchain circles) that anything that is _possible_ is also _inevitable_. There is no reason at all why IPFS VMs would be profitable in the long term, especially since VM hosters are not stupid and would just dedicate their capacity to IPFS themselves, cutting out the middle man.

Of course, in the shorter term there are many different scenarios where the market is slower to adjust. The STORJ network has been subsidizing their node operators with VC money for example, leading to some excellent unit economics for the early adopters.
Tips for More Effective Code Reviews
Wuhan lab 'most likely' coronavirus source, U.S. government analysis finds
This metric is also unsuitable for Europe, where generally pizzas are individual.
Safari's scroll snapping doesn't work in RTL at all. This industry is quite something.
My favorite out of these is the 500 miles email limitation one. I work mostly on big bulky manufacturing equipment but my job is to abstract out the computing part. This story reminds me that every time I want to do something I am still limited by physics. I am reminded of this story whenever the hardware people ask me to insert an artificial delay in computation.
It's basically a lost cause to avoid fingerprinting.

https://www.amiunique.org/
The first thing this site does is ask me for my location, and then berates me for not sharing my location.

Don't assume that someone opening https://traffickcam.com/ is there just to upload photos. Wait until I actually push some kind of "upload photos" button before you request my location.

FWIW: Whenever I open some unknown web site on the internet, I NEVER share my location. I only share my location when it's clear that location sharing is needed for a specific action.
AirBnB pivoted. Their initial model was more like paid couch surfing and that's not what took, basically. So, no, I don't think they really knew what they were getting into and I don't think they intended it to go where it went.

I think the efficiency gains of the gig economy are real and can potentially benefit all parties. The fact that they often don't is something that I tend to "attribute to stupidity rather than malice" as the saying goes.

I'm really short of sleep and maybe that's the problem here, or part of it. I'm happy to discuss this with you, but I wasn't accusing you of anything at all.

I have thought a great deal about this and I run r/GigWorks because I feel strongly that gig work can be "the next industrial revolution."

When I was homeless and began doing gig work, I sometimes made like $1.25/hour, which is terrible. But it was more than I would have otherwise had and it allowed me to build towards something better and it made sense for me.

When I'm having a good a day, I can make more like $20/hour these days. The flexibility mattered to me and I continue to struggle to articulate the very real value of details like that.

We keep raising the bar and raising the bar until you have to have a PhD and be making a mint to have any hope of moving out of your parents basement, so to speak. And that's a problem.
Train and deploy XGBoost models using coremltools
> SCOTUS limitations for freedom of speech are very narrow

Are they though? I can think of all kinds of limitations of the freedom of speech in both the US and in Europe. Copyright, gag orders, company and military secrets, illegal numbers, etc.
I find this article shocking in it's relentless dropping of brand names and painstaking effort to try each and every wrong solution to every sysadmin problem.

When I see how many people complain about their macs, it reminds me of the oldsters complaining about problems with their Buicks and Chevys long ago. After WWII there were large parts of the population such as veterans, Italians, Polish, and Jewish people who would not buy a Japanese or German car. These people let the quality of American cars deteriorate dangerously because they'd buy any bucket of bolts and rust that Detroit would offer. Slowly these people died off or eventually got burned so bad by a lemon they bought that by the 2008 financial crisis the last two hold outs, car rental companies and police departments, were wavering.

Detroit realized that shipping crap cars to car rental companies just meant that people who never drove American cans would be certain to drive bad ones, and decide that they never will drive American cars.

Cops in my area went so far as to road-test Hondas, but they are still stuck with getting American cars from an industry that isn't really sure if it wants to build police cars.

It is the same with the mac. There are many unhappy people who think using a different computer is like putting a hand in a toilet, so they are afraid to upgrade to better computers that are available on a competitive market.

A lot of the trouble in the software biz in the last 10 years or so is that there is a certain kind of company that buys every dev a mac, and that they live in a world that is so insular that they never meet anybody who uses a PC, although most of the end users have PCs.

Then they wonder why they can't sell any software and can only get acqui-hired.
Did this open up focussed on a tweet by a "Melissa A" with a reply by Elon Musk saying "True" for anyone else? Took me a few seconds to realise that I needed to scroll up to see the actual linked tweet (literally just the words "FREE AMERICA NOW"). I tried on a few browsers with the same behaviour, looks like this is deliberate.
There is a massive selection bias at play. People who need both parents working, and single parents, cannot homeschool. School is largely a matter of resources, whether it is a traditional school or homeschool.

And if you’ve never met a religious homeschooler then your sample size is quite skewed. According to the Department of Education they account for more than 66% of homeschoolers.
Language Design: Use `ident: Type`, not `Type ident`
We are dealing with poorly defined terms. However, services mapping ~1:1 teams was generally called service oriented architecture not micro services. Micro services involved breaking things into even smaller chunks, so backing off of that idea really just means SOA as originally defined is a bad idea.
Economic Growth Is Incompatible with Biodiversity Conservation
==Based on the drop in cases==

Friday and Saturday saw the highest single day totals of new cases.

==ludicrously low infection and death rates==

Nobody knows these rates because we can’t test enough people to know infection rates. People are dying at home so it will be a while until we know actual death rates.

==speedy development of herd immunity==

You and your family should jump to the front line and help build this immunity. I’ll protect my 2 year-old and pregnant wife in our home.

All we have to do is look to the 1918 flu to see the danger of opening up too soon. Making up strawman quotes from your “opposition” doesn’t change the data on this virus or the history of past viruses.
Creating an iOS application to recognize, detect, and extract license plate
What's new in TypeScript 3.9 RC
So if the idea is to "maximize leverage," would you say that influencing one person's life profoundly and unalterably would be more leverage-bearing than influencing many lives shallowly? To me this question gets very interesting when we start looking into what sort of leverage is best and what sort of leverage to prioritize.
I still own and use my 2007 iMac as an iTunes server for the Apple TV. I changed the drive around 2010 because it failed, but outside of that I had nothing but a magnificent experience. I love my iMac.
Thanks, this is hilarious! "Okay! I'm braking now", definitly my new going to the toilet catch phrase.
What's with Americans getting a magic number that can apparently ruin their lives?

What harmful thing can an attacker do with it that doesn't require further identity verification?

Is this an urban legend?
You are right, I should update readme for more detail. but mainly there is no dm ( display manager ) also I didn't add most of the gnome related packages

I will write a good comparison
US large scale is not large in general. Ukraine (or maybe Kazakhstan) are much bigger (the old collective farms from the soviet union, the collective broke up but not the farm). Brazil and Australia both tend to much larger farms than the US as well (but not on the scale of Ukraine). It will be interesting to see what happens in Africa - there are signs that continent is modernizing.

Of course if you are in western Europe US farms are big, but there is more to the world than Europe and the US.
> If you don't like it

... feel free to discuss about it on hacker news.

Regardless, would you say the same if someone was banned from a super market over being gay?
Why Ubuntu and not Debian for a project like this?
No, but I did notice that the doctor has a stethoscope around her neck, which seems strange for an online meeting.
Dystopic? That's a privacy forward feature. Accountability to protect the privacy of meetings.
I struggle to take Musk seriously. He has too much to gain from getting people working again.

His production operations are notoriously behind schedule and only accelerate by throwing more (literal) bodies at the problem.
I have that. I have to find it. When I do, I will pastebin the link here.
> any sane GUI tookit can render more then 100 items on screen

Sure, but it's uncommon that I want more than 100 items on a screen in a webapp. Infinite scroll is not an antipattern, but it is something that people should be a little bit cautious of.

Users like context and clear anchors -- I like to be able to hit a back/forward button and know where I'll end up. I also like pages to load quickly and not make a ton of background requests on mobile connections, so if I can have an initial page load under a few megabytes at max, and can wait for the user to request data before loading it -- that's sometimes an attractive proposition.

Multiple search engines used to experiment with infinite scrolling and virtual rows, and as far as I know, most of the big ones went back to pagination, and I think it's because sometimes pagination is genuinely better UX, particularly when you're scrolling through a long list of blog posts or search results. Of course you can put thousands of elements in the DOM, and you can implement virtual scrolling if you need tens of thousands or millions. But the DOM tree is ultimately meant to be a human-traversable interface, and a <ul> element with several thousand <li>s beneath it is arguably not very traversable.

There are no hard rules here and there are a lot of caveats to what I'm about to say -- but I now bias towards avoiding DOM trees that are so big that I couldn't stick the current tree in a text editor and mostly consume its content textually, and that includes on dynamic web apps. The current state I'm displaying to the user should be small enough that the user can wrap their head around it.

The fact that React is so slow that you basically need to at least occasionally think about how you're rendering state is a separate conversation.
This can be solved with enough cameras. When those spot someone they immediately can check whether the person is tagged correctly. If not -> that's left as an exercise for the reader.
I disagree. I think that's like saying C++ doesn't actually have classes, it's just syntactic sugar around structs of function pointers.

It may be technically correct, but C++ and now JS have a "class" keyword for a reason, and that's to steer you towards organising your code into classes which operate in certain ways. In both languages you can avoid using classes, sure, or abuse classes in various ways. But fundamentally they do have classes.
Fast NLP Model Pretraining with Vampire
Its coming, there is no doubt there. The question is: when? There are a lot of technical issues to solve, and Uber's capital burn isn't going to last forever. Are they (and their investors) willing to hold their breath for decades for truly safe, truly autonomous vehicles?
Minimum Viable Journaling
I think that's unfair (I may be biased as I work at Oracle) but many people would argue Oracle is well in the top 5 (if you look at global infrastructure and platform, and discount SaaS-only and/or regional vendors).

OCI is also growing very fast (aiming for 36 regions by the end of the year) and adding lots of products beyond basic compute and storage, particularly around cloud native (functions, managed Kubernetes, API gateway), of course database (classic, autonomous, MySQL, NoSQL) plus streaming, events, monitoring email delivery, marketplace etc. And a lot of Oracle products as PaaS (analytics, integration, blockchain etc.)
Sometimes even that isn't enough. You have to read it twice.
I was having a text exchange with a manager on the road. Hard to come to a consensus that way. So I wanted to talk when he got back to the shop.

I texted "We can talk some more when you get it."

One letter. The issues it caused lasted for years.
The mental model for a react component is very much simplified and consistent.

You declare how your view looks like, wire up the state and user interaction stuff and you have a self contained puece of code.

People doing UI stuff, before the advent of React usually highly appreciate it because they know how much work it takes to actually build a usable UI in vanilla JS.
Funnily enough, gsuite let’s you share a document to a non google email address. You’d think meet would add that functionality.
Ask HN: Is there a shortcut to understanding the system?
I am a pretty new manager and in my first role at a VC-backed high-growth company.

I was hired as an IC through via triplebyte after being a freelance dev in some obscure east-coast market.

I was encouraged to become a manager/mentor/architect/lead pretty early; and the leadership has somewhat rapidly put more and more faith in me and given me more resources and freedom.

My team had a signficant technical-debt payback project that we completed "on time", much to basically everyone's surprise. The nature of the problem allowed a somewhat iterative approach, and my "style" of being mostly a loud engineer worked pretty well.

Now, I have been given a much harder problem to solve; and a very capable group of engineers to solve it with. The difference is that an iterative approach isn't really going to work.

And this is where my question / advice seeking comes into play.

As a 'manager' is there any shortcut here other than for me to personally grok the whole thing? It seems literally impossible that effective leaders could grok all the systems underneath their purview with any type of scale; but beyond band-aid fixes I struggle with telling folks what they should be doing; as the system needs major architectural changes; and there is a ton of business logic and history one needs to understand before they can design those changes.

So I have a handful of very, very capable devs but no idea how to delegate the overall "plan". It's hard to even be collaborative about it; it is a collective discovery process and we talk about it, but how do we get from where we are to a completely different place seems to require that I, personally, completely understand what needs to happen.

That seems both reasonable and completely unscalable; and I would love to hear from someone more experienced.
A primer on convolutional neural networks
What you're missing perhaps is an opportunity for self reflection as an American, when viewed through the lens of another culture not entirely incompatible, perhaps even once it's equal.

Waughs point appears to be that this is not really possible for Americans, and that the American empire continues to rule in spite of this fact.
I do not think that stopping me from viewing what they said is an opinion.
The coffee-nap is excellent.
Just because Congress didn't make the gubernatorial orders doesn't excuse state governors from these constitutional rights violations.
Ford unveils the Mustang Cobra Jet: a 1400-horsepower electric dragste
It looks like it’s several times more deadly than the flu if a hospital can provide optimal treatment. Should we go ahead and rapidly infect everyone the death toll will go to Italy. Additionally, I would suspect that the cost of rapidly developing herd immunity, the subsequent uptick in deaths due to 1 in 5 or so people needing the hospital and unable to receive assistance because the hospital cannot take 1 in 5 people at once would probably crater the economy much harder and longer... Every economist I’ve looked at has said this?

(EDIT: also from what I’ve seen it is entirely possible that infection results in long term reduction in health like lung capacity. That’s super fucked if we infect everyone in that case!)
And pull an image of it into your mind. Then glance around. Your brain's mighty correlation/association engine may find it for you! It will seem to pop out of the clutter.
Apple planning flexible batteries for foldable iPhone or iPad