skysight-inc/HackerNews huggingface dataset:
Decoupling healthcare would be such a boon for small businesses. I don't understand why this point isn't made more often.

It's frequently the difference between someone being able to start and have a viable business or not. Remove that overhead and I think we'd see a flurry of activity and exploration that wasn't previously possible.
Automation should naturally lead to deflation for many goods and services
I've been using MobX on a quite large and complex React app for a few years now and I have no regrets. The key, as in all programming, is to make your (observable) state as small as possible. You shouldn't have observables that are derived from other observables; you should have computed values. You should use reactions sparingly and almost never use them to mutate other observables. Etc. MobX lets you treat state as state and then get all the benefits of memoization and reactivity that you want, for free. It only gets hairy when your state itself gets needlessly hairy.
Too many to reply to directly, but thanks for all the links and advice. I will try to contact the maintainer via email and see what happens.

A little more context:

This project is a library that can appear in internet-facing servers and when the bug is triggered, the process can proceed to consume 100% CPU.

In my case I found it due to bots, but they only triggered it by accident.
The problem with these types of arguments is they are assumptions built on top of other assumptions.

We don’t know how to colonize other star systems, so we don’t really know the factors at play. How easy is it to travel to another planet and start a colony? We don’t know. How likely is it that that colony will colonize other planets? We don’t know. We are taking numbers we guessed and multiplying with other numbers we guessed to get to an answer. If any of them are much off the answer doesn’t make sense?

What if the amount of resources to successfully travel to and colonize a planet in another solar system is so high that the vast majority of attempts fail and only a few attempts can be made? We can have n (pick some random large number) intelligent civilizations in our galaxy and not know a thing about them.
> before we can even make reasoned arguments about life within it alone.

That's an excellent point, for all we know we have intelligent, non-spacefaring life right in our solar system. It's unlikely, but there's still plenty of oceans, gas giant atmospheres and lava tubes that we haven't looked at yet.
but you really cannot say any of them are a huge commercial success outside of niche areas.

But this is the exact point I'm making about Crestron, they are absolutely a massive commercial success in not just home automation but automated facilities and media control period. From home to college campuses to professional sports arenas. They are a massive player in that vertical.
More drugmakers hike U.S. prices as new year begins
What Is My Phone Number
The International Standards Organization has determined otherwise. See ISO 8601, section 3.1.2.22, which defines "decade" to mean "time scale unit (3.1.1.7) of 10 calendar years (3.1.2.21), beginning with a year whose year number is divisible without remainder by ten".

