skysight-inc/HackerNews huggingface dataset:
> Inexperienced devs will put everything in the global state and end up with a soup.

And Redux is just one big global state

> it is _magic_ - I would have trouble rewriting it from the docs, would you be able to do it?

I accidentally wrote a (bad) version of MobX's core mechanism before I learned about it. At its heart it just uses object Proxies to intercept getters and setters; the former to find out where something is used, the latter to find out when it changes.

It can feel a bit magical sometimes, but the magic isn't hard to understand, almost always just works, and when it doesn't do what you want it usually causes a performance impact, not breakage.

> Note that it also changes the way React render method works.

I don't know what you mean. Aside from "tracking" which observables get accessed within it, all it does is decide when to trigger updates.
ribbonfarm - a longform blog devoted to unusual takes on both familiar and new themes. What we call “refactored perception.”
https://www.ribbonfarm.com/

meaningness - Better ways of thinking, feeling, and acting—around problems of meaning and meaninglessness; self and society; ethics, purpose, and value.
https://meaningness.com/

Whereas sites like SSC and LessWrong are rationalist, both of these suggestions are predominately post-rationalist, but perhaps you’re like I was – reading the rationalist sites because I didn’t know there were post-rationalist sites
Time is running out: please help the Internet Archive today. The average donation is $45. If everyone chips in $5, we can keep our website independent, strong and ad-free. That's right, all we need is the price of a paperback book to sustain a non-profit library the whole world depends on. We have only 150 staff but run one of the world’s top websites. We’re dedicated to reader privacy so we never track you. We never accept ads. But we still need to pay for servers and staff. If the Wayback Machine disappeared tomorrow, where would you go to find the websites of the past? We stand with Wikipedians, librarians and creators to make sure there is enduring access to the world’s most trustworthy knowledge. I know we could charge money, but then we couldn’t achieve our mission: building a special place where you can access the world’s best information forever. The Internet Archive is a bargain, but we need your help. If you find our site useful, we ask you humbly, please chip in. Help us reach our goal today! Thank you.

Please consider this. They are a real bargain and provide a real service to humanity. Instead of upvoting this comment, please give them $5 instead if you can.
Thanks for the links. That Github Security Lab looks particularly interesting.
1 big data centre is cheaper
than 1000 little ones

There are billions of computers out there that are idle most of the time. Utilizing them might very well be cheaper then building and maintaining a new datacenter.

everyone buys and sells through
Amazon because thats where you
find the most buyers and sellers

Not everyone. Not even the majority. Even in the USA which is Amazons biggest market, their market share is less then 50%. Individual onlineshops are also moving billions. Even the small ones built with Shopify are moving billions when you combine their revenue. And then there is Ebay, Facebook Marketplace, Alibaba, Rakuten, Zalando ... all moving billions worth of goods.
Bill Gates Jumps over a Chair
Reiser5
As for right now, the US economy as a whole is looking great. GDP number is good, stock market at high, etc but for most ordinary people those means nothing, they still suffer.
To be fair, I also have that alias and use CTRL+R. They are useful for different scenarios. CTRL+R when I know what command I'm looking for, but can't remember the full one. `history | grep -i $TERM` when I remember some part of the command, but not exactly sure. With that, I get a list of possible candidates to choose from, instead of having to do CTRL+R repeatedly to find the command I was looking for.
I predict the 2020's will turn out to be the most difficult-to-predict decade yet. The predictions of the OP in my mind fail to account for several yet-to-mature disruptive technologies that will potentially transform our society to the degree the Internet and web have. The only prediction I'll make is in the domain where I work:

By the end of the decade, most people will be wearing some kind of immersive computing device (glasses, contacts, perhaps neurological etc) all day which allow software to proxy most aspects of their visual and audio perception, perhaps more.

Among the many results of this change, the most profound will be the loss of physical co-presence as a factor for interacting with other people. People will routinely 'beam in' each other (similar to FaceTime conceptually, but with no visual or auditory perceptual deficiency vs being together in person) in varying contexts for varying purposes.

