Re: Seattle Clojure meeting

2010-02-03 Thread ajay gopalakrishnan
I'm in! But on 11th. I cannot make it on 15th On Wed, Feb 3, 2010 at 7:01 PM, Phil Hagelberg wrote: > Hello, clojurists of Seattle. > > Let's meet! I'm thinking of getting folks together from 7pm to 9pm at Zoka > in the University District: http://bit.ly/c9jinW Topics may include > Leiningen, d

Clojure for system administration

2010-02-03 Thread ajay gopalakrishnan
structure 5. Fork another program and read it's results I've gone through this tutorial http://java.ociweb.com/mark/clojure/ , but please point me to clojure.contribs that will make these kind of tasks easier. Thanks Ajay -- You received this message because you are subscribed to

Re: Heap implementation in Clojure

2010-02-02 Thread ajay gopalakrishnan
What is the time and space complexity for your implementation? Equals the normal non-functional implementation? On Tue, Feb 2, 2010 at 7:31 AM, e wrote: > i was messing around a while back with this: > http://code.google.com/p/jc-pheap/ > > the algorithms work, but it's probably in a between-sta

Re: Debugging in Clojure

2010-01-22 Thread ajay gopalakrishnan
010 10:08:45 +0200 > > > > > > > > > > > > Miron Brezuleanu wrote: > > > Hello, > > > > > On Fri, Jan 22, 2010 at 3:14 AM, ajay gopalakrishnan < > ajgop...@gmail.com>wrote: > > > > > > Hi, > > > > > > I usually debug

Re: Clojure Conference Poll

2010-01-22 Thread ajay gopalakrishnan
I vote for Seattle. On Fri, Jan 22, 2010 at 1:15 PM, Wilson MacGyver wrote: > I vote let's turn this into a clojure vacation, and hold it in an > exotic location. > > Otherwise, hey, Columbus Ohio is as good as any other city. :) > > On Fri, Jan 22, 2010 at 3:50 PM, Sean Devlin > wrote: > > Clea

Re: Debugging in Clojure

2010-01-21 Thread ajay gopalakrishnan
Is this the preferred way of debugging in Clojure? On Thu, Jan 21, 2010 at 5:25 PM, Richard Newman wrote: > I usually debug by adding println statements. How can I achieve the same >> effect in Clojure. I don't think I can introduce println at arbitrary places >> to figure out at which step is t

Debugging in Clojure

2010-01-21 Thread ajay gopalakrishnan
Hi, I usually debug by adding println statements. How can I achieve the same effect in Clojure. I don't think I can introduce println at arbitrary places to figure out at which step is the algorithm failing. Thanks, Ajay -- You received this message because you are subscribed to the G

Re: Good "refs" on concurrency?

2010-01-19 Thread ajay gopalakrishnan
I think the strongest argument I ever found and which indicates the complexity involved with Concurrent programming are the following 2 articles: 1. The too much milk problem This is taken fr

Re: I'm going to teach Clojure at university - suggestions/comments?

2010-01-13 Thread ajay gopalakrishnan
I think it is better not to say "It is a better Lisp" although it actually is in many ways. Talking about its other Concurrency features and advantages of side-effect free programming is a good way to interest the students in this world dominated by OOPs Ajay On Wed, Jan 13, 2010 a

Re: ANN: 6pm Sat, Dec 9th: Wraith Scheme, Paralell & Distributed Clojure at the Hacker Dojo

2010-01-06 Thread ajay gopalakrishnan
It's Jan 9 I guess On Wed, Jan 6, 2010 at 10:53 PM, nallen05 wrote: > Two very cool presentations this Saturday at the Hacker Dojo in > Mountain View: > > 1. An introduction to Wraith Scheme by Jay Reynolds Freeman > 2. An introduction to parallel and distributed programming with > Clojure by Am

Re: Google-collections

2009-12-30 Thread ajay gopalakrishnan
wn before-hand and not subject to change. Thanks, Ajay On Thu, Dec 31, 2009 at 12:41 AM, Vagif Verdi wrote: > I wonder if just released http://code.google.com/p/google-collections/ > google-collections java library could be of any use to clojure > implementation ? They have there "

Re: Parenthesis Inference

