skysight-inc/HackerNews huggingface dataset:
"Lots of people are still using it, but nobody can quite remember why."

I can remember why. This, and every other article I've ever read arguing to replace React with Web Components, completely misunderstands the point of React. It isn't about JSX. It isn't about encapsulation. It isn't about reusability.

It is about enabling a design pattern where *the user interface is a pure functional transformation of the application state.*

I kind of feel like people get tripped up by the fact that "virtual DOM" and "shadow DOM" sort of sound similar. They have literally nothing to do with each other. The React "virtual DOM" allows you to *completely re-output the entire user interface* on every state change, which is not possible with any other design pattern, and is not possible without a framework, because actually re-rendering the entire tree on every state change isn't performative (or usable).

Anybody who is advocating an alternative to React needs to do one of two things:

(A) Make a convincing argument that a different design pattern is better. Some things we've tried, which most people think are worse:

1. Using the DOM as your data model (jQuery)

2. Manually writing virtual representations of every view (Backbone)

3. Auto-magically two-way binding some data structure with the DOM (Angular 1)

4. Observables (Ember, maybe Angular 2+?)

(B) Advocate a framework other than React that uses the same pattern as React, but improves the usability. I think the two places there is the most room for improvements are:

1. Animations

2. useEffect() in general

I have not seen anybody successfully do either A or B.

Recommended reading: https://acko.net/blog/get-in-zoomer-we-re-saving-react/
> a dozen different implementations of functions like "minimum" or "filter"

this is too real and my number 1 gripe with go
The problem with many red meat studies that show a negative effect, is typically the meat is eaten in the form of fast food cheeseburgers or in the case of dairy, pizza.

Red meat alone does not cause heart disease. It’s based off the fraudulent study regarding saturated fat and heart disease, which the sugar industry paid for.

More likely, is the breads used in SAD (which have very high amounts of sugar vs other countries’ bread) has a much heavier hand in heart disease.

Further, the science about cholesterol and what markers mean what amount of heart disease risk isn’t even a clear science. LSL vs HDL vs triglycerides. It seems we know triglycerides elevated is not good, but it’s not clear on LDL and HDL alone (there’s also the size of the particle that matters in determining cardiovascular risk)

Show me a study of a population who eats steaks, vegetables, avoids processed foods, and is athletic and I’ll show you a healthy heart.

https://www.nytimes.com/2016/09/13/well/eat/how-the-sugar-in....

https://www.npr.org/sections/thetwo-way/2016/09/13/493739074...

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9794145/#:~:tex....
For Google Drive files, you don't need a special account or service to back up to Synology and B2, which I also do. I use the Synology Cloud Sync service to automatically sync all Google Drive files to the synology, then another Cloud Sync task to backup the Synology to B2. Works great.
I'm from the region and every regular person pays for streaming these days, especially youngsters.

I've searched for content on danish trackers once, for content that wasn't on any services, and i think a few people use it for that, ie. fans or film buffs.

Often whole seasons are removed, content jumps around, or stuff just disappears forever even if you've paid for it.

So this operation seems very excessive.

Maybe there's an active strategy to remove old stuff to keep people interested in the newer?

Either way this weird cultural goldfish-memory is tragic. There's so much out there not on streaming these days.
t took me a week to get used to the syntax. Now that I'm not working with Clojure anymore, I find every other syntax somewhat repulsive. When I was looking into Elixir and now OCaml, I found them much harder to follow ¯\_(ツ)_/¯
> Art isn't an easier problem than math.

If I was asked to draw

a. the emptiness in your heart

b. the lack of furniture in your room

c. your empty bank balance

d. starvation

e. object returned by a python function with no return

...

I could just submit an empty sheet of paper, & an artist would argue that my empty sheet of paper represents any/all of the above.