The technical miracle aside, this will cause a fundamental shift in the way we think about what it means to "be" with other people -- the dependence upon physical co-locality will be no longer something we place highly in our mental model for spending time with others, other than children.

This will affect nearly every industry in terms of economics, some sectors potentially catastrophically like long distance transportation, but the biggest effect will be degree to which we will become able to empathize with others around the world and create novel, deeply impactful forms of interacting with others in a physical and emotional sense.

I suspect, perhaps hope, that the dominating result will be that, in combination with new forms of media based upon these new technological marvels, we will be able to greatly reduce or eliminate the tribalist tendencies we have for one another when those 'others' are out-of-reach for us to talk with, hug, dance with, and learn from.

In 2030, you'll be able to hug anyone on Earth instantly, and that's something to be optimistic about.
Even on earth we had plenty of colonies rebelling against the founding nation, gaining independence and becoming a serious competitor. Britain might conclude that they would be better off today had they never colonized America and India. Repeat this pattern often enough over millennia and it seems plausible that an entire race might become very cautious with forming permanent colonies.
No, because high-income people still have to be net payers. Otherwise, where does the money come from?
Perhaps the reason is not obvious because of the scale, so lets exaggerate the numbers to make it more obvious:

If everyone in the US was given $1 million per month, do you think that rent in Austin would go up in absolute terms?

If yes, by what mechanism can you imagine this effect is caused?

If no, I don’t know what to say.
:( ah well, was fun while it lasted. I was the "HN" sprite :P
If all companies are taxed equally, it [obviously] means taxes incur on their balance sheets equally.

Therefore, in order to meet their growth, profitability, etc. requirements, they'd all have to embed taxes in their prices.

If one company becomes "smarter" and more competitive, it's not going to be because taxes created an incentive for them, it would be because they are just doing what they always do: to increase the means of production through entrepreneurship -- which turns out to be the "invisible hand" that exterminates poverty.
The climate crisis will be exacerbated by the increasing centralization of large cities. Humans are tending towards centralized population hubs, and away from rural areas.

This will be the main catalyst for adopting greener infrastructure. Fear of permanent climate change will not be the catalyst, as that is a long term repercussion of not solving the pollution problem, and humans have never been good about preparing for things in advance.
Did you tell them to all turn off their phones and remove their batteries, too?
Can the terminate handler examine the stack and/or the thrown exception in order to provide useful clues to the developer, or is it too late by then?
Wealth is not taxed. If you have a large amount of wealth, you don't need income, and it's likely that — if you do have income — your income represents a very small percentage of your net worth growth over time. Most of it is capital gains, which:

1. Are taxed at a much lower rate, and,

2. Are only taxed when the gains are "realized," e.g. when you sell at a profit.

As a result, if you have a large amount of wealth, your net worth can increase dramatically while being untaxed (if you don't sell) or taxed very low (if you sell some percentage of the gains — and only the sold percentage gets taxed, the rest doesn't). Depending on your investment strategy you can also play games with taxes, e.g. when rebalancing your portfolio, try to mostly sell your shares that have lost value, so that you put a loss on the books rather than a gain and are thus untaxed (or even get tax credits).

That's why Warren Buffett talks about paying less in taxes than his secretary.
Yes. But that prosperity came with a massive balloon payment in the form of climate change. What's label prosperity today will be "Grand ma, WTF were y'all thinking?"

Long to short, the jury is still out on the actual success of Gen-X.
How were his predictions for the prior decade?
To add to your comment, being divisable by 400 is also the same thing as throwing away the 00 and checking the remaining is divisable by 4. One explanation is just a rephrasing of the other for the exact same method.
Thanks for this nudge. I signed up for a recurring donation.
Really good points raised here guys. Here's my take on each point raised:
1) Appeal to viewers: it's slick, no clutter, really fun, and people hate YouTube. There's lots of appeal already just based on the reaction I've gotten posting it around a bit.
2) NodeTube has built in integration with Stripe where you can offer a 'plus' version of the site for $5/month. $5/month gets a LOT of hosting bang for your buck, so the bet is that your Plus subscriptions will outpace your hosting costs, I feel quite confident in that.
3) Regarding a video that may sit on the platform for a long time with zero views, my suggestion would be in that case since the file is serving the purposes more of being backed up rather than serving as content that you would prompt the user to pay a fee for using NodeTube as a 'backup service'. It seems harsh but if profitability is important to the project then you would remove those uploads that satisfy a condition that basically marks them as 'totally inactive, only using the platform as a content backup'. Interested to hear your guys thoughts on this concept.