https://www.iso.org/obp/ui#iso:std:iso:8601:-1:ed-1:v1:en
I've been doing this for about a year and half now. Not only does my phone's battery last longer without Play store but I'm missing very few features.
Honestly, I think a lot of creators are fed up with YouTube. Also creators like variety and the opportunity to leverage new platforms. I think new creators will really like the platform, also there is already automatic YT->NT backup functionality built into the app (as a Plus feature if I'm not mistaken)
> Google had to clarify its privacy policy to explain it.[0]

Google didn't update any privacy policies in this article. It is about background collection of location data when location services was disabled that has since stopped. Meanwhile, Apple continues to collect your location data in the background with no way to disable it.

> why would bad privacy policies on iPhone make me feel better about Google spying on me?

Because you're saying that Google is uniquely deceptive on privacy when the main competitor is provably worse.

> Google was forced to respond and change their policies after public backlash.

As I showed, Apple still hasn't changed its policies on WiFi collection. Responding to privacy concerns is better than not responding to privacy concerns by any definition.
I bet you live in San Francisco :D /jokes a side; for you to be healthy without eating meat you need to eat a large variation of plants, it's not only one, it's not only one meal by day. It's not easy and have a great impact in nature too, meat have all we need and is simpler. Also, humans that are fed only with meat are able to eat once a week (or less).
> Plant based diets will dominate the world by the end of the decade. Eating meat will become a delicacy, much like eating caviar is today. Much of the world’s food production will move from farms to laboratories.

This needs a huge asterisks at the end of it right? You could argue that plant based diets already dominate the world. Now if he's claiming that "muscular" foods that are produced in a lab will pound for pound outsell animal based meat I would happily take that bet against him.
> Exceptions happen in a "second invisible lane" right next to the code you are writing, and for example aren't immediately visible when reviewing code.

hm, that's interesting - when doing C++ I always see the "bubbling-up" lane
Crypto currencies have failed to be useful as currencies, so I'm not sure why governments would be so eager to try them.
Koto: Music Performing Filesystem in Rust
in your effort to reiterate a cliche you've completely missed my point. nationalized health care has broad support:

https://thehill.com/hilltv/what-americas-thinking/412545-70-...

and yet we can't get organized enough to pass it.
I thought it was the other way around? Don't people in cities have a lower carbon footprint because of public transportation, smaller homes, and other things that can be shared?
Yep, it's an American pastime to blame the poverty experienced by much of the indigenous population on the indigenous population. It makes people feel less guilty to be profiting from the status quo.

Criticism of indigenous folks without first acknowledging the real issues of genocide and disposession is problematic at best, racist at worst.
The tech track towards full perceptual override in this current generation of VR is fairly well understood and has been on track, though slightly delayed, for approx 7 years now, with the current Oculus Quest device being the best available, and something many of us in the industry felt was almost a dream possibility a few short years ago. So I'm fairly optimistic that the tech will mature to a point where it is effortless to have fully convincing perceptual software proxying all day in 10 years.

I think the bigger unknown questions are around the impact of this technology. It seems hard to understate how much of a change it will be, particularly if there is a path towards young people being able to use it at a young age.
I like my current method [1], while only requires addition, doubling, and a couple of conditional increments or additions. Even if you don't bother doing any mod 7 reduction along the way, you never have to deal with a number above 32.

With both divide by 12 and odd 11, I would find myself occasionally making a goof when dealing with years near the end of centuries.

[1] https://news.ycombinator.com/item?id=21926543
I use their free tier and it's relatively snappy. Plus you can get the actual ovpn files and avoid having any proprietary software on your machines.
> Once we start trying to equalize along these other dimensions of marginal utility or equality of some other thing we're no longer focused on funding government but enacting some equality/justice endeavor.

Creating equal opportunity and administration of justice are functions of government. You seem to agree:

> Let such endeavors be handled by some other government agency dedicated to those causes,

How would you fund such government agencies except via tax revenue?

> why drag the tax system into the mix and complicate things is what baffles me.

The IRS doesn't administer, i.e. Social Security and Medicare. It is just responsible for collecting the tax needed to fund them. Otherwise each government agency would need it's own revenue collection arm, which makes little sense from an efficiency perspective.

A flat tax set at the very low levels its proponents advocate would effectively defund government programs like Medicare and Social Security, which is often the goal behind such proposals.

Note by the way that social Security tax is today an example of a regressive tax which caps out at around $132,000 of income.
We will spend $479 Billion in interest on the national debt in 2020.

That's >22 NASAs-worth of money, if you care about space exploration. It could be roads or high speed trains or education or healthcare or whatever you care most about.

Instead it's going towards paying interest on debt incurred for cheap political wins in the past...
> Rent prices are still governed by supply and demand

This is not accurate. Rent prices have little to do with supply and demand, and are primarily driven by how much money tenants have (or more accurately, how much tenants can be bled for before they give up and leave).

This is why rent rises even when supply is greater than demand, and why rents rise even in places where demand is falling dramatically.
merry natural post read increment
a practical use is for telescope mirrors https://en.wikipedia.org/wiki/Deformable_mirror#Deformable_m..., the wavefront shape (decomposed in this Zernike basis) is applied to the mirror
Not GP, but for me it’s a small hobby, I want to do more with computers than just designing, developing and running websites.

I use homekit/homebridge to do some basic stuff, switching on/off all the lights, computers, displays and audio gear in my office all at once, pushing just one button. This saves me a minute each time I enter and leave the office and it’s just very convenient

This setup has worked flawlessly for a full year now and I don’t expect it to break any time soon.
Comments are broken too...
Async middleware is an anti-pattern. Take care of async stuff in mapDispatchToProps.

Actions are ALWAYS action(payload) => { type: action, payload }

There's no reason to call a function everywhere you need a new action. Just define all of them in one place by listing the types. You can easily write a function that looks like

createActions(['TODOS/ADD', 'TODOS/DELETE', ... ]})

That returns all your action creators and types in one place. Import them as needed.

The above single call function to create a todo action is verbose without achieving any efficiency. It's bad design.

Don't get rid of the switch statements at all. Use them. They're clear. If you need to slice things up, just use child reducers in the switch branches. Lookup tables are less performant and don't buy you anything.

Sorry to be so harsh but this kind of cargo-cult best practice stuff is how you end up with Javascript that feels like Enterprise Java™ from back in the 00s.
The amount of electricity on Earth is not unlimited so at the end of the day there is a literal limit to the amount of data that can be transferred but for the purposes of advertising the product it's fair to describe the bandwidth as unlimited since what we're trying to do is inform the customer so they can make a purchasing decision :)
My predictions:

1. China overtakes the USA GDP by 2029

2. Trump wins reelection

3. The United States has a recession by 2021

4. Inflation becomes an issue in the United States because of high debt, increased military spending as a result of great power competition and huge pension debts/promises coming due with baby boomers retiring. The best investments (other then great startups of course) becomes Gold (because of the proclivity to favor spenders over savors.)

5. The United States will focus on big infrastructure spending.

