skysight-inc/HackerNews huggingface dataset:
The eval of natto maps surprisingly well to React's primitives (memoization, effects). This is pseudocode for the main eval https://gist.github.com/paulshen/9889b6067609f9053a0d56d4641...

The expression is only transformed with Babel if you enable the JSX React transform. Otherwise, it's just straight eval-ed by your browser. It's by no means battle-tested (eg while (true)). I haven't tested circular deps and am leaving that as a surprise for myself in a little bit. One thing that I do is run the canvas in an iframe on a different domain for security reasons.

Parsing is something I'm trying to avoid as much as possible but it's likely I'll add it. Referencing things as inputs[2] doesn't feel stable. May help with implicit deps and avoiding wires (see observablehq.com)

As for mess of wires, I'm still forming my opinion! I want to learn more about nodes-and-wire programming and why it isn't mainstream. The hunch I'm getting is that visual programming feels better to create than consume. The space is great for exploration but looking at someone else's canvas can be chaotic. Maybe there are features that can alleviate this (multiple views, autolayout). Look at this haha https://twitter.com/_paulshen/status/1321872376234082305
A pigment from red cabbage could help turn your favorite foods blue
They also need to make sure the information is out there on how to identify and treat the condition if it does occur. Proper warnings and information are pretty important.
Parents are generally both more worried than they should be and less equipped to act on their concerns than they need to be. In other words, it’s an annoying waste of time.
Being rich is like getting extra at-bats in a baseball game. If you're normal or poor, you typically get one strike and you're out. You saved your capital, invested it, and if you fail, you're gone.

When you're rich, you get to swing several times at the ball. When you miss, you fall back to your wealth/family to support you while you save up for your next swing. Then, when you finally hit, as you're running the bases you can boast to everyone about how self-made your success is.

When you're filthy rich, you have infinite at-bats, and basically it doesn't matter how good a baseball player you are, you're going to win.
Yes, and this is the part of the problem of the general direction of JS ecosystem development.

JS promoters want so hard for JS to subplant other major languages, but not noticing themselves ignoring the decades long other path major languages took on robustness, and security.
> Rust Makes You a Better Overall Programmer

I agree with that, but this applied to nearly any language for me. I started doing Python back when 2013, then i learned Go, i started writing better Python code, then i learned C, i started writing better Go code, then i learned Rust, i started writing better code in general. The more you play with other language the more you learn other programming paradigms, it changes the way you thinking about programming completely.
That tweet ignores that there are alternatives to the J&J vaccine, so implying that there is a binary decision between J&J or 1 in 330k death chance is flawed reasoning.
> This view, though probably correct, is incompatible with democracy.

Which is fine, because (at least in the US) we don't live in a democracy. These views are very compatible with a plutocracy, which is what we currently have.
Yup, it's a sad truth (not limited to tech companies) that you've got to play the game. The blogger wasn't unemployable, just unwilling to do what was necessary for these particular companies (his prerogative; not judging in any way...).
> A pause on vaccines will cause far more deaths than a 1 in 1 million chance of blood clots.

Its not “a pause on vaccines” it’s a pause on one vaccine. And its not 1 in 1 million, because many of the 6.45 million doses administered of J&J are still, or even not yet, within the 1-2 week window after administration where this complication has been observed. And the pause is to get information to healthcare providers and permit them to establish appropriate protocols for handling the clots, not for open ended study. And it coincides with the timing of a short-term supply drop (-80% from prior week) in J&J vaccines that was going to force a sharp drop in the rate of adninistration at some point in the very near future anyway.
Everyone is. That’s EU’s greatest strength.
See that's seemingly good (and popular) advice, which I didn't find anywhere in the book.
From what I understand, we have data that shows a few people per million have a serious health condition that appears to be similar in order of magnitude as the normal background rate of the same condition without the vaccine.

As someone else in this thread said, isn't that (potentially) like someone getting hit by a car, then calling that a side-effect? When dealing with very large numbers of people, there's going to be deaths at all ages due to the normal vagaries of life.

