Re: San Francisco Clojure Users

2011-05-26 Thread Emeka
David, Yes. I am in Nigeria. Emeka On Tue, May 24, 2011 at 9:43 AM, David Jagoe davidja...@gmail.com wrote: Are you in Nigeria? Anyone else on this list in Africa? On Sunday, 22 May 2011, Emeka emekami...@gmail.com wrote: Okay. I live in Africa... maybe we should have online meetups

Re: San Francisco Clojure Users

2011-05-22 Thread Emeka
Okay. I live in Africa... maybe we should have online meetups for now. Emeka On Thu, May 19, 2011 at 4:29 PM, David Jagoe davidja...@gmail.com wrote: On 18 May 2011 18:54, Emeka emekami...@gmail.com wrote: David, How is Clojure doing in Africa? There really aren't that many people using

Re: San Francisco Clojure Users

2011-05-18 Thread Emeka
David, How is Clojure doing in Africa? Emeka. On Wed, May 11, 2011 at 12:42 AM, David Jagoe davidja...@gmail.com wrote: On 10 May 2011 15:00, Zach Tellman ztell...@gmail.com wrote: Unfortunately, you just missed the monthly Bay Area user group meetup, Yeah I saw that... gutted! which

Re: into map with vectors versus lists (Re: Creating map from string)

