skysight-inc/HackerNews huggingface dataset:
> having problems

Most countries hurt because investors avoid them.

> buying up

Meaning tons of money and investment is flowing into the country.
It depends.

If you take arguments to some sub-system (an example are database keys like the id of an entity instance), then you need to sanitize input.

Anyway, today I learnt something. If you have free-form data like text it makes sense not to sanitize it because in this case sanitizing depends on the output domain. For example < is dangerous for HTML and ' is dangerous for SQL, and so on.
Ugh. Now I need to choose between disabling updates for Firefox, which is a pretty big security risk, and giving up UMatrix, which I also consider to be at least somewhat of a security risk.

It's such a questionable decision. I understand that addons take a while to support, I understand for most users it's still an upgrade since they don't use extensions, I understand that at some point you need real users instead of just beta-testers. But they're taking a huge step backwards for user freedom. It's a bad look for Mozilla.

I'm disappointed. I wish they'd develop the apps in parallel until they had actual feature parity. Even if the old version of Firefox got pushed to a separate app; I'd be fine uninstalling Firefox and reinstalling 'Firefox Classic' from Mozilla. I feel like they don't really understand what the community response to this is going to be.
A snapshot of which links happen to be on the front-page at any given time doesn't tell you anything, really, vis-a-vis the point I was getting at. The front page ebbs and flows constantly, stories that aren't on the front-page still get discussed, and not every front-page story draws the same amount of engagement.
Hasura has this feature, but unfortunately it seems like its part of their "pro/enterprise" offering and not the OS version. https://hasura.io/hasura-pro
That's the point. Just cutting down the military when you don't need it and scaling it back up "really quickly" when it's needed obviously does not work, just as it does not work to cut down the CDC and scale it back up "really quickly" when there's a pandemic incoming. Both institutions provide a significant part of their value by "standing by", so qualified personnel can spring into action quickly in case they are needed.

It's just that Trump obviously applies double standards here: while the military is fine to burn through billions without supplying immediate value (outside of that provided by its mere existence) for a large part of that money, the CDC as a civil organization is apparently not allowed do to the very same thing, even when it costs much less money in comparison. And that's what api obviously wanted to point out. I can't see too much satire in that.
Some of the linked examples are incredible. It always astounds me how much order and can come from a few simple rules.
Intubated with ground glass opacities on xray? Probably 25-50% of patients in all ICU's around the world match that criteria. This patient had no travel history and no known sick contacts, the line was appropriate for that patient. Sure they were wrong, but in public health, you known you will be wrong sometimes. It's a balancing act.
Looks like your browser didn't render the <sarcasm> tags.
For those interested in optimization based on ant colony behaviour, the book "Ant Colony Optimization" by Dorigo and Stutzle is the text to get. It's quite old now (2004) and unfortunately hasn't seen a second edition. It's a bit of a forgotten classic, in my opinion. I don't work professionally in this area but I found it to be highly approachable. The various ACO algorithms are appealing not only for their utility but also for their intuitiveness. I mean, it's easy to visualise ants cruising around, leaving pheromone trails, and so forth.
Can you remove the leading spaces causing your comment to appear in a code block? It’s quite hard to read on mobile. Thanks!
As pricey as they are, they'll likely be doing some brisk business soon as more and more people stay home and order out in the wake of the COVID-19 outbreak.
Nice - You can use UNION ALL instead of UNION in your query at the end if you're confident the datasets don't overlap. Query is less expensive.
I'm also curious what the backfilling/recovery process is if something goes wrong and you have to stop your 10 min load jobs.
And what about those hand dryers? Do they just blow droplets containing the virus around the place?
This is cool. Facebook does open source better than Google (things aren’t abandoned left and right) but I’m afraid the experimental would mean it’s future is unsure.

