[ANN] Mongologic 0.5.1 – A toolkit to develop MongoDB apps

2015-09-08 Thread xavi
Mongologic provides several tools to make the development of MongoDB-backed applications easier and faster: - Callbacks in the lifecycle of records (à la Rails' Active Record) - Uniqueness validation - Range-based pagination - History https://github.com/xavi/mongologic I hope you fi

Re: pr-str and safe serialization

2015-07-25 Thread xavi
Hello, I also stumbled on this bug. Here's a simple example showing the problem... (def a (pr-str (map (fn [i] (println "hi") i) [1]))) After executing that code I was expecting the value of `a` to be `"(1)"`, but instead the actual value is `"(hi\n1)"`. X

Re: I want to get sha1 of a string

2014-06-29 Thread xavi
I found that the hexadecimal returned by Zach's solution sometimes has a "-" prefix (for example, for the "hello" string). I guess because BigInteger(byte[]) (http://docs.oracle.com/javase/8/docs/api/java/math/BigInteger.html#BigInteger-byte:A-) interprets the byte array as a two's-complement

Re: The future of CongoMongo?

2014-02-28 Thread xavi
what you're referring to when saying that CongoMongo invents a completely new API? Good to know that the DSL in Monger is completely optional. Cheers, Xavi -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: Latest web framework for clojure

2014-02-28 Thread xavi
ago I open-sourced a base web, with a complete authentication system, that used these libraries. Maybe you'll find it useful https://github.com/xavi/noir-auth-app Cheers, Xavi On Thursday, February 27, 2014 2:57:07 AM UTC+1, Moritz Ulrich wrote: > > Om is well-suited to handle th

Re: The future of CongoMongo?

2014-02-28 Thread xavi
I used CongoMongo for my base web app with authentication (https://github.com/xavi/noir-auth-app). When asked (a year ago) why I didn't use Monger I said I prefer CongoMongo because it's smaller and so probably easier to understand, and it does all I need (https://github.com/xavi/noi

Re: uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-20 Thread xavi
45fbf6953e Xavi On Saturday, October 19, 2013 6:04:03 PM UTC+2, Phil Hagelberg wrote: > > > xavi writes: > > > Does this mean that the problem was not completely solved in Ring 1.2? > > Argh! I'll try to take a look to Ring's code and see if I can find the >

Re: uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-18 Thread xavi
It seems it's this problem that somone else already reported a few days ago... https://github.com/ring-clojure/ring/issues/96 On Saturday, October 19, 2013 2:50:16 AM UTC+2, xavi wrote: > > If I comment out > (wrap-resource "public") > then it works (i.e. the ube

Re: uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-18 Thread xavi
run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:680) Xavi On Saturday, October 19, 2013 2:15:10 AM UTC+2, Phil Hagelberg wrote: > > > xavi writes: > > @Phil I'm already using ring 1.2 > > Hm; it's probably the same problem manifested a differen

Re: uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-18 Thread xavi
time/coerce/ ... What I see is that in the tree generated by Leiningen 2.3.3 there are more entries because there are paths that have their own entries, while in the tree for 2.3.2 there are only entries for the filenames within those paths. This is the case of cheshire/ for example, however there

uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-18 Thread xavi
ked Server: Jetty(7.x.y-SNAPSHOT) ... then it works! Any idea on what can be the problem with Leiningen 2.3.3? (After hours of trying different things I'm quite desperate now :( Cheers, Xavi -- -- You received this message because you are subscribed to the Google Groups "Clojure&quo

Re: Looking for Clojure freelancers

2013-06-04 Thread xavi
l developer). I still work with Rails but my current language of choice is Clojure. My main open-source contribution is noir-auth-app, a base web app with authentication, https://github.com/xavi/noir-auth-app . This is a byproduct of a side-project that I'm developing in Clojure. Also, rece

[ANN] Complete authentication app using Compojure and lib-noir

2013-03-07 Thread xavi
noir-auth-app is a complete authentication web app based on Compojure, lib-noir, Enlive and CongoMongo. It also uses a bit of ClojureScript, jayq and shoreleave-remote. It's meant to be used as a base app for building Clojure web apps that require authentication. https://github.com/xavi