skysight-inc/HackerNews huggingface dataset:
Yep, that's what it already does :) And a neat property is that I could freely move different render functions between static, request-time, and client-side if I wanted to.

People tend to think of React rendering and the like as this special, mysterious process. But the only special thing about it is the way it efficiently reconciles and updates an existing DOM to match a new DOM. That initial render is really no different from PHP. Static site generators are just PHP with a prewarmed cache.
It's hard or impossible to meet with friends, especially if living in distant places. Think living before cars.

No dinners at restaurants. Probably no take aways after 6 pm. Dinner is usually at 8 or 9 pm here.

It's difficult to practice sports, except running or whatever you can do at home.

Everything else is normal. I already worked from home, self employed.
What's the deal with DNSSec for ordinary websites? I copied some code from namecheap (my registrar) to Cloudflare (my DNS hoster) and ticked DNSSec box, and it just worked. Literally few minutes. Setting up HTTPS with letsencrypt is thousand times harder and people manage to do that.

I guess that webmasters just don't care about DNSSec.
NUL terminated strings are a great representation. We can take a suffix of a non-empty NUL-terminated string just by incrementing the pointer, which is great for recursion. A pointer to a NUL is itself a valid string.

E.g. tail recursive strchr:

const char *strchr_rec(const char *str, int ch)
{
if (*str == 0)
return NULL;
if (*str == ch)
return str;
else return strchr_rec(str + 1, ch);
}

strrchr (rightmost match):

const char *strrchr_tail(const char *str,
int ch,
const char *seen)
{
if (*str == 0)
return seen;
if (*str == ch)
return strchr_tail(str + 1, str, ch);
return strchr_tail(str + 1, seen, ch);
}

const char *strchr_rec(const char *str, int ch)
{
return strchr_tail(str, ch, 0);
}

That kind of thing makes me feel that null terminated strings are the shiznit compared to some clunky header + data or whatever.

The only problem is that NUL-terminated strings are so darn easy to program with, everyone who comes into contact with them wants their share of the action, instead of using someone else's well-tested code.

As we speak, someone is likely writing yet another loop that builds up a NUL-terminated string directly, and will forget to write the final NUL in some case, or go past the end of the buffer in another.

Want to break a string into tokens on delimiters? Just overwrite the delimiters with null bytes and you're done. (Oops, the caller didn't expect their string mutated. Worse, it was a literal ...).

If you make programmers maintain a length field followed by data, or some such thing, they will quickly go off scampering for library functions to everything.

What we should never do is compare unencapsulated NUL-terminated string manipulation with the manipulation of another representation using a robust, debugged library.

Compare open-coded to open-coded, wrapped to wrapped.
Cigna first insurer to say it will pick up the tab for coronavirus testing
What I see happening is the MacBook Air using ARM processors. At least that's where I see things going.
dupe

https://news.ycombinator.com/item?id=22529670
Not op, but this is from 2 days ago: https://imgur.com/ImZhrlj
Yes, it does. Poor does not mean abject poverty. If the good is actually a necessity, someone who is poor is unlikely to refuse spending $20 instead of $10, to avoid death.
I didn't state a conclusion, I stated that it was inconclusive evidence towards a hypothesis. Perhaps I wasn't clear enough.
Yes we were told by Conte, the Prime minister, around 21.30 (march 9th).
Goes live at midnight
Somewhat related:

A friend of mine designed a color palette for terminals based on the Solarized set, but with some improvements:

https://github.com/jan-warchol/selenized
If you’re sending 1500 watts directly into a motherboard, something is probably wrong. Massive power draws (CPU, GPU) would always get their own direct connection, just as they do today.

Apply this simple rule of thumb: watts become heat. The only major exception to this is where the power has exited the computer via USB or similar.
(Fictional) counterpoint: https://www.youtube.com/watch?v=YnNSnJbjdws&t=86
The Chinese are trying to speed things "China: Coronavirus Vaccine Could Be Ready for 'Emergency Use' in April"
https://www.voanews.com/science-health/coronavirus-outbreak/...
>When I last had to do my own insurance, it was $2200/month for a high end, lowish deductible plan that covered my family.

