Re: [core.spec] Stricter map validations?

2017-11-14 Thread Greg Mitchell
Saw this thread on the REPL, interesting discussion. On Tuesday, October 3, 2017 at 10:57:34 AM UTC-7, Alex Miller wrote: > > > It's not about easier, it's about possible. Open grows, closed breaks. > > I agree with the broad brush, but it's important to listen to this usability feedback

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-11-20 Thread Greg Mitchell
to raise these concerns and see whether other people share them. If so, maybe they can serve as patterns or anti-patterns for future libraries. -Greg Mitchell On Monday, March 25, 2013 2:51:42 PM UTC-7, Michael Cohen wrote: Curious to hear opinions on this: https://github.com/mcohen01/amazonica

Cyclic Agents

2014-09-11 Thread Greg MacDonald
Hi Everyone, So how come two agents can't contain one another? The following code causes a StackOverflowError. In the real world things can't contain other things cyclically so I suspect that's why, but if someone could explain this better to me I'd appreciate it. :) - Greg (defn test-agents

Re: Cyclic Agents

2014-09-11 Thread Greg MacDonald
Oh that makes sense. Thanks a lot! On Thu, Sep 11, 2014 at 1:36 AM, Carlo Zancanaro carlozancan...@gmail.com wrote: Hey Greg, On Thu, Sep 11, 2014 at 12:30:11AM -0700, Greg MacDonald wrote: So how come two agents can't contain one another? The following code causes a StackOverflowError

clojure streams

2014-08-29 Thread Greg MacDonald
Hi Everyone, Does anyone know the status of clojure streams is? I would like to try them out but I can't find the svn repository mentioned on the website: http://clojure.org/streams. Thx! -Greg -- You received this message because you are subscribed to the Google Groups Clojure group

Re: Clojure on iOS devices - Swift as a host?

2014-06-27 Thread Greg Knapp
That is cool :) On Tuesday, 24 June 2014 19:29:00 UTC+1, Mike Fikes wrote: (Apologies to Greg for having essentially hijacked this thread, but I suspect he'd find this cool.) I have no experience with the Swift REPL yet, but I'm still finding this a little surreal: https://lh6

Clojure on iOS devices - Swift as a host?

2014-06-04 Thread Greg Knapp
The recent release of Swift made me revisit Clojure on LLVM. This post from 2010 https://groups.google.com/d/msg/clojure/KrwtTsdYZ8I/Qf8PSMeoZCUJ suggests it's a very difficult task. Swift would make this job easier? As with ClojureScript, generate Swift code / provide interop and Clojurian's

Re: Clojure on iOS devices - Swift as a host?

2014-06-04 Thread Greg Knapp
I wasn't really pointing at performance with my post. More about native app development, for OSX we have Clojure on the JVM which is fine. I don't see Apple allowing Java on iOS anytime though. Thanks for the replies so far, this was purely food for thought. On Wednesday, 4 June 2014 16:11:56

Re: ArithmeticException from unchecked-add

2014-05-20 Thread Greg D
Thanks. I've got to pay more attention to the distinction between long and Long in the documentation. The docs for unchecked-add ( http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/unchecked-add ) only cover the case of both arguments being primitive longs. -- You

Re: Joy of Clojure example not working

2014-05-20 Thread Greg D
Yes, the examples in the book are missing some lines. I think the following log shows what they were going for: joy.udp= (remove-method compiler ::osx) joy.udp= (def unix (into unix {::c-compiler /usr/bin/gcc})) joy.udp= (def osx (into osx {:c-compiler gcc})) oy.udp= osx {:home /Users,

Re: Joy of Clojure example not working

2014-05-19 Thread Greg D
The second edition of Joy of Clojure, MEAP v10 shows the same error and progressive solution about half way down pdf-page 318 in section 9.2.4. On Monday, May 19, 2014 6:39:26 AM UTC-7, gamma235 wrote: Hi guys, I am working through the pre-release second edition of Joy of Clojure's section

Re: Best way to pass parameters?

2014-05-19 Thread Greg D
Not an answer to your question, but you may want to check out: Datomic: The fully transactional, cloud-ready, immutable database.http://www.datomic.com/ On Monday, May 19, 2014 10:07:15 AM UTC-7, Ivan Schuetz wrote: Hi, I'm building a webservice, have 2 layers: webservice and database.

ArithmeticException from unchecked-add

2014-05-19 Thread Greg D
I didn't expect this one. See the illustrative sequence below. Should I be reporting this as a bug, or re-read the docs? ; CIDER 0.5.0 (Clojure 1.6.0, nREPL 0.2.3) user (require '[clojure.stacktrace :as st]) user (unchecked-add (Long/MAX_VALUE) (Long/MAX_VALUE) ) -2 user (unchecked-add

Re: Must a page refresh fire an init event?

2014-04-28 Thread Greg Knapp
state atom and persists it in the browser's local storage (instead of using cookies). The usual warning about the type of information you should/shouldn't store in the client applies. Regards, Greg On Sunday, 22 January 2012 15:06:24 UTC, Folcon wrote: Hi Alex, No nothing like that, more like

Re: Improving pprint behavior for anonymous functions

2014-04-26 Thread Greg D
Simpler yet using metadata: (ns example.ppfn) (defn print-pf [pf] (if-let [ppf (::ppf (meta pf))] ppf pf)) (defmacro partial* [ args] `(let [m# (pr-str '(partial* ~@args)) pf# (with-meta (partial ~@args) {::ppf m#})] (defmethod print-method (class pf#) [o# w#] (print-simple

Re: puzzled by RuntimeException

2014-04-25 Thread Greg D
Thanks Alex and Steve, I've based a ton of work on keywords where the second character is numeric. The http://clojure.org/readers page should be the normative reference. The work is based on *reliance* on the definitions in the readers page. I believe it is unambiguous in demanding a colon as

Re: Improving pprint behavior for anonymous functions

2014-04-25 Thread Greg D
I don't know if this is considered good Clojure, but you could define a print-method within a macro to set up the normal string representation for the partial function: (defmacro partial* [fname arg0 args] `(let [pf# (partial ~fname ~arg0 ~@args) cpf# (class pf#)] (defmethod

Re: Improving pprint behavior for anonymous functions

2014-04-25 Thread Greg D
, 2014 at 5:26 PM, Greg D gregoir...@gmail.comjavascript: wrote: I don't know if this is considered good Clojure, but you could define a print-method within a macro to set up the normal string representation for the partial function: (defmacro partial* [fname arg0 args] `(let [pf

Re: Improving pprint behavior for anonymous functions

2014-04-25 Thread Greg D
of partial are the same class. On Fri, Apr 25, 2014 at 5:26 PM, Greg D gregoir...@gmail.comjavascript: wrote: I don't know if this is considered good Clojure, but you could define a print-method within a macro to set up the normal string representation for the partial function: (defmacro

Re: Improving pprint behavior for anonymous functions

2014-04-25 Thread Greg D
/master/src/clj/clojure/core.clj#L2460 On Fri, Apr 25, 2014 at 5:47 PM, Greg D gregoir...@gmail.comjavascript: wrote: I guess I don't understand the problem, or what is meant by different classes. A counter-example would be helpful. Further transcript using the macro: (def p6 (partial

Re: Improving pprint behavior for anonymous functions

2014-04-25 Thread Greg D
user= comma-join (partial clojure.string/join , ) user= (p6 100) 106 user= (t7 5) 35 user= (comma-join ['a 'b 'c]) a, b, c On Friday, April 25, 2014 2:55:23 PM UTC-7, Greg D wrote: Got it. The macro, as is, will displace the print method for the same arity. On Friday, April 25, 2014 2:50

Re: puzzled by RuntimeException

2014-04-22 Thread Greg D
I believe this is a problem in REPL-y, which is used when using 'lein repl'. I used Cider to start a nREPL server, then used 'leing repl :connect' to get the REPL-y interface. The problem was evident in the latter, but not the former. I opened an issue for REPL-y. Thanks again, Steve --

puzzled by RuntimeException

2014-04-21 Thread Greg D
The sequence in the transcript below shows runtime exceptions when a numeric keyword is followed by a list starting with a symbol or character. Would anyone help me with a reason for the failing cases? user= (clojure-version) 1.6.0 user= '(:42 a) (:42 a) user= '(:42 a) (:42 a) user= '(:42 \a)

Re: puzzled by RuntimeException

2014-04-21 Thread Greg D
Steve, Thanks. I did a quick check, and it seems that I don't get exceptions when I start the repl as you do. I normally start mine with 'lein repl'. You've given me a good lead to investigate. Greg -- You received this message because you are subscribed to the Google Groups Clojure

Re: Thoughts on bags?

2014-04-19 Thread Greg D
-shopping-cart 'ham 'eggs 'carrots 'beans)) #'user/cart2 user= cart2 (make-shopping-cart ham eggs carrots beans) user= (= cart0 cart1) true user= (= cart1 cart2) false Greg -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: Thoughts on bags?

2014-04-19 Thread Greg D
Added link missing in previous post. A simple multiset/bag implementation for Clojurehttps://github.com/achim/multiset -- 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: Emacs - error with `nrepl-jack-in'

2014-04-18 Thread greg r
. The above page is one of the most up-to-date. Regards, Greg On Thursday, April 17, 2014 9:45:13 PM UTC-4, Thorsten Jolitz wrote: Hi List, just installed lein2 and can start 'lein2 repl' successfully on the command-line. 'lein repl' works too, since I defined an alias in my .bashrc. After

Re: Thoughts on bags?

2014-04-17 Thread Greg D
) Neither Achim's deftype, nor the above, is likely as efficient as a core collection MultiSet. In the meantime, I hope these observations are useful. Greg -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Questions regarding Map vs Record and usage

2014-04-09 Thread Greg D
, or - when adding entries not in the defrecord (eg. my-rating) 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 from new members are moderated - please

Re: alternative syntax for Clojure? Haskell?

2014-04-05 Thread greg r
I can't answer your question from my own experience, but there does seem to be a way to develop your own language on the JVM: https://www.eclipse.org/Xtext/index.html You could create a DSL to your precise specifications. Regards, Greg -- You received this message because you are subscribed

self-evaluation of record instances

2014-04-02 Thread Greg D
#user.Fields0{:x 0} user= (eval f1) ; self-evaluates when non-empty map, declared field #user.Fields1{:f nil} user= Greg p.s. A little help with not quite getting refshttps://groups.google.com/forum/#!topic/clojure/o9FiG1kCt6I, please? Or is this the wrong forum

not quite getting refs

2014-03-26 Thread Greg D
I've looked, but can't find, a discussion of the choice of a history mechanism for refs. I can't understand why the transactions just don't check #'identical? for the ref value, rather than maintaining a history queue. In other words, I don't see why (dosync (ref-set foo @foo))) should cause

Re: STM history queues, when is a snapshot pushed

2014-03-24 Thread Greg D
Having learned a little more about refs and transactions from M. Fogus and C. Houser The Joy of Clojure, Second Editionhttp://www.manning.com/fogus2/, I altered the stress-ref function from 10.2.4. Using Clojure 1.5.1: (defn stress-ref [r] (let [slow-tries (atom 0)] (future (dosync

STM history queues, when is a snapshot pushed

2014-03-23 Thread Greg D
Is a new snapshot pushed onto the history queue of a ref when 1. every time the ref is a target of alter, commute, ref-set, reset, alter-meta!, or reset-meta!, or 2. only when the committed value for the ref is not identical to the value at the end of the history queue? When

non-equality (=) of records nuance

2014-03-18 Thread Greg D
help me understand the underlying mechanism. I'll need to develop a workaround to avoid confounding library users. Thanks, Greg user= ;;; Set up protocol and records user= (defprotocol FooBar (clone [this]) (switch [this])) user= (defrecord Foo []) user= (defrecord Bar []) user= (extend-type Foo

Re: non-equality (=) of records nuance

2014-03-18 Thread Greg D
I'm on 1.5.1 I have a workaround: - instead of - (map-Foo this) - use - (map-Foo (into {} this)) On Tuesday, March 18, 2014 5:47:46 PM UTC-7, Alex Miller wrote: What Clojure version are you on? -- You received this message because you are subscribed to the Google

Re: Help about using clojure in org mode in Emacs with CIDER

2014-02-02 Thread greg r
The worg documentation for the Clojure language has been updated: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html The installation instructions should result in a current Clojure/CIDER/clojure-mode/Leiningen system. Regards, Greg -- You received this message because

Re: Help about using clojure in org mode in Emacs with CIDER

2014-01-28 Thread greg r
Hi Bastien, yes I will post a report at the mailing list today. Regards, Greg On Tuesday, January 28, 2014 12:55:20 AM UTC-5, Bastien Guerry wrote: Hi Greg, greg r soapy...@comcast.net javascript: writes: I compared a computer set up with the latest of everything (org/emacs /CIDER

Re: Help about using clojure in org mode in Emacs with CIDER

2014-01-27 Thread greg r
: #+begin_src clojure :results value raw [1 2 3 4] #+end_src New: (CIDER) #+RESULTS: [1 2 3 4] Old: (nrepl) #+RESULTS: | 1 | 2 | 3 | 4 | It appears the conversion to org table is not happening. Regards, Greg -- -- You received this message because you are subscribed to the Google Groups Clojure

Re: Help about using clojure in org mode in Emacs with CIDER

2014-01-23 Thread greg r
the process with keys and git! Good luck with org-mode, cider and Clojure code blocks. It's a great way to code and experiment, as well as create dynamic documents. I've had very good results with the system. Regards, Greg -- -- You received this message because you are subscribed to the Google

No such namespace warning with Clojurescript repl

2013-10-19 Thread Greg Chapman
I've been working through the Clojurescript tutorial here: https://github.com/magomimmo/modern-cljs When compiling step 2, which adds a file requiring clojure.browser.repl, I get a WARNING: No such namespace: e at line 71 (in repl.cljs). The code in repl.cljs is: (event/listen

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

2013-10-08 Thread Greg Bowyer
js Array(16).join(wat - 1) + Batman! NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman! js On Tuesday, October 8, 2013 6:07:47 AM UTC-7, Laurent PETIT wrote: 2013/10/8 Robert Day rober...@gmail.com javascript: On 08/10/13 13:49, Nando Breiter wrote: If you try and add 10 to Hello

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 z...@caudate.me wrote: Thanks

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 -- Please do

Re: as- macro enhancement request?

2013-08-21 Thread Greg
unnecessary characters, this way: (as- foo bar (baz quux) blah) Anyway, very minor quibble, just putting it out there. +1 - Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Aug 20, 2013, at 10:22 PM, Sean Corfield

Halp Clojurinoes! Cannot deploy to Clojars! :-(

2013-08-16 Thread Greg
/Programming/Clojure/slothcfg-git/pom.xml Created /Users/gslepak/Programming/Clojure/slothcfg-git/target/slothcfg-1.0.0.jar You need a passphrase to unlock the secret key for user: Tao Effect (For company email created by Greg Slepak) cont...@taoeffect.com 2048-bit RSA key, ID 06A166EC, created 2013-07-24

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

2013-08-16 Thread Greg
+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 g...@kinostudios.com wrote: I've been trying for at least an hour to deploy a project to Clojars

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

2013-08-16 Thread Greg
@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 with the NSA. signature.asc Description: Message

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

2013-08-16 Thread Greg
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 david.santi...@gmail.com wrote: So, just to be clear, you thought you'd just go ahead and fork, rename, and reannounce my project

Re: [ANN] Leiningen 2.3.0 released

2013-08-12 Thread Greg
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 that you

Re: [Proposal] Simplified 'ns' declaration

2013-08-10 Thread Greg
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 -- Please do not email me anything that you

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
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 anything that you are not comfortable also sharing with the NSA

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 email me anything that you

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
: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 Lord) wrote: Greg g...@kinostudios.com writes: New School: (ns two.namespace

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
: 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 namespaces if you try to alias them to the same symbol/var. - Greg -- Please do not email me anything that you

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
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 Lord) wrote: Greg g...@kinostudios.com writes

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
, :arglists ([this]), :name dostuff}}, :var #'baz/g, :method-map {:dostuff :dostuff}, :method-builders {#'baz/dostuff #baz$eval300$fn__301 baz$eval300$fn__301@7c2aa00c}} baz= (defn g [] a) #'baz/g baz= g #baz$g baz$g@4bb2668f And I'm not sure how to get the protocol back... - Greg -- Please do

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
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. On Aug 6, 2013, at 12:41 PM, Greg g...@kinostudios.com wrote

Re: [Proposal] Simplified 'ns' declaration

2013-08-06 Thread Greg
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 '[foo :refer (IBar)]) - Greg -- Please do not email me anything that you

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 Aug 5, 2013, at 8:22

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 ... :refer [+ - / *]). -Greg -- Please do

Re: Can we please deprecate the :use directive ?

2013-08-05 Thread Greg
) remains clear and why this should not change to (require 'core.matrix :refer :all). I must have missed this part of the thread. I did not say it shouldn't maybe someone else did. I'm for deprecating use completely, while retaining its abilities through require. - Greg -- Please do not email me

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
] [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 g...@kinostudios.com wrote: * That email was just an idea to explore, not perfection. Also, this is a mistake: (:require

[Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
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 anything that you are not comfortable also sharing with the NSA

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
. 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 lspec...@hampshire.edu wrote: On Aug 5, 2013, at 12:28 PM, Greg

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
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 -- Please do not email me anything that you are not comfortable also sharing

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
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 sharing with the NSA. On Aug 5, 2013, at 1:14 PM

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
: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:46 PM, Timothy Baldridge tbaldri...@gmail.com wrote: I don't really

Re: [Proposal] Simplified 'ns' declaration

2013-08-05 Thread Greg
(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 odysso...@gmail.com wrote: I forgot to add: I think simplicity is really important, and I think one

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 trevor.bern...@gmail.com wrote: Hello, I'd like

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 michael.s.klis...@gmail.com wrote

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 michael.s.klis...@gmail.com wrote: 2013/7/29 Greg g...@kinostudios.com I'm not familiar enough with either project

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: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
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 sbdegu...@gmail.com wrote: I would be willing to pay /really/ good money for an editor

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
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... why not? Cheers, Greg -- Please do not email me anything that you are not comfortable also sharing

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
/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 do not email me anything that you

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
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 g...@kinostudios.com wrote: Colin: I think ST has a good

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

2013-07-27 Thread Greg
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 anything

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

2013-07-25 Thread Greg
to continue tinkering like crazy. 5. Conclusion - - Yes, IntelliJ is a very good IDE for Clojure development. - Sublime Text is better. :-) - Cross your fingers for Light Table Cheers, Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA

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

2013-07-25 Thread Greg
to click Cancel at a nag prompt every so often. Cheers! Greg -- Please do not email me anything that you are not comfortable also sharing with the NSA. On Jul 25, 2013, at 8:32 PM, Gary Trakhman gary.trakh...@gmail.com wrote: 'jumping to a symbol's definition (and back again)? Those didn't seem

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 g...@kinostudios.com 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 absolutely the most important feature for me day

Can we please deprecate the :use directive ?

2013-07-23 Thread Greg
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 to the Google Groups

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 mimmo.cose...@gmail.com wrote

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

2013-07-13 Thread Greg
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] http://swannodette.github.io/2013/07/12/communicating

Re: -- macro proposal

2013-07-13 Thread Greg
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 laurent.pe...@gmail.com wrote: 2010/7/7 aria42 ari...@gmail.com: I've needed -- a few times in my code. I don't

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 comfortable also

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 giato...@gmail.com wrote: right, sorry! I found the double role of template in this sample file on

Pedestal introduction question

2013-07-03 Thread Greg
`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 message because you are subscribed to the Google

Linux Journal July Intro to Clojure on the Web

2013-07-01 Thread greg r
by Reuven Lerner. 10 pages. Compojure is next. http://www.linuxjournal.com/content/july-2013-issue-linux-journal-networking Regards, Greg -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

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 Jan 21, 2013, at 6:22 PM

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
me know! Cheers, Greg On Jun 28, 2013, at 11:19 PM, Greg g...@kinostudios.com wrote: 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

Re: Adding implicit indexing to Clojure lists and arrays?

2013-06-27 Thread Greg
? Thanks, Greg On Jun 27, 2013, at 6:45 AM, Mikera mike.r.anderson...@gmail.com 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't think it makes sense

Adding implicit indexing to Clojure lists and arrays?

2013-06-26 Thread Greg
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 clojure@googlegroups.com Note that posts

Re: Accessing JSON Array data in Clojure

2013-05-07 Thread greg r
-cookbook/book I'm going through it (slowly) and learning a lot. It's not a beginner's book. Full blast functional programming for sure. Regards, Greg -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

[ANN] clj-configurator – A powerful yet simple Clojure configuration library.

2013-03-10 Thread Greg V
Hello everyone! I made a little configuration library: https://github.com/myfreeweb/clj-configurator Supports any configuration format (TOML, YAML, JSON, EDN, whatever) -- you just parse it yourself. Supports environment variables and Java system properties. Automatically figures out types

Re: Clojure 1.5 print-table, org-mode babel, and org-mode HTML gen

2013-03-05 Thread greg r
babel is commented out, so the later versions of nrepl must have this feature included. Too many months ago, I really need to put better notes and comments in my .emacs file! Greg On Monday, March 4, 2013 4:25:23 PM UTC-5, Mark C wrote: Very cool. Great looking doc! I just installed LaTeX

  1   2   3   4   >