skysight-inc/HackerNews huggingface dataset:
You would never expose your database directly to the whole world.

Either it is an internal service, only consumed by your own products, and then it's fine.
Or you have an API gateway to control who and how your services are queried.

The API Gateway is your interface who should not break.
Your services communicating with your database (through Prisma, Hasura, any ORM, ...) can and will break.

When you base your GraphQL schema on your database schema for your internal services, you get rid of one long and annoying step of putting glue everywhere. This is especially true in a microservice architecture, and even more in the corporate world where you are expected to produce code quickly.
> I agree that the data should be treated anonymously and confidentially, with severe punishment to abuses.

What constitutes "abuse"? Differential privacy is hard. Once the data has been collected, simply not being an expert in statistics can be enough to accidentally leak sensitive data. The government is simultaneously the data collector, data user, and prosecutor of abuses, so I'm skeptical that much will come of any such promise. Maybe a letter of apology in 50 years.

> I suspect these days the government has enough information already on its citizens through other means (intelligence agencies etc) than the census, to still target based on race if they wanted to.

Pointing out that ethnic minorities are likely to be screwed anyway in such a situation, even without census data, is not going to ease anyone’s mind.
I totally agree. This game is not fun, but addicting.

I don't recommend it. It cellphone quality. How'd it get popular?
But didn't Adam Sandler's character use an iPhone extensively in Uncut Gems? He's the protagonist, but definitely not a "Good guy."

P.S. Yes, it's an excellent film, and it's on Netflix.
Firebase, React and Hasura let me set up new app ideas in like negative time. Hasura is especially amazing because of it's authentication handling and migration management.
What the hell is wrong with the CDC right now ?

[s]It just seems to be ran like a startup or something. Jesus.[/s]

How can more people not be outraged by the govmnt lack of readiness?
Or rather, First Amendment applies to YouTube, but they have freedom of the press; they are not obligated to be a medium for other people to exercise their freedom of speech.
See Marsh V Alabama.

I hope Prager appeals, this could easily reach the SC and potentially be an even more influential case than Marsh.
What evidence can you point to of this "hiding"?

Lack of adequate testing is a factor, I Grant you, and a big one -- but clusters are discovered late because it now appears that people can shed virus when they're not symptomatic.
git is distributed. The GitHub issue and PR tracker isn't.
> I'm talking about the intentional decision of not validating this in a better, more robust fashion, ...

In my experience, deciding not to do something is unlikely to be intentional. Instead, the something that’s not done simply never presented itself as an idea.

Do you have any evidence that this particular lapse was premeditated, or did you come to this conclusion based solely on your prior opinion of their actions?
If you look at the core count, you'll see a stark difference between the supercomputers in the West and China.

For the same perfomance, a Western supercomputer probably fills a room, and a Chinese one the whole datacenter.

Add to that, that the physical distance plays a big role in lantencies, and China may be able to do supercomputer, but it is probably very expensive and inefficient for them.

I have never operated or seen a supercomputer, so all of this is speculation on my part.
> We continue to investigate the issues with GitHub services and will shift to a slower update cadence to provide more meaningful updates going forward.
Posted 18 minutes ago. Feb 27, 2020 - 16:12 UTC
Really similar to the pipelines that I engineer/manage at my current company. Although we have our Airflow on kubernetes.

One optimization though is separating your loading tasks from compute tasks. This makes the pipeline more resilient and makes backfilling/reprocessing less of a headache.
You registered them under 1 owner cluster that links up to you, so no :D
The line within China is that they made a big mistake with the figures initially, but those responsible (e.g. Wuhan officials) have been dealt with and everything is now more truthful.
Or worse, they stay for ten years.

Hypothetically speaking, of course...
>they would vote against their interest because 1) socialism is evil, and 2) "my team should win, no matter the policy".

If people are honestly this stupid, then why even bother polling them to see what policies they want? This is a serious question: if people don't bother voting based on policies they want, then why is that even important? If this theory of yours is true, then it really seems to call the voting population's basic intelligence into question, not to mention the fundamental idea of democracy itself. If the people are too utterly stupid to vote for their own best interests at least most of the time, then why wouldn't authoritarianism be a better system?

