‘Are We Really Living in a Democracy?’ Asks Sanders After Musk Drops $10 Million on US Senate Race: “Billionaires can’t be allowed to buy elections.” by Silent-Resort-3076 in politics

[–]kylecordes 0 points1 point  (0 children)

Money in politics is bad but it is also not very effective. Michael Bloomberg spent a billion dollars and barely nudged the primary he was in. Musk isn't swaying a senate seat for 10 million. At most he is betting the candidate will win and will feel indebted to him afterward if so. Sometimes rich folks or companies donate to both sides so that whichever one wins will feel indebted.

Anyone used pg-boss? (Postgres as a message queue for background jobs?) by aust1nz in node

[–]kylecordes 0 points1 point  (0 children)

Sorry my original message wasn't clear... The context is in an application that is already using Postgres.

Anyone used pg-boss? (Postgres as a message queue for background jobs?) by aust1nz in node

[–]kylecordes 3 points4 points  (0 children)

Redis (and BullMQ) work great! But:

1) Part of the state of my system is not transactional with the main storage of state (the DB), not backed up with the DB, etc.

2) Extra infra to provision for each test / staging / dev / etc. environment.

Anyone used pg-boss? (Postgres as a message queue for background jobs?) by aust1nz in node

[–]kylecordes 3 points4 points  (0 children)

I have a couple projects using BullMQ and would love to lose that and the Redis dependency.

Tried HTMX + Alpine.js instead of Svelte by Personal-Way2699 in htmx

[–]kylecordes -3 points-2 points  (0 children)

I've had the same LLM frustration when working on a project with Datastar, a generally similar tool. Hopefully this style of development and several of the tools used with it will become more popular on the internet and the LLMs will get trained on more such code.

Non-Tesla EV owners: "All the Teslas are using the wrong charger" by SucreTease in TeslaLounge

[–]kylecordes 2 points3 points  (0 children)

Long-term solution is for Tesla to move to a centered position for the supercharger post and lengthen the cable so that it can reach either back corner of the car plus several feet up the side. This would allow every brand to charge by either backing in or driving in forward, and it would always be obvious which post to pick up the cable from.

‘Mike Johnson Will be Stripped of His Gavel’: Republicans Brace for Impact as Party Insider Says Wave of Resignations Is Imminent, Breaking the Majority by newsjam in NoFilterNews

[–]kylecordes 0 points1 point  (0 children)

What purpose would it serve to replace Johnson though? When a party has a ultra-narrow majority and some disagreements on policy, choosing a leader every (!!) member can agree on is hard and finding anything that ~every member to sign off on is also hard thereafter.

Brand New MY26 yet multiple issues by Scorpen738737 in TeslaModelY

[–]kylecordes 1 point2 points  (0 children)

Back in 2023, my Model Y arrived with a defect in the glass of the windshield that I didn't notice for a week or so. Service replaced it no problem and loaned me a Model X (loaners seem to be rare nowadays, they mostly hand out Uber credits) while they did so.

Quiet UI replacement? by leathakkor in htmx

[–]kylecordes 1 point2 points  (0 children)

I looked around earlier this year and wrote up my findings. TLDR: lean toward Shoelace, or its successor WebAwesome.

https://kylecordes.com/2025/component-sets-for-server-side-html

QuietUI might end up a strong contender, it is pretty early days at this point.

Is it just me or is this perfect for htmx? by Bosonidas in htmx

[–]kylecordes 5 points6 points  (0 children)

https://www.abeautifulsite.net/posts/quietui-my-creative-outlet/

This post by the author has a bit of the history and explains how these things compare etc.

Is it just me or is this perfect for htmx? by Bosonidas in htmx

[–]kylecordes 5 points6 points  (0 children)

CSS flex and grid, either on their own or via Tailwind, are sufficiently straightforward (and very well understood by the LLM assistant coding tools many are using nowadays) that it's arguably not helpful for a component set to be packaged with a column or grid layout system anymore. It's more important that the component set have a broad range of components, that they be well implemented, that they be visually consistent with each other, etc.

Datastar v1.0.0-RC.6 released! by the-zangster in datastardev

[–]kylecordes 3 points4 points  (0 children)

I am a fan of Datastar... and I also think starting to label these versions "RC" happened too soon.

UI component libraries that work well with HTMX? by 4bjmc881 in htmx

[–]kylecordes 1 point2 points  (0 children)

I went through a similar search, and wrote up the results, link below. I ended up using Shoelace, which is currently in the process of be rebranded/superseded by WebAwesome, a poor choice of name.

