This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-25
Channels
- # announcements (1)
- # beginners (338)
- # calva (41)
- # cider (19)
- # cljdoc (10)
- # cljsrn (6)
- # clojure (116)
- # clojure-europe (15)
- # clojure-italy (25)
- # clojure-nl (5)
- # clojure-spec (19)
- # clojure-uk (52)
- # clojurescript (99)
- # clojurex (14)
- # cursive (47)
- # data-science (1)
- # datomic (5)
- # duct (1)
- # figwheel (13)
- # fulcro (58)
- # graalvm (93)
- # jobs (3)
- # joker (9)
- # luminus (4)
- # nrepl (21)
- # off-topic (41)
- # pathom (25)
- # re-frame (7)
- # reitit (8)
- # ring-swagger (13)
- # tools-deps (13)
Which libraries in the Clojure ecosystem do I use in order to build an personalised email marketing thing? I'll need templating, ability to send and receive emails for starters.
Have you seen Clojure Toolbox? https://www.clojure-toolbox.com/ It's pretty handy for answering that sort of question.
I am currently looking into my options writing a similar language like clojure which translates to java and runs on the jvm. It seems like antlr is often suggested, which I used already and know how it works, I just wonder if it is limiting in some way (performance, REPL)? In general I think about what would be the fastes way to generate bytecode (parse, transpile, compile), maybe write a parser by hand? Any input welcome.
I wonder why there aren't other types of browsers, not web browsers, but... different ones. An idea that recently came to my mind is having a browser that uses library coordinates as a sort of url to open, so you paste something like {criterium {:mvn/version "RELEASE"}}
into address bar and it resolves deps, downloads them, assembles classpath and boots a repl or something
well, the difference between curl and firefox is that the web has a rendering aspect; curl doesn’t render HTML; it’s pretty much unusable to browse the web.
yeah, I'm not sure there is a need for such a tool, since it's so easy to try stuff from the command line, but it's can be so much more powerful (and insecure) than the web browser
@vlaaad so you were thinking to also have isolation, to prevent the library you’re pulling from messing with your system?
Well, I didn't but now that I have thought about it, looks like it will be the hardest part of such "browser"...
why would you expect the security to be any different than for a repl started from the CLI?
I envisioned it as a more of a general purpose browser, so you can just open a link and don't be afraid that you are hacked
@vlaaad so kinda like docker run --rm -it clojure clj -Sdeps '{…}'
, ignoring the fact that Docker doesn’t provide 100% isolation
actually I wonder: is it possible to start the JVM with total guarantees than whatever code you run can’t touch the file-system/network/etc?
This is pretty wild https://www.qt.io/web-assembly-example-text-edit
About nice editors on wasm https://makepad.github.io/makepad/
this one in rust is awesome Did you press the ESC??? Open the editor and press ESC to see the awesomeness
Is the quality of that due to Rust, or the person wielding it?
Could Clojure produce a similar quality app with a reasonable amount of code/effort?
Part of it is that wasm is pretty performant, I think. But probably the qualities of rust and the author are probably involved too.
There's a new clojure on rust thing that might allow for some clojury type code on rust
You mean https://github.com/chimez/clojure-rust cause that is very limited for now. Also rust has great libraries/frameworks specific for wasm already. Not sure how you could use those with part Clojure. Maybe if you could have some base in wasm, and connect to it with a repl.
Oh wow I didn't know about that one. I was thinking of this one https://github.com/timothypratley/rustly
Wow that is solid