Honestly, I find it easier to believe that the polls are bad. I've seen way too many polls in my lifetime where the questions were manipulative, or just plain poorly worded or chosen. On top of that, the other problem with polls is that they only capture results from people who actually bother to respond to the polls, or are in a place where the pollsters are. Usually, when the latter is brought up, we're supposed to somehow believe that the pollsters have some great methodology that lets them determine what a larger population wants just by sampling a much smaller number of people in that population, but this is completely subject to bias and error. And finally, I point again to the 2016 election: predicting a winner is not as hard as asking if they want <thing x>. In this case, the poll is asking exactly the same thing as the election itself will: who do you plan to vote for? Asking about <thing x> is not as easy, because you can get wildly different results by asking the question differently. Do I want "Medicare for All"? Well, the answer might depend on many things, like how exactly it would be implemented. Is private insurance still allowed to exist as a supplement or alternative? Are non-citizens/"illegal aliens"/"migrants" (pick your term) covered? etc. You would probably get very different answers depending on those points in a large poll in America, so if you just ask a simple "do you want it? yes/no" question, that might not align at all with what actual candidates are proposing. Asking "who do you plan to vote for?" avoids that. And in the 2016 election, the polls were nowhere even close to the election results. That tells me the polls were either garbage, or rigged to try to influence the election.
> Seems like a pretty weak argument they made regarding the first amendment.

Because this was a publicity stunt, not an actual attempt to redress anything through the courts.
> testing is currently limited, and likely under high load.

How can it be high load if its not being tested ?

approx 400 tests nationwide ? If thats high load, the CDC is in for a big shock soon I think.
Judging by their content, it seems like anything that isn't self-serving is difficult for PragerU to understand.
But it's not just "100 kg" of rice - it's 100kg of rice and 100kg of beans (or other foods). That's going to seriously eat into your closet space.

I'm not the one that recommended storing 6 months of food, I was replying to that post saying it's unrealistic. I keep 2-3 weeks of food (and 1 week of water) stashed away for an emergency.
It's true they would have a more favorable shot in the SC than in the 9th circuit.
Is there any particular reason the US is testing so few people? They've only tested 445 people in the entire country so far[0], which is a tiny number for such a large country (contrast e.g. with the much smaller UK which has tested 7,690 people[1])? Wasn't that one of the lessons from Italy - the numbers of confirmed cases seemed to shoot up from 21 Feb mainly because that's when they started testing.

[0] https://www.cdc.gov/coronavirus/2019-ncov/cases-in-us.html

[1] https://www.gov.uk/guidance/coronavirus-covid-19-information...
I agree. It's probably aliens. Or reptilians.
> Can Verizon censor the CNN and Fox News that is delivered by cable?

Yes, and they already set standards for the channels they accept on their cable platform.

> Can my cell phone carrier censor whatever conversations I have that they don't like?

No, your phone carrier is a common carrier.

> Can Google skew and eliminate searches they don't agree with?

Yes, but they might hit issues with advertising guidelines depending on intent
JSON Schema has been a big benefit for our use case. Our iOS, Android, and web app all pull in a schema from one repo, which serves up that schema via Cocoapods, Gradle, or npm. We built it years ago and it’s worked smoothly ever since.
However, we're also talking about older people who were healthy enough to travel on a cruise, a large number of people over 80 wouldn't do this.
> is the idea that people might continue to use the tsc/flow binaries in parallel with Rome

I think so, in the same way that people use both Babel and TypeScript (or Flow) today. TypeScript/Flow check the types, while Babel simply strips them out when compiling the code.
The top Chinese based supercomputer requires twice the power and 6 times the number of cores.

The next requires three times the power and 3 times the cores to produce 60% of the number two supercomputer.

Seems like it's a case of "increase operational friction".
> Wouldn't that require two unrelated explanations for higher viral-outbreak mortality rates?

That doesn't sound unreasonable at all when the two outbreaks are separated by a century. A lot has changed between 1920 and 2020.
The vast majority of shell script writers don't know or care what the pipe size is. The tools they are using treat them as just one solid stream of data. There's not much to break.
A few of us have written on this in the past, though we haven't written a specific guide for it.
Ideals from ancient Greece also included how to treat one's slaves and how to tell whether a person was naturally suited for the life of slavery or freedom, so it's important to put more consideration into the nuances of the virtue of such ideals than just "The Greek philosophers were into it."
.5% is far lower then the commonly reported mortality rate. That it occured in an older (and therefore more at risk) strengthens the evidence that other estimates are overstating the mortality.

Of course, within the population of old people, I would expect cruise goers to be relativly healthy; so I would expect this population to be more vulnerable then the general public, but less vulnerable then their age based demographics.
That would need to be assessed, I think.
That is what I see also. But the text "have you ever thought that [...]" is not there. I later found out that you can click "Show this thread" to see it. But don't confuse it with "← Thread", since that will show you a bunch of Trump and celebrity stuff.
Both probably play a role in the equation of how China and the PRC has acted thus far in the wake of the disease. I certainly don't think China is acting with some far greater knowledge of the virus than other affected states/countries. The virus genome has been mapped and the world is working on developing a vaccine (I believe I read a recent story that Hong Kong claims they developed one). Unfortunately (or perhaps fortunately), any kind of vaccine will need to go through phases of testing and validation to ensure its efficacy and this process will inevitably take time. That time will regrettably see more people fall victim to Covid-19.