That's probably not too far from what you'd get with an employer except you're paying the whole cost instead of them. My middle of the road employer plan costs $1250 for me and my spouse (not counting dental and vision). I think family was $1700 or so. And sounds like you were aiming for a decently better plan than what I have.
If everyone wore even cheap surgical masks coughs would be coughs by the mask reducing spread even by nonsymptomatic people. Think of it like reducing the effective range of infection to a couple of cm instead of maybe a meter. They don't have to be n95 or better to help reduce r0
It's likely that the domain was already hosted on godaddy and they wanted to launch first before doing the migration.
I only have a working knowledge of git but wouldn't that be equivalent to re-writing the whole history of the repo? Rebasing would give all of the commits a new commit ID and would cause conflicts everywhere.

Unless of course you just meant as an interesting way of being able to see the full history rather than suggesting the project adopt it.
At least you can sandbox and run webassembly everywhere with an open interpreter/JIT.
With plugins you have to trust and install some binary code on your system, no sandboxing, no idea what it does and what it can access, etc. Much worse.
There is a massage on demand service. In fact, there are a lot of businesses that fill the small niches. They are not and will never be Unicorns, but they are solid businesses. For example: Soothe is an app for on demand massage service. Works great.
I know someone who worked at an apple store a few years ago and they told me that they really had no way to know and lots of products were stolen.
No, you asked whether it should be held liable. I answered that it should be held liable, conditional on the legal process determining so. We can't just decide that they should be held liable by mob vote, that's not how justice works. Hence my answer: If A then B.

I made no statement wrt. my personal opinion whether A is true or not.

But even rolling with the argument for a moment that the meat industry meets the bar and manages to evade the law anyway. That is no justification for letting pets do the same. Two wrongs don't make a right and all that, so for the purpose of this conversation that would seem like an unnecessary deflection of responsibility by pet owners and the better answer is to improve both.
Here's a comparison between different methods of creating a gradient. https://stackoverflow.com/a/49321304/5987
you don't need to wait.. You get a portable scanner, you scan them as you pick them or whatever, no need to scan in a queue.
I've used Next.js for the first time about 3 weeks ago to launch a small experiment. It was also my first introduction to react.

I must say, it was a pleasure to use. Great tutorials and the deployment using "now" was easy. Even attaching my own domain to it took less than 10 minutes.

Really recommend trying it out if you're interested in frontend development!
Not all your power requirements will go directly to the motherboard though in that single connector. For example the GPU will have its own dedicated power plug(s). I would expect the motherboard to need < 500w for most systems.
The question I am trying to examine is whether it is possible to do both at once - e.g., can I learn Haskell while using it in a work project, especially when I don't know functional programming?
https://www.reddit.com/r/worldnews/comments/ffpi7m/livethrea... has good links to further forums, basically where researchers and hospital staff discuss in more technical terms.

There's a good daily summary at https://www.reddit.com/r/supplychain/

And the Dr John Campbell daily youtube videos somebody else already recommended.
Thoughts on the UK? I'm supposed to go on a vacation to England for a week starting April 1st
I think this tweet contains some of those stats: https://twitter.com/dave_bomberg/status/1236521426259042310?...
Reminds me of this old IBM ad: https://www.youtube.com/watch?v=wzFhBGKU6HA
Games with Oracles on Blockchains (Part I)
Most of the major supermarket or big box stores has self checkout. They will always have a few lines with staff but the majority is self checkout these days. A good portion of the people buy a huge amount of stuff at a time and the lines can get long. Typically the people with a few items tend to go to the self checkout line.
> The sad truth is that Italy is hard for young people with the wrong degree (or without a degree). Postponing children is often a necessity, if you don't want to depend on your parents (who often own an house and have a nice pension). And so many skilled people just leave.

That's pretty much the millennial plight, and I agree; the sum is absurd when put in proper context, but that is what the Italian Government deems 'necessary' to pay just to keep the native population (targeted low income and likely low educated) churning out more numbers. Apparently the secretary general wanted to double that, and 2-3x it for subsequent children.