Now, if I turn in the same empty paper at a math qualifier and argue that it represents the infinite set of real and complex numbers, ergo the answer to the posed qual problem must be in there, I'll get kicked out of that phd program in a jiffy.
If I were already using the mouse for the cut&paste step, yeah, it would flow from one to the other. (In practice, I do both the cut-whole-url and paste steps entirely from the keyboard anyway, so using a gesture at all would be flow-breaking. But if I were mousing for the surrounding work it would make sense.)

(I've actually had mouse-based workflows sometimes - I normally prefer a trackpoint, not as a mouse substitute but as "save me from doing weird contortions to keyboard-orient absolutely everything" - but the times when I've been a tech lead and spending excessive time in spreadsheets and planning apps, I've hooked up a relatively fancy mouse and started to develop more mouse-oriented shortcuts. Fortunately I've escaped from that :-)
>I need to make a change across both of these modules. Will my compilation pick up the changes?

Yes, add a replace directive to A's go.mod and point it to B's directory. It'll pick up changes immediately. You can also vendor + disable modules + change stuff in the vendor folder to quickly experiment, though IDEs tend to get moody about this.

Backwards incompatible in principle: release a new major version of B. Import and use that.

Backwards incompatible in practice: few projects actually do that reliably, IMO because tooling to help you do this or detect the need is somewhere between "bad" and "horrifyingly bad". Most just make the breaking change, increase the minimum version in A, and it'll work for anyone who stays up to date on A (this is often good enough for internal use). Though people updating B separately by hand might break.
Nicotine is more addictive than weed [1], and we’ve seen how productive prohibition was with that one.

[1] https://www.uclahealth.org/news/nicotine-e-cigarettes-cannab...
They don't need to win IMO, they need to get a gold medal. I got a gold medal at IMO solving 4 out of 6 problems

I don't want to speculate, but it's not inconceivable that this will be achieved by AI within the future lifetime of XTX
I have like 6 of those MongoDB tshirts and they are SO COMFY
Take photo.
Enjoy them, they are temporary.
No-one will give a fuck in 25 years.
Define "effective." A company spends its money on people and other inputs to productivity. To my mind that's a lot more "effective" than giving it to the investor class that "spends" it on other investments (by buying it from other people in the investment class).

Most of the money returned to shareholders isn't going to be pumped back into the economy as money spent on goods and services. It just goes into the casino we call stock and bond markets where it provides some liquidity for some investment into companies, but most of it is just spinning around creating no value.
> They routinely use nightly version, no?

Depends on what you mean by "routinely." In 2020, the last year that the annual survey published these numbers, 8.7% of Rust programmers used exclusively nightly. It has been dropping every year.

Some people do occasionally use nightly; at my job, most code is on stable, but there are a few projects that do currently require a couple of nightly specific things.
Taking down starlink is more or less impossible, it’s too many satellites and anti satellite weaponry is more expensive than starlink satellites. Even the Russians could not take starlink down.

Of course they could threaten him personally but I doubt that this would be well received internationally and Israel needs allies.
Show HN: Gmail replies with GPT: context-aware and personalized
ReplaiGPT allows you to automatically compose email replies with AI and predefined context about you or your business.
The difference to all the other ChatGPT Email Chrome extensions is that the AI creates email replies for you, but has no Context whatsoever about you or your Business.
Show HN: Reference architecture for RAG applications on AWS
FWIW it doesn't matter which formatter you choose, so long as everyone working on the project is required to use it.
it's about having you logged in for the day.

logged in user ad impression is 8 to 12 usd. anonymous user is .01cent per thousands.
Yes, depending on the language.
Day the ends in y.
I assume with the duck typing you are talking about interfaces? How has that caused issues?

With huge projects that pull in packages i have seen the dependency management become a mess but most of the time its not that bad.
> Your original argument wasn’t about minimum voting age; you claimed the law would backfire due to the current generation.

Don’t pivot. You claimed that I didn’t understand the law. Then you explained the law to me (thanks, by the way) exactly as I understood it.

> Your original argument wasn’t about minimum voting age; you claimed the law would backfire due to the current generation.

