40 karma · joined Aug 22, 2020 (6y ago) · 26 submissions
comment 1mo ago · link · parent
6.
Antigravity down for Ultra plan accounts(discuss.ai.google.dev ↗)
2 points · by fmnxl · 10mo ago · 1 comment
comment 1y ago · link · parent
I'm aware there are more than exactly 2 parties in the ballots in many western countries. It's not about the numbers, but whether any of those choices really give the people real alternatives, or just different ways to screw the majority of the people.
As you can probably can see from the above interaction, people resort very quickly to ad hominem attacks.
comment 1y ago · link · parent
Unless you guys start accepting that and find an alternative solution or system, you'll keep digging yourself deeper into the hole you're in. More debt, more wars, more homelessness, more crime, and no future.
comment 1y ago · link · parent
The western system creates an illusion of choice, which those in power have found ways to manipulate. It has become merely a convenient tool for them to exploit the rest of the population, while the "free market" and "democracy" keep them oblivious to it.
But whatever people like me say, it will be too hard for most of you to accept the reality.
comment 1y ago · link · parent
It depends on how you use it.
comment 1y ago · link · parent
Sure the Pope and the catholic clergy were corrupt, but they weren't bad because they're catholics or authoritarian. Corruption was the issue, not catholicism itself nor authoritarianism. To think so is to force a narrative.
comment 1y ago · link · parent
Even for "authoritarian regime", that'd be a horrible way to run a country.
It's not like the democrats aren't full of oligarchs themselves, like the likes of Pelosi.
comment 1y ago · link · parent
It's a flawed worldview that made Americans end up with dysfunctional politicians, because you reward ideological rhetoric more than real, pragmatic long-term planing.
comment 1y ago · link · parent
It's a nice, simple, easy way to understand what's happening around us, who's good and bad, yet deeply flawed.
comment 1y ago · link · parent
What's more arguable I think is how pressing the browser Back button doesn't preserve the layers, but opens the previous page as a full page. I think that can be changed in a config somewhere, though.
comment 1y ago · link · parent
You must have seen some huge React components with 20 different props or even more, and you'd need to think about memoizing those props to prevent a re-render, etc etc.
I've also been a web dev for over 20 years, and 10 years with React. I'd say that going back to native HTML APIs for handling stateful things like forms and form validation is a breeze, rather than writing components and endless abstractions. It's enough for the vast majority of the time.
comment 1y ago · link · parent
Unpoly feels just like Django, it is a more of a framework than a thin layer, but that means it comes with a lot of productive features built-in, albeit opinionated.
It covers 95% of the use-cases of a typical web app, with its layers and forms concepts. E.g. I love creating "subinteractions" with unpoly, where a complex process can be divided into smaller modal forms for creating the "related" objects of a model, which then updates the main form of the model itself. Unpoly makes these simple, and its documentation caters for exactly these scenarios.
comment 2y ago · link · parent
- No external stylesheets. No need to think about optimising the serving of CSS assets (e.g. with CDN)
- Co-locality: work on styling right where the element is, you don't have to figure out which stylesheet affects a particular element.
- No naming headache, as there's no need to give class names to elements in order to style a particular (or set of) elements
These days HTML is served compressed, with gzip/brotli, so long class attributes won't bloat the resulting file size by much.
Stylesheets still has its place of course.
comment 2y ago · link · parent
Flexbox layout? CSS animations? Some custom npm library that I need to use to provide social logins, SDKs to integrate payment gateways? etc etc
If all you want is just a set of UI components, sure. We already have plenty of UI libraries out there.
These days there are many better ways to write low-JS, low-boilerplate code. HTMX for interactivity, UnoCSS for generated CSS on the fly. It's even possible not to bundle your ES6 modules these days, with <script type="importmap">.
comment 2y ago · link · parent
That's the point though, not that many people care about the implementation of a democracy, which itself is a form of democratic will (or the lack thereof). The problem with simply "more democracy" is we might end up with these contradictions.
People don't care much about the fine details of the implementation of their governance. In an ideal world, they would have voted in people who'd tear up these "money is speech" laws, but we live in a world where the average Joe only cares and are receptive to catchphrases.