This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-31
Channels
- # beginners (153)
- # cider (30)
- # cljs-dev (8)
- # cljsrn (8)
- # clojure (105)
- # clojure-dev (6)
- # clojure-dusseldorf (5)
- # clojure-italy (6)
- # clojure-nl (3)
- # clojure-russia (34)
- # clojure-spec (23)
- # clojure-uk (54)
- # clojurescript (104)
- # core-matrix (3)
- # crypto (1)
- # cursive (17)
- # datomic (90)
- # duct (13)
- # editors (5)
- # emacs (1)
- # events (1)
- # figwheel-main (9)
- # fulcro (54)
- # hoplon (18)
- # hyperfiddle (2)
- # jobs-rus (1)
- # lein-figwheel (5)
- # leiningen (3)
- # luminus (52)
- # mount (6)
- # off-topic (22)
- # other-languages (3)
- # parinfer (7)
- # powderkeg (3)
- # re-frame (52)
- # reagent (58)
- # rum (4)
- # shadow-cljs (49)
- # spacemacs (12)
- # sql (13)
- # tools-deps (2)
- # yada (1)
(let [matcher (re-matcher #"(foo)*(?<name>.+)(foo)*" "foofoohellofoofoo")]
(when (.matches matcher)
{:name (.group matcher "name")}))
Now I get
{:name "hellofoofoo"}
How do I improve the regex to only get hello
?I wrote a thing https://medium.com/imandra/scalable-deep-symbolic-reinforcement-learning-with-imandra-part-i-346ebb67433a
anyone know if there's a way to generate some sort of parseable api schema (json/xml/anything?) from a java class and/or source file? I'm fiddling with a combination of parsing and reflection now but wondering if there's some library that does this
i basically just need method names, their argument names and types, and the return types
hmmm that seems like it would work but is there an actual library i can use to generate it rather than a standalone program
i think there must be, but honestly i havent used it in 10+ years. i guess there are probably things for rest services also
I just learned about the existence of alternative JVMs, specifically OpenJ9 which is supposedly aimed for web applications etc. Is anyone using JVMs that are not Oracle or OpenJDK?
@orestis I'm using OpenJ9 for development
The memory footprint is waaay smaller (for the first time, my Java VM is in the 4th position in memory consumption)
^^^ I don't believe so - at least for any 'real' use ^^^
@mauricio.szabo did you change any of the heap settings on other jvms you've tried? openj9 may just have a smaller default heap size
Not really, but what I found out is that on other VMs I worked with, if I made any change to the heap size most apps will just not work. With J9, this didn't happen