This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-25
Channels
- # announcements (14)
- # aws (1)
- # babashka (23)
- # beginners (442)
- # calva (50)
- # chlorine-clover (1)
- # cider (32)
- # clojure (124)
- # clojure-europe (35)
- # clojure-france (5)
- # clojure-gamedev (5)
- # clojure-nl (2)
- # clojure-portugal (3)
- # clojure-uk (4)
- # clojurescript (56)
- # conjure (5)
- # cursive (24)
- # datalevin (1)
- # datomic (57)
- # fulcro (35)
- # helix (15)
- # holy-lambda (8)
- # introduce-yourself (1)
- # jobs (5)
- # kaocha (1)
- # lsp (99)
- # malli (10)
- # music (1)
- # off-topic (22)
- # pathom (38)
- # podcasts-discuss (10)
- # polylith (10)
- # reitit (1)
- # releases (1)
- # remote-jobs (4)
- # shadow-cljs (18)
- # spacemacs (6)
- # tools-build (22)
- # vim (66)
- # xtdb (22)
https://github.com/AbhinavOmprakash/sisyphus is a simple task schedule that can run clojure functions periodically. Features • It runs all the tasks in the background so you can keep working in the repl, after starting sisyphus. • Dynamically add and remove tasks while sisyphus is running. • Exceptions thrown by tasks are logged. • Print logs to console or write to EDN files. If you have ideas and suggestions for improvements do let me know. Clojars https://clojars.org/org.clojars.abhinav/sisyphus
@U02CVMEFEUF Thanks for sharing it! I was wondering how your library compares to https://github.com/overtone/at-at/blob/master/src/overtone/at_at.clj#L2 or https://github.com/jarohen/chime/blob/master/src/chime/core.clj#L8 especially because they use a https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html. Are you using for different use cases?
tbh I haven't seen those libraries, but chime looks interesting. I think I might use a https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html in the next release. But for now, the number of threads spawned is not limited (?) which has the upside of ensuring your task runs at the time it was scheduled (if resources permit). Also, sisyphus has an arguably friendlier interface. (three important functions). It may not give you the fine-grained control of chime, tho. But chime seems like a very mature library :)
#find-my-lib is a good place to check 🙂
https://github.com/behrica/opencpu-clj is simple package to access an https://www.opencpu.org/ server Features: • supporting all OpenCPU operations in an idiomatic way Clojars https://clojars.org/opencpu-clj
Based on a suggestion from @lee and a tip from @borkdude, I wrote a scriptable, embeddable, terminal emulator , https://github.com/phronmophobic/membrane.term
Let me know if you run into any issues. The https://github.com/phronmophobic/membrane.term#run-a-headless-terminal-and-take-a-screenshot section should cover the use case you mentioned
https://github.com/asciinema/vt does a lot of work, but it's not much code either! Since it's all just data, it was really easy to work with. I can't imagine it would be that much fun integrating with a virtual terminal emulator in another language.