Re: More Swing Examples

2009-02-13 Thread Emeka
http://clojure.googlegroups.com/web/2c-calculator.clj?gda=GfxNgEMAAAC2LrkjeC7f10uHiY7GOiyxomoTIbx5E_ZvCUIqi7LhkTsFONunm7BW3wPdbl53QhAytiJ-HdGYYcPi_09pl8N7FWLveOaWjzbYnpnkpmxcWg http://www.plt1.com/1070/even-smaller-snake/ --~--~-~--~~~---~--~~ You received this

Re: cljc?

2009-02-16 Thread Emeka
Meikel, Could explain your code such that somebody like me could understand it and even play with it? Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: why fn key doesn't do what I want?

2009-02-16 Thread Emeka
Thanks, Meikel --~--~-~--~~~---~--~~ 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

Re: Creating executable Jars?

2009-02-17 Thread Emeka
Kev, I didn't make it, however, I guess the issue was on namespace and not on the instruction given. I will try again and again until I get my head around namespace, or could you help me to jump start? Emeka --~--~-~--~~~---~--~~ You received this message

Re: How do I do this in clojure?

2009-02-17 Thread Emeka
Jesse, Could I see your own version. 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

Re: How do I do this in clojure?

2009-02-17 Thread Emeka
Haha, I was afraid someone would say this. Here is my embarrassingly bad (but working) version: I won't say that, you ported Python to Clojure while maintaining Python spirit. That's great! Emeka --~--~-~--~~~---~--~~ You received this message because you

Re: Creating executable Jars?

2009-02-19 Thread Emeka
Kev Are you using ms windows? 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

Re: where is contrib?

2009-02-21 Thread Emeka
http://telmanyusupov.wordpress.com/2009/02/16/basic-clojure-setup-part-1/ --~--~-~--~~~---~--~~ 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

Re: Clojure, Android and Emacs on Ubuntu tutorials

2009-03-30 Thread Emeka
What about expanding to other boxes? I would like to learn Android, but I don't use Emacs/Ubuntu. 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: clojure + android

2009-04-07 Thread Emeka
Nick, I need the steps you took in getting Android working in Windows. Emeka On Tue, Apr 7, 2009 at 9:29 AM, Nick Levine n...@ravenbrook.com wrote: On Apr 7, 8:36 am, Remco van 't Veer rwvtv...@gmail.com wrote: [...] What does logcat report? (use adb logcat on the commandline or M-x

Re: Simple sequence question: inserting something after blocks of fulfilling elements

2009-04-23 Thread Emeka
it: (mystery-function (partial 6) a) ; - (3 :foo 9 1 5 :foo 102 -322 :foo ...) I didn't know that :foo should also be the last element of the list. Did he actually asked for this? Thanks for pointing out the subtle difference between the two versions of list. Regards, Emeka On Thu, Apr 23, 2009 at 12

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

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

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: 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: 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: 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: 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

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: 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

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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: clojure.lang.Script

2008-12-21 Thread Emeka
0 No other thing comes out. So how do I cause it to print the result of the code I have written. It works in SciTe, however, it doesn't print result. Have you used clojure.Lang.Script with SciTe before? Emeka. --~--~-~--~~~---~--~~ You received this message

Re: Exercise: how to print multiplication table?

2008-12-23 Thread Emeka
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...@googlegroups.com

Re: Proxying in clojure

2008-12-25 Thread Emeka
Snake frame would appear with square ball that moves and another that does not move.Below is what I got each time I try to play with arrow keys. I count on you as always to come to my help. user= (require 'snake) nil user= (snake/run-snake)nil user= Exception in thread AWT-EventQueue-0

Re: Accessing this in gen-class constructor

2008-12-27 Thread Emeka
Can I see you code? 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: Vector and List

2008-12-27 Thread Emeka
Merci! Janus --~--~-~--~~~---~--~~ 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

Re: making code readable

2008-12-29 Thread Emeka
that for such people simplifying(through commenting and spreading codes by using methods) Clojure may kill their brain cells. But for me and other mere mortals we need such help and as I see Clojure it may become another phenomenon in the rank of Ruby. Emeka

Re: Exercise: words frequency ranking

2008-12-29 Thread Emeka
in the learning of of Clojure. Again, #(%)[3 4] works because of closure, so when you apply reduce function of #(.) does it suspend #() closure capability. Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Exercise: words frequency ranking

2009-01-03 Thread Emeka
Venlig hilsen and Timothy Prately Thanks so much. 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

Re: Exercise: words frequency ranking

2009-01-03 Thread Emeka
Thanks. I have learnt some new. 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

Re: recur with many parameters

2009-01-04 Thread Emeka
Christian I have not been able to get my head around destructuring binding. Please explain it to me with examples Venlig hilsen Emeka On Sat, Jan 3, 2009 at 11:04 PM, Christian Vest Hansen karmazi...@gmail.com wrote: Instead of throwing a1..aN around every time, you could use the result

Re: Could not find the main class clojure.lang.Repel. Program will exit.

2009-01-04 Thread Emeka
Chris, I run my Clojure on Vista and I have not experienced what you mentioned. I would like to know what you have done. Your installation details. And did you download your Clojure.jar or did you use ant to build yours? Emeka On Sun, Jan 4, 2009 at 12:57 AM, chris chris.newg...@gmail.com wrote

Re: quote on side effects

2009-01-06 Thread Emeka
Check Clojure manual, I bet 2c. 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

Re: Some code review for clj-record?

2009-01-08 Thread Emeka
user= (load-file clj_record/core.clj) I got clj_record/util not in system path. Why is it so? 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: adding line number while reading a file

2009-01-10 Thread Emeka
(map vector (iterate inc 0) foo) 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

Re: Inheritance multiple inheritance using structs

2009-01-19 Thread Emeka
Great job! 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: Agent as a processing queue

2009-01-22 Thread Emeka
Tim, Could you explain atoms the way you explained agents?\ 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: time lies, even with doall

2009-01-25 Thread Emeka
', that's my 2 cents. Doall , do, dorun are used in calling multiple functions(I hope am like :)), like (do (doo noot) (move niger delta)) . Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group

Re: Learning Clojure

2009-01-28 Thread Emeka
Thanks Steve and Tim. --~--~-~--~~~---~--~~ 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

Re: Creating executable Jars?

2009-01-29 Thread Emeka
luciofulci I'm interested in your instruction, however, are c:\user\apps\classes and c:\user\classes the same thing? Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: how to reason about two dimentional array(vector) like...

2009-02-04 Thread Emeka
Where did 'ref' go in your own implementation? 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

Re: A short guide on how to use NetBeans to create GUI and then use this GUI from clojure available

2009-02-06 Thread Emeka
Tim You could even embed a REPL into your application with a socket back-door, connect to it and really have fun with your users. I am interested, could you make a rough patch for me to draw some inspiration from Emeka --~--~-~--~~~---~--~~ You received

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: *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: 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

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: 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

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: 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

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: 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: 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: 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-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

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: 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

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

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

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

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-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: 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: 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: 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-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: 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

  1   2   >