admin-announcements

Announcements from the Clojurians Admin Team (@U11BV7MTK @U077BEWNQ @U050TNB9F @U0ETXRFEW @U04V70XH6 @U8MJBRSR5 and others)
jimmy 2015-12-31T03:29:46.002684Z

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:<mem://localhost:4334/counter>}
Applying 201512345

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

jimmy 2015-12-31T03:47:20.002685Z

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

2015-12-31T05:43:12.002687Z

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?

cjmurphy 2015-12-31T06:11:35.002688Z

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.

jimmy 2015-12-31T08:18:53.002690Z

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 😞

2015-12-31T10:56:48.002693Z

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

2015-12-31T10:58:42.002694Z

Never mind. https://github.com/clojars/clojars-web/wiki/About#how-do-i-delete-a-jar solves my problem.

2015-12-31T14:29:11.002700Z

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

2015-12-31T14:29:34.002701Z

never too soon or too late

jaen 2015-12-31T14:29:42.002702Z

Hmmm

jaen 2015-12-31T14:29:49.002703Z

I think lisps are great first languages

jaen 2015-12-31T14:30:27.002704Z

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

2015-12-31T14:30:48.002705Z

well how new are you to programming?

jaen 2015-12-31T14:30:57.002706Z

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

2015-12-31T14:31:17.002707Z

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

jaen 2015-12-31T14:32:02.002708Z

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

2015-12-31T14:33:50.002710Z

what kind of application can u design using clojure ?

jaen 2015-12-31T14:33:56.002711Z

Any.

jaen 2015-12-31T14:34:04.002712Z

It's a general purpose programming language.

jaen 2015-12-31T14:34:25.002713Z

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

jaen 2015-12-31T14:35:43.002714Z

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

jaen 2015-12-31T14:36:15.002715Z

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

jaen 2015-12-31T14:38:18.002716Z

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.

2015-12-31T14:39:24.002718Z

@jaen: how did you get that coloring?

jaen 2015-12-31T14:40:13.002719Z

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

jaen 2015-12-31T14:40:21.002720Z

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

2015-12-31T14:40:47.002721Z

ah, cool

2015-12-31T16:28:33.002723Z

@jaen: @darwin : also check out https://github.com/AvisoNovate/pretty

jaen 2015-12-31T16:30:52.002725Z

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

2015-12-31T16:35:16.002727Z

@donmullen: thanks, will give it a try

2015-12-31T16:43:56.002728Z

@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