Do we have enough information to be certain that these clots are genuinely above the background rate?
It's also highly questionable Apple would let a "full" version in the store tbh, as it's only purpose would be NSFW servers.
I am not sure I agree. What hobbled the US response to the pandemic wasn't the public at large clamoring to hold on to their creature comforts[0] but a top-down failure to recognise the impending crisis and take any meaningful action against it. I don't think anyone doubts the US's willingness to wage war - if anything they're a little too enthusiastic.

[0] - though there was a minority who responded to being told to wear masks in a very juvenile way, coincidentally the same people who like to throw around the word "snowflake", hmm
I find use cases for both. Sometimes I want to run code and review the generated debug log, other times I want to step through interactively.

I find interactive debugging takes more concentration than a workflow of: form hypothesis, add the console.logs to prove/disprove it, run the code, and analyze the result.
I think information and civilization has progressed far beyond the possibility of a total loss of all our knowledge, barring a complete extinction or a destruction of earth.
Encouraging Inclusive Code with RuboCop
If you posit a thesis that critical acclaim is a better measure of whether a book is good than popularity, it makes sense to explain why.
After 7 years of war with Ukraine, Russians are preparing to war with Ukraine.
Numbers > adjectives

Chinese has a booming middle class as well as a lot of poor people.
That wasn't really my point. The point was that they probably do understand the conditions under which automotive and other more rugged applications work.
Depends on the meaning of the word 'professionals.' Most of those who earn their living by coding (which is whom I would call professionals), use JavaScript, C++, Java, or C# - and, I'm afraid, will continue to do so for many years to come.
I highly recommend this Lawfare podcast episode that talks about the Ukraine issue. Alex Vindman is literally an expert on the topic.

The Lawfare Podcast: Alex Vindman on the Escalation in Ukraine

https://www.lawfareblog.com/lawfare-podcast-alex-vindman-esc...
I use Dvorak on keyboards and qwerty on touch screens. I am pretty happy with both, but it doesn’t matter a lot regarding my eventual wrist or tendinitis pain.

What’s is important for me is drinking water sufficiently, regular exercise, a good posture, a good keyboard then finally the layout.

I picked up Dvorak for no real reason 10 years ago; I kept up with it but would not really recommend it, specially because of its intense reliance on the right pinky.

I don’t know much about Colemak.
> if we’re very, very lucky and tales of a glorious civilization somehow persist that long — who put it there.

