You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
🖥️
converting caffeine to code
Pranab Mehta
roubles
🖥️
converting caffeine to code
Dad of twins. Boilermaker. Tech guy. Coffee addict. Home automation hobbyist. Might very well be an alien.
This guide assumes a functioning Zwave garage door opener configured with Smartthings. As of this writing Alexa
does not support opening and closing garage doors natively. So, some sorcery is required.
Create a routine that opens your garage
Just create a routine, say, "Open garage door" and configure it open your garage door.
Create a routine that closes your garage
Just create a routine, say, "Close garage door" and configure it open your garage door.
A pattern for creating a reliable unique constraint in Cassandra
Unique Constraints in Cassandra
Cassandra is a NoSQL database, and is meant for different applications than traditional relational databases. Nevertheless, developers will want (and try) to implement RDBMS features in Cassandra. Unique constraints is one such example.
Many people have asked about creating unique constraints in Cassandra: 1, 2, 3, 4. There is no definitive answer. The most popular answer seems to be to not even try it. Square peg, round hole. If you need unique constraints, Cassandra may not be the tool for the job. Others have suggested to use LWT/CAS. It should be noted that, simply using LWT/CAS does not give us reliable unique constraints that we get i