Re: [ANN] monarch 0.2.0 - Simple database migrations for Clojure.

2014-05-27 Thread Manuel Paccagnella
Il giorno martedì 27 maggio 2014 08:16:49 UTC+2, Atamert Ölçgen ha scritto: > > You are welcome. Thanks for the library! > > Second that. > I have given it some more thought and I now realize local overrides for > leiningen config might not be a good idea. Perhaps application > configuration s

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-21 Thread Manuel Paccagnella
BTW, just to clarify: even if it's used in a closed-source product, this configuration library is open-source on GitHub, I'm going to post the link if someone is interested. Cheers, Manuel Il giorno mercoledì 21 maggio 2014 11:57:51 UTC+2, Manuel Paccagnella ha scritto: >

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-21 Thread Manuel Paccagnella
FWIW, I’ve recently implemented a configuration library for a work project. It’s file-based, but I’m also investigating different approaches on configuration management. Mainly on this areas: - Configuration as a service. - Real-time configuration changes (w/ REST interface to hook UIs)

Re: Why I'm giving Clojure a try

2014-04-17 Thread Manuel Paccagnella
Il giorno mercoledì 16 aprile 2014 18:06:57 UTC+2, Massimiliano Tomassoli ha scritto: I can see the value of having such a regular syntax (or absence of it) but > it takes a while to get comfortable with it. > I’ve personally found that after a while they don’t bother you anymore :) [image: L

Re: Why I'm giving Clojure a try

2014-04-16 Thread Manuel Paccagnella
Welcome, Massimiliano! Judging from you name, we seem to share some common cultural background ;) I hope that you'll enjoy learning and using Clojure, and more importantly that you'll reap the advantages that comes from learning and applying its philosophy

Re: Clojure/West 2014 Videos

2014-03-25 Thread Manuel Paccagnella
Thank you a lot to everyone involved! I can barely imagine the amount of effort and dedication required to bring all this value to the community at large. Speaking for myself, and I think a lot of other people, having the chance to at least watch the presentations even If I live overseas is inv

Re: Om-powered HTML slide-decks

