skysight-inc/HackerNews huggingface dataset:
This is one of the biggest reasons I see people citing for Vue>React. I think it's a very easy argument to defend, but I'm sincerely curious how big of a role this plays. Is it really that common to change the HTML/CSS of an app without also requiring changes to the underlying JavaScript? I have no doubt it happens, but I'm wondering if it happens often enough to justify claiming superiority of one popular web framework over another.

Beyond that, out of HTML, CSS, and JavaScript, by far I find CSS the most difficult to work with and get to behave the way I want. Are there really a lot of designers who are experts at this language but don't know any JS?

I think you might be able to measure some of this. I wonder if you could look at some popular web apps that have separate HTML/CSS/JS files and look at the proportion of commits where only the UI changes, vs commits where you have to change the UI and the JS. The hypothesis being that in general you need to change your JS, and thus require a full developer anyway.
An Open Letter to Elon Musk by Arianna Huffington
Yes, but that requires a lot of language-specific work and heuristics to make work, and there are still a lot of places where the approach falls down. (Source: I work on precisely that sort of tool for C++.)

So you need the text-based fallback here, and you still need it anyway for the case of editing something a structure the editor doesn't know.
"Daniel I. Goldman, a physicist at the Georgia Institute of Technology, and his colleagues, found that the secret to efficient tunnel digging by fire ants was that 30 percent of the ants did 70 percent of the work."

That's astonishing. Why isn't it 20/80?
I disagree with this assessment. They are a business, and they are going to treat it as a business decision. If we allow the speech in question, will it get us more eyeballs, or will it drive away eyeballs? Will the speech in question threaten our advertising market? This is how they are going to make their decisions.
Definitely, the power of redux middleware should not be underestimated, e.g. redux-throttle[0], redux-optimistic-ui[1], redux-persist[2]

[0]: https://github.com/mathieudutour/redux-throttle

[1]: https://github.com/mattkrick/redux-optimistic-ui

[2]: https://github.com/rt2zz/redux-persist

(to be pedantic, some of these are not solely middleware)
This is also my problem. Additionally I couldn't work out how to create language-specific rules in the config (tab width, spaces, indenting etc).

I want to switch but need to make the process a bit smoother.
Yes, Redux by itself knows nothing about React. But, the vast majority of Redux users are using React, and it's a reasonable shorthand to just say "Redux" in this case. It's also how most end users would tend to refer to things.

FYI, I'm a Redux maintainer. We are currently working on an internal refactoring of React-Redux's `connect` so that it will use the new `React.createContext` API instead of legacy context. We've got two open PRs with "competing" reimplementations, and I will actually be spending the rest of today hacking on those.

The immediate goal is to make React-Redux at least compatible with React's upcoming "async rendering" capabilities. However, we do have some difficult problems to solve in order for Redux to take full advantage of the "Suspense" feature. We've got a decent idea what the problem space is, but we need some more examples and guidance from the React team so we can try to work on a solution.

Side note: we're also hoping to completely rework the React-Redux docs (since they're mostly just a jargonistic API reference in a Markdown file in the repo), and we're also considering a restructuring / reworking of the core Redux docs as well. Would love to have some suggestions or even additional volunteers to help us!

Issues/links for reference:

- Roadmap: https://github.com/reduxjs/react-redux/issues/950

- v6 WIP PRs: https://github.com/reduxjs/react-redux/pull/995 , https://github.com/reduxjs/react-redux/pull/1000

- React-Redux docs: https://github.com/reduxjs/react-redux/issues/1001

- Redux core docs: https://github.com/reduxjs/redux/issues/2590
Google’s ambitions for China could trigger a crisis inside the company
From a practical point of view you can look at reproducing the mental skills of humans. Some things computers have got quite good at - go, chess and face recognition for instance. Others like common sense and figuring what people are up to, not so much. It's not so much a single thing as a set of abilities.
I’ve walked down there a few times, and never realised they were fakes. So they’re quite effective.
My company employs modern website jockeys, but also traditional broadcast engineers.

