frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Good enough ten-second sum types for Postgres

https://duckrabbit.tech/articles/pg-epoch.html
2•Shorn•7m ago•0 comments

Cut down your Sales and Marketing costs by 90%- Use Neo

https://www.aistaff.co/
1•neocortex666•8m ago•1 comments

A Linux kernel developer plays with Home Assistant: case studies

https://lwn.net/SubscriberLink/1017945/93d12d28178b372e/
1•pabs3•13m ago•0 comments

Williams Syndrome: The people who are too friendly

https://www.bbc.com/future/article/20250515-williams-syndrome-the-people-who-are-too-friendly
2•bookofjoe•14m ago•0 comments

Labeling a root cause is predicting the future, poorly

https://surfingcomplexity.blog/2025/05/15/labeling-a-root-cause-is-predicting-the-future-poorly/
1•azhenley•16m ago•0 comments

Perfect Recession Predictors

https://www.perfectpredictors.com/
3•gscott•17m ago•0 comments

Forest Fire Data Analysis

https://github.com/R-driste/DataSciForestFires
1•dristiroy•17m ago•1 comments

Implementation Details of Proximal Policy Optimization

https://iclr-blog-track.github.io/2022/03/25/ppo-implementation-details/
1•Anon84•19m ago•0 comments

Show HN: Roast My Dish – AI roasts your food photos with brutal honesty

https://www.roastmydish.online/
1•romeumaleiane•35m ago•0 comments

Show HN: Merliot – plugging physical devices into LLMs

https://github.com/merliot/hub
9•sfeldma•40m ago•1 comments

Doom: One of gaming's oldest series reckons with the challenges of 2025

https://www.bbc.com/news/articles/c4gezq2q911o
2•andsoitis•40m ago•1 comments

Microsoft confirms May Windows 10 updates trigger BitLocker recovery

https://www.bleepingcomputer.com/news/microsoft/microsoft-confirms-may-windows-10-updates-trigger-bitlocker-recovery/
2•Elliott-Diy•43m ago•0 comments

Floating Point Math

https://0.30000000000000004.com/
1•mooreds•46m ago•1 comments

Auth Providers and the Zero Trust Architecture

https://fusionauth.io/articles/security/zero-trust-identity-provider
2•mooreds•47m ago•0 comments

The web lives in WordPress and Mastodon (2024)

http://scripting.com/2024/10/11/132736.html
1•MaysonL•48m ago•0 comments

I'll see your 372 lines of Verilog and raise you five lines of math.

https://jamesevery.org/hollywood.html
1•JamesEvery•54m ago•1 comments

Ask HN: Do startup founders/teams care about health during stressful times?

1•Bkimmy16•1h ago•1 comments

Divorce Is a Gift

https://www.nytimes.com/2025/05/16/style/modern-love-divorce-is-a-gift.html
4•littlexsparkee•1h ago•1 comments

WebGL Gray-Scott Explorer (2012)

http://www.mrob.com/pub/comp/xmorphia/ogl/index.html
7•joebig•1h ago•0 comments

Raspberry Pi Reduces Prices on 4GB and 8GB Compute Module 4

https://linuxgizmos.com/raspberry-pi-reduces-prices-on-4gb-and-8gb-compute-module-4/
1•teleforce•1h ago•0 comments

The Rift over Trump's A.I. Deals in the Gulf

https://www.nytimes.com/2025/05/16/business/dealbook/trump-nvidia-ai-middle-east.html
4•1659447091•1h ago•1 comments

Three-Dimensional Printing Resin-Based Dental Provisional Crowns and Bridges

https://www.mdpi.com/1996-1944/18/10/2202
1•PaulHoule•1h ago•0 comments

TabPFN: Foundation Model for Tabular Data

https://github.com/PriorLabs/TabPFN
1•talles•1h ago•0 comments

Coming to a Brain Near You: A Tiny Computer

https://www.wsj.com/tech/brain-implant-musk-als-tbi-neuralink-f733998f
1•Bostonian•1h ago•1 comments

PIGO8 – A PICO-8 Inspired Fantasy Console Framework in Go

https://github.com/drpaneas/pigo8
1•drpaneas•1h ago•0 comments

Trump’s Push to Defund Harvard Prompts Clash Over Veteran Suicide Research

https://www.nytimes.com/2025/05/16/us/politics/trump-harvard-veterans-research.html
5•standardUser•1h ago•1 comments

Show HN: Mnemonic Finder – Extension to find mnemonic meanings by right-clicking

https://chromewebstore.google.com/detail/mnemonic-finder-–-right-c/dlfjdmnhefchjkndgpfjobabibdomifh
1•harivpanjwani•1h ago•1 comments

Show HN: VibePM, a Lightweight Task Manager for Cursor

https://getvibepm.com
1•baetylus•1h ago•1 comments

Grml 2025.05 – codename Nudlaug – Release Notes

https://grml.org/changelogs/README-grml-2025.05/
1•pabs3•1h ago•0 comments

OSSF Best Practices

https://github.com/ossf/wg-best-practices-os-developers
2•Brysonbw•1h ago•0 comments
Open in hackernews

Just Fucking Use React

https://justfuckingusereact.com
25•neoberg•7h ago

Comments

unevencoconut•7h ago
So, I should just use vanilla JavaScript? Well if you say so.
codedokode•5h ago
Actually data-binding UIs (UIs that automatically update themselves when model variable changes) allow to do more in less time. So you just spend more time to reach the same result.

For example, I don't want to use non-reactive UIs (like vanilla JS or GTK) anymore. And it's sad to see that many (or maybe even most of) open-source projects still manually write code to update the UI and lose time on this. It's like trying to build a house using ancient tools.

