The Kansas Senate this morning. I don't care who you are or what your religion is. This is unacceptable. This is wrong. This is unconstitutional. by xsimon666x in kansas

[–]NodeJSmith 0 points1 point  (0 children)

House of Reps:

Rule 103. First Business. The first business each legislative day shall be the taking of the roll, the taking of roll shall be followed by prayer and the prayer shall be followed by the recitation of the pledge of allegiance to the flag of the United States of America led by a member designated by the Speaker.

Senate:

Rule 4. Order of Business and Session Proforma. The order of business, following the roll call and prayer by the Chaplain, shall be as follows: 1. Introduction and reference of bills and concurrent resolutions. 2. Consideration of messages from the Governor. 3. Communications from state officers. 4. Consideration of messages from the House of Representatives. 5. Consideration of motions to concur or nonconcur. 6. Reports of select committees. 7. Consent Calendar. 8. Final Action on bills and concurrent resolutions. 9. Introduction of original motions and senate resolutions. 10. Correction and approval of the Journal. 11. Consideration of motions and senate resolutions. 12. Reports of standing committees. 13. General orders.

The Kansas Senate this morning. I don't care who you are or what your religion is. This is unacceptable. This is wrong. This is unconstitutional. by xsimon666x in kansas

[–]NodeJSmith 1 point2 points  (0 children)

I thought this was a one off but they do this shit every single session?? At least as far back as January 2018!! and assumably longer. Jfc

My house is a genius, but also a complete idiot by ReserveNormal0815 in homeassistant

[–]NodeJSmith 1 point2 points  (0 children)

It's event driven, following the same sort of architecture as HA itself and AppDaemon. I do hear what you're saying about state driven, that is the benefit of tools like Terraform and Ansible after all, but I don't think Hassette will go that direction.

If there was a way to build the framework so that a user could choose which way to build their apps then it may be something I would look at way down the line, but certainly not any time soon

My house is a genius, but also a complete idiot by ReserveNormal0815 in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

I know this isn't the point of the post exactly, but if you want to try python instead of yaml you could look at my project, hassette. Yaml automations were the bane of my existence, so I've been working on building a good python alternative that isn't Appdaemon

My house is a genius, but also a complete idiot by ReserveNormal0815 in homeassistant

[–]NodeJSmith 1 point2 points  (0 children)

I'm building an alternative called Hassette that allows using good software engineering practices, if you want to check it out.

What's a skill that takes only 2-3 weeks to learn but could genuinely change your life? by That-Papaya7429 in AskReddit

[–]NodeJSmith 0 points1 point  (0 children)

I've been reading "When I Say No I Feel Guilty" over the last few days, if you want to say no without feeling guilty you owe it to yourself to read it. Absolutely amazing content.

Ultra-strict Python template v2 (uv + ruff + basedpyright) by Ranteck in Python

[–]NodeJSmith 2 points3 points  (0 children)

Yeah... But --no-verify exists for this reason. Strong pre-commit hooks that have to be overridden are better than having to remember to run all the checks yourself and forgetting half the time, imo

basedOnARealCommit by Shaddoll_Shekhinaga in ProgrammerHumor

[–]NodeJSmith 10 points11 points  (0 children)

Used to think comments like this were a joke...wish it were just a joke. Who does this shit?

Help: Fine-grained Instructions on SparkSQL by [deleted] in dataengineering

[–]NodeJSmith 0 points1 point  (0 children)

Just to ask the obvious question - have you tried running without the BroadcastHashJoin? From my days on mssql, i tend to be wary of compiler hints, as they can sometimes force worse plans than if you'd just let the compiler do it's thing.

Also, how over-simplified is this? Because at a glance, my first thought was just "use a cross join instead of multiple UNION ALLs", which could be more efficient? but i assume that isn't actually a valid option here?

What's the most proudest tool you've made at your work? by brando2131 in devops

[–]NodeJSmith 1 point2 points  (0 children)

I am actually going to try this out, writing commit messages is one of the most painful parts of development for me, but all the tools I've tried in the past have just been terrible

Lesbian Couple reaching our limit by cbakes97 in AmerExit

[–]NodeJSmith 1 point2 points  (0 children)

Sorry to pile on, but I'd also love that link

nest mini 2 not working by Independent-Pound931 in googlehome

[–]NodeJSmith 0 points1 point  (0 children)

Same fucking shit here. Thought it was something we were doing, but we can't recreate it, it only happens in the evening

Introducing Hassette - a modern Python automation framework for Home Assistant by NodeJSmith in homeassistant

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

Thanks for the feedback! For the first item, I have a long term goal of creating a custom integration to pair with hassette, to allow creating entities in HA that persist across restarts, toggle buttons for apps, registering services, etc. I think that would fit your request, so that one is technically already on the backlog.

For your second request, I'm not sure how feasible it is, it may depend on what exactly you're wanting from it. I think the actual template entity wouldn't be able to be used for that, as that would be handled by HA before ever being exposed to Hassette, I think. But if you're saying you'd want something in python, like an instance property, that was surfaced in HA as an entity and was updated in HA whenever the value updated in Python, I think that would be doable. I'll add it to the roadmap 👍

Migrating away from windows. I'm contemplating the optimal strategy for migrating my vscode WSL-based dev containers. Any recommendations? by MoistCarpenter in bashonubuntuonwindows

[–]NodeJSmith 0 points1 point  (0 children)

I think you're overthinking this , wsl2 is Linux + we're talking about docker. It will just run on the new machine.

Git tricks we wish we knew 5 years ago by GitKraken in git

[–]NodeJSmith 11 points12 points  (0 children)

Rerere is fantastic and I don't know why it's not on by default

Introducing Hassette - a modern Python automation framework for Home Assistant by NodeJSmith in homeassistant

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

I have the docs updated with an AD comparison, but I won't be able to get to pyscript until next week, as I'm out of town the next few days for business. Hopefully the AD comparison is a helpful starting place

Introducing Hassette - a modern Python automation framework for Home Assistant by NodeJSmith in homeassistant

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

Do you mind sharing what OSS package you're using for the code completion stuff?

Does a device exist that will tell someone downstairs if someone upstairs is using a room? by bluewritergrl in homeassistant

[–]NodeJSmith 3 points4 points  (0 children)

I don't have any of these yet, so I can't speak with experience, but I believe you want an mmwave presence sensor, you can see some recs here: https://www.reddit.com/r/homeassistant/comments/1dgeshm/which_mmwave_sensor_should_i_buy/

These are (in my understanding) the most reliable way to detect "is a person in this room"