Of course, China was also probably worried about the economic and political repercussions of appearing to the world as not being strong or proactive enough in its response. So much of the global supply chain relies on China that even having the resemblance of not being in control of the situation would have produced a far greater economic bloodbath than we've seen thus far.
That's still awesome though!
What do you mean by onboard storage? It uses microSD for storage, right?
I'm pleased I don't have to deal with BitBucket any more, but back a year or two it felt like it had an outage that impacted work at least once every six months. Sure that might not sound like much, but it was always a pain.

Plus of course the service was so damn slow that using it was a daily pain.
That explains why my test suite suddenly takes >1h and after I canceled it, the status was green O.o
I settled for Hasura in a prod app after trying Postgrest, Postgraphile and Strapi. I believe its a permanent addition to my stack.

The main reason for me was RBAC. Converting db-to-api is not that hard but providing access control almost always requires some form of middlewares. Hasura does RBAC very well.

Another feature that I haven't deployed but find useful is webhooks. You can trigger webhooks as your data changes.

I do need a server to handle object storage, email and cron so it's not a 100% there, but I can see the appeal of rapid APIs at low cost.

Also subscriptions are <3.

All the best to the Hasura team.
> Can Google skew and eliminate searches they don't agree with?

They have been doing that for a while.
...except they're right. Google Earth hasn't been available in Firefox until today. Either you're mixing up Maps and Earth, or misremembering.
Sure, but not better than Gitlab.
The Trump admin fired much of the CDC pandemic response team in 2018 to cut costs. https://www.snopes.com/fact-check/trump-fire-pandemic-team/

> In 2018, the Trump administration fired the government’s entire pandemic response chain of command, including the White House management infrastructure. https://foreignpolicy.com/2020/01/31/coronavirus-china-trump...

CDC to cut by 80 percent efforts to prevent global disease outbreak (2018): https://www.washingtonpost.com/news/to-your-health/wp/2018/0...
Cognitive Bias Infographic
> individuals should look after their own wellbeing.

I don't understand how I'm supposed to look after my wellbeing when I'm employed and need to go to work and need to be in close contact with hundreds of people. CDC should advise businesses and should advise everyone to WFH if they can. My boss didn't even hear about this at all, think about that for a second.
Thank you!

A well laid out, single page version is high on our list. We simply didn't have a chance to put it together yet, but are working on it. Stay tuned.
To me I simply have never seen this before. I remember SARS, and H1N1. There was a big media blitz about both, but that was it.

With this I am seeing cities / countries on lockdown. I have friends that can't go home in Italy because of the lockdown. My own government (Canada) has asked us to prepare for pandemic, and we only have a handful of cases ?!?
What do you guys recommend as a good way to continue work undisrupted when GitHub goes down? A second remote mirror?
Even the Joel article makes what's arguably a mistake: he says that input from users is "unsafe" and must be escaped on output, while strings from elsewhere shouldn't. That may avoid security exploits, but it still results in incorrect output when a predefined value really does need to be escaped.

The issue isn't whether a value originated from the user. It's the units/data type, as you said, such as plain text vs. HTML.
Good point. That you can at least try to correct for to match various populations though.
The stock market assumes we're all going to Netflix and chill past the virus
There is another possibility that the situation is much, much worse and Chinese are just telling part of the truth. Look how spreading is much worse in Korea than what Chinese says happens in China.
I've heard there are budget cuts being done, they've completely gutted the staff of the CDC.

Morons in charge seems to be a leading factor.
You would think so, but they haven’t yet! https://www.cdc.gov/coronavirus/2019-ncov/hcp/clinical-crite...
They do, but some people may want more USB ports, some an ethernet port, some a DisplayPort display port[1]. A keyboard and mouse is something you'd typically connect to the back, but I can see some people liking the ability to conveniently reconnect them to a laptop.

Of course, you can buy a USB hub, you can buy a USB ethernet NIC (though it still probably won't go as fast as the back one), but you can also just flip the box.

[1] https://news.ycombinator.com/item?id=22429795
Keep doing what you are doing.. ;)
Yes, Ingress resources implicitly assume that you want to get HTTP(S) traffic into the cluster, but as for example, ingress-nginx is able to expose gRPC via additional annotations and generic L3 via related ConfigMap.
Yes because some people don't actually care about freedom, they just think it's important that the people that reduce it weren't elected.
> I hope Prager appeals, this could easily reach the SC and potentially be an even more influential case than Marsh.

Or as pointed out in the article, probably not:

> Appeals court judges were not convinced. They pointed to a Supreme Court case[1] from last year in which plaintiffs unsuccessfully "tested a theory that resembled PragerU's approach, claiming that a private entity becomes a state actor through its 'operation' of the private property as 'a public forum for speech.'" The case involved public access channels on a cable TV system.

