[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 find

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)`. Xavi On Thursday, June 25, 2015 at 2:32

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
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/noir-auth-app

Re: Latest web framework for clojure

2014-02-28 Thread xavi
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 the UI-part for you. It doesn't do any server

Re: The future of CongoMongo?

2014-02-28 Thread xavi
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, send email to clojure@googlegroups.com Note that posts from new members are moderated - please

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

2013-10-20 Thread xavi
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 problem and fix it. I took another look, and it looks

uberjar problem with Leiningen 2.3.3 (works with 2.3.2)

2013-10-18 Thread xavi
: Jetty(7.x.y-SNAPSHOT) !DOCTYPE html html ... 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 group

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

2013-10-18 Thread xavi
. This is the case of cheshire/ for example, however there are also paths that have their own entries in both trees (ex. clojure/core/ ). I don't understand those differences. Does that help to diagnose the problem? I still don't have a clue :( Xavi On Saturday, October 19, 2013 1:27:43 AM UTC

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

2013-10-18 Thread xavi
) 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 different way then. Something is assuming that any entry in a jar file

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 uberjar produced by lein 2.3.3 serves

Re: Looking for Clojure freelancers

2013-06-04 Thread xavi
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, recently I worked

[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/noir