This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-31
Channels
- # aleph (1)
- # announcements (2)
- # beginners (20)
- # calva (44)
- # cider (60)
- # clj-kondo (6)
- # clojure (27)
- # clojure-dev (2)
- # clojure-europe (8)
- # clojure-italy (18)
- # clojure-mexico (5)
- # clojure-nl (61)
- # clojure-spec (12)
- # clojure-uk (101)
- # clojurescript (82)
- # cursive (2)
- # data-science (21)
- # datomic (24)
- # fulcro (19)
- # graalvm (5)
- # hoplon (11)
- # jobs-discuss (35)
- # juxt (7)
- # keechma (6)
- # off-topic (21)
- # pedestal (5)
- # planck (2)
- # qa (43)
- # re-frame (3)
- # reagent (7)
- # reitit (4)
- # rewrite-clj (12)
- # sql (10)
- # testing (4)
- # tools-deps (6)
- # vim (23)
- # xtdb (3)
so, I'm trying to figure out what to pass as inputs to a library that's rather undocumented ... what's your workflow to piece things together when libs aren't using spec?
I try to google for an example using the library, or see if they have any tests. If that fails have a look at the source code, and as last resort you can just trying out things I guess.
It's sometimes unclear if a library is good. Especially with Clojure. No recent commits could just mean it's 'done' and there has not been a reason to change anything for some time because it keeps working. Few issues could been it's also almost not used. Things like https://github.com/razum2um/awesome-clojure could make it more easy.
Every-time I try to post my project to Github it says : “Cannot push these commits as they contain an email address marked as private on GitHub” --- I have been using Github for 2yrs and this is the first time this has ever happen to me, when I Google the issue I only find this to be a problem w/ private repositories — but I am trying to make this a public repository (as I am learning React).
https://github.com/settings/emails is the private email option checked?
Hi, I'm developing a application that uses with a database, for that I am using two libraries: [clojure.java.jdbc :as jdbc] [java-jdbc.sql :as sql] In the sql I'm trying to do a where with an operator "<" but I had tried many things and isnt working: My code (jdbc/query database (sql/select * table-name (sql/where conditions))) conditions -> {:id ["<" 50]} Someone can help me how I pass the arguments for the sql/where?
@contato509 I'm not too familiar with the java-jdbc.sql library, but there's also a #sql channel that you might try
Is there an equivalent to (:require [… :as …])
for importing java packages? I want to use two different packages that contain classes with the exact same name like the following (which doesn’t work)
(:import
(org.locationtech.jts.geom Point)
(org.postgis Point))
that's pretty much the option, yeah
luckily import is never needed - just using a class by name ensures it's loaded
is there a way to produce a lazy sequence other then using the lazy-seq
macro? for example, is loop recur naturally lazy?
the answer seems to be no.
right, yea. thats probably more directly what i need in this case to. thanks!
anyone have a great way of using map
in thread first expressions?