skysight-inc/HackerNews huggingface dataset:
I'm sorry, but which one are you looking at? (All comments stripped:)

k mandelbrot line count: 1

c++ mandelbrot line count: 148

Java line count: 157

Modern PL example (found on the modern shootout page, which I just found out they changed the link on):

Rust mandelbrot line count: 116

Ada mandelbrot line count: 532

And that's not even the one where k comes off the best.
I get the thrust of your argument (that the expressiveness of the type system is what matters here), and it makes sense to me.

I'm not sure I agree with this though:

> Do you really think that `unwrap()` is meaningfully different from "forget[ting] about the else branch"? Does it require you to "explicitly handle the None case"?

I haven't used Rust, so but digging up the source shows unwrap is indeed just a `match` that panics on None.

The fact that "you can put thing inside a function and call that function" doesn't mean you "don't have to explicitly do thing". We end up with a pretty useless standard for "explicitly doing thing" if putting thing in a function doesn't count.
I built my personal website with nothing but Express and JS template strings: https://github.com/brundonsmith/website. It's so simple to do that I almost question the necessity of "static site generators" in general (Next.js of course does much more than static site generation).
The government is calling to unity, and the situation is tragic enough that no-one can ignore the call.

However the left wing (and the current ruling coalition) has some serious responsibilities here, and I hope they are held accountable once this mess is over. A few weeks ago we were told that 'the only virus there is, is racism', implying that people worried about the virus spreading were doing so because of an anti-Chinese sentiment. The other popular talking point was that there are more flu deaths every year, so one shouldn't worry.

I see a link between this attitude and the current disaster.

The situation is bad, though. I was particularly shocked by an ICU medic from Lombardia declaring that in his hospital they cannot treat all the patients, and that they have to select those that appear to have the highest survival chances, something you do in times of war.

(throwaway since my coworkers know my username here, and they wouldn't like my political opinions, I hope this is allowed, otherwise please remove.)
Grant Sanderson is a great guy and makes wonderful educational videos, but he isn't a math professor (not that that's relevant to this discussion either).
> There's a reason the US is unique and that most of these companies are founded there.

The fact that businesses tend to be founded in the country with the least regulation and protection for consumers and public interest is probably not something we should really be proud of. It's kinda the worst part of unchecked capitalism.

Arizona proudly bragged about being the least hindrance to self-driving car testing in their state. Which is why businesses moved their self-driving operations there, an honor they can brag about. And now they also get the dubious honor of being the first to have a resident murdered by a corporation's self-driving car program.
I agree with your first part, but not the second. Even if there's a future where the total market has zero (or negative) return on average in the long term, it doesn't mean that it's any easier to find the temporary exceptions. And lower volatility is still good even if everything has zero expected return, so diversification still helps.
We shouldn't have to pay for Jack Dorsey's estate when it crumbles into the sea
Which side of the debate were you trying to support? I don't think anyone disagrees that medical personnel should have masks. Some might say that's all the more reason that a finite supply should be allocated to them first.
Yeah, ebay has much better buyer protections unless the item is Fulfilled By Amazon (which carries a cost premium). eBay prices also tend to be better. If you're going to buy cheap chinese crap anyway, just cut out the middleman.

Finally, Amazon's marketplace is just not navigable. Their search is pathetically bad, and this is nothing new, it's been a common complaint for years. Some fairly massive amount of their traffic is inbound from Google searches like "some product amazon" just because of how pathetically bad it is. The only other reasonable way to navigate their site is if their similar product suggestions or "commonly bought together" happens to nail the item you were looking for.

I've had searches where adding an additional keyword that is in the product title will actually cause the product to disappear from the search. What in the actual fuck.
Well, at least it's a newspaper now. Still not Italian nor in Europe, but we left Twitter and YouTube behind.
Look, until two weeks ago my 401k was tracking 14% gains. By gradually moving it over the last week and last night, I've locked in 10% gains. The alternative would have been 0% gains as of today (market is back about where it was when Trump was elected) and losses in the likely case that the market continues to slide this week.

At this point we have likely entered recession or depression territory. The rebound is unlikely to be instantaneous (unless a convenient cure is found) and when things calm down I can put my money back into the market starting from a 10% locked in gain.
I used to subscribe to these investment talking points and believed in the US equity market. I adopted these attitudes from reading Warren Buffett, index fund, financial advice. These are sound principles. I occasionally revisit value investing, dollar-cost averaging.