6. Google develops a competitor to Huawei's Safe City project for the United States and its geopolitical allies, this will be a great benefit to our society

7. Humanity will reach mars

8. Humanity will turn the corner on Carbon pollution

9. San Francisco reaches a breaking point and elects moderates whose focus is building more housing.

10. The United States will join the TPP

11. Chinese culture and media breaks out and becomes popular in a similar way Hollywood and American culture is popular in other places
I was not a fan of knockout AT ALL. But here we are.

People would get too clever and abstract way too much. I don’t see the same with Vuex and MobX but I can understand why you feel that way based on this reply.

The concept of having a centralized state / store with complex apps is impossible to ignore IMO (even if you just have plain objects holding them). At that point sprinkling in a pattern to standardize access isn’t that much overhead.
The Decade in Review for Software Development
> "People would have room to create art, music, writing without feeling like they will become homeless without early success."

We haven't exactly seen an explosion of creative works coming from those on public assistance already. When is this hypothetical wave of creativity supposed to kick in?
To underline this point: we shot a red tesla into space about 2 years ago [1]. We cannot detect it any more. We'd need a telescope with a mirror of 15km to see it. Due to uncertainties accumulating, even if we'd had a scope like that, we'd probably not be able to point it exactly enough.

Oh, and that thing is mostly between the orbits of Mars and earth - much smaller search space than "the entire solar system"

[1] https://www.whereisroadster.com/
I take it for stolen. Thats what you call it when political influence is bought legally.
I’m not feeling the async pressure
I think one of the big tech developments (hinted at in the article but not called out) is on demand video streaming and what that has done to how we consume media. It has changed the type of things we watch.
If you invent a time machine, go back to places like Taos in the 1960s, lots hippy communes that are now weird architecture AirBNBs. History repeats itself, reality always wins.
> please don't tell me that [jQuery] can be replaced by querySelectorAll.

I didn't, and it can't -- my comment was merely to suggest that jQuery is now a shell of its old self, thanks largely to the improvement of browser DOM APIs.
This is why I have a serious aversion to using any kind of Google Product. They're an advertising company first and foremost - why would anyone expect their products to do anything BUT maximize ad revenue?
Those crashes are like: You tell your machine to open the file with Emacs, but this new distro has unbeknownst to you (and you find out later, undocumented) symlinked the emacs command to a version of vim with a emacs-like overlay, because of some issue they had. The file crashes vim, but in a crazy memory overflow before he dies manages to take out the system, causing spurious disk writes which corrupts your boot drive.

- The MCAS system. Got bad information and did a very bad thing. It was the entire time operating as it was designed. The fact that the astronauts were not given the information on how to turn HAL off in the event he goes berserk isn't really their fault.

Just to be clear - The MCAS system was actively trying to fly the plane into the ground. It thought it was trying to save the plane from a stall. It was wrong. The pilots attempted to override the system. They could not. They attempted to outfly the system. They could not. They could have killed the system. Boeing did not teach them how.
There’s another part that people forget: analog tech is nigh bulletproof. Your $50 smart light switch may last a decade or more, but a $0.50 analog light switch will last a century. The extreme difference in cost often leaves you with something that is worse in the long run.

Agree about the complexity as well. Analog circuits don’t have an API that changes every few years — a modern 3-way light switch circuit would be easily understood by an electrician from 1920 (and vice-versa). Good luck doing that with Lutron gear from a decade ago.

I probably dropped $5k on home automation stuff. While I could afford it and it was partially a research project, the main lesson I learned was that home automation is generally more trouble than its worth at any price. Sure, it’s great that I can tell Alexa to turn my lights off, but I also have to make sure that the 3 services required to make that work remain talking to each other. I would cumulatively save more time by just walking downstairs to turn the lights off.
No amount of capital (economic power) will save you from the power of the state to take it from you, should that idea arise in the minds of those who define the state policy.
It's not entirely clear from the article, but my understanding was that "longest wait" maintains per-thread timestamps, i.e. the time to lock() within a single thread, whereas "idle time" uses a single global atomic timestamp that measures the time from when the last thread unlocks until the next thread locks -- even if the unlock() and subsequent lock() are on different threads.
The animals eat a lot more plants for a pound of meat they gain than humans would need if we only ate the plants. We are in the first day of this year and already over 120 million animals have been killed in the US for food. Approximations on amount of animals killed each year for food in the USA vary, but it is in tens of billions. Can you imagine the strain natural ecosystem would need to sustain to support tens of billions of new animals every year? We are already on the edge when feeding those animals with industrial crops.
They are the same weekday as 3/14 and it makes a little more sense than 'Doomsday', which the article chooses.
Show HN: Browser MMORPG 7 years in the making
Thunk is not a proper solution to the problem - it's a totally open escape hatch! You lose ALL the nice guarantees and behavior of redux when "action" no longer means "immutable, serializable event" and starts meaning "completely arbitrary function call with unbounded async effects."