> The point is to eliminate cigarettes over a long time period and many generations, so I don’t see how it would backfire. How would there be more smokers in 2093 if the minimum age to buy cigarettes is 85?

Oh I see: if the law is implemented and there is no backfire effect for 65 years then how could there be a backfire effect! This is like arguing in 1920 that Prohibition won’t backfire since people in 2020 won’t remember what alcohol being legal was like.

> If you want to change your argument, that’s fine, but my comment was in response to your original argument.

Oh give me a break! I am not changing my argument! I corrected your “correction” of how I “don’t understand” the law. That was the whole point of my comment.

You can have your “argument victory” for all I care.
since bots are programmed, they can argue they 'live in a simulation'...

seems you're at about 50/50 human traffic :)
Nowadays you can upload HD photos via WhatsApp. That is the easiest solution.

For building projects, we shared photos and videos with Cluster.

See: https://cluster.co/
JSON Web Token Right Answers
My guess is that the downvoters think you’re talking about an actor rather than the computer scientist: https://en.wikipedia.org/wiki/Carl_Hewitt
Agreed! I'd go so far as to say that we would be better off if Prettier was never created.
Public Schools aren’t capable of doing basic things like teaching kids to read so idk why anyone would expect them to do something as complex as diagnosing youth dyslexia
Here in India we have an app named "Where is my train?". Local people use this app a lot when traveling by train. It's not government owned either and has no ads. Just throwing in here for some inspiration since I don't know the inner workings of that app.

Edit: It uses nearby cell towers to estimate the location of train
Ruff: An fast Python linter and code formatter, written in Rust
Your criticism was the biggest one of React when it came out -- mixing view code with your controller code. Big no no. Everyone loved the MVC pattern (model-viewer-controller where you separate these things in different places) and what React did was a big no no.

But you know, if you are trying to put HTML templates in separate files, you have to now send extra HTTP requests. That's an even bigger no no.

In other languages, you can just put your template in a separate file and load it from your package/.jar/assembly. Super easy and most importantly, 100% standard and provided by the environment.

So people just settled with React because it worked and no successfully invented a standard bundle format for the web.

F' it we said.
> You don't need those in React either.

I mean... sometimes you do, that's why they exist. But yeah, most of the time you don't.

> Whatever you do in Web Components can probably (most likely) be done in React.

Of course! React is a good and powerful framework. But everything you do in React can be done in Angular 1.0 or even backbone.js. As always with frameworks it's about the productivity / performance ratio for your team (or for libraries, the ratio for your consumers).

> After all, Web Components are a solidified 2010-era design.

A lot of the web components related APIs are being actively developed including constructable stylesheets, shadow DOM APIs and more. Regardless, the era of design is not a great point in either the "pro" or "con" column, and is usually an ambiguous shorthand for the actual quality being critiqued.
So it begins...

Now that the entire programming world has just about hard coded GitHub into the very center of everything, it's time to start enshittifying.
And then there's impostors, which people who denigrate sourcing rules never seem to even think of.
You all talk a big game, but your actions are ineffectual. You don't consider the leverage you have to "encourage" Microsoft to turn public GitHub search back on.

Real leverage looks like all of us banding together to boycott Microsoft's most profitable income streams. Not GitHub. But cloud services like Azure, and Office, gaming, etc:

https://www.nasdaq.com/articles/these-2-revenue-streams-acco...

It's about making unilateral ensh*ttification decisions like this so expensive for parent companies that they become unthinkable. The board and investors sometimes need to be reminded how expensive these decisions really are.

We've all seen stock prices tank by half in one day since the Dot Bomb. A weak signal starts a big wave in this age of algorithmic trading.

A high-profile company publicly switching to AWS/GCP to avoid eating MS's sh@t sends a strong signal.

More importantly, after everything that MS has put us through over the decades, divesting is FUN! :-)
It seems like your criticism is that writing a character repeatedly doesn't help you recall which characters to use for a given word, with which I'll heartily agree – practice doesn't tend to make you better at things you aren't practicing.

