Re: clojure.data.csv/write-csv isn't thread safe (should it be?)

2019-05-02 Thread matt . t . grimm
Well, snark and sarcasm aside, you've made me realize I was way too focused on making write-csv do what I wanted rather than come up with a better solution. So thanks for that, but do try to keep up the impression that this is a friendly, welcoming community. On Thursday, May 2, 2019 at 6:07:53

clojure.data.csv/write-csv isn't thread safe (should it be?)

2019-05-02 Thread matt . t . grimm
The write-csv function in clojure.data.csv isn't thread safe because even though it uses the synchronized .write method on BufferedReader, it does so at the cell level , not the row/line level. Is this

Re: Lazy Flatten; One seq at a Time

2017-11-22 Thread Matt Anderson
jx#L182> >> >> will do it: >> >> (lazy-cat (first coll) (when-let [n (next coll)] (lazy-flatten n >> >> >> On Tuesday, November 21, 2017 at 2:34:15 PM UTC-8, Matt Anderson wrote: >>> >>> I have a function that is returning a lazy-seq of lazy

Lazy Flatten; One seq at a Time

2017-11-21 Thread Matt Anderson
I have a function that is returning a lazy-seq of lazy-seq's. (seq (seq [1 2 3]) (seq [4 5 6]) ...) The end-user API, however, should be able to get back a lazy-seq of the individual items across all lazy-seq's--essentially a flattening of the output of my function--instead of the "top leve

Re: Help with strange test output when deftest used inside a macro

2017-10-10 Thread Matt Grimm
e a dynamic var to setup your config information. > Or better yet have the test itself read the config data the way your normal > app would. This not only exercises the same config codepaths, but it also > keeps the code quite functional. > > On Mon, Oct 9, 2017 at 2:40 PM, Matt G

Help with strange test output when deftest used inside a macro

2017-10-09 Thread Matt Grimm
Hello, I'm generating deftest's using a helper macro that takes a variety of test parameters and though the tests function correctly, the output of a failed test is not exactly right. The expect value is shown as the un-evaluated test form, and the actual value is shown as the result of evaluat

Re: Reducers exception when calling into

2017-05-12 Thread Matt Grimm
Thanks very much for the quick response. From your hints, I tried switching uses of into to r/foldcat and it worked. On Thursday, May 11, 2017 at 4:44:37 PM UTC-6, Alex Miller wrote: > > The symptoms sound like you are running into a case where there are > multiple protocol branches that apply

Reducers exception when calling into

2017-05-11 Thread Matt Grimm
Hi, I've run into a bizarre issue with reducers that is consistently reproducible, but only on one set of systems. On a separate system with the same OS and java, the error is not reproducible. The exception messages seem to indicate that I've tried to access a reducible like a seq before doin

Re: How to disable (or limit) test.check shrinking

2017-02-10 Thread 'Matt Bossenbroek' via Clojure
Perfect - that’s exactly what I’m looking for. Thanks! -Matt On February 9, 2017 at 4:04:17 PM, Gary Fredericks (fredericksg...@gmail.com) wrote: Wrapping the generator in `gen/no-shrink` will give you a generator that pretends it doesn't know how to shrink. On Thursday, February 9, 20

Re: How to disable (or limit) test.check shrinking

2017-02-09 Thread 'Matt Bossenbroek' via Clojure
I considered that, but that only partially fixes the issue. If it does actually find a real problem, it’ll never complete because the shrinking takes too long. In the end I’d rather have something not fully shrunk than something that runs forever. -Matt On February 8, 2017 at 1:19:24 PM

How to disable (or limit) test.check shrinking

2017-02-08 Thread 'Matt Bossenbroek' via Clojure
roach for using test.check against a live service where transient issues are expected? Should I just retry the actual service call many times before allowing test.check to see it? Thanks, Matt -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: Should I switch to Clojure after 3 years of learning another full stack ?

2016-10-11 Thread Matt Mitchell
or Compojure. Throw in some common Ring middleware (static assets, sessions, file-type info) and you're getting somewhere. If you want something like Rails, I'm sure others here could recommend something. - Matt On Thursday, October 6, 2016 at 5:39:43 PM UTC-4, Xman wrote: > > It&

Re: Meta-data should be added to deprecated functions?

2016-08-11 Thread Matt Mower
On Wednesday, 10 August 2016 13:22:47 UTC+1, Alex Miller wrote: > In this case, there is not a specific function to point to, rather the use > of a transducer with a chan is the alternative. How about {:deprecated } where the URL could refer to a human-readable/machine-processable description