I just finished reading "Motel of the Mysteries" [1] and the Treasures section of that talks about the sacred seal of "Do Not Disturb" & the pendant made or rubber (it's a tub stopper).

At best, this is just going to confuse the hell out of every archaeologist who interprets this as a "religious act".

[1] - https://www.washingtonpost.com/news/act-four/wp/2016/07/15/i...
It would get there quick enough in the United States if it followed the trajectory of their income tax
Parent doesn't mention anything about the recovery rate, simply understanding what they're going through.
Certified toolchains only factor into play in DAL A for DO178. Either that or manually inspecting the compiler output and tracing it to the source.
Dont for one second think that if you only have a large income, you are rich. Earning potential is not earnings, and wealth/richness is accrued earnings. You'd be amazed at how much wealth that some people have isn't being produced by production, its their assets going up in value. They don't realize that value yearly.

Look at wealth in global real estate for a touchstone.

https://www.visualcapitalist.com/all-of-the-worlds-money-and...
Interesting! I wonder when reading things like that about our resolution when discussing such grand scales of time, and the effects of generalization/abstraction on our personal conclusions.

For example, it likely didn't really rain 24/7 ~everywhere on the planet for ~2 million years straight, but, that was my initial picture upon reading what you said. I said out loud to myself, "wow", and then read the article you linked.

Rather, it seems more like: over that period of 2 million years, across the exposed land mass of Pangaea (which was large, but only covered ~1/3rd of the planet) the climate was overall much more humid than most places are today, and it likely rained often.

That is not anywhere near as absurd to imagine, though it's still pretty darn cool.
FYI, the author of this piece is Chris Crawford, author of groundbreaking classic videogames such as Eastern Front (1941) and Balance of Power.

His outlook on modern videogames and life in general seems pretty pessimistic.
> So now let’s go back to our marble. It is completely impervious to any chemical attack

Isn't this a wildly misguided assertion? As any antique bottle collector will tell you, bottles underground WILL corrode, and the corrosion is very obvious in less than a century, depending on soil conditions.

Granted that's soda-glass, and there are many types of glass, but just because a bottle can hold sulfuric acid for a few decades doesn't mean all glass will last centuries.
You're describing the desired behavior of the compiler, but not what it actually implements.

In fact there are an infinite number of correct Rust programs which will never access memory incorrectly but which will still be rejected by the compiler, for the simple reason that Rust's authors, talented though they may be, have made no progress at all at solving the Halting Problem.

What Rust actually accepts is a subset of correct programs. And this subset is somewhat informally defined as "whatever the compiler could manage to prove". Real code hits against this limit occasionally, and when it does there's really no option other than "join the Rust team" or "try voodoo".
I did the green book (McDowell) cover to cover, with a few dedicated hours of study each day, and random googling/tinkering where I wanted to explore more. I won't say it was the most fun I've ever had, or as self-motivating as a nice side project, but it was a good change of pace over gluing APIs together, so the novelty effect kept me going for a while. I probably put 150 hours of prep in over 6-8 weeks. The ROI on that time (relative to competing startup offers) was very far north of $1k/hour.
It probably works the same in most places. In the Netherlands it's usually called Janssen, while the Oxford one is called AstraZeneca. I'm guessing in the US they usually leave out BioNTech, while in Germany BioNTech comes before Pfizer.
No, I don't think that's the kind of thing that GP means.

There are problems that your business faces once it's successful, and there are problems that prevent it from becoming successful.

This has come up in a number of other areas on HN. For example, scaling your technology is a problem you'd like to have, because it implies you actually have customers causing you to scale. Regardless of whether or not a wealth tax is a bad idea, it's certainly in the "problems you'd like to have" category.

That doesn't necessarily mean it's not a problem that business owners worry about, but it's a completely different category of problem from "I can't get my business off the ground at all." It's a problem that you only run into after you've (by many measures) already won the game.
2.? Are you serious? This was a sandstorm, a very natural phenomenon. In fact, I love sandstorms since they remind me of my best times in Beijing.

3. They have clinics that would make most western clinics cry. Yes, they charge like western clinics too. But I have been for a minor thing in a normal Chinese hospital, a friend of mine had his appendix removed and another US friend of mine got a major surgery in a Chinese military hospital.

4. Don't know where you have been. Shanghai and Beijing is full of young and ambitious people from all over the world. They look for the future, not for the past. I was an immigrant in the US myself (also have an US passport now). The US was always closed for me. Zero opportunities. In China it is a brand new world. Opportunities, ambition, money. I consider it my home.
There's an on-going project right now with ARPA-E's "BETHE" program to experimentally study the potential for MCF in higher-density plasmas. IMO, this is one of the better choices that ARPA-E's fusion program has made -- it's low-cost, high-risk, high-reward.

https://www.arpa-e.energy.gov/technologies/projects/conditio...
When You’ve Been Fully Vaccinated
As an indie developer, switching from Go to Rust for web APIs was extremely satisfying. At first there was a productivity loss, but after a few months the productivity was better than Go thanks to Rust's functional features which make it extremely pleasant to write business logic, and the type system catching bugs during development instead of production.

You can read more about the experience here: https://kerkour.com/blog/rust-for-web-development-2-years-la...

The only thing I'm missing is Go's awesome TLS support (with autocert & co).

That being said, I understand your point regarding hiring: a friend of mine totally refuses to learn Rust because the syntax looks not good to him.
At 2 meters tall, I think I'd have to sleep on deck.
That advice is based on "we don't know if you can spread it". Evidence is starting to show it may indeed reduce/stop transmission.

https://www.nbcchicago.com/news/local/dr-fauci-explains-why-...

> "It may be that we will show that if the level of virus in your nasopharynx because you're vaccinated is so low that you don't have to worry about transmitting, that's going to be a game changer for what a vaccinated person can or cannot do," Fauci said.

> The doctor explained that if the findings are corroborated, Americans will likely see a pulling back on some restrictions, but emphasized "we're not there yet."
BlackStar Enterprise (BEGI): The Future of Stock Trading
We've merged the comments thither now. The other one was posted earlier. Sorry—I know it can be annoying when a different submission ends up 'winning'. It evens out in the long run of course, if you keep submitting good articles, since it's basically a lottery. Eventually we'll have some kind of karma sharing.
Perhaps there are better choices than Rust when failure doesn't matter, but Rust is still good at some of those.

As an example, the rigour of strong typing helps set some experiments on the right track.
Did the people of Crimea want to be in Russia or the Ukraine?
1 in a million chance of vaccine death for AZ. Maybe 1 in 10m for JJ. 0 in 10 for the mrna vaccines.

10 in a million chance of death from covid in the 5-9 age group (the lowest risk group)

This is the perfect example of anti-vacc logic. They pick the latter because they heighten the risk of the former in their mind, while ignoring or downplaying the risk of the latter. Looking at the actual numbers, it makes no sense for anyone at any age to take their chances with covid over the vaccine.
Or Speculoos!

US Walmart carries the real stuff but Canadian Walmart doesn’t. Can’t cross the border and I refuse to pay the extortionist Amazon.Ça prices...
Is there any presumption that Russia politicians are not lying? They are the spokesperson of propaganda.
> fantasy and a cop-out

And yet somehow you found this site, where you claimed the uncensored internet was a fantasy.
A skilled interviewer can take the classic CS interview questions and combine them or take them in unexpected directions. Memorizing the solutions won't help with that, and it'll quickly become clear if your understanding is shallow.

Of course, that doesn't really change the fact that the content of the questions has little to do with the work you'll end up doing. But I've done brainstorming with coworkers, and none of us had any ideas for interview approaches that would work better--except maybe those 2-day take-home projects that everybody hates. I think I remember a paper claiming that random acceptance would work about as well as the current interview process.
The only way China wins is if we become them.

There's a shocking number of comments here that insinuate or flat-out claim that China's autocratic nature is what their "inevitable success" is due to.

If China pulls ahead, it'll be because the West has neglected its democratic values. Valuing profits over people is not a democratic value; it favors the few over the many. It's also, coincidentally, what got us in this mess.

The West is hardly in an irreversible decline. It is, however, reckoning with the forces responsible for an ascendant China. It's a painful process, and I can't say what the result is, but I'm confident I do know the way out: a reinforcement of progressive democratic values.

When this pandemic ends, we need to work on creating stronger community, greater social equity, and work towards completely ending economic activity in non-democratic countries.
I didn't want to put this into the parent comment because I didn't want to get just shoved into the "vax" vs. "anti-vax" bucket by the replies.

But there's a very well known case where DNA delivered via an adenovirus killed a teenager during a genetic engineering study: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC81135/

>> "No one realized that the vector itself might pose a risk"

I'm sure the dosage, type of adenovirus, and modifications to the adenovirus are different. But there are obviously still risks we don't know about.
This is the problem with the FDA system.

If thousands are dying for lack of a drug or not has, at best, very little impact on the decisions.

The job of the FDA is to enforce regulations, not to save lives.
I'm sure that's true, though as a person who currently hunts & pecks, even touch typing would be an upgrade. I'm trying to roll all of the improvements to my typing behaviour into a single month of hell :)
> Well, the pyramids will last a long, long time. If there were more rain in Egypt, they’d erode away in a few tens of thousands of years, but no matter what, they’re going to be here for a long, long time. Most of our other stuff, however, won’t last a thousand years. Except for marbles.

I remember reading a piece about a decade ago about how the last trace of human civilization that will (likely) survive, for BILLIONS of years, are our satellites. Actually, just found it: https://www.wired.com/2012/10/the-last-pictures/

This isn't to detract from a great piece. Just adding this thought.
If you don't mind sharing snippets for the diagnostics you couldn't figure out, I would love to see them in case we can mechanically suggest the appropriate code, but in general a well placed .clone(), .cloned() or .collect() will be what you want. Likely what's happening is you're iterating over a sequence (you can think of options as a sequence of only one iteration as well), but that iterator is over borrows of the sequence's data, instead of owned values. If you try to return that outside of its enclosing function, you will see that error.

As for a "borrow cow", you probably want to read https://doc.rust-lang.org/std/borrow/enum.Cow.html and https://deterministic.space/secret-life-of-cows.html. For what you are doing, it is an optimization to avoid unnecessary clones that is absolutely not required: make your code work with String and worry about Cow<'_, str> later.
I'm a bit confused by this take. With Rust you're constantly thinking low level details, like which type of reference something is. I would place it closer to C than Python, but closer to C++ than either.
Completely, I don’t see rust as a replacement for Scala, Java, Go (and especially) Javascript which tend to be what I use at work. It’s certainly possible, but I don’t think it would add much.
Done: https://www.zmescience.com/research/technology/quartz-disk-5...
> dropped the .. and their market.

"Taxi & Limousine Services in the US - Market Size"
2010 - 15bn
2019 - 39bn

It looks like they brought more money (and more people) into the industry
If you’re doing the calf exercises to ward off a DVT, (and not to just stretch your strained calf!) you may be barking up the wrong tree.

The preliminary theories (backed by the thrombocytopaenia) are that, if there’s a vaccine induced thrombosis with thrombocytopenia, it is probably immune-mediated (similar to HITT - heparin induced thrombocytopenia and thrombosis).

And then there’s some weird thing that makes them form in your venous sinus.

But there were also reports of more typical blood clots (ie DVTs), the first European Medicines Agency advisory (0) said that this was within the level of noise (im now talking AstraZeneca, so apologies for shifting vaccine as generally they should be considered separately until the evidence catches up, although everyone is quickly drawing parallels between them)

(0) https://www.ema.europa.eu/en/news/covid-19-vaccine-astrazene...

Ps apologies for not referencing around HITTs and theories around antibody-mediation for CVT. Basically it’s all pretty noisy anyway at the moment and so my here-say from the medical tea rooms is as good a gossip as any, as long as everyone is aware that no one really has any definitive idea what may be going on yet
A person can be mindful and minimalist, people will be Moloch. Moloch whose love is endless oil and stone.
Your racism is showing
I assume it was by saying something to the effect of "if you want to do business here, then you have to follow our rules globally" to the manufacturer, and that one of the rules was that they not sell those bulbs elsewhere. And I don't know why they did, but doesn't Clive's video say that they are only allowed to be sold in Dubai?
I doubt this was all that common, because it requires the pranker to have the idea of actual archaeologists to play the prank on, and that isn't something that's been present in all societies across history.
Worked there for 7 years - it's a fantastic place to work. It's all about relationships to get things done, but the people are generally fantastic and well-meaning.
The parent comment wondered

> whether Johnson & Johnson and AstraZeneca are meaningfully different

Grammatically, that asks about the difference between J&J & AZ. Your response instead compared them collectively to the mRNA vaccines, rather than comparing them to each other. Thus the response saying "[t]hat’s not the difference the parent is asking about."
I lasted 3 weeks at a place that opened by asking me to sign a contract giving them rights to use my name, face, and voice "for marketing purposes" which is about 3 weeks longer than I anticipated to last after I said no.
His mother tongue is Swedish, but he is (or at least was) a Finn. Finland is a bilingual country. Well, if you don't count the Sami. If you do, you get more languages.
Microsoft has Project Silica: https://www.microsoft.com/en-us/research/project/project-sil...