skysight-inc/HackerNews huggingface dataset:
React is in use in many heavily used frontends at Amazon, maybe not the retail site

But there's no inherent reason React couldn't be used for a page that basically shows pictures of products with a description next to them, the bottlenecks will have nothing to do with the frontend in a well engineered system for that type of site
the footnotes and bibliography of books you found amazing are good ways to find better-than-average books
There's a big gap between "doesn't care" and "wants to learn more" but there's ALSO a big gap betweeen "wants to learn more" and "actually learns more."

The post touches on this with "how do you know which books to read" but I think it's incredibly important to stress the motivation/execution part too of actually reading, learning, and practicing the new things.
Seems both plausible and, given your oddly furious and ardent denials, that you are the one in five.
Gnod is the classic reccomendation engine that works great and doesn’t harvest your data. It has a search for books:

https://www.gnooks.com/faves.php

General Gnod: gnod.com
Looks cool... anybody want to do an explain-like-im-not-a-c64-esoterica-expert on what this is?
Arguably Google Docs has done the best. It hasn't changed much, whereas all the other things you mentioned have got significantly worse.
That was easy. I think I'll do it again tomorrow.
Why did you decide to move out there? It sounds nice and relaxing but I think I would get lonely, or bored.
Prefacing that I agree -

The returns probably manifest at a senior level, where job security is already a non-issue and one has the privileges and power to make this knowledge actionable. This could be why the readers find it redundant and stick to coasting. I'd like to finish reading the Algorithm Design Manual, SICP and others, but it won't get me my next job, because I won't even be in the same room as someone who cares without jumping through other hoops first. It gets shuffled at the bottom of the pile. On top of it is: networking, building bs, contributing to bs, overengineering a bs blog where I'll write bs. I just want to work my 9-5, man (and do it well), but in my case it's a liability not to.
Made me burst out laughing
Patterns of real-time analytics in the $188B Gaming industry
Indeed, it's not fair to lay all the blame at the feet of the middling adtech worker. Plus a good fraction of the fibers are certified non-human.
Those extra journeys can be minimized with decent routing software. Even if it's as simple as ending up at B, then going directly to the nearest customer waiting for a ride.

And fwiw, if Tesla gets their robotaxi stuff working, their 22-passenger "robovan" is basically a bus anyway, just without a driver.
Nanocellulose-peptide self-assembly to improve strength and barrier performance
Why does liking a tweet (React) re-render the entire screen?
That is a strange story. Are you sure it wasn't just asked if he/she has thoughts about it? It's a common question to ask and meant to check how urgent things are.

In the Netherlands it has always been (since the nineties) that two doctors need to approve of it. There is now a lot of discussion is people who suffer mentally do fit the process. I think there are slow movements in this regard.
Google still works for me. I don't know if it's because I am in the EU or because uBlock Origin gets rid of the promoted results, probably both.

Also, if you are searching for something time-specific then "after:" and "before:" work great.
That doesn't make any sense, because their 8B is listed as benchmarking above the 13B "model A".
Wow. This seems like a really huge and impressive release, honestly. My impression of Bevy hasn’t always been the greatest for a number of reasons but I could possibly be convinced to see the light on this one! Kinda wish there was a C API though.
> Without the traffic that Google sends across the web, the incentive and resources to continue producing websites attractive to Google’s search algorithm will decline.

In the early days, I followed some basic guides about how to make web pages more attractive to Google search. But after a while, gave it up. Now I work on making pages solely useful to the users, and pay no attention to engagement metrics or any of that nonsense.
https://en.m.wikipedia.org/wiki/David_Mayer_de_Rothschild

ChatGPT likely has multiple levels of controls in place to prevent it from digging too deeply into members of this globally impactful family. Seems like this control was set too tight.
Hey, TIL.

I like that more, in a way, and less, in a way. The angle bracket is pointing off into nothing but throws `foo.txt` into `bar` anyway, so the control flow seems more messed up than in `bar < foo.txt`.

