https://tomasmcguinness.com/2025/09/09/modelling-a-heat-pumps-energy-consumption/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 4. Concept Specifications | |
| Our specification language is mostly informal, except for the definition of state components and action signatures. Here, for example, is a specification for a Password authentication concept. | |
| concept Password [U] | |
| purpose | |
| to securely store and validate user credentials | |
| state | |
| password: U -> string | |
| salt: U -> string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rule! { | |
| name: "door_alert", | |
| on: rising(door_sensor), | |
| if: wake_hours, | |
| then: | |
| buzzer = on, | |
| wait: 5s, | |
| buzzer = off; | |
| } |
Password manager
https://h2co3.github.io/steelsafe/
Slint mojo. Slint zig.
Use keepass for inspiration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from bs4 import BeautifulSoup | |
| def bs4demo(): | |
| html = """ | |
| <table> | |
| <tr> | |
| <th>Name</th> | |
| <th>Age</th> | |
| </tr> | |
| <tr> |