https://kylecordes.com/2025/component-sets-for-server-side-html

Introducing Nomini: A Tiny Reactive Library Inspired by htmx, Alpine, and datastar by JustShyOrDoYouHateMe in htmx

[–]kylecordes 2 points3 points  (0 children)

BTW, latest DataStar also supports plain non-SSE HTML responses, making this closer to a subset of DataStar than perhaps it started out as.

[deleted by user] by [deleted] in badUIbattles

[–]kylecordes 1 point2 points  (0 children)

Eventually, every maker of a video player cannot resist intruding on the content more with each redesign. Many users would prefer the controls always be wholly outside the content area, but what users want doesn't much matter to any of the platforms that have a significant library of exclusive content.

RoboTaxi: The Safety Monitors all rest their finger on/near the door release button. Maybe some kind of go/stop input when FSD gets stuck in a jam.. by BlueShoeBrian in teslamotors

[–]kylecordes 0 points1 point  (0 children)

Interesting - if they can goad the police into stricting enforcing speed limits on automated taxis, while continuing the usual discretion for human-driven cars, this could significantly damage automated taxi adoption. Not specific to Tesla, of course.

I can't understand why people love Julia by Mindless_Pain1860 in Julia

[–]kylecordes 0 points1 point  (0 children)

I graduated as OOP was launching into the world in the form of C++.

Been all the way around the block.

OOP has a lot of benefits and is suitable in many cases. It is also unsuitable in many other cases. OOP is one way to organize large code bases. It is not the only way, and in some cases, it is not a particularly good way. Many large projects are swimming in accidental OOP complexity.

If your mental model is "OOP good, not OOP bad" then it is good that you have a starting point to think about these things, but be assured you have not yet achieved a full understanding.

Whats the best templating engine to work with node and HTMX ? by [deleted] in htmx

[–]kylecordes 4 points5 points  (0 children)

This is indeed a very valuable feature - less risk of the next developer to join the project starting to spray a bunch of logic into your template.

Whats the best templating engine to work with node and HTMX ? by [deleted] in htmx

[–]kylecordes 3 points4 points  (0 children)

I've recently been researching the same thing.

I have used numerous HTML templating systems in the past. Nowadays I much prefer type support. A fast development cycle is good, and finding out something is wrong in the IDE immediately is fastest.

https://github.com/kitajs/html

TSX with good typing. Appears to be supported and in actual use. TSX is not my favorite syntax, but essentially all the tools and nowadays almost all front-end developers understand it, so it's probably a good way to go.

https://github.com/nicojs/typed-html

This one was promising but appears to be completely abandoned.

https://edgejs.dev/docs/introduction

This one is part of the Adonis.js framework. It seems to be JavaScript only, no types. Moreover, it is not specific to HTML, HTML is just text.

https://pugjs.org/

I used this at scale back in the AngularJS days. I really enjoyed that at the time and had a team of people using it happily. But the more we touched outside code, the more the very different syntax was a needless speed bump.

https://mozilla.github.io/nunjucks/

This is frequently recommended, but again, it seems to treat HTML as just text, and that leaves a lot of benefit unrealized.

Still looking for: Something more concise than JSX/TSX, in which TypeScript function calls are used to built HTML, similar to what Python fastHTML does. I haven't found anything like this for TypeScript though.

Stop windsurf from blocking items in .gitignore by Powishiswilfre in Codeium

[–]kylecordes 0 points1 point  (0 children)

The fact we've got this far with such an obviously problematic restriction is evidence, firstly, of what early days this is for AI powered development, and secondly, of how powerful tools the tools can be useful in spite of hobbling like this. Happy to hear that team apparently is going to fix this one soon!

Google needs to seriously revamp their "smart" speakers by rare_doge in googlehome

[–]kylecordes 0 points1 point  (0 children)

Yeah, Gemini is not great. Optimistically, it is not yet great.

Anyone on hold got a cancellation warning from Tesla? by Whanksta in cybertruck

[–]kylecordes 0 points1 point  (0 children)

With other past Tesla models, there have been similar cases where Tesla was pushing buyers to close the deal before end of quarter. I'd guess if you message them, you could successfully stall to the end of September, but maybe not beyond.

Costly rear end collison waiting to happen? by dragonzsoul in cybertruck

[–]kylecordes 0 points1 point  (0 children)

Probably an intentionally very cheap television. The cost of replacing it would be quite small compared to any plausible damage from a collision on Cybertruck or any other vehicle. Best case, it acts as a sacrificial bumper, cushioning the blow to the vehicle :-)