244 karma · joined Aug 16, 2017 (9y ago) · 66 submissions
comment 2y ago · link · parent
Sure, you could do the basics of that workflow with twenty lines of your own JS, and save a dependency. But that's the kind of thing that is generally very unscalable, because unless you're very disciplined it quickly becomes a mass of spaghetti. The virtue of HTMX is more in how it channels and limits your code, than in the new capabilities it grants you (which were all in common use as of 2005 or whatever).
comment 2y ago · link · parent
comment 2y ago · link · parent
If you can launch a hundred tons to orbit for $5M, you can just make a huge dumb cheap telescope and throw a dozen of them up there. Quantity covers a multitude of sins.
comment 3y ago · link · parent
I would say it's precisely the opposite.
Say 97% of work done by web pages and web apps in practice boils down to "render some data available on the server as HTML, then show it to the user". For these cases, putting what amounts to an entire GUI framework written in Javascript on the frontend is massive, bandwidth-sucking, performance-killing overkill.
There are absolutely exceptions. Google Sheets exists. But your project is probably not Google Sheets.
comment 3y ago · link · parent
It's true that the core concept of HTMX is very simple, and you could probably reimplement any given particular use case in a few lines. However, it is in fact a big advance over the manual HTML-fragment style, precisely because it abstracts over the particulars. Standardizing on a particular, good design is an important benefit even if the functionality of the code is easy.
comment 3y ago · link · parent
Of course, neither of these things are guaranteed in a React app. But they're definitely way easier to back into by accident.
comment 3y ago · link · parent
It definitely does have a maximum size of project it's suitable for. In particular, it's thoroughly individual-component-based; changing anything outside the component requires tacking on non-native hacks, and doing a full interactive app with it would be a painful exercise. But for adding simple interactivity to a primarily server-rendered web page, I've found it to be quite useful.
comment 3y ago · link · parent
This isn't zero but it's not very common either. Usually, the domain in question is sufficiently subtle that you can't make a rigorous prediction from an untrustworthy media presentation at all; thus, the media accounts are effectively unfalsifiable (unless you go out and seek personal experience).
comment 3y ago · link · parent
I will allow that it is probably theoretically possible to do client-side rendering in a CPU-efficient way, but it sure isn't the standard.
comment 5y ago · link · parent
As far as I can tell, no one has demonstrated any tangible cost from the (very small) amount of leaded fuel still burned in piston-engine planes. Even imputed cost from environmental lead levels is iffy -- the only places you can find detectable lead are the immediate environs of long-used GA airports.
comment 5y ago · link · parent
It seems quite likely that absent all of these, smoking would still be as popular as it ever was.
comment 6y ago · link · parent
The world where no one tests the peg too hard is incompatible with the world where Tether caused huge BTC runups all on its own.
comment 6y ago · link · parent
Tether might be shady in all kinds of ways -- their operation has a lot of red flags to it. But it basically can't be responsible for massive BTC rises all on its own, because the rises happen even at pure USD markets, and that can only happen when a lot of real USD actually got injected.
comment 6y ago · link · parent
Surplus is what enables complex economies and trade. It also means you have governments trying to take over places, but this comes with surplus because without surplus everyone is too poor to even try.
The life of the peasants in a simple no-surplus economy is brutal and boring and precarious. Getting ruled by kings and emperors, in exchange for getting to participate in the high-end economies they come alongside, is almost always a very good deal.
comment 6y ago · link · parent
Likewise, there was in fact a "Dark Age" between antiquity and the Renaissance. It's the period between the fall of the Western Roman Empire and the high Middle Ages proper, around 500-900 (whereas the high Middle Ages are more 1000-1400). This Dark Age is marked by the collapse of population centers, long-distance trade, economic activity and standards of living in general, just like after the Bronze Age Collapse. And neither of these have much to do with the Europe of the High Middle Ages, which was a thriving civilization with plenty of surplus and thus effort to spare on science, the arts, etc. (albeit not yet as rich as classical civilization).
comment 6y ago · link · parent
This is the bit that doesn't make sense.
Arbitrage bots trying to push BTC-USD up to match BTC-USDT will end up holding a lot of USDT. So what do they do with it? You can't just magically make USD markets go up; that needs actual USD to enter the system (as part of the arbitrage process, if nothing else).
comment 6y ago · link · parent
If the tethers are actually unbacked, then the USDT-USD markets should be dropping hard as arbitrageurs try to unload tether bags.
comment 7y ago · link · parent
> username ALL=(ALL, !root) ALL
would be vulnerable; this is trying to let username run commands as any other user _except_ root, but using this vuln the user can get around it.
You can duplicate it by running (as a user with sudo ALL privileges) `sudo -u#-1 id`; it'll show 0, for root.
comment 8y ago · link · parent
And yes, it doesn't explicitly say in the text of the amendment what kinds of threats the militia is meant to defend "the security of a free state" from. This is why you need to make obvious deductions based on context. There's certainly no basis, either in the literal text or in contextual deduction, for the idea that the founders only meant it as security against foreign invasion.
comment 8y ago · link · parent
Any attempt to deny that the founders were very worried about tyranny imposed by the government of the country in question, and intended the second amendment (among other things) to allow the citizens to resist against the army of that government, is outright ahistorical.
comment 8y ago · link · parent
The plain meaning of the second amendment, in this context, is that _anyone_ is allowed to own arms, because everyone is expected to take responsibility for defending themselves and the community. There's also another layer; "militia" is as opposed to "standing army", and "a well-regulated militia being necessary to the security of a free state" thus means that the militia (that is, the population at large) needs to be armed well enough to resist tyrannical impositions by a standing army.
comment 8y ago · link · parent
There's no good reason to think that this step by Youtube will help with the "public health" side of the issue at all; it's fairly transparently about an animus against guns qua guns.
comment 9y ago · link · parent