The other point is, why is Rome better than any existing tooling ? Webpack, typescript, prettier, eslint, mocha are all pretty popular and mature tools. Why would I use Rome over it ?
We already have to deal with this in current state of Class Oriented Programming. Every class does something, none of them say anything about how the program work at run-time as a whole. So bad naming (cleverly bad) just adds on so much trouble in. Good naming from the domain helps, but it can not carry the program that far since it only addresses things at low level. At the architecture level, the class hierarchy still in control.

e.g. http://www.cs.unc.edu/~stotts/GOF/hires/chap1fso.htm
"An object-oriented program's run-time structure often bears little resemblance to its code structure. The code structure is frozen at compile-time; it consists of classes in fixed inheritance relationships. A program's run-time structure consists of rapidly changing networks of communicating objects. In fact, the two structures are largely independent. Trying to understand one from the other is like trying to understand the dynamism of living ecosystems from the static taxonomy of plants and animals, and vice versa."
>But discriminating on some viewpoints and not others is anathema to a public forum. And you can read Section 230 that way.

Section 230 explicitly states they can restrict access to constitutionally protected content. You can disagree that the law should allow that, but I can't understand how you can read the section that way.
At least in regard to WebGL, "X is the new IE" isn't the best way to look at it.

WebGL2 is based on OpenGL patterns. I don't think it makes sense to invest new development in that, whether you're Apple, a framework developer or an app/game developer. I think the writing was on the wall for OpenGL even before WebGL 2 was finalized, so a reluctance to embrace it makes sense. I can see how it would be negative in the short term, but I think we're at the point where web apis should be considering the long-term strongly, and in the long term webgl 2 support isn't good.
I also had an early 4 GB model (well, two of them), and parent post is absolutely correct about initial thermal issues — it was running hot and throttling very heavily.

Later firmware releases improved things a lot.
Light on or off is a clear signal over a much longer distance than a light moving only a few feet. A simple candle can be seen a very long distance on a dark night but just moving it back and forth gets lost. There were no means of visual magnification available which is what makes semaphore possible over usable distances.
With many viral respiratory bugs, symptoms appear a few days after infection, peak a few days after that, and then there's a long tail of sniffling and coughing. Deaths happening in the peak and recovery being declared nearer the end of the tail leads to the intuition that maybe deaths could cluster earlier than recoveries. Of course, I don't know how/when recoveries are being tallied right now and don't want to guess.

Bigger picture: lots of factors go into a good estimate, and epidemiologists are not new to mathematical modeling. When back-of-the-envelope math doesn't get the same prediction as the consensus models of what's going on, we shouldn't assume the epidemiologists are wrong.
As a US guy, I've never looked at this site before. The extreme clarity of pages like https://www.gov.uk/vat-rates is really refreshing.
> No more $5 ebay key. That's a shame for home consumer.

I guess that's why
I'm no fan of sanitizing inputs, transform unsafe input to safe input and the storing it, because as you say, someone will find a way to circumvent that.

What I always do is to exactly specify what is allowed in any input by parsing, schema validation. If it is HTML I run a HTML parser to validate accepted tags & attributes. If it is plain text i validate that there is no HTML in it, etc.

If the input fails the filter then you deny the request.

This has the advantage that you always know what data structures you are storing in the database and that will make future data migrations much easier.

Drawback is that if your filter is too strict then you deny a valid request, however it is easier too loosen a filter later than migrate unwanted/unknown data that you accidentally accepted.

Stored input is also part of your database schema.

And of course, always escape output even if you know the data is "safe".
Yes that's why I mentioned the zone would move Eastward from the A312 parkway, allowing outside traffic to easily come into LHR for pickup/dropoff without the increased restrictions.
What you're describing is illegal. Freedom of speech also means freedom from compelled speech. The government cannot (at least outside of very specific circumstances - like an employer informing employees of workplace protections) make companies publish content. If congress tried to pass a law forcing YouTube to host PragerU's content, that would get immediately thrown out by the courts.
The thinking is probably that a healthy kid at home is better than one with COVID-19.
The same reason they still use PHP via Hack.