But times are changing. The US equity market will unlikely to deliver exceptional returns. Buffett may have a strong bias since he started his investing career post WW2. Buffett may experience only the correlation between the US equity market growth and global growth. Investment return is likely non-ergodic. We're entering new terrority where exceptional returns may come from other assets.
Not to mention all the data to be mined.
For those not in the loop: it's been impossible to make transactions on a number of platforms including Robinhood due to the overwhelmingly high load causing those platforms to fail. A lot of people were basically locked out from trading.
A market where there's attempts to overcharge is not a monopoly. Cheap mattresses aren't a new thing. (I've also never set foot into one of those mattress chains)
I've never used this before, but I suspect this is exactly what you would want to use if you were on .NET and building latency-sensitive systems that see daily reboots:

http://tooslowexception.com/zero-garbage-collector-for-net-c...

If I was building something that was on a short fuse like this, I'd also be using structs and stack allocation as much as humanly possible before leaning onto the "having tons of physical memory" crutch. I feel like virtual memory could cover your ass for a small period of time before the whole thing started to grind to a halt.
> Mass sell offs tend to create unorderly markets

So are we saying the market will be perpetual because it's not allowed to fail ?

At what point does the https://en.wikipedia.org/wiki/Pareto_efficient not apply ?

If it's manipulated, the efficient seems moot.
One thing to keep in mind is that the Nikkei 225 (like most indices except the German DAX) is a price index, and, (like the Dow) a mediocre one at that.

A better index is the Topix, and that’s available in a total return (and net return) variant (that is, including dividends before (or net of) taxes)).

A fairly low dividend yield would suffice to make the total return index exceed the 1990’s high by now. (It’s not trivial to find the data to confirm this for free.)
Isn't a post from medium almost certainly not valid for "Show HN"?
Why use HEIF container for AVIF, instead of something derived from Matroska for example, like WebP does? Is HEIF free to use?
US stock trade (artificial) limits might have existed before but I don’t remember them. You see these in other countries and commodity markets. Limit down. IMO they cause a faster drop in a down market because you don’t know when you’ll be able to exit. The market can open limit down within seconds. This can continue for weeks.
Maybe they use spot instances for all the compute.
Exploiting inefficiencies for gains is the mechanism by which EMH is supposed to work, so you're right that some people must be making money by trading intelligently.

But professionals have advantages that are difficult to match for small-time investors like: single-digit millisecond latency with exchanges, specialized hardware, sophisticated back-testing systems, proprietary data sources (market data, weather, retail data, etc. any data source you can thing of, some hedge fund is buying it), 60+ hours a week to work on their strats, qualified peers to bounce ideas, volume-discounted broker fees, etc.

Even then, professionals beat the market pretty inconsistently. Many people, including professionals, mistake luck for skill. So I think skepticism is justified when people online claim to have strategies that beat the market.

If you are one of the few who can actually consistently come up with strategies that beat the market, unless you are already rich, it might be worthwhile to work at a hedge fund and take a cut of the profits from trading large sums of other people's money instead of trading your own.
2019-Novel Coronavirus: estimating the case fatality rate – a word of caution
Your link broke my back button :/
>We only collect the data needed to provide shoppers with an accurate receipt. Shoppers can think of this as similar to typical security camera footage.

Well somehow I suspect that's a little misleading.
Launch your SaaS and Scale with $11,000 a month budget to a $100k MRR business
The one specific concern I have is that some languages are readable without you knowing about the language's syntax and primitives, because it apes them from somewhere else; K is different and thus you can't apply your past knowledge to read it like you might usually be able to do.
> A receipt will be emailed to them for this trip.

Is there any other information on what format this receipt is? Is it just an image or something that's actually useful if I want to parse it and track my own purchases?

I want some sort of machine readable receipt format to exist so I can analyze my own spending. Unfortunately there is zero incentive to provide this. Instead the stores we visit get to know more about our spending habits than we do. And now you want to me to deliberately give all of this data not just to the individual stores but also to Amazon?

Yeah right. I'm not giving Amazon access to all of this data. Are you serious?
And honestly if you're not designing a camera then there's extremely little chance you care about still image compression time.
Are you in Italy by any chance or is it just hearsay?
The problem with mattresses is that the DTCs like Casper got started just as the Chinese manufacturers were going "More Direct to Consumer". I can get a Casper-equivalent mattress from a no-name brand like Zinus for hundreds less than a Capser mattress, and the difference just goes to Casper's customer acquisition (i.e. ads + a generous return policy).

Casper basically became the modern version of the opaque mattress store.

https://www.sleeplikethedead.com/bed-mattress-review-home.ht...
I hope you aren't the real Brendan Eich.
You should be aware yourself how impossible it is to prevent font and window decoration fingerprinting properly. Reading those vectors takes ten lines of JS code total. Faking those vectors takes thousands of lines of cpp code. I wonder which one is harder.
Nah, I'm a mech engg in the mining sector.
Just need giant holograms from Blade Runner to complete the look.
Ideally you set yourself up with an Investment Policy Statement which includes your ideal asset allocation (based in risk tolerance and goal-setting), as well as rules for rebalancing, such as 5% drift outside that asset allocation you want.

