need some help getting jacob com library to work

2009-02-02 Thread greg
I have recently enjoyed exploring clojure. I can use java... C:\myprograms\clojure>java -cp clojure.jar clojure.lang.Repl Clojure user=> (into [] (.list (new java.io.File "c:/myprograms/clojure"))) ["build.xml" "changes.txt" "clj.ico" "clojure.jar" "epl-v10.html" "fractal.clj" "Mandelbrot.class"

Re: need some help getting jacob com library to work

2009-02-03 Thread greg
Thanks. It worked. I had to add the library path as well. C:\myprograms\clojure>java -Djava.library.path=c:\myprograms \jacob-1.14.3 -cp C: \myprograms\jacob-1.14.3\jacob.jar;clojure.jar clojure.lang.Repl Clojure user=> (import '(com.jacob.com Dispatch ComThread)) nil user=> (def xl (new Dispatch

Proposal: New Reader Macro #s{ ... }

2009-10-11 Thread Greg
note exists in many other languages as well, even bash, but I referenced newLISP as it's also a lisp and has a particularly elegant implementation). Any and all input is welcome on this proposal! Kind regards and thanks in advance for taking this into consideration, Greg (irc: itistoday) --

Re: Proposal: New Reader Macro #s{ ... }

2009-10-11 Thread Greg
it's effective and aesthetically pleasing. Or you can just go with """ and scrap the #s{}, either way though I think this would make an exciting addition to Clojure. Hopefully the devs watch this list? Or should I also suggest this on clojure-dev? - Greg On Oct 11

Re: Proposal: New Reader Macro #s{ ... }

2009-10-11 Thread Greg
hort strings. And having a verbose alternative (heredocs, triple-quote, whatever) will bullet-proof you against other situations. - Greg On Oct 11, 2009, at 8:11 PM, Richard Newman wrote: > >> True, and it is why newLISP uses two delimiters for this purpose, {} >> and [text][/text].

Re: Proposal: New Reader Macro #s{ ... }

2009-10-11 Thread Greg
On Oct 11, 2009, at 9:01 PM, Greg wrote: > The purpose of which would be primarily to make writing regular > expressions easier, but also to deal with strings that have quotes > in time Sorry, that should read "quotes in them". ;-) --~--~-~--~~~-

Re: Proposal: New Reader Macro #s{ ... }

2009-10-12 Thread Greg
e used to connotative functions calls or lists, and that's it), and isn't arbitrarily angry (looking at you, #s!!). ;-) - Greg On Oct 12, 2009, at 4:40 AM, Danny Woods wrote: > > Perl and Ruby do something similar with regular expressions, where the > character following 'm

Re: Proposal: New Reader Macro #s{ ... }

2009-10-12 Thread Greg
Forgive me, but I'm unfamiliar with the readtable, are you just referring to where this syntax might be implemented? Or are you suggesting an alternative syntax? - Greg On Oct 12, 2009, at 11:20 AM, DanL wrote: > > I'm aware that this already has been discussed, and until

Re: Proposal: New Reader Macro #s{ ... }

2009-10-12 Thread Greg
asses protected from this? Wouldn't it interfere with them? Or will the delimiters be restricted to non-alphanumeric characters? - Greg On Oct 12, 2009, at 3:29 PM, Michael Wood wrote: > > 2009/10/12 Greg : >> >> I'm not sure I follow what John is saying (some of th

Re: Proposal: New Reader Macro #s{ ... }

2009-10-12 Thread Greg
is called. That way whenever you look at someone else's code and see it, you know what it is, and people can update their code parser's/ syntax highlighters appropriately. - Greg On Oct 12, 2009, at 2:59 PM, DanL wrote: > > On 12 Okt., 20:46, Greg wrote: > >> Forg

Re: Proposal: New Reader Macro #s{ ... }

2009-10-13 Thread Greg
ake, e.g. correct syntax > highlighting in emacs, in eclipse? I think you make an excellent point here. I also agree with you, the Perl "make your own thing up" path, while it has some advantages, it will lead to everyone having their own special convention (leading to confus

Is this possible in Clojure?

2010-02-03 Thread Greg
n the loop to the different values in the table. How would you implement this behavior in Clojure? Thanks, Greg -- 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 fr

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
sed the vars 'col-names' and 'col-vals' as placeholders. That seems to work great, what I'm fuzzy on is the whole macroexpansion thing and when it occurs. As in this example everything is known at compile-time, is this "macro-expanded" at compile time? Can this

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
better than the other, I think both are great and it's why I'm asking these questions. :-) - Greg On Feb 4, 2010, at 12:55 PM, Greg wrote: > Thanks Meikel, if I may reply to your points and your function as it's > slightly different from what I wanted: > >> *

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
re any performance considerations? > > The macroexpansion occurs at compile time. If you have all the knowledge at > compile time, you can do the work then. If you don't, the macro has to expand > into code that does the work at runtime. Thanks for the example and explanation!

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
> - Uses eval (which apparently is fine in newLISP, but as a Common Lisper and > Clojurite strikes me as pointless) So, as I showed, the Clojure version seems to not require the use of eval. > c.c.sql also allows you to synthesize queries from Lisp forms This is a good point, and if I were

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
in a string to a function that's expecting a double? That's what documentation is for. And if you want the macro/fexpr to accept function as well as symbols, you can always rewrite it to check for both and act appropriately. - Greg On Feb 4, 2010, at 2:16 PM, Meikel Brandmeyer wrote: >

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
o specify the namespace. I complained about it on newLISP's forums and luckily in the next version this won't be an issue because there will be a function that will give you the namespace that a given symbol belongs to. - Greg On Feb 4, 2010, at 6:18 PM, Greg wrote: >> It's not

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
ere are no variable capture issues here at least, because the fexpr is inside of its own context (that's what define-smacro does, the 's' is for 'safe'). - Greg On Feb 4, 2010, at 8:05 PM, Richard Newman wrote: >> NAME (not name) may be "interned" in

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
HP-style templating in Clojure: http://www.brool.com/index.php/a-modest-proposal And he does have some eval's in there: http://github.com/brool/gulliver/blob/master/template-servlet.clj But my Clojure knowledge isn't yet good enough to tell me whether he's using eval only once or on ev

Re: Is this possible in Clojure?

2010-02-04 Thread Greg
fer this style of templating to Enlive, because it makes it far easier to work with (IMO), and I wouldn't be surprised if it is faster too. Thanks, - Greg On Feb 4, 2010, at 8:46 PM, Richard Newman wrote: >> And he does have some eval's in there: >> >> http://gith

Re: Full Disclojure - I Need Topics!

2010-02-04 Thread Greg
> Here's a challenge for you - Monads. If you can clearly explain monads > you'll be my hero. :-) Seconded. Plus the existing Clojure docs I'm able to find on monads seem to be totally out of date, the example code fails to run as well. - Greg On Feb 4, 2010, at 5:55

Re: Clojure for system administration

2010-02-04 Thread Greg
was designed for that. Or you can implement a *nix shell in Clojure. :-p - Greg On Feb 5, 2010, at 12:42 AM, Tim Clemons wrote: > Perhaps the solution is to have a *nix shell implemented in Clojure. > That would limit the start-up issue to a single initial instance. > Then the user can p

Re: Clojure for system administration

2010-02-05 Thread Greg
y real stability issues with them. http://www.newlisp.org/downloads/development/ The community is located here: http://newlispfanclub.alh.net/forum/ - Greg On Feb 5, 2010, at 10:21 AM, e wrote: > > > On Fri, Feb 5, 2010 at 12:56 AM, Greg wrote: > A much easier solution is to

Re: Clojure for system administration

2010-02-05 Thread Greg
on such a project... - Greg On Feb 5, 2010, at 1:54 PM, nchubrich wrote: > Chouser--- > > The Parrot vm looks really great for Clojurepresumably Clojure > could have continuations and TCO there. > > > > On Feb 5, 9:59 am, Chouser wrote: >> On Thu, Feb 4, 2

Re: newbie question: splitting up source files

2010-02-05 Thread Greg
uot;)) (defn main [] (print "hello from main\n") (frob)) (main) ;; foo-util.clj (in-ns 'foo) (defn frob [] (print "hello from frob\n")) - Greg On Feb 5, 2010, at 4:38 PM, Mike Jarmy wrote: > That yields ".;lib/clojure.jar", just as we'

Re: Seattle Clojure meeting

2010-02-05 Thread Greg
> Look for the laptop with the "my other car is a cdr" sticker :-D I need to get that for my car, it should synergize with the Starfleet Academy sticker... On Feb 5, 2010, at 3:50 PM, Phil Hagelberg wrote: > Wow, I certainly was not expecting that level of response; this is great. > > Looks

Re: Prepping clojure for packaging (was: Re: Clojure for system administration)

2010-02-08 Thread Greg
let me know). That was the only area where distribution is a pain with Java, damned native libraries. - Greg On Feb 8, 2010, at 11:02 AM, Konrad Hinsen wrote: > On 07.02.2010, at 03:25, Constantine Vetoshev wrote: > >> I stopped using Python and Ruby and Perl partly because the pa

Re: How would I write an emitter/collector?

2010-02-10 Thread Greg
ses very instructive because you don't ignore the OP's request when juxtaposing your alternative suggestion. It helps them make a better decision about what route they want to go. Thanks, - Greg On Feb 10, 2010, at 10:40 AM, CuppoJava wrote: > It looks like you want to imple

Re: newbie encountering java.lang.OutOfMemoryError: Java heap space

2010-02-10 Thread Greg
a problems that involve a lot of memory. - Greg On Feb 10, 2010, at 10:13 AM, Aviad Reich wrote: > thank you. > I have "-server" and "-Xmx1024m" set in my 'swank-clojure-extra-vm-args, but > the problem remains. > > Aviad > > > > On 10 Februar

Adding implicit indexing to Clojure lists and arrays?

2013-06-26 Thread Greg
(a b c) Has this been considered already? Would this be something that could be added to the language syntax? Thanks for your consideration! Sincerely, Greg -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cl

Re: Adding implicit indexing to Clojure lists and arrays?

2013-06-27 Thread Greg
ing Clojure's extend-type function? Thanks, Greg On Jun 27, 2013, at 6:45 AM, Mikera wrote: > I agree that negative indexing (and presumably also modulo indexing for the > upper index?) is very useful. Stuff like this comes up all the time in > core.matrix > > However I don&#x

Re: Is there a better way to update a map atom?

2013-06-28 Thread Greg
Can anyone explain the relationship between swap! and reset! ? Why is using swap! in this example "safe" and using reset! not? I've tried searching google for comparisons of the two but can't find anything, and the documentation doesn't help much. Thanks, Greg On

Re: Latest JOGL with Clojure in Eclipse?

2013-06-28 Thread Greg
If you haven't considered LWJGL as an alternative to JOGL, I highly recommend it. I remember preferring it over JOGL when I compared them some years ago. Many popular game engines use it (like jMonkeyEngine). http://www.lwjgl.org/ http://mybuddymichael.com/writings/using-lwjgl-from-clojure.html

Re: Is there a better way to update a map atom?

2013-06-28 Thread Greg
magical atomic moment. If I've got this wrong, please let me know! Cheers, Greg On Jun 28, 2013, at 11:19 PM, Greg wrote: > Can anyone explain the relationship between swap! and reset! ? > > Why is using swap! in this example "safe" and using reset! not? > > I

Pedestal introduction question

2013-07-03 Thread Greg
understand how a map, in this case `templates', is also being used as a namespace: `(templates/add-template renderer ... )'. What's going on? Many thanks, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. -- -- You received this mes

Re: Pedestal introduction question

2013-07-04 Thread Greg
Where did you see the first :require? I can't find it in the code sample. > one deriving from: > (:require ... > [io.pedestal.app.render.push.templates :as templates] > ...) Thanks, Greg -- Sent from my mobile device. Please do not email me anything that you are not

Re: Pedestal introduction question

2013-07-04 Thread Greg
Thanks! Yeah it's probably just a mistake in the docs. -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 4, 2013, at 10:08 AM, gianluca torta wrote: > right, sorry! > > I found the double role of "template" in this sample file on the pedestal >

Re: The case for as->> ("as-last")

2013-07-13 Thread Greg
or special characters, so I searched the list and found this thread. It turns out my wish for a generalized threading macro three years ago came true!! https://groups.google.com/forum/#!msg/clojure/6Cb8MD5EC3w/y1mNNK3ZUxYJ Thank you Rich (or whoever's responsible)!!! :-D Cheers, Greg [1]

Re: --> macro proposal

2013-07-13 Thread Greg
/tmp" and a file is made out of it. 'x' is rebound again to the resulting file and a put through the 'file-seq' function, etc. - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 7, 2010, at 9:02 AM, Laurent PETIT

Re: [ANN] - 17th tutorial - Enlive by REPLing - of the modern-cljs series

2013-07-16 Thread Greg
Excellent work as usual Mimmo! I continue to find your tutorials very helpful. Thank you very much for creating them! -Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 14, 2013, at 11:53 AM, Mimmo Cosenza wrote: > Hi all, I j

Can we please deprecate the :use directive ?

2013-07-23 Thread Greg
level reason why that's not possible. :-\ Thoughts? Thanks, Greg P.S. If this has already been brought up you have my sincere apologies. -- Please do not email me anything that you are not comfortable also sharing with the NSA. -- -- You received this message because you are subscribed

Re: is intellij idea a good ide for clojure development?

2013-07-25 Thread Greg
ime customizing Sublime Text, but the good news is that your time won't be spent in vain, and once you have it set up the way you like, there's no need to continue tinkering like crazy. 5. Conclusion - - Yes, IntelliJ is a very good IDE for Clojure development. - Sublim

Re: is intellij idea a good ide for clojure development?

2013-07-25 Thread Greg
us, "Find Function Definition" now works on just about every symbol I try it on! :-) I might make a blog post about my ST2 Clojure setup if there's any interest in that. > 4. On Sublime Text (ST) > > > Non-free. I'd say it'