Re: clojure, not the go to for data science

2015-12-20 Thread Matt Revelle
Schema for data validation and coercion. I used Clojure for implementing the method described in this paper: Revelle, Matt, et al. "Finding Community Topics and Membership in Graphs." *Machine Learning and Knowledge Discovery in Databases*. Springer International Publishing, 2015. 625-640.

Re: [ANN] 2015 State of Clojure Community survey

2015-12-09 Thread 'Matt Bossenbroek' via Clojure
How about adding a state of Datomic survey? :) -Matt On Sunday, December 6, 2015 at 4:12 PM, Mars0i wrote: > > > On Sunday, December 6, 2015 at 3:26:55 PM UTC-6, Lee wrote: > > > > On Dec 6, 2015, at 3:00 PM, Alex Miller > (javascript:)> wrote: > > >

[ANN] PigPen 0.3.1

2015-10-19 Thread 'Matt Bossenbroek' via Clojure
ines using Apache Pig or Cascading. Learn more here: https://github.com/Netflix/PigPen -Matt -- 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

IoT Clojure Opportunity

2015-10-13 Thread Matt Masciocchi
first couple of months with the potential to move to remote work down the road. Thank you for your time and consideration! My Best, Matt Masciocchi Network Search Associates -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gr

Re: [ANN] prismatic/schema 1.0 adds automatic test data generation

2015-09-02 Thread Matt Mitchell
: No such var: s/spec, compiling :(schema/coerce.clj:31:28) - Matt On Tuesday, September 1, 2015 at 2:02:30 PM UTC-4, Jason Wolfe wrote: > > We're excited to finally bring Schema out of alpha, while introducing some > new exciting features around testing: test.check integration and

Re: [ANN] prismatic/schema 1.0 adds automatic test data generation

2015-09-01 Thread Matt Mitchell
Awesome and good work! Can't wait to try it out. - Matt On Tuesday, September 1, 2015 at 2:02:30 PM UTC-4, Jason Wolfe wrote: > > We're excited to finally bring Schema out of alpha, while introducing some > new exciting features around testing: test.check integration and

Re: Recommendations for a schema-based data language for use in Hadoop?

2015-08-05 Thread 'Matt Bossenbroek' via Clojure
oxes at, so it makes it a non-issue for us. The flexibility of edn outweighs any performance gains of converting back & forth to another format and having to worry about translation errors. -Matt [1] https://github.com/ptaoussanis/nippy On Tuesday, August 4, 2015 at 7:05 PM, Ryan Schmi

Re: Advice on introducing a Java dev to Clojure

2015-07-12 Thread Matt Bailey
QRS and a more functional style of programming. Cheers! -Matt On Saturday, July 11, 2015 at 2:47:31 PM UTC-7, Johanna Belanger wrote: > > That's really cool, thanks! > > On Saturday, July 11, 2015 at 5:27:37 AM UTC-7, juvenn wrote: >> >> Hi Johanna, >> &

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-21 Thread Matt Revelle
Mike (core.matrix author) has been adjusting the API according to his needs and those of other users. I don't think anyone will disagree with the statement that good APIs are shaped by usage and keeping things simple. That said, I see no reason why there shouldn't be a common API which is highe

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-19 Thread Matt Revelle
On Friday, June 19, 2015 at 4:57:32 AM UTC-4, Dragan Djuric wrote: > > I do not even claim that an unified api is not possible. I think that to > some extent it is. I just doubt in core.matrix eligibility for THE api in > numerical computing. For it makes easy things easy and hard things > impos

Re: [ANN] PigPen 0.3.0 - Now with Cascading!

2015-05-18 Thread 'Matt Bossenbroek' via Clojure
No complaints, so PigPen 0.3.0 is now officially released. Enjoy! -Matt On Monday, May 11, 2015 at 8:40 AM, Matt Bossenbroek wrote: > I'm excited to announce the release of PigPen v0.3.0, which now includes > support for Cascading. > > PigPen is Map-Reduce for Clojure - yo

[ANN] PigPen 0.3.0 - Now with Cascading!

2015-05-11 Thread Matt Bossenbroek
huge thanks to Piotr Kozikowski for contributing all of the Cascading work to the project. For questions or complaints: pigpen-supp...@googlegroups.com -Matt ps. The PigPen name & logo aren't really ideal now that we've added another platform and plan to add more. Apparently we&#