[1] https://www.scotusblog.com/case-files/cases/manhattan-commun...
Wait, do you really believe what you're saying? You realize that YouTube has to appeal to advertisers to make money, and advertisers don't typically like sharing platforms with every group. If you crawl through new uploads, you'll find literal neo-Nazi propaganda without even working that hard.

There's nothing illegal about being a Nazi (at least in the US), but advertisers typically don't want to be on the same platform as Nazis (for good reason). Are you claiming that advertisers should be forced to advertise on platforms that they don't agree with?

NOTE:

I'm not claiming that PragerU is outright Nazi propaganda. I think they're a terrible organization and their videos are idiotic, but I haven't seen outright Nazi promotion on their stuff (though admittedly I haven't watched everything by them).
Typical GOP play - Defund the programs in question until they can no longer function, use that as proof that government is inept, defund further. Repeat until program/agency/government collapses, then privatize the whole thing at great personal profit.
I know that, since I came to the US on a L1 visa. I am saying our Indian friend could be on a L1 visa, which makes negotiating for a higher salary more scarier.
I had the same thought ... having a "get-out-of-jail-free" card lowers the risk for authorized pen-testers but how do you calculate the risk-to-reward ratio if you're actually a criminal? You have to figure that it's less than (e.g.) performing an armed robbery at a bank. So which of the service workers that come into our offices are legitimate? No idea.
> Is it a good idea to base your GraphQL schema on your database schema?

You don't. Hasura (and Postgraphile and PostgREST) employ in-database modeling tools called views. Views provide the same modeling abstractions that ORMs provide.

https://www.postgresql.org/docs/12/sql-createview.html

A view is a canned query with a name, and when you get down to it, all an ORM is doing is producing, usually poorly, a query from a named abstraction. Same thing. So why have two pieces in two languages when you can have one?

> Isn't the point of GraphQL to decouple your interface (who should not break) from your backend implementation details?

Views provide the same or better decoupling. They database is aware of them, they are type checked, you can't even make a view that references an unknown column, for example.
GraphQL is mediocre. It's luke-warm mashed potatoes from a chain diner.

Having used it for a number of years now, I still don't know why people recommend it beyond other people recommending it. Out of the box, it comes with no batteries included. Which explains the cottage industry that popped up to support it (Apollo, Hasura, etc.). Simply making GraphQL as efficient as bog-standard REST without involving the use of half a dozen 3rd party libraries is a fool's errand.

Silicon Valley suffers great amnesia and NIH. We've had RPC forever now. XML RPC, SOAP, thousands of others that don't deserve mention. There is a reason people moved from SOAP to REST: you didn't need that complexity. (On a side note, it makes me incredibly depressed to be in this industry knowing how much time and effort died trying to make XML a thing. When was the last time you heard "XML" on Hacker News? Probably been awhile. Maybe 5-10 years now. As a piece of news that is, and not some random comment from an asshole like me.)

Requesting arbitrary pieces of data on the client side (GraphQL's seemingly raison d'etre) is quite easy with REST. So easy that it makes me curious how much brain damage the industry has to think otherwise. Creating new endpoints even? Not a big deal. Not nearly as big of a deal as writing the mountains of boilerplate to get a new GraphQL query up and running. And considering we're talking about GraphQL, it's most likely going to be the same team members working on both sides. Why would that not be the case for REST as well? The mind boggles. All the arguments against REST that GraphQL camp makes are disingenuous at best.
And we had the good fortune to work with the two of you. I learned, and continue to learn, quite a lot watching you build Pachyderm!
In every case you described except for your cell carrier, yes, they can. That is not censorship so much as having the right to choose what gets shown on your platform. Verizon can and does offer TV packages that do not include CNN/Fox News. Google can and does unlist and derank websites its algorithms do not like (this is the whole premise of SEO).

YouTube, as a private entity, can choose to do whatever it wants.
I think it’s a little more nuanced than that, in a way the bill of rights never had reason to consider.

The freedom of speech prohibits government control of speech in government (read: public) spaces, in order to conserve public right of criticism of the government.

These massive platforms, as a matter of business, attempt to replace and own “the public square.” Google/YouTube, directly or indirectly, controls an enormous fraction of the public conversation. Their interests, as corporations constantly lobbying for favorable regulatory treatment, tend to align along the “appease the government as long as it doesn’t hurt our revenue” axis.

You can with some validity argue that an entity that monopolizes control of the public square is obligated to protect the rights intrinsic in that square, all the more so when their interests align with the government’s.

You can, with some validity, argue that a company doesn’t have to have a monopoly on the public square to be forced to recognize those rights, but as a continuous function, as they subsume more of the public square they should undergo increasing burden for conserving the functions of that square.

It used to be “the public square” was a distinct geographic entity. We are now faced with the fact that it was, maybe, a set of functions attached to that geographic entity, and it’s those functions that must be protected.
Writing an SSDP Directory in Elixir