Re: is intellij idea a good ide for clojure development?

2013-07-25 Thread Greg
> You submit patches to nonfree software?! How do you make a screwy-eyed emoticon? The plugin is free software. ST is nagware. Oh, and IntelliJ, as others have already pointed out, is also free software (community edition, which is great). -Greg -- Please do not email me anything that you

Re: is intellij idea a good ide for clojure development?

2013-07-25 Thread Greg
, 2013, at 10:54 PM, Greg wrote: >> 'jumping to a symbol's definition (and back again)? Those didn't seem to be >> there last time, and I'd struggle to live without them on a project of any >> size.' >> >> Besides paredit, this is abso

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
t works with nREPL. Link in the other thread. So looks like you're pretty much covered by ST already. :-) Cheers, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 27, 2013, at 11:57 AM, Steven Degutis wrote: > I would be willin

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
port is super-crashy. That > doesn't give me a whole lot of confidence. OK, well, were they talking about the fork I was referring to? Are you sure? Did you try it yourself? I haven't experienced a single crash so far. I see you didn't comment on the jump-to-* recommendations..

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
ty, where for the selected function/method in the drop down list you are shown all the documentation for it. And, assuming you implemented all of the above, then it'd also be nice to auto-import namespaces (similar to how IntelliJ already does it for Java source). Cheers! Greg -- Please d

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
u see that source but in a hover/floaty/popup window so that you don't have to navigate back to where you were. -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 27, 2013, at 3:10 PM, Greg wrote: > Colin: > > I think ST has a good bus