Re: [ANN] Clojure 1.7.0-beta2

2015-04-24 Thread Matt Mitchell
Awesome. Just tested it on our API and working well. Looking forward to a more in depth testing session! - Matt On Friday, April 24, 2015 at 2:27:40 PM UTC-4, Alex Miller wrote: > > Clojure 1.7.0-beta2 is now available. > > Try it via > - Download: > https://repo1.maven.org/

Re: [ANN] Clojure Applied: From Practice to Practitioner

2015-04-13 Thread Matt Mitchell
Just picked it up! Thanks Alex. Sounds like the sort of thing I've been wanting more info on for a while now. Looking forward to the reading! - Matt On Wednesday, April 8, 2015 at 9:27:58 AM UTC-4, Alex Miller wrote: > > Hey all, > > I'm very happy to announce that

Re: Debugging in CIDER

2015-03-30 Thread Matt Mitchell
Awesome. +1 for a new release too, lots of other good stuff in there too. - Matt On Saturday, March 28, 2015 at 1:46:33 PM UTC-4, Bozhidar Batsov wrote: > > Hey everyone, > > Just wanted to let you know that the most requested feature for CIDER (a > debugger, in case you're

Re: Who's using Clojure?

2015-03-16 Thread Matt Owen
We're using Clojure at Chartbeat. On Tuesday, April 19, 2011 at 10:38:14 AM UTC-4, Damien wrote: > > Hi Everyone, > > I'm on a mission: introducing Clojure in my company, which is a big > consulting company like many others. > > I started talking about Clojure to my manager yesterday. > I was pre

core.async, System/currentTimeMillis, and leap seconds

2015-02-19 Thread Matt Havener
meout channel could produce a value significantly later than expected? - Matt -- 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

[job] Clojure opportunity at Lucidworks

2015-02-06 Thread Matt Mitchell
/security-engineer/>, and please ping me directly (not here) if you have specific questions -> *matt.mitchell at lucidworks.com* Really hope to hear from some of you! - Matt Mitchell -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-29 Thread Matt Revelle
ould be much faster than getting the slices one-by-one if the data is very > sparse. > > On Monday, 29 December 2014 09:43:54 UTC+8, Matt Revelle wrote: > >> On Dec 28, 2014, at 7:28 PM, Mike Anderson > <mailto:mike.r.anderson...@gmail.com>> wrote: >> >&g

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-28 Thread Matt Revelle
rue}) Implementations should throw an exception if they don’t support (or understand) the preferences. > On Monday, 29 December 2014 02:12:05 UTC+8, Matt Revelle wrote: > Glad to see the addition of new-sparse-array to core.matrix. It looks like it > defaults to SparseRowMatrix for the V

Re: ANN: Sparse matrix support for Clojure with vectorz-clj 0.28.0

2014-12-28 Thread Matt Revelle
Glad to see the addition of new-sparse-array to core.matrix. It looks like it defaults to SparseRowMatrix for the Vectorz implementation? Should the API provide a way to specify which sparse matrix representation (e.g., row- vs column-based, indexed vs hashed) should be used? I'd suggest a 3-ari

Core Banking And The Mechanics Of Money Creation

2014-12-17 Thread Matt Dean
Tim, I enjoyed reading your post. Having recently launched an online banking user interface for a credit union using the same principles you mentioned (and React), I agree that this represents the path forward for financial institutions, and a surprising number of credit union execs seem to feel

Re: Charting Data Format Feedback Requested

2014-12-12 Thread Matt Revelle
I had started thinking about this problem recently too and also had broken it down to two parts. I was going to create a simple data frame protocol for a) and a ggplot2-inspired library which emits SVG for b). There is prior work for plotting in Incanter (using JFreeChart) and David Liebke also

Re: Map holds on to element being processed

2014-11-11 Thread &#x27;Matt Bossenbroek' via Clojure
be really careful not to hold on to the head (frequently this is hidden anyway), and the evaluation of the lazy seq seems to stress out the GC. Are there other alternatives for large seqs that are better than either of these options? Thanks, Matt On Monday, November 10, 2014 at 10:47 PM, An

Map holds on to element being processed

2014-11-10 Thread &#x27;Matt Bossenbroek' via Clojure
etained and we run out of memory. Is my guess correct? If so, is there a workaround for this? Thanks, Matt -- 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 ne

Re: pigpen newbie question

