Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Hi All, A really noob question. Why do I get "FileNotFoundException Could not locate incanter__init.class or incanter.clj on classpath: clojure.lang.RT.load (RT.java:443)" when i load a file that uses incanter in emacs? Here's the file... (ns default.core (:require incanter core charts s

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
imple-complete]}}} On Tuesday, August 13, 2013 11:35:58 PM UTC+5:30, Tim Visher wrote: > > On Tue, Aug 13, 2013 at 1:59 PM, Akhil Wali > > > wrote: > > Hi All, > > > > A really noob question. > > > > Why do I get "FileNotFoundException

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Yes, by nrepl-jack-in. On Tuesday, August 13, 2013 11:54:24 PM UTC+5:30, Tim Visher wrote: > > And you're connecting to the project how? > > On Tue, Aug 13, 2013 at 2:11 PM, Akhil Wali > > > wrote: > > Well > > Here's my project.clj. &g

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
Well this is embarrassing. I was having a wrong use syntax >.<. Changed the import line to this and it works. (ns default.core (:use [incanter core charts stats datasets])) Thanks for the help though!! On Tuesday, August 13, 2013 11:57:46 PM UTC+5:30, Akhil Wali wrote: > > Y

Re: Help with Incanter and Emacs

2013-08-13 Thread Akhil Wali
in the interest of deprecating it many times. > > I did not test the above declaration. > > On Tue, Aug 13, 2013 at 2:40 PM, Akhil Wali > wrote: > > Well this is embarrassing. > > > > I was having a wrong use syntax >.<. > > Changed the import line

Reviewers needed for new Clojure book!

2015-08-23 Thread Akhil Wali
If anyone is interested in being a reviewer for a new book "*Mastering Clojure*" by Packt Publishing, please let me know. Reviewers will be entitled to a 6 montn subscription of PacktLib . Here's the list of topics covered in this title.

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Akhil Wali
Thank you everyone for the great response! I'll notify Packt and they shall contact anyone who is shortlisted as a reviwer. On Monday, August 24, 2015 at 12:16:06 PM UTC+5:30, Akhil Wali wrote: > > If anyone is interested in being a reviewer for a new book "*Mastering >

Re: Reviewers needed for new Clojure book!

2015-08-25 Thread Akhil Wali
It's great to see so many volunteers for this project! Like I mentioned earlier, I have notified Packt and they shall contact anyone who is shortlisted as a reviewer. On Monday, August 24, 2015 at 12:16:06 PM UTC+5:30, Akhil Wali wrote: > > If anyone is interested in being a reviewe

Re: Reviewers needed for new Clojure book!

2015-08-27 Thread Akhil Wali
Yes, "second Clojure book" is exactly what this book aims to be. Thanks for the overwhelming response, guys! On Thursday, August 27, 2015 at 12:27:56 PM UTC+5:30, Nathan Smutz wrote: > > It sounds like you're aiming for a good "second Clojure book." -- You received this message because you are

Generalizing -> and ->> forms

2015-08-28 Thread Akhil Wali
I've been trying to refactor the -> and ->> forms to use a common macro form. Ended up with this. (defmacro threading [a b x forms] (loop [x x forms forms] (if forms (let [form (first forms) f (first form) r (rest form) threaded (if (seq? f

Re: Generalizing -> and ->> forms

2015-08-28 Thread Akhil Wali
ier to test > if it's just a function. > > Also, you know about as->, don't you? > > > On Fri, Aug 28, 2015 at 2:37 PM, Akhil Wali > wrote: > >> I've been trying to refactor the -> and ->> forms to use a common macro >> form. >>

Re: Generalizing -> and ->> forms

2015-08-28 Thread Akhil Wali
(meta form)) (list form x))] (recur threaded (next forms))) x))) On Friday, August 28, 2015 at 5:30:44 PM UTC+5:30, Moe Aboulkheir wrote: > > On Fri, Aug 28, 2015 at 12:37 PM, Akhil Wali > wrote: > > > This does wor

Re: Generalizing -> and ->> forms

2015-08-28 Thread Akhil Wali
That's pretty neat! But then -> will be implemented using cond->, which is slightly off. On Friday, August 28, 2015 at 6:07:46 PM UTC+5:30, Moe Aboulkheir wrote: > > On Fri, Aug 28, 2015 at 12:37 PM, Akhil Wali > wrote: > >> >> This does work, but it's a b

Re: Generalizing -> and ->> forms

