New Functional Programming Job Opportunities

2014-04-28 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: functional software developer at OpinionLab http://functionaljobs.com/jobs/8706-functional-software-developer-at-opinionlab Cheers, Sean Murphy FunctionalJobs.com -- You received this message because you

Re: Clojure lib for blocking io ?

2014-04-28 Thread Atamert Ölçgen
On Mon, Apr 28, 2014 at 1:50 PM, makkalot makka...@gmail.com wrote: Hi, What would be recommended way of handling lots of blocking io concurrent connections ? Apparently, core.async is not very good match for this job, because of its limited thread pool and thread (thread macro) per

Re: Clojure lib for blocking io ?

2014-04-28 Thread makkalot
Hi, Yeah, what I mean is non-blocking io or async io. Thanks. On 04/28/2014 09:07 AM, Atamert Ölçgen wrote: On Mon, Apr 28, 2014 at 1:50 PM, makkalot makka...@gmail.com mailto:makka...@gmail.com wrote: Hi, What would be recommended way of handling lots of blocking io

Re: Clojure Office Hours

2014-04-28 Thread Rudi Engelbrecht
Hi Ulises Just finished our session - wow! I have learned a lot by watching how you approach solving the problem I suggested. Looking forward to our next session and thanks a lot for sharing your knowledge. Kind regards Rudi Engelbrecht On 18/04/2014, at 7:41 PM, Ulises

Re: Clojure Office Hours

2014-04-28 Thread Jakub Holy
I too have booked a session with Ulises and am excited about it :-) @Ulises It would be nice if the timezone of the session was mentioned on the booking page (your [BST] 9-10am is mine [CEST] 10-11, I believe). 2014-04-28 11:09 GMT+02:00 Rudi Engelbrecht rudi.engelbre...@gmail.com: Hi Ulises

Re: Clojure Office Hours

2014-04-28 Thread Ulises
Thanks for the pointer Jakob. I've updated the form accordingly. Cheers, On 28 April 2014 10:56, Jakub Holy jakub.h...@iterate.no wrote: I too have booked a session with Ulises and am excited about it :-) @Ulises It would be nice if the timezone of the session was mentioned on the booking

Re: Proposing a new Clojure documentation system (in Clojure)

2014-04-28 Thread Phillip Lord
I struggled with Clojure's documentation system while writing https://github.com/phillord/tawny-owl. The problem here is that I am using an underlying Java library; in the ideal world, I would like documentation on vars to come from the Object held in the var. But there is no way to achieve this

Re: Clojure lib for blocking io ?

2014-04-28 Thread Alex Miller
Java NIO has support for this and is accessible via interop. -- 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

core.logic with functions