2009-12-21 Thread ajay gopalakrishnan
I was watching "Pleasantville" again and it reminded me of this whole argument. On Mon, Dec 21, 2009 at 6:39 PM, Joost wrote: > On 21 dec, 15:38, kyle smith wrote: > > Martin, you're trying to argue that some hypothetical 'unwashed > > masses' of programmers won't like clojure because of parent

Re: Parenthesis Inference

2009-12-20 Thread ajay gopalakrishnan
It's better if we can support both. It's never one size fits all. On Sun, Dec 20, 2009 at 11:49 AM, Sean Devlin wrote: > Alex, > > I just thought of something. I think we're all forgetting the amount > of hacking done at the REPL. > > ;This is easy to type > user=>(from (too (many (parens >

Re: Advice for someone coming from an OO world?

2009-12-20 Thread ajay gopalakrishnan
I don't know if anybody mentioned this before, (it was not suggested to me when I asked a similar question earlier), but Stuart's explanation on OOP in Clojure is the best I've ever found. It's simple, clear and takes on each of the 4 pieces nicely. http://blog.thinkrelevance.com/2009/8/12/rifle-o

Re: Parenthesis Inference

2009-12-19 Thread ajay gopalakrishnan
Precedence is an overrated thing. You dont run into that issue every day. When we do we have the support of (). So, a developer must have the option to disambiguate it when necessary, but otherwise should not have to type the otherwise redundant () all the time. (All this talk is about arithmetic e

Re: Parenthesis Inference

2009-12-19 Thread ajay gopalakrishnan
ow do you read this literally left-to-right? Relational operators being so common in code, I think it abuse of notation is valid here. Thanks Ajay G. On Sun, Dec 20, 2009 at 12:40 AM, Sean Devlin wrote: > Give it a shot. Hack up a prototype. Let's see what happens. > > On Dec 20

Re: Parenthesis Inference

2009-12-19 Thread ajay gopalakrishnan
> Is it possible that people are confusing their inability to comprehend > deeply nested function calls (no offense intended by that - I hit this > often myself) with the strangeness of the perens? I think what others > have said about having to think more about each line of Clojure is > true. It

Re: Parenthesis Inference

2009-12-19 Thread ajay gopalakrishnan
I think this discussion is getting too long, but anyway .. Coming from an imperative background, especially Java which is a lot bloated, when I tried to read Lisp code, I start to get the feeling that I am staring at the same place for a long time. In an imperative setting, it definitely means tha

Re: Parenthesis Inference

2009-12-19 Thread ajay gopalakrishnan
The intended audience are Software Engineers. Not the people who hide behind "this-is-not-intuitive" their lack of willing to learn the most effective way to spend their professional life. Why is it that you believe them to be mutually exclusive events? You portray Software engineers as if they ar

Re: Parenthesis Inference

2009-12-18 Thread ajay gopalakrishnan
written in IDE like Eclipse only. And Eclipse goes a long way in reducing the boilerplate code, thus reducing a flaw in the Java language. Similarly Enclojure and Counterclockwise support be just splendid. Just saying "use Slime/Vimclojure" does not help again. My 5 cents. it is

Re: Call for masters thesis ideas (possibly related to Clojure)

2009-12-18 Thread ajay gopalakrishnan
Put *Comparative performance evaluation of Java threads for embedded applications**: Linux thread vs. Green thread Google, and click the second link that says [PDF]. It is for free. * On Fri, Dec 18, 2009 at 7:20 PM, Patrick Kristiansen < patrick.kristian...@gmail.com> wrote: > On Dec 18, 11:06

Re: Call for masters thesis ideas (possibly related to Clojure)

2009-12-18 Thread ajay gopalakrishnan
. Thanks, Ajay G. -- Forwarded message -- From: Patrick Kristiansen Date: Fri, Dec 18, 2009 at 7:35 AM Subject: Call for masters thesis ideas (possibly related to Clojure) To: Clojure Hi We're two students that have been working with concurrent programming languages (E

Re: Any interest in a Nova Clug?

2009-12-17 Thread ajay gopalakrishnan
Seems like a wrong place to ask, but is there a Seattle Clojure Group too? Where can I find this info? Thanks, Ajay On Thu, Dec 17, 2009 at 3:22 PM, tcg wrote: > I'm interested. > > On Dec 16, 1:14 pm, Matt wrote: > > I'm looking into setting up a Northern Virgin

Re: Clojure analysis

2009-12-17 Thread ajay gopalakrishnan
I was about to point out this reference, but realized Rich has already already given a nice explanation. Good to know that this newbie (myself) is on the right track! On Thu, Dec 17, 2009 at 3:24 PM, Rich Hickey wrote: > > > On Dec 17, 2:16 pm, Martin Coxall wrote: > > On 17 Dec 2009, at 10:04,

Re: How to efficiently compare related persistent collections (maps, sets)?

2009-12-16 Thread ajay gopalakrishnan
If the sets data structure is also not shared, then the paper I mentioned (link provided earlier) is one of the fastest to date. And it is very small & easy to implement. On Wed, Dec 16, 2009 at 2:59 PM, Dragan Djuric wrote: > Yes, the true/false for equality is not a problem. > > I am looking f

Re: How to efficiently compare related persistent collections (maps, sets)?

2009-12-16 Thread ajay gopalakrishnan
asier to implement it at the Java level & not Clojure level) http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.36.9963 Ajay On Wed, Dec 16, 2009 at 8:53 AM, Dragan Djuric wrote: > Hi, > > Here's the example of what I meant in the topic title: > > Let's say we

