skysight-inc/HackerNews huggingface dataset:
That is untrue,

Here's a code example (actually took me ~20 minutes to get it "right" so I'll admit it's not the most trivial problem)... it includes seeds so that you can replicate locally (it should hit 100% accuracy all the time on the 1200 examples testing set reliably by about epoch 700):

'''

import torch
import random
from sklearn.metrics import accuracy_score

random.seed(61)
torch.manual_seed(61)

X = [[random.random() for x in range(2)] for x in range(2000)]
X_train = torch.FloatTensor(X[0:800]).cuda()
X_test = torch.FloatTensor(X[800:]).cuda()
X = torch.FloatTensor(X)

Y = []
for x in X:
y = [0] * len(x)
y[torch.argmax(x)] = 1
Y.append(y)

Y_train = torch.FloatTensor(Y[0:800]).cuda()
Y_test = torch.FloatTensor(Y[800:]).cuda()

shape = [2,2]
layers = []
for ind in range(len(shape) - 1):
layers.append(torch.nn.Linear(shape[ind],shape[ind+1],bias=False))

net = torch.nn.Sequential(layers).cuda()

optim = torch.optim.SGD(net.parameters(), lr=1)
criterion = torch.torch.nn.CrossEntropyLoss()

dataset = torch.utils.data.TensorDataset(X_train, Y_train)
dataloader = torch.utils.data.DataLoader(dataset, shuffle=True, batch_size=10)

for i in range(pow(10,6)):
for X,Y in dataloader:
Yp = net(X)
loss = criterion(Yp, Y.max(1).indices)
loss.backward()
optim.step()
optim.zero_grad()

if i > 500:
optim = torch.optim.SGD(net.parameters(), lr=0.002)

if i % 20 == 0:
Yp = net(X_test)
print('Training loss: ', loss.item())
print(f'\nAccuracy score for epoch {i}:')
print(accuracy_score(Yp.max(1).indices.tolist(),Y_test.max(1).indices.tolist()))

'''

This is as basic as you can get, predict the max out of 2 numbers, only uses a total of 4 node:

2 inputs (the 2 number) -> 2 outputs (the index of the maximum numbers). just 2 weight being optimize, no biases no nothing, as simple an implementation as you can get in terms of size.

There's also way to do it (apparently) where instead of treating it as "find the max index" you treat it as "output the maximum number": https://www.quora.com/Can-deep-neural-networks-learn-the-min...

But the approach I have will generalize to e.g. "Find the max of 5 or 100 or 1000 numbers" (although I assume it might take some time)

And overall you have no guarantee, that's why I qualified the statement and didn't say "Literally any imaginable problem that a human can solve without context".

To some extent it also matter how you encoder your number, you can train a 10000000000 parameter FCNN with RELU activations until the end of time to learn a simple mutliplication, and it won't be able to do so if you don't log encode your numbers or use some encoding or activation that means `` can be transposed in the `+` operations being done inside the nodes to combine the outputs... because that's outside of the scope of mathematics that given netwrok can do.

