Re: How aliased "require" is different?

2014-06-25 Thread Ivan Kozik
dAlias (the-ns 'user) sym (the-ns (ns-name target-ns result))) Ivan On Sun, May 4, 2014 at 8:24 AM, Ivan Kozik wrote: > Here's a wrapper over (refresh) that updates the aliases in the user namespace > as well. You can put it in the :repl-options in your proj

Re: How aliased "require" is different?

2014-05-04 Thread Ivan Kozik
) Ivan On Sun, May 4, 2014 at 7:40 AM, Ivan Kozik wrote: > Hi Petr, > > Did you see this? > https://github.com/clojure/tools.namespace#warnings-for-aliases > > Also mentioned: "Aliases to reloaded namespaces will break if the > namespace containing the alias is no

Re: How aliased "require" is different?

2014-05-04 Thread Ivan Kozik
Hi Petr, Did you see this? https://github.com/clojure/tools.namespace#warnings-for-aliases Also mentioned: "Aliases to reloaded namespaces will break if the namespace containing the alias is not reloaded also." I've been writing per-project wrappers over the refresh function to do the ns-unalias

Re: [ANN] Jig

2013-11-22 Thread Ivan Kozik
On Sat, Nov 2, 2013 at 11:05 PM, Timothy Washington wrote: > C) Now, I run my environment in a Virtual Machine. So when using the browser > to try and go to each of the url end points, I got an HTTP 404, "Not Found" > error for all of these URLs. Ie, Compojure and Pedestal were running, giving > m

Re: Compiling Clojure security knowledge

2013-09-01 Thread Ivan Kozik
On Sun, Sep 1, 2013 at 7:06 PM, Vincent Ambo wrote: > * How and where do we prevent XSS attacks? Do we have templating engines > that escape things unless told otherwise, or - if not - do these features > exist in the form of a helper function? If yes, where? (And so on...) clojars uses https://

Re: Rich Hickey quote on immutability

2013-04-01 Thread Ivan Kozik
On Mon, Apr 1, 2013 at 4:33 PM, Alf Kristian Støyle wrote: > "Try going immutable and see where it takes you". > > Anyone remember where (or if at all), he said this? And of course, what the > exact quote is? "Choose immutability and see where it takes you" http://www.infoq.com/presentations/The

Re: Maven error - Java returned: 1

2012-09-28 Thread Ivan Kozik
On Sat, Sep 29, 2012 at 2:29 AM, Timothy Baldridge wrote: > For some reason, maven builds clojure just fine, but then dies with a really > odd error. I've enabled the verbose logs, but nothing besides "Java returned > 1" is displayed: The log shows that a test in clojure.test-clojure.metadata fai

Re: critique my code!

2012-07-10 Thread Ivan Kozik
On Sun, Jul 8, 2012 at 4:58 PM, William Morgan wrote: > (E.g. surely people don't use the repl with single-line uninformative > error messages... what am I doing wrong?) (pst) ; that is, print stack trace Ivan -- You received this message because you are subscribed to the Google Groups "Cloju