#statemachine — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #statemachine, aggregated by home.social.
-
[Перевод] Async/Await в C# это синтаксический сахар для конечного автомата
Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.
https://habr.com/ru/articles/1035442/
#асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine
-
[Перевод] Async/Await в C# это синтаксический сахар для конечного автомата
Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.
https://habr.com/ru/articles/1035442/
#асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine
-
[Перевод] Async/Await в C# это синтаксический сахар для конечного автомата
Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.
https://habr.com/ru/articles/1035442/
#асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine
-
[Перевод] Async/Await в C# это синтаксический сахар для конечного автомата
Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.
https://habr.com/ru/articles/1035442/
#асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine
-
Архитектура MassTransit: как устроена библиотека под капотом
Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.
-
Архитектура MassTransit: как устроена библиотека под капотом
Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.
-
Архитектура MassTransit: как устроена библиотека под капотом
Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.
-
Архитектура MassTransit: как устроена библиотека под капотом
Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.
-
A couple of years ago, I wrote that The #Builderpattern is a finite #statemachine! A state machine consists of states and transitions between them. As a developer, I want to make illegal states unrepresentable, i.e., users of my API can’t create non-existent transitions. My hypothesis is that only a static typing system allows this at compile-time. Dynamic typing systems rely on runtime validation.
In this blog post, I will show that it holds true, with a caveat.
-
Chicken Coop Door Performs in Harsh Environment
-
Chicken Coop Door Performs in Harsh Environment
-
Took me a while to find a balance that I feel comfortable with when using entity component systems, nodes and state-machines concurrently.
Currently updating my older implementations. Already looks cleaner and easier to add systems and features. There is no better metric to know that you learned something 😃
And as usual there are a million ways - just need to find the one that works for you.
-
Meet Nuqs - an #opensource, type-safe search params state manager for #React!
With Nuqs, developers can share complete app state via URLs - enabling “teleportation” & “time travel.”
Nuqs simplifies state management while ensuring robust performance & type safety.
🔗 Discover more on #InfoQ ⇨ https://bit.ly/3Ncc4zm
-
Ya esta disponible el video sobre la máquinas de estados. Concretamente para su uso en la creación de videojuegos. #gamedev #retrodev #statemachine https://www.youtube.com/watch?v=oWe2QvkxoSw
-
State Machine Pattern jako řešení chaosu (nejen) businessových pravidel. Přináší jasnou strukturu, protože přesně definuje stavy, události a přechody - vše na jednom místě a dobře dohledatelné. Výrazně tak zlepšuje přehlednost kódu, zvyšuje bezpečnost provádění logiky a usnadňuje údržbu či rozšíření. Navíc je testování mnohem snazší, protože jednotlivé přechody a reakce na události lze izolovaně ověřovat a reprodukovat. https://wendelladriel.com/blog/welcome-to-the-state-machine-pattern
#php #statemachine #cleancode -
🎯 #StateMachine Pattern in #PHP: Transform Complex Workflows Into Clean, Predictable Code
⚡ Replace tangled if/else statements with explicit states, events & transition rules for order processing, article workflows & business logic
🔒 Built-in safety: Forbidden transitions (like refund before payment) are blocked by design
🧪 Pure, testable logic: Guards decide transitions, actions handle side effects after state changes🧵 👇
-
#Development #Techniques
CSS elevator · A pure CSS state machine with floor navigation https://ilo.im/166hlb_____
#Elevator #StateMachine #Accessibility #WebDev #Frontend #HTML #CSS #CustomProperties #CssClamp #Techniques -
Когда State уже не спасает: путь к Statechart
В мире разработки программного обеспечения управление состоянием объекта - одна из фундаментальных задач. Когда поведение объекта должно меняться в зависимости от его внутреннего состояния, разработчики часто обращаются к паттерну State . Однако здесь и возникает путаница: его нередко отождествляют с более общей концепцией — State Machine (Конечный автомат), а то и вовсе не видят разницы. Погрузимся в мир управления состояниями — от простого к сложному!
https://habr.com/ru/articles/931962/
#state #statemachine #java #architecture #oop #oop_patterns #ооп #архитектура
-
🚨MAJOR RELEASE ALERT 🚨
Today we are launching BESSER v.4, with some massive improvements 👏🥳🎉:
✅ Project management: create new #modeling projects comprising different types of diagrams (#classdiagram, #statemachine, #objectdiagram...) in our #online #modeling #editor
✅Create object diagrams to model specific scenarios conforming to your class diagram
✅ #Evaluate #ocl constraints on your object diagram and get #feedback on whether your scenarios are #valid
✅ Plus many other improvements: #fluentapi, #rdf generation,...
📜https://github.com/BESSER-PEARL/BESSER/releases
⚙️https://github.com/BESSER-PEARL/BESSERI can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ https://editor.besser-pearl.org/
Pls also reshare this post and drop a ⭐ on #github so that others can also benefit from our #opensource #lowcode #free #platform
#uml #ocl #classdiagram #database #sql #codegenerator #vibemodeling -
🚨MAJOR RELEASE ALERT 🚨
Today we are launching BESSER v.4, with some massive improvements 👏🥳🎉:
✅ Project management: create new #modeling projects comprising different types of diagrams (#classdiagram, #statemachine, #objectdiagram...) in our #online #modeling #editor
✅Create object diagrams to model specific scenarios conforming to your class diagram
✅ #Evaluate #ocl constraints on your object diagram and get #feedback on whether your scenarios are #valid
✅ Plus many other improvements: #fluentapi, #rdf generation,...
📜https://github.com/BESSER-PEARL/BESSER/releases
⚙️https://github.com/BESSER-PEARL/BESSERI can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ https://editor.besser-pearl.org/
Pls also reshare this post and drop a ⭐ on #github so that others can also benefit from our #opensource #lowcode #free #platform
#uml #ocl #classdiagram #database #sql #codegenerator #vibemodeling -
🚨MAJOR RELEASE ALERT 🚨
Today we are launching BESSER v.4, with some massive improvements 👏🥳🎉:
✅ Project management: create new #modeling projects comprising different types of diagrams (#classdiagram, #statemachine, #objectdiagram...) in our #online #modeling #editor
✅Create object diagrams to model specific scenarios conforming to your class diagram
✅ #Evaluate #ocl constraints on your object diagram and get #feedback on whether your scenarios are #valid
✅ Plus many other improvements: #fluentapi, #rdf generation,...
📜https://github.com/BESSER-PEARL/BESSER/releases
⚙️https://github.com/BESSER-PEARL/BESSERI can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ https://editor.besser-pearl.org/
Pls also reshare this post and drop a ⭐ on #github so that others can also benefit from our #opensource #lowcode #free #platform
#uml #ocl #classdiagram #database #sql #codegenerator #vibemodeling -
🚨MAJOR RELEASE ALERT 🚨
Today we are launching BESSER v.4, with some massive improvements 👏🥳🎉:
✅ Project management: create new #modeling projects comprising different types of diagrams (#classdiagram, #statemachine, #objectdiagram...) in our #online #modeling #editor
✅Create object diagrams to model specific scenarios conforming to your class diagram
✅ #Evaluate #ocl constraints on your object diagram and get #feedback on whether your scenarios are #valid
✅ Plus many other improvements: #fluentapi, #rdf generation,...
📜https://github.com/BESSER-PEARL/BESSER/releases
⚙️https://github.com/BESSER-PEARL/BESSERI can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ https://editor.besser-pearl.org/
Pls also reshare this post and drop a ⭐ on #github so that others can also benefit from our #opensource #lowcode #free #platform
#uml #ocl #classdiagram #database #sql #codegenerator #vibemodeling -
Robot Imagination:
My robots report "life stats".
Yesterday, TurtleBot5-WaLI reported multi-thousands of "playtimes" in only 4100 hours of "life". (not possible)
Reviewing how he computes stats, the issue became clear - WaLI "Noticed Docking Success" once a minute for a long, long time after an undocking failure.
When writing my state machines, I try to imagine all the transitions needed, but robot WaLI always demonstrates greater imagination.
-
Robot Imagination:
My robots report "life stats".
Yesterday, TurtleBot5-WaLI reported multi-thousands of "playtimes" in only 4100 hours of "life". (not possible)
Reviewing how he computes stats, the issue became clear - WaLI "Noticed Docking Success" once a minute for a long, long time after an undocking failure.
When writing my state machines, I try to imagine all the transitions needed, but robot WaLI always demonstrates greater imagination.
-
Robot Imagination:
My robots report "life stats".
Yesterday, TurtleBot5-WaLI reported multi-thousands of "playtimes" in only 4100 hours of "life". (not possible)
Reviewing how he computes stats, the issue became clear - WaLI "Noticed Docking Success" once a minute for a long, long time after an undocking failure.
When writing my state machines, I try to imagine all the transitions needed, but robot WaLI always demonstrates greater imagination.
-
Robot Imagination:
My robots report "life stats".
Yesterday, TurtleBot5-WaLI reported multi-thousands of "playtimes" in only 4100 hours of "life". (not possible)
Reviewing how he computes stats, the issue became clear - WaLI "Noticed Docking Success" once a minute for a long, long time after an undocking failure.
When writing my state machines, I try to imagine all the transitions needed, but robot WaLI always demonstrates greater imagination.
-
Robot Imagination:
My robots report "life stats".
Yesterday, TurtleBot5-WaLI reported multi-thousands of "playtimes" in only 4100 hours of "life". (not possible)
Reviewing how he computes stats, the issue became clear - WaLI "Noticed Docking Success" once a minute for a long, long time after an undocking failure.
When writing my state machines, I try to imagine all the transitions needed, but robot WaLI always demonstrates greater imagination.
-
Fixed a number of failing tests in my simple state machine library for Go.
Most of them were in the graphviz generation for the visualization of the state nodes. It's not perfect yet, but for sure it's in a better shape for the future.
Overall I'm pleased, because any bit of the yak that gets shaved is a step ahead in the overall goal of getting the #GoActivityPub library to a stable release.
-
Легковесная система комбо-атаки
В этой статье Вы узнаете, как создать легковесную систему комбо-атаки для 2D и 3D проектов с использованием машины состояний в Unity. Статья включает примеры кода и ссылку на репозиторий с полным проектом, что делает её полезной как для новичков, так и для опытных разработчиков, стремящихся улучшить свои навыки в создании игровых систем.
-
Pretty State Machine Patterns in Rust
https://hoverbear.org/blog/rust-state-machine-pattern/
#HackerNews #Pretty #State #Machine #Patterns #in #Rust #Rust #StateMachine #Programming #SoftwareDevelopment #HackerNews
-
For one reason or another, I've found myself writing string parsers a lot in various projects I've done over the years – the kind of parsers where I have to go through char-by-char due to how varied of inputs there could be. ... And so, I've usually ended up with a wide variety of variables and very long repeated code to accomplish this. (cont.)
-
> #LegendState is an extremely fast #signal-based #state #library with fine-grained #reactivity and a powerful sync system that works with any backend.
https://www.legendapp.com/open-source/state/v3/
#webDev #reactJS #javaScript #observable #twoWayBunding #stateMachine #frontEnd
-
> #LegendState is an extremely fast #signal-based #state #library with fine-grained #reactivity and a powerful sync system that works with any backend.
https://www.legendapp.com/open-source/state/v3/
#webDev #reactJS #javaScript #observable #twoWayBunding #stateMachine #frontEnd
-
> #LegendState is an extremely fast #signal-based #state #library with fine-grained #reactivity and a powerful sync system that works with any backend.
https://www.legendapp.com/open-source/state/v3/
#webDev #reactJS #javaScript #observable #twoWayBunding #stateMachine #frontEnd
-
> #LegendState is an extremely fast #signal-based #state #library with fine-grained #reactivity and a powerful sync system that works with any backend.
https://www.legendapp.com/open-source/state/v3/
#webDev #reactJS #javaScript #observable #twoWayBunding #stateMachine #frontEnd
-
> #LegendState is an extremely fast #signal-based #state #library with fine-grained #reactivity and a powerful sync system that works with any backend.
https://www.legendapp.com/open-source/state/v3/
#webDev #reactJS #javaScript #observable #twoWayBunding #stateMachine #frontEnd
-
TIC-80 State Machine tutorial: https://youtu.be/_kzTnHNEWH4
#tic80 #youtube #youtuber #youtubechannel #statemachines #statemachine #menu #game #gamedev #tutorial #tutorials #programming #programmer #programminglanguages #lua #2d #2dgame #coding #code #creativecoding #creativity #creative #scripting #lua #pixel #pixelart #nerd #geek #Computer #ComputerScience #howto
-
Ich muss ja zugeben daß ich bei programming patterns ein riesiger Fanboy Von state machines bin. Die sind einfach genial.
-
A new #bot framework is born 🤖 👶 - Say 👋 to the new #BESSER Bot Framework:
- With an embedded #NLP Engine
- Tested with 🇫🇷 🇩🇪 🇪🇸 cat 🇺🇸 and partial support for 🇱🇺
- #Python-based with a #FluentAPI to hide the complexities of creating bots
- With #StateMachine semantics to create all types of bots
- #Intent-based to avoid hallucinations. Add #LLM support for those questions the bot is not #trained on
Read more ➡️ https://livablesoftware.com/besser-bot-framework/
Try it ➡️ https://github.com/BESSER-PEARL/BESSER-Bot-Framework 🧰
-
I didn't know about C# Stateless library before reading Emre Mert's post. I love the idea to build my state machine with C# code. Yet, for .NET cloud native applications, I would probably rely on AWS Step Functions to manage a state machine.
https://emremert.dev/state-machine-in-microservice-design
#dotnet #statemachine #aws #stepfunctions -
#LeeCronin and #LexFridman - The Greatest #Invention In The History Of The #Universe
https://www.youtube.com/watch?v=6T_x3Teeq40&ab_channel=LexClips
#CellularAutomata #Life #Evolution #Computation #DataStorage #Replication #StateMachine #TuringMachine #VonNeuman #Replicator #Replicators #Constructor #Constructors #PhaseTransition #PhaseTransitions #Mutation
-
#LeeCronin and #LexFridman - The Greatest #Invention In The History Of The #Universe
https://www.youtube.com/watch?v=6T_x3Teeq40&ab_channel=LexClips
#CellularAutomata #Life #Evolution #Computation #DataStorage #Replication #StateMachine #TuringMachine #VonNeuman #Replicator #Replicators #Constructor #Constructors #PhaseTransition #PhaseTransitions #Mutation
-
#LeeCronin and #LexFridman - The Greatest #Invention In The History Of The #Universe
https://www.youtube.com/watch?v=6T_x3Teeq40&ab_channel=LexClips
#CellularAutomata #Life #Evolution #Computation #DataStorage #Replication #StateMachine #TuringMachine #VonNeuman #Replicator #Replicators #Constructor #Constructors #PhaseTransition #PhaseTransitions #Mutation
-
#LeeCronin and #LexFridman - The Greatest #Invention In The History Of The #Universe
https://www.youtube.com/watch?v=6T_x3Teeq40&ab_channel=LexClips
#CellularAutomata #Life #Evolution #Computation #DataStorage #Replication #StateMachine #TuringMachine #VonNeuman #Replicator #Replicators #Constructor #Constructors #PhaseTransition #PhaseTransitions #Mutation
-
#LeeCronin and #LexFridman - The Greatest #Invention In The History Of The #Universe
https://www.youtube.com/watch?v=6T_x3Teeq40&ab_channel=LexClips
#CellularAutomata #Life #Evolution #Computation #DataStorage #Replication #StateMachine #TuringMachine #VonNeuman #Replicator #Replicators #Constructor #Constructors #PhaseTransition #PhaseTransitions #Mutation