Thanks guys!
You can use microg. It's a Free reimplementation of google play framework, so that apps which depend on it can still function in a de-googled phone. It's imperfect, I admit it, and breaks some apps, but it's still a massive help.
Warren Buffett: Here’s How I Would Solve the Trade Problem (2016)
Since I'm no historian, psychologist, etc. I have always believed that great migrations were caused by local population pressure - id est too few resources for too many people. Even Columbus stumbled upon Americas because he was looking for a better trade route.
It is a technical problem, not a law of nature. B12 and other nutrients will be produced by plants, insects or bacteria in sufficient supply by the end of the decade, given the amount of interest vegetarian diets receive. Some investment will come from space companies, which need to shorten the food chain.
An architect might in fact design something down to the brick-and-mortar level, such that someone else assembles it to the actual building. That architect is working with bricks and cement, effectively at the design level.

That's the same as using assembly language, rather than poking binary/hex values into memory.
In fact industrial animal agriculture frequently has to supplement b12 to animals as they are commonly deficient.
Security vulnerability or not, it's still a DOS. Imagine having just a few requests (like less than 10) to your site consume 100% CPU until the server process is killed or restarted.
My take is you go the freemium model. Free version of NodeTube gets you cool features, but if you want really epic features (livestreaming, increased file uploads, private/unlisted uploads) then you have to pay a bit. My bet is that people will get behind the project and pay a bit of extra money on a freemium model to access the extra features and support the NodeTube instance.
This is really nice ... Thanks for sharing ...
Nobel for a Battery Breakthrough Was Decades in the Making
what is programming
The turn off the MCAS system button on the 737 Max the pilots were using, does _not_ in fact turn off the MCAS system. It is a "Pause the MCAS system button" Even worse, After a few moments, the MCAS system reactivates and then adds even more down trim. So pressing the button, not only does not turn off the system, actually triggers the plane to make the situation worse by adding more down trim.

When the FAA certified the 737 Max the MCAS Software was able to move the horizontal tail a max of 0.6 degrees. (out of a total of 5 degrees)
The software flying on those planes was in fact able to move the horizontal tail 4.17 times that amount: 2.5 degrees. They never told anyone this changed. The system went from being able to control 12% of the tail range to 50% of its range.

Those pilots were pulling up on the nose of the aircraft with their feet pressed against the controls. Directing the aircraft with clear intent and skill. The 737's automation had unbeknownst to them and with their knowledge of the aircraft - un-overridable, tilted the horizontal tail into a position that would, under any operating condition direct the nose of the craft into the ground.
How did it work out? Were you able to spin the project into a job? Did it stay fun?
If you haven't yet, I would look into Unity. You can write scripts in C# and it comes with a ton of functionality out of the box. Unity can output webgl and if you release the game and it is successful, it is generally quite easy to release mobile versions without much work.

I've been working with Unity for years, feel free to ask any questions you have!
What is programming
It plugs his project and adds extra words to be relevant. This happens quite often in hn threads.
the process of following a recipe that is not science, but the creation or modification of the recipe is.
Agree with all, except the crypto currency bit.