Re: [ANN] 18th tutorial of modern-cljs series

2013-07-27 Thread Greg
ombine all of the -dbg and -pre files together, just make it so that after you build with a profile, everything is set to that profile, and then to try the other version, just build with a different profile. Fewer files to update and deal with that way. Cheers, Greg -- Please do not email me any

Re: Interest in a commercial IDE for Clojure?

2013-07-28 Thread Greg
Korny, I think there were multiple posts from me on that day. This is the one: https://groups.google.com/d/msg/clojure/fWOZ9AJzBtU/djhcj4nYVxgJ Cheers! Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 28, 2013, at 1:28 AM, Korny Sietsma

Re: ANN Langohr 1.0 (final) is released

2013-07-29 Thread Greg
Neat! Bookmarked. :-) What about clamq? https://github.com/sbtourist/clamq Is there a reason you decided to write your own instead of contributing to that project? Cheers, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 29, 2013, at 2

Re: [ANN] cljzmq-0.1.1 - A Clojure binding for ØMQ

2013-07-29 Thread Greg
Awesome! Thanks! It's nice to know this exists, might have a use for it in the future. Cheers, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 29, 2013, at 9:00 AM, Trevor Bernard wrote: > Hello, > > I'd like to ann

Re: ANN Langohr 1.0 (final) is released

