This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (21)
- # architecture (6)
- # aws (18)
- # babashka (14)
- # beginners (231)
- # boot (1)
- # calva (2)
- # chlorine-clover (22)
- # cider (34)
- # clara (16)
- # clj-kondo (53)
- # cljdoc (5)
- # cljs-dev (22)
- # cljsrn (3)
- # clojure (283)
- # clojure-europe (24)
- # clojure-italy (9)
- # clojure-nl (5)
- # clojure-spec (5)
- # clojure-uk (57)
- # clojurescript (14)
- # core-typed (8)
- # cursive (4)
- # data-science (7)
- # datomic (41)
- # docker (24)
- # duct (2)
- # emacs (2)
- # exercism (29)
- # fulcro (96)
- # graalvm (4)
- # jobs-discuss (1)
- # kaocha (53)
- # lambdaisland (20)
- # malli (5)
- # nrepl (4)
- # observability (7)
- # off-topic (40)
- # pathom (44)
- # pedestal (8)
- # re-frame (19)
- # shadow-cljs (58)
- # spacemacs (2)
- # sql (9)
- # tools-deps (15)
- # vim (3)
- # yada (10)
So I had a quick look at this article this morning: https://blog.yoshuawuyts.com/state-machines/
and this particular line made me think
The P programming language has state machines as a first-class construct in the language
I know we can make statemachines in Clojure. But what about making them more first-class? Would it be possible to write a function/macro that you could use to check your statemachine, veryfy it, make pictures of it using graphviz and what not else.
you can encode statemachines in maps... (and I think there are already some tools for this) , but surely there must be things where then can even be made better and perform checks at compile time? (hence the macro idea)
This library does a bunch of those checks (all transitions must exist, all states should be reachable etc)… and supports graph-viz — not sure what else you had in mind that it doesn’t do
I’ve always felt that using statemachines/harel statecharts was a bit clunky? I know some people have used it to great effect, (Kevin Lynagh’s stuff comes to mind eg: https://kevinlynagh.com/notes/2017-10-11-statechart-update/) But considering how useful they are, the setup required seems rather more difficult than I’d like?
Fulcro has some nice statemachine stuff included. very useful as webpages quite often are statemachines in a clever disguise.
I found them really useful for end-to-end testing - creating "bots" to automate repetitive actions (e.g. logging in) using Selenium.
Hadn't come across that before. My implementation was in the form of a DSL & Groovy extension to Spock, the company's test driver of choice.
Interesting - what are your devices monitoring? Only a tinkerer with IoT stuff - just playing around with LoRa nodes + Raspberry Pi gateway of late!
How is Fulcro to use in your experience? I keep thinking it’s worth a good look, but I can never seem to find the time =)…
I have found Fulcro quite difficult, but that is mostly due to me not grokking it. My team uses it and is very happy with it.
It is really clever in solving some really hard problems and in combination with Pathom it is really a kitchen-sink-included framework for front end work and it can also do server side rendering if needed.
Hmm, I really need to find the time to dig into it then =)… What things do you/(or they) think it solves well, and what do you feel could be better?
The problem it ultimately solves is that if you have a big app and you get lots of data from the server(s) then you are bound to end up with duplication in your state.
@U052852ES, thanks for mentioning fulcro, it’s really looking like spending weekend taking it for a spin is worth the time =)…
Not sure if this is a thing: is anyone aware of 1 to 1 coaching services for Clojure and application architecture in the UK? Someone who can spend a few hours a week doing collaborative code reviews, advise on programs you're writing etc.? Most resources seem (understandably) to be focused on training teams in office settings on a one time course, but I'm looking more for an ongoing coach / adviser, like you would get for learning the Piano or chess or something.
@allaboutthatmace1789 have a look at the stuff Eric Normand provides, that is, I suspect, the closest thing
I'm a big fan of Eric's stuff, but his training seems to be more focused on workshops for teams.
Yea, I think that sort of thing is a bit hit and miss =)… How experienced are you @allaboutthatmace1789? Happy to chat about stuff if I can help ;)…
@lady3janepl Thanks, that definitely looks worth trying out! @folcon I would say I'm a beginner who has the basics down. I have a project I'm working on, trying to integrate the stuff I'm reading about DDD into a decently designed program. If you have time and inclination, chatting through design docs and code base would be great!
Hi @allaboutthatmace1789, I work for https://juxt.pro and we’ve ran some training courses for teams in the past but I think ongoing one on one remote paring sessions sounds like something we could setup. Maybe we could arrange a call and have a chat about your ideas on it? Feel free to send me a message on here if you’re interested
@alex395, I think something like that for individuals would be in demand anyway, I know I’d be interested =)…