Throwing all the baby out with the bath water is something engineers consistently overvalue in business when there are other middleground trade-offs to choose from.
How Tech Decides Who Gets to Go Camping
We spend our resources making our employees capable
So then the realization that the world passed them by hits them shortly after release, potentially escalating into an existential crisis, and ensuing recidivism.
what about the mrna drug?
> They've proven that they are nakedly partisan
Cite your claim here. If PragerU is dropped for being conservative, but FB helped a conservative president, how can you lump these two?

> Facebook/YouTube/etc are in a monopoly position.
Maybe go after this aspect if you believe they are suppressing other content providers.
Using "numeric" types for strings that look like base 10 numbers is an incredibly common mistake. It's one of those mistakes that works 99% of the time, which means it can become deeply embedded in architectures. We've recently seen this problem when a database for the first time for a non-numeric system in its ids and downstream systems that converted that to an integer started to fail.

My rule of thumb is that if it doesn't make sense to do arithmetic on it then it's not a number, it's probably a string.
Making French fries sucks. This robot does it for $3 an hour with no breaks
Your parent was talking about people who try to convince their doctor to prescribe them painkillers, while you're talking about all people who abuse opioids.
Mods: consider adding (2014) to title?
Unfortunately we do not have these claims defined in our auth token or the datasource hasura is attached to. We have an external session cache service in Redis. If the user isn't cached we need to hit an internal API to attempt to fetch this information for us and return it to us. No user information is stored in our auth token/database.

Actions look painful, i don't want to write and maintain microservices just to do simple actions. I just want to be able to write code and handle the hook around the function. Also from the link it only seems like actions occur AFTER something happens, i need the ability to run before changes are persisted.
"… an awful lot of accounts that are <6 months old …"

For clarity, where are you seeing these accounts, here?
Anyone know the source of this data?
Probing the core of the strong nuclear interaction
USB2 is still faster than all but V90 class MicroSD cards. And V90 cards are only rated for 90MB/s writes, not reads.

Even if you had a UHS-III V90 A2 card, a USB2 SSD is going to give you 10x the IOP/s performance.
This appears to be surprisingly common in both law and fire. I hold a handful of such certificates, all of which say I'm qualified to do things I'm mostly certainly not.

I'm trying to change this behavior by incorporating objective examinations into one of my specializations and it's extremely difficult.
I made this exact observation last night in a comment on another thread and was virtually crucified for stating it.

It is a horrible disease but a reduction in emissions is still a good thing no? I guess it's sort of like Bernie praising Castro for increasing literacy.
nit, but it's an actually amplifying the RNA (it's an RNA, not DNA based virus), using RT-PCR (which basically converts the RNA into complementary DNA -- and then amplifying DNA)

I'm not sure per se what the CDC does, but here's a good overview of a testing method: https://www.broadinstitute.org/files/publications/special/CO...
Friendly reminder that the code block style is basically unreadable on mobile (and not so great on desktop either) because it doesn't wordwrap.
> But that's not a thing for 15 years or more? PDO was added around 2005