2013-07-29 Thread Greg
> Langohr README answers your question pretty well. I'm not familiar enough with either project to understand. - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 29, 2013, at 3:04 PM, Michael Klishin wrote: > 2013/7/29 Greg

Re: ANN Langohr 1.0 (final) is released

2013-07-29 Thread Greg
Thanks for the explanation! -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 29, 2013, at 4:25 PM, Michael Klishin wrote: > 2013/7/29 Greg > I'm not familiar enough with either project to understand. > > Langohr is a Rab

Re: Can we please deprecate the :use directive ?

2013-08-05 Thread Greg
> It's pretty ugly to use aliases for numerical code, e.g. with core.matrix, > e.g. Agreed. It's nice that :require :refer :all is available for such instances, isn't it? -Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On

Re: Can we please deprecate the :use directive ?

2013-08-05 Thread Greg
>> It's pretty ugly to use aliases for numerical code, e.g. with core.matrix, >> e.g. > > Agreed. It's nice that :require :refer :all is available for such instances, > isn't it? * Or for the more gentlemanly and considerate among us, just (:require ... :re

Re: Can we please deprecate the :use directive ?

2013-08-05 Thread Greg
g are the keyword-options to available in the :require clauses, but we already had those before. > Please also explain at the same time, why (use 'core.matrix) remains > clear and why this should not change to "(require 'core.matrix :refer > :all)". I must have mi

