of partial SQL statements
when constructing complex SQL queries.
- has protocol-based adapters supporting multiple database libraries and
ships with adapters for clojure.java.jdbc (default) and clojure.jdbc
Thanks!
Curtis Summers
--
You received this message because you are subscrib
Colin,
I've added an issue to explore composable features for a future HugSQL
release:
https://github.com/layerware/hugsql/issues/12
All ideas welcome! Thanks!
On Wed, Nov 11, 2015 at 11:40 PM, Robin Heggelund Hansen <
skinney...@gmail.com> wrote:
> Fantastic release Curt
lude something
like SQL snippet functions and snippet parameter types. All feedback is
welcome!
Thanks,
Curtis
On Wed, Nov 11, 2015 at 8:09 PM, Colin Yates wrote:
> Congrats Curtis - this looks great.
>
> I do have one question: you compare in http://www.hugsql.org/#faq-dsls
> HugSQL wit
bc (default) and clojure.jdbc
Thanks!
Curtis Summers
--
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
ql.)
Stay tuned. I'll announce the next HugSQL release on this list when it is
ready.
Thanks,
Curtis
On Wednesday, November 4, 2015 at 5:28:04 PM UTC-6, Robin Heggelund Hansen
wrote:
>
> The author of HugSQL is working on documentation now, and I believe he
> will include a decen
dges, your particular use cases, etc.
See the README for clojar install information:
https://github.com/layerware/hugsql
Thanks,
Curtis Summers
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cloj
The issue is resolved for me also. Thanks!
--Curtis
On Sat, Aug 9, 2014 at 10:18 AM, Paul Burt wrote:
> On Saturday, 9 August 2014 16:03:57 UTC+1, Rick B wrote:
> > There was a cache issue for the maven-metadata.xml and the possibly the
> jar files for 0.0-2301 and 0.0-2307. We
central
repo caches, you may be seeing different results (e.g., the index not listing
the versions).
Anybody know who to contact at central repo?
--Curtis
On Saturday, August 9, 2014 6:00:47 AM UTC-5, Nicola Mometto wrote:
> I can confirm, there seem to be problem fetching clojurescr
to avoid
;; cross-profile contamination (for instance, uberjar classes interfering
;; with development), it's recommended to include %s in in your custom
;; :target-path, which will splice in names of the currently active profiles.
:target-path "target/%s/"
--Curtis
On
I'm using ring.middleware.force-reload to always reload the namespaces that
reference my enlive templates. (only in dev, of course)
https://github.com/citizenparker/ring-middleware-force-reload
Hope that helps,
Curtis
On Wednesday, July 2, 2014 3:14:16 PM UTC-5, Sven Richter wrote:
&
It's a sincere no from me, but I can tell you I've met plenty of
non-clojurites/lispers who sneer at lisp it seems solely due to the
parentheses. It seems misguided to me though.
On Saturday, April 5, 2014 1:14:36 PM UTC-7, Travis Wellman wrote:
>
> Francois Rey,
>
> Yes I've been following tha
If you're interested in the url-generation and data-based routing, there
are some Compojure competitors like Bidi which have those features without
bringing on something as large as Pedestal: https://github.com/juxt/bidi
(the readme has a nice comparison chart).
On Tuesday, February 25, 2014 1
manipulation tools are likely to need, but
> I haven't looked into it. For example, one hassle with
> jvm.tools.analyzer (at least the now outdated version I've been using) is
> that the reader doesn't provide line and column metadata in many places
> where you
g/nrepl-refactor , if
anyone has any has any feedback I'd love to hear it, and if anyone has
vimscript or lighttable plugin experience and wants to help, that'd be
great as well.
Curtis
--
You received this message because you are subscribed to the Google
Groups "
It'd be cool to build a frormatter as an nrepl middleware and get
consistent indents across editors and not have to hardcode custom
indentations for macros.
On Monday, January 27, 2014 8:47:31 PM UTC-8, bob wrote:
>
> Hi All,
>
> Should clojure have a standard format tool like go lang, it will
If ordering isn't important, I'd just dump them all into a set instead of
manually checking whether or or not you already put the url into a set.
On Sunday, January 26, 2014 10:46:46 PM UTC-8, danneu wrote:
>
> I use line-seq, split, and destructuring to parse large CSVs.
>
> Here's how I'd app
I've been using carica (https://github.com/sonian/carica) and have config
map like {:dev <...> :prod <...>} and just using a single environmental
variable to determine which of those config maps to use.
On Friday, January 17, 2014 5:06:31 AM UTC-8, Malcolm Sparks wrote:
>
> There's also Jig : h
Exactly the kind of article I was going to looking for in a few days,
excellent.
On Friday, January 17, 2014 1:27:10 PM UTC-8, Sam Ritchie wrote:
>
> Hey guys,
>
> Those of you working on webapps might find this interesting:
>
>
> http://sritchie.github.io/2014/01/17/api-authentication-with-libe
and it increased both my
motivation to the learn the language and my understanding of why it is the
way it is.
On Friday, January 10, 2014 11:20:47 AM UTC-8, Curtis Gagliardi wrote:
>
> I really think Clojure Programming is the best Clojure book out there. If
> you read that thing most (
I really think Clojure Programming is the best Clojure book out there. If
you read that thing most (or all) of the way through, you'll have a very
solid understanding of Clojure.
On Friday, January 10, 2014 4:52:53 AM UTC-8, christian jacobsen wrote:
>
> I have +10 years experience of OO prog
That's my stack right now, I'll have to check this out and take notes, see
what we're doing differently. This is all pretty uncharted territory it
seems. Thanks for putting this out there.
On Thursday, January 9, 2014 9:06:34 PM UTC-8, Kevin Bell wrote:
>
> A Leiningen template featuring all o
I watched a few talks from facebook people about React and was impressed,
lots of talk about the simplicity of just rerendering everything and pure
functions. I think this is the first time I've been excited about a
javascript framework, looking forward to trying it out with Om.
On Sunday, Ja
I'm also interested in Clojure contract work (though local would be fine if
it's in SF), do we have any sort of place/list for Clojure jobs or is the
supply low enough that this list is the main place?
On Saturday, January 4, 2014 9:39:38 AM UTC-8, Iro Wright wrote:
>
> Thanks for the tip Marcus
main class
specified in project.clj and have :gen-class on the right files. Check
out the deploy your webapp section:
http://clojure-doc.org/articles/tutorials/basic_web_development.html
On Wednesday, December 18, 2013 2:35:11 PM UTC-8, Curtis Gagliardi wrote:
>
> I build an uberjar of a web
I build an uberjar of a web server that uses jetty with compojure and run
it on port 3000, then I have nginx configured to proxy it like so:
https://gist.github.com/cgag/8031034
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this gro
I just want to second the recommendation of Clojure Programming as a first
book before you dive into JoC (2nd edition).
On Saturday, November 30, 2013 2:43:08 PM UTC-8, Sean Corfield wrote:
>
> +1 for Manning's MEAP approach - I've bought most of my Manning books
> through the early access progr
Great screencast, thanks. Will definitely check this release out, I tried
it a few months ago and failed to get it to run. Looks really promising
though.
On Friday, November 29, 2013 8:14:36 PM UTC-8, guns wrote:
>
> Hello,
>
> I am happy to announce version 1.5.0 of Slamhound, technomancy'
`(migrate* ~@migration-vars)))
>
>
> On Thu, Nov 28, 2013 at 5:22 PM, juan.facorro
>
> > wrote:
>
>> Hi Curtis,
>>
>> The *apply* is unnecessary if you use *unquote-splice* (*~@*), also
>> instead of the *into* and *for* usage you could j
about using (into [] ...).
https://www.refheap.com/21335
Basically I'm trying to get from (migrate f g h) to (migrate* (var f) (var
g) (var h)), I'm not sure I'm doing it right.
Thanks,
Curtis.
--
--
You received this message because you are subscribed to the Google
Groups &qu
I do basically exactly what Christopher Allen described.
On Saturday, September 7, 2013 4:53:25 PM UTC-7, Alexandr Kurilin wrote:
>
> I'm curious to find out how you folks decided to organize configuration
> for your Ring applications, assuming you also use configuration management
> like Puppet
It's definitely suitable for the web. I've been using it for my own
personal web projects for a while. I've never done any significant
freelancing work, though I'm very interested in it. I'm curious though if
clients are open to having their stuff built in a rather niche language
where they
This is a pretty good demo of light table as well for people who haven't
really been keeping up with it lately.
On Wednesday, September 4, 2013 8:42:06 AM UTC-7, Jernau wrote:
>
> Hi everyone,
>
> I made a screencast about Clojure's *thead-first* (->) and *thread-last*
> (->>)
> macros:
>
> ht
re.core/declare
Curtis
On Monday, September 2, 2013 12:04:39 PM UTC-5, Erebus Mons wrote:
>
>
> Is there a (recommended) way of enforcing that a certain function has
> already been evaluated when another one is called?
>
>
>
--
--
You received this message because you
lp in this endeavor :( (Again, see
the parallel in the Clojure world with so much "getting started/example"
code showing :use instead of :require).
-Curtis
The argument for wildcards is very simple. Go to just about any Java
tutorial, for example:
>
> http://docs.or
You can use whatever functions you want with juxt:
user=> (into {} (map (juxt #(% "a") #(% "b")) [{"a" "blah" "b" "ack"} {"a"
"red" "b" "blue"}]))
{"blah" "ack", "red" "blue"}
On Thursday, July 25, 2013 2:55:18 PM UTC-7, Brian Craft wrote:
>
> Ah, interesting. Only works for keys that are func
Linux Mint everywhere, but any distro is fine as long as I can run a tiling
window manager (i3) and vim on it.
People complaining about the hassle really should give Ubuntu/Mint or one
of the other really user focused distros a try if they haven't recently,
it's really not very difficult anymor
Another +1 for those features.
On Wednesday, May 29, 2013 6:25:22 PM UTC-7, Nelson Morris wrote:
>
> Good news everybody! As of leiningen 2.2.0 using `lein deps :tree` will
> perform version checks and version range detection. Therefore, I have
> deprecated lein-pedantic. I appreciate all of th
Was on clojure 1.4, just tried on 1.5.0-RC4 and its a few hundred
miliseconds faster in its own
function.
4921.78197 msecs vs 5251.267893 msecs
On Sunday, February 3, 2013 11:52:11 AM UTC-6, Curtis Gagliardi wrote:
>
> >>For some reason, by splitting out the inner loop int
>>For some reason, by splitting out the inner loop into a function
>>shaved 6 more seconds (from 34s to 28s) on my low-config 32-bit
>>laptop:
Pulling every-d? out into it's own function slowed things down a few
seconds for me. Strange stuff.
--
--
You received this message because you are
I took your version Feng and used rem instead of mod and added a type hint
and got down from:
23217.321626 => 11398.389942
No idea where to go from here though. I'm surprised there's such a
difference even not using any sort of collection.
(defn smallest-multiple-of-1-to-n-hinted-rem
[^long
I've been using vim pretty exclusively for the last 5 years or so, but in
the last few weeks I've been using emacs with evil mode and I couldn't be
happier. It's a beautiful thing to have emacs extreme extensibility with
vim's vastly superior keybindings. I have my config here if you're
inter
Definitely agree that it'd have helped when I was first starting to use
friend. I spent a lot of time reading his source. If you plan on doing
more about friend it'd definitely be good to show how to authorize a
specific user rather than just at the role level, as well as something
about how
Great use of macros, and I found Chris Granger's protocol commit
enlightening as well, thanks.
On Tuesday, January 22, 2013 12:45:34 PM UTC-6, Aria Haghighi wrote:
>
> Hi all,
>
> I've done a follow-up post on the Prismatic blog about our dommy, our
> ClojureScript templating library. We added
ss additional things, or
> trampoline, or whatever. Clojure does none of that. Clojure has
> pedal to the metal calling conventions that match Java's, so I don't
> have tail recursion, because you can't do that unless the JVM does
> that.
>
> Andy
>
>
>
&g
How do you use clojurescript on android? SL4A? How does it compare to a
native app? I'm looking to try to write an android app but want to avoid
java, but it sounds like clojure isn't really ready for production on
android.
On Monday, November 26, 2012 8:14:07 PM UTC-6, Herwig Hochleitner wr
Clojure Koans - Recursion
(defn recursive-reverse [coll]
(loop [coll coll
acc '() ]
(if (= (count coll) 0)
acc
(recur (rest coll) (cons (first coll) acc))
)
)
)
I struggled with this one for a while - I don’t want to admit it, but
honestly even though i have
Thank you everyone !!
I really appreciate you assistance and am so glad to hear about the
diversity of backgrounds.!
On Tuesday, October 16, 2012 3:40:24 PM UTC-7, Curtis wrote:
>
> Hello - I was familar with lisp years ago and am very new to clojure.
>
> I am having a hard time u
-part-2-1319826
>
> There used to a transcript available on the newsgroup until Google decided
> to remove all files from newsgroup 8)
>
> On Wednesday, October 17, 2012 2:16:01 PM UTC-4, Curtis wrote:
>>
>> Cons seems to be strange
>>
>> How do i
c.
>
> Regards,
> BG
>
> On Tue, Oct 16, 2012 at 3:40 PM, Curtis wrote:
> > Hello - I was familar with lisp years ago and am very new to clojure.
> >
> > I am having a hard time understanding how to find 'car' and 'cdr'.
> >
> > Th
HAPPY BIRTHDAY!!
thank you Rich for the fyi!
On Tuesday, October 16, 2012 6:53:55 PM UTC-7, Rich Hickey wrote:
>
> I released Clojure 5 years ago today. It's been a terrific ride so far.
>
> Thanks to everyone who contributes to making Clojure, and its community,
> great.
>
> Rich
--
You r
> among the coworkers.
>
>
>
> On Tue, Oct 16, 2012 at 6:40 PM, Curtis wrote:
> > Hello - I was familar with lisp years ago and am very new to clojure.
> >
> > I am having a hard time understanding how to find 'car' and 'cdr'.
> >
>
On Tuesday, October 16, 2012 5:09:02 PM UTC-7, Andy Fingerhut wrote:
>
> Curtis:
>
> You can do this if you want:
>
> (def car first)
> (def cdr rest)
>
> but most people accustomed to Clojure would be much more familiar with
> first and rest. The Content of
so that I can enjoy the poetry that I may be
missing.
Could some one help me with this please?
Thank you!
Curtis
--
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
d oh, `cons` is not exactly the same one from Common Lisp, etc.
>
> Regards,
> BG
>
> On Tue, Oct 16, 2012 at 3:40 PM, Curtis wrote:
> > Hello - I was familar with lisp years ago and am very new to clojure.
> >
> > I am having a hard time understanding how t
Hello - I was familar with lisp years ago and am very new to clojure.
I am having a hard time understanding how to find 'car' and 'cdr'.
The nice thing about these functions is they always seem to be a part of
lisp.
I would like to use the little lisper to teach lisp to my co-workers so
that w
I haven't really investigated clojurescript yet, but I was planning on
looking at it for small scripts where the startup time of the jvm is a
problem. Do you feel that clojurepy fills this need better than
clojurescript for any reasons other than speed? Or is it libraries like
numpy that make
Here's the video: http://blip.tv/clojure/clojure-concurrency-819147
and you can get the code here (ants.clj):
http://www.lisptoronto.org/past-meetings/2009-05-clojure-ants-demo
or here if you don't want to download it: https://www.refheap.com/paste/3096
On Jun 10, 8:00 am, Alexey Kachayev wrote:
I'll have to check this out when I get home, it sounds like exactly
what I was looking for. Thanks.
On May 25, 11:01 am, Tom Maynard wrote:
> On Thursday, May 24, 2012 3:11:21 PM UTC-5, banseljaj wrote:
> > Looking forward to all input.
>
> I suggest bundling Dave Ray's "VimClojure-Easy"
> (http
I hadn't heard of practical clojure, but while we're praising books,
I'd like to say that Clojure Programming is excellent. I've been
reading the early access version, and while I haven't finished it, I'm
almost done with the first half, which covers the core of the
language. It's been incredibly
This is some cool stuff, I'll have to poke through the code later.
I've never played tempest, so I don't know what's supposed to happen,
but it was interesting to just move towards the focal point and let
the flippers pile up around the edges.
On Mar 22, 7:14 pm, Trevor Bentley wrote:
> I'm teach
60 matches
Mail list logo