Light Table reaches 0.1.0

2012-08-17 Thread mnicky
Another good news today: http://www.chris-granger.com/2012/08/17/light-table-reaches-010 :) -- 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 -

Rich added set-agent-send(-off)-executor! and send-via functions

2012-08-17 Thread mnicky
I have some great news: https://github.com/clojure/clojure/commit/f5f4faf95051f794c9bfa0315e4457b600c84cef :) -- 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 mem

Re: reduction to tail recursion

2012-07-21 Thread mnicky
Discussion about this is in the penultimate paragraph of http://c2.com/cgi/wiki?TailCallOptimization and btw, there's difference between: - tail recursion - function calls itself - tail call - function calls whatever Marek. On Saturday, July 21, 2012 11:15:33 AM UTC+2, Mimmo Cosenza wrote: >

Re: Expanding the Community Through Online Courses

2012-07-18 Thread mnicky
Another one that comes into mind is SICP course [1] in Clojure. Given Clojure's similarity to Scheme it should be doable. Also, because the SICP book is now licensed under CC-BY-SA, there shouldn't be any copyright problems etc. IMO [1] http://groups.csail.mit.edu/mac/classes/6.001/abelson

Re: Light Table on Windows XP

2012-07-03 Thread mnicky
http://www.chris-granger.com/2012/06/24/its-playtime/ On Tuesday, July 3, 2012 9:25:24 AM UTC+2, Jim foo.bar wrote: > > Light table has been released? when did that happen? > > Jim > > > On Tue, Jul 3, 2012 at 3:44 AM, Mark Engelberg > wrote: > >> I have been unable to get Light Table to work on

Re: General subsequence function

2012-06-29 Thread mnicky
> If you want to see something like this in clojure.core, you can create a > ticket on JIRA, preferably with a patch adding the new function as well as > some unit tests, and then some day it may be screened and later included in > Clojure's core code. For some of the reasons you have read in

Re: [ANN] clojure.java.jdbc 0.2.3 available on Maven Central

2012-06-26 Thread mnicky
entation to query Clojure > collections <https://gist.github.com/2645453>. I think this is the same > use clojure.contrib.datalog had. > > On Monday, June 25, 2012 12:47:29 PM UTC+2, mnicky wrote: >> >> >> >> On Saturday, June 23, 2012 1:20:30 AM UTC+2, Niel

Re: [ANN] clojure.java.jdbc 0.2.3 available on Maven Central

2012-06-25 Thread mnicky
On Saturday, June 23, 2012 1:20:30 AM UTC+2, Niels van Klaveren wrote: > > > I was thinking if an SQL generation DSL / library could be based on > core.logic ? > > Something like revival of clojure.contrib.datalog would be great. -- You received this message because you are subscribed to

Re: core.logic for encoding the rules of chess or checkers? is it plausible/desirable ?

2012-06-12 Thread mnicky
mething definately missing! Why won't > clojure's operators do the job? I'm just checking arithmetic values...what > is the problem? > > Jim > > On 11/06/12 17:34, David Nolen wrote: > > On Mon, Jun 11, 2012 at 12:30 PM, mnicky wrote: > >> You can

Re: Central screwup

2012-06-11 Thread mnicky
Seems like a manifest issue, because all versions are there: http://repo1.maven.org/maven2/org/clojure/clojure/ Marek. On Monday, June 11, 2012 6:28:42 PM UTC+2, Phil Hagelberg wrote: > > Some time over the weekend Maven Central lost knowledge of all > versions of Clojure other than 1.2.0: > >

Re: core.logic for encoding the rules of chess or checkers? is it plausible/desirable ?

2012-06-11 Thread mnicky
On Monday, June 11, 2012 5:31:41 PM UTC+2, Jim foo.bar wrote: > > Thanks a million mnicky!!! > A simple explanation like yours is just what I needed...I think i get > the rationale... > You are welcome :) > however, how would I know which of the 8 functions to call when

Re: core.logic for encoding the rules of chess or checkers? is it plausible/desirable ?

