Re: [ANN] Clojure 1.9.0 is now available!

2017-12-08 Thread Sergey Didenko
Congratulations! On Fri, Dec 8, 2017 at 10:03 PM, Jozef Wagner wrote: > Congratulations on the long awaited release and thanks to Rich, Stu, Alex > and all contributors! I'm glad and proud to be part of it! > > Jozef > > On Friday, December 8, 2017 at 8:35:39 PM UTC+1, Alex Miller wrote: >> >> C

Re: [ANN] Clojure 1.9.0-RC1

2017-11-24 Thread Sergey Didenko
.5%) Overhead used : 8.425136 ns Found 3 outliers in 60 samples (5. %) low-severe 3 (5. %) Variance from outliers : 1.6389 % Variance is slightly inflated by outliers On Fri, Nov 24, 2017 at 4:05 AM, Alex Miller wrote: > So is there any difference in t

Re: [ANN] Clojure 1.9.0-RC1

2017-11-23 Thread Sergey Didenko
Correction - it's not about regex parsing. I removed reflection calls for StringBuilder and now it seems to be on par in speed. On Fri, Nov 24, 2017 at 1:20 AM, Sergey Didenko wrote: > Hi, > > is it expected that code which does a lot of regex parsing is ~14% slower > than it

Re: [ANN] Clojure 1.9.0-RC1

2017-11-23 Thread Sergey Didenko
Hi, is it expected that code which does a lot of regex parsing is ~14% slower than it was under Clojure 1.8? On Tue, Nov 14, 2017 at 8:22 AM, Shantanu Kumar wrote: > Sorry, my bad. I can see the same behavior in previous Clojure versions > too. I discovered this in the middle of moving to 1.9.0

Re: tips on writing modern idiomatic code

2016-06-23 Thread Sergey Didenko
code decisions > to a stranger on a piece of paper in 60 seconds. > > Cheers, > Rangel > > On Tuesday, June 21, 2016 at 5:46:22 AM UTC-7, Sergey Didenko wrote: >> >> Hi, >> >> What would you advise for writing-rewriting your Clojure code in MODERN >>

tips on writing modern idiomatic code

2016-06-21 Thread Sergey Didenko
Hi, What would you advise for writing-rewriting your Clojure code in MODERN idiomatic way? Using Kibit? Pasting your code samples on some review site? Asking help in IRC channel? Asking here? Reading some noticeable open source projects? Reading some new Clojure book? I ask about the latest

Re: flowchart for choosing the right Clojure parallel primitives?

2016-03-30 Thread Sergey Didenko
f: > > > https://www.youtube.com/watch?v=BzKjIk0vgzE&list=PLZdCLR02grLrKAOj8FJ1GGmNM5l7Okz0a&index=2 > > Hope that is useful! > > DD > > > 2016-03-29 9:56 GMT-04:00 Sergey Didenko : > >> Hi, >> >> Is there a flowchart for choosing the right C

flowchart for choosing the right Clojure parallel primitives?

2016-03-29 Thread Sergey Didenko
Hi, Is there a flowchart for choosing the right Clojure parallel primitives? So that you can decide when to just use reducers/fork and when to choose core.async and etc. For example like the flowchart for data types from Chas Emerick - http://cemerick.com/2011/07/05/flowchart-for-choosing-the-ri

Re: New Matrix Multiplication benchmarks - Neanderthal up to 60 times faster than core.matrix with Vectorz

2016-03-14 Thread Sergey Didenko
Dragan, thank you for your library and detailed explanations! Beeing close to state of the art FORTAN libraries and GPU is important for long calculations. You give me hope to use Clojure more for data science. Last time when I benchmarked Incanter's vs Octave I decided to pause using Clojure fo

Re: [ANN] clojurework.com

2016-02-26 Thread Sergey Didenko
Thanks, Search input is a bit misalighned in Safari, iOS 9.2.1 (iPod 5gen) but still functional. On Sat, Feb 27, 2016 at 5:10 AM, Timothy Washington wrote: > +1. This looks great. > > > Tim > > > On Thu, Feb 25, 2016 at 9:47 AM, Daniel Higginbotham < > nonrecurs...@gmail.com> wrote: > >> Hi eve