But that's not what writing drills are about in the first place. Keep in mind native speakers are already advanced users of the spoken language by the time they're beginning to read and write, and the mechanical task of writing (just putting down the right strokes in the right order) requires relatively more effort. That's what the writing drills are supposed to help practice, and I think they work just fine for that purpose.

If you create flashcards that just show you a character and your task is to recreate it on paper, you may find that writing it repeatedly instead of just once helps you do better tomorrow. (Just at this task, which you may not care about much.)

Similarly, if you review your definition/pronunciation → character flashcards multiple times on the same day (e.g. in Anki by choosing "again" or "hard" for new cards, or by using the "cram" feature) you should be more likely to remember tomorrow. (This might also not be something you care about, unless you have an important test tomorrow – which is probably what Anki supports "cramming" for.)
> Well, if that's what they believe they are comically misinformed.

Ah yes, you've just reminded me of one of the other issues: Some Remain campaigners had difficulty engaging with people who were on the fence about the EU without calling them ignorant yokels.

> It's going to be a long road back to inclusivity and if and when that happens you can bet that it won't be the nice exceptional situation that was there before.

Absolutely agree with you here - Brexit was such a bloodbath politically a UK re-entry won't be on the cards for a generation IMHO.
Thank you for your work and dedication to this. This was sorely needed.
A majority of the population's landlord is the bank that holds their mortgage, and they don't just raise your mortgage payment because your income increases.
I tried Go for about a day, and the exception handling and null-pointer issues were exactly the things that made me lose interest.
Prettier’s biggest win is that it automates 99% of style complaints away and practically eliminates most classes of nitpicking.

But, as well as the issue with line noise, it also encourages patterns that I think detract from code comprehension. It favours expressions over statements and even now, it’s not easy to set a breakpoint in the middle of one, so you end up rewriting into statements just so you can step through.

It will favour deeply nested ternary statements in react so your code reads more like a tree with densely tangled roots.

It will favour shorthand syntax for optionally merging properties into an object, which basically relies on a quirk of the splat operator.

There is fuck all standard library to speak of without pulling in an insane amount of dependencies, but surely stuff like deep merge and compact should be provided out of the box?
So to be clear your concern about the effect that something like chatGPT will have on human creativity is limited entirely to songwriting?
USB-C works without USB-PD. Plain USB-C is simpler than USB-A since it supplies 1.5A or 3A based on resistors. The USB-C to USB-A and microUSB adapters are just resistors to use legacy USB. Legacy USB power is fairly complicated with different standards for 500mA, 1A, and 2.4A power. The reason it looks simple is that cheap chip is in every charger and device.

You can probably provide at least 2.4A 5V on USB-A, just like providing 3A 5V would be fine with USB-C.
Python is valuable due to the ecosystem of libraries it offers. The language itself is extremely poor. I think this is not something most Python users are aware of since if you are doing ML, data-science or simple scripting there is little reason to step outside of the ecosystem.

- Weird scoping rules

- Very limited list-comprehensions

- Ability to monkey patch things is a liability

- Mutability by default

- Lack of support for functional programming

- Deployment story remains extremely painful

- Tacked on type-system

- Slow execution of pure Python code

If this sounds like a rant... it sort of is. I find it really sad that so much programmer effort is being put into something with poor fundamentals. Many of these issues cannot be fixed with breaking changes.
Very nice, thanks for the write up :). I was thinking about how you could get route maps, without actually having to source shape files. Given you are tracking trains every minute, you could probably build up your own route maps by dropping a point every time you get one, and connecting them with straight lines. Over time the route would become closer and closer to reality.
> Sharepoint broke Excel - you cannot link between shared documents easily.

I actually found a way where I work now, I made a shortcut to the sharepoint folder from teams that appear in the file explorer, I can then link the document.

Of course this only works for me and not if I share the file.