The US probably subsidizes it even more with all the tax credits for having children, too.

I'm not saying this to be supportive of the process, just restating my observations. Also, Italy has the easiest immigration laws of all of the EU to help boost its population numbers.

Speaking of depending on their parents, I met a girl in Croatia visiting her Italian BF (she was from Washington) as she was thinking about staying long-term and living 'la dolce vita' a bit longer at her to be in-laws place when she realized all she had to do was marry her BF and would be granted complete citizenship.

They thought about taking a year to just travel if they did it, I wonder if she went along with it?
The anti-PKI crowd are getting waayyyyy ahead of themselves. Pretty much any large deployment of public-key cryptographic needs some sort of PKI. Any framework where there's a third-party authority that signs keys requires some sort of PKI, directly, indirectly, or both. And there's almost always such a third-party because otherwise public-key cryptography is barely just a step ahead of shared secrets. This is especially true when you have distinct vendors, but I can guarantee you that even Signal has an internal PKI framework, independent of the Android PKI framework that it also implicitly relies upon.

Someone else thread mentioned S/MIME. S/MIME might be a failure, but S/MIME is a thin wrapper around CMS (Content Messaging Syntax), which is widely deployed standard for signing, authenticating, and encrypting content. It's based on the same ASN.1 standards as PKIX. And like PKIX, the root authorities are whatever you want them to be; the standards just provide the syntax and semantics for building the PKI and providing interoperable messaging.

