skysight-inc/HackerNews huggingface dataset:
At the end of the day, components will always need a way to interface with state. Often times you want local component state because the cost of abstracting that tiny bit of state into some top level application state is disproportionately high - it just isn't a pragmatic choice. And for application state, ultimately if you have any interactivity in your application (which, if you have state, presumably you do), at _some point_ you're going to have to do something other than "map props to HTML".

> If you're doing anything other than that, your function components aren't really pure functions.

Nobody claims they are pure functions. They aren't - but that doesn't really matter. Its an API choice that encourages productivity while still having tools for the abstraction that you are advocating for.

State hooks can be seen as a sibling of props - both are inputs to the component, but whereas props "push" data into the component, hooks "pull" data from somewhere else. This _is_ separating concerns - when a component needs data that isn't inherently something the calling parent owns, then making it a prop would just be forcing that component's concerns up the tree. Often it is better for it to just be an impl detail.

I don't find the article here super compelling, and as a general practice it is often better to author your own custom hooks that encapsulate things like the underlying HTTP request away so that your component is only dealing with its own concerns, but functionally there's no difference and its just a matter of how you split up your code.
Because it's not forward compatible - every existing device which speaks IP would need to be upgraded to talk the new way.

Which means that, as you have to start over in a non-compatible manner, you might as well use the opportunity to make other improvements.
> the underlying humor seems to be saying “Isn’t this what we all really think? Isn’t this how we would all wish we could behave?”

That's a bad take, for the simple reason that the BOFH series was written by a Kiwi, for primarily NZ and UK audiences.

The underlying message is, consequently, quite the opposite.
I don’t give a fuck about apple providing value to shareholders.

Following that path is how companies lose their way.
People are not used to a cold that spread that fast and far and does so much damage. It's wrecking havoc on our health infrastructure. Usual procedures aren't working for now obviously.

So yes, if the symptoms are now different from before then it's news worthy.

Also, why complain that an article about covid deals with covid?
But the news isn’t that somebody on Twitter found this license issue, the news is that there’s a license issue. A tweet could be a good tip for a journalist to do journalistic things like finding out if its true and writing up some context of how this has happened before and what GPL is, that way the story can be understood by a wider audience.

Twitter is popular for people obsessed with hearing the latest rumor, but if TikTok is an illegal fork of OBS, I’d rather hear a few days later the well researched details - or if its a nothingburger overreaction, then I’d rather not hear about it at all.
Incentives failed to create a replacement workforce and enough workers refused the vax that they could not be replaced.
IPv4 options stopped being viable on the internet (everyone drops packets with options) sometime in early 2000s (the quickest doc with references I could find is [0] dated 2014, but I remember the practice started much earlier…), otherwise it looks like an interesting proposal at first sight.

Edit: I didn’t read much into detail, assuming that the hosts that do not understand this extension could just ignore the option. If the scheme doesn’t work in this case as sibling comment suggests, then yeah that’s a problem indeed :)

[0] https://datatracker.ietf.org/doc/html/rfc7126
You seem to take this seriously but putting something together like this is exactly what makes programming/engineering fun. lol. I love putting together weird crap like this.
Thanks for the clarification.

Is there anywhere where this is written up more clearly? Even on Twitter? Would be good to circulate a more clear explanation of what's going on.
One plus with dplyr is that I can share the code with non-R programmers (and even some non-programmers) and they can follow what is happening pretty easily, while data.table takes some more explanation.
But, again, you're using purchase price which is not how people buy homes. For $100,000 borrowed that's $422 a month at 3% and and $1,264 at 15%. Mortgage payments as a % of income are at historic lows:

https://fred.stlouisfed.org/series/MDSP

This is an unusually good time to be a home owner. You can borrow at near 0 or even slightly negative real interest rates and buy an asset that is almost guaranteed to hold/increase in value.
I don't know about Oklahoma, but I did learn about the Tulsa Massacre in high school. I was also taught that it's my responsibility as a citizen to question my government and hold them to account, to never blindly trust them, and to reject nationalism. This is a pretty clear difference...
That’s not the only repercussion. They can sue for copyright infringement and there can be large fines.
Then it's not an open source software license.
Thanks for the comment — I understand the sentiment, but we invest a lot more effort in trying to persuade security pros and cryptographers through the technical and security features of the product itself.

The people making the decision to use a product like Evervault isn't always a technical/security audience, so it's a tricky balance to navigate. We want both engineers and non-engineers to understand why using Evervault is important, so sometimes we fall short. This feedback is much appreciated though, and we'll definitely keep it in mind next time we do a website revamp (soon!). Thank you!
I have been coding in react full time for the last 8 months in large codebases. I have to say that initially hooks were hard to understand especially useEffect but then as I got comfortable with them they were great to use and I was really productive. But then, as I started shipping production code with react I found that hooks are extremely difficult to debug and very complex to wrap your head around when debugging because of side effects and implicit behavior.

