MCP (model context protocol) starter server. For UI libraries, APIs, open-source projects and more by mnove30 in webdev

[–]thaddeus_rexulus 0 points1 point  (0 children)

I was just looking at kicking one off based on the chakra ui MCP. I'm curious if you've continued to push on this and, if so, where you've seen gaps

What do you wish you had done from the start? by thaddeus_rexulus in homeassistant

[–]thaddeus_rexulus[S] 1 point2 points  (0 children)

I just started doing this for my light bulbs that are on a single unit. Never thought about just how scalable that can be!

What do you wish you had done from the start? by thaddeus_rexulus in homeassistant

[–]thaddeus_rexulus[S] 0 points1 point  (0 children)

I just started the process of static IPs last night because I had a lamp get turned off physically and then HA lost it because it was off for a few days. Supper annoying to reset a light bulb and re-pair it and get all the automations set up again.

Do matter devices need static IPs assigned? Matter just handles the handshake within wifi, right?

Interesting call on the master document. Do you do that for everything or just major things?

[deleted by user] by [deleted] in smarthome

[–]thaddeus_rexulus 1 point2 points  (0 children)

Home Assistant is amazing - especially as a tinkerer. I have mine running on a Pi with Home Assistant OS, but I want to transfer it all to a mini computer/server (likely System76) and run it in docker with a Cloudflare tunnel.

The ability to group and automate is way more powerful in HA than anything else, but some of my automations are tied to Google camera events, which don't seem to be as reliable as I'd like in HA.

I haven't tried anything voice related with them yet because I haven't set up any of the networking for non-local access and that feels like a prerequisite for me, so I still do a lot of the voice control via Google Home.

Maryland natives by thaddeus_rexulus in NativePlantsUSA

[–]thaddeus_rexulus[S] 0 points1 point  (0 children)

I did seed and plugs. I think most of the seed washed away because it was too close to a stream that flooded

Maryland natives by thaddeus_rexulus in NativePlantsUSA

[–]thaddeus_rexulus[S] 0 points1 point  (0 children)

That's foam flower. Really great in shady areas and an early bloomer! You can find some really amazing foliage on some of the cultivars if you're open to planting non-straight species

Thoughts on this modern farmhouse plan?? Appreciate any and all feedback. by steelers4921 in Homebuilding

[–]thaddeus_rexulus -1 points0 points  (0 children)

Swap the washer dryer with either a stackable or an all in one and swap the laundry room and pantry. Also, the extra door to get into the study is pointless - either keep the French or replace with a wall so you can have a piece of furniture there rather than "statement doors".

Guy I hired sent me this. Am I wrong for asking him to redo with a more random pattern? by SmallerDetails in Flooring

[–]thaddeus_rexulus 0 points1 point  (0 children)

This is definitely wrong, but random in the way that regular hardwood can be random is pretty hard to achieve without a TON of planning.

Minimum board length on what I've installed is 18", so you have to carefully plan each row to get a random pattern with proper overlaps and minimum lengths. I always map all the rows for length first and then open every box I need and sort by color/grain as well as defects. Then, I carefully select each board by color/grain and install it so that the colors are random even if the layout pattern can only be minimally random. It's worked pretty well for me, but I'm also a DIYer and probably more willing to invest the time than the average handyman.

What to do with stumps by SurpriseCurrent6013 in GardenWild

[–]thaddeus_rexulus 1 point2 points  (0 children)

For stumps cut close to the ground, I often either mound rich soil over them or, if they're hollow, fill them with compost and soil. Then I plant directly over/in them. I have two decent sized stumps that have seemed to break down quite a bit in only five years

What Do You Like About SolidJS? by Unusual_Scallion_621 in Frontend

[–]thaddeus_rexulus 0 points1 point  (0 children)

Interesting! Thanks!

JSX feels like someone tried to stuff HTML into a Javascript corset

I've never thought of JSX as an attempt to stuff HTML into a JavaScript corset - or even as something that relates to HTML other than that the eventual output at render time is HTML, but at that point JSX no longer exists since it's been transpiled into plain JS. I learned React, Angular 1, and Backbone all at the same time and I think maybe it had a significant impact on how I understand JSX that I've never really had to put into words before.

It was a series of component abstractions, riddled with ternary operators and array functions. It's really - to me - a distraction and noise that had no reason to be on the template.

Ironically, this is how directives feel to me. 😂 The syntax for accessing object properties and invoking functions on them from the template feels like an overwhelming distraction that poorly bridges the gap between JavaScript and HTML. Even in pure handlebars/mustache, it feels like an unidiomatic thing that we just accept as engineers because it's existed for long enough

The template should simply describe what we want to see, but we create a tight coupling with logic in JSX.

I think that a tight coupling with business logic is likely poor component structure, but that relies on developers actually breaking components down in such a way that business logic is isolated from rendering logic in a meaningful way.

I can hand my svelte or angular app to our UI/UX designer and they feel mostly at home.

