skysight-inc/HackerNews huggingface dataset:
Stories about "Trump's unprecedented use of social media" could be on-topic. That doesn't necessarily make "Trump stories" in general on-topic.

Stories about "the effect that social media as a whole has had on the American political landscape" could be on-topic. That doesn't necessarily make US politics in general on-topic.

Stories about "the influence of social media platforms and their ability to manipulate public perception" could be on-topic. That doesn't necessarily make stories about "fake news" in general on-topic.

Stories about the Wikileaks organisation could be on-topic. That doesn't necessarily make stories derived from the contents of particular leaks on-topic.

Stories about the DNC data leak could be on-topic. That doesn't necessarily make stories derived from the contents of the DNC data leak on-topic.

Stories about gender and racial disparity in tech and programming could be on-topic. That doesn't necessarily make stories about gender and racial disparity in general on-topic.

Stories about an Antifa or BLM hacking group could be on-topic. That doesn't neccessarily make stories about Antifa or BLM in general on-topic.

Personally, I don't find this distinction particularly hard. As for "bias", I've seen sentiments on this site that could broadly be categorised as Republican, Democrat, Libertarian, Green, etc. Of course, there is a heavy political bias, but I'd say it's generally just "US-centric" (which is to be expected, as this is a US site); e.g. as a UK citizen I find some of the comments very bizarre (usually anything involving guns, healthcare, abortion, etc.). It can still be interesting, and if not I can just collapse the thread or close the page.
I’m partly basing this on firsthand knowledge, since I was somewhat involved with it, but it’s in the order as well although it’s confusing.

You’ll note that the first mention of Whyspertech emails ... dates several weeks after Fox published the initial article. Whyspertech wasn’t a source for the article. He was someone who was encouraging Fox to keep it up, and possibly go further in reporting.

It wasn’t Fox just willy-nilly reporting what some Twitter account said… It was complicated with multiple people being deceitful, in a coordinated way.
I really struggle reading academic studies still...

"Heterogeneity in contact structure and individual variation in infectivity, susceptibility, and resistance are key factors that reduce the disease-induced herd immunity levels to 34.2-47.5% in our models."

I THINK that means, in addition to how infectious COVID is, and how susceptible and resistant people are in general, one of the other things that impact herd immunity is "contact structure" and it tends to be sort of limited. There seems to be plenty of "Heterogeneity in contact structure" studies done on many other things out there, so it looks like this is something that's already understood. If I understand it correctly, it means that most people have limited contacts, and while we all might be "6 degrees" from everyone else, we're not directly contacting all those people, and so that could help with herd immunity. So that maybe reduces the number from 74% to this 34-47% number, which better.

Does that mean "Heterogeneity in contact structure" is different for people based on things like how often we go out, where we go, how we travel and where we live? e.g. a subway/bus trip in Manhattan, NY is different than driving alone in Manhattan, KS.
> How do you define a cell in the body as human and another cell as not human, when both are necessary for the human as a whole?

On that note, 'I' am in many ways a 'we'. I am an orchestra, a beautifully complex and rich interchange. As are you.
Click lacks flexibility, requires almost the same amount of boilerplate than argparse, and add dependencies.
I use docopt for CLI programs.

https://github.com/docopt/docopt

It is a simple DSL with implementations available in multiple languages. I've used it in python, GoLang and in Java too. Lots of examples too.
I am sympathetic to your point; glasses can be very durable nowadays.

In this scenario, though, I would be most concerned with scratching the screen. That, And replacing a broken knob is surely cheaper than a gigantic touch screen should it be actually damaged.
You’re just rebranding a weakness as a strength.
No, because `Either` is a `Foldable`, too.

I know, not what you meant. But a custom sum type would not only allow you to return multiple different failure cases, you also wouldn't give it a `Foldable` instance with surprising semantics.

Plain old data types are seriously underrated these days.
This is pretty cool. I do organic synthesis in the lab right next to Jiwoong Lee, two of my good friends work on this project. It is not as amazing as the article makes it sound. Though low in energy it needs pressure and no one wants to drink the "diamine" compound, so added energy to remove this is needed. Give it 10-15 years.
Monty never opens your door until the end of the game. So Monty opening 999,998 other doors doesn’t give you any information about your door, just the other one that remains closed.

If you made a one in a million guess the first time, your door has a car. If you didn’t, the other remaining door must have the car. Which do you choose?
Here's how Russia could track your every move – without even hacking your phone
What geek doesn’t like a good conspiracy theory? Well, I’ve got one for you – a follow-the-money chain that leads from the head of Russian state to an app that is installed on millions of personal phones - one that you probably use every day.
If you find this content inappropriate for HN, you can use the 'flag' link under the headline. When enough users agree, action will be taken.
> Spot the mouth foaming brexiteer