Re: Can we please deprecate the :use directive ?

2013-08-05 Thread Greg
* That email was just an idea to explore, not perfection. Also, this is a mistake: (:require [clojure.core :refer [ancestors printf]] Should read something like: (:require [clojure.core :refer-except [ancestors printf]] - Greg -- Please do not email me anything that you are not comfortable

Re: Can we please deprecate the :use directive ?

2013-08-05 Thread Greg
olver :as-class] [java.io.File :as-class]) - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 5, 2013, at 12:10 PM, Greg wrote: > * That email was just an idea to explore, not perfection. > > Also, this is a mistake: > >

[Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
ick the ball rolling. If the above syntax can't be made to support the old school syntax as well, another thought would be to create a new name for the declaration, calling it "include" or something like that instead of "ns". Thoughts? - Greg -- Please do not email me anyt

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
s and IDEs to integrate with Clojure. Summary: - Just one syntax to know: vectors - Keyword options handle everything else Cheers! - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 5, 2013, at 12:32 PM, Lee Spector wrote: > &

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
evel of the namespace? I see no reason why we couldn't just do this then: [:refer-all [core]] Or optionally, in the case where there's just one namespace in the vector: [:refer-all core] OK, that's enough from me on this for now, gotta run (lot of work to do!). - Greg -- Pl

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
chip away at the mountain of keywords and we still have *all* of the power we had before! We got rid of :as-ns, :as-class and :all! Keep simplifying till you can't simplify anymore! That's the Lisp way! :-) - Greg -- Please do not email me anything that you are not comfortable also sh

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
[one.middleware :as middleware] [net.cgrand.enlive-html :as html]) (:import (org.apache.maven.artifact.resolver ArtifactResolver) (java.io File - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 5, 2013, at 1:4

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
e used to save on typing (as shown in the example above). - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 5, 2013, at 2:31 PM, Jonathan Fischer Friberg wrote: > I forgot to add: > > I think simplicity is really important, a

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
ly contain functions and the keyword :as to rename functions. 4) namespaces are referred by placing a space after the namespace prefix Also, an added feature/rule is that globbing-based strings can be used to save on typing (as shown in the example above). - Greg -- Please do not email me anyth

Re: Can we please deprecate the :use directive ?

2013-08-06 Thread Greg
> Struggling a bit. Moving the keywords to the end of the vector rather > than the beginning? This reduces complexity? I changed the syntax a bit since posting that, please have a look at the "[Proposal] Simplified 'ns' declaration" thread. - Greg -- Please do not

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
ot;used". [one reload middleware] Is equivalent to: (:require [one.reload :as reload] [one.middleware :as middleware]) - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 6, 2013, at 11:07 AM, phillip.l...@newcastle.ac.uk (Phillip

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
I assume there's some minor error in the example you gave, but let me try and and address your question anyway: you could either introduce a new keyword (like :as-class), or use :as to rename them to avoid conflicts. After all, it's already possible to have conflicts between just two name

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
you can do it explicitly with :as, like I gave in the example with "enlive-html": [net.cgrand enlive-html :as html] - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 6, 2013, at 11:39 AM, phillip.l...@newcastle.ac.uk (Phillip Lo

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
l g (dostuff [this])) g baz=> g {:on-interface baz.g, :on baz.g, :sigs {:dostuff {:doc nil, :arglists ([this]), :name dostuff}}, :var #'baz/g, :method-map {:dostuff :dostuff}, :method-builders {#'baz/dostuff #}} baz=> (defn g [] "a") #'baz/g baz=> g # And I'm

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
ort each? If I simply say "go get foo.bar" what >> are you going to load, the .clj file, or the java interface? It would also help to have an example of how it's currently done. - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA.

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
27;s the same as an import statement. If you want the var, do either: (ns user [foo]) foo/IBar Or, if you want to refer the protocol so that you don't have to qualify it as above, simply do this: (ns user [foo (IBar)]) It's the same thing as writing this at a REPL: (require '

Re: [Proposal] Simplified 'ns' declaration

2013-08-10 Thread Greg
design? Other than that, I don't personally have any ideas on how that could be simplified. I hope to respond to the other emails in this thread when I get the time to, especially Timothy's. Hopefully that'll happen once I finish one project in about a week or so. Cheers, Greg --

Re: [ANN] Leiningen 2.3.0 released

2013-08-12 Thread Greg
led view Homebrew, should it also be upgraded via Homebrew, or can it be upgraded later via the lein upgrade command? Or could that cause problems? For safety's sake, I didn't test what would happen myself and just used Homebrew to update it. - Greg -- Please do not email me anything tha

Halp Clojurinoes! Cannot deploy to Clojars! :-(

2013-08-16 Thread Greg
:no-aot [:default {:aot ^:replace []}]} My decrypted ~/.lein/credentials.clj.gpg: {#"clojars" {:username "taoeffect" :password ""}} My failed attempt to deploy: [prompt] $ lein deploy clojars Wrote /Users/gslepak/Programming/Clojure/slothcfg-git/pom.xml

Re: Halp Clojurinoes! Cannot deploy to Clojars! :-(

2013-08-16 Thread Greg
l iyKQ4cpVJ9VPQPVYQ0Dyp+QJeZfKRpYWv/6kr3kFjY8UefZw189O =AGtu -END PGP PUBLIC KEY BLOCK- -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 16, 2013, at 3:49 PM, Greg wrote: > I've been trying for at least an hour to deploy a project

[ANN] slothcfg - Improved version of awesome but abandoned 'configleaf' project!

2013-08-16 Thread Greg
adable form" RuntimeException. Included @ninjudd's PR to configleaf to add :keyseq and :var options Restructured and updated text in README.md Grab it at Github: https://github.com/taoeffect/slothcfg Cheers! Greg -- Please do not email me anything that you are not comfortable also sharing wit

Re: [ANN] slothcfg - Improved version of awesome but abandoned 'configleaf' project!

2013-08-16 Thread Greg
ou are free to shoot me emails off-list. Sincerely, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 16, 2013, at 7:14 PM, David Santiago wrote: > So, just to be clear, you thought you'd just go ahead and fork, rename, and > re

Re: as-> macro enhancement request?

2013-08-21 Thread Greg
uuz)) >blah) That's ugly. >> Would love it if as-> allowed removing unnecessary characters, this way: >> >> (as-> <> foo >> bar >> (baz <> quux) >> blah) >> >> >> Anyway, very minor quibble, j

Re: Clojure for the Brave and True, an online book for beginners

2013-09-03 Thread Greg
I think it could benefit from more posts on using Clojure with IDE/Editor ___. Perhaps outsource some of that with links to existing posts on the topic. I hesitate to recommend this to anyone because I can't recommend Emacs (even though it's my primary terminal editor). - Greg --

Re: How to go about 'proving' why dynamically typed languages are better.

2013-10-06 Thread Greg
I support the sentiment expressed in your email. +1 Type systems are nice, just don't force them upon anyone. Keep the C++ at bay. -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Oct 6, 2013, at 7:16 AM, Chris Zheng wrote: > Thanks Mike for your r

Clojure's n00b attraction problem

2010-06-28 Thread Greg
considering Clojure: http://gregslepak.posterous.com/clojures-n00b-attraction-problem In the post I cover issues with: - Obtaining Clojure - Running Clojure - IDEs - Emacs/VIM - Build systems - Documentation Cheers, Greg -- You received this message because you are subscribed to the Google Groups

Re: Clojure's n00b attraction problem

2010-06-29 Thread Greg
alid question that newbs to Clojure *will ask*, and they need a good answer. Not "there's not such thing as an executable you n00b! Bah humbug!" BTW, I really like Paul's Q&A's, how would one go about getting something like that on either clojure.org or the Assembla wi

Re: Clojure's n00b attraction problem

2010-06-29 Thread Greg
nguage and the community if we address their concerns. Plus, it's just a nice thing to do. If I have time, I'm going to see what I can do about improving clojure's API docs, and if anyone is already working on this sort of project, I'd be interested in possibly helping out.

Re: Clojure's n00b attraction problem

2010-06-29 Thread Greg
plugin? I tried all 3 IDEs and I was most impressed with IntelliJ IDEA. It's not too difficult to setup, and once you do it's really nice and has I think all of the stuff you asked about (syntax coloring, auto-completion, doc access, etc.). - Greg > > -- > Lee Spec

Re: Clojure's n00b attraction problem

2010-06-29 Thread Greg
Very insightful comments Chas! I agree with most of what you've said, in the sense that I definitely see your point of view. On Jun 28, 2010, at 7:17 PM, Chas Emerick wrote: > Greg, thanks for this post, it's a helpful perspective. Many of us have been > working on this prob

Re: Leiningen documentation review?

2010-06-29 Thread Greg
7;d just have to comment that call out while developing?). - Greg On Jun 29, 2010, at 4:03 PM, Phil Hagelberg wrote: > On Wed, Jun 16, 2010 at 9:24 PM, Phil Hagelberg wrote: >> I'm pushing for a Leiningen 1.2.0 release really soon now, and part of >> that effort is sprucing u