Asia (China) would not have an incentive politically to run with it, as it would remove traceability and control of money flow. Not to mention online currencies pitfalls.
https://en.m.wikipedia.org/wiki/Predictions_made_by_Ray_Kurz...
I'm not sure how you reconcile this with the existence of healthy individuals who have eaten nothing but plants for decades. I myself have not eaten meat in about 5 years, and I just had a health check-up with full blood work. My doctor said "whatever you're doing, keep doing. You're healthy and I don't recommend changing a thing."
This is pretty cool. After a year experimenting I found that turning things off/on in an if/then fashion doesn't add much value to me. The kind of automation I want is for chores that take time and are not much fun, like laundry. Turns out that doing that is much harder than turning things on/off remotely :).

I'm thinking of an assistant where I show (or tell it) what I want, and it just does it (it 'learns'), improving based on feedback from the users.

Hard-coding times in the day, for example, could be improved if the assistant knew what would be the ideal time to sleep to me, based on all the data collected for each profile of the people living in that home. It might ask me or suggest me things to do, having more flexibility than static rules.
The PHB looks like he's having fun, though.
What are your thoughts considering that VR was supposed to be the next big thing in the 90s already (at least from what I remember hearing...) and what are your thoughts regarding human chemistry?
Is anyone interested in starting a member-owned "General Automation Corp" to just go ahead and UBI ourselves without waiting for politics?

I'm seriously you guys.

Bootstrap off some desert land, convert it into e.g. Village Homes[0] (but up to date) using Permaculture, et. al. including local carbon-neutral fuel production integrated into the ecosystem[1], lease/sell units, rinse and repeat.

Alongside that, develop a kind of super-RepRap[2] to manufacture e.g. the contents of a Daiso store[3].

(BTW, no cult shit, no radical new lifestyles, just a small town built as if the last few centuries of progress actually happened: food production, power capture & storage, automation, etc... You know: Star Trek TNG sans fictional technology.)

Anybody?

[0] https://en.wikipedia.org/wiki/Village_Homes

[1] http://alcoholcanbeagas.com/

[2] https://reprap.org/wiki/RepRap

[3] Not all human problems can be solved by a few ounces of plastic or metal, but those that can, can be solved at Daiso for $1.50.
> We thought we only needed $15,000 in startup capital; this proved to be an underestimate.

When did you find out that wasn't enough money, and how much did you end up needing at that time?
The only way that works is if UBI is both guaranteed and super high. Like "everyone gets a guaranteed $50k/yr" super high. The UBI Yang and folks are talking about is so low that it doesn't offer any of those benefits.

$1k/month worth of UBI wouldn't even cover average rent for a single person in any of the ~20 most populated cities in the US.

$1k/month doesn't quite even cover the cost of child daycare for a single child, in most of the US.