Not that it's any of your business but I voted remain. Given the level of discourse you are capable of we will leave it there
Actual infection count is probably far higher than 8M, isn't it? That's just number of positive tests.
And now he's dead like the rest of them...
Great to see that const generics has become mature enough to be exposed by the stdlib, even if it's not ready for full stabilization just yet.

People wanting to use const generics themselves will want to follow this issue, which is about stabilizing a minimally-useful subset of const generics: https://github.com/rust-lang/rust/issues/74878 . It seems to be coming along well: "Regarding the remaining steps: there are only a handful of issues I think are blocking min_const_generics at this stage (several of which already have open pull requests). We also want to add many more tests, which is something anyone can easily help with. If you want to tackle one of the issues, feel free to ask @lcnr or myself how to get started; I'm going to dedicate time to fixing whichever remain."
If you're a security researcher, you probably know how to cover your tracks.
Google's Web Bundles: What are they and do they pose a threat to the Web?
I don't know what Privacy Badger's blocklist looks like, but without the learning aspect, if it's inbuilt blocklist is already covered by uBlock then all you're doing is slowing down your browser without any benefit.
Covid19 true reason. True treason.
That's certainly one view of things. The other view is taken by the beyondcorp/zero-trust model. But the lesson I take from this article (and my own experience) is that if you allow commercial off-the-shelf and open-source software into your network the end result will always be an insecure mess. If you absolutely must adopt off-the-shelf software the only safe way to do it is to put a proxy in front of it that's completely integrated with your authn/authz systems such that the native protocol of the third-party system is completely hidden and inaccessible.

The Google model is frequently derided on HN as "not invented here" but at least you can say that they aren't getting rooted via some kind of toxic waste like Jive forums.
Because it pays out well for popular posts and doesn't involve ads. I made a few hundred dollars off one that I published there over the summer.
Completely banning political ads puts incumbents at a huge advantage. Emerging challengers don't have nearly as much free organic distribution, so they need to buy ads to build momentum and expand their reach.

Even in the current US presidential election, Biden has 3.2 million Facebook followers while Trump 31.7mm on his personal page and 6.3mm on his presidential page.

Without paying for ads that extend your audience beyond your pre-existing followers, the incumbents will always have more reach for their messages.

Completely agree that we should be able to see the people responsible for running each of these ads though, with personal liability for the content that they're sharing.
Show HN: I built a realtime API to power live web experiences
Not an acceptable practice under the Constitution of course it will require court cases to stop or narrow these. Geolocation searches (being in the wrong place/wrong time) are bad enough, but everyone searching for "X" could capture thousands or even millions of people.
The eagerness of the compiler to point out your mistakes is the quintessential feature of rust, if this is something you don't want to deal with then almost certainly rust isn't the language for you.

With that stated, I would encourage you to understand why rust was designed this way and why the strictness of the compiler is actually a major advantage compared to languages like Python and JS where a lack of a type system actually makes the software much more prone to bugs.
I don't think that illustrates that promotion of the type system as a useful tool is an "empty platitude". A well constructed syntax is certainly a nice feature of a programming language. One might say a language like brainfuck does not have a syntax which makes the code easily readable, and therefore is the worse for it.

Similarly, one might say that a strong type system is a useful tool. That doesn't make it a panacea (and I don't think that this was the claim), but that doesn't mean one can't appreciate it as a good tool.
Really? I said it was one of my favorites, not "it's the best and you should think that too".
I think you meant to write crikey
> But a recently unsealed court document found that investigators can request such data in reverse order by asking Google to disclose everyone who searched a keyword rather than for information on a known suspect.

"Just let us scour through the data to see who committed a crime."

How is this not a fishing expedition? Does the 4th amendment not mean anything anymore in the US? Are judges still this clueless about such obfuscated requests from the police?
Ha, I can't believe I forgot to mention that, especially with our winters. I guess I am even less prepared for the future than I thought :(
> USA is currently at ~8M infections/recovered

CONFIRMED cases. The total number of cases is probably 5-10x that.

I live in the Deep South, and honestly I suspect that our curves have fallen simply due to a "limited" herd immunity effect (i.e. the groups of people most likely to catch COVID have already done so in large enough numbers). I certainly haven't observed any significant change in behaviors since the July peak, yet the numbers are falling like a rock regardless.
I agree, but I'd argue that most education is similar, unless you live in Finland or went to special technical school for e.g. math or physics.

In university I had a few lecturers that tried to be different. They tested knowledge rather than hard work, and how many times you've drilled past exam papers. Generally these courses made the students feel out of control of their fate, stressed/anxious, and they hated the course. If I'm being honest I was one of those students.

Ultimately, the kind of "smart" you're talking about is not useful or valued. There are a small percentage of students, who are not only smart, but also good at "gaming" the system. A small percentage of this subset might end up in research and development, and the students who would be good at R&D don't get the chance to prove themselves.

