skysight-inc/HackerNews huggingface dataset:
Security cameras are different from facial recognition systems.
Is your car radiation hardened to withstand an indirect nuclear attack? (tanks are)

what about biological filters for the air? (telsa made waves a few years ago with its filtering, which is a lower standard).

What requirements does your Chevy have to survive IED's, gunfire, and mines?

What about real all wheel drive, and the ability to ford small ditches, etc (most of the wheeled military vehicles have very high ground clearance)
HTML Style Guide and Coding Conventions
Don't confuse a "country" with a "government". The Internet is global, but that doesn't mean I trust every person on it. That's why we have spam filters and block lists and cert trust lists.
If I recall correctly, not being able to do a plugin free version of Silverlight is one of the reasons Microsoft invented Blazor ( https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor ).

The devs listed it as one of their reasons for "why?" in a community chat.
> Unless everybody is born learning a language, no we don't. Even 'The one they use the most' varies over time.

Nobody is born having learned a language. It's something even babies have to learn and they know nothing!

People can even "switch" their native spoken language up to a point although it seems to get much harder as they get older and more experienced with one language, as they're constantly comparing their aptitude to their "native" one -- just as they do with programming.

> An easy use case: you're in your company and you need to do a simple script for some computation. The more readable the language you use is, the more coworkers will be able to find a bug/reuse it/modify it without requiring your help.

The decision to bring another language into a company requires different considerations for every company. The one I work for has a lot of q/k programmers, so this isn't a problem for me. I like programming in k, so it makes sense I might want to be around other k programmers.

I think if you decided to write your "simple script" in even a well-known language like JavaScript, you'd cause some grumbles in a Python+C# shop; k isn't special in this regard.

> I read more of the parent comments on that link. I didn't notice that the OP started with an unsorted dataset, you did binary search on a sorted one.

