OctoFarm

@octofarm

OctoFarm bosses with YorkShite tophats

Private team

Joined on Feb 26, 2021

  • This topic is quite new to us, although a lot of ideas have been brought to the table. Chocolatey A new idea came up with the package manager Chocolatey, which can install multiple dependencies on a system: NodeJS, MongoDB and OctoFarm. This has been shown to work, but there are challenges: privileges, migration of existing setups, git CLI vs choco update. Privileges When installing using any Windows installer, it is often assumed that admin privilege (Run As Admin) is required. However, running or adjusting files installed using this privilege then can throw errors. We notice that pm2 throws the EPERM error when we try to manage the OctoFarm service without Run As Admin. Possible undetermined causes:
     Like  Bookmark
  • Glossary API Application Programmable Interface, the interface to communicate with in a predetermined contractual manner. OF OctoFarm OP OctoPrint DTO Data transfer object, an API contract which needs verification and transformation on it's data in order to become data ready for a database CRUD transaction. Entity database-first model which can reside in memory. CRUD Create/Read/Update/Delete, primitive actions for any persisted entity. ORM Object Relational Mapper, a database abstraction layer with Transactions, Unit-Of-Work and repositories. TypeScript Javascript-like typing and compilation language supporting ECMAscript - made by Microsoft
     Like  Bookmark
  • Glossary Redux a state management pattern as well as a library in Javascript State a singleton which carries a snapshot with the context of an entity at a certain point in time. This singleton can be transformed or overwritten using atomic actions. Actions transformation operators on a state, potentially causing it to change Selectors filters or reduction operators to get a part of a state, or all of it Reduction retrieving a scope of the state to get only the data needed for a certain observer Introduction I've previously covered the NestJS API envisioned for OctoFarm in https://hackmd.io/@BL3YyzEaQX-wcYkdWAt0ew/SkGTeVgfO. Now I will cover the state management, persistence and consistency of updating OctoPrint state in OctoFarm.
     Like  Bookmark