Re: [ANN] Skyscraper 0.1.0, a library for scraping entire websites

2015-08-11 Thread Sergey Didenko
Looks interesting, thank you. On Tue, Aug 11, 2015 at 5:00 PM, Daniel Janus wrote: > Dear Clojurians, > > I'm happy to announce the availability of the first release of Skyscraper, > an Enlive-based library for "structural scraping" -- extracting information > from whole sites in a structural wa

Re: Prevayler in Clojure

2015-06-01 Thread Sergey Didenko
May be you will be interested to see my toy library for prevalence in Clojure - https://github.com/SergeyDidenko/Simple-Persistence-for-Clojure On Sun, May 31, 2015 at 12:56 AM, Plínio Balduino wrote: > Awesome, Klaus > > Thank you > > Plínio > > On Sat, May 30, 2015 at 4:31 PM, Klaus Wuestefeld

Re: [ANN] Clojure 1.7.0-RC1 now available

2015-05-21 Thread Sergey Didenko
As I mentioned in another thread, how would you type hint an empty vector? (set! *warn-on-reflection* true) (java.util.ArrayList. []);Reflection warning (java.util.ArrayList. ^java.util.Collection []) ;Reflection warning At the same time: (java.util.ArrayList. ["a"]) ;OK

can't type hint on an empty vector directly

