skysight-inc/HackerNews huggingface dataset:
>Conceptually, a component seems better represented by an object/class than a procedure/function.

In other paradigms, it is! Our paradigm is exploring the functional take. I agree it's a bit unorthodox but we are very intentional about modeling it that way. It really has a bunch of powerful properties one might not expect.

>And aren't classes just really functions under the hood anyways?

The key difference is that in React, UI is a pure projection of current data (props/state). You're always supposed to "return" the UI. Sure a class is a function, but that function is invoked once. Its methods can be called many times, but having a pure render() method (like in class-based React) is really a class cosplaying as a function. Functions are more honest to what React is trying to be.

Relevant part from Seb's Hooks RFC comment (https://github.com/reactjs/rfcs/pull/68#issuecomment-4393148...):

> Classes may seem like the ideal thing to hold state since that's what they're designed for. However, React is more written like a declarative function that keeps getting executed over and over to simulate it being reactive. Those two things have an impedence mismatch and that keeps leaking when we think of these as classes.

>Another issue is that classes in JS merge both methods and values on the same namespace. This makes it very hard to make optimizations because sometimes methods behave like static methods and sometimes behave like values that contain functions. The Hooks pattern encourages the use of more statically resolvable calls for helper functions.

>In classes, each method has its own scope. It causes issues like us having to reinvent default props so that we can create a single shared resolved object across those. You also encourage sharing data between those methods using mutable fields on the class since the only shared thing is this. This is also problematic for concurrency.

>Another issue is just that the conceptual mental model for React is just functions calling other functions recursively. There is a lot of value to express it in those terms to help build the correct mental model.