2014-09-15 Thread &#x27;Matt Bossenbroek' via Clojure
Sunil, I tried upgrading PigPen to Instaparse 1.3.4, but that pulled in Clojure 1.6.0 & now I'm running into some build/jar/versioning issues. I don't think I'll be able to get the update out as soon as promised, but it sounds like not using 1.7.0 will work for you in th

Re: pigpen newbie question

2014-09-11 Thread &#x27;Matt Bossenbroek' via Clojure
Just saw this response - disregard the questions I asked you on the pigpen support DL. I'll pull in the new instaparse & get a new PigPen build out soonish (within a day or two). -Matt On Thursday, September 11, 2014 at 6:28 PM, Mark Engelberg wrote: > You're probably us

Re: using Stuarts component library correctly

2014-08-10 Thread Matt Mitchell
Here's some relevant info about tools.namespace and protocols: https://github.com/clojure/tools.namespace#warnings-for-protocols - Matt On Saturday, August 9, 2014 6:04:03 PM UTC-4, Sven Richter wrote: > > Hi, > > First I would like to thank everybody for your answers and hin

Re: using Stuarts component library correctly

2014-08-09 Thread Matt Mitchell
gladly take this over with-redefs wherever possible. There's definitely room for improvement. For example, creating a "test system" etc.. - Matt On Saturday, August 9, 2014 9:50:54 AM UTC-4, Brendan Younger wrote: > > I've struggled with the same issue as you, Sven.

Re: Community Interest in a Clojure Application Config Library, using Zookeeper?

2014-05-22 Thread Matt Mitchell
ponent within a system? - Matt On Thursday, May 22, 2014 10:29:50 AM UTC-4, Thomas Steffes wrote: > > Currently config changes that require restart of a component are not > supported by our drcfg > > On Wednesday, May 21, 2014 12:59:18 PM UTC-4, Ben Mabey wrote: >> >>

Re: ANN simple-time

2014-03-24 Thread Matt Bossenbroek
Thanks for the tip - I was not aware of that! Thanks, Matt On Monday, March 24, 2014 at 4:48 AM, Zoka wrote: > Hi Matt, > > Looks very good - the little speed up you can make is to use :const > attribute for conversion constants such as > milliseconds-per-XXX , so there i

Re: ANN simple-time

2014-03-23 Thread Matt Bossenbroek
lj-time what the date was and it being wrong for 8 hours every day :) -Matt On Saturday, March 22, 2014 at 2:35 AM, dm3 wrote: > Hey, this looks really simple and nice. > > So, to map Joda concepts to simple-time - a timespan is a standard Period (1 > day is always 24 hours) and a

ANN simple-time

2014-03-20 Thread Matt Bossenbroek
ry. Full API is here: http://mbossenbroek.github.io/simple-time/simple-time.core.html Read more about the motivation for simple-time here: https://github.com/mbossenbroek/simple-time#motivations Enjoy! -Matt -- You received this message because you are subscribed to the Google Groups "

[ANN] PigPen 0.2.0

