This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (4)
- # beginners (44)
- # boot (15)
- # calva (66)
- # cider (66)
- # clojure (75)
- # clojure-austin (4)
- # clojure-europe (2)
- # clojure-finland (1)
- # clojure-italy (3)
- # clojure-nl (10)
- # clojure-russia (3)
- # clojure-sg (1)
- # clojure-uk (109)
- # clojurescript (18)
- # datomic (8)
- # emacs (1)
- # figwheel-main (1)
- # fulcro (5)
- # jobs (1)
- # jobs-discuss (8)
- # kaocha (7)
- # leiningen (11)
- # luminus (2)
- # off-topic (69)
- # pathom (5)
- # re-frame (7)
- # reagent (4)
- # reitit (18)
- # ring-swagger (3)
- # shadow-cljs (123)
- # spacemacs (1)
- # sql (35)
- # tools-deps (89)
- # uncomplicate (3)
- # vim (6)
- # yada (3)
yeah, the expansion @hiredman showed of let would do the map construction I was mentioning
hi all how to get the current url from address bar in clojure for ex "http://www.eaxmple.com/73-catregory" is the current url , then how to get this using clojure
sorry you will have to be a bit more specific, for example which web server library you are using
they are plain java
Matcher objects, stackoverflowing got me to here: https://stackoverflow.com/questions/8938498/get-the-index-of-a-pattern-in-a-string-using-regex
thank you! I think I'll just proceed differently, the patterns are rather simple I should be able to do it without going to java
If you’re just learning #clojure or spec, but also want to do something useful for other community members, contribute a missing spec to re-find.web: https://re-find.it/ It’s easy and fun.
So if I
instrument a function with spec, it checks the :args. Anyone know if they are planning to add an option to also check the :ret and :fn parts of the spec?
Probably not (I don't know either). Instrumenting is only about checking if you are calling you're function correctly. Whether it returns the right thing is a different concern that generative testing helps with. There are libraries that provide this though (Orchestra if I remember the name correctly)
Okay, I see the Clojure JIRA where the idea was declined, at least for now. I'll try orchestra. I feel like this is more useful in UI/cljs code, where unit testing is harder.
@dpsutton @hiredman Thanks for your help with the polynomial stuff last week. Hash-maps were definitely the way to go! Managed to implement the extent of my knowledge about polynomials. https://github.com/tabidots/numthy/blob/master/src/numthy/polynomial.clj
Also, consider using
clojure.java-time which wraps the java standard library instead of joda.
I'd like to "dip my toes into the water" of deep learning in Clojure. Where are the right places to begin? The ideal for me would be a "hello world" sized project from which I could explore by reading its dependencies and building on its project.
https://neanderthal.uncomplicate.org/articles/guides.html see "Deep Learning From SCratch to GPU" I imagine
Thanks. Actually, that's where I started but sadly got lost at the first two lines of "basic setup":
- In "Getting Started" it's not obvious (though I can guess) if the tasks under Installation are needed, or are superseded by the next section With Leineingen
- In "Hello world" there is basically no readme; nor is the project setup to work with
lein run. I don't see how to take the first baby steps.
It is obvious that a lot of work and love went into Neanderthal and the "Deep Learning From ..." articles. I don't want to be "that guy" who is bothered by the tiny bits of instruction missing at the beginning. But, I'm stuck.
Ok, yeah, you are right. But, I had hoped to learn a bit more first and make sure that these weren't just my personal blind spots. But, yes. I'm stuck at those points.
as for the jvm-options, I'm not sure about
"--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED" in jvm-options-form