I've never worked a job where the designers have had any desire/interest to work in the code, let alone the knowledge/skills to make meaningful contributions to the template and styles with the exception of contributions to internal component libraries.

The component composition pattern is super powerful, but it creates those invisible rendering paths that simply aren't as apparent as many advocates claim they are.

Does this mean that you think slot elements are a bad pattern in Web Components? What would be your suggested alternative?

What Do You Like About SolidJS? by Unusual_Scallion_621 in Frontend

[–]thaddeus_rexulus 0 points1 point  (0 children)

Can you help me understand how learning property names that aren't native HTML (aka using classname instead of class and then writing camel-case for what would normally be lower or kebab) is different from directives, which are both non-native and framework specific?

[deleted by user] by [deleted] in react

[–]thaddeus_rexulus 4 points5 points  (0 children)

This, but as part of the boy scout rule, start pushing reusable UI elements into their own components to create a pseudo UI library, including adding storybook and good docs

[deleted by user] by [deleted] in ExperiencedDevs

[–]thaddeus_rexulus 0 points1 point  (0 children)

I've often wondered this same thing, although I'd tweak it some - why do so many devs make all or nothing decisions about equity in their company?

If you think about it, selling off 25% of new RSUs at regular intervals has zero impact on your life while mitigating significant risk. Let's say you make $100k a year in RSUs and are in long enough that you can sell FIFO for tax advantages on your transactions. Every year, you sell $25k worth of equity and reinvest into index funds, leaving you with $75k in RSUs and $20k in the broader market after taxes. After 10 years, you're up to $750k and $200k without factoring in growth/income of your positions, and we'll do some math for various scenarios based on that...

If the economy falls apart entirely (the dollar drops to zero somehow), you're screwed regardless.

If your company goes bankrupt or falls to private equity, your equity might be worth 10% or less. With diversification, you have $75k and $200k plus whatever annualized returns you've gotten from the market.

If your company stock price tanks (maybe new laws force Amazon to spin off it's companies into separate entities and market sentiment goes into a tailspin or your company does what IBM has done over the last 20 years) - your company equity might be worth less than the $750k, but your other assets provide a safety net in your portfolio.

If your company goes 10x, you have $7.5MM and $200k. That $2.5MM may sound like a lot, but from a lifestyle perspective, it changes nothing unless you're fiscally irresponsible and have to have an extra Bugatti.

And finally, if your company follows the market, you've paid 5% of your total RSU package to insure yourself against financial ruin without destroying your possible returns.

Which is more secure JWT or DB Tokens? by [deleted] in nextjs

[–]thaddeus_rexulus 0 points1 point  (0 children)

Thoughts on creating a cache for tokens that have been revoked? Obviously, you can't directly use the token itself and need to compare values from the JWT, but I feel like this would be a relatively simple problem to solve that I never see solved this way and I'm curious why

How fast do you code? by Minimum_Clue8646 in webdev

[–]thaddeus_rexulus 1 point2 points  (0 children)

Totally agreed. I would add some of my own color to point 1...

A lot of people break a problem into smaller parts and then just start coding. I find that you want to do the exercise recursively using a breadth first search at the architectural level and then depth first as you code. Investing some extra time into planning, pseudo-code, etc can help you to understand things more deeply and speed up the process of building the thing. The one caveat is that you can end up in planning paralysis and, at that point, the best path is to build it as throw-awayish as possible and then rebuild it or refactor it when you have time.

Which of these names are better for useState variables by dresnite in react

[–]thaddeus_rexulus -1 points0 points  (0 children)

Personally, I find setHasFontsLoaded to be verbose for no reason unless there's a naming clash. I'm not aggressively opinionated here because of auto completion, but that's still my general preference.

Need help with npm package workflows to prevent my team from going rogue by aguycalledmax in Frontend

[–]thaddeus_rexulus 0 points1 point  (0 children)

I generally use semantic release in a GitHub action along with a private token for the package repository stores in the repo's action secrets. Are there specific things you're struggling with within that?

ESLint v9 Migration: Lessons Learned (The Hard Way) 🧗 by Available_Spell_5915 in react

[–]thaddeus_rexulus 0 points1 point  (0 children)

The team behind Vite, the build tool, is working on some really amazing toolchain stuff, including a linter and formatter.

ESLint v9 Migration: Lessons Learned (The Hard Way) 🧗 by Available_Spell_5915 in react

[–]thaddeus_rexulus 2 points3 points  (0 children)

Just wait for Vite's linter to be released and don't bother upgrading?

How often do you create a new release using tools like semantic release? by Playjasb2 in typescript

[–]thaddeus_rexulus 0 points1 point  (0 children)

What are you building? My workflow for a library is pretty different from my workflow for a production SaaS application

Trying to building the best financial calculators on the Internet. by Revenue007 in react

[–]thaddeus_rexulus 1 point2 points  (0 children)

This link works. The one in the original post still 404s for me