Debugging with Cider

2013-10-31 Thread Matthew O. Smith
Hi all, Has anyone gotten debugging in emacs working with cider (was nrepl). I did fork and update cljdb but it is pretty old school. https://github.com/m0smith/cljdb Is there any work on ritz or cdt? Thanks. -- -- You received this message because you are subscribed to the Google Groups "

Re: sort-by reverse order?

2020-10-14 Thread Matthew O. Smith
Google brought this up in 2020 Try (comp - compare) On Tuesday, December 23, 2014 at 10:04:35 AM UTC-7 julian...@googlemail.com wrote: > That's awesome! (though I'm slightly surprised there isn't an easier way). > > Thanks. > > > On Tuesday, 23 November 2010 21:03:37 UTC, Tyler Perkins wrot

Re: Cdr car

2012-10-17 Thread Matthew O. Smith
I came to Clojure from a similar background and posted my thoughts of car, cdr, and cons here http://software-ninja-ninja.blogspot.com/2011/08/clojure-patterns-cons-car-and-cdr.html On Wednesday, October 17, 2012 1:10:15 PM UTC-6, Jeff Heon wrote: > > If I may suggest the following presentation

[ANN] lein-stencil 0.1.0

2012-12-18 Thread Matthew O. Smith
*It is not in clojars yet as I wanted people to have the opportunity to give feedback before making it live* * * *https://github.com/m0smith/lein-stencil * * * A plugin that can be used to copy files from multiple source directories to a target directory while maintaining the sub-directories Al

Re: [ANN] lein-stencil 0.1.0

2012-12-19 Thread Matthew O. Smith
I renamed the project to lein-resource as that better matches the intent of the project rather than an implmentation detail *https://github.com/m0smith/lein-resource * -- You received this message because you are subscribed to the Google Groups "Clojure

[ANN] lein-resource 0.2.0 hits clojars

2012-12-28 Thread Matthew O. Smith
https://github.com/m0smith/lein-resource lein-resource A plugin that can be used to copy files from mulitiple source directories to a target directory while maintaining the sub-directories. Also, each file will be transformed using stencil. The map

Re: Map literal with keys generated by function cause "Duplicate key" exception

2012-09-12 Thread Matthew O. Smith
On Wednesday, September 12, 2012 8:03:58 AM UTC-6, jarppe wrote: > > I have a function that generatwed unique ID's, something like this: > > (def k (atom 0)) > (defn generate-id [] (swap! k inc)) > > and I try to use it like this: > >{(generate-id) "foo" > (generate-id) "bar"} > > How

topoged-hibernate: a clojure hibernate library

2011-12-13 Thread Matthew O. Smith
As part of a larger project, Topoged, I am developing a Hibernate library that makes working with Hibernate from within Clojure much easier IMHO. It uses the standard Hibernate configuration and provides wrappers and whatnot to simplify the interaction. For example, to write a record to the data

Re: topoged-hibernate: a clojure hibernate library

2011-12-13 Thread Matthew O. Smith
I am working on making library useful to the public: https://github.com/m0smith/topoged-hibernate One question I would like a comment on: I have been using entity-maps rather than POJOs because it makes for a cleaner interop with Clojure. The amount of code needed goes way down while the standa

[ANN] topoged-hibernate 1.0.0

2012-01-03 Thread Matthew O. Smith
The topoged-hibernate library (https://github.com/m0smith/topoged- hibernate) is part of the larger topoged project. Its purpose is to create a Clojure interface to Hibernate. The goals of this project are: * To remove all the boilerplate code. * Allow Hibernate configuration to be used

Re: topoged-hibernate 1.0.0

2012-01-20 Thread Matthew O. Smith
On Jan 6, 8:20 am, Bill Robertson wrote: > On Jan 3, 4:26 pm, "Matthew O.  Smith" wrote: > > > There is a mismatch between hibernate maps and clojure maps which > > means that there is some translating between them. Hopefully, this > > will be smoothed