skysight-inc/HackerNews huggingface dataset:
Hi, I'm a Redux maintainer. React has always had "state management" built in in the form of component state: `this.setState` in class components, and `useState/useReducer` in function components. Those work just fine.

However, that _is_ limited in that you can only access state inside the current component, or pass it down the tree as props/context. If you need to access data broadly across the component tree, or the data itself does not lend itself to a tree-shaped usage pattern, or you need to minimize the number of components that re-render when you update, or you need to use it _outside_ the component tree, then you may want to look at an external state management library.

I've talked about the tradeoffs in these approaches numerous times:

https://blog.isquaredsoftware.com/2021/01/context-redux-diff...

https://changelog.com/posts/when-and-when-not-to-reach-for-r...

https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-...

All that said: React makes writing an application with any meaningful amount of complexity _vastly_ easier to do than trying to do it with either preceding UI frameworks (AngularJS 1.x, Backbone, etc) or jQuery. It isn't perfect, but it's well-suited for a wide range of application development use cases.
https://news.ycombinator.com/item?id=29210634
Lenovo doesn’t get recurring revenue from selling Lenovo laptops, either.
From a security standpoint, how did NPM become a thing? Bar none, it feels like the most compromisable system short of SCADA.
> Also, a quibble, it's Halon not Argon. Nobody sprays water around a room full of burning electrical equipment.

But... Argon isn't water? What do you mean? Argon is also used for fire extinguishing in datacenters, according to wikipedia:

https://en.wikipedia.org/wiki/File:Argon.jpg
Is there a way to export the feed to a RSS reader? Maybe 1 post per section?
I actually don't see much point in these changes besides "new and shiny" trendchasing with perhaps a bit of planned obolescence thrown in. NVMe is a massive complexity increase for little gain. Looking at all the bugs in various NVMe implementations and drivers (many of which are "worked around" by detecting specific devices) is enough to scare you from trusting them for storage.
Winter Solstice coming soon Learn how to make Chinese sweet dumplings at home
This is the best response I’ve gotten so far. It does seem a bit silly to me that I couldn’t build a duplex on my own property.

But then I wonder again if this is an issue that the state government should fix instead of the municipalities.
>and isn't torture a well-accepted reason to block extradition.

When you rule the way Taliban did the idea that you're not extraditing someone because you're worried about them getting hooked up to a car battery or beaten with a rubber hose is laughable.
Then again, having a couple of .js files just sitting on my server meant some rando having a temper tantrum and deleting their repo wouldn't break my site, or half of the internet.
Small country. Young population. Superb medical facilities easily rival most parts of USA. Free covid healthcare (covid cases are handled by government) so people not going die at home due to scare of medical bill. Swift regulations to control social distancing. It is an island with near zero illegal immigrants. About 85% vaccinated with either Pfizer and Moderna considered the best available vaccines in the world at this moment. They begin 3rd jab before FDA final approvals. About 20% got 3rd jab. Death due to Covid is about 0.2%, the best in western world (probably the entire world just that non western countries stats aren't that readily available or trustworthy to further compare). I think only perhaps Taiwan is doing better. 14 deaths a day to Singaporean probably is spike just like an Asian in school getting A- require immediate remedial classes.
Tumblr online blogs and tags viewer – Tumbral.com
Or how about just remove the computers from the tractor.
I've been doing Karat interviews for about three years and it's been incredible for my mental health. The work is extremely flexible and there is nothing to worry about when you're not working (I dread deadlines and I'm neurotic enough to never manage a good WLB at a regular SWE gig). The compensation is also pretty good. Apply on their website if interested (https://karat.com/) or hit me up at my username at google's mail service if you want a referral (though you shouldn't need one to get in the door, we're hiring pretty aggressively). Hope this helps.
I don't disagree, but I just wish there was a solution that's both fair and, you know, won't cause mass extinction. Maybe that's just not possible.
They can-- I know someone who runs xorg in a container with SPICE output support, but not sure on the specifics.
Seems like it would be easily addressed the way car repairs are: insurance pays for a rental while yours is in the shop. So long as peoples equipment isn't all breaking down at the same time, a service with just a few pieces of equipment could probably service a large area. That way you can also get proper repairs done, rather than having to do a quick hack that gets you back up and running by whatever deadline you have but causes long term problems.
What Is Network Admission Control (NAC)
Given the global logistics mess at the moment, I would think it's pretty obvious why the location of food production matters.
You’re 100% right - don’t doubt your logic! :)

