Readit News logoReadit News
nawgz commented on Denial of service and source code exposure in React Server Components   react.dev/blog/2025/12/11... · Posted by u/sangeeth96
skydhash · 5 days ago
The thing is time to render and interactivity is much more reliant on the database queries and the internet connection of the user than anything else. Now instead of a spinner or a progress bar in the toolbar of the browser, now I got skeleton loaders and use half of GB for one tab.
nawgz · 5 days ago
Not to defend the practice, I’ve never partaken, but I think there’s some legit timing arguments that a server renderer can integrate more requests faster thanks to being collocated with services and dbs.
nawgz commented on Denial of service and source code exposure in React Server Components   react.dev/blog/2025/12/11... · Posted by u/sangeeth96
reactordev · 6 days ago
Correct, their main purpose is ecosystem lock-in. Because why return json when you can return html. Why even build a SPA when the old school model of server-side includes and PHP worked just fine? TS with koa and htmx if you must but server-side react components are kind of a waste of time. Give me one example where server side react components are the answer over a fetch and json or just fetching an html page?
nawgz · 5 days ago
The only example that has any traction in my view are web-shops, which claim that time-to-render and time-to-interactivity are critical for customer retention.

Surely there are not so many people building e-commerce sites that server components should have ever become so popular.

nawgz commented on An SVG is all you need   jon.recoil.org/blog/2025/... · Posted by u/sadiq
amelius · 6 days ago
I recently found out that it is surprisingly hard to convert an SVG file that consists of series of line segments into a list of those line segments in Python.

I tried with ChatGPT and Claude but both were not able to find a solution that respects the entire specification, especially transforms.

Initially, my expectation was that there must be a library for this kind of thing, but alas.

nawgz · 5 days ago
I seem to remember that the DOM nodes themselves expose some pretty useful functions. I think it was in the context of detecting edge crossings for a graph router, but you were able to interact with the computed/rendered coordinates in this context.

Sorry that's not more useful and explicit, it was a while back and never went anywhere.

nawgz commented on AI CEO – Replace your boss before they replace you   replaceyourboss.ai/... · Posted by u/_tk_
gridspy · 20 days ago
They are a bridge between those with money and those with skill. Plus they can aggregate information and act as a repository of knowledge and decision maker for their teams.

These are valuable skills, though perhaps nowhere near as valuable as they end up being in a free market.

nawgz · 20 days ago
A mistake lies in thinking it’s a market, but it’s egregious you’d call it free
nawgz commented on APT Rust requirement raises questions   lwn.net/SubscriberLink/10... · Posted by u/todsacerdoti
dv35z · 22 days ago
Every time I consider learning Rust, I am thrown back by how... "janky" the syntax is. It seems to me that we ought to have a system-level language which builds upon the learnings of the past 20+ years. Can someone help me understand this? Why are we pushing forward with a language that has a Perl-esque unreadability...?

Comparison: I often program in Python (and teach it) - and while it has its own syntax warts & frustrations - overall the language has a "pseudocode which compiles" approach, which I appreciate. Similarly, I appreciate what Kotlin has done with Java. Is there a "Kotlin for Rust"? or another high quality system language we ought to be investing in? I genuinely believe that languages ought to start with "newbie friendliness", and would love to hear challenges to that idea.

nawgz · 22 days ago
Python users don’t even believe in enabling cursory type checking, their language design is surpassed even by JavaScript, should it really even be mentioned in a language comparison? It is a tool for ML, nothing else in that language is good or worthwhile
nawgz commented on McDonald's is losing its low-income customers   latimes.com/business/stor... · Posted by u/PaulHoule
jameslk · 25 days ago
> Supply and demand as the reason for profit percentage increasing margin makes no sense. I’d be interested in how you’d debate that.

That was never my argument. The commenter I responded to edited his comment to add those points after I replied. This was his comment before:

> Companies cannot set prices arbitrarily

[Source required]

nawgz · 24 days ago
That is pretty obvious from where it says “Edit:”, what isn’t obvious is how Supply and Demand prevents companies from setting prices arbitrarily. Which is and always was what your comment said.

Dead Comment

nawgz commented on McDonald's is losing its low-income customers   latimes.com/business/stor... · Posted by u/PaulHoule
Barrin92 · a month ago
No, inflation is a monetary and political phenomenon. Companies cannot set prices arbitrarily, in particular not the fast food industry which faces what is probably the strongest competition on the planet. The entire restaurant industry does not collude on the prices of burgers.

In this particular case it's wage-push inflation. The lowest quintile of workers has seen very strong wage gains among other reasons because of tight labour markets and minimum wage legislation, which on the consumer side prices a lot of people out of the service economy.

nawgz · a month ago
> Companies cannot set prices arbitrarily

[Source required]

Edit: how are you downvoting me? Go look at corporate profit margins now, 10 years ago, and 40 years ago.

If you believe you can hand wave with simplified BS like "Supply and Demand" you probably have some heavy reading on price elasticity to catch up on.

nawgz commented on CBP is monitoring US drivers and detaining those with suspicious travel patterns   apnews.com/article/immigr... · Posted by u/jjwiseman
pnw · a month ago
Sure, but the OP was specifically referring to party politics and this is a bipartisan issue.
nawgz · a month ago
> this is a bipartisan issue

Where the instance upthread and your instance both occurred under the same president? lol

nawgz commented on Cloudflare outage on November 18, 2025 post mortem   blog.cloudflare.com/18-no... · Posted by u/eastdakota
nawgz · a month ago
> a change to one of our database systems' permissions which caused the database to output multiple entries into a “feature file” used by our Bot Management system ... to keep [that] system up to date with ever changing threats

> The software had a limit on the size of the feature file that was below its doubled size. That caused the software to fail

A configuration error can cause internet-scale outages. What an era we live in

Edit: also, after finishing my reading, I have to express some surprise that this type of error wasn't caught in a staging environment. If the entire error is that "during migration of ClickHouse nodes, the migration -> query -> configuration file pipeline caused configuration files to become illegally large", it seems intuitive to me that doing this same migration in staging would have identified this exact error, no?

I'm not big on distributed systems by any means, so maybe I'm overly naive, but frankly posting a faulty Rust code snippet that was unwrapping an error value without checking for the error didn't inspire confidence for me!

u/nawgz

KarmaCake day683July 20, 2020View Original