$1k/month of UBI is barely even ~50% of the current minimum wage in much of the US (a minimum wage that currently is so low, that it doesn't even cover bare-minimum cost of living either). The UBI is so low, it doesn't even give people the freedom to leave the lowest-paying legal job a typical person could have.
Maybe there will be a need for massive computing in remote areas: Antartica, or space. They need a lot of local storage and compute. And they have low bandwidth.

It's kind of like GPUs are in cars right now. You can't drive a Tesla with dumb sensors over the Internet -- you need smart local compute.

https://www.wired.com/story/tesla-self-driving-car-computer-...

So I guess IoT and doing heavy local computation is a technical reason you would need decentralization. I can see that happening for many use cases. I'm not sure if it will happen for the consumer web because centralization is more efficient and the current network effects are so ingrained. Similar to how Windows is still dominant on the desktop, but iOS/Android are perhaps more important platforms.

---

I think major changes in behavior are driven by new hardware -- phones in the 00's, PC's in the 80's, Internet in the 90's, etc.

People have been trying to push VR, but to me VIDEO is the real VR -- more stuff happens there and more people use it. I was chatting with a friend yesterday and observed that YouTube is basically what "SecondLife" was supposed to be. People are exchanging all kinds of valuable information and entertainment on YouTube.

So if you need to process a lot of video locally for some reason, that could be a killer app for decentralization. Just like a self-driving car, although I'm bearish on self-driving impacting the average consumer in the next 10 years. I think it will continue to be cheaper to operate rideshares with human drivers in most parts of the world and most terrains/climates.
"Online learning" is actually a pretty established term in theoretical computer science and specifically learning theory. I don't think that it's meant to be misleading at all but rather to connect the work to the extensive previous work on this subject. "Online" is used in general in theoretical computer science to describe problems where data arrives in a stream and the algorithm has to make decisions as it observes the data (e.g. before observing all the data). There are "online" versions of just about every problem in theoretical computer science. For example, there are "online traveling salesman" and "online facility location" problems both of which have published research. "Online" obviously has a different meaning outside of computer science, but it conveys a very specific meaning in the math / computer theory context. I'm not sure when this term first appeared in research, but this line of work is often traced back to the 50s with the perceptron algorithm, David Blackwell, and James Hannan.
The "free money" that Wired article [0] is about isn't for all Native Americans - it's only for the Eastern Band of Cherokee Indians. That tribe splits their casino's profit evenly. Their profit came out to about $12,000/person in 2016 (the same amount that Andrew Yang is proposing for Universal Basic Income [1]).

There are other Native American owned casinos who give their tribe members payouts, but not all of them can. According to Partnership with Native Americans [2], fewer than 15% of Native American tribes operate prosperous casinos.

[0] https://www.wired.com/story/free-money-the-surprising-effect...
[1] https://www.yang2020.com/policies/the-freedom-dividend/
[2] http://www.nativepartnership.org/site/PageServer?pagename=pw...
Intels 10th-Gen Series CPUs Revealed: Up to 10 Cores and 5.3 GHz on 14nm++++
I find your concerns very confusing.

In order:

Thunks are the most widely used middleware by a large margin [0], and we have frequently received complaints that there is no async middleware included in the Redux store by default. Thunks were in fact part of the store during the original development phase [1], but were made separate once the middleware API was defined [2]. Thunks are effectively the minimum viable way to write async logic that has access to interacting with the Redux store, so we include that in RTK out of the box to make that possible.

Sagas, observables, and other similar middleware are far too heavyweight and complex for us to endorse as the default async approach. I also strongly disagree that thunks are an "anti-pattern", and find them to be a highly useful tool (and especially so now that `async/await` syntax makes it even easier to write more complicated async logic in a readable form) [3].

You are always welcome to add another middleware or disable thunks as part of the store setup process instead if you want.

I don't see how this:

const addTodo = createAction("todos/add")

is more verbose than this:

const addTodo = (text) => {
return {
type: "todos/add",
payload: text
}
}

We've had a version of `createReducer` shown in the "Reducing Boilerplate" docs page [4] for years, and there are literally hundreds of similar "lookup table"-type utilities out there. Including this in RTK is a no-brainer. It's even more valuable, because ours uses Immer inside to let you write "mutative" immutable update logic instead of having to nest spread operators. I don't see how this is "obscuring" anything.

Finally, our recommendation is that most of the time you shouldn't even be calling `createAction` and `createReducer` yourself. Instead, you should be using the `createSlice` function [5], which automatically generates action creators and action types for you, and calls the other two functions internally.

[0] Slide 38 in https://blog.isquaredsoftware.com/2017/09/presentation-might...

[1] https://github.com/reduxjs/redux/issues/1

[2] https://github.com/reduxjs/redux/pull/63#issuecomment-110575...

[3] https://blog.isquaredsoftware.com/2017/01/idiomatic-redux-th...

[4] https://redux.js.org/recipes/reducing-boilerplate#generating...

[5] https://redux-toolkit.js.org/api/createSlice
Nice discussion folks..
BUT, there is an argument that never makes sense to me "the nature ecosystem could never sustain current amounts of meat consumption", so how can nature sustain amounts of PLANT consumption IF we all change it to plant-based diets?
This does not make sense since for 1 piece of meat we need to eat dozen of different plants; plants as food have a huge impact in nature too.