There's no functional difference between using redux-thunk and just calling a "global" `dispatch` in random callbacks; both are equally unmaintainable in the face of interacting effects.

EDIT: Having a bunch of complex async logic all modifying your store in overlapping ways without careful coordination is like having concurrent operations on your database without any transactions or locking.
Bill Gates: What I’m Thinking about This New Year’s Eve
Making it guaranteed is implied. Making it huge is completely unnecessary and counterproductive.

$1k/month doesn't cover average rent in the most populated cities because the most populated cities have the highest rents and its purpose is not to make you average, it's to provide a floor. Supplying enough for the lowest rent in the lowest cost of living place is sufficient for that, and if you want more you can go get a job or find some other way to make money -- which the UBI continues to supplement, so it doesn't even have to pay very much.

It's not supposed to make it so you can live a happy life for a hundred years without ever working. It's just supposed to take starving and freezing to death off the table, and give you a lot more runway when you're trying to start a new business.
I have nothing but love to give for Godot and its incredibly dedicated community. Sure, it's still rough around the edges, but many of my gripes (e.g. poor documentation) have been slowly fixed over the years and I've been recommending it to people new to game dev (although not necessarily new to programming) in order for them to tinker on and make their first games with.
Let's say a friend organizes a party and you go there. You don't pay for it, yet you enjoy what they did. Clearly, their organization of the party provided some value -- it's just not the kind of value you put a price on.

Look, of course you can insist on using a definition of value that is 100% tied to price by definition, but that's rather myopic -- and why are you using the word "value" in the first place then? You should just be using the word "price" instead, because that's what you mean.

The vast majority of use of the term "value" by people in practice attempts to capture some essence that goes beyond market price. For many goods, market price can be a decent approximation of this more elusive notion of value, but that's all it is: an approximation. Or a (leaky!) abstraction, if you prefer to think of it that way.

Heck, even in finance, it's not as simple as "value = price". For example, when analyzing firms you can look at market value vs. book value. Both can be thought of as "the value of the firm", but they're basically always different.
If I’m understanding you correctly, I think you want CloudFormation?
Trying to find the best way to introduce friends/family (with programming backgrounds) to game programming for fun. (So not kid-focused stuff like Scratch or Logo.)

Godot looks pretty good. Is there anything else you've had success with?
Your logic breaks down when you consider the fact that humans will never consume as much plant matter or water as livestock.

In fact, the creation of meat is a wasteful process, requiring up to 25kg of grain and 15,000 litres of water to produce 1kg of steak. [1]

1: http://waterfootprint.org/media/downloads/Report-48-WaterFoo...
We might be see them already and not be able to single them out. Like the disappearing stars reported recently.
Google isn't uniquely deceptive on privacy. It's just deceptive on privacy. Google isn't uniquely bad on privacy. It's just bad on privacy.

It is possible for multiple companies to be bad at the same things.
Great post. Is there a 3-year, 5-year, even 10-year roadmap for Godot? It's a tool I'm very interested in using but the industrial backing and stability of Unity/Unreal is hard to beat. Some kind of assurance that the creators of Godot plan (or at least hope) to keep working on the project for a long time would go a long way.
Okay. It would nice if this detail were to be added to the README of the repo.
Honestly, that just sounds like the usual rules for academic funding, phrased in a conspiratorial way. Would you also call NSF funding "a coordinated, calculated, and deliberate effort run by the American government"? Is science good for nothing but proxy war to you?
Not tech-related, but if you're into city issues, I enjoy these:

Vital Vegas: https://vitalvegas.com

Chicago Architecture: https://www.chicagoarchitecture.org

Even though I don't live in either place, their cheeky writing styles can be a nice change from the pretense we see so often in blogs.
Not sure why you are sticking to your guns here. First, it's highly unlikely anyone would ever write wasm by hand. Second, the article rambles a bit but the most compelling argument for assembly is writing fast code for constrained hardware. At a high level, that's not what wasm is solving.
Andrew's not wrong, but I'm also not entirely convinced it's as big of a concern as he's describing.

For context, Andrew is a co-creator of Redux, and is a current React core team member. He's spent the last couple years working deeply on the "React Fiber" rewrite that became 16.0, and the "Suspense" and "Concurrent Mode" features that are now available in alpha.

He's definitely right that Redux's synchronous update model is somewhat limited compared to how React's "Concurrent Mode" needs to be able to dynamically re-order state updates based on priorities. But, it remains to be seen how much of an actual problem this is in practice. Andrew's been heads-down in this feature for a long time, and so it's natural that he's seeing everything through that kind of a lens.

We've got an open issue to discuss and analyze how React-Redux might be able to work better with CM and Suspense:

https://github.com/reduxjs/react-redux/issues/1351