Fork me on GitHub
#clojure
<
2017-01-29
>
tbaldridge01:01:50

I never knew that existed, but wow, I may actually have a use case for that one in awhile.

tbaldridge01:01:24

Could be useful for buffering a complex seq ahead of some IO.

hiredman06:01:39

you say that until you run a chunked-seq through it

vinai08:01:43

I myself are using Emacs, but I would like to write an intellij IDE plugin with Clojure. Before I get started, has someone tried that already and found out it was a dumb idea? Or might it be feasible?

zentrope08:01:51

I think the author of Cursive implemented most of it in Clojure.

vinai08:01:31

Probably. What I want to do is very simple, so I thought I might try to go all the way Clojure.

qqq15:01:56

I'm a big fan of Emac's C-h f. Is there a way to get the entireity of the Oracle Java API Docs under C-h f ?

dpsutton15:01:56

Cider exposes javadoc and some other sources as well

qqq15:01:18

I'd like to use things like helm, org mode, etc ... which I guess means I need to somehow get it as a text format or some other structrured data rather than query cider on the fly

mruzekw18:01:12

Is there an example out there of non-CRUD RESTful clojure backend? Maybe with CQRS? Or GraphQL? I also wondered if people have used Datomics Pull API like GraphQL.

mruzekw18:01:28

I’m familiar with this talk https://www.youtube.com/watch?v=qDNPQo9UmJA but he doesn’t release his source code

sveri20:01:32

Hi, how can I get the day of a clj-time object?

thumbquat20:01:27

just a scan of the docs (haven't tried), but (t/dayOfMonth (t/date-time 1986 10 14 22)) might work. I'm guessing all the fields from Joda Time are available: http://www.joda.org/joda-time/field.html

sveri20:01:26

@thumbquat Thanks, that looks good 🙂

beppu21:01:53

@sveri

(require '[clj-time.core :as t])
(def t (t/now))
(t/day t) ; => 29
(t/day-of-week t) ; => 7

beppu21:01:14

29th day of the month, 7th day of the week.

beppu21:01:23

Speaking of time, I wrote a little timer application using seesaw and core.async. http://beppu.github.io/post/writing-a-timer-in-clojure/

beppu21:01:59

I have some questions at the end regarding naming that I'd like to get some feedback on from more experienced Clojure programmers.

cfleming21:01:51

@vinai It’s tricky, but feel free to drop me a mail (<mailto:[email protected]|[email protected]>)

vinai21:01:03

@cfleming Thanks for your offer!

vinai21:01:43

Work bubbled up a bit but I hope to get to it the second week in February.

eslachance21:01:11

How would I tell http.async.client to raise its size limit on incoming websocket packets? I can and will receive some fairly large ones, and the default (8kb? or something?) is simply ridiculously small...

eslachance22:01:37

Actually this might be something to do with compression - the packets received are compressed and I'm not sure if there's a different way to handle them? Maybe there's a byte event or something but I don't see it anywhere.

kenrestivo22:01:39

you'll probably have to dig down into the guts of the underlying library it calls

eslachance22:01:20

I have a feeling this is going to take me all evening picard-facepalm

eslachance22:01:19

It's great, 11k is a "small" packet, as far as the API I'm using is concerned 😞