So if equities are down 20% but bonds are stable (or better!) you end up selling bonds high and buying equities while they are cheaper.

If you didn't plan ahead, you shouldn't be making plans now. If you have cash or other assets with less growth potential, it may be a good idea to sell some to buy equities. But before you do that, zoom out and look at 5 years of index fund prices. This 20% correction reaches back to about December 2018. But has not appreciably negated the growth between 2009 and then!
Vulnerability: Click-Jacking
are we going to have a rouge-CDC twitter feed come about like rouge-NASA or have the clamps already been applied tight enough to prevent that?
I don't have any comment on the truth of the factual assertions. And I don't know how common it is for feds to actually plant evidence these days or in these kinds of cases, but in my experience it is relatively common for federal prosecutors to over-charge suspects, make shit up outright, lob salacious accusations that they know perfectly well aren't supported by evidence, conceal evidence from grand juries which they know would jeopardize their chances of securing an indictment, knowingly conceal exculpatory evidence, and deliberately misstate the nature of evidence, among other things. Source: Myself; I consult on litigation for a living, including criminal cases ranging from misdemeanor drug possession to white collar to murder one.
Left or right, all governments seem to be doing less than stellar job fighting this, to say the least. I don't understand why it is relevant.
Is there any partner at Sequoia that isn’t worth millions?
Time-based options have a fixed cost which you pay up front. So again, there is no risk of insolvency because you've already paid up front and capped your losses.
What led you to the conclusion that the market will not behave as it has historically over the long-term?
I looked for an English language article on the assumption that you don't read Italian.
This is pretty interesting to me: https://projectfluent.org/
Not the question I asked, and it's convenient that you didn't provide a citation for that stat, because you well know that was the worst flu season in 40 years, AND it wasn't "this year".
Association health plans are a way to group small businesses together for large group pricing, without using a PEO.

https://www.dol.gov/general/topic/association-health-plans

We think other companies offering ICHRA services are a good thing. It's a new option that can help a lot of people, and more vendors will spread the word faster. Savvy works a little differently than the existing solutions.

Instead of a reimbursement-based approach, where employees pay insurance premiums themselves and submit them for reimbursement (like a business expense), we manage the payments for employees. This means the insurance bill is paid by the employer and any extra employee contribution is deducted from payroll. We do it this way so that the employee contribution is also tax-free.

We are also investing heavily in helping employees find the right plan. Behind the scenes our brokers are recommending plans for every employee, and we are building out tools that help employees do things like find a plan with a specific doctor or hospital in network.
People were thinking of that in the late 90s. During the dot com bubble people were predicting the end of physical retail stores and people leaving their house to shop. A few years later people were predicting the end of printed materials.
Lots of bold, unsubstantiated claims. I think every time there is a big peak, or a big valley, some percentage of people are always peddling "but this is different"
And what happens if someone falsely reports a legal video as CP?
Beating indices in a correlated bull market isn't the same thing as making money consistently.

The contrapositive of your argument is that anyone who is holding cash outperformed the S&P today. Though true, it sounds silly to say that someone who goes about his day with a $100 in his wallet is outperforming the market, no?

In a disperse market, single stocks chosen correctly will outperform the index. In a correlated bull market, the index will outperform.

We are not exactly in a bull market right now.
The last few times I've gone to my local pharmacy (Rite Aid) I've watched a single cashier operate more than one checkout registers at a time. She did this because it took so long to process payment and print a receipt -- e.g. while she waited for my payment to go through (via credit card) she'd ring up the next customer on another register.

She's trying to ring up the most customers per minute possible and using a second register helps her increase her checkout rate.

It's not unusual that I spend more time waiting to check out than I do actually shopping. I'd love solutions like "just walk out" since my experience lately seems to be something along the lines of "grab what I need and stand in line unnecessarily".
She could have left without signing.... there isn't anything to indicate there was more than money at play.
IIRC the main ingredient is kerosene.
Well to be honest we don't know how badly things are broken only they do. But the concept of moving fast while doing things perfectly is the holy grail of software development and not as easily achieved as you seem to make it appear.
A few things are going on.

Firstly you often don't need a PKI, and when you do need a PKI (which as I said is less often than people think) you often don't need a public one.

Take EMV ("Chip cards"). There's public key crypto securing your payment card transaction. There are multiple organisations involved. So we've got a PKI, but does it need to be a public PKI? Why not just let EMVco run everything, probably badly, and have them and their members (the banks and other big financial firms) eat it when inevitably they do a bad job? So that's what happens. If a CA in the EMV ecosystem does a bad job your bank will end up eating the cost of that, or maybe your country, the headline won't be "Obscure CA misissues certificate" it'll be "Huge Bank loses $500Bn in IT catastrophe" or something.