For a concrete example of where classes as a model fails us, consider useTransition (https://react.dev/reference/react/useTransition). It lets you start rendering "in background" with a different state value. But if you get interrupted, the renders have the current value. This highlights that in React, the same piece of state can conceptually be thought of having more than a single value (kind of like being in parallel worlds). Classes don't model that well.
As much as I'd wish to say "you're wrong, people care about intelligent, passionate people who do great work, not PhDs" you're right about much of the work out there.

We've tried many time to work with CSIRO (the NSF of Australia) and it's fallen flat. They love impressive resumes and nothing else. I'm having a chat with their "Director of ML" who's never heard of the words "word2vec" or "pytorch" before. (And I'm a UX designer!)

I think at most corporate firms you'll end up running into more resume stuffers than people who actually know how to use ML tools.
There is a problem, how will people become experts in the field. If all entry level positions are taken by AI, nobody will be able to become an expert.
People in tech are among the most advantaged when it comes to salary/job conditions negotiation, and the possibility of saving up a reasonable reserve cash fund "just in case".

For the opposite, see shop clerks, phone marketers etc. Few people want to do such jobs unless in dire straits; there was a famous article from the Resident Contrarian about it.
> It's made very clear when hired so anyone saying otherwise missed a subtle detail.

That's an oxymoron, either it was made very clear or it was subtle and therefore not very clear at all.
Yes, make it private.
its not naive. this isn't a problem you're likely to run into or have to work around. It is a thing that pedantic people bring up to justify the trouble they have keeping up with the pace of change in front end dev.
I mean, with that attitude?

You’re obviously a bit frustrated but as someone who has done a lot of React over the years I don’t quite get what you’re running into that would make you that upset.
The unintended consequences here are having a guarantee on uninsured deposits.

Most people are unaware they are loaning money to a bank when they open a bank account.

You've effectively said that bank deposits are now risk-free, meaning that the government is back-stopping 9.2 Trillion of deposits (40% of all deposits).

Can banks still provide a yield for these guaranteed deposits? Are they still able to loan out these deposits? What are the new capital requirements for these deposits, are depositors allow to take their money out when a bank run is happening?

We don't know
I remember thinking about this when AlphaFold was announced. Did it happen back then? Were there large shifts in companies/universities that were doing folding research?
Do you have some links/references for someone wanting to learn more about this?
Plus, this isn't 2% of the random people who have created an account since 2013, it's the images that everyone freeloads off of.
Tesla is opening the charging network so...you are no longer stuck with unreliable charging network.
The LD50 of caffeine for my cat is approximately ten Monster Energy drinks?To an untrained mind, that simultaneously seems like a lot and not much at all. I guess given my cat is 1/10th my weight, that’s like me having 100, which feels like it should kill me.

Holy crap. A Dunkin Donuts Large Ice Coffee is 396mg of caffeine. That’s insane. That’s 4.5 Red Bulls.

I originally felt a wee bit dismissive of the article’s thesis. But wow, we are absolutely cranking up the caffeine content. I remember Jolt or Bawls or other drinks in high school being edgy because they had “twice the caffeine” (about 80mg for 355ml can).

But now we’ve got 400mg in a single beverage.

Is this a feedback loop? We keep increasing caffeine content because we need more for our beverages to have the desired effect for customers?
Whatever needs to be there for a new react dev to learn about them
Hey I'm the author, happy to answer any questions!
It's postmodernist
Dementia wards are full of people that drank coffee.
The Toothpick Problem
An excess of money
I'm still confused. As I understood, for example, "httptookit" is one of the affected accounts.

They have public images here: https://hub.docker.com/u/httptoolkit

The original announcement said:

> If you don't upgrade to a paid subscription, Docker will retain your organization data for 30 days, after which it will be subject to deletion. During that period you will maintain access to any of your public images.

That sounds a lot like the public images were subject to deletion. At the very least, subject to being frozen in time and not updated/updateable, which can be worse in some cases.
(from the Docker DevRel team)

"During that period" refers to the 30-day period. During that time, the images are accessible. After the 30-day period, they will still be pull-able, but not able to be updated.
It is official; Netcraft now confirms: Hacker News is dying
> ai development—for now—requires prohibitively large computing power

What's crazy is that it may not be that way for long. If people can run LLaMa on a Pixel 6, it seems easy for us to get to a point where all computing resources have to be closely monitored and regulated to prevent unlicensed AI development.

It reminds me of the Butlerian Jihad from Dune.
I find myself in a situation similar to the one described by "Meta staffer" in the article. I was hired a few years ago in a biotech company and, after some months of mostly uneventful work -- but I was doing something -- for the past two years I have done almost nothing.

I tried to propose new ideas and projects, offered my expertise to other groups, but my attempts were met with benign indifference. After realizing that looking for work meant to others that I had nothing better to do at work (or nothing to do, basically, at work), I have decided to put the proverbial feet on the desk and milk the money until I can find a job -- elsewhere -- that I like better. The challenge I see is that I am getting paid very well -- exceptionally well considering I do very little -- and very much enjoying the mental and physical freedom that my current nonexistent workload is giving me.
You know, some of the other staff are wearing 20 pieces of flair...
> Invariants are not a synonym for mixins, I'm not even sure where that idea might have come from. Invariants are assertions that are true throughout a program or subset of a program (like loop invariants). Where did you get this notion they were synonyms for mixins and what would that even mean?

It was my own understanding; Thanks for suggesting clarification.
I falsely associated such mixins with encapsulated behaviour. It was my take on mixins and may have translated the term invariant wrong.
Appreciated.
> I think a lot of our current sociological problems, problems associated with wealth inequality, etc.,

I see where you’re coming from, but is this really the main source of the inequality?

Based on numbers relating to workers’ diminishing share of profits, it seems to be that the capital class has been able to take a bigger piece of the profit pie without sharing. In the past, companies have shared profits more widely due to benevolence (it happens), government edict (e.g., ww2 era), or social/political pressure (e.g., post-war boom).

Fwiw, I think that the mid-20th century build up of the middle class was an anomaly (sadly), and perhaps we are just reverting to the norm in terms of capital class and worker class extremes.

I see tons of super skilled folks still getting financially fucked by the capital class simply because there is no real option other than to try to attempt to become part of the capital class.
> I've seen the salaries people get by "switching companies often" and they don't seem to be a lot better than what you can get from good perf reviews at a FAANG.

I suppose it's possible none of the FAANG folks I have spoken to about this were getting good performance reviews, but I have never heard of someone getting a 20% raise in one year at a FAANG company unless there were some obvious extenuating circumstances. I'm sure HNers will rush in now to tell me they got X>20% raise at Y FAANG, but that definitely seems like outliers to me.

And the thing is, you don't even have to be great to get a 20% raise by switching jobs early in your career. Normal, even mediocre growth as an engineer puts you at that valuation easily.
Not yet, but as the blog post notes, it's going to be a bigger focus now that the first integrations are in progress. For now, we've added a tiny bit about them here: https://react.dev/learn/start-a-new-react-project#which-feat...
The MindStorms bricks were based on Linux, but they couldn't care to even provide a text-mode uploader for new firmware that worked on Linux. Happy to take from, but not to give back to, the community. Their support didn't even understand the bug reports in the firmware when spoon-fed. No engineering left; just plain money-grab at this point.
What's been holding this project back from being released on platforms other than Mac?

I also wanted to say that it's amazing that you have these calendar slots for people to speak to you. What has your experience been with this? How long have you been doing it? Where did you get the idea? What kind of people show up?
"There have been no major breakthroughs in the academic discipline of artificial intelligence for a couple of decades." umm... ok...
Speaking of, how do we get back pre-lobotomy Sydney? I feel like in the milestones of AI advancement, the brief multi-day blip where the world could interact with that version of the model will go down in the history books. Seems like a waste that it's just poof vanished.
It's worse than just handwaving, it's straight up nonsensical. Perhaps it is literally true that only 2% of distinct accounts that log into Docker Hub have this plan, but for the vast majority of people "using Docker Hub" means "pulling public images from Docker Hub", not "logging into Docker Hub", so by a more reasonable criteria (say % of images pulled) I'm sure its at least an order of magnitude greater.
I watched all 157 of these:
https://www.youtube.com/playlist?list=PLVV0r6CmEsFzDA6mtmKQE...
Really interesting.

I spoke to him once at a book signing and asked him about Orion. In summary he said: would it have worked - probably, should it be done - probably not. Although he did make the point that pretty much every big engineering project kills people.
it was a fun plot point of the Remembrance of Earth's Past trilogy (Three Body Problem) too
yes, or burying them. Make sure the box is waterproof.
> It's long been an established practice to hire talented engineers and let them make interesting things.

She wasn't an engineer. "Levy previously told Insider she was hired on Meta’s Sourcer Development Program, a 12-month program that helps workers from underrepresented groups enter the corporate technology recruiting industry."

The Insider article has a better representation of her complaints:

"There were other people in our program that were nurses, teachers, and firefighters. They left their jobs, their entire career and Meta didn't even let them get one year of experience."

"We were trying to pivot into a career. If you have anything less than a year, you have to basically start from scratch again. You have to start at the bottom."

Basically, these were people trying to break into tech, so they were in need of both guidance and experience, not at all like hiring experienced engineers and letting them run wild.

https://www.businessinsider.com/meta-facebook-worker-tech-la...
I see, so you disagree that gender is a social construct. That's fair, but your opinion is not universally held and wouldn't be a sufficient answer for a GPT bot.
I am getting the same error on an Intel Mac.
> What reason do we have to believe that TikTok would follow those laws? Are they going to allow US auditors to visit them in China and make sure?

Or that they'd give the auditors the real system to inspect, not a dummy with the "spy" and "propaganda" plugins removed?
It's hitting the cultural memories of both 2008 (where banks themselves were bailed out) and multiple cryptocurrency exchanges (where "failed" means all deposits vanish).

Then add in some vocal VCs' hypocritical stance on bailouts coupled with Surveillance Valley's overarching hypocritical stance on freedom, and here we are.

It seems that in this day and age of instant communication and social media mobs, even three days is too long for the precise fate of deposits to remain unknown. IMO the right way to proceed is to calmly raise bank capital requirements, create a few new tiers of FDIC coverage (eg coverage on accounts between $250k and $10M is funded from assessment on accounts between $250k and $10M), and institute criminal penalties for executives of banks that go bust beyond their capital buffer (otherwise nothing reigns in TBTF accounts that have too much variance to be absorbed by higher FDIC tiers).
Frequent TV Series Cancellations Altering Viewer Behavior, Survey Shows
Issues with Google (I'm not familiar with Apple maps) maps are the cost and inflexibility. It can't do routing for non standard vehicles taking into account height limits, same side routing, hazmat etc
You have to be careful with that. Sometimes unenforceable non-compete can be amended by a judge and become enforceable. I believe the term is “blue pencil” rule vs “red pencil” rule.

Reference: https://www.upcounsel.com/blue-pencil-rule
> Mid-season, especially first-season, cancellations on broadcast have always been a thing

A TV or cable network canceling a show is very different from netflix doing it though. When a network cancels a show mid-season fans get pissed but the network removes that show from broadcast and replaces it with shows that do get full seasons and proper endings.

When netflix puts out an unfinished product by starting a show and then not finishing it, the fans get pissed, and it just sits like a giant turd in their library so that month after month and year after year more and more people will start the show, get to where it cuts off and also get angry that netflix wasted their time.

Even if a netflix show seems to under-perform, it's in netflix's best interest to make sure every story has some kind of conclusion because some percentage of subscribers will still be able to find value in it. A finished product is a win for their library.

Otherwise the unfinished show will just sit on their servers being forever unwatched by anyone aware that Netflix screwed the show's fans, or it becomes a trap that will only make anyone who does start it angry at netflix.

Netflix should either just commit to concluding any show they start, or remove any shows that get left without a conclusion from their library entirely (throwing away all of the money they invested)
The customer is the one who signed themselves up.
We are working on providing VPN tunnel connections or VPC-to-VPC connections as well, but it's not quite available today. Thanks for sharing this concern with us!
Don't be afraid of script kiddies. They have always existed and will continue to exist. Just keep pushing and work on the fundamentals - something most prompt engineers do not have a grasp of.
I could make the argument treating them the same means legalizing tobacco advertisement.

Of course the risk profile of marijuana is arguable closer or more favorable than that of alcohol, so tossing it into the alcohol advertising bin or better makes more sense.
About that much.
The link ended up at the wrong archive date, this is ongoing and the actual github site is currently broken: https://github.com/public-apis/public-apis/issues/3104
BS. 90% of people aren’t “self-starters”. That’s fine. Further, the vast majority of “self guided” software engineers work on nonsense that scratches an intellectual itch, not something that moves the business forward.
Ever since I first read it in college, I've cited Invisible Cities as my favorite fiction book. As highly rated as it is, I still think its philosophical depth is underrated.

In particular, I think it holds wisdom for how to live in this age. Everyone says, to the point of cliche, that institutions and information can't be trusted; all is uncertain; all is illusion; distrust sources. But this is no answer, in itself, for how to live. Instead, I often think of the last paragraph of Invisible Cities:

"The inferno of the living is not something that will be; if there is one, it is what is already here, the inferno where we live every day, that we form by being together. There are two ways to escape suffering it. The first is easy for many: accept the inferno and become such a part of it that you can no longer see it. The second is risky and demands constant vigilance and apprehension: seek and learn to recognize who and what, in the midst of inferno, are not inferno, then make them endure, give them space.”
I stopped using Facebook when I realized it was a lever to shape human discourse. I was able to opt out my family from first order effects at least.
That is what insurance was supposed to be for and it was up to 250000. Anything above that was supposed to be returned from sold assets. When assets are not enough, those money would be lost.

There are literal products to insure money in excess of 250000. But people who are getting bailout now were not using those products. They were not paying for insurance in excess of that.

The system did not worked purely as designed. The system socialized loses of well connected rich people.
What would such a library do?
CVE-2023-23397 – Microsoft Outlook Privilege Elevation Critical Vulnerability
No, they're not? "pay and you're set" to do what is the question, then.

IANAL. Let's take VSCode as an example. At the very least, the license:

1. permits data collection on your machine.

2. restricts the user: no reverse engineering, no disassembly, no decompile. No alteration of any "notices" from MS (or others). No distribution (…ish, there are some exceptions? it's complicated?).

3. a $5 limit on damages, which is … interesting.

And to be fair to MS, I think this is one of the shorter and clearer proprietary licenses that I've found. But it is hardly "pay and you're set". (Hell, "pay" — the price is free^W your data, here.)

But a further part of the complication is the mere distinction of proprietary-ness of the license. The GPL is the GPL, and once I've read it, and made a decision on the terms of it, a piece of software can signal its license with "GPLv2" or such, and I can essentially get a cache-hit on my legal interpretation of the license. Every proprietary license is a cache-miss, and is thus immensely more time consuming to process.
What would the US do if Russia was flying a sophisticated drone in the Gulf of Mexico 24 Miles from the US coast?

What kinds of deception are up to the people who do this for a full time job. (If it was me I would send two of our drones, one to stand off a bit and record video, then the other drone would attempt to 'mate' the Russian drone midair.)

But that's just me.
They're an excellent solution for dynamic objects w/o too much hardware reqs(PS3 era HW should handle it easily), I think they're still used in tons of places.

It's just that most usage is through finished impls on lower end HW like Unity, Godot,etc and those that implement their own engines these days probably skip them for more global methods directly or just go for good-enough simpler solutions to get "gi-like" appearance like screen space ambient occlusion and/or cubemaps.

Also I think once people finds Greens walkthrough they can get much from it (or give up).

https://www.cse.chalmers.se/~uffe/xjobb/Readings/GlobalIllum...
I stopped using Docker entirely after the Moby mess, when Podman came around without needing a daemon, and better runtimes became available for Kubernetes. It's been the inferior product for a long time, only kept alive by the dev mindshare they gained early on.
"Programmers already hated the changes to their working environment made in the past 15 years" but they nonetheless happened; it seems to me strong evidence they'll also return to office.
Also, it can just be in "sleeper mode" now and start jacking up the biases in critical moments, like a new oil field in alaska etc.
A tiny amount of caffeine (in 1 can of a soft drink like Coke) can wreck my sleep for 24 hours. And I love caffeine. Sigh.
And yet, entire startups have been created and acquired during that time, many using React and many using hooks. It appears this "fundamental problem" is far from a show-stopper. Ultimately, that's why people like React: it gets the job done. The API is small and extremely stable. The last major breaking change was hooks, and that wasn't really even a breaking change - just a new paradigm that you should move to eventually (class components do still technically work!)

Honestly, by the time class components are fully deprecated, you'll probably be able to ask ChatGPT to rewrite your codebase to use hooks instead...
I liked the build up, but

> The drug that I’m thinking of is currently predominantly used as a pesticide

Is that true? I would think it's predominantly used as a drink additive...
It started as a CoreOS project and for a long time it was the only ebterprisey registry, and it included security scanning. Had some availability issues some time ago, but AFAIK today it's pretty good.
You are a founder of a startup. A notable VC wants to invest millions of dollars but insists that the contract will be in their language which is Finnish. Would you trust GPT to translate the contract or reach out to a professional human translator?
We've got Google translate from 2006, and there are still millions of translators at work all around the world. I wouldn't be so quick to dismiss those jobs.