Re: How aliased require is different?

2014-05-04 Thread Petr Gladkikh
data structure in memory? -- -- Petr Gladkikh -- 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 be patient with your first post

Re: How to generate a serializable java class in Clojure by gen-class?

2013-03-03 Thread Petr Gladkikh
to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Petr Gladkikh -- -- You received this message because you

Re: Better ways to make time tansformations?

2012-03-31 Thread Petr Gladkikh
to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- Petr

Source code as metadata

2012-03-29 Thread Petr Gladkikh
NullPointerException in #(/ % d) in (defn c [d] ( ... 13)) in bugs.clj line 17 I have been using Clojure occasionally for some development automation so I could be missing something. What do you think of this idea? -- Petr Gladkikh -- You received this message because you are subscribed to the Google Groups

Re: [ANN]: cljsh repls 1.6.0 - so many repls, so little time…

2012-02-06 Thread Petr Gladkikh
:1) at clojure.lang.Compiler.eval(Compiler.java:5424) ... 11 more And runnung cljsh.sh gives petr@host:~$ cljsh.sh -c '(println hello)' /home/petr/bin/cljsh.sh: 20: Syntax error: ( unexpected -- Petr Gladkikh -- You received this message because you are subscribed to the Google

Re: are non programmers the better programmers?

2012-01-18 Thread Petr Gladkikh
codebase. This is the thing that my colleagues with little experience usually do not see since it is always obscured by numerous implementation details. Experience allows to concentrate less on details of particular technology and more on a problem itself. -- Petr Gladkikh -- You received

Re: Ending or closing malformed line in REPL

2011-12-05 Thread Petr Gladkikh
options, visit this group at http://groups.google.com/group/clojure?hl=en -- Petr Gladkikh -- 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

Re: Thoughts on CUDA + Clojure

2011-09-12 Thread Petr Gladkikh
vendor. AFAIK OpenCL is already supported by Intel, AMD and Nvidia. Although being a common denominator OpenCL may lack some toys already available in CUDA. Just saying ... -- Petr Gladkikh -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: Errors in Clojure

2011-08-19 Thread Petr Gladkikh
first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- Petr Gladkikh -- You received this message because you are subscribed to the Google Groups Clojure group

Re: Elegant tools deserve elegant solutions. -- L. E. Gant

2011-08-11 Thread Petr Gladkikh
, but have you looked at Snowball http://snowball.tartarus.org/ ? Algorithm is different but language that is used to describe stemmers there is almost lisp and may be useful at least as reference. -- Petr Gladkikh -- You received this message because you are subscribed to the Google Groups

Predicate problem

2011-08-02 Thread Petr Gladkikh
of elements? -- Petr Gladkikh -- 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 be patient with your first post. To unsubscribe from

Re: Predicate problem

2011-08-02 Thread Petr Gladkikh
For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- Petr Gladkikh -- 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

Re: Java object field access

2011-07-29 Thread Petr Gladkikh
On Tue, Jul 26, 2011 at 5:14 PM, Ken Wesson kwess...@gmail.com wrote: On Tue, Jul 26, 2011 at 6:02 AM, Petr Gladkikh petrg...@gmail.com wrote: On Tue, Jul 26, 2011 at 3:28 PM, Alan Malloy a...@malloys.org wrote: On Jul 25, 11:10 pm, Petr Gladkikh petrg...@gmail.com wrote: I am trying

Java object field access

2011-07-26 Thread Petr Gladkikh
is wrong here? By the way is there already some function that allows to set fields of an object from a map? -- Petr Gladkikh -- 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

Re: Calling clojure from java.

2011-07-26 Thread Petr Gladkikh
)) (def db {.}) (defn create2 [table-name] (create db (table table-name))) This might not be convenient in your case however. -- Petr Gladkikh -- 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

Re: Java object field access

2011-07-26 Thread Petr Gladkikh
On Tue, Jul 26, 2011 at 3:28 PM, Alan Malloy a...@malloys.org wrote: On Jul 25, 11:10 pm, Petr Gladkikh petrg...@gmail.com wrote: I am trying to construct java object and assign it's fields from a map. That is given Java object of class Something { long id; String name; } and Clojure map {:id

Re: Why take-last of empty collection is nil?

2011-02-03 Thread Petr Gladkikh
On Thu, Feb 3, 2011 at 1:31 PM, Meikel Brandmeyer m...@kotka.de wrote: Hi, On 3 Feb., 08:04, Petr Gladkikh petrg...@gmail.com wrote: Should not it be empty colection instead? It seems odd to me since it is inconsistent and forces to consider one more case (nil or collection

Why take-last of empty collection is nil?

2011-02-02 Thread Petr Gladkikh
, is there already such function somewhere in Clojure libraries? -- Petr Gladkikh -- 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: Quicksort with accumulator

2010-12-28 Thread Petr Gladkikh
+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- Petr Gladkikh -- 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

Re: Quicksort with accumulator

2010-12-28 Thread Petr Gladkikh
And also qsort may take up to n stack frames for collection of n elements if you partition function is not optimal. In your case - if input collection is sorted (as long as you split by first element). On Tue, Dec 28, 2010 at 11:13 PM, Petr Gladkikh petrg...@gmail.com wrote: Why do you call

Re: Purpose of Macros

2010-11-29 Thread Petr Gladkikh
://petrglad.blogspot.com/2010/02/stream-close-template.html). Sorry, just nitpicking. -- Petr Gladkikh -- 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

Re: Mobile Clojure

2010-11-13 Thread Petr Gladkikh
/14725172c626642c?pli=1 -- Petr Gladkikh -- 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 be patient with your first post