The departments looking after things like websites think 5 years with the company is a long time.

The department I'm in tends to be lifers - I personally know two people who have made 50 years, a few more at 40. Certainly if you're under 10 years you're new.
> I’m going to assume you’ve got the basics of React down pat (props & state), but if you don’t, take my free 5-day course to learn the basics of React

Gotta love the contextual marketing in a still-useful article. This made me realize content marketing combined with educational tools in an underrated small business idea, which I'm sure could apply to a hundred small niches when done right by legitimate domain experts.
Oooooooh, have you heard of Reason[1]? It’s an algol-ish interface for OCaml, supported and used by FB as well!

Also interops with JS (and has superb bindings for React) so immediate results/learning are very easy to get.

[1] - https://reasonml.github.io
Can you fix the infuriating history state that just disallows me from using the back button on my browser? It's way too fast that I can't click it a second time to navigate back to HN
Who uses a certain (previously uncommon) diet that is said to help with diabetes and other serious issues? Those who are of average good health or those who experience some issues that already start to manifest? I wonder if the study corrects for those factors. Does the average person even participate in those studies?

We really need multiple long-running (50+ years) randomized study that controls for all influence factors to really answer the questions. Something that is unlikely to be accomplished in our current political lifetime and unlikely to be completed within our lifetime.
I think you're loading 'democracy' up with some extra values there that aren't really part of the definition. Democracy just means governed by the people. It doesn't mean liberal, or enlightened, or progressive, or open to visitors, or anything like that. Just governed by the people. The people can be left wing or right wing, progressive or regressive, whatever.
'I tried 'Instagram face' for a week and here’s what happened'
You probably shouldn't incorperate a scientific study into your model of the world unless you've also memorized the methodology that it's attached to and relies on.
These two might be worth looking into:

https://sendbird.com/
https://pusher.com/chatkit
For this workload, they could have had 16 GiB of RAM and get pretty much identical results.
Exoplanets may contain vast amounts of water
> While the value of the balance wasn’t literally cash, it was equivalent because I was spending at least that much on groceries anyway. You can also carry a balance forward from month-to-month so there’s never a need to spend it down wastefully. It’s only about $100/person/month so it’s never too much for just food.

This is kind of the point. In all the cases where the person is spending that amount on eligible food regardless, it's already equivalent to cash so it might as well be cash without the administrative overhead. They'll spend the food stamps on food and the cash they would have spent on food on whatever they want.

The only time it matters is when the person wouldn't be spending that much, i.e. they have an alternative source of food that doesn't take food stamps. In which case it only produces inefficiency. If you're content to eat free stale bagels and ugly produce every day so you can use the money for something else, you can't without breaking the law. Nor does it help you to try to stretch the money past the limit of the benefit amount.

So people go to the grocery store and spend all the money, because a fresh bagel tastes better than a stale one if you have to spend the money on that. And if you have a consistent way to get by on $80/month in groceries, accumulating an extra $20/month in food stamp balance every month still doesn't put gas in your car.

The same dynamic plays out in all the other assistance programs. There is money for low income housing assistance, but the natural thing to do there is to get together with multiple other hard off people, pool your resources and share housing. Which is not allowed. The programs generally prohibit methods of improving efficiency or stretching money.

Even if you're dead set on not letting people spend the money on vices, why is there a whitelist instead of a blacklist? You can't spend assistance money on alcohol or cigarettes, fine. But if there is food assistance and housing assistance then why can't you spend excess food money on housing or excess housing money on food? Why is there a ban on business cards and brake pads?
I guess I don't understand what "broadcast" means in terms of the application. It might be because I have never used it and did not write the code. How is it like broadcasting on Youtube?
The number of people that will take the time and effort to verify the things that they read or hear pales in comparison to those that cherry pick whatever fits their biases, and everyone is limited in time and attention span. It's a signal to noise problem, and while technical people have a mental model of this problem in the concept of DDoS attacks, I would guess that many people lack awareness of how bad information can simply clog their attentional pipeline and exhaust motivation to verify.
'but the process has to be complicated when you get down to the numbers of how many people are for hire and how many are worth hiring.'