But, unless you are specifically trying to come up with an edge case and are instead looking at real world problems and trying to design the network in such a way as to best handle them (and this doesn't have to be all manual, you can use various NAS techniques), the rule will hold most of the time I believe.
From a scientific perspective you are right. It is also important that people realize ventilators only have a moderate impact, and act accordingly.
I've had the same happen to me (and all my colleagues) at my first work place as a developer.
I think you could replace those with online meetups though?
Among the rules for good writing should also be, don't use four thousand semicolons to weld your entire essay into a heaving sea of words which offers the reader not even the life ring of a majuscule here and there.
Industries ripe for automation.
I just googled “App Engine Python getting started”
Let's see what the electorate looks like, and its appetite for change is, after 10 months of a raging global pandemic.

We're only a few weeks in, and we've already drastically expanded benefits to those in need (the stimulus bill I mentioned upthread) much more than we would've under normal circumstances. Quite a bit of change can occur in a year, no?
> not needing to do the whole CA/easyrsa stuff is a huge bonus

That's good to hear, but how does it handle authentication / authorization?
that is entirely different from taking screenshots.

It seems blatantly obvious for security and audit reasons a company should log internet usage on their secure network
We're not fine with that, which is why Amazon has significantly increased their pay for the duration of the lockdown. If Instacart hasn't I agree they should.
"has now" is ungrammatical.
> To be quite honest, most of these middle managers are not only at a loss as to what they should be doing but are also dealing with the isolation far worse than "staff". I have come to realize that a lot of their time was spent on social aspects of the workplace and they have been removed.

I know exactly the affect you are describing but it just seems so backwards to me because this is the point at which the social aspects of work become more important. Coworkers aren't going to be informally communicating the way they used to so managers have way more "social" work to do.
I work in the labor movement. How can you say, in this moment, that they aren't facing physical risk? Their demands are specifically focused on the exposure they face to this virus.

Also, I don't know if you've ever had a job that's underpaid where you work with the public, but it's incredibly exhausting and frustrating and nothing like my comparatively stress-free job where I get to sit at a computer all day. Now imagine doing that in this moment of crisis where you're doing deliveries so that others don't have to risk themselves!

To your specific question, obviously something about Instacart will get more play on a tech site than, say, sanitation workers. I don't think that's odd. But there's no reason to assume that one needs to come at the expense at another -- if you start a thread about sanitation workers, I'd be first to upvote it.
https://news.ycombinator.com/item?id=22443428
> If the Rust async/await support is indeed so flexible that with some work you could tie it together with a pre-emptive runtime of your own custom creation

I think that's exactly what it is. AIUI it's basically an API for async/await (and maybe a default runtime?) that different back-ends can be plugged into. At least that's what I've come away with over the months of reading random bits about it here.
We're in the middle of a situation in which delivery is the only reasonable option for many people to get goods and the people staffing the delivery infrastructure go on strike and demand extraordinary pay? Shame on the strikers for exploiting a catastrophe. There are millions of people out of work right now. Fire and replace all the strikers.
Estimates Show Wuhan Death Toll 20x More Than Official Figure Of 2500
This is what inflation looks like. If this continues, the US is going to be in a world of hurt (if workers demand more, guess what is happening prices). Inflation would utterly ravage the economy right now.

Just generally too: if Amazon announced they were hiking prices 50% overnight, how would you react? This move is pretty scummy.
AMD's most important product ever – Ryzen 9 4900HS
-A few years ago, months after Norway had witnessed a HEAT-style armed robbery during which a police officer was killed, Edvard Munch’s ‘The Scream’ and ‘Madonna’ were stolen from the National Gallery to divert resources away from the ongoing manhunt after the HEAT robbery.

Didn’t work.
The former uses the right word order.
U.S. Gov't Using Mobile Ad Location Data to Track Compliance with Movement Curbs
No, it really should be "Introducing Dark Mode (beta) for Stack Overflow"
Thanks for the non paywall-d link, that's an interesting read, also previous discussion on HN: https://news.ycombinator.com/item?id=22712971

Kudos to Taiwan for reminding WHO an unknown virus, just like any other virus, may possibly be H2H-transmissible!
> Part of me wonders how serious a question this is. The ridiculously cheap manufacturing costs is why anything is made in China. When the Chinese get unions to negotiate $45/hour salaries, require fair working conditions, time off, medical/dental, and on and on things might be different.

I've often wondered why import tariffs and/or local manufacturing subsidies aren't used to address this. AFAIK they're set fairly arbitrarily, based on the whims of e.g. President Trump. But imagine if they approximated the difference in cost due to the environmental and labor standards of the two countries. Then it'd be an even playing field; there'd be no advantage in importing from a country with lower standards or exporting to a country with higher standards.

A few possible reasons why not: it seems non-trivial to accurately determine how much labor went into a part (may vary over time and by manufacturer) or how much environmental damage its manufacture caused. And maybe we just don't have the appetite to pay the cost of making things to our alleged standards and would rather dump the environmental cost on China. Even local manufacturers might fight it as they don't like the precedent of considering externalities.
Practical AI 83: Mapping the Intersection of AI and GIS
Ha! Makes sense then. :)
MsgSend() in QNX Neutrino does not circumvent the kernel, just the scheduler. If you're clever and lucky you can get an entire round trip to and from the service in a single timeslice. On the other hand, MsgSend() always blocks, so the call could be preempted depending on service priority or if there is an I/O wait or whatever, and that would mean the scheduler comes to play.
Far right? If you think the ruling party in Poland is far right, then I'm sorry, but your scale is off. People throw that term around very loosely. There is much to disagree with (for instance, they're too etatist for my taste, but then, Europe is generally too etatist), but far right is just a slur used against those that oppose the (Franco-)German imperialist status quo. Mind you, the ruling party of Poland is pro-EU in general.
Couldn’t museums and other art holders create their own authenticated market of accurate clones by giving copiers access?
Presumably Africans did that with Europe, Asia first? Then Asians/Europeans did that, displacing smaller vanguard populations.

