skysight-inc/HackerNews huggingface dataset:
We've actually got a new `redux-starter-kit` package which includes some reducer utilities similar to `redux-actions`, but using the Immer library internally. That allows you to write simpler immutable updates that look like "mutation".

There's also some helpers for common use cases like simplifying store setup, and generating entire "slices" of state at once (including generating action creators and action types automatically).

I put together an example of using this the other day:

https://www.reddit.com/r/reactjs/comments/a0b1sa/frustrated_...

Please try it out and let us know what you think!

https://github.com/reduxjs/redux-starter-kit
> It's fast enough for most everyday tasks except for real-time audio processing and high end gaming

Have any new languages popped up in either of those spaces or does C++ still reign supreme?
Good to know! This didn't exist last I checked.
Monetary inflation and human population growth.
You’re right, and it’s happening throughout the western world. As someone who is definitely not in the top 2%, there are some difficult truths to confront.

It will be a strange time when & if it starts happening out in the open.
The Python 2/3 switch was indeed a disaster, but in term of user gained and lost not so much: the number of Python users skyrocketed since 2007 despite the breakage nightmare.
There's been a predicted glut of luxury apartment condos for years now, as all the new luxury buildings on the 50s start coming online.

Add in increased Chinese export vigilence, tariff wars, slowing economy, and the tax overhaul that targeted blue states, and of course the multi-multi-millionaire apartments and condos are taking a hit.

The thing is, and this article leaves out, is that that luxury apartment glut was originally expected to last 3-5 years. Then rising population rates and etc were supposed to take over again.

So your sub-million dollar condos might take a hit for the next few years, but barring another economic recession or crash, its probably just temporary (read, possibly a good time to buy).

For truly high $ places, where all the other things on the list of causes above will have much more effect, it might be worth sitting out for a while.
Unless things are being zoned in some crazy space-filling fractal shape, the vast majority of houses-with-gardens are going to have houses-with-gardens as neighbors. And the boundaries don't have be abrupt. There's plenty intermediate solutions between houses-with-gardens and 20-story apartment towers and any planner worth their salt knows it.
You’re trading off security here. Users are going to shoot themselves in the foot assuming that int is this size or this size.
> direct usage of syscalls instead of libc

But go isn’t built on top of C? Why would they add more dependencies that complicate and slow down the compilation process and hurt portability?
Why are you making all these bold statements without mention or discussion of any business metrics?

Without knowing things like yearly revenue growth, LTV of customers, churn, operational costs, etc. how could you make any claims about if the valuation or capital raised is or isn't justified?
That’s insane
That government is run by elected officials who receive a majority of their political contributions from developers... nobody has a lot of time to read (and "help write") the controlling rules (that they always want to update) which affect them as much as the developers do. City councils are run by developers.

Also, the tax revenues often don't offset the ongoing cost of the development to the city (if they do the proper roads, sewers, power, trash, policing). They are a sunk cost at the time of development and then there's no money for maintenance (without more growth).
I already did, outside of SF it is fine.
The article first says that "Academic leaders and technologists wonder if faster fact checking might solve the problem", implying that false information is not the problem, and then "the human mind is the territory" - if you're fighting over peoples' minds, and using factually true information, then what is the problem? That sounds like logical persuasion to me.