Correct me if I'm wrong, but AFAIU CMS is the basis for various European digital identity systems. See, e.g., https://en.wikipedia.org/wiki/CAdES_(computing)
The shops at "classic optometrists" are almost always Luxottica (same company that owns Lenscrafters, Sunglass Hut, Pearle Vision, America's Best, basically the entire industry)

They use their sweet sweet monopoly money to pay doctors for floor space inside their offices. Usually the glasses salesperson isn't even on the doctor's payroll, they're Luxottica employees.
https://www.google.com/search?q=italy+coronavirus

> Italy is extending its coronavirus quarantine measures, which include a ban on public gatherings, to the entire country.

> Italy's coronavirus death toll jumped on Monday by 97 to 463. It is the worst-hit country after China.

> The number of confirmed infections also increased to 9,172, up from 7,375 on Sunday, official figures show.
Guantanamo un-American. I do not support it. Presidents including Obama have tried to close it. Congress - the absolute worst of the three Federal branches - has stopped it. It's another problem in a whole line of problems their inability to act has caused.
Mattresses are an awful business but even worse cliche.

My old school mattress was like $700 and is fine. I’m a huge fan of IKEA, and have bought everything from furniture to a kitchen from them. But their mattresses are garbage.
Surprise, when executed well it leads to long term value.
A bit like letting the fox in the henhouse.

"Hey lets allow this company that basically competes with us via Whole Foods to also get data on who our customers are and what they buy and when"
Yeah, that's why Italy just locked down the entire country.

This is the first time in recent history that the media has not been sensationalizing anything, and actually has been underreporting the danger, after ignoring the outbreak in China for a month.

>because the folks there have on average 3X as many co-morbid conditions

Except they're also reporting a non negligible number of young people without comorbidies requiring hospitalization. The death rate is about to skyrocket because the hospitals are reaching capacity. Even in Lombardy, which has one of some of better healthcare infrastructure, things are grave.

No nation on Earth has nearly enough surge capacity to a handle 5-15% hospitalization rate which includes people in their late 20s (though rare).
They stopped free returns on Prime a long time ago. Now only a few select items offer it.

This was about the same time they stopped shipping things in cardboard boxes and went with bubble packs, and most recently, paper wrap with no padding whatsoever.
But Amazon is going to be the easiest to integrate, which is where Amazon will start, then use the data advantage to improve their product further.
>Well you can be fucked by your employers 401k manager. The day my wife quit, she was locked out of here 401k for 2 weeks. They divest everything during that term, and you have no control over the timing.

What type of a company did your wife work for? I actively learn about personal finance and retirement plans and have never heard of a lockout from a 401k.

> It's volatile enough presently that you could lose $$$ of they decide to sell at a low to boost their stock, and you can't re-invest in time.

Short of working for a privately traded company, or being a very well compensated executive, the shares owned by an individual employee are almost always negligible compared to daily traded volumes. "Selling at a low to boost their stock" wouldn't even move the needle.

Edit: One possibility came to mind after posting. Was your wife's 401k balance under $5,000? If so, the company can force liquidation. And to say doing so would help the stock price would only be meaningfully true on a penny stock.
"The deaths associated with the facility, according to Killian, amount to 26 between Feb. 19 and March 7. That includes 15 patients who have died in local hospitals. Of those 15, 13 have positively tested for coronavirus."

https://www.bellevuereporter.com/news/life-care-center-of-ki...
Capitalism + IP Protectionist policy would be more apt a description. But this isn't any more or less capitalism than say Capitalism + Social welfare programs are Marxism or Socialism.

Personally, I'm hoping that some states grow a pair and actually pass meaningful right to repair legislation, then a lot of things will tumble. There are plenty of Libertarian and Capitalist supporters who do not like the corporatist status quo. That doesn't mean that Capitalism itself is the issue.

If it weren't for IP protections, there would be more interoperability most likely, or better service/support. Sharing communication breaks, and offering run-alike chip and interface replacements would be less of an issue. Not to mention, it's Corporatist IP protections that keep out competitive upstarts.

Also, Apple happens to make most of their devices in a Communist country, so how does that stand?
You have to have number for each of:

(chance of contracting virus) * (chance of contracting disease from virus) * (chance of fatality from disease).

The first is dependent on containment efforts. The second is not 100%. The third is also partly dependent on containment efforts, as fatality goes up if hospitals get overwhelmed.

I don't see how you get "we're all going to get this" when China and South Korea are already reporting decreases in daily cases.
Thanks for the write up. Really interesting and approachable for non-security people.
This makes sense if you have huge quantity of cash where leverage is not an issue. With limited cash, you have to think very different from Warren.
>How's he making it difficult?

This was mostly referring to the "no cellphone in 2020" scenario, and I hope it is pretty obvious how much more difficult it is to engage with someone who doesn't have a cellphone.

As for how that would apply to the grocery store scenario. When 99% of the stores are automated using similar tech, he would be making it difficult for retailers by (indirectly) demanding them to use cashiers and such, thus making it more expensive and inefficient for the stores. And the stores will strike back by simply not making such stores, thus making it extremely difficult for the parent poster to shop without having to drive far out in hopes of finding one of the few remaining non-automated stores.
US capitalists are constantly involved in censoring and shaping of the press. There is no need for a Great Firewall since all enterprises are privately owned and voluntarily censor as much as is needed [1]

China does not even censor "Winnie the Pooh", feel free to look it up on Baidu. If you have believed this obvious lie, what else have you believed? Consider that perhaps the dominant group in your country have an incentive to lie to you about a threat to their profits.

1. https://www.youtube.com/watch?v=unKNNiYQFp4
from the link:

>A 10,000-pound explosive charge was set off about a hundred yards from the Jackson – the Navy wouldn't say exactly how close, saying the actual distance is classified

and they provided the photo clearly allowing for the precise calculation :) - the explosion is about 12 widths of the helicopter deck from the ship and that means at least 200-250m which sounds more realistic as setting off a 5ton explosion 100m from a small aluminum ship - who is going to pay for all that damage :) If the test is officially declared for anything close to 100m then that may be another case of "Pentagon Wars" ...
> HEVC licensing is an insane mash of several patent pools

Yes, but they aren't coming after users. Look at the pools, it is mostly device manufacturers like TV, audio systems and mobile phones. They are holding each other in a mexican stand-off. Two of the three largest pools have already agreed to the same $0 royalty for non physical distribution that h.264 has. They want to extract that money from their competitors in the physical device space.

