There is also a recent discussion on IRC about that,
http://clojure-log.n01se.net/date/2013-08-29.html#10:47 and official
documentation mentions it at the end of http://clojure.org/lazy
JW
On Thu, Sep 12, 2013 at 8:56 PM, Brian Craft craft.br...@gmail.com wrote:
I still don't really
Great stuff!
I'm wondering what's the realworld difference between JaCoP and CHOCO.
Why did you choose the former?
On Tuesday, September 10, 2013 5:39:46 AM UTC+4, Alex Engelberg wrote:
http://github.com/aengelberg/clocop
CloCoP is a Clojure wrapper of the Java library JaCoP. The acronyms
On Friday, 13 September 2013 12:11:50 UTC+8, tbc++ wrote:
If we can do away with the interface generation, then support for
arbitrary primitive arguments should become relatively straightforward.
How would we even call a function without an interface? Remember
everything is defined behind
Hello there ;
I am in desparate need of a clojure.jdbc with a connection pool example.
I have googled and the link to github example is broken.
Please help.
Thanks.
Josh
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
Hi Josh,
On Friday, 13 September 2013 15:52:47 UTC+5:30, Josh Kamau wrote:
Hello there ;
I am in desparate need of a clojure.jdbc with a connection pool example.
You can see an example here that uses Apache DBCP (please excuse the plug):
https://github.com/kumarshantanu/clj-dbcp
There are
Thanks alot.
Let me check them out.
Josh
On Fri, Sep 13, 2013 at 1:41 PM, Shantanu Kumar kumar.shant...@gmail.comwrote:
Hi Josh,
On Friday, 13 September 2013 15:52:47 UTC+5:30, Josh Kamau wrote:
Hello there ;
I am in desparate need of a clojure.jdbc with a connection pool example.
Yeah, it's the difference in behaviour that I don't understand.
Thanks for the workaround though Gunnar.
On Friday, September 13, 2013 2:35:37 AM UTC-3, Cedric Greevey wrote:
On Fri, Sep 13, 2013 at 1:08 AM, Gunnar Völkel
gunnar@googlemail.comjavascript:
wrote:
`def` does not handle
Hi,
i got a question on reference type instances with attached watches.
Consider a reference type instance R with a watch W attached by (add-watch
R :watcher #(...)) and
a n parallel activities committing a transition to R in some monotonic
order 0..n-1.
Does Clojure ensure that the function
Hi Josh,
I would opt for using Tomcat 7 Pool API -
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
The following code wraps the pool api and provides reading a config file
(ns foo
(:require [clojure.java.io :as io])
(:import [java.io PushbackReader])
(:gen-class))
(defn conf
Thanks.
I have used C3P0 for now... I will look at tomcat7 pool though
Josh
On Fri, Sep 13, 2013 at 3:19 PM, gixxi
christian.meichs...@informatik.tu-chemnitz.de wrote:
Hi Josh,
I would opt for using Tomcat 7 Pool API -
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
The
Watch behavior varies a bit by ref type, I believe. You'll probably
want to look into the details of the specific ref type you're using.
for atoms and refs, I believe the watch is done on the thread that's
updating the ref. Since retries can occur you can't really count on
ordering. You could
Have you made the free version available yet? I would like to read it and
review. John Hyaduck
On Wednesday, September 4, 2013 5:32:01 PM UTC-4, Tomislav Tomšić wrote:
I suspect, there are numerous possible ways to answer that question. One
can ignore it, others would care to offer
Hey, newish user here.
I want to make an app that finds the optimal lineup for fantasy baseball
games.
Each player is assigned a cost, the average points they earn a game, and
position. For example: Andrew McCutchen, 3.4, 4900, OF
You have to pick one catcher, one pitcher, one first basemen,
Hi, newish user here.
I want to make an app that finds a simple, optimized, fantasy baseball
lineup.
Each player has a cost associated with them, as well as the average points
per game they score, and position. For example: Mike Napoli, 4600, 2.9, 1B
You have to choose one of each position:
On 13 September 2013 08:54, Mikera mike.r.anderson...@gmail.com wrote:
Either way, if Clojure's semantics prove to be a fundamental issue for
performance, then I think it is better to start work to improve Clojure's
semantics (perhaps targeting 2.0 if we think it's a really big breaking
Greetings!
First, thanks in advance to anyone looking at this,
and to the good folks that made clojure possible.
Tinkering, I find that if I redirect input so that clojure.main reads
from a file, and the last line is a form that has been commented out
with #_, then I get an error message.
There are examples in the documentations for both c3p0 and BoneCP:
http://clojure-doc.org/articles/ecosystem/java_jdbc/connection_pooling.html
Note: this is the home for the official java.jdbc documentation so
that it can be augmented by the community, rather than locked in the
java.jdbc repo
To Daniel's comment: that's a great idea (I'm sorta new to this whole
releasing-a-library thing so I didn't think of that), and I'll definitely
make a branch for that if I think of a big idea that I want to implement
that involves breaking changes. But I figure that if someone other than me
I see Arrogance of Abstraction can be borrowed free (today only I think)
by Kindle users with Amazon prime.
On Friday, September 13, 2013 10:36:14 AM UTC-4, John Hyaduck wrote:
Have you made the free version available yet? I would like to read it and
review. John Hyaduck
On Wednesday,
This would be better, IMHO, than forever accepting semantics that
prevent idiomatic code from ever being truly fast.
You're going to have a hard time convincing people to give up some of
the dynamism of Clojure just for the sake of more performance. Especially
considering that many Clojure users
anybody know the easiest way to create web applications and deploy to
amazon web services? (either EC2 or elastic beanstalk)
Thanks,
Jon
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Link:
https://github.com/jakepearson/quickie
Is it possible to see *some* of the stack trace so you can debug?
Also you should include a screenshot of what the library looks like in
action. :)
On Friday, September 13, 2013 10:57:35 AM UTC-7, Jake Pearson wrote:
Hi,
Quickie is a leiningen
Hi,
Quickie is a leiningen plugin to autotest clojure.test tests. There don't
seem to be any active projects for clojure.test, so a couple of people at
my office wrote one. Please let me know if you have any problems or ideas:
- Uses the builtin clojure.test test runner so you don't need
Hi,
I added a screenshot to the readme. I think in general filtering items
from the stacktrace is a good idea, but I am probably doing it too much. I
have an idea. I will work on it this weekend.
thanks,
Jake
On Friday, September 13, 2013 12:21:00 PM UTC-6, Christopher Allen wrote:
Link:
Well for creation itself, http://www.luminusweb.net/ represents best
practices with Ring, Compojure, and the usual attendant libraries.
For deployment, I'd say something like Fabric or Ansible is going to be the
simplest way to start.
On Friday, September 13, 2013 10:45:10 AM UTC-7, Jon Barker
Hi all!
I announced the Kickstarter project here way back in February and got a
good response. I thought you might want to know that the videos are
available for sale.
http://videos.lispcast.com
The target audience is people who are very new to Lisp. It begins with
opening and closing parens
I am stupid and recursion is clearly beyond my intellect. Martin Trojer has
a great blog post here which I learned a lot from but I don't understand
why the final example works:
http://martintrojer.github.io/clojure/2013/07/17/non-tailrecursive-functions-in-coreasync/
He offers this as an
I've created new app with the same name using github source. Thanks a lot,
Steven!
On Thursday, September 12, 2013 9:44:18 PM UTC+3, Ruslan Prokopchuk wrote:
Oh, where this awesomeness has been lost today? Heroku replies:
*No such app*
On Saturday, September 7, 2013 8:09:06 PM UTC+3, Steven
Thanks for putting this plugin together, very useful!
A couple of remarks:
- Seems to the advantage over aphyr/prism in terms of not forcing you to
use the foo-test convention, for those of us who are keeping same names as
the namespaces in the test/ folder. It's possible I'm being
This sounds like a classic knapsack problem. For such a small problem
space, a simple dynamic programming solution would suffice.
If you are interested in exploring this problem at a larger scale, I high
recommend coursera's Discrete Optimization class:
Hi John,
It's super easy to deploy Clojure web app (ring) to Amazon Beanstalk. I
think there were few blog posts about that.
Basically you just need https://github.com/weavejester/lein-beanstalk
Anton
On Friday, September 13, 2013 2:45:10 PM UTC-3, Jon Barker wrote:
anybody know the easiest
I believe Korma uses c3p0 for connection pooling right out of the box.
--
--
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
It forces the go block to wait until (walker (:left t)) pushes something --
that is, for the recursively-entered go block to complete. Similarly the
right branch is waited for before the parent go block completes. So forcing
an in-order traversal of the tree.
On Fri, Sep 13, 2013 at 5:13 PM,
33 matches
Mail list logo