(obviously, I'm missing some nuance - I was hoping that a more intelligent HN denizen would be kind enough to point it out to me)
How Twitter’s Ban on ‘Deadnaming’ Promotes Free Speech
No kids, but not planning to have any. I think I’ll lead a better life if I have time and money on my hands.
It's not really a query language. Certainly not a general purpose query language. It's more of a somewhat flexible RPC, honestly.

It smells like a query language from a distance, but when you get close it smells much more of SOAP.

For instance say I'm receiving a list of widgets, but I only need the red ones. Unless the API developers explicitly foresaw the need to include a color filter, I can't filter that on their side. I have to get all colors of Widgets and filter it myself. The amount of unessessary data then can really multiply when you're getting the children and children's children of those widgets.

Having ported a number of APIs connectors from REST to GraphQL, I can say it has certainly greatly reduced the number of requests I've needed to make, but has often also greatly increased the amount of actual bytes I've received, particularly the bytes I don't need.
Which is why tall buildings are not generally built right next to and to the south of low buildings, never mind gardens. This is straightforward planning 101.
It's not too surprising for a city where a policeman can make $150k (base and overtime) year just after 8 years in service.
And in Switzerland, 1st August. Retardness.
GOPATH is the ugliness of Go. Can't imagine that overhead for a modern PL.
Oh, makes sense then.
Hostile gotcha comments, which this reads like to me, are not ok on HN. Please don't post like this.

When a user contributes an informative comment in his or her field of expertise, the last thing we need is other users showing up to disincentivize them from ever doing that again.

https://news.ycombinator.com/newsguidelines.html
> Why not introduce a primitive type "num" for arbitrary precision rational numbers instead?

Rationals aren't supported natively by processors, so there's no real need to handle this as a primitive instead of letting people to use a library for it. Adding them to the base language just because some people would find it convenient would clash with Go's explicit minimalist philosophy.
Interesting. That hasn't been my experience at all. I don't know how many times my 2015 MBP has been in my backpack when it's fallen off a table or whatever. My MBP isn't in any kind of enclosure or anything and my backpack is one of those you get during registration at a conference. That is to say it's nothing special and in fact is rather cheap. Meanwhile my MBP keeps chugging along without even a scratch. It's definitely not being babied - I can tell you that! :)
Do you have some kind of evidence that this happens? This is something I'd imagine Amazon was good at ensuring doesn't happen
I was not particularly fast that day. If I recall correctly, I just bruteforced it (implemented the four-turn logic). Not elegant but it runs fast enough :)
Pollan also gave credit to the fact that Leary did bring psychedelics into pop culture in a major way, which has had some detrimental effects on serious study, but near the end of the book also acknowledged that on the flipside, all that exposure means currently a lot more people may be interested in serious study than there might be otherwise. I do appreciate Pollan's earnest attempts at considering many sides of an issue.

edit: pronoun clarifications
I'd consider it all incremental until the X...
Certainly an epigenetic contribution. It turns out that the mother's body during pregnancy can have a huge and heritable impact on the baby. E.g., studies have shown that nutritional problems (like famine) during pregnancy can cause the baby to have obesity problems later in life. These have been shown to be the result not of direct genetics (the fetus's DNA has already been selected), but by causing a different mix of genes to be expressed.

That shouldn't be too surprising. It seems logical that evolution would find a way to prepare a baby to be born into an highly-food-constrained environment so their metabolism will be more conserving of resources.

What really is surprising (at least to me) is that the child's propensity has been observed to be passed down even to the grandchild.
When clojure meets smalltalk
Excellent article. I think `poetry` is future as it seems to take fresh approach to Python packaging hell.

However, I am currently still sticking to pipenv as it seems to be closer to pip/venv and lot easier to migrate to. I also found UX quite nice. However, I keep hitting into bugs from time to time.
I very much agree and I've been thinking about this a lot lately.

Interestingly enough, this line of thought is not new. People like Auguste Comte in the 1850s saw the industrial and technological revolution as an engine working to erode religion, and he wanted to work towards an alternative.

For many people, religion generally provides two things: 1) An overt faith-based explanation of why we're here, how the world came to be, and how important events are driven (God), and 2) a system of ethical and moral rules evolved over centuries to allow everyone to life their "best life".

As science and technology advanced, many people lost the need for #1, and started to abandon religion entirely. That kind of makes sense, because #1 is often the marquee headline of religion. But in abandoning religion, they also lost #2, the quieter, but perhaps even more important, aspect. There is nothing in today's modern society that can seriously fill that gap. (In the past, fraternal organizations played that role to some extent, but they are largely irrelevant today.)

Comte put together a "Religion of Humanity" in an attempt to provide people with point #2, couched in the familiar structure of religion and ceremony, but without the faith-based belief of point #1. It saw some medium-level success in its day but is now defunct. It was perhaps too early for its time.

However I think the idea is more important now than it ever was. People need an ethical, community-based, traditions-based societal structure they can attend regularly and fall back on, but without the requirement that one believe in faith-based myths and legends. We need a new "Religion of Humanity".

https://en.wikipedia.org/wiki/Religion_of_Humanity

https://standardebooks.org/ebooks/auguste-comte/a-general-vi...
Restoring Middle-Class Incomes: Redistribution Won't Do
Show me a phone with much better silicon for much cheaper. I'll wait.
> the midwest's manufacturing economy shrinks, and more of their population empties out into the coastal cities.

Except midwest housing prices are constantly rising too. Obviously not anywhere near coastal cities, but Midwest city housing prices keep going up even as the manufacturing economy there supposedly shrinks.
CEOs have never been more idolized. 5 experts explain why that’s a problem
You can click in their text field and press delete to remove them. The list view works sort of like a document, with each line being a task title.
Do you mean, if I try to avoid fakes by buying from a seller I trust, i might get inventory from the one I was trying to avoid? This makes zero sense!
- Reciprocal patent licensing for next 5 years

- Continued development of Office for Mac for minimum 5 years

- Internet Explorer default browser on Macintosh