2014-03-13 Thread Manuel Paccagnella
Wonderful! I was looking for something like this for a while. I've managed to make it work following the instructions (after creating a symlink from qcon2014 to qcon), and I plan to use it for my next presentation. It'd be very useful a way to easily create blank slide decks (lein template and

Re: Do you recommend the book: "Web Development with Clojure"

2014-02-28 Thread Manuel Paccagnella
Maybe one additional thing to note is that the book shows that the Clojure web development ecosystem is a reflection of its general philosophy and it's not about any particular "framework" but more focused on composing simple components/libraries. Once you understand the basic concepts (HTTP ri

Re: Do you recommend the book: "Web Development with Clojure"

2014-02-19 Thread Manuel Paccagnella
My perspective: I'm reading that book and seems good so far but I'm not a complete newbie and I've already used Clojure for writing some (small) web applications. If you want a more beginner-friendly introduction before delving into web programming, I've found very good these books: * [Clojure

Re: Post on Clojure Intrinsics

2014-02-19 Thread Manuel Paccagnella
Nice post! Il giorno mercoledì 19 febbraio 2014 07:45:01 UTC+1, Gal Dolber ha scritto: > > Here is my first post on clojure, I hope it's helpful! > > http://galdolber.tumblr.com/post/77153377251/clojure-intrinsics > -- You received this message because you are subscribed to the Google Groups

Re: weird bug with cljs.core.async + macros

2014-02-17 Thread Manuel Paccagnella
Tested on Linux x64, Chromium 31.0.1650.63 and Firefox 26.0. Same behaviour that you have seen. However, I haven't looked at the code yet. Il giorno lunedì 17 febbraio 2014 20:34:22 UTC+1, t x ha scritto: > > Can anyone verify whether this bug is reproducible? > > On Mon, Feb 17, 2014 at 12:28 A

Re: [ANN] DACOM: A skeleton app, Leiningen template for Datomic, Compojure, and Om

2014-01-10 Thread Manuel Paccagnella
Thank you for putting the time on building and documenting this template! I'm going to test some ideas with it. Il giorno venerdì 10 gennaio 2014 06:06:34 UTC+1, Kevin Bell ha scritto: > > A Leiningen template featuring all of the most popular Clojure > technologies that all of the coolest kids

Re: Akka-like framework in Clojure ?

2014-01-02 Thread Manuel Paccagnella
I think I'd be very useful since understanding Clojure's design philosophy is of great value, even outside the Clojure(Script) camp. But I also think it'd require work from a certain number of volunteers (sounds like a wiki would be a useful tool for this). There has been some work in this area

Re: How to go about 'proving' why dynamically typed languages are better.

2013-12-23 Thread Manuel Paccagnella
Just a link to the Gilad Bracha post Richard Cole is referring to: Types Are Anti-Modular . Il giorno lunedì 23 dicembre 2013 02:24:08 UTC+1, Richard Cole ha scritto: > > The things is that dynamically typed languages are easier to i

Re: Do web apps need Clojure?

2013-11-14 Thread Manuel Paccagnella
Il giorno giovedì 14 novembre 2013 17:22:03 UTC+1, Brian Craft ha scritto: > > > > On Thursday, November 14, 2013 2:28:51 AM UTC-8, Sean Johnson wrote: >> >> Framework vs. ecosystem of interoperable libraries. The monolithic >> framework (see Rails and Django) is not the way web development is d

Re: [ANN] Yesql 0.2.1 - Clojure & SQL queries rethought.

2013-11-11 Thread Manuel Paccagnella
Il giorno lunedì 11 novembre 2013 17:52:01 UTC+1, Kris Jenkins ha scritto: > > Hi Mamun, > > Hmm...I hadn't planned on it, but I could see it would suit some people's > development style. (It could get messy, but so can Clojure namespaces if > you're undisciplined. The developer should be allow

Re: Does Pedestal have a future in the long run

2013-11-11 Thread Manuel Paccagnella
Thank you for your explanation Brenton, makes a whole lot of sense. Now it's clear what the maturity level of Pedestal is: I'll way a little bit more before starting to bleed :) Il giorno lunedì 11 novembre 2013 15:38:23 UTC+1, Brenton ha scritto: > > I would like to clarify a few things. > > Al

Re: Does Pedestal have a future in the long run

2013-11-11 Thread Manuel Paccagnella
Very exaustive comment, that reminded me of a beautiful series of articles by Jacob Kaplan-Moss on "Writing great documentation". There is a presentation, too. Il giorno lu

Re: What non-deprecated Clojure Web libraries to use?

2013-10-30 Thread Manuel Paccagnella
A probably simplistic consideration: maybe there should be a data model expressed as a data structure so that it can be leveraged by arbitrary libs. This way there would be a single representation, but no explicit dependencies between single libs. Here probably Datomic could be an example. Il g

Re: What non-deprecated Clojure Web libraries to use?

2013-10-28 Thread Manuel Paccagnella
b) when the ns gets reloaded? Or maybe I should use korma.db/get-connection explicitly in the system starting phase? Thank you for your feedback. On Sunday, October 27, 2013 5:07:02 PM UTC-7, Manuel Paccagnella wrote: >> >> Il giorno lunedì 28 ottobre 2013 00:30:06 UTC+1, Alexand

Re: What non-deprecated Clojure Web libraries to use?

2013-10-27 Thread Manuel Paccagnella
Il giorno lunedì 28 ottobre 2013 00:30:06 UTC+1, Alexander Hudek ha scritto: http://www.luminusweb.net/ gives a reasonable starting setup. The only > thing I would recommend doing differently is to use clojure/java.jdbc or > honeysql instead of korma for an sql dsl. > I agree. Korma is quite i

Re: [ANN] Teuta - laughingly simple dependency injection container

2013-10-23 Thread Manuel Paccagnella
Very nice! I've just read your post and teuta seems quite interesting. BTW, nice examples: short but useful. I'll take a look at the code, I'm curious on how you have implemented the components dependency graphs :) Il giorno mercoledì 23 ottobre 2013 09:13:11 UTC+2, vmar...@gmail.com ha scritt

Re: jdbc timestamp automatic timezone

2013-10-21 Thread Manuel Paccagnella
I had a similar problem: correct timestamps are returned by JDBC queries with timezone offset. I think this is due to the fact that PostgreSQL automatically stores timestamps in UTC(emphasis is mine): For timestamp with time z

Re: Are there any GUI based Clojure apps out there?

2013-10-18 Thread Manuel Paccagnella
Here is an embarrassingly spartan one, but maybe useful if you want something quite small to start with: https://github.com/manuelp/tracktime In there I use Seesaw with the MiG-style lay

Re: [ANN] Jig

2013-10-12 Thread Manuel Paccagnella
Looks very interesting, thanks for sharing! BTW, documentation is impressive and quite comprehensive. On a related note: I've spotted a couple of typos in your README.md so far. Do you accept pull requests for small fixes like these? Il giorno venerdì 11 ottobre 2013 18:23:41 UTC+2, Malcolm Sp

Re: [ANN] Counterclockwise - Clojure plugin for Eclipse

2013-10-11 Thread Manuel Paccagnella
I'm not a CCW user right now, but congratulations! I've checked this project from time to time and you are doing a fantastic job. Cheers, Manuel Il giorno giovedì 10 ottobre 2013 15:36:01 UTC+2, Laurent PETIT ha scritto: > > Hi, a new version of Counterclockwise, the Clojure plugin for the > Ec

Re: [ANN] Nightcode, an IDE for Clojure and Java

2013-08-03 Thread Manuel Paccagnella
Wow, it looks very promising. I'd also like add a +1 for smart indent and paredit. Kudos to you Zach! Manuel Il giorno venerdì 2 agosto 2013 15:03:03 UTC+2, Zach Oakes ha scritto: > > I’ve been working on a simple IDE for the past few months. It started as > an attempt to add Leiningen integr

Re: Pair programming session on EuroClojure Conference

2013-07-28 Thread Manuel Paccagnella
Hello Sebastian, I think it's a fantastic idea. The only problem that I see is: there will be enough senior Clojure developers? Best Regards, Manuel Il giorno domenica 28 luglio 2013 14:31:18 UTC+2, Sebastian Hennebrueder ha scritto: > > Hello, > > I came up with an idea for the EuroClojure co

Re: Interest in a Full Featured Clojure Blog Engine

2013-07-23 Thread Manuel Paccagnella
in neubite or > yuggoth, unless I missed it. Please let me know. > > I agree. That way it could be used any number of markup languages for posts (and pages): Markdown, AsciiDoc, HTML, etc. > > Thanks > > Tim Washington > Interruptsoftware.ca / Bkeeping.com > &g

Re: Interest in a Full Featured Clojure Blog Engine

2013-07-23 Thread Manuel Paccagnella
Il giorno martedì 23 luglio 2013 03:32:52 UTC+2, frye ha scritto: > > > > > On Sun, Jul 21, 2013 at 5:16 PM, Manuel Paccagnella < > manuel.pa...@gmail.com > wrote: >> >> >>>- what I should use to model workflow; possibly

Re: Interest in a Full Featured Clojure Blog Engine

2013-07-22 Thread Manuel Paccagnella
There is also Yuggoth: https://github.com/yogthos/yuggoth It's pretty feature-complete as I can see, but I haven't looked at the source for its the architecture. Trivia: It has been written starting with Luminus, and the author is writing a book about web development in Clojure for The Pragmati

Re: Interest in a Full Featured Clojure Blog Engine

2013-07-21 Thread Manuel Paccagnella
t maybe it could give you some ideas about the plugin architecture. "The blog engine as data". The plugin system could be the kernel, and maybe most features could be implemented as plugins. Just dreaming out loud :) > > > > Cheers > > Tim Washington > Inte