2015-08-28 Thread Akhil Wali
​Good one! On Fri, Aug 28, 2015 at 6:34 PM, Moe Aboulkheir wrote: > The function is actually shorter without cond->: (conj (if first? args > (vec args)) x) -- Akhil Wali # https://github.com/darth10 # https://darth10.github.io -- You received this message because you are subs

Re: Why (memoize (fn [_#] (gensym "node")) in rhizome?

2015-09-12 Thread Akhil Wali
What does _# mean opposed to simply _? With respect to memoization of genus it's the same thing IMHO. -- 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 m

[ANN] [book] Mastering Clojure published!

2016-04-02 Thread Akhil Wali
b.com/application-development/mastering-clojure https://github.com/PacktPublishing/Mastering-Clojure http://www.amazon.com/Mastering-Clojure-Akhil-Wali/dp/1785889745/ It's been almost a year since I've started working on this book. A big thanks to everyone involved! -- You received this

Re: [ANN] clj-refactor.el 0.10.0

2014-01-31 Thread Akhil Wali
Great job by the clj-refactor.el team!! Really nice additions. On Thursday, January 30, 2014 6:43:36 PM UTC+5:30, Magnar Sveen wrote: > > clj-refactor.el > Since the last update, there's been lots of activity for > clj-refactor.el > . Alex Baranosky

Re: Clojure count and get functions much faster on strings than direct interop with .length and .charAt

2013-02-17 Thread Akhil Wali
ng on 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 pa

Re: Clojure count and get functions much faster on strings than direct interop with .length and .charAt

2013-02-17 Thread Akhil Wali
rated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscrib

Re: documentation for clojure core extension points - multimethods and protocols?

2013-02-22 Thread Akhil Wali
Please do post :) On Feb 22, 2013 7:08 PM, "Ambrose Bonnaire-Sergeant" < abonnaireserge...@gmail.com> wrote: > Yes please. > > On Fri, Feb 22, 2013 at 9:37 PM, Dave Sann wrote: > >> I did this. >> >> There are actually not many protocols. Likely because most of the >> original underlying implemen

Re: Securing Clojure + Clojurescript Web App

2013-02-26 Thread Akhil Wali
options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to c

Re: Securing Clojure + Clojurescript Web App

2013-02-26 Thread Akhil Wali
Here's a good screencast<http://www.clojurewebdevelopment.com/videos/friend-interactive-form>to give you a quick tutorial. On Tue, Feb 26, 2013 at 10:57 PM, Akhil Wali wrote: > Checkout cemrick/friend <https://github.com/cemerick/friend>. It handles > authentica

Re: What role does a semicolon play in this case?

2013-03-04 Thread Akhil Wali
Um... Semicolon? where? The colon indicates a symbol though :) On Mar 4, 2013 10:55 PM, "John Smith" wrote: > > Hi, I'm reading about Clojure from an O'Reilly book and came across this example: > > (def a-map {:first-key "first-value" :second-key "second-value" "third-key" :third-value "fourth-ke

Re: features expression

2013-03-07 Thread Akhil Wali
ed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Akhil Wali # http

Re: How to ensure consistency when accessing database?

2013-03-07 Thread Akhil Wali
t; http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.co

Re: [ANN] uWSGI support for ring (early stage)

2013-03-08 Thread Akhil Wali
ps.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > ---

Re: Apparent interaction of libraries with lein

2013-03-14 Thread Akhil Wali
The error looks like its coming from java rather than leinengen. And the error might be due to quil loading some dll in the jre which is missing. Try reinstalling java is all I can say at this point. On Mar 14, 2013 6:18 PM, "Nico Swart" wrote: > The Leiningen project file I use include these

Re: Refactoring tools

2013-03-20 Thread Akhil Wali
derated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are

Re: cannot get more than 94 fibonacci numbers -> integer overflow

2013-03-25 Thread Akhil Wali
Use 0N instead of 0. On Mar 25, 2013 8:52 PM, "Ben Wolfson" wrote: > On Mon, Mar 25, 2013 at 8:05 AM, Jim foo.bar wrote: > > > > Since Clojure prefers longs to ints and since I'm not using any type > hints, > > I don't understand why I get an integer overflow... > > In the traceback I get for th

Re: ANN Introducing Clochure: a better Clojure

2013-04-01 Thread Akhil Wali
I almost broke my keyboard. /slow clap On Apr 1, 2013 8:15 PM, "Michael Klishin" wrote: > > 2013/4/1 Rostislav Svoboda > >> Michael: I'm about to send you a patch. Just let me fill the contributor >> agreement > > > Don't bother. Clochure doubles down on the Clojure's contributor > agreement's r