At some point the question of whether people are being displaced probably becomes hard.
What it’s like to go on a video chat first date in SF during a pandemic
People are just naturally biased towards rewarding effort though. It feels really uncomfortable to label someone who gets into work before you, leaves work after you, and isn't ever seen to be doing obvious goof-off things as "dead weight"
Is there a winner in the HTTP Rust library wars yet? The last time I used Rust, Hyper was on top, but I hear it's no longer cool. "reqwest" is being talked up. You can also get several versions of the same library in the same program through dependency problems.[1]

This is a process problem. The development process for Rust does not seem to force convergence.

[1] https://hackernoon.com/programming-in-rust-the-good-the-bad-...
There are two important things that are often conflated with async/await: the programming model, and the executor model.

The programming model of async/await is essentially syntactic sugar for a state machine, where each of the states are determined implicitly by the site of the call to await, and the ancillary storage of the state machine is managed implicitly by the compiler. It's basically no different from a generator pattern (and is usually implemented on top of the same infrastructure) [1].

Since the result of calling an async function is a task object that doesn't do anything until you call methods on it (including implicitly via await), most languages integrate these task objects with their event model. This model is completely orthogonal to the feature, and often exists (at least in the library, if not the language) before async/await is added to the language. JS has a built-in event loop that predates async/await by several years, whether programming in client-side browsers or using something like Node.js. Rust is unusual in that it prescribes absolutely nothing for the executor model; all it defines in its standard library is the interface to drive the tasks manually.

I doubt async/await is an evolutionary dead end. It's the third kind of coroutine to hit it big in mainstream languages, the first two being the zero-cost exception handling mechanism (i.e., try/catch) and the generator (i.e. yield). The biggest criticism of zero-cost exceptions essentially amounts to their types not being made explicit, but the design of async/await makes their effects on the type of coroutine quite apparent, so it's not going to run into the same problems.

[1] There is a difference in the pattern, which is that you're probably going to get back different kinds of objects implementing different interfaces, which is a bigger deal if you manually drive the interfaces. Structurally--that is, in terms of the actual machine code running--there is likely to be no difference.
Harvard experts weigh in on the origin and fate of the handshake
Can someone with knowledge in Labour protection explain to me why we shouldn’t let that labor market decide how much these workers are paid?

After all, these technology platforms are making supply and demand more transparent, and theoretically, market pay rate should adjust quickly to reflect those changes.
Amazon workers to walk out over lack of protective gear amid coronavirus
Wages are largely a function of supply and demand. This downturn favors critical workers because the demand increased faster than the supply can increase, so their wages/perks should go up accordingly, but nothing happens over night.
This is the difference between inner application and external application.