i.e. we're trying to hire imaginary unicorns because we don't respect actual programmers.
It's clearly an attempt to make people think about "tweet" without infringing copyright/trademark, much like the way the generic Dr. Pepper at the grocery store might be called "Dr. Skipper". Mastodon should come up with its own concepts.
I picked up my BCE at 36. Of course now that I am 58, even 44 is getting to the outer edge for those who would discriminate.
The web address was put into the comment field on the |Submit| page. If there is text in the comment field, the URL field is ignored.
Precisely. What proponents of "export democracy" forget is that it takes time to develop a democratic tradition. Democracy in the US and the UK is centuries old. In the case of France and Germany, it took bloodbaths to turn them into democracy in a short time. Not different to what happened in few Arab states.

In India(my home nation), we have a 70 years old democracy. It's broken but functioning. And hopefully, we will get there soon.
> Doctors would totally push cheap testicle-exploding drugs on their patients if there wasn't extensive regulation preventing them from doing that.

And who would have had some of the most input into said extensive regulation?
That was so early 1960s. In the mid 60s to the mid 70s, you had to mostly do it yourself unless you were really senior and still programming.
In my case I was less interested in the WASM part of it than I was in something targeting a "no OS" environment. That said, for my target (those little Pine64 RTL8710 Cortex M3 MCU) you're almost certainly right. On the other hand it's a hobby project, and I like writing Go while I find writing Rust to be a bit of a chore. Also, it's a hobby project, so distractions like re-targeting WASM to the ARMv7-M are half of the fun :)
Wouldn't you need to know the false negative rate too?
And I can completely vouch for Dave's content, too. I frequently refer beginners to several of his articles to answer their questions. Highly recommended!
Please, no need to apologise. We all in this world to do the best we can. I presume the American people have their own problems they need to solve and if you have some capacity to help us, I would rather you put pressure on dictators causing immigrants. That's my opinion. Others will have different opinions on where the energy should be spent.
I really wish to know why those people were on low carbohydrate diet though. It seems to me that most people don't do that without a good reason.
"Legal standing" isn't quite the right phrase. I think you're saying the board does in fact have a legal duty to prioritize profit above all else?

If so, are you sure, and do you have sources? wool_gather said that "There's no categorical legal requirement for a company to make share value the absolute, #1 priority", despite a widespread belief to the contrary. And you seem to be just flatly contradicting him, without making any argument or providing any sources, which is... not the most helpful way of moving the conversation forward.
Are you kidding?

Do you really think that it's just about drafting a constitution? And do you think that Middle Eastern countries do not have the capability to write their own constitutions?
Democracy doesn't mean open borders.
Kinda surprised no fountain pens were part of the journey.
are you under 25 (and thus learnt about dates in a time of 4 digit dates)?
No, it means that the people who were compelled to follow a low carbohydrate diet for one reason on another lived shorter. It doesn't tell you anything unless you know why they followed the diet they followed.
Just last week I spent a day implementing a small new feature (I'm a web developer). Now that the feature has been published, I'd love to track how many users actually use it. To see if it was worth spending the time, whether we should make that feature available in more places etc. But I can't because we're forbidden to collect any sorts of data.

If I was allowed to collect data, as what should I frame it, if not "improving user experience"?
I wouldn't be surprised that in addition to your ad hominem philosophy, you were also an uneducated toad.
Is there something equivalent to the Context API in Vue.js?
Honestly for what I'm doing what you have here is a pretty reasonable start. I'm comfortable writing (and calling into) C where the Go bits aren't in place yet, and I'm a lot more familiar with LLVM's internals than with GCC's if I need to debug something. We'll see what I get up to after brunch.

One request: if you're open to PRs (I can't promise I'll send any, but I'm trying to get into a habit of contributing to OSS with my hobby hackery), can you add a LICENSE file (context: the OSS patching policy I'm bound by is very friendly for projects on Github under most licenses -- https://opensource.google.com/docs/patching/ -- it's more problematic when the license for the code is undefined)?
Good point. Will talk about it with the other authors. Thanks.
Ah, until I read your"EDIT", I was about to ask the creator why the following binding ends in a semicolon:

define y = 12;

but the following one does not:

define fn(x) = { ... }
Bonus points for doing this while going down. Taking public transportation as part of my daily commute involves a lot of stair climbing and descending. I always find it fascinating to watch the people who rush from bus to train platform and watch them descend 2 stairs at a time (basically always doing long long long) the whole way down. I've never been brave enough to try this method of descending though.
Simply put, the markdown you type on /cast will be streamed live on the homepage
Also, Terry Gilliam's frustration with it boiled over into Brazil.

https://youtu.be/nWbIxFKtTmE
> I don’t even understand ...

It works exactly the same as Twitter, except that not everyone is using Twitter.com. Some are using mastodon.social, some are using some other instance and so on, but you can still follow people on other instances, like you can email people using gmail from a hotmail adress and so on. A username is @username@instance instead of just @username as with Twitter.
37% of your dietary intake from carbs is not low carb.
Money is fungible, not spending money on food means you might be able to spend some on gas. The advantage of food stamps over cash is that it helps overcome middle class voter's judgmental attitude towards the poor.
Interesting. The docs I found before were marked "Rockchip Confidential". But the ones on their site are not complete either --- the fact that only "Part1" of the TRM is there suggests that there is a 2nd part (and possibly more.)
I agree that investors may sue management for fraud or corruption. "Not maximizing profit" is neither fraudulent nor corrupt.

Investors who feel that profit is not being maximized can sell their shares or can vote to replace management. They can also buy sufficient shares from other unhappy shareholders to let them take control of the company altogether, and manage it themselves.

What evidence do you have that any shareholder has ever won a lawsuit against a company on the basis that the company was not maximizing profits?
Congrats! These all look really great ;)

Biocontainment solutions (Synvivia) that prevent environmental contamination of genetically modified organisms looks to be a very high demand market.
That's not at a useful metric at all.

For example, most of the nationalist/Kemalist leaders were brutal autocrats.

I'd argue that the best among them was Borguiba, but I suppose you've never heard of him.
I don't think what triggered Brexit was "bad immigration". The wave of immigration that triggered the reaction was mostly a polish immigration that integrated well. I think the problem was rather too much immigration.
Busted. I count the number of stairs of buildings I visit, but know the number of stairs per flight (not always the same) in the buildings I frequent.

At one place, it's (4-7-8-7-7-4-7-5-12) to get to the top. It's useful if you don't want to turn on the light and wake people up.

Most of the time, when the number of stairs is odd, I'll go one, then two-two-two-two. When it's even, it'll be either two-two-two, or one-two-two-one..

I might be having a conversation with someone while going up or down the stairs, but the process in my head with the count and the fun I'm having is nice.
This is far more interesting...

So, the "low Carb group" (Q1):
had higher % of smokers,
had higher % of diabetics,
exercised less,
had higher % of men.

I don't trust the study results at all.
I just made a practically identical switch (down to even the 0.38mm g-2 pens).

What apps have you been using on iPad for note taking? I have tried several and haven't found anything that would fit what I am looking for. The best I have found is Good Notes.
True, but how many people are below 37%? They are not if they eat a typical American diet.
IMO writing synchronous code in Javascript seems like the premature optimization (e.g. fear of introducing cognitive overhead of async code?) when async code is so trivial to write and just about everything is already async.

Especially for something that is mostly filesystem access.