Fair enough, the uncertainty around final pricing is slowing adoption. But that can ossify quickly, although no guarantee it will.

I hate I'm being drawn into a patent argument when my point is: it won't matter either way. Even if HEVC wins 99% of people will never be affected by a license fee. Let them scrap over $0.25 royalty fees on TVs all they want. In the end I don't care if it is HEVC of AV1 that wins. I just want the fight to be over so I don't have the cognitive overload of having to support both.
I am not a lawyer, and I realize there's a fine line between genuine concern and speading FUD, but in the spring of 2019 I looked into the patent situation around the HEIF container itself [1] -- the container upon which AVIF builds -- and skimmed through the 5 US patents I found, which cover some techniques that can be used in the format.

Most of them can probably be avoided for the purposes of an AVIF file, but patent US20160232939A1 [2] in my reading seems to be about in-container signalling to express relationships between a "static media item" and "one or more entities" that together "form a group", and "indicating, in the file, a grouping type for the group". The patent appears to be written in a way to allow this definition to encompass, say, a thumbnail and a bunch of frames thereafter, or, say a master image and a set of pictures derived from it, or alternate camera angles of the same thing. Some of these techniques sound like stuff we've seen before, but as is common in patents, the precise wording of claims is often key, and this is where patent lawyers come in.

A thorough look of the AVIF specification [3] and the patents registered with the MPEG LA about this format [1] is likely wise before any widespread deployment that makes use of advanced features of the HEIF container; using it to hold exactly 1 'one-layer' still-image is probably fine.

Additionally, in my reading [5], the HEIF reference software released by Nokia [4] includes a patent grant for non-commercial evaluation, testing and academic research only.

[1] https://news.ycombinator.com/item?id=19874321 [2] https://patents.google.com/patent/US20160232939A1/ [3] https://aomediacodec.github.io/av1-avif/ [4] https://github.com/nokiatech/heif/blob/master/LICENSE.TXT [5] https://news.ycombinator.com/item?id=19874368
Great study in marketing. Not good at all as a lubricant nor anti-seize, and probably shouldn't be the most ubiquitous thing people own for those general use cases but it is. A light machine oil for cleaning and preserving tools and other metal, and a penetrating anti-seize would be more handy.
Well, even if it did nothing else, a mixture of kerosene and oil would displace water. I find it to be handy, but don't ascribe any magical properties to it. And when it runs out, I might find a better way to dispense it, that doesn't get the overspray on my garage floor.
It looks like a straightforward denial and refusal to comment. What is complex or passive-aggressive about it?
The Register (as usual) has excellent coverage of this:

https://www.theregister.co.uk/2020/03/09/cia_hacking_trial_v...

It seems like the CIA's opsec was bad:
"It didn’t help that during the course of the trial, the CIA was found to have appalling security measures in place: multiple people used the same admin username and password to access the critical servers. Not only that, but the passwords used were weak – 123ABCdef and mysweetsummer being the main two – and on top of that, they were published on the department’s intranet."
What waiting to get items scanned? I can't remember the last time I had to wait for that. (you're talking about people waiting in line for other people to scan their items, right?)
These stats are damning for at least three reasons:

* You bring them up regularly without acknowledging that they're due in large part to European registrars that automatically sign new domains for their customers and hold the keys, which is security theater.

* The stats themselves are ludicrously misleading; for instance, they claim that 97% of .COM domains are signed despite listing only 1.5MM signed .COM domains, which is a tiny fraction of all of .COM (they are in reality listing the percentage of domains that have DNSSEC and properly validating signatures, and while it's amusing that something like 4% of DNSSEC domains don't even verifying, it's not evidence of adoption).

* The overwhelming majority of these domains don't matter at all, and a quick check of the lists of popular domains, from Alexa or the Moz 500, shows that virtually none of the popular domains outside the USG (where DNSSEC was formerly but is no longer required) are signed.

You can keep bringing this up, but all you're doing is giving me opportunities to put more facts about the failure of DNSSEC on the table, which is something I'm not actually all that committed to doing.
Thank you for sharing this. I ordered the book.