So, similar difference between a Dictionary and a Database.
The link is: https://darkreader.org/ . The extension exists for Chrome, Firefox, Safari and Edge.
Unlike what the title lead me to believe, it is not the number 3 that is special. It could have been 2 or 42, the question would have remained the same.

The real question is "why are there N copies of each fundamental matter particles?", where N is a seemingly arbitrary number that happens to be 3.
I mean it's not meant to be a surprise. It's been the official policy of the United States since 1972. Specifically "the United States acknowledges that Chinese on either side of the Taiwan Strait maintain there is but one China and that Taiwan is a part of China. The United States does not challenge that position." https://en.wikipedia.org/wiki/Shanghai_Communiqué.

It's only a surprise because the US treats treaties like it says "as long as the grass grows or the water runs" https://en.wikipedia.org/wiki/Indian_removal
Yeah. I like to think about ancient people and times and I draw a connection between objects and the past. If it was dug out of the ground after existing there for thousands of years I can do that. If the thing was made in a factory from a mold like every other thing in my house, then I have a hard time enjoying it. What's so wrong with that?

I mean, what do you even mean by "enjoying the art itself"? You mean that the photons hitting my retina should have some sort of inherent enjoyment that is not processed by my brain? My brain needs context to derive that pleasure.
In addition they're reducing:

"... vice presidents by 20%, senior vice presidents by 25%, and executive vice presidents and above by 30%..."

Niiice. Good start.
Doing Something
Hello
Both are grammatically correct. "has now" gives emphasis to "now" while "now has" emphasizes "has".
Evaluation of SDR boards and toolchains [pdf]
Free Support for Covid-19 Ideas
> vertically stacked option

Bunk-bed desks.
Because he is not a medical doctor. If someone was presenting on the black holes and they had "Dr." in their title, there would be confusion albeit minimal on if the "Dr." referred to medicine or just a Ph.D.

"Dr." Tedros works in the health and medical field. A "Dr". in the title if plain misleading if he is not a MD or equivalent in other countries.

Many things were founded by Kissinger and other characters whom society might retroactively deem unsavory. Do you disown all of them or is this just smear by association. Various figures like Hillary Clinton, Obama have consulted with him. Do you now consider them tained too?
> What makes two vases on a table less "balanced" than three?

Perhaps two points create an implied line that cuts across the table, where as three or more create a polygon that fits -within- the table with some balanced amount of space between the polygon sides and the table sides.

Alternatively (but perhaps similarly), it's the same reason why two-legged tables don't really exist.
> easily replaced by an efficiently-operated, software-powered non-profit

No, one of the biggest problems I see in our industry is startups jumping into problem spaces they do not fully understand, and flailing around for a year or so, maybe getting enough people talking to them to refine their product, learn their own market, and finally get "product/market fit". Maybe.

I don't feel that we should try to replace the WHO with such a failure-prone process just because they have some problems. I do feel that you can certainly start down that path with a long-term goal to learn that space and improve upon it... but it will be a journey, not a quick fix.

It cannot be simplified down to: "bureaucracy is broken, lets replace it with some code."
I mean I have no idea what a judge would think.

But I'm not sure it's entirely outlandish. The buyer just spins a story to the judge: "the dealer said he could acquire a van Gogh from someone's private collection, I loved its appearance, so I paid them to do that." The buyer could insist the dealer said the painting was unnamed, that they would have had no way of ever knowing it was the same one stolen from a museum, etc. (That they certainly never bothered to take a photo and upload it to Google Image Search because why would they?)

To complicate things even further, you can even say you assumed it was a different original version. Just Google "multiple versions of van gogh" and you'll see that the artist would make multiple versions of the same painting.

Obviously the buyer in this case does know what going on -- they initiated the whole thing. But as long as there are no records of communication and the dealer has been paid off to take the fall, they can play dumb in front of a judge if it ever came to that. With a good lawyer, they might very well get away with playing the victim.
> It’s always mind boggling that in the US you will not just lose your job when you get laid off but also your health insurance. For a lot of people this is life threatening.