HIBP offers the data pre-sorted, so I used that. I could have used asc (actually sort) instead of `s# (an assertion that it is already sorted) if I'd used a different file, but I value my time.

> I thought that it the "kdb native format" meant more database magic that just serialization.

No. It's literally just mmap. There's a header on the file describing the array shape, and indicating that it is sorted (so bin will be accelerated), but that's it.

kdb is a database in exactly the same way that Python could be if you just pickle/unpickle everything, except it's actually fast enough that people do this, even for large data sets.

> "harmonises" in the sense that it takes one of the most common programming symbols and changes it? I don't know of anyone that sees "2 & 3 = 2" and thinks "yeah this makes sense".

If you write something like (f=42)&(g=69) you expect "&" to mean "and" here, right? Well if f is an atom, then f=42 returns either a 0b or a 1b based on whether f is 42. What if f is a vector? Well, let's see:

f:1 42 2
g:4 69 4

f=42 returns 010b and g=69 returns 010b -- do you see why? Now 010b & 010b should return 010b for the same reason that 1b & 1b should return 1b (and 1b&0b should return 0b).

"&" is just generalised from here to work the same way non-binary values. Having it convert to binary-and would be very confusing for vectors, and although I can see a consistent way it could work, I don't see the value in that operation.
It will hit hard and mostly people struggling already from the 2008 crisis, which is only going to further social unrest and claims to fight inequalities, rightly so. As for the people following this website, it should strengthen their resolutions to innovate at local level, possibly implementing solutions already validated in comparable environments and markets (e.g. here in Italy, more smart working like in the Northern Europe and more cultural business like in the UK).
Yes, they've been put in after previous panics. I've always thought it rather odd that there aren't any corresponding restrictions on sharp upward movement, since euphoria can be just as dangerous as panic.
We absolutely want to use our platform as a base for negotiating lower prices. Currently our customers have 0 negotiating power and can actually get serious price increases if a single person in their group gets sick. For employers in this situation, it's often cheaper to use us and get employees all the same tax savings, but buy on the individual market.
On Facebook you're bound to your friends/family/co-workers/etc, on Reddit you're bound to the shallowest lowest common denominator content (front page) or else endless spam and self-promotion (sort by new.)

Twitter is where you're meaningfully in control of who you follow and what you see. That means it's on you to curate that, and many won't want to do that. I was on Twitter for a while before I found the real niche and strategies that made it my favorite place. Once I got it, the curation became an activity that I enjoy, part of the loop, and it's rewarding when it's working well. If you're seeing fake news regularly it's because you want to see it.

One key thing to do is avoid the algorithmic timeline, Twitter does force bullshit down your throat to maximize engagement metrics, but where is that not the norm anymore? My Twitter experience might crumble if I lose access to the app that removes ads and suggested content from the timeline and keeps it fully chronological.
I'm old, too. I learned to program on punched cards, and remember the move to high-speed paper tape. That was awesome!

One of my favorite stories is from those punched card days. I was a careless teen, and knocked one of the developer's card decks off of a desk, sending all the cards scattered widely across the floor.

The sysadmin made me gather them up and manually sort the several thousand cards into the proper order. It took a over a day. When I was done, he took them from me and dropped them into the hopper of a machine in the corner to "check my accuracy".

What he didn't say, and I didn't know until weeks later, was that the machine he used was a card sorter and could have put the entire deck into the correct order automatically. The dev made me sort the cards manually as punishment -- and it worked, as I was much more cautious from then on.
Older population?
Nothing. They're just one of the early hot spots.

This virus evolves somewhat slowly- up to 2 weeks incubation period plus another 3-6 weeks of illness. But because it spreads during incubation, and has a high R0 value, once it starts spreading it does extremely rapidly in dense areas, after the 1-3 week lull. It is allegedly aerosolized and one paper reported surface contamination for >1 week.

The us is in week ≈2 now. Week ≈3 is where the whole country lights up with outbreak and the government is pressed into extreme measures. This is based primarily on South Korea's timeline.

On the bright side, the sprawl of the US may make this easier to deal with, but you can probably expect some domestic travel restrictions soon. I don't know if states have authority to close borders but I won't be surprised to hear about it.
But maybe the main reason that SARS died out by the summer was not primarily because of the temperature but had more to do with the fact that it wasn't as nearly contagious and they were able to contain it with social distancing?
Implementing the Clipper Chip Cipher
For regex, named capture groups can also be used so one group per line isn't as required:

$_ =~ m/^ # anchor at beginning of line
The\ quick\ (?<adjective>\w+)\ fox # fox adjective
\ (?<verb>\w+)\ over # fox action verb
...
> what happened in Italy that they were hit so disproportionately hard relative to other countries?

Short answer: we don't know.

My hypothesis: Italy was the first G7 nation to join China's Belt & Road Initiative [1]. Its populist government also bet heavily on integration with Russia and China. That caused it, alongside Germany, to get hit early. Its sclerotic state then let it fester.

[1] https://en.wikipedia.org/wiki/Belt_and_Road_Initiative#Italy
As far as I know Italy also has a hospital culture that is extremely open, e.g. it is common for patients (non-ICU I guess) to get home-cooked meals brought by friends and family instead of having a hospital meal. That means that if there is community spread, the very weakest of the elderly, those already hospitalized, will be more exposed than in countries where hospital visits are less common. An extremely cynical view would be that this increases deaths early on but frees up valuable beds for the peak of the wave. (It's painful to just write this)
The likeliest scenario in the US is that (at the federal level at least) we won't try to contain it beyond perfunctory measures. People will just get sick and die. Hospitals will experience shortages and we'll try to back-stop those shortages via capitalistic solutions. I wouldn't rule out the possibility of even stories of straight-up bribery for hospital access to come up some years after this is all over.

Be it cancer or COVID-19, the US default attitude to healthcare in general is very "Whatever happens to a person, happens. Can't control it." One could even, uncharitably, point to the origins of the country and suggest that there's a critical mass of people who look at health crises, shrug, and go "God's will."
I expect more crazy volatility for the rest of the month, followed by another drop after Q1 numbers come out (and a second, smaller, drop after Q2).
Is there community spread in Australia at this point or are most of those cases imported or directly related to an imported case?
Innovation is empathy turned into action: Microsoft CEO Satya Nadella
More like 5-10 days. There will be a massive spike on Wednesday when test results from Quest start coming in.
i was nowhere near the smartest kid in my school or my uni class but Im more successful than them by miles. Don't let it discourage you.
Common mistakes using exceptions in Java
Are you sure about that? healthcare.gov seems to suggest otherwise [1]

> Maternity care and childbirth — services provided before and after your child is born — are essential health benefits. This means all qualified health plans inside and outside the Marketplace must cover them.

[1] https://www.healthcare.gov/what-if-im-pregnant-or-plan-to-ge...
WOW!!! although i despised silverlight, this is some accomplishment you guys have done. very impressive.
There's no good active trading solution here because no one knows what's going on. People occasionally make the right calls, but they also occasionally make the right calls on coin flips, too.

There's a reason for that: the only good solution is a passive one. Ignore the panic, hold, stay the course, and put more money into the stock market when it's down. The large majority of active traders do worse than the market average because of panic selling in situations just like this one.
Thanks for posting this. I'm looking forward to seeing this service offering as your customer base increases.
Agreed. This is by far the most reasonable post I read today.
I've been watching these for about the last 10 days. He's very calm and reasoned. And he continually to reiterates that we need to be more proactive instead of being reactive. I wish our governments in the West would take his advice.
same boat. I've made it through a lot of tough events in my life and have worked at a bunch of different jobs...never had much of savings due to life events anyway. Also have never really expected to retire so having my minuscule 401k lose money isn't really hurting me.
Those seem to me be to be directed more at price manipulation of individual stocks (eg pump and dump schemes) than restraining enthusiasm across the whole market. I'm open to correction on this (and will not demand a halt).
Where have you read that it spreads during the incubation time? So far Swedish epidemiologs have not seen any evidence of that fact.
I think it's better explained by interest rates dropping over 2019. There are now more savers with fewer opportunities to make a return on their capital. So even with constant corporate earnings, there are more savers trying to buy a share of those earnings.

Basically, the opposite of this explanation:
https://www.thebalance.com/why-do-asset-prices-fall-when-int...
Thing I remember most about my BlackBerry was a system update taking the better part, if not more, of an hour. A power cycle would take 10-15 minutes. Everything was just ... treacle. The iPhone 4 was no speed demon but it was night and day to the BlackBerry.
> That's hardly symmetrical to the fear of losing the money that you have already invested...

It's pretty symmetrical. Choosing not to buy is not as easy as it looks, when you are under pressure to do so. Madoff took advantage of this. The crash of 1929 was preceded by unhinged buying.
Honestly, spring just happens to be the season when I contribute to my Roth IRA, so hey, I guess this year I get my index funds at a low per-share price. Thanks log-normal random walk!
2020 Energy Efficiency Across Programming Languages
How valid is it to look to the past when there is so much cash floating around? With so much more demand for roi, I would think that in itself would bias the markets up. Almost like an invisible Keynesian injection eager to happen
Lots of good answers below. Additionally most of the trading happens in the opening and closing minutes. So you could trade almost the same volume even when the exchange only opened for 15 minutes per day (let's say once in the morning and evening).
The T5/T6 are not really directional circuit breakers though. They are momentum breakers that don’t bias towards downward momentum.
Rarely! They're mainly collateral damage that gets hurt during the downturn AND the upswing.
Work in Progress, the Engineer Way in 12 Pictures
Amazon out of powdered milk in the US
I tried buying the last one at a reasonable price and it was gone before I could choose shipping (a transaction isn't finalized until the shipping is chosen). There won't be any more that will ship before 1-2 weeks, depending on the item.
I think the price tag only makes sense when tax is included on them. Things are taxed differently in different places, and sometimes people are tax exempt (in the US). But without the tax on the price tag, it’s literally impossible to know how much you’re going to pay (this is why I love living in the EU).
You would think, by the same arguments, that the stock market could always just trade at 15-minute intervals. Why not? But people go crazy when researchers (e.g. Eric Budish at U. Chicago) suggest lowering the frequency to milliseconds, let alone seconds or minutes.
When people use that term for games, it usually means the assets have been reworked to look better.

In this case, I guess that would be the procedural generation of the background and trees, for instance, to give it better quality than simple triangles.
Well put but hindsight being 20/20, it might have been nice to know before hand that the price of letting a 'poor child in Detroit' have accessible browsing was the relentless and pernicious invasion of privacy that 'free' internet provides. More importantly, all those examples you presented seem like what happens now in slightly obvious forms e.g. blue checkmarks, newspaper paywalls etc.
"Let's all take a deep breath, y'all."
The headline is ambiguous. It could be inferred that the question is answered in the article.

A clearer headline would be: "Scientists are trying to understand why the coronavirus spreads so easily between people."
A lot of comments are saying that a recession is probable.

Can anyone shed a light on why that is/could be the case?
I am currently a trainee, so learning is essentially all I'm doing at my job. Also, I plan to take the CFA Level I exam in December. While my company does not support this, at least I can access the office on weekends where I have Wifi.

If anyone has advice for the CFA exam (or comments on the usefulness of the qualification), I glad for comments!
Thanks, I also referenced this jk1k racing game in the post...

https://js1k.com/2019-x/demo/4006
I'm learning Rust. It helps to have a recession-proof skill. And there's a lot of software that will be re-written in Rust over the next decade to make the world safer in general.
According to https://dqydj.com/nikkei-return-calculator-dividend-reinvest...

Nikkei is down 36% since January 1990 if you reinvest dividends. Do you have a source for your claim?
Growth in cases has been exponential, as it should be. It just depends on when it turns logistical.
10 of those 26 are "exercise", not comment. The 6 lines above that are ununderstandable, and I can only find two others, which fail to explain what it's supposed to do.

In this context, "intimidating" and "less tradational" are euphemisms that stem from cognitive dissonance reduction.
More like politicians need to look like they are doing something.

These days it's hard being in charge when the herd starts panicing. You have to cook up all kinds of bullshit whether it's possible or not to prevent mass madness.
I fully agree. Twitter is a platform where I can truly curate what I see and interact with in a meaningful fashion.

On Reddit you can follow a community but then you’re bound by the quality of the community and it’s moderation. If on Twitter I want to follow an author I follow them. I engage with them. No additional noise or BS.
I've heard 1-14 days with an average of 3 days, but I'd have to dig up sources. But even if the long incubation periods are rare, they'll still have an outsized impact.
How frequently do the 225 companies in the Nikkei get updated?

Maybe more a reflection of how the index is managed.
disable JavaScript
> Mass sell offs tend to create unorderly markets, which is not beneficial for anyone.

It's beneficial for people who want to buy stocks cheaply or if we truly believe that markets are about price discovery.
I entertained it, it didn't entertain me.
>Downturns can go on for decades.

Exactly. It feels like we've swung way too far to the side of "put your money into the market and forget about it". We have no way of knowing what the future looks like. The average bear market wipes ~35% or ~4.5 years worth of gains from your portfolio. Avoiding even a bit of that can have a substantial effect on your savings in the long run.

Of course, timing the market isn't easy, and I'm not giving any advice on buying or selling. But the idea that these peaks and valleys don't matter simply isn't true. They matter, a lot.
Then why are countries like Germany, which were exposed earlier, not experiencing similar problems and lockdowns? I am deeply troubled by this sort of isolated authoritarian overreach and the eagerness with which people accept it.

If states in the US do try to lock down their borders, I might drive across a few just to reinforce the fact that such measures are unconstitutional and anti-American. This is all starting to feel like mass hysteria, considering how much reports vary from country to country and the whiplash speed at which the overton window is moving. How long until Congress passes the Pandemic-triot act to suspend the 1st amendment in the same way that the Patriot act suspended the 4th and 5th?

This happens every 5 years or so; SARS, swine flu, and H1N1 were all more severe, and we didn't destroy our societies over them. We just have more access to information and mediums of emotional contagion nowadays. I understand that most people disagree with me on this, but that's what happens with mass hysteria and emotional contagion. Know that not everyone buys into it, and if you are keeping calm you are not alone :)

Personally, I'm thinking of visiting Venice in a few weeks once the planes and trains are operating again. This seems like a great opportunity to avoid the crowds and get a good deal on seeing the city before it is submerged for good.
Non-programmers making sense of code in this way is extremely rare. I don't think this is a priority in programming language design, the same way that making dashboards accessible to non-pilots is not a priority in airplane design. That would certainly be a poor reason to sacrifice major improvements in airplane efficiency or safety. Designing simpler dashboards for student pilots as a learning device is of course a different matter.
There are no perfect indicators.

In fact there's no perfect anything. Just good enough for purposes.
> from setting up his own stock exchange that doesn't have any circuit breakers put in place to prevent flash crashes.

If you are facilitating the trading of regulated instruments this is wrong and there are indeed SEC regulated circuit breakers you will have to implement.
My bad. I reread the guidelines and FAQ. I must have been thinking of some other forum.
Its an enforcement policy directed by the SEC. Its effectively a law, you can’t opt out for instance.
Was working professionally through the last one and I'd say:

a) don't retire

b) if big corps are your thing, B2B big corps fare way better than consumer oriented ones so if you need to decide between two job offers, pick the one with the least chance of layoffs. There are no guarantees.

c) have cash standby. You should have this regardless of the state of the market. If you need cash and a recession is coming, it becomes a self-fulfilling prophecy. I learned to have at least one year of expenses in my checking account after witnessing the layoffs in 2008-2009 and then the trigger happy RIFs which followed well through the 2010's.

d) learn or be willing to learn or pivot your skills
that's actually a very good answer.
Virus Testing Blitz Appears to Keep Korea Death Rate Low
With flu probably about 50% of passengers have been vaccinated. Another 30% or so may already have some level of immunity. With covid nobody (or relatively few people who have had it by now) has immunity and there is no vaccine.

We do have numerous examples of noroviruses infecting a lot of people on cruise ships.
You are correct, but notice the attempt to police speech with a rather vile insinuation: "if you don't want to sound racist"
I fully expect a recession (and a pretty severe one), but I'm not doing anything special to prepare for it. The financial and professional habits I already have are what I would do in preparation anyway. Primarily, this boils down to being (largely) debt-free, having a large cash reserve, and ensuring that my skillset is up-to-date so that I can get work or start a business in almost any climate.
Why do you think that stocks will go up faster after this crash than if it had never happened?
Previous discussion of original 2017 study —

https://news.ycombinator.com/item?id=15249289
How A Pandemic Might Play Out Under Trump (2016)
TensorFlow Quantum: hybrid quantum-classical machine learning
Building a Minikube from Scratch
It depends on how far out you're looking. If you started preparing when the yield curve inverted over a year ago[0], you've had plenty of time to prepare.

[0] https://www.bloomberg.com/opinion/articles/2018-12-03/u-s-yi...
Well, my plan would be to treat dividends as tax deductible to the company and then flow through to the owner, as with LLCs. Capital gains would be taxed at a windfall rate (e.g. the highest marginal income tax + payroll tax rate + 10%).

The nice thing about this is that the progressive income tax system then makes equity ownership very attractive to lower-income households, and less attractive to rich people, thereby distributing ownership over a larger and more economically diverse group.

I have no idea how to get people to buy in to this idea. I have had no success convincing even my own family that this change needs to happen, and my parent post is being downvoted. ¯\_(ツ)_/¯