The problem is that what you describe is the short term positive impact to Tinder. But that’s far outweighed by the long term negative of having your whole business dependent on the whims of Apple. For example, anytime Tinder wants to make an app update, Apple has to approve it. Well, if Tinder goes after Apple with regulators by filing complaints and pointing to antitrust violations, Apple now has the power to mess with Tinders business. Or if Tinder wanted to offer its users a 20% discount as an inducement to subscribe directly with Tinder rather than through Apple, Apple can and does prevent them from doing that right now by refusing to allow Tinder (or any developer) to reference in the app the fact that lower prices can be achieved by subscribing via web. The examples are countless, but essentially the more reliant Tinder is on Apple, the worse for Tinder and the better for Apple.
Yes but the ads placed by Apple points to respective apps on Apple app store. So the logic here is that user will most likely subscribe via the app on iPhone and then Apple gets it 30% cut.
Why is the right answer to increase the population to unsustainable levels, try to make it up with increased density, and then blame the people who want something different?

You do realize that densifying will not in fact, fix the problem either, it only buys you some time, at the cost of different resources.
What's the alternative? I wouldn't really trust something like reddit to just upvote the most credible papers

Kidding, but I am genuinely really interested in alternatives
Sure! Imagine we're talking about users searching in a way that indicates very strong intent to subscribe, like "how do I subscribe to Tinder". These users are almost certain to subscribe. There are two ways that can happen:

a) They can click through to a Tinder site, where they subscribe directly.

b) They can click through to the App Store, where they end up subscribing via Apple's in-app purchases. Apple gets a 30% cut.

Assuming your $100 LTV from before, in (a) Tinder makes $97 and Apple makes $0 while in (b) Tinder makes $70 and Apple makes $27. Tinder clearly prefers (a) while Apple prefers (b), but by how much?

Tinder: they make $97 - $70 = $27 more in (a)

Apple: they make $27 - 0 = $27 more in (b)

This means both companies are willing to bid approximately the same amount, since their profit on winning, relative to what would've happened otherwise, is $27.
It’s easy to compel those countries: just stop importing from them
And Infer.NET is quite underappreciated. For some discrete problems, it's really good.
Ha - nice. I won a web design contest from Road Runner in one of their youth categories. That machine was our office PC for a good seven or eight years. Now that I think about it, I'm amazed the hard drive didn't fail. I think I set up a backup system, but I genuinely can't recall how I had it rigged up at the time.
You miss out so much paying debit for things in the US. Most transactions net me 2-3% discount, I get baked in additional travel insurance on all travel I book with it, extra warranty on everything I buy, charge backs are easy when things go wrong, and if there's fraud I'm not out cash while things get investigated.

A friend did all her banking in a single checking account. Her card was duplicated and completely wiped out. She filed with the bank for fraud charges. It took almost a week before most charges were wiped out. All the while she had literally no money to eat, buy gas, etc. If that was a credit card, it wouldn't matter. She would still have all her money. She could easily just use a different line of credit, use cash, or use her debit card.

So paying a debit card gets you far less benefits and depending on viewpoint carries higher risks. But the benefit is you (sometimes) can't spend cash you do not have.
I like the idea of the states doing something. Like the article mentions! Maybe that's what it takes to get past the local NIMBYs.
I recently went through the interview processes for FB and another (non-FAANG) company mentioned elsewhere in this thread, and it was stunning how different the processes were.

The recruiter for FB was incapable of conveying the simplest information in a period of time less than 30 minutes and constantly seemed to misremember what information they had already given me; they were constantly setting (and missing) deadlines to follow up with me with more information.

Finally, after the on-site interview, they said FB would be making an offer, and then began this very strange dance (across the span of two full weeks) of trying to negotiate me down on % remote time and salary _without ever making me an actual offer_ or giving me any information about what the position I was interviewing for entailed.

Meanwhile, the other company went from on-site interviews to an offer with firm numbers in two days. In the end, FB's recruiting process was so odious that I couldn't bring myself to wait long enough to even hear their offer to negotiate with (which, frankly, was the only reason I signed up to interview with FB). So much for "move fast".
4 is an interesting point. My curious brain often wonders over it. Frustrating as it is, you're probably right. Can you even imagine what would happen if somehow we came to really, foolproof know the answer? I imagine an absolute calamity as religion falters(assuming it wasn't a religious answer, that is), people lack will, perhaps crime and suicides rise?
I don't think it would work with an actual mirror - either Cassel will block the mirror or the camera will block Cassel.
That’s just the reality of money. What self respecting talented engineer seriously uses any of this stuff? Now imagine everyone across enterprise, it’s even more of a shit show (literal evil industries).

The duality creates a conundrum amongst a generation that often don’t settle down with a family until very later (if at all). If work is just for money, and you have nothing else in life, well shit, your ass is gonna be depressed.

Maybe Zuckerberg gets it, maybe we do need the metaverse to fill this insane void.

As for me, I literally look forward to chaos in the news at this point. Imagine that, how’d it come to this.
As an iOS user, I do not want the publisher knowing anything about me. I'm happy to pay for the app, but I do not want to tell the publisher a single thing other than the fact that it is paid. Nothing else. I do not want to share my email, I do not want to share any form of cardholder data.