If this were Rust where you'd have to bring your own Tokio event loop or I/O thread pool because its filesystem API is blocking, then I'd probably agree.

For example, even though this example's `writePages` function writes each file serially, they would just change it into Promise.map(pages, writePage, { concurrency: 8 }) to add concurrent writes.
"Arthur reached out for the bedside light, not expecting it to come on. To his surprise it did. This appealed to Arthur’s sense of logic. Since the Electricity Board cut him off without fail every time he paid his bill, it seemed only reasonable that they should leave him connected when he didn’t. Sending them money obviously only drew attention to yourself."

-from So Long and Thanks for All the Fish
The answers here will be subjective, but IMO Rust is useful for a much wider range of things than just 'super low level stuff'. I use it for anything from small command line tools to web backends if I have the option.

I appreciate it's approach to type safety and pattern matching, in fact, I find it pretty annoying to write code in a language that doesn't at least have sum types, pattern matching, and some kind of parametric/ad hoc polymorphism (Rust's traits feature).

Another nice thing about Rust is you can be pretty confident when writing multithreaded code. One of the slogans is 'fearless concurrency', and I think it lives up to that. I can write some little tool that does a bunch of things in parallel and know at compile time that I won't have any data races.

The tradeoff is that if you haven't written a lot of code in a lang with a similar type system, it can seem daunting.
So overweight people (high carbohydrate),and people with dietary restrictions (for whatever reason) have a lower lifespan. Shocking.
Your last sentence is 100% true: forcing democracy on a country is never going to work.

But claiming that democracy doesn't suit all populations is something I do not agree with.

Democracy is the only form of government where (in practice) the people have a say in how their country is run.
That's nothing. Citizenship costs over £1000.
I went to the Mastodon website and clicked "Get Started" and was brought to a menu where I needed to choose a server. Many of them focus on niche interests, and it was not very clear what to do if I wanted to be a member of more than one of them.

I'm a techie; I could figure it out. But it is too much to ask of the general public to wade through many niche servers they won't understand, e.g. the one for BSD fans and multiple furry-themed servers. And there seem to be several overlapping Chinese-language servers -- which one should a Chinese newbie choose? And what prevents each server from devolving into a petty little fiefdom where the moderators abuse their power?

Compare that to getting started on Twitter: pick a username and password, boom, done!

The Mastodon project is clearly designed for a technical audience, whether or not that is what they actually intended. Outside of the techie bubble the usability is just not there.
Yes, but do you start at 0 or 1? Also, is the last step you take onto the floor/landing counted?

And when going down, do you use negative numbers?

So many questions left unanswered. I feel you aren't a true stair counting nerd afterall.

:-)
It's well beyond not being elegant:

Exports are fine for when you want to move, but typically too late when the server you use and its data disappear. Do Mastodon evangelists advertise the fact that you need to do frequent export?

I follow a lot of people on twitter because I came across one of their tweet, check their history, and found them interesting. They have no idea who I am, they don't post often enough that I could remember their names. If their data and metadata were to disappear, how could they know how to contact me to let me know they have changed server, and therefore identity? Even if I remembered them and did noticed they had disappeared (two huge assumptions), how could I find them on their new server?
Dear Google: Please stop doxing us
The market of PII websites showing up in search results for names is enabled by your business model.

These websites do not serve a legitimate purpose, and are putting your users at risk. If someone wants to research someone else, let them visit these websites manually.
I'm sure it does. I was not replying to Mastodon-the-platform, I was commenting on the cognitive bias present in the OP. Mastodon may well be the cat's pajamas, but not for the reasons given; namely, that centralized social media somehow synthesize outrage ex nihilo.

Which got downvoted, because pointing out that class and privilege are lens aberrations in the minds of technologists does not sit well with technologists.
Data contamination has always been an issue with MTurk. Bots that submit junk data in hopes that you just auto approve the entire data set. You definitely need a secondary validating question to validate the turkers authenticity.