i_dont_know_any•6h ago
Goes to show that the "just do x, dipshit" (HTML, vanilla JS, etc.) rhetoric/framing carries literally zero weight.
bdangubic•6h ago
amazing that literally every single thing in this post would make me NOT want to use React (or another framework) :)
hooverd•6h ago
No thank you.
poobear22•6h ago
It may be worth investing in a vocabulary-expanding thesaurus, either HTML- or React-based.
cjdenio•6h ago
I don't trust anyone who pretends their framework of choice is always the correct choice. Real competency is knowing the right tool for the job. Or something like that.
neoberg•6h ago
Yep, that's what we're saying in the article.
codedokode•6h ago
Why not Vue? Unlike React it doesn't recalculate everything on every mouse move event.

Also I would like something that doesn't require to install Node.JS and unly packer like Webpack which invents its proprietary syntax instead of using standard EcmaScript. I like to make small apps that I run by clicking on HTML file and I don't have time to go to console and install things or type commands just to open a webpage.

neoberg•6h ago
The article says "use React (or Vue, or Svelte, or Angular if you're a masochist - the point is a modern framework"
thunky•44m ago
> modern framework

Modern usually doesn't last long.

schwartzworld•5h ago
> Unlike React it doesn't recalculate everything on every mouse move event.

Where did you ever get the idea react does this?

codedokode•4h ago
The react's algorithm of detecting changes is based on rebuilding a Virtual DOM tree (i.e. recalculating all components) and comparing that tree to the previous one. It is done, as I understand, every time someone calls update() or similar method on a component.

So React won't cause performance issues only if you have few model variables or manually optimize the code by using immutable data structures (which have their own performance issues) and pure components.

For comparison, Vue detects changing by wrapping all model variables with proxies and linking them to UI components that use them. This has an advantage of not having to recalculate everything and disadvantage of having an overhead for using proxies and creating a dependency graph. Also, having to deal with proxies adds more pain for the programmer.

neoberg•4h ago
> The react's algorithm of detecting changes is based on rebuilding a Virtual DOM tree

Not exactly. This is the "mental model" but not how the algorithm works internally. There are a lot of optimizations to do as little work as possible while "appearing" to rerender everything.

This is not to say one is better than the other - each has its own benefits. But that's not a reason to choose Vue over React.

unconed•3h ago
This is the virtual DOM mental model of react, and it is pretty much entirely wrong.

- React doesn't really distinguish between DOM components and your own components in how it evaluates. It's all part of the same "VDOM" tree. Creating and updating HTML tags doesn't flow differently from updating the props on your own components.

- React does sparse updates, starting at the topmost component(s) whose state changed. Frequently this is just one widget or a button. Full tree re-evaluation is rare.

- If a component has the _exact_ same `children` prop as before (`===`), as is often the case with e.g. context providers, because it was assigned by a parent, then React will skip re-rendering the children entirely with no effort from the developer.

- If a component is memoized with `memo(...)`, then a re-render will be stopped if it has the same props as before. This means even if your state lives high up in the tree, judicious use of memo can make it zippy af.

TLDR: If your react app is re-calculating the entire tree, you suck at react and you never bothered to learn it. Skill issue, git gud, etc. You're welcome.

SebastianKra•3h ago
That comparison is apples to oranges, because React components are typically much smaller than Vue components (think 20 components in one file). So while its true that a state update will rebuild an entire component, that diff might still only impact 2-3 dom nodes.

For high frequency updates such as reacting to mouse interactions, you can compose components in such a way that only one small component handles the high-frequency update, while it's siblings and children remain static.

In this way, React-components are closer to Vue's computed properties than Vue-components.

schwartzworld•1h ago
React can be very performant with little optimization if you apply FP principals to it, which makes sense since it was built with the goal of using FP to do frontend work.

If your whole tree is recalculating on every mousemove event, that is a giant code smell to say the least. You’d have to architect the app to work that way.

hoppp•6h ago
I use React or vanilla js or server side rendering or all three together, depending what the situation requires.

I found this website aggressive and not funny.

rubslopes•5h ago
Bear in mind that this is a response to another website: https://justfuckingusehtml.com/
designerbenny•5h ago
This style of abrasive language works best when promoting the simple thing. Like Grug brain, etc. You use simple language to show how little thought is needed to get to the good stuff.

Each of the many paragraphs here requires thought to understand. That's React for you.

turtlebits•5h ago
"sometimes, complexity is not a choice, it's a fucking requirement."

Complexity is never a requirement, and almost always self-inflicted.

throw310822•5h ago
> Try building a dashboard with a dozen filters, real-time updates from ten different sources, user preferences that change everything, and collaborative editing where five assholes are mashing keys at once. Your "simple" JavaScript will turn into a spaghetti monster that'll make Cthulhu look like a fucking Teletubby having a tea party.
potholereseller•5h ago
I'm waiting for an article entitled: "Just Use X" Considered Harmful. The Web is complex (i.e. has many parts) because it is meant to satisfy a very wide range of needs. Most websites use WordPress, because that's an especially easy option to host, configure, and add/update content. But "Just Use WordPress" would be nonsense; a lot of people need more (e.g. Google Maps) or less (e.g. static personal pages) than what WordPress is appropriate for.

I know, I'll write an article entitled "Just Fucking Use C, You Yellow-bellied Sapsuckers". It'll be about using good-old CGI with C. Imagine a web framework in C, which generates HTML, CSS, and JS. It'll be sleek, easy-to-deploy, portable, fast, and you can optimize to your heart's content. Plus, it will future-proof your career, because your boss will make you spend a chunk of your career re-writing it in Rust: CGI + Rust is the future that nobody is aware of (read: dreading) yet.

animitronix•2h ago
FUCK YOU I WON'T DO WHAT YOU TELL ME
trw55•2h ago
MOTHER FUCKER!