I now really dislike hooks because of the amount of implicit behavior and useEffect poisons the codebase to add even more implicit behaviors/side effects to your application.

They make the rendering behavior really difficult to reason about. I caught a bug where you had to click a button twice and the reason why it happens is extremely difficult to reason about: https://stackoverflow.com/questions/58106099/react-onclick-n...

In my opinion what we need is an explicit state machine of the rendering of a component like vue’s component lifecycle. And these hooks we are using for state management we should instead use xstate to make the state transitions of a component explicit. React hooks (and redux and react-query) are bad (in my opinion) because they are easy to write with and hard to reason about.
Mate, thank you! I always forget the name of the website, but regularly go down a deep rabbit hole looking at how things were, whether I remember a detail right or not, and how were the other platforms at the time. It’s a great resource, I hope you can keep it running for a very long time.
It is greedy doctors; they would prefer to keep the patient and keep collecting payments for their visits than to call them out on their addiction, or god forbid actually treat them for it.
? Banning the teaching of critical race theory in schools is not the same thing as banning any discussion of the Tulsa race massacre.
> US embarrassments, however, have movies made about them, as opposed to burying them as deeply as possible

In some ways, I think this can actually serve to make people believe that real events were fictional - after all, movies are generally fictional or at least with a good dose of artistic license.

I also must point out that some western governments will go to extreme lengths to bury bad actions as deeply as possible - if it wasn't for leakers, there are a whole host of Western war crimes and atrocities that would never have surfaced to the public. Even when they do, government and media propaganda machines are very efficient at convincing the general populace there is nothing to see here.

We like to berate China and others for bad actions (rightly so), but in many respects Western governments are appalling hypocrites.
For those downvoting, consider when NJ banned bump stocks and required them to be turned in. There was a total of one turned in voluntarily last I heard.
the goal of free software is _freedom_.

money has nothing to do with any of it.
> Ad hoc, it would be The Homer of programming languages if allowed to grow unfettered.

For those who don't get the reference: https://www.youtube.com/watch?v=WPc-VEqBPHI
If it makes you feel better my own mediocrity in life despite passion and interests has gotten me to realize/reconcile a couple of things:

1. You cannot control results, just your efforts. So keep at it and don't worry about failures/lack of brilliance (don't seek failures ofcourse).
2. Trust there is a higher power (you don't need to be religious about this). There is pretty big chance you just stumbled into your bad luck the same way most of the "great folks" stumbled into their greatness (I am pretty sure you are not working orders of magnitude less than them).
OP uses a web server benchmarking tool, “ab”, in the article.
I really enjoy Ava [1] or anything assert-tape-like [2]. "uvu" [3] is getting a lot of love lately, but it's very feature limited and much of it's touted advantages are at the detriment to feature set.

[1] https://github.com/avajs/ava

[2] https://github.com/substack/tape

[3] https://github.com/lukeed/uvu

Jest is great for front-end (or full stack integration) testing, but I feel it's specialized for that use-case and doesn't always play nice with backend/middle-tier testing needs.
At the end of the day, it's a stretch to assume the students did anything other than wield their rights to free speech on an American (or other western) campus. Anti CCP activities, on campus or elsewhere in west makes it way through PRC media bubbles with of millions of eyeballs willing to do the dirty work, frequently within PRC soil. All it takes is for a post to trend. Freedom of speech in west =/= freedom from consequences, which applies even less in PRC.

What's nonsensical are the allegations that politically engaged pro-PRC/CCP Chinese national students must be state agents. And the disproportionate media attention it gets in the west whenever there's diaspora drama between PRC students and HK/Tibet etc. CCP doesn't need to instruct nationalists to behave like nationalists. Rich Chinese kids with social media are playing the same cancel culture game against the out-group and that just happens to be aligned/exploitable for PRC censorship.
> We can already see having consequentialist ethics that don't care about your freedom do a lot better at fighting pandemics

Can we? I have no idea how many people in China have died from covid, and neither do you. All we have to go on is what the state-run media says.
The shift to moving the Mach-O parsing from iBoot to kmutil has positive security implications. Adding a raw input option on top of that has zero additional security implications. It's a strict subset of the attack surface.
The biggest gun manufacturer you can buy stock in is Ruger (RGR) with a market cap of 1.17B. Add Smith & Wesson and you're at 2B. Throw in Vista Outdoors which owns many of the top US ammo brands (plus some minor firearm and accessory brands) and you can get the total up to 4.3B.

I'll multiply that by 10 to guesstimate privately held companies, local gun stores, and the rest of the long tail. So let's say we're at $43 billion for the whole gun industry in the US.

Isn't that kind of podunk scale for an industry to have a rock solid hold on US politics? Snapchat alone is valued at $72B. Ford is $80B. Pfizer is $330B. Dollar General is $51B. Heck, Office Depot is worth more than S&W or Ruger.
Great! Thanks for the feedback. I had something that I thought I could throw over the fence and then get on with my life because I had a solution for myself, but now that you mention it, that's not a good way to approach it. Instead I deleted it and forgot about it until today.

The thing that threw me off was the "Not again. Use search before you implement anything" comment. Ok, so if it's a recurring issue why isn't it fixed? It's not a big fix.
We encrypt data at the field level so your infrastructure (including code and database) never handles sensitive data in plaintext. We also help you manage the decryption keys, so rogue developers or data breaches are as close to inconsequential as they can possibly be.
You act like there is a choice. It will be rolled out period the decision has already been made. The only reason it is not out is Apple whined about their image and asked for a delay. The powers that be will keep dipping their toes in the water until the heat dies down then roll it out no matter what. Like many other such instances eventually the majority of the public will suffer from fatigue on the issue and stop caring. They have lives to lead and the people pushing for this are getting paid to do it as their job and also will gain power from it. They will never stop.
Not at all true. It's copyright infringement if you're not following a license contract, of which the GPL is.
Thanks, I meant to link that but got distracted by work. Darn the work.
Different but also not always so different.

American alarmism over communism has, at times, led them down a similar pathway.
It's not the tail wagging the dog, though. The large contingent of Americans who throw their political weight in an organized way behind gun ownership as a point of principle were rallied by the gun manufacturing industry. It wasn't organic.

It didn't happen in Australia or New Zealand or the UK even though gun enthusiasts exist in all of those countries.
Yeah, I brought up this idea in my parent comment, but the part I'm unsure of is whether or not there's broad public support for making taxes simpler. The devil is in the details here. If making taxes simpler included removing the mortgage interest deduction or maybe the child tax credit, I could imagine the proposal being extremely unpopular. I think some republicans have included simpler taxes on their list of campaign promises, but there hasn't been a swelling consensus around the issue. Finally, complicated tax deductions are a way for the govt to incentivize certain behavior or have some fine tuned controls over revenue, so there's a reasonable justification to keep some complications. tldr I agree that turbotax (and probably others) have lobbied to keep taxes complicated, but unless there's evidence that the broad public really cares about this, I'm unsure that those donations really did anything. It's easy to vote in your donors' interests when the vote doesn't matter (or if you were already voting that way!)
I was hoping for some mention of the ark of the covenant battery theory
https://strangeago.com/2019/11/08/ark-of-the-covenant-was-a-...
> a trustless manner automatically and the ability to execute computer programs that are deterministic, immutable, and will run forever.

Let's try to think quite ahead, going sci-fi even:

Maybe the only use case for such programs is valid if they are powerful AIs, or uploaded human minds. But for the blockchain to be able to run that? The compute and memory needed is astronomical. It also means that blockchain will be relevant technology only in the 22nd century and now we are just playing with it for no actual value whatsoever.

Because, how else would I ensure that my uploaded mind from year 2060 henceforth runs forever in the cloud? I can't, the 22nd century equivalent AWS may be shutdown. Solution - blockchain...
Just watch a few tournaments. He may well fly an easy 9 iron 148, but he can ramp it up to 170 or more if needed.
What I fear on that: The website is unreachable in Europe.

"451: Unavailable due to legal reasons"
> I'm assuming that's what raw image is?

You're assuming wrong. Booting unsigned kernels on Apple hardware has been possible since January. This just makes it slightly less annoying since you don't need to build a Mach-O binary to do it, and more future-proof since it decouples it from Apple's binary format which they can change the requirements for at any time (as they did this time). It means I don't have to go off and reverse engineer what the new requirements are, I can just stop using Mach-Os and know the raw option will never break (assuming it continues to exist), since there is nothing to break with a raw file.

Apple's machines are designed as an end-to-end ecosystem that suits their needs, and that they can change at any time - open, but without stability guarantees. This feature is effectively an acknowledgement that people using these machines outside of their ecosystem exist, and might want some stability guarantees.
Education and Healthcare should be a human right. Once people have good education and health, then they should earn everything else (including housing). Otherwise everthing becomes free. I agree that housing has become an investment, which should be curbed. People should be prevented or taxed heavily if they buy second house. This will give the younger generation a chance to buy their first home.
Why not just run a VM for their stuff and install it there. You can block the camera and microphone from the host. Do you work in the VM.
It appears to still be in a state where they could renew it and have it put back, though.
> when you receive dividends, you have provided something of value to the company (capital). Without your money, the company wouldn’t be able to generate that revenue.

No, for the absolute majority of stock and stockholders that's not true. You only provide capital to the company when you buy stock in an IPO. Otherwise, the money you paid -- usually much more than the company received in the IPO, which could have been a century or more ago -- went to the previous owner of the stock, who sold it to you.

> When you steal fish, you are providing absolutely no value.

As I understood the parable, carrying fish to market for the more hard-working fishermen was the protagonist's cushy sinecure of a job.
If you think the CCP doesn't have a hand in every major company or export you're naive.
and the Church or Christian beliefs.
They are _not_ pure functions. A pure function will return the same value for the same arguments every time. This is not true of functional components using hooks as the data received from calling the hook can change over time due to side effects.
And those are all things the US, the UK and most western government's have done & will do again.
I don't see anything objectionable in here. What do you take issue with? There's always an onus on customers to ensure that the service being provided will actually meets their needs.
The number is way low. Housing/rental costs are the largest expense and that's up 20% in many places. Used cars are up 40%.
This doesn't counter my point through. From the first link[1]

> "I could not study because of financial problems, so I thought I must send my children to school and wipe out the darkness from their lives,"

> "I got tremendous support from my school teachers," he said.

This is exactly what i said. Environment of achievement is more important. "poor" doesn't mean just lack of financial resources. you cannot simply overcome lack of parental and social investment and care by reading a SAT book.

> I would say the environment, social expectations, exemplars within family/friends, peers ect matter more than a book.

1. https://www.bbc.com/news/world-asia-india-32791175
Indeed, all of philosophy has devolved from praxis to theory unmooring itself from the seed by which it began: that of living informed by wisdom. It is damning that one of its elevated patrons is a man who wrote in spirals.

The philosophers of thousands of years ago instructed by which they lived: drinking to excess in bathtubs if you were a hedonist or meditating in the woods surviving only on the food which others gave you if you were a Buddhist.
DOS defrag goes back a lot farther than that. It even predates FAT32, let alone NTFS.
Thanks for pointing this out. I agree that the tone here doesn't align with what we want to commit to with our customers.

We'll do some work on improving this (probably removing the entire clause around waiving a right to claim) and ship the changes ASAP.
No one seems to care about quality. It's all about price. In the "Cheap, fast, quality triangle - pick 2" society has moved hard towards cheap, fast. Companies don't even want to cater to anything else.
One hint is that they don't let you call them "tyranny"
Could someone please help explain to me and (others who might not know) what is the concrete problem caused by this forking that doesn't comply with the license?
Nonsense can make sense to machine-learning models
I may have heard of this once on a reddit philosophy post or something, I think this really isn't an example of a popular idea that's squashed by corporate interests. That's not to say it's not a good one (I have no idea), but I don't know if we'd pass this (or if there's even any corporate opposition).
I understand; I was thinking from your angle. Rendering and hosting images is a big effort, what if someone change the query string slightly and you would lose the caching opportunity?

With a static site generator I can make the og:image generation part of the build process and host the result myself. Less burden for you, more security for me.
This.

Every company I’ve ever worked at, and that includes very large ones, will have legal, HR, and finance tell you at some point that “you must do X”. Sometimes X is no big deal and you do it. Sometimes it’s hard, and you ask the business to fund it or remove the requirement. Sometimes it’s nonsensical in your context and at that point the job becomes understanding why X is a requirement and how you can satisfy that requirement in some more pragmatic way.

At the end of the day, these functions are there to support the business.
It is not unusual to not know what you are doing if you refuse to RTFM. The stack user guide existed 5 years ago, and explains exactly what to do for all the problems your example ran into.

While I get not everyone has the same background, stack works very similarly to how C#, java, rust and just about every other compiled language with its own dependency management system works. His being surprised says more about him that it does stack.
This is actually really important. If you're a tab whore like me you'll always find a site that eventually eats up all your RAM and kills the browser dead. More SPAs need to test for memory "leaks" like these, especially if they're repeatedly creating large numbers of DOM elements through scripting.
Your PR deserved a better answer. They are free to reject, but courtesy isn't an option.
OP (neelc) and GPP (kevingadd) are both talking about Seattle.

Having any ISP competition at all is relatively new for the Seattle metro. It was essentially only Comcast for a decade. Now we have Centurylink in large parts of the city. I don’t think Google Fiber is widely available here.

Centurylink rates for 940/940 Mbps in Seattle are $65/mo, which isn’t as nice as $50, but not bad. Comcast charged like $80/mo (coax) for ~200/20 as recently as 2017.
Personally I prefer JS-light sites, but in today's SPA filled world, this tool is very welcome.
Actually, it wouldn't be hard to find out, it would just take some funding, or someone who can write a compiler/repl/IDE/wherever volunteering time to follow the direction of a layman.