My point exactly. They originated as a open initiative to make AI open and accessible to everyone. Hence their name. Greed made them change their stance and now they are only open in name.
My point exactly. They originated as a open initiative to make AI open and accessible to everyone. Hence their name. Greed made them change their stance and now they are only open in name.
Trolls will be trolls. There are millions of foss projects that function as community efforts and thrive. As another example, have you ever used Wikipedia?
Maybe if OpenAI didn’t suddenly decide not to be open when they got in bed with Micro$oft, they could just make it a community effort. I own a copyrighted work that the AI hasn’t been feed yet, so I loan it as training and you do the same. They could have made it an open initiative. Missed opportunity from a greedy company. Push the boundaries of technology, and we can all reap the rewards.
Wasn’t really all that long ago when non-black people very commonly used that word in public and probably still so in certain communities. Having said that, obese is a medical term and I don’t think it compares in anyway to the n-word.
As an atheist I can’t tell you how many Christians have asked me why I don’t just rape and murder people if I don’t believe in hell. Tells me everything I need to know about that POS.
Fair enough, but I would compare someone who owns a fat lazy cat to rollin coal assholes.
How are cats bad for the environment? Sorry, first time I’ve ever heard someone claim this.
Nothing like exercising your right to protest by infringing on everyone else’s right to travel freely.
After a water heater leak I just made my own. I run my HA on a Raspberry Pi, so I connected the GPIO pins to a current-limiting resistor and some wires that I put in the drip pan of my water heater. I made the two contacts using a screw connector, and hot glued it in the pan. You can also do this with an ESP chip. Additionally, I integrated my smoke detectors through an optoisolator and connected all my hard-wired door and window sensors to the GPIO. It’s been working great this way for me.
When I tried playing with omit in the template editor I got an error about omit being undefined so probably not built in. Bummer because that would be a very elegant solution to this. I’m going to put this down for the night and try picking it back up tomorrow. I really appreciate all the suggestions. Hopefully it will lead me to a solution.
It worked the same as your suggestion above. In cases the variable is used it does works as intended but in the situation the variable is not set it’s still sending data: just with a blank value.
To give more context I’m working on a media control dashboard. The script or rather scripts I have to send commands to kodi is as follows
kodi_control:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
kodi_control_playback:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
playerid: '{{ kodi_playerid }}'
kodi_control_subtitles:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
action: '{{ kodi_action }}'
kodi_control_seek:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
playerid: '{{ kodi_playerid }}'
value: '{{ kodi_value }}'
kodi_control_playlist:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data:
method: '{{ kodi_method }}'
window: '{{ kodi_window }}'
parameters: '{{ [ kodi_parameters ] }}'
I would like to condense all of this down to a single script using “is defined” to omit the parts not needed for certain commands so something like
kodi_control:
sequence:
- service: kodi.call_method
target:
entity_id: '{{ kodi_entity }}'
data: >-
method: '{{ kodi_method }}'
{% if kodi_playerid is defined %}
playerid: '{{ kodi_playerid }}'
{% endif %}
{% if kodi_action is defined %}
action: '{{ kodi_action }}'
{% endif %}
{% if kodi_value is defined %}
value: '{{ kodi_value }}'
{% endif %}
{% if kodi_window is defined %}
window: '{{ kodi_window }}'
{% endif %}
{% if kodi_parameters is defined %}
parameters: '{{ [ kodi_parameters ] }}'
{% endif %}
Problem with the above is I get “result is not a dictionary”
Is it possible to do this in a way that completely omits data: from the command if the variable isn’t defined?
Madison was saying that blacks in the south were enslaved and couldn’t vote. They made up a significant portion of the southern states population which put them at a disadvantage giving them poor representation.