Immutable names of things?

2017-12-06 Thread Didier
Warning: This is the spawn of an idea, not very well refined, and that is little extravagant. I've been doing some hammock time, and I've been thinking that names in a programming language are kind of a complecting of two things, the human readable form, and the machine identifier. What if a

RE: Clojure for beginners

2017-12-06 Thread Sean Corfield
If you haven’t already, join the Clojurians Slack – sign up at http://clojurians.net/ -- and join the #beginners channel where folks will be happy to answer any questions and help you learn. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If

Re: Clojure for beginners

2017-12-06 Thread James Gatannah
This isn't in the same league as any of those books, or the anything recommended by anyone else. And you probably already know everything it has to teach. But it seems worth mentioning. I threw this together a couple of years ago: https://github.com/jimrthy/clojure-introduction It's really

[ANN] re-graph - a GraphQL client for re-frame apps

2017-12-06 Thread Oliver Hine
Hi everyone, I have written re-graph , GraphQL client library for re-frame applications that supports - Subscriptions and queries - Websocket and HTTP transports - Apollo-compatible servers like lacinia-pedestal - Queueing websocket messages until

partition-all in clojure.core.asyncn channel does not work

2017-12-06 Thread Jacek Grzebyta
Hi, I have to populate a triple store with a big number of data (~38k records x 12) and there is a deadly narrow bottleneck - IO operations speed. To fix it I did: 1. To avoid threads overflow I put all compute results into channel. 2. Loading data in chunks is better than single

Re: partition-all in clojure.core.asyncn channel does not work

2017-12-06 Thread Ray Miller
On 6 December 2017 at 11:23, Jacek Grzebyta wrote: > > I have to populate a triple store with a big number of data (~38k records > x 12) and there is a deadly narrow bottleneck - IO operations speed. To fix > it I did: > 1. To avoid threads overflow I put all compute

Re: State & GUIs

2017-12-06 Thread Andrey Zaytsev
Hello, Owen. Right now I'm working on the abstract UI reconciliation library: https://github.com/jetbrains/noria-clj This is created to address the issue between UI and functional programming languages. Basically it is very similar to React, except: 1) The communication between host platform

Re: partition-all in clojure.core.asyncn channel does not work

2017-12-06 Thread Jacek Grzebyta
Thanks a lot. I found you changed the finish slightly - you close q within go body. Where should I put close! in case if I load a channel in many places within several methods? I afraid the go body is done E.g.: (defn main-method [db-api] (let [main-queue (chan 2) ] (sink-method

Re: partition-all in clojure.core.asyncn channel does not work

2017-12-06 Thread Jacek Grzebyta
So I found how to manage all sub-*-methods ( wrote: > Sorry. I put close at he and of the main method but I afraid the main > thread will reach close method before all the data will be put to the queue. > Is any way to check a state of the queue? If I handle channels returned by > all

Re: partition-all in clojure.core.asyncn channel does not work

2017-12-06 Thread Jacek Grzebyta
Sorry. I put close at he and of the main method but I afraid the main thread will reach close method before all the data will be put to the queue. Is any way to check a state of the queue? If I handle channels returned by all *-sub-methods with go inside I could check state if was finished?

Clojure for beginners

2017-12-06 Thread Clojure beginner
Hi all I heard about Clojure a week ago and have a new assignment at work to learn, develope and deploy to production. I haven't developed in 2 years. Programming background is: mainframe and informatica. I have bought 5 books: and Clojure programming, Clojure for brave and true, Clojure in

Re: Clojure for beginners

2017-12-06 Thread Gregg Reynolds
On Dec 6, 2017 5:24 PM, "Clojure beginner" wrote: Hi all I heard about Clojure a week ago and have a new assignment at work to learn, develope and deploy to production. I haven't developed in 2 years. Programming background is: mainframe and informatica. I have bought 5

Re: State & GUIs

2017-12-06 Thread Gregg Reynolds
On Dec 2, 2017 6:53 AM, "Owen" wrote: Hey all. I'm looking for hints on how to put GUIs together in Clojure. Any thoughts appreciated. The two themes that stick out for me in Clojure are considered attention to the default data structures and the radical approach to

Re: Clojure for beginners

2017-12-06 Thread Luc
Hi, Peruse github and read some code until you can find an anchor point to get you started. You might find some problem/need solved that relates to some of your past experience and allows you to train with ‘real’ code. Luc P. -- You received this message because you are subscribed to the

Clojure for beginners

2017-12-06 Thread Chad Stovern
Living Clojure by Carin Meier is very concise with great examples! What type of application are you building btw? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from

Re: Clojure for beginners

2017-12-06 Thread Nando Breiter
https://purelyfunctional.tv/ Living Clojure https://lambdaisland.com/ Aria Media Sagl +41 (0)76 303 4477 cell skype: ariamedia On Thu, Dec 7, 2017 at 12:40 AM, Gregg Reynolds wrote: > > > On Dec 6, 2017 5:24 PM, "Clojure beginner" wrote: > > Hi all

Re: Clojure for beginners

2017-12-06 Thread Matching Socks
Meat and potatoes? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this

[ANN] re-graph - a GraphQL client for re-frame apps

2017-12-06 Thread Alan Moore
Great to see this, thanks! Will be giving it a try soon. Alan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your

Re: partition-all in clojure.core.asyncn channel does not work

2017-12-06 Thread Jacek Grzebyta
Finally I will add atomically changed flag `isFinished`. And separate throw to close if the flag is true. On 6 December 2017 at 13:30, Jacek Grzebyta wrote: > So I found how to manage all sub-*-methods ( finish) but still I do not know where should I put close!. If I