For most students, being good at "gaming" the system, following instructions, and learning by rote is good enough. To be a doctor or a lawyer, you need to know by rote the basic fundamental knowledge. Thereafter it's constant practice and experience in actually practising medicine/law, and the associated accumulation of knowledge of all the "little tricks" and intricacies, that makes you a good professional.
> Monty always chooses a door with a goat.

Yes, this is the single most critical piece of information, and when people struggle to understand the Monty Hall problem, its almost always because this wasn't made clear. When it is, the problem becomes much more intuitive.
> Does something like this exist already and I just haven't seen it?

OpenAPI (Swagger) kind of, although AFAIK it doesn't lend itself to specifying how to map things onto a CLI. A good next step for the project?
A fireside chat with Dr. Anthony Fauci at the Berkeley Forum
When you are guranteed to lose you change the rules to cheat. Well known pathetic tactic. Molan labe.
I try to keep the number of browser extensions to a minimum since they have access to every piece of sensitive information in the browser.

So my setup is:

- uBlock Origin [0]

- Cookie AutoDelete [1]

- Firefox's "Enhanced Tracking Protection" set to "Strict" [2]

- DuckDuckGo as the default search provider

[0]: https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin...

[1]: https://addons.mozilla.org/en-GB/firefox/addon/cookie-autode...

[2]: https://support.mozilla.org/en-US/kb/enhanced-tracking-prote...
Structures is great. I picked it up after receiving The New Science... as a gift. It's propping up my monitor at my WFH desk now, so it literally is why things don't fall down.
I belive the average age of people who die from COVID is higher than the average of age of people who die
Neat. The way I solved this about a decade ago is to create a base template script for my editor. When I hit Ctrl-N a new main script opens with heading, main(), status code return, CLI parsing, and basic logging set up already.

New argparse params are either uncommented and/or cut and pasted from existing ones. It works pretty well.
Why not recyle it into plants? Burn it to produce CO2, let plants absorb CO2 to grow?
One only has to compare the reaction to this and the reaction to the announcement by the DNC about using Facebook to target voters. Very few people raised issues about the DNC app, but when they found out CA helped an unsympathetic campaign with similar data, oh boy, that’s terrible!
And the US and the UK and the EU...
a) bullshit.

b) Nice cop out, completely unable to respond to the actual points made in my post.
I thought I remembered reading early on that icelandic testing was showing that 50% of all people infected there showed no symptoms. Then add on how many people show symptoms but its not severe enough to get tested.
Didn't you read the NPR article? They clearly stated that it's been debunked.
yeah it's gross. i'm 100% for just giving actual pure opiates out for free to addicts that don't yet want to get clean.

in a lot of ways it would be safer. clean, known dose, less theft to pay for drugs, less violence no cartels
By competitors I meant locally or in areas with similar issues of poor raw materials.

Otherwise, I completely agree with you. The Swiss saber was made to deal with similar targets as the Katana, so it performs in similar ways with the added benefit of having all the features you would expect on a western sword. Another sword that is quite similar to the Katana is the Kriegsmessers, which is also two handed. Both benefited from the advance in European warfare technologies while the Katana kind of stalled in it's perceived "perfected" form.

Swords are over-romanticized now but I believe that it was also the case in the past. Any hardened soldier could have told you that spears or pikes where what won wars. Yet it's the sword we see and hear the most in art. The myths surrounding the Katana are probably as old as the sword itself.
It's a popular narrative amongst the 'intellectual' class in the US, which traces its roots back to the initial wave of Puritanism in New England. It's easy to trace the path from Mather to Emerson/Thoreau to Silent Spring. This is also why American Liberalism is different from anything a European would call Liberalism- hard to get too worked up about the plight of the proletariat when deep down you secretly believe the dirty sinners must deserve it.
He didn't even know who the Proud Boys were during the debate. It's even disputable that they're white supremacists, their leader is Hispanic and they proclaim the superiority of western culture not the white race.

The next day Trump said something like "I don't know who they are, but I condemn them", you can't get more clear than that but of course this doesn't get coverage in the media.

Nevermind the numerous times prior where he has explicitly condemned white supremacy and even designated the KKK as a terrorist organization. It's all ignored in the left wing echo chamber.
Public health is a political issue, the word "public" gives it away. The editorial pages of a journal are precisely the right spot.
Sure, if by "smaller issues" you mean a likely redesign of large parts of the codebase. Think of it like writing C code without bothering to free any memory.

In C having to free allocated memory manually dictates how data structures are built and how your program flows. Often you have to keep track of extra state in order to free your memory at the right time and if you don't have this in mind from the get-go you're going to write code that leaks a lot of memory or doesn't work. The same is true for rust, but instead of the code leaking or not working it doesn't compile. If you turn those checks off with unsafe you're essentially stuck with an improved C that's just as difficult to prototype in.