2014-03-05 Thread Matt Bossenbroek
/speakers/matt-bossenbroek Questions & Complaints: pigpen-supp...@googlegroups.com PigPen does use Apache Pig, but it uses it as a host language, similar to how Clojure uses the JVM. It's not a Clojure wrapper for writing Pig scripts. Enjoy! -Matt -- You received this message becaus

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-20 Thread Matt Mower
Couple of feature requests: move segment up/down and MathML support (it's been 20 years since I did any Latex although its undoubtedbly cool!) m/ On Wednesday, 19 February 2014 21:23:02 UTC, Jony Hudson wrote: > > Hi All, > > I'm pleased to announce the first release of Gorilla REPL, a rich

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-02-20 Thread Matt Mower
Jony this thing is totally cool. Forget the plotting as a REPL for exploring stuff (with the ability to restore sessions) it's very nice. m/ On Wednesday, 19 February 2014 21:23:02 UTC, Jony Hudson wrote: > > > I'm pleased to announce the first release of Gorilla REPL, a rich REPL in > the not

Is it possible to get Clojure files in Spotlight search?

2014-02-19 Thread Matt Mower
for me in Xcode4 and doesn't appear to be maintained. There's also a suggestion that it stopped working in the 10.6->10.7 transition. Do any Clojure users on OSX have a working solution for this problem? Kind regards, Matt p.s. I realise this is a Mac specific question but I fi

Re: use/require/import and quoted form

2014-02-07 Thread Matt Mitchell
Can you give a code example? - Matt On Thursday, February 6, 2014 3:15:13 AM UTC-5, Andy Smith wrote: > > Hi, > > I was wondering why use/require and import take quoted forms as their > arguments, other alternatives could be strings or keywords, so what is > special about th

Re: Introducing PigPen: Map-Reduce for Clojure

2014-01-03 Thread Matt Bossenbroek
function (http://netflix.github.io/PigPen/pigpen.core.html#var-dump) to return data in the REPL. -Matt On Friday, January 3, 2014 1:51:36 AM UTC-8, puzzler wrote: > > This is exciting! > > Not knowing anything about Pig, is there a walkthrough somewhere that > demonstrates ho

Introducing PigPen: Map-Reduce for Clojure

2014-01-02 Thread Matt Bossenbroek
http://techblog.netflix.com/2014/01/introducing-pigpen-map-reduce-for.html Github: https://github.com/Netflix/PigPen API docs: http://netflix.github.io/PigPen/pigpen.core.html Tutorial: https://github.com/Netflix/PigPen/blob/master/Tutorial.md -Matt -- -- You received this message because you

Re: Video: Generating Beautiful (and Correct) Documentation from Unit Tests Files

2013-09-26 Thread Matt Mitchell
Very nice! Does lein-midje-doc use the Midje fact(s) labels? - Matt On Wednesday, September 25, 2013 10:33:31 PM UTC-4, zcaudate wrote: > > I've put up a video of a new documentation plugin for leiningen > > Project Page: > https://github.com/zcaudate/lein-midje-doc >

Re: Best way to pass through named arguments (destructured map)?

2013-09-09 Thread Matt Mitchell
And also: (mapcat identity {:in [1 2 3]}) => '(:in [1 2 3]) But yeah, destructuring with *&* then using *apply* is pretty clear too. - Matt On Monday, September 9, 2013 10:41:12 PM UTC-4, Leif wrote: > > Careful - `flatten` recursively flattens sequential things. E.g. >

Re: [ANN] Leiningen 2.3.0 released

2013-08-09 Thread Matt Mitchell
The upgrade ended up "breaking" lein on my system. This fix worked for me. Thanks! On Friday, August 9, 2013 5:30:42 AM UTC-4, Jean Niklas L'orange wrote: > > Hey guys, > > I've hacked together a temporary fix for people who really, really, really > want to use 2.3.0 right away, or have broken t

Re: ANN Langohr 1.0 (final) is released

2013-07-29 Thread Matt Hoffman
Congrats! Great library. On Mon, Jul 29, 2013 at 2:35 AM, Michael Klishin < michael.s.klis...@gmail.com> wrote: > Langohr [1] is a small, easy to use Clojure client for RabbitMQ. > > 1.0.1 is a long overdue 1.0 release of the library that has been 2 years > in the making and is one of the most

Re: Interest in a commercial IDE for Clojure?

2013-07-28 Thread Matt Hoffman
I've been watching your fork on Github for a while -- I've been excited to see that someone is actively working on La Clojure. I would pay for an IntelliJ plugin that was significantly better than La Clojure, but I'm also aware that I'd be paying just for my preference of IntelliJ over Eclipse for

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

2013-07-28 Thread Matt Hoffman
ture... I keep saying I'll try Eclipse again, since it has *much* better Clojure support than IntelliJ (thanks to Laurent) and it's still a decent Java environment, but I haven't tried it in a while. Certainly not since the Kepler release. I'm going to check out Laurent's

Re: using partial with ->

2013-06-07 Thread Matt Smith
Got it. Thanks! On Friday, June 7, 2013 3:29:55 PM UTC-6, Jonathan Fischer Friberg wrote: > > On Fri, Jun 7, 2013 at 11:13 PM, Matt Smith > > wrote: > >> (-> '([1 2] [3 4] [5]) >> (partial map first) >> flatten >> ) > > > Bec

using partial with ->

2013-06-07 Thread Matt Smith
Newbie question here. This code: (println (flatten(map first '([1 2] [3 4] [5] (def mapfirst (partial map first)) (println (-> '([1 2] [3 4] [5]) mapfirst flatten )) (println (-> '([1 2] [3 4] [5]) (partial map first) flatten )) prints out: > (1 3 5

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-11 Thread Matt
Though the Clojure community has traditionally gone with smaller libraries rather than large frameworks, there is a full-stack web framework for Clojure called Conjure: https://github.com/macourtney/Conjure On Friday, January 11, 2013 11:52:05 AM UTC-5, Paul Umbers wrote: > > I've been experime

Re: Are strings expensive for memory on the JVM?

2013-01-04 Thread Matt Hoyt
emit-str to store the XML as > a string in the atom recent-activity. > > That leads to 2 questions: > > 1.) are strings expensive on memory? > > 2.) what are the simplest profiling tools I can use to compare the memory > use of emit-str versus what I was doing previously? > &

Re: Polymorphism based on predicates instead of dispatch value types

2012-11-09 Thread Matt Ridsdale
Thanks for the pointer, I haven't seen it and I'll be sure to give it a look when I have some time. Matt On Thursday, November 8, 2012 11:29:12 AM UTC+1, Philip Potter wrote: > > Have you seen David Nolen's conj 2011 talk, "Predicate Dispatch"? It > covers e

Re: Polymorphism based on predicates instead of dispatch value types

2012-11-08 Thread Matt Ridsdale
te, once you've chosen a solution for handling cases with more than one matching implementation. On Wednesday, November 7, 2012 7:49:19 PM UTC+1, raould wrote: > > On Wed, Nov 7, 2012 at 10:08 AM, Matt Ridsdale > > > wrote: > > that we could be even more flexib

Polymorphism based on predicates instead of dispatch value types

2012-11-07 Thread Matt Ridsdale
Hi, I was thinking about multimethods and the flexibility given by being able to dispatch on the value of an arbitrary function of the arguments, instead of just the class of the first argument as in Java. It seems to me that we could be even more flexible if each method implementation was assoc

Handling exceptions (subject renamed)

2012-10-05 Thread Matt
the source line that made the code break? Thanks! On Friday, October 5, 2012 5:15:18 PM UTC+2, Matt wrote: > > Hi, > > I'm relatively new to Clojure. This must be easy. > I am trying to write a function that creates a table with a name passed as > argument, and this natural

clojure.java.jdbc create-table

2012-10-05 Thread Matt
exception - java.lang.ClassCastException: clojure.lang.ArraySeq$ArraySeq_int cannot be cast to clojure.lang.IFn. The exception is received even though the table had been seemingly perfectly created. I'm probably missing something basic. What do you think can it be? Thanks, Matt -- You received this mess

Re: Clojure web framework

2012-09-28 Thread Matt
njure into its own library, I broke Conjure into a group of libraries for the next release. If you do make your own web framework, you may want to use some parts of Conjure. -Matt On Friday, September 28, 2012 3:36:20 AM UTC-4, goracio wrote: > > Hi > So i'd like to point to the p

Re: ClojureScript dead-code elimination

2012-09-18 Thread Matt Campbell
Query, which is pretty standard these days, itself is 32k gzipped. That is indeed impressive. I'd say the overhead of ClojureScript in small programs is a non-issue then. Sorry for making a fuss about it. Matt smime.p7s Description: S/MIME Cryptographic Signature

ClojureScript dead-code elimination

2012-09-18 Thread Matt Campbell
ynamism an insurmountable obstacle at this point? Or does this area just need more work? Matt smime.p7s Description: S/MIME Cryptographic Signature

Re: Why does cljs.core redefine String.prototype.apply?

2012-09-18 Thread Matt Campbell
On 9/18/2012 8:06 AM, David Nolen wrote: It's a yucky bit of code that needs to be removed. It's there to support using keywords as functions - in ClojureScript keywords are just JS Strings. Is there another way to do the same thing, without a significant performance penal

Why does cljs.core redefine String.prototype.apply?

2012-09-18 Thread Matt Campbell
wn JS into the page.) I know there are always trade-offs. And perhaps this definition of String.prototype.apply is known not to conflict with any other JavaScript code. But I would appreciate an explanation of what purpose it serves. Thanks, Matt -- You received this message because yo

Why does cljs.core redefine String.prototype.apply?

2012-09-18 Thread Matt Campbell
wn JS into the page.) I know there are always trade-offs. And perhaps this definition of String.prototype.apply is known not to conflict with any other JavaScript code. But I would appreciate an explanation of what purpose it serves. Thanks, Matt smime.p7s Description: S/MIME Cryptogr

Re: is this a problem for clojure.contrib.dataflow? Or something else?

2012-08-21 Thread matt hoffman
re. > > On Monday, August 20, 2012 12:18:54 AM UTC-4, matt hoffman wrote: >> >> I have a problem that I'm trying to figure out how to tackle. I'm new to >> Clojure, but I'm interested, and perhaps this will be my excuse to give it >> a try. Any of the foll

Re: is this a problem for clojure.contrib.dataflow? Or something else?

2012-08-21 Thread matt hoffman
> > Ronen > > On Tuesday, August 21, 2012 3:14:23 AM UTC+3, Leif wrote: >> >> +1. I know of a couple tools in python for this purpose that are called >> "workflow management systems." It would be good to know if there is a >> robust one in cloju

Re: is this a problem for clojure.contrib.dataflow? Or something else?

2012-08-21 Thread matt hoffman
>> sounds less so. >> >> Ronen >> >> On Tuesday, August 21, 2012 3:14:23 AM UTC+3, Leif wrote: >>> >>> +1. I know of a couple tools in python for this purpose that are called >>> "workflow management systems." It would be good t

is this a problem for clojure.contrib.dataflow? Or something else?

2012-08-20 Thread matt hoffman
I have a problem that I'm trying to figure out how to tackle. I'm new to Clojure, but I'm interested, and perhaps this will be my excuse to give it a try. Any of the following answers would help: "What you're describing really sounds like X" "You could think of that problem like this, instead" "Y

Re: Clojure Editor

2012-07-16 Thread Matt
Bluefish version 2.2.3 fresh install. Document --> Language Mode - no clojure on the list.. has support for Clojure been dropped? On Sunday, March 13, 2011 2:09:52 PM UTC+2, WoodHacker wrote: > > If you are looking for a very good editor for Clojure try Bluefish. > It's been around for ever,

Re: [ANN] Drift-db version 1.1.0 released

2012-07-07 Thread Matt
Forgot the link: https://github.com/macourtney/drift-db On Saturday, July 7, 2012 9:38:03 AM UTC-4, Matt wrote: > > Drift-db version 1.1.0 released > > Drift-db is a library and companion project to Drift which gives you a > standard interface for updating databases from mig

[ANN] Drift-db version 1.1.0 released

2012-07-07 Thread Matt
Drift-db version 1.1.0 released Drift-db is a library and companion project to Drift which gives you a standard interface for updating databases from migrations. In version 1.1.0: 1. Added support for Postgresql 2. Added offset and order-by as parameters to sql-find 3. Added an update-column fu

Re: Lexer and parser generator in Clojure

2012-05-19 Thread Matt Mitchell
Here's a parser: https://github.com/joshua-choi/fnparse Doesn't look like it's active, but could be a starting point? - Matt On Friday, May 18, 2012 8:46:19 AM UTC-4, Alexsandro Soares wrote: > > Hi, > > I'm trying to build a compiler using Clojure. Is

Controlling the test environment

2012-01-16 Thread Matt Stump
Is there a way to set different values for global vars when running tests as opposed to the development or production environment? I need to control which database my tests for a noir project connect to. Ideally I would like to do something like the following: for production and development,

Re: Clojure videos no longer downloadable

2011-12-16 Thread Matt Freeman
Here's an idea. Put the videos on a site that has the best CDN reach (especially noticeable in Asia), does automatic transcoding to lower resolutions, and most importantly can jump to any point in the videos. Works on android, ipod, wp7, and even blackberry. Youve probably not heard of it, YouTube

Re: Drift DB

2011-11-30 Thread Matt
This should now be fixed in version 1.0.6. -Matt On Nov 29, 12:03 am, Luc Prefontaine wrote: > Hi Matt, > > working with this stuff... pretty sure I can make rake obsolete pretty soon :) > > However I am struggling with the auto increment column attribute... > > (create-tab

Re: Drift DB

2011-11-29 Thread Matt
That looks like a bug. I'll take a look at it, and get a fix in as soon as possible. -Matt On Nov 29, 12:03 am, Luc Prefontaine wrote: > Hi Matt, > > working with this stuff... pretty sure I can make rake obsolete pretty soon :) > > However I am struggling with the a

Re: Drift 1.4.0 released.

2011-11-29 Thread Matt
1.4.2 is out now and should work with both Clojure 1.2.1 and 1.3.0. However, Leiningen currently doesn't work with Clojure 1.3.0. At work, I actually have a project.clj with Clojure 1.3.0 in the dependencies, and a Clojure 1.2.1 in the dev-dependencies to make Leiningen work. -Matt On N

Re: Drift 1.4.0 released.

2011-11-27 Thread Matt
flavor to mysql. -Matt On Nov 27, 9:25 am, Edmund wrote: > Bingo!  Thanks for that, version 1.3.0 incompatibility it is. > -- 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

Re: Drift 1.4.0 released.

2011-11-26 Thread Matt
oke(RestFn.java:408) >         at clojure.core$load_one.invoke(core.clj:5200) >         at clojure.core$load_lib.doInvoke(core.clj:5237) >         at clojure.lang.RestFn.applyTo(RestFn.java:142) >         at clojure.core$apply.invoke(core.clj:602) >         at clojure.core$load_libs.doInvok

[ANN] Drift DB

2011-11-24 Thread Matt
Drift DB is a clojure database library focused on migration functions. With Drift DB you can create tables, drop tables, add columns to tables, remove columns from tables, query tables, and, though it is not the focus of Drift DB, you can insert, update, delete and select rows from tables. The on

[ANN] Drift 1.4.0 released.

2011-11-24 Thread Matt
Drift is a Rails like migration library for Clojure. I've recently released version 1.4.0 of Drift which includes: A new Java interface. You can now run Drift migrations, find out the database version, or determine the highest migration number from java. User generated migration numbers and time

Re: ClojureScript: Correct way to call an instance method with parameters?

2011-11-17 Thread Matt Hoyt
(.setDate (goog.date.fromIsoString "2010-12-31") 1)   Matt Hoyt From: Base To: Clojure Sent: Thursday, November 17, 2011 2:26 PM Subject: ClojureScript: Correct way to call an instance method with parameters? HI I am attempting to manipulate a goog

Re: Downloading the documentation?

2011-11-12 Thread Matt Hoyt
Checkout the gh-pages branch from github.  The branch has all of the documentation for clojure in it.   Matt Hoyt From: Kyle Cordes To: clojure@googlegroups.com Sent: Saturday, November 12, 2011 8:25 PM Subject: Downloading the documentation? Is there a

Re: JavaScript `debugger' statement

2011-11-10 Thread Matt Hoyt
try (js* "debugger()")   Matt Hoyt From: Stuart Campbell To: Clojure Sent: Thursday, November 10, 2011 9:16 PM Subject: JavaScript `debugger' statement I'm trying to enter the Firebug debugger when an exception is caught: (try   ; ...

Re: Newbie question on OO/records

2011-11-05 Thread Matt Hoyt
Protocols are a way to achieve polymorphism.  Clojure protocols are similar to Haskell types classes.  Here is a video that explains clojure protocols: http://vimeo.com/11236603   Matt Hoyt From: stevelewis To: Clojure Sent: Saturday, November 5, 2011 6:40 PM

Re: -> vs ->> and names vs anonymous function

2011-11-02 Thread Matt Hoyt
e as the last parameter. Second question: I think what you mean is (->> "hi" println) .   If you wanted to give the function multiple arguments you could do this: (-> "hello" (println "world!")) and the other form it would be (->> "world!" (print

ClojureScript: Emacs Inferior Lisp Windows Batch Script

2011-10-24 Thread Matt Hoyt
I modified the repljs.bat to include the current directory src/clj, src/cljs, lib/, test/cljs, and test/clj to use with emacs inferior lisp mode in Windows. https://gist.github.com/1310468 Matt Hoyt -- You received this message because you are subscribed to the Google Groups "Clojure&q

ClojureScript: Map to ExtJS/Sencha Touch Config Object

2011-10-23 Thread Matt Hoyt
I wrote some functions to convert a map into an  ExtJS/Sencha Touch config object.  It converts nested list and vectors into javascript arrays. https://gist.github.com/1307273   Matt Hoyt -- You received this message because you are subscribed to the Google Groups "Clojure" group.

AMQP

2011-10-15 Thread Matt Hoyt
se for clojure.   Is there anything I should look at for creating a dsl for distributed messaging?  Is there a better way for dealing with optional arguments when its key/val pairs than (apply hash-map opts)?   Matt Hoyt -- You received this message because you are subscribed to the Google

Re: Are futures garbage-collected?

2011-09-28 Thread Matt Hoyt
It won't get GC until it finishes running unless the thread throws an unhandled Exception or the application is terminated.   Matt Hoyt From: Jan Rychter To: clojure@googlegroups.com Sent: Wednesday, September 28, 2011 3:38 PM Subject: Are futures ga

  1   2   3   >