Выпустил релиз Guile-SMC 0.6.1, компилятора конечных автоматов для GNU Guile:
https://github.com/artyom-poptsov/guile-smc/releases/tag/v0.6.1
В новой версии:
- Добавлена возможность установки глобального источника событий для ДКА в разделе
- Исправлена ошибка в процедуре
- Исправлены ошибки в сериализации/десериализации состояний в модуле
- Обновлена документация.
#dev #projects #guile #smc #fsm
https://github.com/artyom-poptsov/guile-smc/releases/tag/v0.6.1
В новой версии:
- Добавлена возможность установки глобального источника событий для ДКА в разделе
legend внутри PlantUML-файла. Например:legend- Команда
event-source: next-char
endlegend
smc context теперь позволяет установить подтип генерируемого контекста. Если раньше можно было выбрать только из двух вариантов — oop и functional, то сейчас можно использовать такие варианты, как:oopПодобная мера позволила сократить объём генерируемого кода для контекста (не берутся те части контекста из Guile-SMC, которые не используются), и кроме того, это позволило решить проблему с дублированием процедур при использовании функционального (
oop/generic
oop/port
oop/char
oop/u8
functional
functional/generic
functional/char
functional/u8
functional) контекста, где каждый вариант предоставлял свою копию процедур, но все основные процедуры имели одинаковые имена.- Исправлена ошибка в процедуре
fsm-run!, из-за которой при завершении работы ДКА возвращалась не последнаяя версия контекста, а предыдущая — это приводило к ошибкам работы функциональных вариантов контекста, где контекст не изменялся, а создавался новый на основе предыдущего. В этой ситуации если в конце работы ДКА происходило какое-то заключительное действие с контекстом (например, обновление через действие по выходу из состояния), то данные изменения не были видны. В случае использования ООП-контекста такой проблемы не возникало, так как ООП-контекст использует мутабельные структуры.- Исправлены ошибки в сериализации/десериализации состояний в модуле
(smc core state) — теперь exit-action корректно сохраняется при преобразовании состояния в список, а при обратном преобразовании списка в состояние восстанавливается.- Обновлена документация.
#dev #projects #guile #smc #fsm
GitHub
GitHub - artyom-poptsov/guile-smc: GNU Guile State Machine Compiler
GNU Guile State Machine Compiler. Contribute to artyom-poptsov/guile-smc development by creating an account on GitHub.
⚡1
#music
The Longest Johns, "Ashes":
https://youtu.be/crq-qc_r6Jk
Lyrics:
The Longest Johns, "Ashes":
https://youtu.be/crq-qc_r6Jk
Lyrics:
Watch that old fire as it flickers and dies
That once blessed the household and lit up our lives
It shone for the friends and the clinking of glasses
I'll tend to the flame, you can worship the ashes
Capture the wild things and bring them in line
And own what was never your right to confine
The lives and the loves and the songs are what matters
I'll tend to the flame, you can worship the ashes
Do you feel heavy? Your eyes drop with grief
Your spirit is wild and your suffering is brief
So never you buckle and bend to the masses
I'll tend to the flame, you can worship the ashes
Get round the fire with a glass of strong ale
And tell us a story from beyond the pale
Bury some seeds and expect some strong branches
I'll tend to the flame, you can worship the ashes
Now show me a man that can meet all his needs
For what we need most now is unity's seed
A common old song for all creeds and all classes
I'll tend to the flame, you can worship the ashes
I'll tend to the flame
What will we do when the world it is ending
And time it is halted for friend and for foe?
Try to hold on to the time as it passes
I'll tend to the flame, you can worship the ashes
I'll tend to the flame, you can worship the ashes
I'll tend to the flame, you can worship the ashes
YouTube
Ashes, from Cures What Ails Ya by The Longest Johns
From the new album Cures What Ails Ya
Merchandise and Physical copies from https://thelongestjohns.com/shop
Digital copies available at https://thelongestjohns.bandcamp.com/ or other major digital retailers
----------------------------------------------…
Merchandise and Physical copies from https://thelongestjohns.com/shop
Digital copies available at https://thelongestjohns.bandcamp.com/ or other major digital retailers
----------------------------------------------…
memory heap
#music The Longest Johns, "Ashes": https://youtu.be/crq-qc_r6Jk Lyrics: Watch that old fire as it flickers and dies That once blessed the household and lit up our lives It shone for the friends and the clinking of glasses I'll tend to the flame, you can…
#music
А вот это очень интересно — поэтичный перевод "Ashes" на русский язык и авторское исполнение:
https://www.youtube.com/watch?v=8uHLexmHbY8
Смысл и настроение песни достаточно хорошо переданы.
А вот это очень интересно — поэтичный перевод "Ashes" на русский язык и авторское исполнение:
https://www.youtube.com/watch?v=8uHLexmHbY8
Смысл и настроение песни достаточно хорошо переданы.
YouTube
Пепел (перевод The Longest Johns — Ashes)
Forwarded from Hacker News
The machines of Tatjana van Vark (Score: 151+ in 15 hours)
Link: https://readhacker.news/s/5C4UD
Comments: https://readhacker.news/c/5C4UD
Link: https://readhacker.news/s/5C4UD
Comments: https://readhacker.news/c/5C4UD
The Miniature Engineering Craftsmanship Museum
Tatjana van Vark - The Miniature Engineering Craftsmanship Museum
Building scientific instruments from the past, along with other technical projects.
memory heap
Выпустил релиз Guile-SMC 0.6.1, компилятора конечных автоматов для GNU Guile: https://github.com/artyom-poptsov/guile-smc/releases/tag/v0.6.1 В новой версии: - Добавлена возможность установки глобального источника событий для ДКА в разделе legend внутри…
Сделал анонс релиза Guile-SMC 0.6.1 в рассылке
https://mail.gnu.org/archive/html/guile-user/2023-07/msg00025.html
guile-user:https://mail.gnu.org/archive/html/guile-user/2023-07/msg00025.html
Изучаем статусы протокола HTTP на котиках:
https://http.cat/
https://http.cat/
HTTP Status Cats API
HTTP Cats
API for HTTP Cats
⚡3
Forwarded from Hacker News
Lonely individuals process the world in idiosyncratic ways (Score: 150+ in 1 day)
Link: https://readhacker.news/s/5C9sc
Comments: https://readhacker.news/c/5C9sc
Link: https://readhacker.news/s/5C9sc
Comments: https://readhacker.news/c/5C9sc
SAGE Journals
Lonely Individuals Process the World in Idiosyncratic Ways
Loneliness is detrimental to well-being and is often accompanied by self-reported feelings of not being understood by other people. What contributes to such feelings in lonely people? We used functional MRI of 66 first-year university students to unobtrusively…