Re: Interest in a Full Featured Clojure Blog Engine

2013-07-20 Thread Manuel Paccagnella
Interesting +1 I've slammed together some quick and dirty Clojure code and wrote my own little blog engine (I'll not link the repo, the code is... well quick&dirty: I needed something running quickly). But it has the bare minimum and I didn't find any real feature complete blog engine as the on

Re: [ANN] Pedestal-app Tutorial has been released

2013-07-09 Thread Manuel Paccagnella
I was expecting a tutorial, and now we get this. Speechless. Thank you very much, I'll work through it! Il giorno martedì 9 luglio 2013 18:03:58 UTC+2, Ryan Neufeld ha scritto: > > Hey there, Clojurians/Pedestallions! > > I'm pleased to announce the release of a comprehensive tutorial for > pe

Re: [ANN] Pedestal 0.1.9 has been released

2013-07-03 Thread Manuel Paccagnella
I'm sure I will :) In the meantime, I'll dive in the "Application Overview" section to wrap my head around all the moving parts. Loving it so far! Nice job. Il giorno mercoledì 3 luglio 2013 13:08:11 UTC+2, Ryan Neufeld ha scritto: > > It's so close I can almost taste it. Most Relevance Pedestal

Re: [ANN] getclojure.org

2013-05-17 Thread Manuel Paccagnella
Nice! Thank you Devin. Il giorno venerdì 17 maggio 2013 03:12:11 UTC+2, Devin Walters (devn) ha scritto: > > Hey All, > > I put this ( http://getclojure.org ) together and wanted to share it with > all of you. It's a nifty way to search for example usage of clojure. It's > far less curated th

Re: ANN Scrypt 1.0.0

2013-05-02 Thread Manuel Paccagnella
Nice! Thank you for open-sourcing it. Il giorno giovedì 2 maggio 2013 10:10:38 UTC+2, Michael Klishin ha scritto: > > Scrypt is a tiny Clojure library for working with the scrypt key derivation > function. It is an alternative to bcrypt and PBKDF2. > > Release notes: > http://blog.clojurewerkz.org

Re: Now *there*'s a machine made for Clojure.

2013-04-28 Thread Manuel Paccagnella
13 17:07:04 UTC+2, Lee ha scritto: > > > On Apr 28, 2013, at 10:57 AM, Manuel Paccagnella wrote: > > > > This is an interesting perspective. Are you saying that currently > Clojure doesn't offer adequate tools to take full advantage of parallel > execution on multi-

Re: Now *there*'s a machine made for Clojure.

2013-04-28 Thread Manuel Paccagnella
Il giorno domenica 28 aprile 2013 15:28:03 UTC+2, Lee ha scritto: > > > On Apr 28, 2013, at 12:34 AM, Timothy Baldridge wrote: > > > E-mail thread had less to do with issues of Clojure per se, but more > with issues the JVM had running on a 48-way machine. Or am I missing > something? > > >

Re: Running and debugging Clojure code with Intellij IDEA

2013-04-13 Thread Manuel Paccagnella
Thanks for the link Benjamin. This should be quite useful when developing Clojure code in a mixed language project or simply if you use Intellij IDEA with Clojure. Il giorno venerdì 12 aprile 2013 19:00:15 UTC+2, Benjamin Peter ha scritto: > > Hi, > > I just wanted to share something with you I

Re: New midje tutorial (and sales pitch) for clojure.test users

2013-03-03 Thread Manuel Paccagnella
Thank you very much for this, Brian! Il giorno sabato 2 marzo 2013 02:31:32 UTC+1, Brian Marick ha scritto: > > Midje is a competitor to clojure.test. Version 1.5 has just entered the > release candidate pipeline. It's a big release, and makes a big jump toward > what's long been a goal of mine:

Re: Blog Post: Bringing functional to the front-end: Clojure + ClojureScript for the web

2013-01-17 Thread Manuel Paccagnella
Nice! Thank you, I'll take a look and probably use dommy in my next personal project. Il giorno giovedì 17 gennaio 2013 18:07:48 UTC+1, Aria Haghighi ha scritto: > > Hi all, > > I’ve just posted a blog post on the Prismatic blog about moving our web > application from Node.js/Javascript over to

Re: Merry Christmas Everybody

2012-12-25 Thread Manuel Paccagnella
Merry Christmas to you Simone, and to everyone here. I don't post much, but I'm enjoying programming in Clojure and I find this community to be very open, welcoming and generally a joy to be involved with. That you! Il giorno martedì 25 dicembre 2012 00:11:58 UTC+1, Simone Mosciatti ha scritt

Re: Best way to include a passwords file in a project?

2012-12-22 Thread Manuel Paccagnella
Il giorno mercoledì 19 dicembre 2012 22:40:18 UTC+1, Alex Baranosky ha scritto: > > I don't like the environment variable approach because of the dependency > on global state makes deploying harder. > > I'd usually have a config file like config.clj whose contents were just a > Clojure map.

Re: Best way to include a passwords file in a project?

2012-12-19 Thread Manuel Paccagnella
I'm not sure that a password file is an optimal solution for this problem. Maybe the 12 factors , and in particular the config one, could give you some ideas. Personally I think that credentials are environment-specific, not application

Re: Starting to use Clojure, Yeah!

2012-12-10 Thread Manuel Paccagnella
Welcome! :) Il giorno venerdì 7 dicembre 2012 04:16:28 UTC+1, Xiaodan Yuan ha scritto: > > Yeah! > -- 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 mode