2015-05-17 Thread Sergey Didenko
Hello, I have encountered a somewhat inconsistent behavior when applying type hinting on an empty vector. Lucene 5.1 CharArraySet has a few constructors, one of which is public CharArraySet(Collection c, boolean ignoreCase) So I get a reflection warning only in the first case: 1. (CharArraySet

Re: Why aren't libraries like clojure/(data.csv, ...) on clojars.org?

2015-05-10 Thread Sergey Didenko
(A bit offtopic) Leiningen fetches libraries from Clojars and Maven, so I guess this problem is not visible to the big part of the community. On Sun, May 10, 2015 at 1:43 PM, Jakub Holy wrote: > This is essentially a question to Cognitect / developers of the clojure/* > libraries but I do not k

Re: sp mm training in hyderabada

2015-04-19 Thread Sergey Didenko
I can't believe people don't see it's a conspiracy. Some accounts were hacked, payed and emulated to bring more attention to this spam. The most disturbing sign IMHO is creation of "Sean Corfield" account that was grown for many years bringing support and value to Clojure community for the sake o

Re: Memoize in the real world

2014-12-15 Thread Sergey Didenko
As I understand this var approach is used for development purposes, so in theory it should not occur in production. I wonder though why someone would prefer it to atoms. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Memoize in the real world

2014-12-13 Thread Sergey Didenko
Some people use vars for seldom changing things. What do you think about this VS atoms? For example: (declare ^:dynamic *server*) (defn get-possibly-unbound-var [v] (try (var-get v) (catch Exception e nil))) (defn start-server! [] (if (get-possibly-unbound-var *server*)

Re: Performance notes for Pink

2014-11-26 Thread Sergey Didenko
Thank you, It was interesting to read your experience on this kind of optimization. As I see you fall back to using raw Java code a few times. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.

Re: Clojure cheat sheet now links to ClojureDocs.org for things added since Clojure 1.4

2014-10-01 Thread Sergey Didenko
Great news! Thank you for your efforts. On Tue, Sep 30, 2014 at 2:48 AM, zk wrote: > Hey, thanks for the kind words, Andy. > > I'd like to apologize to everybody here, I know it's been very frustrating > having such a visible project like ClojureDocs behind for so long. With this > rewrite bumpin

Re: Clojure Contributor Agreement process update

2014-06-11 Thread Sergey Didenko
I look at it from the psychological point of view. There is a similar design decision in a website world - mandatory login vs relaxed login. For years a lot of webmasters were quite inert to even look at possibility to relax login requirement for core site activities. However in the online shoppi

Re: Clojure Contributor Agreement process update

2014-06-10 Thread Sergey Didenko
Sorry if that was already answered, Is there a possibility to get rid of this legalwall? I realize that there are good intents behind the existing practice, but it feels a bit wrong for an open source artifact in the digital age of instant sharing. > Starting today, we have updated the Clojure

Re: Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-21 Thread Sergey Didenko
I see, thanks. On Tue, Jan 21, 2014 at 4:17 PM, Xfeep Zhang wrote: > > On Tuesday, January 21, 2014 6:25:02 AM UTC+8, Sergey Didenko wrote: >> >> Hi Xfeep, >> >> What are the good ways to handle some heavy Clojure calculations when >> using nginx-clojure? &

Re: Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-20 Thread Sergey Didenko
Hi Xfeep, What are the good ways to handle some heavy Clojure calculations when using nginx-clojure? Under nginx model it's bad to block other incoming requests by holding a working thread for too long, right? So is it better to route complex job to http-kit? Or to use some kind of queue? Or may

Re: Nginx-Clojure Let You Deploy Clojure Web App on Nginx Without Any Java Web Server

2014-01-13 Thread Sergey Didenko
Looks very interesting, thank you for your work! I wonder how this is going to improve latency in comparison to nginx + http-kit for some real world test that is not using heavy DB operations. On Mon, Jan 13, 2014 at 5:57 AM, Xfeep Zhang wrote: > > So far I have found why nginx-clojure is slow

Re: Clojure - Python Style suggestion

2013-02-04 Thread Sergey Didenko
My point is to introduce a second-class syntax to attract orthodox users. Definitely not migrating. The rules of transformation can be so simple that any useful library written by Clojure Python style adopters could be translated to the canonical style automatically with a few line program. > I c

Re: Clojure - Python Style suggestion

2013-02-04 Thread Sergey Didenko
Unfortunately I don't know Python good enough to answer this. The point though is just to mimic Python a very tiny bit. Basically to convert some of "(" and ")" to indentations. > Sois that the python equivalent to which of these? > filter(smaller(xs)) > filter(smaller, xs) > filter(smaller(),

Re: Clojure - Python Style suggestion

2013-02-04 Thread Sergey Didenko
The main point is to reach new market by providing parentheses-lite Clojure syntax. Of course real serious Clojurians will be using the current syntax :) > Parens actually don't complect, they have a very very clear meaning. They > organize functions and arguments. Let's take one line from your e

Clojure - Python Style suggestion

2013-02-04 Thread Sergey Didenko
Hi, For us as Clojure community it is easy to see how Clojure benefits from being a Lisp. Homoiconity, extreme conciseness, esoteric look and feel, etc. However it is hard to see from the inside how Clojure as ecosystem (probably) suffer from being a Lisp. Please don't throw rotten eggs at me, I

Re: Efficiency of Dijkstra's algorithm

2012-11-20 Thread Sergey Didenko
I have used mutable code working on Java structures when I was implementing the kind of Dijkstra algorithm. As long as it is encapsulated in a function it seems quite a good approach to me. And also quite readable given the amount of mutable Dijkstra examples in the Internet. -- You received thi

Re: Slightly updated Clojure cheatsheet available

2012-10-09 Thread Sergey Didenko
Thank you, Andy! -- 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 this group, se

Re: Clojure web framework

2012-09-29 Thread Sergey Didenko
So we are back to the documentation reach issue again. I think the best solution would be one (!) central community wiki and prominent mentions of it from the clojure.org . The wiki could contain the links to the latest tutorials and so on. It should have quite low barrier to entry. -- You rece

Re: Little becnhmark (need insight)

2012-07-23 Thread Sergey Didenko
Hi, lazy seqs are slow for number crunching, you can try to remove them. Then you can check that you make (set! *warn-on-reflection* true). And that your code does not have the warnings. Then may be use native (Java) data structures or even arrays. Then you can change defn for definline for sen

Re: How to go about finding a Clojure job

2012-06-23 Thread Sergey Didenko
Another possibility is to work at research position where you can select technologies by yourself :) -- 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 mod

Re: Lambda: A lniux distro for clojurists

2012-05-26 Thread Sergey Didenko
What about packaging Emacs with a few different configs? For example Ergoemacs + dark background settings. -- 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 a

Re: Faster application startup for rapid development

2012-05-14 Thread Sergey Didenko
> Also discovered I can prefix `java -cp ...` with `rlwrap` to get back a nice > REPL experience. If you want to use rlwrap, check out its options like "--remember", "-c", "-b" and "-f". Here is the script I use to run repl from the root of the lein project: breakchars="(){}[],^%$#@\"\";:''|\\"

Re: Newbie question about rebinding local variables

2012-04-21 Thread Sergey Didenko
There is also a non-idiomatic way - transform your code to use a native Java data structure like ArrayList or primitive array. You may want it for the speed or if the mutable algorithm is more readable. Anyway isolation of the mutable code is always a good advice. (defn new-game [] (let [board

Re: can Clojure 1.3 code always be made as fast as Java for numeric computations?

2012-03-26 Thread Sergey Didenko
Thank you for pointers! I will dig further. -- 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 unsu

can Clojure 1.3 code always be made as fast as Java for numeric computations?

2012-03-26 Thread Sergey Didenko
Hi, I believe I've heard claims that nothing stops Clojure 1.3 code to be made very close to Java in terms of execution speed. However when trying to match the speed of ad-hoc Heapsort implementation I have faced essential obstacles. Setting type hints and coercions was quite easy. A bit harder

Re: Which emacs packages?

2012-03-12 Thread Sergey Didenko
* RainbowDelimiters * desktop-save-mode * ergoemacs-mode (modified) * bm for bookmarks * color-theme with modified color-theme-tomorrow * anything Not a plugin, but I found this setting useful: "(setq recenter-positions '(0.2 0.4 0.6 0.8 bottom top))" -- You received this message because you are

Re: Lack in the documentation

2012-02-20 Thread Sergey Didenko
It looks like our community already has a lot of articles, tutorials, gists, but they are just not very reachable to beginners. May be what we really need is a meta site or article on clojure.org or promotion of other meta site like http://stackoverflow.com/questions/tagged/clojure, with a lot of

Re: Problem with the Chas Emerick: "Modeling the world ..." video

2012-02-16 Thread Sergey Didenko
The same here. -- 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 this group, send

Re: LurePet - Digital Art Project Written in Clojure - Beauty Contest For Virtual Life (shamelessly advertising)

2011-12-23 Thread Sergey Didenko
Yes, its http://lurepet.com > Do you have a link to the running project? -- 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

LurePet - Digital Art Project Written in Clojure - Beauty Contest For Virtual Life (shamelessly advertising)

2011-12-23 Thread Sergey Didenko
Hi, finally I can show you some quite complex project that I made in Clojure. The Idea: Every lurepet (big picture) that you see on the site has some "genes" and is drawn according to them. After the best lurepets are selected they can be bred to make children looking like their parents. This is

Re: Overused phrases in the Clojure community

2011-11-17 Thread Sergey Didenko
I coded mutable Dejkstra algorithm isolated in a single function, because it's easier for me to maintain it - I used to write a lot of mutable algorithms. But I consider this code not idiomatic though useful in my case. So I think idiomatic Clojure code is not as ubiquitous as you probably mean an

Re: primitive type hints do not work when destructuring

2011-11-02 Thread Sergey Didenko
tested under Clojure 1.3 -- 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 this g

primitive type hints do not work when destructuring

2011-11-02 Thread Sergey Didenko
Seems like a bug: The following compiles: (let [[^Double x ^Double y] [0.1 0.2]] (+ x y)) This does not: (let [[^double x ^double y] [0.1 0.2]] (+ x y)) "Unable to resolve classname: double" -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: java.lang.ClassFormatError: Invalid method Code length

2011-10-25 Thread Sergey Didenko
Indeed. Thanks for the answer! > If it's really just data (not containing function or macro calls you > are expecting to be evaluated), just use (read ...). That will parse > the file, returning a Clojure data structure without evaluating it. > > // ben -- You received this message because you a

java.lang.ClassFormatError: Invalid method Code length

2011-10-25 Thread Sergey Didenko
I get the subject error when trying to deserialize a big map (70kb) using load-file. Is this by design? There was an advice in the old thread to "use smaller methods". But while small methods are good, breaking continuous data into smaller pieces looks like a hack. Should I use some other functi

Re: The Website / Wikispaces

2011-10-07 Thread Sergey Didenko
Me too. -- 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 this group, send email

Re: docs for 1.3

2011-10-04 Thread Sergey Didenko
Thanks, I see now. Just want to stress that it is important to have a single point of diving into the documentation. And it's best of all to be on the http://clojure.org , not just http://dev.clojure.org. IMHO with the call to community to move to 1.3 the current outdated clojure.org can fight ba

Re: docs for 1.3

2011-10-03 Thread Sergey Didenko
My last mail remain unnoticed, so I'll clarify the question: Clearly (the main) clojure.org is not the main documentation source for 1.3. To prove it - try to find the mention of "Factory function taking a map", e.g. map->MyRecord there. So what is the best search strategy right now to find the c

docs for 1.3

2011-09-27 Thread Sergey Didenko
Is the README file from Clojure on github the best 1.3 documentation for the moment? For example, I can't find a mention of "Factory function taking a map" , e.g. map->MyRecord on the main clojure.org -- You received this message because you are subscribed to the Google Groups "Clojure" group. T

Re: misuse of or bug in transients?

2011-09-16 Thread Sergey Didenko
Yes, now it works. Thanks. > Try rewriting (contains? tset %) as (tset %). > > Let me know if that change fixes your program. -- 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 post

Re: misuse of or bug in transients?

2011-09-16 Thread Sergey Didenko
Then it is contrary to the docs: http://clojure.org/transients "Transients support the read-only interface of the source, i.e. you can call nth, get, count and fn-call a transient vector, just like a persistent vector." > Examining the Java sources it looks like the transient collections do not

misuse of or bug in transients?

2011-09-16 Thread Sergey Didenko
When I convert the following code to use transients it returns different result. Am I doing anything wrong or is it a bug in transients? (defn tt [] (loop [i 0 tset #{}] (if (= i (int 5e5)) (count tset) (recur (inc i) (let [nn (rem (* i (int 1e3)) 131071)

Re: autoboxing in 1.3 RC-0

2011-09-15 Thread Sergey Didenko
Thanks! Though it is not obvious IMHO. > (loop [x 1 changed 0] >  (if (= x 10) >   changed >   (recur (inc x) >          (long (loop [y 1 changed-y changed] >                  changed-y) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

autoboxing in 1.3 RC-0

2011-09-15 Thread Sergey Didenko
Hi, Is it a bug or I'm doing something wrong? I can't get rid of auto-boxing in the second example, neither by type hinting nor by type coercing of "changed*" locals. (set! *warn-on-reflection* true) This compiles fine: (loop [x 1 changed 0] (if (= x 10) changed (recur (inc x)

Re: ^long vs (long arg)

2011-09-14 Thread Sergey Didenko
I mean in Clojure 1.3 . -- 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 this gr

^long vs (long arg)

2011-09-14 Thread Sergey Didenko
What is the intended difference between type hinting like "^long" and type coercing like "(long arg)"? For example my gut feeling for this case is to use ^long but it is forbidden: (loop [^long x 0] ...) "Can't type hint a local with a primitive initializer" So I use (loop [x (long 0)] ...) B

Re: "case" on primitives warning in 1.3-RC0

2011-09-14 Thread Sergey Didenko
Indeed. Then clojure.core/rand-int should be improved I guess. > The default case in `case' (what a sentence) is not paired like in > `cond'.  You want something like: -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

"case" on primitives warning in 1.3-RC0

2011-09-14 Thread Sergey Didenko
Is this the intended behavior? Note the present/missing default clause user> (set! *warn-on-reflection* true) user> (case (rand-int 3) 0 :zero 1 :one 2 :two) Performance warning, NO_SOURCE_FILE:1 - case has int tests, but tested expression is not primitive. :two user> (case (rand-int 3) 0 :zero 1

Re: two form assert does not exist in 1.3.0-master-SNAPHOT

2011-09-14 Thread Sergey Didenko
Apparently not: "1.3.0-master-SNAPSHOT/ 20-Dec-2010" > there used to be http://build.clojure.org/snapshots, but I don't know > whether it's still cared for. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@

Re: two form assert does not exist in 1.3.0-master-SNAPHOT

2011-09-14 Thread Sergey Didenko
I see, there is no "clojure-1.3.0-master-SNAPSHOT.jar" in maven and I should use "1.3.0-RC0" >  I see, my lein - maven thinks that the latest > clojure-1.3.0-master-SNAPSHOT.jar was built in January. > >> current master seems to disagree with you: >> https://github.com/clojure/clojure/blob/master/

Re: two form assert does not exist in 1.3.0-master-SNAPHOT

2011-09-14 Thread Sergey Didenko
I see, my lein - maven thinks that the latest clojure-1.3.0-master-SNAPSHOT.jar was built in January. > current master seems to disagree with you: > https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L4222 -- You received this message because you are subscribed to the Googl

two form assert does not exist in 1.3.0-master-SNAPHOT

2011-09-14 Thread Sergey Didenko
Despite of what written here: http://dev.clojure.org/display/doc/1.3 there is no two form assert in 1.3.0-master-SNAPHOT -- 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: trace-forms macro

2011-09-14 Thread Sergey Didenko
Looks interesting. Did you use it with Clojure 1.3 or earlier? -- 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

Re: debugging

2011-09-14 Thread Sergey Didenko
Also bear in mind that due to the functional nature of Clojure you can debug a lot of problems using tracing, like clojure.contrib.trace (for < 1.3), C-c C-t in Emacs, or this handy macro: (defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#)) (func1 (func2 arg1) arg2) -> (dbg (func1 (db

Re: good ways to deal with compiler errors in SLIME (emacs)

2011-09-13 Thread Sergey Didenko
Thanks, Phil ! That's it. I was using "slime-load-file" instead of "slime-compile-and-load-file" If you compile using C-c C-k (where it sends the filename instead of > the contents of the file) then it can determine line numbering. > > -- You received this message because you are subscribed to

good ways to deal with compiler errors in SLIME (emacs)

2011-09-13 Thread Sergey Didenko
Hi, How can I see the error line number in SLIME? Or even somehow place editor point on the place of the error? For example when I load file in a lein repl, it prints: "java.lang.Exception: Unable to resolve symbol: dd in this context (mytest.clj:447)" However when I load this file in the SLIME

Re: Migration to 1.3 for mortals

2011-09-08 Thread Sergey Didenko
Just my 2 cents: If you are ok with a quick dirty hack you can fix contrib libraries locally. -- 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: Clojure 1.3 Beta 3

2011-09-05 Thread Sergey Didenko
Great news! Is good documentation on new 1.3 features also coming? -- 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 y

Re: coming from statically typed oo languages - how do deal with complex objects graphs in clojure?

2011-09-04 Thread Sergey Didenko
Dennis, may I suggest you to read this great article on Clojure: http://java.ociweb.com/mark/clojure/article.html -- 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 me

Re: coming from statically typed oo languages - how do deal with complex objects graphs in clojure?

2011-09-03 Thread Sergey Didenko
You can also put a commented out example call of the function, like this: (defn some-magic [spells wizards] ...) ; (some-magic 5 [:gendalf :einstein]) Which is also handy for quick evaluation in the REPL. Or you can put these example calls in the (automatic) test code. -- You received this mes

Re: clojure-based non-blocking webserver like Node.js

2011-09-03 Thread Sergey Didenko
On Sat, Sep 3, 2011 at 3:01 AM, Tal Liron wrote: > > I always ask, though, why people think they need async I/O for a web > server. Async might be important if you are streaming video, audio, etc. > (And if you are, you're probably better off with a robust CDN.) > Async can also be good for chat

Re: Stanford AI Class

2011-08-12 Thread Sergey Didenko
BTW, Is there a case when AI self-modifying program is much more elegant than AI just-data-modifying program? I just can't figure out any example when there is a lot of sense to go the self-modifying route. -- You received this message because you are subscribed to the Google Groups "Clojure" gr

Re: New to Clojure -- Errors Are Frustrating

2011-08-02 Thread Sergey Didenko
It got improved a lot in Clojure 1.3 which is beta for a while. -- 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

Re: clojurescript additional js dependencies

2011-08-02 Thread Sergey Didenko
Yes, after compiling this example and its raw Google Closure equivalent: (ns bgcolor (:require [goog.fx.dom :as fx-dom])) (defn ^:export animate [elem start end] (let [ anim (fx-dom/BgColorTransform. elem start end 2000)] (.play anim ( After compilation through the Google co

clojurescript additional js dependencies

2011-08-01 Thread Sergey Didenko
Are there plans to decrease the amount of js dependencies that ClojureScript makes compared to the raw Google Closure? Currently the difference in final js code size is about 28kb (5kb zipped) in advanced mode for a simple example. -- You received this message because you are subscribed to the G

Re: better community docs: getting started

2011-07-25 Thread Sergey Didenko
IMO, it's a very good idea to give much more accent on the easiest options for newcomers. Other than not recommending Emacs, do people think that the overall > organization I suggested is a good idea? I should reiterate that > other information needs to be accessible; for now I'd just like to see

Re: better community docs: getting started

2011-07-23 Thread Sergey Didenko
I checked the great manual "113 Design Guidelines for Homepage Usability" from Jakob Nielsen and here are my thoughts about the main page (clojure.org ): 1) It's misleading that some links in the left pane are underlined ("API", "Recent changes", "Libraries", "Community") while others are not. 2)

Re: Clojure Books

2011-07-18 Thread Sergey Didenko
Also check this great online introduction (targeting 1.0): http://java.ociweb.com/mark/clojure/article.html -- 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: FleetDB or other "NoSQL" store for Clojure?

2011-07-17 Thread Sergey Didenko
Tim, I think you mean CouchDB, which indeed is "master-master". MongoDB is extended "master-slave". On Sun, Jul 17, 2011 at 6:45 PM, Tim Robinson wrote: > MongoDB is similar, in that it supports conflict resolution, only I > believe you only have the option for the last write wins. MongoDB is > b

Re: FleetDB or other "NoSQL" store for Clojure?

2011-07-17 Thread Sergey Didenko
Ad hoc transactions are possible in MongoDB, they are just not provided out-of-the-box and (I guess) impose performance penalty. http://www.mongodb.org/display/DOCS/two-phase+commit -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

Re: can't set up Clojure 1.2.1

2011-07-16 Thread Sergey Didenko
It was already mentioned recently that clojure.org looks outdated. May be we just need the main site to link to a few valuable proven community resources? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@go

Re: can't set up Clojure 1.2.1

2011-07-16 Thread Sergey Didenko
I've updated the wiki [1], can't update the main site page[2]. http://en.wikibooks.org/wiki/Clojure_Programming/Getting_Started#Running_Clojure http://clojure.org/getting_started -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: Anyone on Google+ yet?

2011-07-15 Thread Sergey Didenko
Well, if you are going to spam, I guess Claudia will be penalized :) Claudia beat you to it ;-) But thank you! > > -- 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

Re: can't set up Clojure 1.2.1

2011-07-15 Thread Sergey Didenko
Larry, it seems that the current folder "." is not in your default classpath. Either try "...-cp ./clojure.jar ..." or add "." into your default CLASSPATH. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@go

Re: Anyone on Google+ yet?

2011-07-15 Thread Sergey Didenko
Jeremy, I can send you an invitation. Do you need it? On Fri, Jul 15, 2011 at 4:53 PM, Jeremy Heiler wrote: > Is Google+ invite based? How did all of you get a profile? > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: FleetDB or other "NoSQL" store for Clojure?

2011-07-15 Thread Sergey Didenko
1) IMHO full SQL-like transaction support and NoSQL are quite contradicting things. You can have some atomic operations with NoSQL but not that heavy transactions as in traditional SQL world. (Correct me if I wrong). So one of the option is to use SQL and serialize/ deserialize documents in your ap

Re: Anyone on Google+ yet?

2011-07-14 Thread Sergey Didenko
I wrote on Google+, but I feel it can left unnoticed with the current message pace. Let's not post our common messages to the Clojure Circle to make it more useful. P.S. Posting to "Public" also posts to "Clojure". -- You received this message because you are subscribed to the Google Groups "Cl

Re: Anyone on Google+ yet?

2011-07-14 Thread Sergey Didenko
IMHO, it's worth to add "Clojure" to your Sparks. Mine: https://profiles.google.com/109116565377929735698 -- 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 a

Re: Results from 2011 State of Clojure survey

2011-07-12 Thread Sergey Didenko
You know that from inside. A Clojure "outsider" can have a completely other point of view. He can choose between Python, server side Javascript, new C#, Go, Scala, F#, Haskell, Erlang, haXe, Clojure. Besides the languages itself, the "outsider" wants to evaluate libraries, community, platforms, s

Re: Results from 2011 State of Clojure survey

2011-07-12 Thread Sergey Didenko
> Public relations -- Project status and activity. This area seems to > suggest the main Clojure page should be covered in tickers and feeds > of various kinds > I think the main site needs just a pane with a big noticeable header "News", that shows one-two latest important stories and updates one

Clojure Wiki for general public

2011-07-11 Thread Sergey Didenko
It seems we don't have a *centralized* wiki not just for the Clojure Core developers, but for everybody in our community. Application developers have to look for *broad* info all over different resources. I have just tried Clojure 1.3 and realized I have to google a lot to find answers. - Clo

Re: Leiningen 1.6.1 released

2011-07-06 Thread Sergey Didenko
IMHO new people only will benefit from installing lein. It's very simple in basic usage. It can be used both from command line and with IDE. Though I prefer my own scripts for starting REPL with readline instead of "lein repl". It can be used with Enclojure by running "lein pom" every time you u

Re: Leiningen 1.6.1 released

2011-07-06 Thread Sergey Didenko
Hi Phil, Is it an intention or a bug that dev-dependencies are being copied into "lib/dev" when :local-repo-classpath is true? Regards, Sergey. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups

Re: Tutorial about web development with Clojure

2011-06-29 Thread Sergey Didenko
Nice to see so documented example! A few remarks: 1) IMHO sandbar's approach to authorization is better that this ad-hoc one: it places auth data just in the routes instead of controllers, see https://github.com/brentonashworth/sandbar/wiki/Authentication-and-Authorization 2) It would be nice to

Re: How to setup IntelliJ with Leiningen?

2011-06-07 Thread Sergey Didenko
Hi Vicent, I think it's: *project.clj editing* lein deps lein pom On Tue, Jun 7, 2011 at 12:18 PM, Vicente Bosch wrote: > After we insert a new dependency in project.clj, we have to run lein pom > again so that everything gets refreshed. I am totally fine with this. Is my > assumption correct

Re: New version of the Enclojure plugin for Netbeans 7.0 is up.

2011-05-02 Thread Sergey Didenko
Thanks, Eric! On Fri, Apr 29, 2011 at 8:56 PM, Eric Thorsen wrote: > This version is a port of 1.4 to run on Netbeans 7.0. > > You can get this using the update site. > For more information, please go to: > www.enclojure.org > > -- You received this message because you are subscribed to the Goo

  1   2   >