On the other hand it's structurally a bit more useful, because I can insert a different first stage very easily. But I still can't add a filename or change it to a glob, so cat is still more flexible.

So I'm going to stick to my trivial-catting ways, but thanks for the head's up.
Blaine is a pain
>Using semver for an external API is not a good fit at all. Compatibility is binary: it’s compatible or it’s not.

Not true. You can be compatible with all APIs, adding no new features; you can add new features; and you can break existing features. These are the levels that SemVer can communicate. This makes as much sense for a web API as a binary library.

>Think on this a bit, and consider how this applies to a service as a whole, and you’ll finally understand what everyone has been telling you.

What all 3 of them? A vast majority of people prefer SemVer even if they detest the work that it generates. It's like a form of documentation.
That's why you get lien releases from subcontractors before you pay the main contractor.
I thought that most of the reason that Apple's newer cpus are supposed to be so good for LLMs is that the integrated memory lets them have more channels than usual?
Composition Is a Function of Communication
You are getting downvoted because we are witnessing the beginning of the rehabilitation of WWII Germany. Contemporary leftists view politics through an oppressor-oppressed framework and Jews belong to the oppressor class. Acknowledging the widespread, virulent antisemitism in 1930s Germany lends sympathy to Jews. In turn, this sympathy lends legitimacy to the establishment of the state of Israel. As such, Leftists are attempting to characterize Nazis and antisemitism as a minority movement in 1920-30s Germany. The end goal is to paint the Holocaust as simply one of many historical genocides, and one which is equivalent to what has happened in Palestine over the last 20 years.
> only OpenAI was able to productize

What do you mean? Anthropic and Google both have widely used products based on transformers.
That's interesting. For me it takes 30 minutes, give or take, to start to feel sleepy, and I'm also a night owl :-)
Can you maybe use multiple logic analyzers and sync them by connecting one channel of every logic analyzer to the same clock signal?
Interesting points, articulated much better than I could (or dare risk.)

However I don't think the author is particularly familiar with Vancouver despite the example given, in part due to the awkward "Vancouver, Canada" (missing the province is a surefire way of telling someone isn't from Canada) but also because BC is rife with the type of performative land acknowledgements and guilt mentioned in the rest of the piece. The Squamish Nation developments are fantastic and I support them wholeheartedly. But they are a minority case in a sea of government-endorsed (mandated?) performative gestures.
What's the beef with clickable divs? Are you referring to just the case where they're misused for top level navigation? Or more generically?

It's pretty common to not want the default behavior of an A tag, so instead of the e.preventDefault(); e.stopImmediatePropagation(); dance, a clickable div works great. Non deep-linked sub-nav (tabs, etc...) come to mind.

Or maybe I'm hooked into a router and I need to pass some additional state, or control a transition direction, or maybe I want a navigation to happen after some async action completes, etc...

Also, not all clicks are navigation actions.

BTW, I'm not a react guy, just vanilla web components here, but genuinely curious why you see clickable divs as a bad thing?
I don’t think it can actually give you an accurate response, just something that looks like one.
I also don’t know. Reading the comments in the OP, it seems it’s some kind of defence game where successful attacks (ie those you fail to defend against) modify the game code, causing surprising behaviour.
The watershed of "good enough at programming to just get a real job" vs "can code enough to be really annoying to businesses, but not enough to hack it as a dev" is a lot more on the annoying side than you'd think.

I say this with the chagrin of someone who works on a cool software product that is also coincidentally really well-shaped to make people want to abuse it.
You made me go back and fullscreen it. It is crispy as hell on my 4K!

What a mechanism, though! Totally wild. I would have to have tested that 100 times to believe it would actually work.
So he's basically publishing a 20 pages philosophical logorrhea to make the simple point that developers should pay more attention to the difference between a web SITE and a web APP and choose their stack accordingly, which is a totally fair point to which I 100% agree with.