- Collaborate on Java

- Microsoft buys $150 million in non-voting shares of Apple at market price.

IIRC, the share price at the time was around $1. EDIT: apparently around $8.25.
Yes, it should be that way, but if you can talk the planning committee into making an exception just for you... you can make a bunch of money in the year it takes to build and sell the building... then you leave (well, first you need to contribute to the right politicians).
not saying you're taking offense to the critique, but I wouldn't. While I don't use Redux nor have experience with the docs for it, there have been some concepts that I didn't grasp from reading the docs for a topic where others had a better understanding of it coming out where after someone broke it down in a blog, it allowed me to understand it as well (at which point the docs were beneficial as a resource to come back to later). Different mediums will probably be better suited for getting more nuanced than the docs can, generally.

So I can totally see where conflicting feedback could appear and why you shouldn't take the "negative" feedback as a slight against the work on the docs (but fielding concerns/questions/suggestions as you are is completely a great thing).

From the outside looking in, if I were looking at Redux and I heard from a few "man, the docs are a bit hard to grasp" and others "I love the docs. They allowed me to get up and running" I wouldn't be scared off; it'd seem to be pretty par for the course.
Modulo arithmetic refers to the property of fixed-size integers where they will predictably wraparound in expected ways if you overflow or underflow them. This wraparound is "free", so it used to be commonly used for cyclic high performance code. An arbitrary bigint is computationally more expensive, and it will never experience this effect, so it's a double whammy of irrelevance for bigints. You can manually do a modulo operation on a bigint, but that just makes them even more computationally expensive than a fixed size int, requires more code, and would be considered an unnecessary inconvenience by most people who care about modulo arithmetic.
Artificially limiting the 'means of production' (which is such an increasingly inappropriate and dated concept to use for these sort of discussions) is precisely the issue. Imagine a kingdom where a king created rules that, in effect, named exactly one black smith owning [puppet], one tavern owning [puppet], one brothel owning [puppet], etc. And these individuals were free to buy, sell, and trade these businesses so long as the transactions remained within the regulations of the king. That's not capitalism, not even a little.

And that is really the issue. The further you limit the ability of people to engage the market (as buyer and seller) the further away you move from capitalism. And that is precisely what our current system is doing. Repeating the same example just because it's so stupefying. In most places in America today you cannot legally setup a lemonade stand and start selling lemonade on your own property. We're creating a culture of passive consumers driven by extreme regulations against everything except such!
"Fun" fact in the not so distant past lobotomies were used to treat hyperactivity in children.

I wonder if the next generation will look back at the massive drugging of children for ADHD in a similar light.
Yeah, wikipedia cites some unspecified maritime usage of _ but it's definitely not common. It seems like most of the standards outside of programming languages have been moving towards spaces. Unfortunately there doesn't seem to be an easy way to search e.g. https://lh.2xlibre.net/values/thousands_sep/ but some lazy JavaScript shows no underscores and several flavors of whitespace:

new Set($(".value").map((idx, elem) => elem.textContent))
Set(8) [ "", ",", ".", " ", " ", "'", " ", "٬" ]
How do you get "often problematic" from one person's experience? People have different reactions to drugs, and "ADHD drugs" isn't even one particular drug or kind of drug, although stimulants are the most widely used kind of drug for treating ADHD.
It's difficult to couple hard and soft components. The difference in stiffness creates stress concentrations that lead to the interface failing. This is also why rubber pads on laptops always tend to fall off. Creating a gradual change in stiffness is possible, but is difficult to accomplish. There is also interest in soft robotics research to make robots entirely soft. The reasons for doing this is that a soft robot can potentially not injure a human being if it's entirely soft and to make robots that can squeeze through holes. I'd also like to argue that much of the interest in soft robotics today is stems from DARPA's Chemical Robots from 2008[0], a big goal of which was to make robots capable of squeezing through holes, which has obvious military applications.

[0]https://techcrunch.com/2008/07/01/darpa-throws-33m-at-biomim...
Plesently surprised w/ the choice of algorithms AWS provides. They skip classic MF and go straight to the good stuff:

* Item-Item CF (workhorse amazon original from 2003 w/ modern enhancements)
* Deep Pooling Models (à la Covington. YouTube Deep Rec.)

Although I'm a bit perplexed as to the difference between Deep-FM Recipe
and the FFNN Recipe as it describes the same thing...

https://docs.aws.amazon.com/personalize/latest/dg/working-wi...
Do it. You deserve closure.
One data point: I'm a former Marriott loyalist and was Platinum for many years in my 100% travel days. I travel less now, so I was down to just Gold, which was still fine... but when the plans were merged and that became "Gold Elite" (read: the new Silver), they stripped away lounge access: no more free breakfast, no more access to a quiet place to work, have a drink or coffee with a friend, etc.