Ex-shared hosting bod here, who had the joy of managing our PHP environments :(

Sadly in the real world, even after the great big (and pointless) act of deprecating and removing the mysql_* library, naive developers (and experienced ones that should've know better) just moved onto mysqli_* or PDO and still used string concatenation with raw inputs, instead of learning how to parameterise their queries.

Used to drive me flippin' nuts.
I'm on nightly on my phone so have had this experience for a while. I very much dislike the new homescreen with collections instead of the 2x4 of most frecently visited sites.

Collections would be ok if it kept the old UI of a 2x4 grid. Instead I get to see 2 sites at first, and have to scroll to see more. If I close a tab, I'm not able to use the bottom 1/4 of the screen for ~2 seconds while the undo popup hangs out. This means even more scrolling. This decluttering really sucks imo.

The other annoying thing is that the upgrade starts up with an empty collection screen. The upgrade should have created a default collection populated with my 2x4 grid for me. Come on Mozilla, stop giving me paper cuts like this.
Would be cool for someone to mash this up with something like location history. If you keep location history with any of the cloud providers (or your own devices if that's your thing), you could get your history via their relevant GDPR complaint or other take-out mechanism. Then you could intersect your path through space-time with the coordinates on this map.
Not really true. The selective advantage is to viruses which can spread to more new hosts. The longer you keep the host arrive, the more new hosts are colonised. If it kills without spreading it’s not going to survive.
> Who, exactly, in this case is trying to suppress other people's freedom of speech, or freedom of association?

The case is trying to force YouTube to associate with PraegerU.
Microsoft takes over and fucks it up. Let me guess, its hosted on Azure.
> Oh yeah, it'd be great if Google could MITM half the SSL on the internet...

How exactly would Google MITM half the SSL on the internet by virtue of issuing certificates via ACME?

The private key never leaves the subject's system (the system hosting a website for example). Google would never have access to the private key for which it would issue the public key certificate.

Further, if Google abuses its power by issuing a fake certificate for another website and uses that to MITM all traffic to that website, all browsers and systems would remove the offending CA certificates from their trust store immediately. Look what happened to DigiNotar.
> And how often can you repeat this

No limit has been found, and certainly there's none in sight. Previous things running out:

1. rand out of wood for fuel. Now we use other fuels.

2. ran out of whales for whale oil. Now using other fuels.

3. Germany ran out of oil in WW2. They switched to alcohol and were developing other synthetic fuels.

4. The US ran out of rubber in WW2, developed synthetic rubber.

5. Ran out of farmland. Now use much more productive farming techniques. Vertical hydroponic farms are an emerging technology.

And so on. Interestingly, the countries that fail to adapt to change are socialist ones. The free market countries adapt.
Configuring Exim to Send Email with Amazon SES (DirectAdmin)
No, they won’t, because the conservative “platform” vs “publisher” meme has no basis in legal reality.
According to today's interview with a NY Times reporter on The Daily podcast, the immunity is explained by the close relationship to the common cold. Children tend to get lots of common colds. Around 1/3rd of common colds are a form of coronavirus, because of this, their immune systems are more prepared for this new coronavirus. Over time, this immunity fades, but it takes many years.

https://www.nytimes.com/2020/02/27/podcasts/the-daily/corona...
Did you move to Hubei? I have been in Shanghai through this entire thing and have an extremely hard time believing you saw any corpses ferried out of your apartment complex. 94% of the reported deaths are in Hubei - what city are you in exactly?
Maybe because they're hard to find :)

But actually you can self-publish a book and convince the store owner to sell it. It's not easy by any means, but not impossible. One of my more organized classmates in college sold his bound notes at the school bookstore for a decent sum.
This is the first time in history that information regarding a total global event is being communicated in real time in a decentralized manner to hundreds of millions of people simultaneously. Absolutely fascinating to watch this unfold.
Thanks, that was a very informative comment.
The Awakening of Norman Rockwell
Anyone know if the Pi will work with a Chameleon3 USB3 camera from flir.com? If anyone has computer vision coding experience with a setup like this, pls email me (profile), contract opp potentially.
I'm not sure where you (or Sen. Cruz) are getting this interpretation from. Section 230 exists because Congress recognized that the then-only options of "common carrier" and "publisher" were too binary and didn't account for anything in between. It explicitly allows owners of content platforms that have moderation/curation in place to avoid liability for what their users publish.

I'm not saying it's good that companies like Google and Facebook can shape public discourse by suppressing views with political viewpoints they don't like, and I do think that should be addressed, but Section 230 is what explicitly allows them to do that, not the opposite.
So... Betelgeuse have "sneezed" in our general direction. Would it be possible to estimate when it going to reach us?
It'd be amazing if Raspberry Pi Foundation managed to make a model with 64-bit memory bus width instead of current 32-bit wide LPDDR4. RPi4 is heavily memory bandwidth limited.

Yeah, I know, cost. One can still wish. Perhaps it'll be feasible for RPi4+ or whatever the next upgrade is called.
One good reason for this is that for things like credit card numbers, a good interface will accept leading, trailing, or interior spaces. Sites that make me type in values in exactly their own weird format are an abomination.

Site A: Ah ah ah! You put a slash in your date! No soup for you!

Site B: Ah ah ah! You didn't put a slash in your date! No soup for you!
Yes. And he's saying the right thing. You can't sanitize for all your possible usages.
This isn't an effective analogy. The Internet is one big concrete square. YouTube and Facebook occupy one part of this big concrete square. You're free to occupy your own section of the square, too. The fact that YouTube and Facebook are so popular isn't because their portion of the square is any better than others - it's because the content they're offering is better (at least in the eyes of most people). There's nothing inherently better about YouTube or Facebook's portion of the square, their popularity is the product of the content they offer.
It's not unrelated. Poverty is one of the key components of why epidemics like this take hold and spread to the rest of society.

Working to eliminate poverty world-wide will go a long way to making us all healthier.

That said, I agree that people should get more sick-leave and be allowed to work from home more, if they can do their job from home, and be allowed to go home to take care of their family if they need to.

These things and lifting people out of poverty are not mutually exclusive, and improving the one will help improve the other.
I think the problem is identifying the behavior as a problem characteristic of the church or sect. This seems like victim blaming to me, especially when there have been there are countless mistakes being made across nations, religions, and organizations.

An alternative framing, which I believe to be more productive, is for the entire community to take ownership. "we messed up, we need to do better"

At a time like this, we need to partisanship aside and and focus on solutions, not blame. There will be plenty of time for a post-mortem after the crisis has passed.
https://time.com/5790545/first-covid-19-vaccine/
What's on topic is whatever hackers find interesting.

Yep. At the end of the day, that is the standard. Which has the unfortunate side effect of permitting the Eternal September to set in here.

Well, most of us are interested in not dying.

And yet we all are going to die, unless some of the more radical ideas of Ray Kurzweil, Aubrey de Grey, etc., become reality. I can see how discussing the latest research into radical life extension stuff here makes sense... but most general health/nutrition/wellness stuff feels like it should be off-topic to me. Now, some story about a cool new DNA sequencing technology being invented to help study viruses, or something like that, that makes sense to me.

But in the end, the community will be what it decides to me. All one can really do is go along for the ride.
I bought a box of 10 3M N95 valved masks three days ago at Ace Hardware for $24.95.
The implication is that the number of confirmed patients in South Korea is so high exactly because the SK government actually tests ~3000 to 5000 potential carriers every day. The government is putting huge amounts of resources into tracking everyone who may have gotten in contact with confirmed patients, the vast majority of whom turned out to be part of some secret cult [1]. They even have drive-through stations where people can get tested in minutes. It's free to get tested and, if you're confirmed to have the virus, your hospital bill is entirely on the government.

I personally find that South Koreans are overreacting, but you can't really deny that their efforts to track the virus far eclipse those of Americans and/or Japanese. The people sitting in the White House don't really seem to care at all. Abe seems to only care about the coming Olympics (I mean, just look at how he handled the Diamond Princess situation).

[1]: https://www.bbc.com/news/world-asia-51609840
I don't understand why they aren't trialing chloroquine. Isn't it more readily available and cheaper?

https://www.nature.com/articles/s41422-020-0282-0
The US medical system is a complete disaster. Basically, the government doesn't pay for anything; only private insurers do. And they try to avoid paying for as much as they can get away with. On top of that, the actual cost of care is far, far higher than in other developed nations for the same procedures, due to many systemic problems.
Fun question: Is CSS Turing complete yet?