Re: Clojure's n00b attraction problem

2010-06-29 Thread Greg
Hey Lee, I made a quick getting started video for IntelliJ and La Clojure that covers all the steps: http://gregslepak.posterous.com/clojure-development-with-intellijs-la-clojure Hope it's helpful! - Greg On Jun 29, 2010, at 8:28 AM, Lee Spector wrote: > > On Jun 28, 2010, at 5:

Re: Clojure's n00b attraction problem

2010-06-29 Thread Greg
I want to take your class! :-D BTW, just one more nudge for IntelliJ. I don't know if you noticed this as well, but another thing that made me a real fan of it is its startup time compared to NetBeans and Eclipse. Is it me or is it a *lot* faster? On Jun 29, 2010, at 8:58 PM, Lee Spector wrote:

Re: Clojure's n00b attraction problem

2010-06-30 Thread Greg
erop with Java even when Clojure-in-Clojure happens, so there's nothing to worry about. I'm quite excited about Clojure-in-Clojure. The possibilities that will offer are awesome. I'm looking forward to the day when it runs on LLVM. If that happens. :-) - Greg On Jun 29, 2010, at 11:15

Re: reify bug?

2010-06-30 Thread Greg
Many thanks Adrian! (This is the OP, I sent an email from another account because I thought there were issues with this one). On Jun 29, 2010, at 9:39 AM, Adrian Cuthbertson wrote: > Sorry, you don't need the type hists just the "this" arg... > > (seq (.list (java.io.File. ".") (reify java.io.