Secondly, the thing a PKI does relies upon is a common naming scheme. The standard actually used in the Web PKI, X.509 was designed for a world with a global directory of everything, the X.500 global directory system. That directory does not exist. What common naming schemes are there that we'd want digital certificates for?

The IETF published RFCs from the PKIX working group, defining how X.509 can be used for the Internet's names. That is, mostly ipAddresses, dnsNames, and emailAddresses.

The Web PKI concerns itself de facto with the first two. You could and some people do use IP addresses or DNS names in a context outside the Web PKI, but mostly they don't. "Don't roll your own". Even the successor to TCP, QUIC, was re-designed to have it just envelop TLS and thus depend upon the Web PKI, rather than inventing a new shiny public key crypto technology and associated PKI.

So the only use case we actually care about that didn't end up happening was email, S/MIME is what was attempted and... I have no doubt Thomas Ptacek can explain at considerable length how unlikely it is that anybody can get that to do what you'd expect it to do and deliver you any meaningful security if you're interested.

It should definitely give you pause when you see a system which really seems like it could only be secured by a PKI and it isn't the Web PKI. Is it a private PKI? Who has oversight? Or are they just going through the motions and the security is illusory? The answer is the latter pretty often. Stakes are often thought to be very low until they aren't...
I think I am willing to concede to on the free market being an overloaded term the way I used it.

I will sleep on it a little, but thank you for trying to clear it up for me.
> Here's why masks are useless: You are going to take your mask off with your dirty hands. You're going to wear your mask dutifully while outside, then you're going to walk inside your house and the first thing you will do is take your mask off - with your dirty hands.

The problem isn't so much touching the respirator with dirty hands, its getting your hands dirty by touching a contaminated respirator.

Here's how to remove a mask without touching the (possibly contaminated) front:

N95 3M mask: How to Wear & Remove (by Singapore General Hospital):

https://www.youtube.com/watch?v=zoxpvDVo_NI
I was under the impression that Amazon is using RFID for "just walk out". They filed patents for a "shelf with integrated electronics", which mentions RFID as a potential implementation [0].

Does anyone here know for sure whether "just walk out" uses RFID?

[0] https://sqoop.com/details/uspto/10064502
For anyone claiming that this is just a flu:

I've never heard of an entire country being shut down because of the flu.
> In theory the CA "System" ought to be much bigger than just web traffic since a globally distributed hierarchical database of certs is neat and could be used for all sorts of stuff.

Honestly I would love it if my password manager would also act as a personal certificate authority.
Indeed. According to https://news.ycombinator.com/showhn.html: Blog posts, sign-up pages, curated lists, and other reading material can't be tried out, so can't be Show HNs.

Removed it immediately after staticautomatic pointed that out.
I’m using Docusaurus V2 on https://supabase.io and couldn’t be happier. It’s still early in its development but has everything that you need from a React SSG
Users love it though.
But that exactly is one of those fallacies. If 2019ncov "tears the world a new ..." then your shares are going to be worth about the same as bills in your hand: nothing. Nobody will seriously risk their health for money.

And what's the rational thing to do in such a case? Let's say you're at a poker game. And you have a deal: you lose, you get shot, you win, you get your winnings. What is the rational thing to do?

You should go all-in. It is one of the very few cases it is actually rational to do that.
Understanding Timezones in PostgreSQL
They do not know about Vector Canoe ? I did this "hacking" every other day when testing software on a prototype vehicle
The major thing that we found was that you had to look at the whole problem. - Joseph Henry Condon, Bell Labs

... via https://github.com/globalcitizen/taoup
There's probably some hidden clause that's costing them something with their Stripe investment. Any tiny effect there is going to cost them way more than $21MM.
I lived there for a number of years, have in-laws there, and read Italian newspapers on-line. I'm not reporting rumors.

Here's a good site for the numbers: https://lab24.ilsole24ore.com/coronavirus/ - look at that growth curve :-(
Are you describing HMOs? You have fewer available plans in exchange for cost savings with a large pool.
It's closer to the latter, but obviously it isn't using specialized hardware libraries. It's a compiler. It just compiles Java down to VHDL for instance. The Java doesn't run on the FPGA at all.

Obviously he's still hit an extremely useful sweet spot right there. I don't know many non-masochists who would choose to use VHDL over Java, that's for sure. Who out there would really rather work out the intricacies of VHDL instead of just compiling a Java class and calling it a day?

Ditto for the GPU. You could learn Vulkan, but if what you're doing is just GPGPU type stuff, why?

Just throw it in a Java class and call it be done with it.