forward barf C-} after moving the cursor down two lines - convolute
leaves it in front of (if ...).
Sean
On Fri, Aug 9, 2013 at 8:49 AM, Laurent PETIT wrote:
>
>
> Le vendredi 9 août 2013, Sean Corfield a écrit :
>>
>> Ah, yes... it turns this ( | represents the cursor ):
>&g
Ah, yes... it turns this ( | represents the cursor ):
(f a b (g c d |e f))
into this:
(g c d (f a b e f))
I find I use it most often when moving `let` forms around, but also
for other constructs occasionally.
Sean
On Fri, Aug 9, 2013 at 8:15 AM, Ambrose Bonnaire-Sergeant
wrote:
> I
Gmail search is defeating my efforts to locate what my problems with
2.2.0 were so I'll just wait until I can download 2.3.0 and re-run all
our tests anyway. Sigh.
On Fri, Aug 9, 2013 at 8:12 AM, Sean Corfield wrote:
> On Fri, Aug 9, 2013 at 12:14 AM, Phillip Lord
> wrote:
>&
remember but I did post notes about them here a
while back). I was just hoping to see if those problems were fixed in
2.3.0. I'll search the archives and see if I can find my post (and
then I'll look at the 2.3.0 release notes).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View
On Fri, Aug 9, 2013 at 6:58 AM, Laurent PETIT wrote:
> What does it do? (first time I encounter it)
DrRacket? It's the "standard" IDE for the Racket language (and all of
its teaching subsets etc).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corf
; ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/grou
0 0261 0 --:--:-- --:--:-- --:--:-- 336
100 11353 100 113530 0 11459 0 --:--:-- --:--:-- --:--:-- 101k
Manual self-install is deprecated; it will run automatically when necessary.
Downloading Leiningen to
/Users/sean/.lein/self-installs/leiningen-2.3.0-standalone
where the
additional productivity comes from. Assuming you can get past paredit
not allowing you to type ill-formed code, of course :)
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the
w many times I
use paredit-convolute-sexpr to help reorganize code - I'm almost at
the point of binding it to a key sequence!).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of t
unified syntax - esp. since it would have
to support the legacy syntax for several releases alongside (and then
you'd have to consider whether mixed syntax should be supported -
ugh!).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http:
right now to do anything that isn't standard / turn key).
Sean
On Thu, Aug 1, 2013 at 9:48 AM, Jim Crossley wrote:
> Nice timing, Sean! :-)
>
> On Wednesday, I was able to finally get Immutant clustering successfully on
> OpenShift. Load-balanced messaging and web, failover for d
Excellent! I look forward to trying this!
Any plans for a Clojure / Immutant cartridge for OpenShift?
Sean
On Wed, Jul 31, 2013 at 1:49 PM, Jim Crossley wrote:
> Today we finally released Immutant 1.0.0!
>
> Read about it here: http://bit.ly/imm100
>
> For those unfamiliar,
on value from the channel anyway?" but I
quickly realized this was the exact same problem!)
Sean
On Thu, Aug 1, 2013 at 3:19 AM, Alice wrote:
> throw>! is an explicit operation, and there's no special channel states
> involved. It's passing an exception like other data that
th PI
sqrt) and code that uses PI and sqrt directly, you can (import
java.lang.Math) and use Math/PI and Math/sqrt instead.
Sean
On Wed, Jul 31, 2013 at 4:40 PM, jayvandal wrote:
> I am trying to run the snake program . I don't know how to fin this "use
> clojure.contrib.impo
On Wed, Jul 31, 2013 at 10:58 AM, Alice wrote:
> It doesn't produce a compile time error but I think it's not the correct
> code because the transaction can be committed while insert-async! is still
> executing.
Right. I was just showing how to avoid the compile error (because you
need http://cor
On Wed, Jul 31, 2013 at 10:29 AM, Alice wrote:
> (go
> (jdbc/db-transaction [t-con db-spec]
> (http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
--
You received this mess
time from ST2 to Emacs. The third does a lot of front end web dev
and finds ST2 easier to work with - but I suspect when she starts
doing Clojure / ClojureScript work, she'll switch too.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. --
a plain ol' map would
be more idiomatic for most of the examples I am interested in
documenting... although defining protocol-based versions of the
functions in those examples would be an interesting diversion as
well).
Sean
On Thu, Jul 25, 2013 at 9:41 AM, Neale Swinnerton wrote:
> Chas
form is considered more idiomatic (assume pt is a Point record):
(.x pt) or (:x pt)
Are there (other) things regarding records for which idiomatic usage
would not look just like maps?
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://wor
Cool. I'll take a look at that and email you (hopefully tomorrow,
depending on workload!).
Sean
On Wed, Jul 24, 2013 at 10:15 PM, Mark wrote:
> Thanks, Sean. Not sure through what channel you want to communicate.
>
> I have pushed some changes that significantly clean up the cod
ome refactoring to do...
Sean
On Wed, Jul 24, 2013 at 6:47 PM, Mark wrote:
> re Signing the CA: Definitely. I'll get that sent in ASAP.
>
> In the meantime, can you take a look at
> https://github.com/markaddleman/java.jdbc/commit/27a246dee7c0a06c888d827e0699bc6966725b58
>
That's great and would be a worthwhile addition but don't forget to
get your CA signed and sent in, otherwise your contributions cannot be
accepted. See http://clojure.org/contributing for more details.
Sean
On Wed, Jul 24, 2013 at 4:03 PM, Mark wrote:
> I'm pretty intere
the discussion of the
utility of adding :refer to :require in the first place.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist nove
On Tue, Jul 23, 2013 at 1:53 PM, Ben Wolfson wrote:
> On Tue, Jul 23, 2013 at 1:50 PM, Stefan Kamphausen
> wrote:
>> It complects require and refer ;-)
> How so?
Because use = require + refer (essentially).
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http:/
ing a solution, but I
think :use in the ns macro should be deprecated (i.e., :use should at
some point go away but perhaps the use function should stay for
REPL-based exploration?).
Tightening up the ns macro so it issues warning for undocumented
constructs would also be a good idea:
(ns
use in earlier blog posts about Clojure (... checking
... yup, three blog posts from early 2012 contain :use, mostly with
:only, so those should be updated to use :require / :refer instead).
Sean
On Tue, Jul 23, 2013 at 11:27 AM, Gary Trakhman wrote:
> We should scour clojuresphere for uses of
See this discussion: https://groups.google.com/forum/#!topic/clojure/67JQ7xSUOM4
(kinda hard to Google for functions with -> in their name so it took
me a bit of digging!)
Sean
On Wed, Jul 17, 2013 at 10:15 AM, Steven Degutis wrote:
> In that case, shouldn't it be named let->
cketio - but it's outdated and when I
reached out to him, he confirmed the first point above - that the
server side of Socket.IO is too complex to warrant trying to replicate
ourselves (and that Socket.IO had evolved sufficiently that his
project wouldn't be a useful starting point eithe
jure?
What approaches have you taken?
Obviously, we could run Node.js and have it hit a Clojure-based REST
API to do the integration, and that might be less pain long term
but...
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsin
NP. Many of us are only too happy to help folks new to Clojure get
over these humps and become productive! :)
On Tue, Jul 16, 2013 at 6:57 PM, Keith Maynard wrote:
> Wow Awesome Sean, I dropped your code in and it worked immediately
>
> It's quite a challenge figuring o
xs))] (cons x p)) )
>
> )
You need something like this:
(defn perms
[xs]
(if (seq xs)
(for [x xs p (perms (removeFirst x xs))] (cons x p))
[[]]))
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perf
This is a great example of both Stuart Sierra's suggested workflow
(from his talk at Clojure/West) and of using core.async to simplify
concurrent, collaborating processes! Thanks for sharing!
Sean
On Mon, Jul 15, 2013 at 11:10 AM, mybuddymichael
wrote:
> I recently rewrote my team'
https://github.com/rkneufeld/lein-try/issues/3
Let me know if I can help with testing or provide any additional information.
Sean
On Sun, Jul 14, 2013 at 7:42 AM, Ryan Neufeld wrote:
> Can you pop that in an issue on the project. In the mean time I'll see if I
> reproduce that prob
It doesn't work when I spell it correctly either (and I had done
several tests - but of course the results of misspelling it look the
same as it not working - and it's indicative of my day that I pasted
the result of a bad test! :)
C:\Users\Sean\clojure>lein new five
...
C:\Users\Se
T.java:443)
user=>
Inside a project, it only seems to pick up the project's deps, not add
to them. Am I doing something wrong?
Sean
On Sat, Jul 13, 2013 at 6:56 AM, Ryan Neufeld wrote:
> Hey folks,
>
> Don't you hate it when someone releases a cool new library and you have to
Thanx Jay. For whatever reason, multiple nREPL buffers has never
worked for me before but on reading that I suspect I may just have had
incorrect assumptions about how it was actually supposed to work...
Sean
On Thu, Jul 11, 2013 at 3:10 PM, Jay Fields wrote:
>
>
>
> On Thu, Jul 1
Vector, I would expect you to need
to provide several more method definitions?
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/IPersistentVector.java
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://wo
ctive REPLs (usually for working with
multiple projects) but have never figured out how to get it working...
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustav
clojure.java.jdbc.sql is a deliberately minimal DSL - Justin Kramer's
HoneySQL is what I recommend for more expressive SQL construction
(that's the "official" recommendation based on discussions Justin and
I had about java.jdbc and HoneySQL at Clojure/conj 2012).
Sean
On Mon,
oogle.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options,
github.com/java.jdbc that would seem preferable.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
--
Yo
ities and :identifiers to deal with
quoting. Sounds like a reasonable enhancement to extend that
functionality to third-party libraries as well... feel free to create
issues in JIRA.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://wor
moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are s
le to
find anything about how to best do this.
It case it helps, the real macro is with-collection and it takes a collection
name, does a lookup and some validation in a DB, then needs to share the
collection's id with the body.
Cheers,
Sean
--
--
You received this message because yo
been updated in a year, no idea about this one
Sean
On Sun, Jun 30, 2013 at 4:44 PM, David Pollak wrote:
> Folks,
>
> Is there an offline package of Clojure docs (the full core.* api docs, cheat
> sheets, etc.)?
>
> I'm traveling with intermittent Internet connectivity (I
xample.com/FIXME";
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"sonatype-oss-public"
"https://oss.sonatype.org/content/groups/public/"}
:dependencies [[org.clojure/clojure "1
hat have slightly different map
implementations...
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
dbc, I highly recommend HoneySQL.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
--
You received thi
It's the dog's b*ll*cks! :)
(since we're doing cultural slang, let's get some Britishness in there!)
Sean
On Tue, Jun 18, 2013 at 9:04 PM, Russell Whitaker
wrote:
> But... is it also the bee's knees?
>
> Russell Whitaker
> Sent from my iPhone
>
>
ons call whichever version is easiest to use. The arglists
metadata on foo assists users of the library:
user=> (doc foo)
-
user/foo
([a b :c 1 :d "two"])
Do something
Sean
On Tue, Jun 18, 2013 at 3:52 AM, James Reeves wrote:
> I somewhat disagree with th
at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com
you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sean A Corfi
This is very helpful Jay, thank you!
We switched from clojure.test to Expectations after Clojure/West 2012
and we've been very happy with the framework. Centralized
documentation will certainly make life easier for my team!
Sean
On Tue, Jun 11, 2013 at 11:39 AM, Jay Fields
each
version as it is released.
Sean
On Mon, Jun 10, 2013 at 3:17 PM, Plínio Balduino wrote:
> Thanks. I went there before ask here =)
>
> Plínio
>
> On Jun 10, 2013 6:58 PM, "Softaddicts" wrote:
>>
>> Look at this:
>>
>> http://dev.clojure.o
eceived 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
No. Read http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
On Sun, Jun 9, 2013 at 6:41 PM, Steven Degutis wrote:
> Is this still current? http://clojure.github.io/clojure-contrib/
>
> On Sunday, June 9, 2013 8:19:15 PM UTC-5, Sean Corfield wrote:
>>
>> On
t
> clojure.test, but in the discussion there were many more complaints.
Yes, people tend to complain but don't actually do anything about it -
they don't open tickets - so nothing gets done :)
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Si
x27;s
not even worth writing a macro to standardize the boilerplate (at
least, it hasn't annoyed me sufficiently to make it worth doing yet).
Sean
On Sun, Jun 9, 2013 at 4:57 PM, Steven Degutis wrote:
> I agree, we should survey users of existing tools. The thing is, we *are*
>
gs - but not much based on how few JIRA tickets
exist) or they switch to a third party framework they prefer - but
across the board tooling is the weak spot (IMO). So I wouldn't spend
much time on the test machinery itself and the API that test2 exposes
since that's all very s
roup and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingl
- clojure.core
* await-for - clojure.core
* transaction - java.jdbc (deprecated)
* db-transaction - java.jdbc
It sounds like all inserts and updates in java.jdbc should also be
wrapped in io! and I would expect io! to be needed in a lot of other
places in Clojure libraries across the board...?
--
Sean A
lts" - then breaking on an exception won't help you
anyway, and you're back to painstakingly tracking thru code to find
where data went bad. Hammock time, careful human analysis, and
selective logging and tracing is more likely to yield results quicker
for less effort, in my opinion.
A
On Mon, May 27, 2013 at 9:50 PM, Kevin Downey wrote:
> doall doesn't recurse, so you are not realizing the lazy-seq, you want
> something like [msg (doall sig-strs)]
Thank you Kevin! When Elango said my suggestion didn't work, I was
puzzled. Now it makes sense!
--
Sean A Corfi
ost.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" g
On Wed, May 22, 2013 at 9:32 AM, Peter Mancini wrote:
> (defn all-true?
> [coll]
> (every? (fn [x] (= x true)) coll))
(defn all-true?
[coll]
(every? true? coll))
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles
ib
that actually had maintainers were moved into new libraries, updated
individually. Many of them are still compatible with Clojure 1.2 but a
lot of the parts of the original contrib were abandoned for a number
of reasons.
Sean
On Tue, May 21, 2013 at 11:25 PM, wrote:
>
> Hi,
>
>
I had to revert to Axis 1.x for compatibility with some 3rd party code
I don't control that has to run in the same servlet container as our
Clojure code. The Axis 2.x wrapper looked much nicer but we couldn't
use it.
Sean
On Sat, May 18, 2013 at 5:32 PM, Marc Boschma wrote:
> We
to test it for a problem I
was working on - it didn't really do what I needed so I took a
different approach (using Axis 1.x libraries at a much lower level for
one specific web service)."
Sean
On Fri, May 17, 2013 at 11:29 PM, marc wrote:
> Hoping someone has already explored this. H
on above from the contrib repo to the clojure-doc repo?
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
-
Latest alpha build of the upcoming 0.3.0 release of Clojure's JDBC
wrapper contrib library.
TL;DR: Extensive code changes around connection handling that I'd like
to see get tested in the "real world"...
http://corfield.org/blog/post.cfm/clojure-java-jdbc-0-3-0-alpha-4
--
Sea
in sequences. (In fact
> I believe that count should be O(1).)
So you think (count (map inc [1 2 3])) should be illegal?
(I'm just trying to understand your logic here)
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsin
ho', I know a lot of "programmers" who are not like that.
For them, it's a job. When they go home, they don't think about it,
they don't read technical books for "fun", they don't write OSS. I'm
just glad people are willing to pay me for something I'd have
But then instead of
(if (not (empty? foo))
(do-something-to foo)
base-expr)
you could just write
(if (empty? foo)
base-expr
(do-something-to foo))
which maintains the "idiomatic" approach but is still "more obvious code", yes?
Sean
On Sat, May 11, 2013 at 2:20
#x27;t have to think about it, you can work around problems
that crop up.
Does that help Colin?
Sean
On Fri, May 10, 2013 at 4:04 AM, Colin Yates wrote:
> (newbie, getting better each day!)
>
> I assume we all know DI. Through the use of a central registry I can
> register a service
h has indicated that pretty much only
clojure.lang.RT.var() is really "supported" and everything else should
be considered off-limits.
That doesn't help you with changing the classloader so maybe someone
from Clojure/core can weigh in on whether that's even considered
safe...?
Sea
time? Seems to basically duplicate what Connection.setAutoCommit
> already does?
You would never need :transaction? unless you had some very specific,
strange edge case so you can just ignore it.
The implementation uses it and there have been some specific edge
cases people have
Thanx for the detailed feedback. I'm not sure why that didn't show up
in testing. Update made to create alpha3. I'll have it released to
Maven shortly.
On Sat, May 4, 2013 at 3:51 AM, r0man wrote:
> Hi Sean,
>
> I just tested java.jdbc 0.3.0-alpha2 against my code base
ns JDBC-52
Reverted specialized handling of NULL values (reopens JDBC-40)
Rename :as-arrays to :as-arrays? since it is boolean
Add curried version of clojure.java.jdbc.sql/as-quoted-str
Officially deprecate resultset-seq
For more details about past releases: https://github.com/clojure/java.jdbc
--
Sean
Just merge the new, known values back in since they've already been
bound to their (possibly defaulted) values:
(let [params (assoc params :my-key my-key)] ...)
Sean
On Fri, May 3, 2013 at 12:38 PM, Ryan wrote:
> Well, I need to do something more "clever" because I am passi
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 group, send email to
> clojure+unsubscr...@googlegroups
Try this:
user=> (def a)
#'user/a
user=> (bound? (var a))
false
user=> (def a nil)
#'user/a
user=> (bound? (var a))
true
Sean
On Mon, Apr 29, 2013 at 8:32 AM, AtKaaZ wrote:
> How do you guys handle the cases when the var is unbound? I mean
> specifically in the case
l of the necessary JARs from the
cache.
> My question is where do the dependencies locate? I would put the files in
> the c:\clojure-1.4.0
You don't need to install Clojure when you use Leiningen.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Single
r more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> em
quote will not accept a keyword (which is
what the exception is telling you). In the code you posted before,
which did work, you had (name %) instead which would yield a String
from either a keyword or a string - which is clearly what you want
here.
--
Sean A Corfield -- (904) 302-SEAN
An Architect&
Can you open a ticket here with as much detail as possible?
https://github.com/aboekhoff/congomongo/issues
I don't know how many CongoMongo users are currently working with
shared collections.
Sean
On Fri, Apr 19, 2013 at 7:51 PM, Zhi Yang wrote:
> yes, it works for single instance,
as `s`?
Sean
On Fri, Apr 19, 2013 at 5:17 PM, Mond Ray wrote:
> Old thread but what the heck... it doesn't work in my REPL
>
> user=> (defn key-pattern
> #_=> "Create a regex Pattern of the form '|', the key
> names
> #_=> will be
e Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sean A Corfield -- (904) 302-SEAN
A
7;m still looking at is the multi-row insert (returning counts instead
of keys) that is possible with the original API.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good.&qu
todoc task for us to update
everything?
Sean
On Mon, Apr 15, 2013 at 8:03 AM, wrote:
> Hello, Josh
>
> http://clojure.github.io/java.jdbc/
> Actually described about 0.3.x APIs.
>
> 2013年4月15日月曜日 20時53分24秒 UTC+9 Josh Kamau:
>>
>> Hello ;
>>
>> Where can i
t this on
my team members yet, as they are newer to Clojure, but I don't think
it's particularly unreadable or complicated either. It's certainly the
sort of thing you have to get used to with Clojure (and Lisp in
general)...
Sean
On Wed, Apr 10, 2013 at 11:34 AM, Alex Baranosky
wr
rowse/JDBC (although some discussion
about things would be welcome first)
I have created a mailing list specific to clojure.java.jdbc in case
folks want to get into deep discussions and don't want to clog up this
main Clojure mailing list (since I understand the user base for
java.jdbc is re
uery is introduced and before db-spec is
looked at.
True, you could still have a default for identifiers on db-spec which
was used for result-set-seq but that seems asymmetric. If folks think
that's worthwhile despite the asymmetry, can someone create a ticket
in JIRA so I don't forget to loo
If you're using 0.3.0-alpha1, I think I'd recommend using native SQL
and the execute! function:
(j/execute! my-db "UPDATE employee SET SALARY = SALARY + 1000 WHERE
department = ?" [dept])
Sean
On Mon, Apr 8, 2013 at 1:31 PM, Craig wrote:
>
> I am looking for e
and start working
against your database:
(require '[clojure.java.jdbc :as j] '[clojure.java.jdbc.sql :as s])
Use the examples in the java.jdbc documentation to help you along:
https://github.com/clojure/java.jdbc/tree/master/doc/clojure/java/jdbc
Sean
On Sun, Apr 7, 2013 at 4:03 PM
explicitly pass in the naming strategy
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
--
You receiv
his stuff traditionally? How would you deal with
these problems traditionally?
And if you think they're specific to FP, why?
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the
ojure.
Sean
On Sat, Apr 6, 2013 at 5:16 PM, Michał Marczyk wrote:
> Not sure why you're using (- end-index 2) in the printed message.
> Also, you can use (dec end-index) in your termination condition.
>
> As for the main problem, I haven't studied your program very closely,
>
arams)]
...)
Now we're on 1.5.1, I'll probably rewrite code like this to use cond->
(let [params (cond-> [x y]
some-arg? (conj z))]
...)
(once I've convinced myself that is correct!)
Sean
On Tue, Apr 2, 2013 at 12:09 PM, larry google groups
bscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To u
st for users of
clj-time on Google Groups:
http://groups.google.com/group/clj-time
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, Fren
901 - 1000 of 2690 matches
Mail list logo