For a lot of people in the truly civilized countries, this is inconceivable.
REPL stands for read eval print loop. Being "compiled" is not a property of the language, but a property of the implementation. You can provide a "compiler" for python or "interpreter" for C. In Rust's case "eval" part of REPL would do compile->run. Note that even "interpreted" languages such as python are internally compiled (but this is not the output), e.g. cpython compiles python to python-byte-code, and then executes.
Russia shut its border with China super early, which helped. However, it better be careful now now that its population is unprepared mentally for a potential outbreak seeded by European travelers weeks ago.
Because people will die otherwise. God damn libertarians
You can buy health insurance on your own. It's just not going to be subsidized by your employer. If you thought your health care premiums through work were high, just wait until you see how much more it goes up with out the employer contribution. Easily double would be a first guess.
I feel like this is one of those things people imagine happens, but actually never happens. If it did happen, eventually someone would get caught and we'd see evidence of said secret room and the painting would be recovered from a mansion or something. Instead, they're always recovered from warehouses or behind walls to in attics of crooks.
a fee and a tip are very different things, and ti would be bad to conflate them. A fee is something mandatory and a tip is supposed to be optional. I think their are also differences between how the two things are taxed, so you really can't start conflating the two
Can you give an example of a movement that would hurt your employment?
We're still getting amazon deliveries at least today. Can someone clarify when Amazon deliveries will be stopping?
Debian Linux readies an anti-coronavirus hack-a-thon
> Whoever is fulfilling your order during the strike is a scab

Wait, but I'm not supposed to actually get the order in this hypothetical. I place and order, the workers don't actually fill it, I complain and get my money back, cost Amazon money, and tell their customer service that I'm upset that the strike is inconveniencing me and they should treat their workers better.

The number of non-Amazon workers that are aware of this strike will never reach critical mass so if there's enough non-strikers to still do business as usual the strike is already over, right?
You always have a choice to work for a non-union shop.
Most of the time when I have seen that situation, ignoring for a moment that my own assessment of the situation is also subjective, the person keeps the job despite there being performance review culture in place.
The same thing happened to me! My brother and I left on a 5-day backpacking trip on the 10th. I did not learn about the attacks until the 13th (another hiker came in and told us). We thought he was probably lying, but hiked out early to check. On our way out, we passed another party and asked them. They had not heard about it either. I remember a woman saying "it sounds like someone has been pulling your leg!"
The value of the stock going down is the correct behavior if shareholders want to liquidate their holdings. For whatever reason.

Dividends seem also like the correct way to distribute profits back to shareholders. Buybacks on the other hand, I agree, are extremely shortsighted. If not used to go private and restructure the company, buybacks are a tool to provide liquidity to the more well-informed shareholders at the expense of other shareholders. Any sort of public debt financing of buybacks should be completely off the table.

Convertible debt seems like a good structure. If companies want to take the chance on the debt and they fail, the company would be effectively nationalized. In any case, a condition of any such note should be to prevent dividends and buy-backs. Any reasonable investor would probably include such terms.
They seem to be working towards making it happen, by pushing on the supply side. Good for them.
I think this might actually have been what he used.

I am actually still friends with the guy (we were both quite young back then, and you learn from your mistakes), and I tease him about this incident at least every few years.
>How is that different from servers in a restaurant?

I fail to see how that is relevant. I think the closest comparison to DoorDash is ordering delivery from an Italian restaurant – not driving to the restaurant, sitting down at a table and getting table service. And yes, I think many people are aware that it is common for kitchen staff to pool tips at a restaurant, in the same way that they know the same process doesn't exist for delivery drivers.

>would you be upset if Domino's gave an earnings guarantee to their drivers?

I would have no problem with that, but if they have a button on their app that says "tip your driver" it had better all go to the driver.
Mind giving an example of what doesn't match?
Yeah, after paying off the local officials to frame it that way. A rich person being accused of theft will tank their reputation, and if they spent $250M for the painting, they'll easily spend $10M to cover it up.