2014-04-28 Thread Phillip Lord
I can do this with core.logic (yes, I know that match-list isn't doing anything much here) (defn match-list [member list] (membero member list)) (run* [q] (match-list 10 [1 10 100]) (== q worked)) For q to come back with any values then 10 has to be part of the list [1 10 100].

Re: Ring + Compojure new route recognition

2014-04-28 Thread Jarrod Swart
Thank you. The compojure-app template does something similar, and I was using that from LightTable, evaling a (start-server) var. This was good info and reminded me what I was doing and how to apply it to the new environment. -- You received this message because you are subscribed to the

Re: Unity 3d and Clojure

2014-04-28 Thread Tims Gardner
Hi Jacob, thanks for your interest! As Max said, this project is definitely still in the mostly functional hack phase, but it should be emerging from that in the next few weeks, and we'll keep the list posted as things develop. - Tims Gardner On Sun, Apr 27, 2014 at 6:15 PM, Max Kreminski

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-28 Thread Peter B. West
Thanks Mark, I'll keep that in mind. At this stage I'm just exploring. Peter On 28 Apr 2014, at 1:03 pm, Marc Limotte mslimo...@gmail.com wrote: I don't know the details of your particular use, but for a general solution to the resource management problem, maybe Stuart Sierra's component

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-28 Thread Peter B. West
On 28 Apr 2014, at 10:57 am, Carlo Zancanaro carlozancan...@gmail.com wrote: ... There are other ways to manage resource scope, though. For instance, you could have your lazy-lines function return a lazy-sequence which will close the file on completely reading the stream: (defn

core.async and Joy of Clojure

2014-04-28 Thread gamma235
Hey guys, I have studied the sample code snippets on the github page, read through several tutorials and watched many talks on core.async, but am still unable to effectively implement this library in my programs. I am trying to level up here with this subject, but feel like the existing

Re: Must a page refresh fire an init event?

2014-04-28 Thread Greg Knapp
Sorry to revive and old thread but when searching for clojurescript atom page refresh this is one of the top results. Thought it was worth mentioning that Alan Dipert has written a storage atom library https://github.com/alandipert/storage-atom that conveniently wraps around your application

Re: core.async and Joy of Clojure

2014-04-28 Thread Alex Ott
The Seven Concurrency Models in Seven Weeks: When Threads Unravel ( http://pragprog.com/book/pb7con/seven-concurrency-models-in-seven-weeks) has the description of the core.async in the CSP chapter... On Mon, Apr 28, 2014 at 4:42 PM, gamma235 jesus.diama...@gmail.com wrote: Hey guys, I have

Re: core.async and Joy of Clojure

2014-04-28 Thread Timothy Baldridge
I'm not sure if you have watched it yet, but my Clojure/Conj talk includes quite a few examples: https://www.youtube.com/watch?v=enwIIGzhahw The code from all the examples is available here: https://github.com/halgari/clojure-conj-2013-core.async-examples Timothy On Mon, Apr 28, 2014 at 8:42

Re: Clojure Office Hours - Experience Report and Future Plans

2014-04-28 Thread Bridget
Hi Leif. I think this is a great idea. I volunteer to do some office hours for beginners. It would be great if some folks who have put on ClojureBridge could help pitch in an hour or two of office hours. ClojureBridge workshop attendees would be a great audience for this. Bridget On

Re: Unity 3d and Clojure

2014-04-28 Thread Mark Mandel
That's awesome. I'll be keeping an eye this project for sure. Sent from my mobile doohickey On 28/04/2014 4:51 PM, Tims Gardner timsgard...@gmail.com wrote: Hi Jacob, thanks for your interest! As Max said, this project is definitely still in the mostly functional hack phase, but it should be

Re: Clojure Office Hours - Experience Report and Future Plans

2014-04-28 Thread Gustavo Matias
Hi Leif, First I just wanted to mention that I absolutely loved our session last week. I'm very glad to see the Clojure community taking this very important action. Unfortunately now I'm on the beginner side, but I will definitely give some of my hours to people so I can help them understand

eclipse REPL problem (no prompt)

2014-04-28 Thread Roelof Wobben
Hello, I try now the eclipse with CounterClockwise plugin. It looks to work fine except one thing. When I open a repl I do not see a sort of prompt. Does anyone know how to solve this ? Roelof -- You received this message because you are subscribed to the Google Groups Clojure group. To

java6 vs java7

2014-04-28 Thread Chris Price
Recently a few co-workers and I have been discussing options related to compiling a few tiny Java libraries that some of our Clojure libraries depend on. We realized that we should be explicitly setting the Java source/target version for jars that we publish to clojars/maven central. Now we're

Re: java6 vs java7

2014-04-28 Thread Alex Miller
The State of Clojure survey last year saw 75% using Java 7 and 19% on Java 6. http://cemerick.com/2013/11/18/results-of-the-2013-state-of-clojure-clojurescript-survey/ On Monday, April 28, 2014 12:56:51 PM UTC-5, Chris Price wrote: Recently a few co-workers and I have been discussing options

Re: eclipse REPL problem (no prompt)

2014-04-28 Thread Ivan L
I recommend the counter clockwise users group at: https://groups.google.com/forum/#!forum/clojuredev-users On Monday, April 28, 2014 1:18:23 PM UTC-4, Roelof Wobben wrote: Hello, I try now the eclipse with CounterClockwise plugin. It looks to work fine except one thing. When I open a repl

Re: java6 vs java7

2014-04-28 Thread Chris Price
Thanks! I hadn't seen that survey, and it's tremendously helpful. On Monday, April 28, 2014 11:48:17 AM UTC-7, Alex Miller wrote: The State of Clojure survey last year saw 75% using Java 7 and 19% on Java 6.

ANN Meltdown 1.0.0-beta12

2014-04-28 Thread Michael Klishin
Meltdown [1] is a Clojure interface to Reactor. Release notes: http://blog.clojurewerkz.org/blog/2014/04/28/meltdown-1-dot-0-0-beta12-is-released/ 1. http://github.com/clojurewerkz/meltdown -- MK http://github.com/michaelklishin http://twitter.com/michaelklishin -- You received this message

ANN Balagan, a new ClojureWerkz project

2014-04-28 Thread Michael Klishin
On behalf of the ClojureWerkz team, I'm happy to announce a new project (brain child of Alex Petrov): Balagan [1]. Release notes: http://blog.clojurewerkz.org/blog/2014/04/28/balagan-1-dot-0-0-is-released/ 1. https://github.com/clojurewerkz/balagan -- MK http://github.com/michaelklishin

ANN Welle 2.0 is released

2014-04-28 Thread Michael Klishin
Welle [1] is a small, expressive Clojure client for Riak. 2.0 is a major release that has one major public API change. Release notes: http://blog.clojurewerkz.org/blog/2014/04/28/welle-2-dot-0-0-is-released/ Note that there is one more major public API change coming soon in 3.0:

Update

2014-04-28 Thread Divyansh Prakash
---IDEA--- I was wondering if we could have a bytecode DSL that would map directly to JVM assembler, using either Jasmin http://jasmin.sourceforge.net/ or Krakatau https://github.com/Storyyeller/Krakatau. Then we could define primitives using these bytecode instructions. For eg: (defroutine +

Re: Update

2014-04-28 Thread Divyansh Prakash
Jasmin would be a much better choice, btw, because it could be used as a dependency in Clojure. -- 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

Re: Update

2014-04-28 Thread Gary Trakhman
Seen: https://github.com/clojure/tools.emitter.jvm ? Here's the actual ASM emit: https://github.com/clojure/tools.emitter.jvm/blob/master/src/main/clojure/clojure/tools/emitter/jvm/transform.clj On Mon, Apr 28, 2014 at 5:43 PM, Divyansh Prakash divyanshprakas...@gmail.com wrote: ---IDEA--- I

Re: Update

2014-04-28 Thread Divyansh Prakash
Thanks! Exactly what I was looking for. -- 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

Re: (eval `(def ~(symbol varname) lineseq)

2014-04-28 Thread Carlo Zancanaro
On Mon, Apr 28, 2014 at 06:06:32PM +1000, Peter B. West wrote: This is the technique used in the old contrib/io.clj read-lines function, isn't it? That's handy to know. Correct. Still, Stuart is skeptical about it. I don't think it's a good general solution to the problem, so Stuart's

Re: core.logic with functions

2014-04-28 Thread Jean Niklas L'orange
Hey Phillip, If you want to say the goal g(x) shall succeed, for all x in this list, then use `everyg` from clojure.core.logic instead of map. I think it is exactly what you're looking for. On Monday, April 28, 2014 3:36:10 PM UTC+2, Phillip Lord wrote: I can do this with core.logic (yes,

Re: core.logic with functions

2014-04-28 Thread Norman Richards
On Mon, Apr 28, 2014 at 8:36 AM, Phillip Lord phillip.l...@newcastle.ac.ukwrote: I want to do the same thing where the second argument is a list of lists. So something like: [...] Is there a way to do this with functions -- or do I need to macro it? As was already mentioned, everyg is