2010-12-24 Thread Emeka
Did you try this (apply hash-map (partition 2 (split (slurp data) #,))) On Sat, Dec 4, 2010 at 11:12 AM, Remco van 't Veer rwvtv...@gmail.comwrote: I expected this to work: (into {} (partition 2 (split (slurp data) #,))) But unfortunately, `into' doesn't seem to allow pushing lists of

Re: Looking for a better way

2010-12-16 Thread Emeka
15, 2010 at 8:00 AM, Laurent PETIT laurent.pe...@gmail.com wrote: 2010/12/15 Emeka emekami...@gmail.com Helllo All, Is there a better way of doing this? (defmacro foo [string] (let[b# string f# (symbol b#)] `(def ~f# ~b#))) Hello, What is it supposed to be used ? What do you

Looking for a better way

2010-12-15 Thread Emeka
*Helllo All,* * * *Is there a better way of doing this?* * * *(defmacro foo [string] (let[b# string f# (symbol b#)] `(def ~f# ~b#)))* * * * * *Regards,* *Emeka * -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: sql utilities

2010-10-18 Thread Emeka
Beautiful . Emeka On Fri, Oct 15, 2010 at 1:08 AM, Stuart Campbell stu...@harto.org wrote: Thanks Kyle. Looks useful! On 15 October 2010 09:25, Saul Hazledine shaz...@gmail.com wrote: On Oct 14, 9:16 pm, Kyle R. Burton kyle.bur...@gmail.com wrote: I've written some sql helper functions

Re: Displaying source of function typed into the REPL?

2010-09-20 Thread Emeka
Sean, Try this, http://gist.github.com/193550 . Adjust it to your taste. Regards, Emeka On Mon, Sep 20, 2010 at 4:00 AM, Sean Corfield seancorfi...@gmail.comwrote: That also sounds pretty useful for development. I may try that as an exercise... This weekend has been a journey through

Re: JavaFX and Clojure

2010-08-27 Thread Emeka
Mark, Can JavaFX do that? Regards, Emeka On Mon, Aug 23, 2010 at 7:12 PM, Mark Engelberg mark.engelb...@gmail.comwrote: Rather than creating the JavaFX language they would have done so much more for the community to just focus on this scenegraph library, animation, etc... I agree. I'm

Re: Windows distribution for Leiningen 1.3.0

2010-08-22 Thread Emeka
to try it. Regards, Emeka On Sat, Aug 21, 2010 at 6:22 PM, Shantanu Kumar kumar.shant...@gmail.comwrote: The lein.bat script is now updated in the sources if some of you want to give it a try. A summary about it is here: http://bit.ly/c4U2bI Regards, Shantanu On Aug 21, 12:45 am, Shantanu

Re: ANN: form-dot-clj - HTML form validation and display

2010-08-13 Thread Emeka
Thanks for sharing, I will be trying out your lib. I am doing some web thing. Emeka On Fri, Aug 13, 2010 at 10:11 AM, Saul Hazledine shaz...@gmail.com wrote: Form-dot-clj is library for handling the display and validation of forms. It Supports HTML5 forms, javascript validation and plain HTML

Re: let binding and recursive function

2010-08-04 Thread Emeka
Hello John, I would want to add something to what Justin said. (defn goo [ i k l] (println l)) = (goo 2 3 [233]) ;;; gives ([233]) (conj '([233]) ...) (defn goo [i k [l]](println l)) =(goo 2 3 [233]) ;;; gives [233] (conj [233] ...) Hope the difference is clear now. Emeka On Mon, Aug 2

Installing emacs using leiningen on Windows Vista

2010-07-20 Thread Emeka
Hello All, I need your support here. While troubleshooting I added echo CLASSPATH. C:\Users\rmicro\googlein swank ;C:\Users\rmicro\goog\lib\ swank-clojure-1.2.1.jar C:\cygwin\clein\leiningen-1.1.0-standalone.jar;;C:\Users\rmicro\goog\lib\swan k-clojure-1.2.1.jar;.;C:\Program

Leiningen on windows

2010-06-21 Thread Emeka
Hello All, I need the following; The clojure version to be used, The best way to configure Leiningen on Vista, Examples I am currently try out instructions on this site http://charsequence.blogspot.com/2010/06/setup-leiningen-on-windows.html Regards, Emeka -- You received this message

Using PRXML lib

2010-06-12 Thread Emeka
Hello All, Could someone direct me on how to write the output of prxml form to a file? Regards, Emeka -- 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: Using PRXML lib

2010-06-12 Thread Emeka
Hello Moritz, prxml form prints on the console, my aim is to redirect it to print to a file. I have not been able to achieve this. I have looked at the prxml lib code, it prints to *out*, it returns nil. My interest is on capturing the output of prxml and writing it to a file. Regards, Emeka

Re: Using PRXML lib

2010-06-12 Thread Emeka
Thanks, it worked :( On Sat, Jun 12, 2010 at 8:23 PM, Moritz Ulrich ulrich.mor...@googlemail.com wrote: You can use (with-out-str body) to capture the output or prxml to a string and write that string to a file. On Sat, Jun 12, 2010 at 8:53 PM, Emeka emekami...@gmail.com wrote: Could

Clojure Africa

2010-05-09 Thread Emeka
us. http://groups.google.com/group/clojure-africa Regards, Emeka -- 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: Vimclojure Performance on Windows

2010-03-16 Thread Emeka
Meikel, Is Vimclojure stable enough to have it on my Window's Vista? I tried it out before without success. Regards, Emeka On Fri, Feb 26, 2010 at 6:22 AM, Meikel Brandmeyer m...@kotka.de wrote: Hi, On Feb 25, 4:46 pm, Vitaly Peressada vit...@ufairsoft.com wrote: Installed vimclojure

Re: find source file for namespace?

2009-12-28 Thread Emeka
Hello nchubrich, I thinking that you can do this with easy using namespace which would lead you to resolve the file name and then figure out the path. Emeka On Mon, Dec 28, 2009 at 2:43 AM, nchubrich nicholas.chubr...@gmail.comwrote: Does anyone know how to dynamically access the pathname

My belated Xmas gift

2009-12-23 Thread Emeka
and if you like it please use it. Merry Christmas!! (defn apply-juxt [d body] (map #(apply % body) d)) (apply-juxt [* - +] 8 7) Regards, Emeka -- 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: Funding Clojure 2010

2009-12-14 Thread Emeka
I have not done something like this before but your Clojure changed my life , so I owe you something. However, coming from a far away continent(with low income per head) I may not be able to match 100/developer/year price. I hope you won't mind my widow's might when it comes. Emeka On Mon, Dec

Re: Transforming a SeqMap to a Map

2009-11-22 Thread Emeka
(apply has-map (apply concat (map (fn [b] [(apply hash-map (apply concat (butlast b))) (val (last b))]) (list {9 5 9 9 7 8} {3 4 5 6 7 0} {{3 4, 5 6} 0, {8 9, 9 5} 8} I just added some noise! On Wed, Nov 18, 2009 at 2:05 PM, Sean Devlin francoisdev...@gmail.comwrote: user=(def your-data

Re: equivalent to Haskell's group function

2009-11-09 Thread Emeka
(first s) [fs r] (split-with #(= % f) s)] (cons fs (group r)) Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: equivalent to Haskell's group function

2009-11-09 Thread Emeka
Meikel, What is the gain of using lazy-seq here? Why can't we go without laziness? (defn group [s] (when-let [s (seq s)] (let [f(first s) [fs r] (split-with #(= % f) s)] (cons fs (group r) Regards, Emeka On Mon, Nov 9, 2009 at 4:44 PM, Emeka

Re: equivalent to Haskell's group function

2009-11-09 Thread Emeka
should spend some time with clojure, learning its data structures, function call and others in order to full appreciate how things play out . Regards, Emeka On Mon, Nov 9, 2009 at 7:08 PM, Wilson MacGyver wmacgy...@gmail.com wrote: Thanks guys for the various solutions. I set out trying to try

Re: Periodic tasks

2009-11-01 Thread Emeka
John, Is like I am missing something? This thread mentioned making periodic tasks, there was a java example to it. However, what you posted I am yet to figure out how to make a periodic tasks possible. Regards, Emeka On Sat, Oct 31, 2009 at 6:27 PM, John Harrop jharrop...@gmail.com wrote

Re: can I make this faster (and leaner) ?

2009-11-01 Thread Emeka
Hello Sir, (def *valid-chars* (vec abcdefghijklmnopqrstuvwxuz0123456789 )) This looks cleaner. Regards, Emeka On Sat, Oct 31, 2009 at 1:15 PM, John Harrop jharrop...@gmail.com wrote: On Fri, Oct 30, 2009 at 7:47 PM, DavidF davidnfind...@gmail.com wrote: Try this: (def *valid-chars

Re: PATCH: AFn.java, RestFN.java (a better throwArity message)

2009-10-27 Thread Emeka
On Sun, Oct 25, 2009 at 4:57 PM, MarkSwanson mark.swanson...@gmail.comwrote: Hello, Someone recently posed the question: (why doesn't this work) (into {} (map #([% (* % %)]) [1 2 3 4])) Is this actually a Vector problem or the limitation of the anonymous function? Regards, Emeka

Re: PATCH: AFn.java, RestFN.java (a better throwArity message)

2009-10-27 Thread Emeka
John, On Tue, Oct 27, 2009 at 6:10 PM, John Harrop jharrop...@gmail.com wrote: On Tue, Oct 27, 2009 at 1:39 PM, Emeka emekami...@gmail.com wrote: On Sun, Oct 25, 2009 at 4:57 PM, MarkSwanson mark.swanson...@gmail.comwrote: Hello, Someone recently posed the question: (why doesn't

Re: reading a range from a large file

2009-10-27 Thread Emeka
(with-open [#^Reader r (reader FILE)] (with-open [lr (java.io.LineNumberReader. r)] (.setLineNumber lr 5) ;; Your code here. ))) Can't the below work? (with-open [#^Reader r (reader FILE)][lr (java.io.LineNumberReader. r)] ( Regards, Emeka

Re: PATCH: AFn.java, RestFN.java (a better throwArity message)

2009-10-27 Thread Emeka
John, That is why I asked that question because I figured out that the problem has nothing to do with Vector but with #() read macro. I wanted to correct the impression that the problem was from Vector. Regards, Emeka --~--~-~--~~~---~--~~ You received

Re: server-socket on exit event

2009-10-16 Thread Emeka
Ngo, I checked out your github , it is great. I have not used netty, it looks clean. However, what is the meaning of this, (def reshedule nil)? Regards, Emeka On Thu, Oct 15, 2009 at 3:02 AM, ngocdaothanh ngocdaoth...@gmail.comwrote: I created this (Netty is used instead of server-socket

Re: server-socket on exit event

2009-10-14 Thread Emeka
Ngo, Honestly speaking I don't know. How far have you gone? Regards, Emeka On Sat, Oct 3, 2009 at 3:21 PM, ngocdaothanh ngocdaoth...@gmail.com wrote: Emeka, good catch. It's just my mistake. Another thing is I think there may be exception raised when on-msg sends message to a closed

Re: ANN: scriptjure, a library for generating javascript

2009-10-08 Thread Emeka
Allen, Great job! Did you try (defmulti emit class) ? Regards, Emeka On Thu, Oct 8, 2009 at 7:18 AM, Meikel Brandmeyer m...@kotka.de wrote: Hi, On Oct 8, 7:50 am, Jarkko Oranen chous...@gmail.com wrote: I took a quick look, and that looks really neat. One thing though: Instead

Re: server-socket on exit event

2009-10-03 Thread Emeka
create-server-aux function. Regards, Emeka On Fri, Oct 2, 2009 at 3:13 AM, ngocdaothanh ngocdaoth...@gmail.com wrote: I'm not sure TCP/IP has a native facility for that. I'm afraid John's statement is correct: http://www.velocityreviews.com/forums/t125620-client-socket-disconnection

Re: Re: Schema for data structures

2009-10-01 Thread Emeka
r) (- (interp l) (interp r) It also looks like clojure condp. Emeka Contracts work only between module boundaries though. Cheers, Artyom Shalkhakov. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Getting REPL transcript

2009-09-26 Thread Emeka
Thank you all. Chris Grand has figured it out for me. However, I invite you to look at it and comment. Regards, Emeka On Sat, Sep 26, 2009 at 12:15 PM, Daniel Werner daniel.d.wer...@googlemail.com wrote: On Sep 23, 6:20 pm, Emeka emekami...@gmail.com wrote: Hello All, I would like

Re: Getting REPL transcript

2009-09-26 Thread Emeka
Sorry, here is the link. http://gist.github.com/193550 On Sat, Sep 26, 2009 at 2:03 PM, Emeka emekami...@gmail.com wrote: Thank you all. Chris Grand has figured it out for me. However, I invite you to look at it and comment. Regards, Emeka On Sat, Sep 26, 2009 at 12:15 PM, Daniel

Re: Getting REPL transcript

2009-09-25 Thread Emeka
Thanks I will look into that. But more information on 'pipe' please? So we have two Newman{Rich, John}, so I will say thanks to Newmen. Regards, Emeka On Fri, Sep 25, 2009 at 10:43 AM, John Newman john...@gmail.com wrote: I'm still learning, myself, so I could be wrong, but you might be able

Re: Getting REPL transcript

2009-09-24 Thread Emeka
studies and may be other things. Could you give me a lead? Regards, Emeka I'd recommend against using a standalone REPL on DOS, or on terminal-mode Unix which is only slightly friendlier thanks to the availability of screen. Use a terminal emulator from a GUI desktop, if not an IDE

Re: Getting REPL transcript

2009-09-24 Thread Emeka
Rich, Hmm, it is what I'm looking for.Just the way I planned it to be. The next issue now is on how to craft it into clojure. Regards, Emeka On Thu, Sep 24, 2009 at 7:59 AM, Richard Newman holyg...@gmail.com wrote: Actually, that suggests a more general point: that we can have

Getting REPL transcript

2009-09-23 Thread Emeka
Hello All, I would like to have a transcript of Repl. Could someone help me out here? Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Getting REPL transcript

2009-09-23 Thread Emeka
Mic, Or use script . I don't think I understood clearly what you are referring to. Regards, Emeka On Wed, Sep 23, 2009 at 4:40 PM, Michael Wood esiot...@gmail.com wrote: 2009/9/23 Phil Hagelberg p...@hagelb.org: Emeka emekami...@gmail.com writes: I would like to have a transcript

Managing Clojure project files

2009-09-22 Thread Emeka
Hello All, Please make out time and check the below link. And if you consider the code there useful, I encourage you to use it. I would appreciate your comments and reviews. http://emekamicro.blogspot.com/2009/09/managing-clojure-project-files.html Regards, Emeka

Re: Is knowing Java a prerequisite for using Clojure?

2009-09-18 Thread Emeka
in Factor mailinglist but I have no clue what they are. Regards, Emeka On Fri, Sep 18, 2009 at 2:01 AM, Hugh Aguilar hugoagui...@rosycrew.comwrote: On Sep 17, 9:33 am, Brian brian.fores...@gmail.com wrote: As a Java programmer coming to Clojure I would be very interested in the intended

Windows user

2009-09-03 Thread Emeka
Hello Meikel, I am still waiting for the day I could start off using vimclojure on my PC. Is vimclojure ready for my environment? And is it easy to install? Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Searching the group archives

2009-09-02 Thread Emeka
Another way of searching . Instead of Search this group use Search Groups , and inform google of the group you intend search and your message. Here is an example, re-find group:clojure . Regards, Emeka On Sun, Aug 30, 2009 at 12:19 PM, Emeka emekami...@gmail.com wrote: Thanks, I

Re: Java security code in Clojure

2009-08-31 Thread Emeka
Sorry, I was too quick. I misunderstood your code. Regards, Emeka On Mon, Aug 31, 2009 at 6:10 PM, Emeka emekami...@gmail.com wrote: Hello Sam, From the Java version you used created array ,byte[] encodedKey = new byte[(int) keyFile.length()];, but in clojure version you did (into-array

Re: Java security code in Clojure

2009-08-31 Thread Emeka
? Did you try this; (make-array Byte/TYPE (int (. (java.io.File. public.der) length))) Regards, Emeka On Mon, Aug 31, 2009 at 11:19 AM, Sam Hughes samuel.jenni...@gmail.comwrote: Hey, I'm trying to write a Clojure security library. My first step is porting some working Java code

Re: Searching the group archives

2009-08-30 Thread Emeka
Thanks, I was about asking for help. Regards, Emeka On Sat, Aug 29, 2009 at 6:54 PM, Rich Hickey richhic...@gmail.com wrote: While the Search this group interface seems increasingly anemic, and time-limited in its results, you can get an effective search on the group archives using

Re: Help

2009-08-30 Thread Emeka
Angel, (note the space between and v) -- no clojure here... it's English... :-) If you write v (without space) it's just another identifier v. You are pretty right. However, for your case to hold that v is another identifier, just try it out. Regards, Emeka

Re: clojure vs scala

2009-08-28 Thread Emeka
e, I just picked a new word 'Rogramming'? Regards, Emeka On Fri, Aug 28, 2009 at 1:30 AM, e evier...@gmail.com wrote: On Thu, Aug 27, 2009 at 9:57 AM, Emeka emekami...@gmail.com wrote: e, What is inspiring in it? H from time to time, people use percent literacy as a measure

Re: Java STM

2009-08-28 Thread Emeka
Peter, you will get there some day. On Fri, Aug 28, 2009 at 8:45 AM, peter veentjer alarmnum...@gmail.comwrote: No. I don't want to use transactions for workflow. I don't want blocking transactions. I don't want read tracking. With multiverse it depends on the engine being used and the

Re: clojure vs scala

2009-08-27 Thread Emeka
e, What is inspiring in it? Regards, Emeka On Thu, Aug 27, 2009 at 1:44 PM, e evier...@gmail.com wrote: On Thu, Aug 27, 2009 at 8:43 AM, Stuart Halloway stuart.hallo...@gmail.com wrote: As the author of the book, you can bet I have an opinion on the quality of the docs. :-) (1) I

Re: A little help needed in understnding anonymous functions

2009-08-26 Thread Emeka
(defn foo2 [n] (let [r (ref n)] #(dosync (alter r + %) @r))) Something went wrong, I am resending the code. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: A little help needed in understnding anonymous functions

2009-08-26 Thread Emeka
On Wed, Aug 26, 2009 at 6:40 PM, Sourav soura.ja...@gmail.com wrote: Hi, I'm new to clojure and came from a Lisp background. While learning I clojure I came accross the two different ways of creating anonymous functions ((fn ...) and #(...)). I tried to construct the accumulator function

clojure vs scala

2009-08-25 Thread Emeka
Hello All, This sounds great! http://codemonkeyism.com/clojure-scala-part-2/ Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Basic hadoop example in clojure.

2009-07-27 Thread Emeka
folder as your 'ns or need near. Now I hope you have seen why you need that change. I invite comments from experts here if I have strayed. Regards, Emeka On Mon, Jul 27, 2009 at 9:47 AM, RD rdsr...@gmail.com wrote: Hi Stuart, Thanks for the link Relating to the hadoop code I posted

openlg

2009-07-13 Thread Emeka
Hello All, ztellman, I would like to use git://github.com/ztellman/penumbra.git , however I won't mind knowing the owner, too. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: Mysterious ClassFormatError after simple code change.

2009-07-06 Thread Emeka
stupid just entered into my thought. What happened when this situation occurs (cons sum ())? I hope that's not possible with your code. Regards, Emeka On Sun, Jul 5, 2009 at 6:01 AM, John Harrop jharrop...@gmail.com wrote: I had this: (defn- subexpressions-of-sum** [[n p] terms] (let-print [sum

Re: *command-line-args*

2009-07-03 Thread Emeka
Steve, Could this be done such that % java -cp /sq/ext/clojure/clojure.jar clojure.main demo.clj foo bar baz the highlighted part won't the there? But would be ''attached'' behind the scene . Regards, Emeka On Thu, Jul 2, 2009 at 6:17 PM, Stephen C. Gilardi squee...@mac.com wrote: On Jul 2

Re: Article on Dispatch

2009-07-01 Thread Emeka
Thanks, more of it. Emeka On Mon, Jun 29, 2009 at 12:31 AM, Daniel Jomphe danieljom...@gmail.comwrote: I think the following article I wrote may help properly understanding dispatch. I submit here for your pleasure/review. First paragraph: I believe multiple dispatch is known to be hard

Re: Binary Tree

2009-06-30 Thread Emeka
(defn depth [tree] (if (nil? tree) 0 (+ 1 (max (depth (left tree)) (depth (right tree) This looks close to what I need. Let me see if I can't get my head around it. Regards, Emeka On Tue, Jun 30, 2009 at 8:28 AM, Daniel Lyons fus...@storytotell.orgwrote: On Jun 30, 2009, at 1:05

Re: Trying to use lazy-seq for the first time, failing.

2009-06-29 Thread Emeka
Harold, Do you have any material on Factor? I won't going through it. Regards, Emeka On Sat, Jun 27, 2009 at 12:23 AM, _hrrld hhaus...@gmail.com wrote: Hi, I'm trying to use lazy-seq to implement a cool piece of functionality I saw in the Factor programming language. Here

Re: Trying to use lazy-seq for the first time, failing.

2009-06-29 Thread Emeka
Thanks, however I have that already :) Regards, Emeka On Mon, Jun 29, 2009 at 2:36 PM, _hrrld hhaus...@gmail.com wrote: On Jun 29, 1:15 am, Emeka emekami...@gmail.com wrote: Harold, Do you have any material on Factor? I won't going through it. Emeka, Many of these links are relevant

Re: A website written using Clojure.

2009-06-26 Thread Emeka
Stuart Sierra, I want to use StringTemplate, could you give me a lead? Emeka On Thu, Jun 25, 2009 at 9:31 PM, Stuart Sierra the.stuart.sie...@gmail.comwrote: On Jun 25, 3:59 pm, Berlin Brown berlin.br...@gmail.com wrote: But does anyone have a problem with Lisp/S-Expressions to HTML/XHtml

Re: Foreclojure

2009-06-25 Thread Emeka
accounting software in Clojure? Which area of accounting will it cover? Emeka On Thu, Jun 25, 2009 at 3:41 AM, fft1976 fft1...@gmail.com wrote: I know some of you are searching for names for your projects. I just wanted to say that Foreclojure is taken! This will be an open-source

Re: defn memory question

2009-06-25 Thread Emeka
From Steve's post Symbol objects are subject to garbage collection, but the namespace and name strings that identify them are not. Those strings are interned via the intern method on java.lang.String. Once a String is interned, there exists a single canonical String object that represents it

Re: A website written using Clojure.

2009-06-25 Thread Emeka
code. Regards, Emeka On Thu, Jun 25, 2009 at 5:46 PM, CuppoJava patrickli_2...@hotmail.comwrote: Hey guys, I was a little tired of working on what I am supposed to be working on, and decided to take a break and create a website. I decided to use Clojure, and to my surprise, it only took

Re: A website written using Clojure.

2009-06-25 Thread Emeka
CuppoJava, Did you try prxml? May be it can be of help. Regards, Emeka --~--~-~--~~~---~--~~ 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

Re: A website written using Clojure.

2009-06-25 Thread Emeka
CuppoJava, I was referring to the map data structure {'html html..} and not the other map. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: Small question: Best way to create a map with vector vals

2009-06-24 Thread Emeka
Have you tried zipmap? Emeka On Tue, Jun 23, 2009 at 10:09 PM, samppi rbysam...@gmail.com wrote: The idiom (into {} coll-of-entries) is often used to create a map from a collection of entries or two-sized vectors. But what if I want to do something like this: (mystery-fn [[:a 1] [:b 3

Re: Shouldn't c.l.Namespace implement c.l.Named?

2009-06-22 Thread Emeka
kedu pmf What about this (str *ns*)? I remember reading it from chouser's post. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: javafx

2009-06-20 Thread Emeka
Kedu CuppoJava, Join this class ♫ javafxprogramm...@googlegroups.com And learn Fx. I was there for a few days before I drifted. Regards, Emeka On Sat, Jun 20, 2009 at 4:51 PM, CuppoJava patrickli_2...@hotmail.comwrote: I'm still not very clear about what JavaFX actually is and what's its

Re: Another Clojure Box

2009-06-17 Thread Emeka
Darmac, I use Scite Just edited it in order to run Clojure Repl(help help from this group). That's not great, it is ugly. I would like to use yours if it is as simple as Scite editor and pretty easy to install. Regards, Emeka --~--~-~--~~~---~--~~ You

Re: Performance Penalty Converting from Java Code

2009-06-14 Thread Emeka
toString))) (doseq [i (range (Math/pow 26 4))] (base26 i)) Try the above. Emeka --~--~-~--~~~---~--~~ 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: Clojure equivalent to Ruby's ERB

2009-06-14 Thread Emeka
markgunnels, Have you used clojure and StringTemplate to do something? If so, I would like to tap your knowledge there. Regards, Emeka On Sun, Jun 14, 2009 at 1:36 PM, markgunnels markgunn...@gmail.com wrote: I just wanted to report back that StringTemplate proved to be the perfect solution

Re: breaking early from a tight loop

2009-06-13 Thread Emeka
and not true. To get true from your code I guess the (seq xs) should be changed to (not (seq xs)). Or am I missing something? Emeka On Sat, Jun 13, 2009 at 6:02 PM, Wrexsoul d2387...@bsnow.net wrote: On Jun 12, 9:44 pm, James Reeves weavejes...@googlemail.com wrote: (defn count-more-than? [n xs

Re: Macro Design - by example

2009-06-10 Thread Emeka
Meikel, Could I be allowed to join your online class:) Regards, Emeka --~--~-~--~~~---~--~~ 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: filechooser

2009-06-09 Thread Emeka
- line 35 looks wrong. What does Dispatch/put return Thanks so pointing that out. I have to out windows guys then. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Help with filechooser

2009-06-09 Thread Emeka
:\clojure\roobot.txt. Regards, Emeka --~--~-~--~~~---~--~~ 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: VimClojure v2.1.1 is released

2009-06-08 Thread Emeka
Sure, I sent a private mail because I didn't want to increase noise in is group. I used the mail address you left on vimclojure site to reach you. I just learned about user.home. So I can simplify also the .vim installation of the plugin. Beautiful, when is it coming out? Emeka

filechooser

2009-06-08 Thread Emeka
Hello Meikel, I have not been able to resolve this issue. As I mentioned in another thread, I want to use filechooser to select the excel file. My code is in this link http://friendpaste.com/wmX89ywgPhdN5hvVBEAbg Regards, Emeka --~--~-~--~~~---~--~~ You received

Re: VimClojure v2.1.1 is released

2009-06-07 Thread Emeka
would be a great experience :). But I am not yet able to get vimclojure kicking. That's why I have been appealing for help since. And it took Meikel three weeks to make out time to talk to me. That shows that vim learning curve is indeed steep! Regards, Emeka

Re: VimClojure v2.1.1 is released

2009-06-06 Thread Emeka
, however the message(I added) is not saved to the file either. I was able to get the NGServer up. Please assist me in it figuring out why I can't edit _vimrc. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: VimClojure v2.1.1 is released

2009-06-06 Thread Emeka
Do you edit the correct _vimrc? I found only one file bearing that name. Are you referring to other files? Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Re: VimClojure v2.1.1 is released

2009-06-06 Thread Emeka
C:\Users\rmicro\.viminfo That's what I found. Regards, Emeka --~--~-~--~~~---~--~~ 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: VimClojure v2.1.1 is released

2009-06-06 Thread Emeka
Then it is pretty obvious that I have erred again. C:\Program files\Vim\_vimrc That's where I found that file. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: VimClojure v2.1.1 is released

2009-06-06 Thread Emeka
This is probably the global _vimrc installed by Vim I think as much, vim needs this file to run. If you installed Vim as an administrator I always work as administrator. I will create that file and now what and what am I going to add to it. Regards, Emeka O On Sat, Jun 6, 2009 at 4:03 PM

What is wrong with my code

2009-05-31 Thread Emeka
chang works on it own... Regards, Emeka --~--~-~--~~~---~--~~ 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: Saving the Clojure.org webiste

2009-05-20 Thread Emeka
What about the zip version of save_clojure.org.tar.bz2? Emeka --~--~-~--~~~---~--~~ 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 To unsubscribe from

Re: Clojure and Jacob

2009-05-17 Thread Emeka
Meikel (def c (.. Dispatch (call ws Cells 1 1) (toDispatch))) Here you retrieve the actual cell. If I have file hello.xls already and I have say 'Emeka at Cell 1 1, using the above line could I get 'Emeka . Regards, Emeka On Sun, May 17, 2009 at 8:06 PM, Meikel Brandmeyer m...@kotka.de

Re: new Clojure presentation

2009-05-15 Thread Emeka
A born Teacher! Emeka --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure+unsubscr

Re: with-open macro

2009-05-12 Thread Emeka
element of the vector.I guess that's logical. Emeka On Tue, May 12, 2009 at 4:30 PM, Andrew Wagner wagner.and...@gmail.comwrote: I just saw this on the JavaWorld article (great article by the way: http://www.javaworld.com/javaworld/jw-05-2009/jw-05-clojure.html ) http://www.javaworld.com

Re: with-open macro

2009-05-12 Thread Emeka
Andrew, that code caused me to have headache some minutes ago :). On Tue, May 12, 2009 at 6:43 PM, Emeka emekami...@gmail.com wrote: Why? On Tue, May 12, 2009 at 5:37 PM, Andrew Wagner wagner.and...@gmail.comwrote: Wow. Ok, yeah, I'm glad he didn't put that version in the article

Re: Using Map

2009-05-09 Thread Emeka
the square containing the opponent's piece. An uncrowned piece can only jump diagonally forwards, but a king can also jump diagonally backwards. For details check out this link http://en.wikipedia.org/wiki/Checkers. Emeka On Fri, May 8, 2009 at 11:05 PM, André Thieme splendidl

Re: Using Map

2009-05-08 Thread Emeka
Luke I was referring to map the data structure. I later decided to use struct which is a map. I intend to manipulate elements of each row. Emeka On Fri, May 8, 2009 at 6:17 PM, Luke VanderHart luke.vanderh...@gmail.comwrote: Do you mean map the function or map the data structure

Using Map

2009-05-04 Thread Emeka
Hello All, I want to arrange objects in rows and also being able to manipulate them. By manipulation I meant, I could move one object from one row and use it to replace another object in another. Should I use Map or something else? I need your opinions here Regards, Emeka

Waterfront

2009-05-04 Thread Emeka
rowi8. Could somebody try this out in his/her system in order for me to confirm this issue? Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

  1   2   >