LPThinker

joined 1 year ago
[–] LPThinker 5 points 6 months ago

I switched from Zsh to Nushell almost two years ago and I have never looked back. If you need POSIX compliance, Nushell is a no go. But it sounds like your real problem was just that Zsh was familiar whereas fish was not. Nushell strikes the perfect balance of offering the commands you’re used to but letting everything just make intuitive sense. Plus, its help command is so far above and beyond other shells. I rarely need to open the Nushell docs (even though they’re really good), and I never have to go the community (even though it’s awesome), because I can figure pretty much everything out just from interacting help within the terminal.

[–] LPThinker 2 points 6 months ago

Cities much further north and with much worse winters than Boston have no issues with winter biking. It's just a matter of infrastructure.

https://youtu.be/Uhx-26GfCBU?si=STNXYqKqy2qRnzmX

[–] LPThinker 31 points 6 months ago (1 children)

For anyone interested in learning more about bloom filters, this is a technical but extremely accessible and easy to follow introduction to them, including some excellent interactive visualizations: https://samwho.dev/bloom-filters/

[–] LPThinker 1 points 7 months ago* (last edited 7 months ago)

More specifically, he argued (and the recent and upcoming releases of most major frameworks agree) that rendering most content on the server with islands of client-side interactivity is the future.

That’s not necessarily a huge revelation, but the big difference from what people have been doing with PHP for decades is the level of integration and simplicity in mixing server-side and client-side code seamlessly so that a dev can choose the appropriate thing in each context and not have to go through a lot of effort when requirements change or scaling becomes an issue. I would say that this represents a new level of maturity in the “modern” web frameworks where devs can choose the right technology for every problem to serve their users best.

[–] LPThinker 3 points 7 months ago (1 children)

I think you would be pleasantly surprised by the direction web dev is moving if you gave it a chance.

For example, I suspect that you think one of the ways the web has gotten shittier is because sites are too bloated and JavaScript frameworks are too heavy and slow.

One of the key takeaways is that, across almost all frameworks and stacks, web dev is moving back to doing as much work on the server-side as possible, while retaining the minimum necessary interactivity via Islands of Interactivity with much lighter JavaScript than what was pushed for the last decade.

[–] LPThinker 16 points 7 months ago (5 children)

The major car manufacturers have literally been collaborating for the better part of a century, along with oil companies, to keep Americans dependent on cars. It’s a well-documented fact. Even long before Citizebs United made corporate bribery legal, they’ve been using the state’s power to quell protests, destroy non-car infrastructure, and outlaw use of our streets for anything except cars.

[–] LPThinker 2 points 7 months ago* (last edited 7 months ago)

There is one notable exception here, which is community suppliers. Lots of cities/towns in MA (more every year) and initiating programs that are basically group buys for the whole town. These plans never claim to guarantee savings but because they have much greater bargaining power they have so far saved everyone lots of money. The two key differences from these shady af private suppliers are that the community programs communicate really transparently (they are required to notify everyone when the plan is starting and also BEFORE any rate changes) and that you can leave at anytime without consequence.

Edit to add: because these are community programs and not private, profit-focused companies, they are obligated to pass along savings directly to the consumer, rather than adding bogus fees to make up the difference and skim off the top.

[–] LPThinker 4 points 7 months ago* (last edited 7 months ago) (1 children)

Have you tried developing a GUI app for Windows in the last 5 years? All the official first-party frameworks are either mostly deprecated (WPF, WinForms), or half-baked and despised by every developer I’ve talked to about them (MAUI).

[–] LPThinker 3 points 8 months ago

I'll stick with nushell for terminal-first data interactions.

[–] LPThinker 4 points 8 months ago* (last edited 8 months ago) (3 children)

I think the point is that they don't want to have to use a full JS framework (which is what HTMX is) for this behavior.

And this is where HTMX fits in. It's an elegant and powerful solution to the front-end/back-end split, allowing more of the control logic to operate on the back-end while dynamically loading HTML into their respective places on the front-end.

But for a tech-luddite like me, this was still a bit too much. All I really want to do is swap page fragments using something like AJAX while sticking to semantically correct HTML.

EDIT: Put another way, if you look at HTMX's "motivation"s:

motivation

  • Why should only <a> & <form> be able to make HTTP requests?
  • Why should only click & submit events trigger them?
  • Why should only GET & POST methods be available?
  • Why should you only be able to replace the entire screen?

By removing these constraints, htmx completes HTML as a hypertext

It seems the author only cares about the final bullet, and thinks the first three are reasonable/acceptable limitations.

[–] LPThinker 5 points 9 months ago* (last edited 9 months ago) (1 children)

If you dig the structured output of powershell, you might want to check out Nushell. It’s a cross-platform shell that builds on powershell’s structured data approach but is much less verbose and, in my opinion, more intuitive than both powershell and Posix shells.

[–] LPThinker 3 points 9 months ago (1 children)

I mean yes, but also the idea is that the user of serverless doesn't have to configure, provision, maintain, etc. any server. You as the user just provide the code, and their platform handles running it on a server when needed.

view more: ‹ prev next ›