Let's respect CLOJURE_HOME

2010-06-30 Thread Greg
newLISP): http://www.taoeffect.com/other/clj.lsp.html It's really simple, at least in newLISP, to do this: (constant 'CLOJURE_HOME (or (env "CLOJURE_HOME") (string (env "HOME") "/.clojure")) Input welcome! - Greg -- You received this message because you are s

Re: Clojure's n00b attraction problem

2010-06-30 Thread Greg
> For example, I would love to see some portion of Clojure run on a platform > that has much faster boot times so I can use Clojure for one-off shell > scripts. I've mentioned this before, but I can't help myself as I see lots of people who want to use Clojure for scripting but complain about i

Re: Clj on OSX

2010-06-30 Thread Greg
ct Mac solution, but it's a really nice IDE and I've made setup instructions here: http://gregslepak.posterous.com/clojure-development-with-intellijs-la-clojure Hope that helps! - Greg On Jun 30, 2010, at 12:01 PM, Glenn, Jacob wrote: > On 6/29/10 8:46 PM, "Sean Corfield" wrote:

Re: Clojure's n00b attraction problem

2010-06-30 Thread Greg
> Point is, I'd rather just use Clojure. Ah, well in that case, have you tried using Nailgun? http://martiansoftware.com/nailgun/index.html On Jun 30, 2010, at 3:34 PM, David Nolen wrote: > On Wed, Jun 30, 2010 at 1:55 PM, Greg wrote: >> For example, I would love to se

Re: Let's respect CLOJURE_HOME

2010-06-30 Thread Greg
and I'm not sure this is something we should really try and hide. CLOJURE_HOME doesn't hide anything, it's set by the user after all. Cheers, Greg On Jun 30, 2010, at 5:17 PM, Rick Moynihan wrote: > On 30 June 2010 21:14, Brian Schlining wrote: >>> >>>> >

Re: Let's respect CLOJURE_HOME

2010-07-01 Thread Greg
ld expect something like CLOJURE_HOME to exist, because it's useful convention employed frequently. If it were a convention in Clojure, n00bs an non-n00bs alike would benefit from it, while those who don't need it won't be affected in any way. - Greg On Jun 30, 2010, at 5:46 PM, Mike A

  1   2   3   4   >