Fork me on GitHub
#admin-announcements
<
2015-12-31
>
jimmy03:12:46

I have problem using joplin with datomic, I'm not sure what's wrong, the error message when I run migration is :

Migrating #joplin.datomic.database.DatomicDatabase{:url datomic:}
Applying 201512345

NullPointerException   java.net.URI$Parser.parse (URI.java:3042)

jimmy03:12:20

nvm, I've fixed the problem, it was a typo in my code.

settinghead05:12:12

anyone aware of a graphql implementation in clojure/clojurescript with mutation support? seems that there isn’t much interest in the clj community on graphql. i wonder why?

cjmurphy06:12:35

Because there is an implementation (just not exact/direct), it is just not called graphql. Watch any David Nolan videos on Om Next and graphql is talked about.

jimmy08:12:53

hi guys what is the proper way to define a valid schema using regex in schema ? I've tried (def schema {:user s/Regex #"^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+\.[A-Za-z]{2,6}$"}) but it doesn't seem to work 😞

crocket10:12:48

Does anyone know how to deprecate a jar and remove the repository link from it on clojars?

jarad614:12:11

hi eveyone , i am new to programing can i learn clojure or is it too soon

jcomplex14:12:34

never too soon or too late

jaen14:12:49

I think lisps are great first languages

jaen14:12:27

But Clojure has a few things that make it less than ideal for a first timer, particularly absolutely awful errors.

jcomplex14:12:48

well how new are you to programming?

jaen14:12:57

I think something like Racket with "How to Design Programs" could be a better introduction.

jarad614:12:17

i have done some programing in c & c++ . and in javascript .

jaen14:12:02

Hmm, maybe you have background enough to not be scared by those errors then, I suppose.

jarad614:12:50

what kind of application can u design using clojure ?

jaen14:12:04

It's a general purpose programming language.

jaen14:12:25

But it's certainly less used in areas like GUI programming or game programming than in others.

jaen14:12:43

It's sweet spot is probably web applications, especially those of more complex variety - single page applications, realtime updates and such.

jaen14:12:15

There's also general interest into extending that to cover mobile applications through React Native.

jaen14:12:18

But if you think figuring out what errors like those mean - http://technomancy.us/i/clj-stacktrace.png - then you could probably just pick up "Programming Clojure" and start learning.

darwin14:12:24

@jaen: how did you get that coloring?

jaen14:12:13

I dunno, I've just grabbed that off the interwebs. I use Cursive.

jaen14:12:21

But the relevant post - http://technomancy.us/154 - suggests clj-stacktrace

jaen16:12:52

Looking at the screen from the docs this looks suspiciously similar to what Cursive (or boot's repl) outputs for me.

darwin16:12:16

@donmullen: thanks, will give it a try

donmullen16:12:56

@jaen : interesting - not sure boot uses pretty - but many others do : https://crossclj.info/ns/io.aviso/pretty/0.1.20/project.clj.html#used