So now I don't book with Marriott/SPG anymore. Why would I?
If one was not violently prevented from using land or objects, why would one "trade" for their use, when they could freely use them already?
Yeah, couldn't be happier :)
Maybe GraphQL is not the best specification for what a real query language looks like, but it's enough for most of CRUD use cases. Thanks GOD i can say goodbye to the ugly REST.
There wasn't an entire "boom" generation of banal revolutionary-in-their-minds people in their 50s and 60s hanging around gumming up the works and doing their damnedest to prevent any progress whatsoever. So in that sense life was different for 38- and 40yo people than it is now.
Yes, it looks great in theory compared to the other available options, but each time I give a whirl it ends up not sticking and working with my flow. Far better than things like Basecamp for my usecases but yes hasn't been a fit yet either here.
Ah, interesting. Thank you for challenging my assertion.

Upon deeper introspection, my own personal experience of “happiness without meaning” is closer to “the meaning is just the universe/physics unfolding (and I happen to be a part of that)”, which is so all-encompassing that it has little meaning itself, in the Kolmogorov complexity sense. And concomitant well-being, which I would define as closer to “completely neutral affective experience” rather than the “positive affective experience” described as hedonic well-being in the study you referenced.
Life expectancy down as more Americans die from suicides and overdose
> I don’t really use the prime video services which kind of suck and have limited use outside their Fire devices

While I’m no fan of paying more for Prime either, Prime Video is supported on practically everything - Apple TV, Roku, PS4, Xbox One, iOS, Android, desktop browsers, various smart TV vendors, all in addition to their own range of really pretty cheap streaming devices and tablets. Amazon apparently really don’t care what device you use.
I don't know about NYC, but in SF, $1M is a very reasonable price for a condo for a non-1%er. If you and your partner are both in tech and want to get a two bedroom, for instance.

I definitely wouldn't put the threshold for uber-rich money parking or buying a pied a terre at $1M
If it empowered everyone, it would be available on other OSes than Linux, Windows, and macos (ok, it is available on Android and iOS apparently and some *BSD variants too).

I'd love to use Rust - but my business requires support for, (in addition to Linux and Windows), Solaris, AIX, HP-UX, and OS400 for me to serve my customer base.

Rust can't empower me there, it simply isn't available.
Tab + backspace to delete those empty tasks that are created when you hit enter.

I love Asana though. I put everything in there and have it hooked up to Alexa. The only downside is that I put everything in there. I haven't had a morning email with less than 30 tasks in over a year.
Effectively Marketing Your Soundcloud Page
The romance around travel and adventure has been around for centuries, if not millennia. The Homeric cycle has plenty of that, and other cultures have analogous stories. I think it's a young person thing, not a generation thing.

Travel for self-discovery has the well-understood problem that self-discovery is not about the places you go or things you do. It's about how you react and change in the process.

Hedonistic travel is fine and can be restoring, but pleasure only gives you insight into what you like, not how you handle life's challenges. The latter is where you actually find yourself. For that, travel is useful because it makes you uncomfortable, but first you have to seek discomfort.
People are generally gullible. Most people fear originality, strive to maintain commitment, and conform to a group narrative. These are all irrational noncognitive behaviors strongly aligned to perceptions of security. It’s hard to fix stupid.

Before people obtained most of their news from social media they were getting it from pseudo journalism comedy television. The primary motivation of the supplier then was advertising revenue just as it is of social media now.
That wasn't clear from your comment, but I was supporting what I thought you were saying. Businesses have to be capable of reaching a size where it makes sense to talk about monopolies, and once you've reached that point, then you're already up to your eyeballs in government involvement.
Bootstrapping a Domain Parking Service to $1.8M in Annual Revenue
While the results are really cool, they're not perfect, and seemingly even the best companies working with deep learning are still not getting it right every time. It makes me wonder if this technology will ever be useful for these tasks... I mean would you be willing to use BCIs even if they made small errors from time to time?
Is it transportation or just short commute/ease of commute?

I live in Minneapolis, for awhile I used to work in the southern suburbs. On a good day the drive was 30 minutes during rush hour. On a bad day you were talking 1-2 hours.

Now I live 10 minutes from work, and I can't imagine doing anything else. Even when I speak to recruiters I increase my salary ask and tell them it's for the commute. I get laughed at.

Meanwhile I talk to people that live 45-60 minutes away just so they could "get more house for the money" and constantly complain about their time to get to work/get home.

However, the earlier comment about job density is probably the most relevant thing I haven't thought of.