This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-16
Channels
- # announcements (33)
- # atom-editor (1)
- # aws (21)
- # babashka (174)
- # babashka-sci-dev (2)
- # beginners (59)
- # calva (4)
- # chlorine-clover (9)
- # clj-kondo (51)
- # clojars (7)
- # clojure (86)
- # clojure-czech (4)
- # clojure-europe (21)
- # clojure-france (6)
- # clojure-nl (1)
- # clojure-uk (2)
- # conjure (7)
- # core-async (3)
- # core-logic (3)
- # cursive (10)
- # data-science (8)
- # datalevin (14)
- # datomic (12)
- # events (1)
- # fulcro (5)
- # graalvm (10)
- # gratitude (3)
- # honeysql (3)
- # hyperfiddle (3)
- # introduce-yourself (4)
- # joyride (3)
- # leiningen (3)
- # malli (13)
- # minecraft (15)
- # music (1)
- # off-topic (40)
- # pathom (16)
- # polylith (28)
- # portal (25)
- # rdf (15)
- # remote-jobs (3)
- # shadow-cljs (23)
- # specter (1)
- # sql (5)
- # tools-deps (25)
- # xtdb (31)
I'm pleased to announce https://github.com/ivarref/mikkmokk-proxy, an unobtrusive reverse proxy that does fault injection at the HTTP layer. It can be used to test the resiliency of your services.
mikkmokk
can:
• Insert faults (before or after) accessing the destination.
• Add delays (before or after) accessing the destination.
• Make duplicate requests.
It can be instructed when and if to inject faults by:
• Statically using environment variables.
• One-off errors using the admin API. The admin API also supports setting new defaults.
• The client using http headers per request.
I typically use https://github.com/shopify/toxiproxy that works at the TCP level. Great to add another tool to my toolbox!
Thanks 🧡 ! I've linked toxiproxy and some other tools under https://github.com/ivarref/mikkmokk-proxy#alternatives-and-related-software. I don't have much experience with toxiproxy nor the other tools yet though.
PS I did read your https://blog.jakubholy.net/2017/05/09/simulating-network-timeouts-with-toxiproxy/ from 2017 when researching this. Great post, thanks!
My pleasure! I saw the list of related tools eventually :-) Thank you for it, I have to check those out too.
Triplicate release of git-revisions (formerly lein-git-revisions):
> Generate software revision strings based on Git and system context data.
git-revisions is a DSL driven tool for generating version strings based on available metadata such as git tags, commit SHAs and counts, environment variables and current date and time paired with possibility to automate the whole next version resolving logic - in fact all the related project repositories are self-recursive, as a developer I do not set the version strings manually at all.
The logic is now split and there are three possible ways to use the tool:
• https://github.com/esuomi/git-revisions 1.2.0 is the reworked core only
• https://github.com/esuomi/git-revisions-lein 1.1.0 provides the tool as Leiningen plugin
• and finally the motivator for this split, https://github.com/esuomi/git-revisions-buildtools 0.1.0 which provides the tool as tools.build
friendly version
new https://github.com/exoscale/coax version available (improves ex-data in coax/coerce!)
https://github.com/exoscale/tools.project also went through a number of bugfixes/additions this week (template init, prep-tasks etc).
Dart->Clojure translator https://github.com/Liverm0r/DartClojure/releases/tag/0.2.1 https://github.com/Liverm0r/DartClojure/releases/tag/0.2.2 (allow file translation).
Thanks to @borkdude for help 🙌
Now it's only m1 and aarch64, but there is a docker file and a script to build it locally (https://github.com/Liverm0r/DartClojure#contribution).
P.S. also allowed file translation like:
./dartclj -p path/to/main.dart
https://twitter.com/ArturDumchev/status/1537446007822159876?s=20&t=rRrKgUnTM7Gv0fqUY3RgTg
@U2N9GDB1U @UKFSJSM38 what's needed to get it to work with emacs? (I am not a Emacs user)
Cool with a native build! Maybe we should publish an npm module as well? (I say ”we” because I could do some of that work, if you like.)
@UL05W6AEM I think we can create a emacs package that calls the native binary :) I did something similar to #jet but it was so sinole that it didn't need a package, only a simple emacs function, even so a package sounds nice
@U0ETXRFEW, would be great if you help 🙂 @UKFSJSM38, before you were asking if it would be possible to translate files. I can now write a function to support it, but I don't know if it is really neded
Yeah, supporting both a file/files and a text string sounds useful for the plugin, simar to #jet cli
A new version of #jet: a command line tool to convert between JSON, EDN and Transit! v0.2.18 (the 18th release!) It now colorizes output automatically when you are connected to a terminal. And it also supports specter now:
$ echo '{:a {:a 1}}' | ./jet -t '(s/transform [s/MAP-VALS s/MAP-VALS] inc)'
{:a {:a 2}}
And also, there's an ARM (M1 compatible) binary now when you install it via brew!
And lastly, there are --thread-first
/ -t
and --thread-last
/ -T
options to offer a shorter notation than --func
/ -f
Enjoy!
https://github.com/borkdude/jet/blob/master/CHANGELOG.md
Channel: #jetThanks to @U0A74MRCJ who explained to me how I could call the isatty
C function from Graal to detect a connected terminal
@U0510902N "it" = checking if stdout is connected to tty?
But it will also return nil when stdin is connected to a pipe. This is why it wasn't sufficient for jet
#jet is now available for deps.edn too: https://github.com/borkdude/jet#depsedn I was able to support both -M and -X/-T style invocations with minimal boilerplate thanks to #babashka-cli :-D
Issue created: https://github.com/babashka/babashka/issues/1299
Clojure CLI https://clojure.org/releases/tools#v1.11.1.1139 is now available:
• Add clj -Ttools install-latest
api function, examples:
◦ Install tool: clj -Ttools install-latest :lib io.github.clojure/tools.deps.graph :as graph
◦ Update tool: clj -Ttools install-latest :tool graph
• Fix regression with clj -X:deps find-versions
from 1.11.1.1119
• Output from clj -X:deps find-versions
now provides :git/tag and :git/sha
• Update to tools.tools v0.2.6
• Use https://github.com/clojure/tools.deps.alpha/blob/master/CHANGELOG.md 0.14.1205
(there are also new releases of tools.deps.alpha, tools.gitlibs, and tools.tools)