SQLingvo is a Clojure DSL to generate SQL statements.
README, source code and examples:
https://github.com/r0man/sqlingvo
Leiningen dependency information:
[sqlingvo 0.5.9]
Enhancements:
* Added WITH statements.
--
--
You received this message because you are subscribed
This is very cool. Thanks!
On Saturday, November 30, 2013 5:14:36 AM UTC+1, guns wrote:
Hello,
I am happy to announce version 1.5.0 of Slamhound, technomancy's amazing
ns rewriting tool.
;; ~/.lein/profiles.clj
{:user {:dependencies [[slamhound 1.5.0]]}}
This is a *major*
In my svm-clj library I read and write the LibSVM model in a text
format that LibSVM's C library also understands. That's a sparse
text file you could also store in Mongo. Use or take a look at:
https://github.com/r0man/svm-clj/blob/master/src/svm/core.clj#L125
Roman
On Monday, February 24
now wondering the same.
Any opinions one way or the other?
On Tuesday, January 24, 2012 5:08:44 PM UTC+11, Dave Sann wrote:
Hi r0man,
I am curious as to similarities/differences of your library to:
https://github.com/mattrepl/clj-oauth
Dave
--
--
You received this message because
Hi Sean Matching Socks,
first off, I like the new API design. Here are my questions and
suggestions:
1.) Despite the asymmetry I'm also thinking that passing entities
and identifiers functions via the db argument is quite
convienient. Otherwise I always have to wrestle with those extra
Hi Sean,
I just tested java.jdbc 0.3.0-alpha2 against my code base and got
the following excpetion when running my tests:
Exception in thread main java.lang.IllegalArgumentException: Unable to
resolve classname: Connection,
I think the problem only happens when you use the get-connection
:
Hi,
I'm trying to use r0man / appengine-clj, and when :use-ing the
datastore namespace I get a cyclic load dependency. Doesn't clojure
allow such cyclic references?
(use 'appengine.datastore)
Cyclic load dependency: [ /appengine/datastore/entities ]-/appengine/
datastore/query
Hello,
I'm in the process of porting my code to Clojure 1.3. Those two
pages were really helpful on the way:
- http://dev.clojure.org/display/doc/Clojure+Contrib
- http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
The only dependency I still couldn't get rid of is
Thx Stuart, that worked fine ...
--
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
Hi Sam,
this is how I use Google Maps with Clojurescript. In the html
page I load Google's Loader library, the Google Closure base.js
file and the deps.js file which is the one cljsc spit out.
(defhtml javascripts []
(html
(include-js (str https://www.google.com/jsapi?key=;
Forgot to mention my init-map fn:
(defn init-map [element]
(let [options (h/clj-js {:zoom 1 :mapTypeId
google.maps.MapTypeId.ROADMAP})
parent-size (style/getSize (. element parentNode))
element-size (style/getSize element)
map (doto (google.maps.Map. element options)
Hello,
what's the preferred way to override the toString method of a
ClojureScript record? I could use set! to change the toString fn
of a record after it has been initialized like this:
(defrecord MyRecord [name])
(let [record (MyRecord. Hello World)]
(set! record.toString (fn [] (:name (js*
Thank you, Baishampayan. That's 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
Hi all,
I just released another OAuth library for Clojure on top of
clj-http, supporting version 1 and 2 of the OAuth protocol.
Roman.
https://github.com/r0man/oauth-clj
http://clojars.org/oauth-clj
--
You received this message because you are subscribed to the Google
Groups Clojure group
functionality to the given fn. As far as I
can tell there is no alter-var-root in ClojureScript. I got the
code running by using set! in the ClojureScript version.
The original Clojure macro:
https://github.com/r0man/hiccup/blob/clojurescript/src/clj/hiccup/def.clj#L38
The ClojureScript macro:
https
be done at compile
time.
Thanks anyway. I'm looking at add-optional-attrs in your lib.
Maybe that can get me further ...
Roman.
On Saturday, April 7, 2012 9:32:38 PM UTC+2, Chris Granger wrote:
Have you seen Crate?
http://github.com/ibdknox/crate
On Apr 7, 1:18 pm, r0man roman.sche
in Clojure
and ClojureScript? If you look at the header of the following
file you can see that it's using exactly Hiccup's API (except :use-macros).
https://github.com/r0man/hiccup/blob/clojurescript/test/cljs/hiccup/test/page.cljs
Your lein-cljsbuild will take care of modifiying the :use-macros
(Compiler.java:6448)
... 33 more
java.lang.ClassCastException: clojure.lang.Symbol cannot be cast to
clojure.lang.Namespace, compiling:(NO_SOURCE_PATH:1)
Does anyone have an idea what has changed between those versions?
Could this be a bug?
Thanks for your help, Roman.
[1] https://github.com/r0man/hiccup
Hi Carlo,
if you'are looking for generating more complex SQL there's also:
https://github.com/r0man/sqlingvo
Roman.
On Wednesday, July 3, 2013 10:48:07 AM UTC+2, Carlo wrote:
Hey guys!
I've been working on a small library to make writing SQL queries a little
bit easier. It's along
Composing queries is done via compose.
Take a look here:
https://github.com/r0man/sqlingvo/blob/master/test/sqlingvo/test/core.clj#L16
On Saturday, July 6, 2013 5:46:06 AM UTC+2, Carlo wrote:
Hey Roman,
The issue that I see with `sqlingvo`, and the thing which I was trying to
solve
You can do this with the second argument to the where function. I added an
example here:
https://github.com/r0man/sqlingvo/blob/master/test/sqlingvo/test/core.clj#L24
On Saturday, July 6, 2013 4:02:23 PM UTC+2, Carlo wrote:
This is a fairly restricted composition, though:
(def triangles
Hi Pedestal Team,
this is great. Thank you very much!
Roman
On Tuesday, July 9, 2013 6:03:58 PM UTC+2, Ryan Neufeld wrote:
Hey there, Clojurians/Pedestallions!
I'm pleased to announce the release of a comprehensive tutorial for
pedestal-app: http://bit.ly/pedestal-app-tutorial. In this
Hi Tom,
add this to your project.clj
:javac-options [-target 1.6 -source 1.6]
I have the same problem with our Hadoop cluster ;)
On Wednesday, September 4, 2013 9:45:11 PM UTC+2, Tom Emerson wrote:
Greetings,
I develop with JDK 7 but have coworkers who (for reasons I don't want to
get
I think you need to implement the JSONWriter protocol for the
Jdbc4Array class, and possibly for the datatypes that are in the
array. This for example makes the json library aware of
java.util.Date classes.
(extend-type java.util.Date
JSONWriter
(-write [date out]
(-write (str date)
It's a bug in cljx related to the middleware I think. Try this one:
[org.clojars.cemerick/cljx 0.5.0-SNAPSHOT]
On Thursday, November 27, 2014 12:22:54 PM UTC+1, Colin Yates wrote:
I have included cljx and everytime lein starts it gives the following:
[code]
WARNING!!! version ranges found
/connector-j-reference-implementation-notes.html
r0man
On Saturday, June 17, 2017 at 3:15:13 AM UTC+2, Luke Burton wrote:
>
>
> Riddle me this:
>
> https://gist.github.com/hagmonk/a75621b143501966c22f53ed1e2bc36e
>
> Wherein I synthesize a large table in Postgres, then atte
26 matches
Mail list logo