Re: ANN: ClojureScript 0.0-1877 (Breaking change)

2013-09-09 Thread Sean Grove
Also, a warning about breaking change with the strings no longer being keywords: Previously in ClojureScript, strings could be invoked to look themselves up as keys inside maps, just like keywords. So both (:a {:a 10 "b" 20}) and ("b" {:a 10 "b" 20}) would work (the latter will not work in vanilla

Re: ANN: Gamma, GLSL shaders made simple

2015-05-01 Thread Sean Grove
I was literally just looking over this right before you sent the announcement, and it looks fantastic. Really looking forward to playing with it over the next few weeks. On Fri, May 1, 2015 at 12:39 PM, kovas boguta wrote: > Gamma is a substrate for graphics software, such as games and data > vi

Re: [ANN, GSoC] A Common Clojure Source Metadata Model

2015-05-04 Thread Sean Grove
I've been hoping someone would rebuild Codeq , now that tools.analyzer (and friends) is out and ClojureScript has made so much progress. Not only would it be useful for diving into a new codebase (I've needed it several times when working with a large, unfamiliar c

Re: What is the best setup to program Clojurescript IF...

2014-10-02 Thread Sean Grove
Presumably LightTable is a good way to get started? On Thu, Oct 2, 2014 at 12:13 PM, Peter Mancini wrote: > What is the best setup to program Clojurescript IF: > >- you hate EMACS >- use linux or windows > > Any suggestions? > > -- > You received this message because you are subscribed t

Re: Using metadata to specify how calls to a macro should be indented

2015-09-13 Thread Sean Grove
I also love this idea - the more info we give to tools to provide a uniform formatting, the less I have to worry about configuring my local editor to match the project styles. On Sun, Sep 13, 2015 at 3:15 AM, Colin Yates wrote: > My knee-jerk reaction is: > - +10 > - leaving it up to the user

Re: Library suggestions requested for clojure-toolbox.com

2015-10-05 Thread Sean Grove
Talaria https://github.com/dwwoelfel/talaria [client/server messaging] "Messaging library for real-time client/server communication over websockets with fallback to ajax long-polling" On Mon, Oct 5, 2015 at 4:35 PM, Jony Hudson wrote: > Not exactly a library, but Gorilla REPL could fit in there.

Re: [ANN] Clojure 1.8.0-RC3

2015-12-07 Thread Sean Grove
It's not super compelling for us (we can upgrade with some work), but we've run into an issue with [org.clojure/clojure-contrib "1.2.0"] when requiring clojure.contrib.math: Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: remainder in this context, compiling:(cloju

Re: How to transform one data structure to another data structure?

2014-02-04 Thread Sean Grove
One way: user> (reduce (fn [s [k v]] (merge-with concat s {k [v]})) {} [[:a 123] [:b 124] [:a 125] [:c 126] [:b 127] [:a 100]]) => {:c [126], :b (124 127), :a (123 125 100)} O

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-1885 (Source maps!)

2013-09-16 Thread Sean Grove
ue on Jira for a >> while now, and here it is, alive and working! Just ran some demo code and >> it looks amazing! Thanks Sean Grove and thanks David Nolen. I'll let you >> know about any bugs I find. >> On Sunday, September 15, 2013 2:48:46 PM UTC-4, David Nolen wrote

Re: Suggestions for state modification improvements in this bit of code?

2013-11-30 Thread Sean Grove
Dave, I may not have totally understood the original function, but here are a few possible implementations, each moving towards what I would think of as being simpler: https://www.refheap.com/21379 It could of course be made more efficient and slightly cleaner, but maybe it's a start. On Sat, Nov

Re: Understanding sequences

2013-02-13 Thread Sean Grove
Presumably just (map vector [1 3 5] [2 4 6] [10 20 30]) should do the trick. On Wed, Feb 13, 2013 at 7:49 PM, Jonathon McKitrick wrote: > I have 3 arrays, and need to process one element of each array as a > triplet. > > So [1 3 5] [2 4 6] [10 20 30] > > needs to produce > > [1 2 10] > [3 4 20]

Re: Clojure/West 2013 videos?

2013-03-24 Thread Sean Grove
I'm sure that having nice videos (which have all been awesome) aren't cheap, nor are they easy to produce. It's unfair to trivialize the production and editing of high-quality material. That said, a thought I've been surprised no one has suggested is a crowdtilt/kickstarter-style campaign to get t

Re: clojure Image/video processing?

2010-09-06 Thread Sean Grove
ctional way: elegant and easy to > write new transforms but incredibly slow and memory hungry. I would be very happy to see some of that, if you're able to share it. What kind of performance are you talking about when you say "slow"? - Sean Grove -- You received this message b

Re: clojure Image/video processing?

2010-09-07 Thread Sean Grove
Sounds good to me. I'm just starting on a rather complex project pulling in (currently) webcam input and processing the video, and need access to this anyway. If there's nothing out there, time to roll up my sleeves and get on it. Let me know if you're looking to start on it any time

Re: Lazytest 1.0.0 (beta)

2010-09-25 Thread Sean Grove
Looks very awesome - I'll be giving this a try in my current projects. Thanks for such a cool library! sg On Sep 24, 2010, at 12:38 PM, Stuart Sierra wrote: > http://github.com/stuartsierra/lazytest > > My attempt to steal all the good ideas from clojure.test, Circumspec, > ClojureCheck, RSpec

Re: Promise for ClojureScript?

2012-11-27 Thread Sean Grove
I've been meaning to write a wrapper around the google closure async primitives: https://groups.google.com/forum/#!msg/closure-library-discuss/aHjKn7K6O9Q/XmZSK54lc3cJ Are there any reasons not to, or any libraries that have attempted it already? On Tue, Nov 27, 2012 at 12:21 AM, Niel Drummond

Clojurescript tests not including non-test source-path

2012-11-27 Thread Sean Grove
I've been trying to create a simple project with CLJS source and CLJS tests using lein-cljsbuild 0.2.9, but it doesn't seem to be able to pick up on the cljs source. How can I get the clojurescript tests to compile/run and include the actual project source? The output from running `lein clean &&

Re: Clojurescript tests not including non-test source-path

2012-11-27 Thread Sean Grove
cljs files are also on the Lein 2 > :source-paths > > David > > > On Tue, Nov 27, 2012 at 12:50 PM, Sean Grove wrote: >> >> I've been trying to create a simple project with CLJS source and CLJS >> tests using lein-cljsbuild 0.2.9, but it doesn&#

Re: Best way to include a passwords file in a project?

2012-12-19 Thread Sean Grove
Hey Alex, I accidentally hit a button to subscribe you a mailing list while reading this thread, please ignore it. Sorry about that! On Wed, Dec 19, 2012 at 1:40 PM, Alex Baranosky < alexander.barano...@gmail.com> wrote: > I don't like the environment variable approach because of the dependency

[ANN] Jida - Explore Clojure projects via hosted Codeq

2012-12-22 Thread Sean Grove
Hey all, Wei and I put together Jida, a pastie-bin for running Codeq/Datomic queries on Clojure repos. To dive in, here's a query that shows all of the authors for a given imported clojure repo (domina, in this case): http://jida.herokuapp.com/?query-id=50ba637ae4b0d89fb0a4ae40 You can 3 do thin

Re: Help to optimize palindrome search from input file

2010-10-12 Thread Sean Grove
I actually played with this on Saturday morning while waiting for a friend, and thought it was an interesting problem. Your example is spending most of its time filtering with palindrome? across all 682695 items generated by all-combs. To see, try: (defn tony [] (def source "I like racecars t

Re: Simple Neural Network DSL -- request for feedback

2010-11-10 Thread Sean Grove
Very elegant. From the example, it looks like it takes away a great deal of the tedium of neural networks. Do you have any more significant code examples than those listed on [3]? Sean On Nov 10, 2010, at 2:20 PM, Eric Schulte wrote: > Hi, > > Inspired by cgrand's regexp example [1], I've imp