2012-06-11 Thread mnicky
Although I am familiar with Prolog, I'm not very familiar with core.logic yet :-( But maybe I can provide you an explanation of that Prolog code and you can derive the core.logic implementation by yourself... All clauses you provided define one predicate, move(), which has two arguments and bot

Re: interests in Clojure internals

2012-06-08 Thread mnicky
The second link is just a Latex source used to generate that pdf :) Marek. On Friday, June 8, 2012 11:10:19 AM UTC+2, jaime wrote: > > I glanced at the contents and it looks like this is a cool thing that I'm > looking for. I will spend some time on it. Thank you Ken. > > BTW, how can I view the

Re: Improvents on agent,user-custom thread pool.

2012-06-07 Thread mnicky
I just came across this thread (and also [1]) when I was googling for a way to customize the Clojure agents. Were any of these 'post 1.2' suggestions reconsidered since then? (I see they haven't been implemented yet). Marek. [1] https://groups.google.com/forum/?fromgroups#!topic/clojure-dev/qD

Re: [ANN] Leiningen 2.0.0-preview5 released

2012-05-31 Thread mnicky
Oh, I see, it's issue #616 [1] Mnicky. [1] https://github.com/technomancy/leiningen/issues/616 On Friday, June 1, 2012 8:40:40 AM UTC+2, mnicky wrote: > > After upgrade from preview4 and installation of OpenJDK, 'lein2 repl' > worked exactly once. Since then, it fail

Re: [ANN] Leiningen 2.0.0-preview5 released

2012-05-31 Thread mnicky
OpenJDK Server VM (build 14.0-b16, mixed mode) Mnicky. On Friday, June 1, 2012 7:11:48 AM UTC+2, Phil Hagelberg wrote: > > I'm happy to announce the release of Leiningen 2.0.0-preview5. > > This release fixes a bug where the repl would hang under certain > circumstances. It al

Re: any advice for translating the book "The Joy of Clojure"?

2012-04-23 Thread mnicky
It'd be good. These words from the SICP "acknowledgements" section just came into my mind: "Many educators in other countries have put in significant work translating the first edition. Michel Briand, Pierre Chamard, and André Pic produced a French edition; Susanne Daniels-Herold produced a Ger

Re: Boolean

2012-04-12 Thread mnicky
> > The cheatsheet at http://clojure.org/cheatsheet (and the tooltip variants > available at http://jafingerhut.github.com) link to the clojuredocs > pages, so they have visibility to people who use the cheatsheet, or > clojuredocs.org directly. > > or anyone else who uses this awesome feature

Re: Boolean

2012-04-12 Thread mnicky
The cheatsheet at http://clojure.org/cheatsheet (and the tooltip variants available at http://jafingerhut.github.com) link to the clojuredocs pages, so they have visibility to people who use the cheatsheet, or clojuredocs.orgdirectly. Or anyone else who uses this awesome feature of leinigen 2:

Re: Problems with map of empty collections

2012-04-03 Thread mnicky
Another interesting fact is that: Clojure 1.2.1 user=> {'(1) :list [1] :vector} java.lang.IllegalArgumentException: Duplicate key: (1) (NO_SOURCE_FILE:0) Clojure 1.3.0 user=> {'(1) :list [1] :vector} {(1) :vector} Clojure 1.4.0-beta1 user=> {'(1) :list [1] :vector} {(1) :vector} ...but I don't

Re: Clojure cheatsheet with tooltips (alpha)

2012-03-26 Thread mnicky
mbers" :table [["Arithmetic" :cmds '[+ - …]]] > > Long story short, I've been staring at this for a bit, and I'm wondering > if there are any strong feelings about how to make the cheatsheet more of a > modular, queryable structure than it currently is. >

Re: Clojure cheatsheet with tooltips (alpha)

2012-03-26 Thread mnicky
Seems that the text of cl-format overflows the right edge of the tooltip: http://i.imgur.com/B0ljt.png (tested in FF, Opera, Chrome) On Monday, March 26, 2012 11:12:50 AM UTC+2, Andy Fingerhut wrote: > > I've replaced this test page [1] with another one. The one I posted on > March 24 has been

Re: 'contains?' on 'sorted-set-by' based on the comparator only? (possible bug?)

2012-03-25 Thread mnicky
Wow. Thanks, Cedric. I'll definitely look into those options... On Sunday, March 25, 2012 4:28:04 AM UTC+2, Cedric Greevey wrote: > > On Sat, Mar 24, 2012 at 9:39 PM, Cedric Greevey > wrote: > > In increasing order of difficulty... > > > > Option 1: > > > > Extend your comparator to sort first o

Re: Clojure cheatsheet with tooltips (alpha)

2012-03-25 Thread mnicky
On Sunday, March 25, 2012 1:41:29 PM UTC+2, Bost wrote: > > I personally find this one better: > > http://homepage.mac.com/​jafingerhut/files/cheatsheet-​clj-1.3.0-v1.4-tooltips/​cheatsheet-title-attribute.​html

Re: 'contains?' on 'sorted-set-by' based on the comparator only? (possible bug?)

2012-03-24 Thread mnicky
com/clojure/​clojure/blob/master/src/jvm/​clojure/lang/P..<https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/P..>.>is > > > > responsible for this behaviour. > > > > Regards, > > Stuart > > > > On 13 March 2012 05:20, mnicky w

Re: Clojure cheatsheet with tooltips (alpha)

2012-03-24 Thread mnicky
The tooltips themselves seem pretty nice, but on smaller windows, they are sometimes placed behind the edges and thus not visible: http://i.imgur.com/YA4gF.png On Saturday, March 24, 2012 11:15:20 AM UTC+1, Andy Fingerhut wrote: > > There are still some problems with this, but it is ready for ex

'contains?' on 'sorted-set-by' based on the comparator only? (possible bug?)

2012-03-15 Thread mnicky
h noting that 'sorted-map-by' doesn't behave in this way: (contains? (sorted-map-by #(< (%1 0) (%2 0)) [1 :a] [2 :b]) [2 :c]) ;=> false Can this be a bug? If not, what's the reason behind this behavior? -- Mnicky -- You received this message because you are

Mini-interview with William Byrd by Fogus

2012-02-17 Thread mnicky
In the next interview from the (take) series, Fogus interviewes William Byrd, which is talking about some suggestions for Clojure, Scheme and macros and his current work, among other things Link: http://clojure.com/blog/2012/02/16/take5-william-byrd.html -- You received this message becaus

Re: Colliding hashes

2012-01-01 Thread mnicky
I wrote a topic about this yesterday, but as a new member my posts are moderated and it seems that moderators of this forum are somewhat inactive... :-) For more information about this, you can see the paper [1], slides from the presentation [2] and twitter account dedicated to this vulnerabili

Is Clojure affected by the hash table vulnerability in Java?

2012-01-01 Thread mnicky
A few days ago, Alexander Klink and Julian Walde showed how a flaw in implementation of hash tables in some programming languages can be used to launch DoS against some web servers. According to their paper [1], Java is also vulnerable. I don't know how much Clojure relies on Java (HashMap etc.

Re: Clojure list syntax sugar: f(x) notation

2012-01-01 Thread mnicky
I can't imagine what benefits M-expressions in Clojure would give us. -- 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

Re: ANN: Korma - a SQL DSL for Clojure

2011-11-04 Thread mnicky
on my laptop the colors are nice and readable, but on my better IPS monitor the page is not looking very well and reads a _lot_ harder, almost causing pain in my eyes ;-) ...so when designing site with uncommon color schemes, I suggest trying it on more, different types of monitors... But Korm

Re: Using Clojure to Generate Java Source?

2011-10-04 Thread mnicky
reminds me of http://is.gd/shinyscript -- 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 unsubscri

Re: apply func

2011-09-25 Thread mnicky
inc takes number as an argument, not a seq. The function that you are probably looking for is map: (map inc [1 2 3 4]) -- 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