home.social

#statemachine — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #statemachine, aggregated by home.social.

  1. [Перевод] Async/Await в C# это синтаксический сахар для конечного автомата

    Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.

    habr.com/ru/articles/1035442/

    #асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine

  2. [Перевод] Async/Await в C# это синтаксический сахар для конечного автомата

    Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.

    habr.com/ru/articles/1035442/

    #асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine

  3. [Перевод] Async/Await в C# это синтаксический сахар для конечного автомата

    Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.

    habr.com/ru/articles/1035442/

    #асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine

  4. [Перевод] Async/Await в C# это синтаксический сахар для конечного автомата

    Перевод статьи, посвящённой устройству конечного автомата асинхронных методов. Разбор основных понятий, декомпилированный код с подробными комментариями, раскрытие секретов магии асинхронности и подробная схема.

    habr.com/ru/articles/1035442/

    #асинхронность #async #await #c# #конечный_автомат #awaiter #c#net #taskbuilder #statemachine

  5. Архитектура MassTransit: как устроена библиотека под капотом

    Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.

    habr.com/ru/articles/1033712/

    #MassTransit #Sagas #StateMachine #SagaStateMachine

  6. Архитектура MassTransit: как устроена библиотека под капотом

    Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.

    habr.com/ru/articles/1033712/

    #MassTransit #Sagas #StateMachine #SagaStateMachine

  7. Архитектура MassTransit: как устроена библиотека под капотом

    Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.

    habr.com/ru/articles/1033712/

    #MassTransit #Sagas #StateMachine #SagaStateMachine

  8. Архитектура MassTransit: как устроена библиотека под капотом

    Мне давно было интересно, как устроена библиотека MassTransit изнутри. Хотелось разобраться в её архитектуре, понять, как она развивалась, и почему порой в ней бывает непросто ориентироваться. Если вам тоже интересно, что скрывается за consumers, publishers и sagas - приглашаю к чтению.

    habr.com/ru/articles/1033712/

    #MassTransit #Sagas #StateMachine #SagaStateMachine

  9. 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.

    blog.frankel.ch/illegal-state-

  10. @fmrico ? I have 50 years of ( for mostly ) thinking to undo. I haven’t managed personal yet.

  11. 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.

    #godot #gdscript #ecs #statemachine #gamedev #slyceverse

  12. A new #bot framework is born 🤖 👶 - Say 👋 to the new #BESSER Bot Framework:

    - #OpenSource

    - 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 ➡️ livablesoftware.com/besser-bot

    Try it ➡️ github.com/BESSER-PEARL/BESSER 🧰

  13. Легковесная система комбо-атаки

    В этой статье Вы узнаете, как создать легковесную систему комбо-атаки для 2D и 3D проектов с использованием машины состояний в Unity. Статья включает примеры кода и ссылку на репозиторий с полным проектом, что делает её полезной как для новичков, так и для опытных разработчиков, стремящихся улучшить свои навыки в создании игровых систем.

    habr.com/ru/articles/903680/

    #c# #unity #gamedev #combo #attack #statemachine

  14. 🚨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,...
    📜github.com/BESSER-PEARL/BESSER
    ⚙️github.com/BESSER-PEARL/BESSER

    I can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ 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

  15. 🚨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,...
    📜github.com/BESSER-PEARL/BESSER
    ⚙️github.com/BESSER-PEARL/BESSER

    I can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ 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

  16. 🚨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,...
    📜github.com/BESSER-PEARL/BESSER
    ⚙️github.com/BESSER-PEARL/BESSER

    I can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ 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

  17. 🚨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,...
    📜github.com/BESSER-PEARL/BESSER
    ⚙️github.com/BESSER-PEARL/BESSER

    I can feel your #FOMO so don't wait any longer. Give it a try NOW ➡️ 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

  18. 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.

  19. State design pattern is my new favorite for the next couple of weeks, just saying... ✌️ #GOF #statemachine

  20. 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.
    emremert.dev/state-machine-in-
    #dotnet #statemachine #aws #stepfunctions

  21. 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 #InfoQbit.ly/3Ncc4zm

    #WebDevelopment #StateMachine #Routing #TypeScript

  22. Ya esta disponible el video sobre la máquinas de estados. Concretamente para su uso en la creación de videojuegos. #gamedev #retrodev #statemachine youtube.com/watch?v=oWe2QvkxoSw

  23. 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. wendelladriel.com/blog/welcome
    #php #statemachine #cleancode

  24. 🎯 #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

    🧵 👇

  25. Когда State уже не спасает: путь к Statechart

    В мире разработки программного обеспечения управление состоянием объекта - одна из фундаментальных задач. Когда поведение объекта должно меняться в зависимости от его внутреннего состояния, разработчики часто обращаются к паттерну State . Однако здесь и возникает путаница: его нередко отождествляют с более общей концепцией — State Machine (Конечный автомат), а то и вовсе не видят разницы. Погрузимся в мир управления состояниями — от простого к сложному!

    habr.com/ru/articles/931962/

    #state #statemachine #java #architecture #oop #oop_patterns #ооп #архитектура

  26. 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.

    #go #golang #statemachine

  27. 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.)

    #csharp #string #stateMachine

  28. Ich muss ja zugeben daß ich bei programming patterns ein riesiger Fanboy Von state machines bin. Die sind einfach genial.

    #ProgrammingPattern #StateMachine #StateMachineLove

  29. 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.

    #Create3 #ROS #Turtlebot #robot #statemachine

  30. 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.

    #Create3 #ROS #Turtlebot #robot #statemachine

  31. 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.

    #Create3 #ROS #Turtlebot #robot #statemachine