What I fail to see is how React is responsible for any of this because this sort of reads like his wife left him for one of the React engineer or some shit.
They exist but I can't use them because I need my bank apps to work, and magisk can only trick some of them.
60 years ago Cox's was by far my favorite apple for flavor but they could get soft and mealy in storage. Gala is the closest descendant that is much crisper and still has a lot of the Cox's flavor. I've never liked crisp or acidic apples, except in crumbles or pies where Granny Smith is my goto.
So glad I work in an ecosystem that doesn't even support SSR.

I'm also glad that the local-first movement got some traction.
More fuel may mean longer duration missions rather than getting to the destination faster.

Or the same duration mission with a more massive payload that can both do more and report more.
Not a very productive comment...
Where do people find these places? I have a hard time getting management to accept that more restrictions on who can review is not a bad thing.

Nearly 90% of our PR’s have zero comments.

I do have a hard ban on formatting comments though. If it’s not covered by the linter/formatter everything goes.
Motivating Personal Growth by Seeking Discomfort (2022)
Don’t use state, except within a component.

I build all my react this way.

No prop drilling, no Redux, no context, no mobx no state.

If you need to communicate between components then send a document event.

Your react application will be dramatically more simple without state.
NPM Left-Pad Incident
North stream 10B 50% German owned investment sabotage was qualified by its owners as traffic accident by unknown perpetrator and silently put under the carped.
What a irony
That's way more than the end-of-career salary for a pilot at a major UK airline, around £140k. Newly-qualified pilots at Ryanair make around £23k.
Wow, some of them look very artistic, I think they would look quite at home on shadertoy too.
NodeRED has a very simple json format to describe flows - basically an array of objects with each object describing a node and its connection.

If there were to be a commonality of formats between various node-based programming environments then an interchange between backends and frontends would be possible.

I was thinking of creating a python interpreter for node red flows but stopped at things such as jsonata support and mustache template engine.

NodeRED does make much use of its underlying NodeJS roots.
I never had that be a problem in practice because the interface was separate from implementation. It was exceptionally easy to sort that rare corner case out.
Pavel Hruby’s book, Model-Driven Design Using Business Patterns (Springer Verlag, Berlin, 2006) is to my knowledge the best book on this topic. It’s a pattern book so the format is a bit dry but the contents are great. I keep coming back to it and have implemented it several times over the years.
More Americans live without healthcare than without cars
I was following the article and nodding my head all the way up to the Rust section, at which point I lost track because I'm not too familiar with Rust :)

It's also not clear to me how `if let , while let , let-else` help (and how you'd use them), or what an "ergonomic sum type" is and how it helps with exceptions.

Would be really cool if there was a code snippet in Rust comparing/explaining the advantage over Java for each benefit.
Judging emotions as good or bad: Associations with psychological health
I honestly think this conversation gets overly complex because we fail to define the kind of websites we are talking about. These are my definitions, so I'll just share them upfront:

- a web site -- which has low interactivity requirements. Blogs, documentation sites, etc, go here. A vast majority of websites are in this bucket

- a web application -- which has high interactivity requirements. Things like Gmail, Linear, Google Calendar, and an enormous amount of SaaS apps fit in this bucket of things.

React is better at anything else at making the second. React developers happily pay the weird tradeoffs that come with it in order to efficiently develop the second.

React is pretty reasonably good at making the first, but the negative costs are more obvious.

As someone who has worked on one of the most consumed React apps in the world (Discord), I think the concerns with React are overstated. People want a good product, they don't care about the framework and it's costs. React is one of the most efficient (in terms of developer productivity) ways to get there.

I'm not a React loyalist; I would love to see someone dethrone React. My ears are always to the ground for new developments in technology. In my opinion it hasn't happened yet, but I would be surprised if it never happens.
I saved up enough money to last a year and then lived off that while I developed my product full time. By the end of that year I was making close to what I made in my old job. 20 years later and I'm still working for myself.
I very much dislike any process modifying my commit after I submit it. Rebasing becomes hell.
I actually miss exceptions sometimes in rust.