Re: Clojure newbie question regarding compile time type checking.

2009-12-15 Thread ajay gopalakrishnan
ecking tools, I am definitely looking forward for this one. > > I should let him characterize his views himself, though, because I imagine > I'm getting it at least part wrong. > > Either way, Ajay, Clojure is a dynamic and dynamically typed system. Cons: > No compile-time

Re: Clojure newbie question regarding compile time type checking.

2009-12-15 Thread ajay gopalakrishnan
se it becomes unavoidable) Ajay On Tue, Dec 15, 2009 at 7:23 AM, Baishampayan Ghose wrote: > Ajay, > > > It tried the following in REPL and got no error. Personally, I feel that > > I should get an error because calling square on strings is wrong in both > > cases. >

Re: Mapping OOPS concepts to Clojure? Doable or Wrong thinking?

2009-12-13 Thread ajay gopalakrishnan
/ http://clj-me.cgrand.net/ but something focusing more on the bridging OOPS & Functional. Thanks, Ajay G. On Sun, Dec 13, 2009 at 6:41 AM, Laurent PETIT wrote: > And I encourage you to do so: everything that can help bridge the gap > between "Java's way of programming things&qu

Clojure newbie question regarding compile time type checking.

2009-12-13 Thread ajay gopalakrishnan
"])) The following gives error (because it gets evaluated): (defn square [n] (* n n)) (if (= 0 1) (println "hello") (map square ["a" "b"])) Thanks, Ajay -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: Mapping OOPS concepts to Clojure? Doable or Wrong thinking?

2009-12-12 Thread ajay gopalakrishnan
@Joost , Excellent Description. Of the sort that I was really hoping for! Indeed a heavy meal to digest, for an OOP person, but I see your point. Thanks! Ajay On Sat, Dec 12, 2009 at 12:21 PM, Joost wrote: > On 12 dec, 14:13, ajay gopalakrishnan wrote: > > Hi, > > > > I c

Mapping OOPS concepts to Clojure? Doable or Wrong thinking?

2009-12-12 Thread ajay gopalakrishnan
slate that into Clojure (some way or the other) or what modifications would need to be made to my design (in my head) to able to directly write it in Clojure terms. Thanks, Ajay G. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: Trouble implementing Dijkstra algorithm in Clojure

2009-12-08 Thread ajay gopalakrishnan
to clean it up and send it off for a review. > > Mark > > On Dec 7, 11:29 pm, ataggart wrote: > > > > > On Dec 7, 4:19 pm, ajay wrote: > > > > Hi all, > > > > I am new to FP in general and I am trying to pick up Clojure. I am > > > hav

Trouble implementing Dijkstra algorithm in Clojure

2009-12-07 Thread ajay
data structure inbuilt. I would need that for Dijkstra algorithm. Thanks, Ajay G. -- 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 modera