Systems programming languages are simply not designed for fast prototyping, instead focusing on fast and in rust's case correct code. A GC, dynamic typing, high level library, etc. all help you prototype faster but you're not going to be able to use them to write an OS or a web browser.
Can you please explain how the ONLINE feature store works?
I.e. if the prediction request contain, let say, user id, and the user record is not in the ONLINE feature store (e.g. Redis), than you would need to go to the OFFLINE store and do a join, or a select?

To sum up, assuming that the online feature store is some sort of a cache, how do you know which objects to place in the cache?
I hope we eventually get Presburger arithmetic support so that one could write

fn concat<T,M,N>([T; M], [T; N]) -> [T; M+N]
Not just shape of data, but the values that are allowed by data.

I agree that it is an oversold fallacy and types get really clunky when pushed too far. But any worthy type system prevents lot of errors. This is not generally acclaimed by empirical studies claiming only 5% improvement because they are caught at compile time.

Other benefits are enough to use a sufficiently good static type system, by the way, even for people that think type systems aren't better than TDD.

* Better autocomplete
* Better error highlighting - no need to run code or tests, IDE can highlight instantly.
* No typos in variable names (can be achieved in some but not all dynamic languages)
* Performance of compiled code
On the other hand, it's worth noticing that the plastic packets + sheets you bought (wasteful and pointless as they are) probably amounted to...5 grams of material?

If we're talking pollution and climate change, imo these debates around plastic are all pointless distractions from the cold brutal fact that our westernised high-energy lifestyles are not sustainable, and certainly not scalable to a world with 10 billion consumers.

We can either get used to living at a standard closer to 1920s Europe in energy use (re flight, transportation), get comfortable with the idea that the wealthier billion or so of us will be much better off than the bottom 9, or wait for most of mankind to die climate-related deaths.
Right, so we essentially say that the provided example doesn't refute the "it works if it compiles" slogan. It just works according to the provided specification expressed in the types, and it so happened that the specification was not specific enough.

My specification doesn't make a distinction between absent users and possible error responses because I assume that errors will be processed elsewhere and the getUsers function is applied as part of the "safe core" interface that is not concerned about error handling. If the specification was more precise (even more precise than in your suggestion, for instance, getUsers :: SafeIterable a => Foo -> a and length :: SafeIterable a => a -> Integer ), it would work differently.

The issue in the example has to do with the clarity of the intent encoded in the type signature, not the inherent issue of the type system that cannot guarantee safe runtime of the example. That's why I mentioned type constraints for specific iterables as a possible solution to the encoding problem.

A better example of the compiled-but-not-working case would be something that currently cannot be expressed well by the type system, something like async exceptions or access to closed resources (will be covered by linear types soon).
Poor Man's CSS Full-Bleed Layout
How are the drug dealers making more money if there are alot less people consuming?
"Better" is subjective. Web apps sacrifice performance, but you get an app that you don't have to install, that can't do anything malicious to your system without your consent, that's (at least in theory) easily shareable and deep linkable. Maybe that tradeoff isn't worth it for you, but it is for a lot of people!
Surprising it’s the Dems in Congress that want to break up tech then. I guess money isn’t everything.
Where did you come up with that number? $500k is much more than a sitewide external app pentest of comparable scope would cost Apple, by an integer multiple. The bugs here are good, but they're not "bug bounty black swan" good; they're what you'd expect from a sitewide pentest.

I agree Apple got a great deal here (that's the point of bounties, and anyone who thinks they're a bad deal for strong researchers is... right). But I'm always going to point out that HN has weird misconceptions about the economics of this stuff.
No. Because the experiments are completely independent (i.e. player #1 & player #2 don't interact at all; their choices don't interfere), the events are effectively "choosing door A and switching to door B" and "choosing door A' and switching to door B'". You have doors A, B, A' & B'. This of course assumes all doors are revealed simultaenously; i.e. no player gets to see the result of the other's choice beforehand.

You don't have probabilities "behind doors", you have probabilities of "chose right the first time". The probabilities of players #1 and #2 choosing right are clearly independent.

But don't trust me: try it!
All of the Very Successful People who I've had the privilege to work with have been disgustingly well-organized and disciplined, and had almost supernatural memories, including memory for fine detail like the specific values of relatively inconsequential numbers they saw six months ago in many cases. I can't help but wonder if these two things are related.
I mean, maybe you're leaving this intentionally open ended to garner comments to get your post higher on the HN page, but perhaps you could answer the question you posted: Isn't this just a data warehouse?
Tracking the Top H1B Employers and Their Median Salaries
Aren't both just viral?