I know all about Result, it's great for errors that are recoverable. But there's a lot of errors that aren't really recoverable inside a library, but you may not want to cause the code using that library to crash - perhaps your buggy component can be worked around.

Ocaml has both algebraic data types and exceptions, and works really well.
Every time I can't middle click a link to open it in a new tab I want to punch a wall honestly
> This isn't really an argument though. It's an assertion that not honoring a commission agreement

Wrong. It's that (not honoring an agreement negotiated beforehand) and an argument against treating past-action-thing as inherently zero-cost and/or zero-value; the fact that a prior agreement is an element in the offered scenarios doesn't negate or neutralize the rest of it (just like the fact that a sandwich shop is an element in one of the scenarios doesn't negate or neutralize the broader reality for non-sandwich-involving scenarios).

And that's before we mention: there _is_ such an prior agreement in the case of modern IP—you can't not contend with the fact that if Alice is operating in the United States which has existing legislation granting her a "temporary monopoly" on her creative output, and then she generates the output on the basis that she'll be protected by the law of the land, and then you decide that you just don't agree with the idea of IP, then Alice is getting screwed over by someone not holding up their end of the bargain.
Bought some Gold Rush apples for the first time yesterday (South Mountain, PA) and really liked them - crunchy, tart, and spicy.
How Libra Was Killed
Well, LiveView is great
I deleted all IDE features (other than good highlighting) and I'm never going back! I kept adding more and more IDE features, and my subjective enjoyment and happiness writing code kept decreasing. I deleted them, and I love writing code again!

I think the fact that the language is aggravating without complex and tight IDE integration is one of the best indictments of the language there is. Java is another language that's intolerable without impossibly complex IDE support. The more rust matures the more it feels like that.
* Accessibility tools may not be able to detect that it's an interactive element unless you go out of your way to mark it up as such

* It often (always?) breaks middle-clicking/opening in a new tab. In your navigation example is fine, but for example in Jira it's an absolute crapshoot which links will behave properly when middle-clicked

* We already have a tag for a clickable element that is not a link: <button>
The point of my argument is that it is not ideological. Evidence of people being shown the door by their bank is widespread for topics not ideological.

What do you say in those cases? Because that's my argument.
"the United States is stolen land that should be given away"

is a self-disparaging comment - it only works when you're lying.

Just like "Oh, don't mind the mess" bridges the tension when your place is basically clean, "Take our country back" has social meaning so long as you don't mean it and no one believes you.
Is this a joke of some kind? Can people really not even remember the syntax of a for loop?
Most CPU instructions are 1-to-1 with their microcode. I dare say that microcode is nearly irrelevant, any high-performance instruction (ex: multiply, add, XOR, etc. etc.) is but a single instruction anyway.

Load/Store are memory dependent in all architectures. So that's just a different story as CPUs and GPUs have completely different ideas of how caches should work. (CPUs aim for latency, GPUs for bandwidth + incredibly large register spaces with substantial hiding of latency thanks to large occupancies).

-------------

That being said: reorder buffers on CPUs are well over 400-instructions these days, with super-large cores (like Apple's M4) is apparently on the order of 600 to 800 instructions.

Reorder buffers are _NOT_ translation. They're Tomasulo's algorithm (https://en.wikipedia.org/wiki/Tomasulo%27s_algorithm). If you want to know how CPUs do out-of-order, study that.

I'd say CPUs have small register spaces (16 architectural registers, maybe 32), but large register files of maybe 300 or 400+. Tomasulo's algorithm is used to out-of-order access registers.

You should think of instructions like "mov rax, [memory]" as closer to "rax = malloc(register); delayed-load(rax, memory); Out-of-order execute all instructions that don't use RAX ahead of us in instruction stream".

Tomasulo's algorithm means using ~300-register file to _pretend_ to be just 16 architectural registers. The 300 registers keeps the data out-of-order and allows you to execute. Registers in modern CPUs are closer to unique_ptr<int> in C++, assigning them frees (aka: reorder buffer) and also mallocs a new register off the register-file.
Seek is my go-to.
One of the things I liked about the Heavy Gear table top game was that the roll mechanic was to roll N dice and pick the highest. where N was your skill level. Now this did make the game somewhat brutal. but there was a lot less of the absurd high skill wiffing you see as in a D & D type system.

The other neat thing Heavy Gear did was they had none of this ablative armor bullshit like you see in Battletech. The armor ether works and you get no damage or it gets penetrated and you get full damage.
Apart from running screaming in the opposite direction from tagged templates for security reasons, I think a more suitable approach (that fits current ECMAScript naming conventions / namespacing) might just be something like:

const content = document.createTemplate(`tagged string`).content

You can already effectively do this, though you'll have to decide for yourself if putting the following lines of code into a top-level module translates to "Writing your own framework":

function html(markup) {
const templateNode = document.createElement(markup)
templateNode.innerHTML = markup
return templateNode.content
}

Then your code becomes roughly:

import html from "MyModule"

const content = html`<h1 id=hello>Hello world!</h1>`; // No New API Needed

document.querySelector("#container").replaceChildren(content.childNodes)

You're losing the pretty printing in the console but there's options for that -- from tweaking the toString() prototype method to straight up creating a custom class that acts as an Element.

Worth noting too: you could cheat in the html function above and have it directly return content.childNodes, thus reducing the differences between the two examples to simply "patch" vs "replaceChildren".

In your example, are you envisioning that HTMLElement.patch() is doing something different than Element.replaceChildren() or Element.replaceWith()? That'd be one area that wouldn't be addressed with this.

Having it first-party would be lovely but it's already pretty doable.
> You can close down the (smallish, veteran-owned) American company.

This is marketing fluff from the company. Who cares that they're vet-owned? They've been around for 10 years, they are not new to the solar game. They even claim to be an industry leader, if we're trusting their word.

> It would be great if American companies did more due diligence, but that increases costs.

How much is it going to cost to either replace all the inverters sold, or remedy whatever the gripe is with the manufacturer? How much is the outage going to cost across the (tens? hundreds?) of thousands of inverters sold?
I love react and don’t feel the pain that people talk about.

Yes it’s hard to learn the mental model but worth the effort.

My one tip to make your life with react easier …. don’t use state except within a component, instead send document events …… makes react 10X easier.

Having said the above I don’t do any SSR and not a fan of it.
Sorta, but it’s almost never worth blocking the PR over. Just ask to fix and approve. If it doesn’t happen and you come across it later just fix it.
> you have to build it on the most neutral, decentralized, unassailable network and asset, which, hands down, is Bitcoin.

Laughs in IMF sovereign debt ledgers
I'm not a democrat. Think about what you are saying. I give no indication of my political beliefs but you've been quite quick to label me. Seems exclusionary to ideas that are not your own. I'm making an observation about, what seems to me, a coordinated media campaign to mislead people for political purposes.
Their 'right' to do that was probably somewhere in unreadable ALL CAPS on a small piece of paper at the bottom of the shipping box that the end user never got.

Fuck 'em. Isolate your local net from the world and only let through devices you trust. Plenty of ways to do that, even at low expense. But you will have to make the effort or pay someone else to do it.
I'm not sure what to say.

I drive a Tesla, and I never believed it would drive by itself.

When it comes to the election, it's a big circus and everyone who believes the primary candidates are fools.

Blame is making someone responsible for your misery, you don't have to do that.
As a side consideration, according to the varying opinions in response to this question it’s not really clear what constitutes PII (personally identifying information).

When I researched this topic it was strange to me that no one seems to agree. Is it just arm-chair internet answers? Or is it actually that the letter of the law is actually ambiguous? What are the real world consequences of using this when it’s possible it violates GDPR? Or, what are the chances there would be consequences?