I want to cancel in one tap for any subscription. I do not want to go through shitty, abusive retention flows.
From the man page:

> The key used for signing is specified using the -f option and may refer to either a private key, or a public key with the private half available via ssh-agent(1).
Does anyone have a source for the claim “ Most of the wealth created since 1971 is a result of Intel’s 4004 microprocessor”.
Is that really a “justification”?

“We bred out of control to absolutely bonkers amounts, and taking X% of the earths resources is non-negotiable”?

Imagine if, in the face of climate change, the US response was a movement of 6-8 children per woman. What would that US policy be called?
Coming back from the grave with eLORAN
The kit is the GPS and the steering adaptor that reads the signal. GPS isn't encrypted. The protocol is proprietary, but if you can't reverse engineer it in a day you are a poor engineer. (I wrote the decode for one sub inch GPS, I don't know about our competitors, but I don't see why they would encrypt GPS)

What is encrypted is the steering algorithm to steering controllers. That is about safety, tractors have technically been level 4 self driving for 30 years - not even marketing says that though because the sprit of level 4 self driving is about safety and tractors are just as unready for self driving as any other car on safety grounds. By encrypting the steering control lawyers can ensure the safety warning is displayed. (Sometimes a university is given the encryption keys after legally verifying they won't be unsafe)

Looking again, you seem to be about Rtk. I'm not sure about that. Probably encrypted, but mostly for those who want to charge, you can buy your own base station.
China is the only country building nuclear plants in any significant way right now. All western countries have abandoned them, and are only building natgas/coal/oil
I don't think that interpretation is fair... I spent a lot of time trying to make sure I didn't write anything I thought sounded like a personal attack. I named him specifically because he's already spoken and "defend" the change. (Even providing comments and explanations here on HN.) I'd also assert that naming him specifically, like they do in the article, is the best way to associate the decision with a human who's made that decision. Because I feel that it's important that people realize that the decisions they make matter. With a little less time an consideration, more people will make decisions like these that I believe make life harder for both me, and other people who use their software. If you have a better way to personalize decisions like this than to connect them to the person who made them, I'd be eager to hear it. Because I couldn't come up with anything better then, nor can I now with a second thought.

Without relation to the duty that I owe any individual, it bothers me that you'd say this comment is harmful to the HN community. I might be able to be convinced that calling out bad behavior is often more harmful than helpful. But the assertion that this makes the list of comments that degrades hackernews feels unjustified.

But, given it's your community; it doesn't matter much how I feel, so if you're unconvinced let me know, and I'll make sure I don't comment on anything remotely controversial anymore.
I would agree retail rates are more relevant than wholesale rates, while at the same time, there's a lot of noise in what the "average" is. If you're exposed to the spot price (Time of Use plans/tariffs) and judicious about when you use electricity, it will be very cheap. If you are not exposed to the spot price, and/or you use a lot of power when rates are higher, your power will be very expensive. I've spent ~30 minutes looking for a reliable indicator of retail rates for residential customers, and I can't find one other than customer surveys. I did find a release from the SA premier indicating $350 million AUD in electrical energy savings over the last two years [1]. Also, this post [2] asserts SA to have the lowest wholesale rates (per Australian Energy Market Operator/AEMO) in Australia by early next year.

I rescind my statement from my higher level comment that "They have the lowest energy costs in Australia"; the data is incomplete, there are multiple factors at play between generators, transmission, and retail supplier cost variations, and it was too broad of a statement considering all of the factors involved (when I should've referred specifically to wholesale rates influenced by renewables).

[1] https://www.premier.sa.gov.au/news/media-releases/news/bang-...

[2] https://indaily.com.au/news/business/2021/05/10/rise-of-sa-r...
Who wants to be a serf for the ad company? You can either serve the people who are your audience or you can serve google/facebook.
> If Palantir didn't build the tools someone else like Clearview AI would.

Thiel is an investor in Clearview.
Thanks for clarifying. I assume your wording means those three are mutually exclusive with high density housing and not from each other.

This isn’t a knock on you personally so please don’t interpret it as one. But I find a lot of people are in favor of the idea of affordable housing in areas that also have, say, gainful employment but are not in favor of the policies that would actually produce that.

And so we get the equivalent of walled-off communities combined with empty words that just feeds ones identity/ego. At some point people need to live the values they espouse.
That was true years ago, but China now imports almost as much as it exports. India is a net importer, because their growth strategy isnt focused on manufacturing.
Probably not the side jobs most here have in mind but after almost 2 years of remote I’ve been seriously contemplating getting a night job at a bar or restaurant just to meet folks and the little bit of money (relative to my salary and equity) would just be a bonus.
Elitism? I consider myself to be one of them.
You can help yourself by reading it as an inspiration from technologies that changed the world, regardless of what the current situation is. Computer chip and more fundamentally, the invention of transistor is to be reflected not through the lens of Competitor A vs. Competitor B, but through the appreciation of science, engineering, and all the people that made it happen.
Ask HN: How much equity should an early employee get?
I have a friend who has been offered a position at a tech startup. He will be a software engineer. There are already more than 5 employees (including CEO, etc.), but less than 10.

Besides a salary, he has been offered around .2% of the total shares, vesting over 4 years.

Is that about the right amount? My gut feeling is that it is too low.

I'm wondering what "similarly early" employees have been offered at other startups. Examples would be welcome.
That isn't quite correct. A lot of population growth in these two countries has been due to improved medical infrastructure which resulted in reduced deaths, for both infants and adults.
It's more economically efficient for used equipment to stay in use.
The Applications of Telemetry
Don't worry, Thiel invested sizeably in Clearview too. I lost it hearing how he denounced AI as "basically Communist" while actively building and funding it. Did the money he earned damage his brain into forgetting how he made it?
I can't off the top of my head. Can you? I mean it's almost as if targeted advertising were a remarkably effective way to fund things that people want but don't like paying for, whether it's journalism or parking.
I guess my point was that a "finders fee" is fair. If you push the boundary of human progress, you're allowed to exploit your discovery a bit.
I wonder how that compares with ddr5 which has a controller and new power systems for similar reasons then. Combined with the upcoming CXL bus stuff it makes me womder if it'll happen it's just the interface wasn't ready yet
> The user experience is much worse

Spoken like someone who has never tried to cancel anything where they had a direct relationship with the publisher
The big farmers are putting the equivalent of 75000 miles per year on their tractor. They are wearing their tractors out and can't afford for it to break.
> The older strategy is for a farm to be no bigger than a single family can handle

The problem with this is it works because it's socially acceptable unpaid child labor. I do think that there's value to the work ethic it can build, but I also worry about overwork, how it sacrifices education, and how it encourages larger families where all the kids end up being disadvantaged as adults.
Found this: https://dumpz.org/bzaekrr8PSDA
You can have global singletons in React too that trigger events without passing them through the component hierarchy. It's just not clean design in my opinion. The same reason we avoid global variables in most applications, frontend or not.

If you want to go for a sane way of managing global state you can use redux or context which don't require you passing state up and down the component hierarchy. But in my experience, usually when you design your hierarchy and your data well it makes most sense actually using the hierarchy to your advantage.

There's something fractal about it where the higher-level components deal with higher-level state and problems. In the case of the map you have a shared state between the map and the controls which should be explicit in my opinion and not hidden in one of the components' html data attributes.

The more complex applications I develop, the more appreciate the concept of having a "single source of truth" and not sprinkling states in child components.
That's true (though I think you meant to link to WWVB), though most traditional time signals are broadcast in the longwave band and can only be reliably received at night.

Some areas of the planet do not have a time signal, the most obvious example is Australia.
A small Javascript standard library and more demand for packages with the use cases from running it server-side seem to be contributing factors.
So where does the energy originate then? Since you know and I apparently don't, teach me.
The History of Money in America [video][35:40]
This argument, which is common, amounts to saying that if Google Mail doesn't like the way .COM is run, it can just leave .COM.
Yeah, only snapping on release would prevent random snaps when dragging, which happened to me a couple of times.
I've been using it daily for 5 years and have been programming professionally for about 25. My criticisms of react can fill many pages (and what more, I've written them).

I'll readily admit to being a passionate radical about this stuff. The things I have to say are basically just a bunch of bomb throws and I don't feel this is the appropriate place nor do I have the requisite time.

Rest assured, I've put in a considerable amount of time and effort into my thoughts on the matter and we'll likely disagree, but let's not do that here.
oh i haven't thought of that. maybe that is what they could mean by 'drop the second price.'

adx ssp sends 1 bid of $10, even though their next highest internally is $9
mopub ssp or whoever sends 2 bids of $5 and $7

So if nytimes.com is doing a header bid on their own (or even through google's ad serving product - again imho the biggest problem) they don't see the $9 and the clearing price becomes $7.01

I guess it would be a question of contracts. This is beyond what I do so I have no idea what the standard number of bids each SSP sends to a header bidding auction, obviously don't want to send google scale 1 billion lol...
- The basic geography of the Bay Area: it's big, it's polycentric, it's hilly, there's a huge body of water on the direct route between many origin/destination pairs. The train ride can take hours and can actually cost quite a bit.

- America's inability to build mass transit cost-effectively. At this point train rides along BART are mostly between high-cost areas, and discussions of expanding the system even a little more have price tags in the tens of billions, and timelines of a decade or more. Besides, the radius of BART is about as wide as it ought to be — it should be filling in, not sprawling out, and that requires upzoning the areas along the train to be effective.