Re: Problem installing Noir with Lein

2012-11-03 Thread Manuel Paccagnella
As I understand it, lein-noir was a plugin needed for Leiningen 1.x. But since Leiningen 2 you can create new projects using remote templates without having to install anything. See lein help new: If two arguments are passed, the first should be the name of a template, > and the second is used

Re: [ANN] nrepl.el 0.1.5 released

2012-10-25 Thread Manuel Paccagnella
Very useful, thank you very much Tim! Il giorno giovedì 25 ottobre 2012 19:10:22 UTC+2, Tim King ha scritto: > > Thanks everyone for all the positive feedback. Glad to hear the community > is finding this useful. > > Cheers, > Tim > > -- You received this message because you are subscribed to

Is Slick feasible in Clojure?

2012-09-28 Thread Manuel Paccagnella
Hi! I'm participating in a discussion in the progfun course on Coursera (Scala based). Interesting discussions are going on there, especially when Clojure is involved. I was wondering if something like Slickwould be doable in Clojure. I've no experience with Slick (

Re: Practical Clojure

2012-04-14 Thread Manuel Paccagnella
It depends on the audience I guess. I've bought "Practical Clojure" but I found its minimalism a little too... minimal to my experience at the time. I was (an in many ways I still am) a nearly total novice on fp and Clojure, and although it's a very good and concise introduction to Clojure I don

Re: Clojure 1.3.0 updated cheatsheet, and one with links to clojuredocs.org

2012-02-15 Thread Manuel Paccagnella
On 02/15/2012 08:21 PM, Andy Fingerhut wrote: Fogus, Alex Millier, and I have made some updates to the Clojure cheatsheet for Clojure 1.3.0: http://clojure.org/cheatsheet The links there go to the generated documentation on clojure.github.com. Below is a version that is the same as the one a

Re: novice question, performance surprise

2012-02-10 Thread Manuel Paccagnella
On 02/09/2012 11:40 PM, Steve Miner wrote: filter is lazy so it won't actually do the work unless the values are needed. To get a reasonable time, you need to use the result for some computation. Try something like this: (defn sum-all [m] (reduce + (apply map + (vals m (time (sum-all (s

novice question, performance surprise

2012-02-09 Thread Manuel Paccagnella
Sorry for what I guess is a pretty basic question. I've written for practice a simple function that takes a sequence of numbers and returns a map with the odd and even ones. No big deal: (defn separate-nums [coll] (hash-map :even (filter even? coll) :odd (filter odd? coll))) But I th

Re: Destructuring a seq of maps

2012-02-09 Thread Manuel Paccagnella
On 08/02/2012 03:05, Asim Jalis wrote: I frequently find myself passing around maps that are basically structs. I use this macro to destructure the fields into let variables. ; Macro. (defmacro def-fields [struct-name & fields] (let [field-symbol-vector (->> fields (map name) (map symbol) ve

Re: Destructuring a seq of maps

2012-02-07 Thread Manuel Paccagnella
On 02/07/2012 09:48 PM, Cedric Greevey wrote: One better way: (defn do-sum [some-coll] (reduce + (map :a some-coll))) Keywords can be used as functions. Sure! That's probably tidy enough not to feel the need to do something else, such as destructuring. Yes, I understa

Re: Destructuring a seq of maps

2012-02-07 Thread Manuel Paccagnella
On 02/07/2012 09:37 PM, Aaron Cohen wrote: Well, destructuring requires a literal, so you have to know exactly the structure you're wanting to pick apart. For your specific example, I can write a destructuring usage that will work, but there's no way to do it in a general way. user=>(defn do-sum

Destructuring a seq of maps

2012-02-07 Thread Manuel Paccagnella
I've some questions about destructuring a seq of maps, like: 1. Is it possible? 2. If yes, does it have any sense? 3. And if it's possible and is reasonable, how can I do it? For example, let's say that I have a list of maps like this: (def something [{:a 1 :b 2}

Re: Learning and feedback on code

2012-02-06 Thread Manuel Paccagnella
On 02/06/2012 07:08 PM, Cedric Greevey wrote: On Mon, Feb 6, 2012 at 12:33 PM, Manuel Paccagnella wrote: For binding both vars and functions, what's preferred? Using only let for both: (let [capitals [...] ask-capital (fn [] ...) ...) or instead let coupled with letfn?

Re: Learning and feedback on code

2012-02-06 Thread Manuel Paccagnella
On 02/03/2012 12:34 AM, Alex Baranosky wrote: Hi Manuel, Your second version looks pretty solid: https://bitbucket.org/manuelp/geo-quiz/src/a75d57d0e5a2/src/geo_quiz/core.clj You might consider getting rid of the vars for capitals, ask-capital, and ask-capitals and using a let or letfn instead.

Learning and feedback on code

2012-02-02 Thread Manuel Paccagnella
ur opinions. Thanks for your attention, Manuel Paccagnella Links = [1]: http://blog.japila.pl/2012/02/helping-daughter-and-myself-with-clojure/ -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: Documenting Clojure Design without UML

2012-01-29 Thread Manuel Paccagnella
ML to express the structure of functional programs. I would say: don't be shy, just invent some convention and use it to *communicate* the design to others :) Manuel Paccagnella -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post