Can't wait for the merge of the desktop and web excel to finally break it all...

I also overwrote an important document today because the idiotic auto save was turned on, I used the document as a template for a new one without checking.

Luckily I had a copy of the important one in my Documents folder on the local computer which they recommend you not to do since you might have data loss!

Yes, I hate office 365...
Interesting… they obviously changed there approach in the last few years
React "won" I think because it trojan horsed itself as being "just the view" but then morphed into a hand-rolled kitchen-sink solution, and inertia kept people around.
Should come as no surprise, honestly.

Above all else since turning public, Meta is in the business of making money. It's not illegal to target user's vulnerabilities in order to get the user to spend more time or money on their platform. It's unethical as hell, but it's business 101 - the shareholders would revolt if Zuck came out and said "here's this opportunity to make you all a ton of money, but we're placing our personal ethics above doing this, so we're not". He'd get sued for breach of fiduciary duty.

Now, are Meta's product strategies unethical (or questionably ethical), harmful to society, and setting bad precedent? Yeah, I'd agree with that. But the market and shareholders like money.
WASIX will enable to run biome fully sandboxed at close to native speeds.

Imagine you can safely assume that the formatter program will only have access to the directory you provide, and not anything outside of it (not even the network!).

In summary, Wasmer + WASIX is like Docker, but much more lightweight :)
"Eat food, mostly plants, not too much."
Not the parent poster, but my experience may be relevant.

My background is exclusively in software engineering and computer science. I started by reading “Digital Design and Computer Architecture”. There’s new RISC-V edition https://a.co/d/imzGBK5 as well as freely available ARM edition https://dl.acm.org/doi/book/10.5555/2815529. The book starts from Boolean logic and transistor technology and goes all the way to assembly programming with everything in between. Most importantly gives great introduction to HDLs. Next I played with a bunch of hardware projects specifically targeting inexpensive Arty-A7 board to get comfortable with FPGA tooling.

I can attest to the parent saying that this is sufficiently different from software engineering I do at my day job and therefore feels a lot more like hobby. Especially if you also foray into wire-wrap prototyping, PCB design and assembly. Finding and fixing analog "bugs" is so much fun!
I'm pretty sure this is exactly it. Thank you!
Web components are a half-baked solution. It only becomes useful with another framework (even if it's very lightweight) like lit. At which point I might as well use vue/react/svelte since I am already brining in a library. Tech like preact is really lightweight as well, and given the popularity of react, is enough to offset any benefits web components have.

I would really like it if we reached a point where a web project only had a single dependency that's a bundler like vite that you point to an index file, and that's it.
To be fair, most million plus LOC projects match “misfortune” and “nightmare”.
It is probably quite hard to triangulate sat coms from dishes since they are aimed?
> It is about enabling a design pattern where the user interface is a pure functional transformation of the application state.

This is only true for read-only components.

There is no "pure functional" when you introduce state and interactivity. See here: https://mckoder.medium.com/why-react-is-not-functional-b1ed1...
Buy backs are just tax preferred dividends, they are controversial for the taxes and not their existence.
I'd probably just buy a domain name and throw up a quick webpage for upload. Photos will be whatever size/quality they are when uploaded and galleries can be auto-generated. You can also add updates, maps, apologies, song requests for the reception, or anything else you want to the website. After the wedding you can leave it online forever or zip the whole thing up and store it or even mail copies out to your guests on thumb drives.
Is it an option to work less? Say 4 days instead of five? It will give you more time with your family and it will decouple you more from work without directly giving up your job.
Web components are a bit verbose by themselves but used with a library like lit.js you can build a framework agnostic component library. Angular and Vue support WC out of the box and they have a wrapper for React.
I think the only thing missing(or not mature enough right) now is SSR. There are probably libraries other than lit.js that take the pain out of writing WC.

I was skeptical at first but I've seen in production a lit.js/WC component library used with React and Angular successfully in the banking sector and it works surprisingly well.