Hey all, just chiming in that I use Clojure for exploratory analysis,
prototyping, and "production." Most of my work involves social networks and
aside from my own libs I use: core.matrix, Loom, and gg4clj (ggplot!). I'm
also a big fan of core.typed type annotations and Schema for data
validati
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
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
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
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
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
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
On Jan 28, 10:46 am, liebke wrote:
> > Oracle just announced Java One in San Francisco from September 19-23,
> > 2010
>
> Despite my preference for an east coast conference (and my limited
> interest in JavaOne), I think it makes a lot of sense to have the
> ClojureConj start on the Friday after J
On Jan 27, 2:32 pm, Raoul Duke wrote:
>
> ok, thanks, i will try to internalize that :-)
>
> i am not somebody who can point to languages i have defined and
> implemented, so i don't have any cred, but i think the requirement
> that the programmer know such details (like i have to know what is or
Location: DC (central and lots of Clojurers in the area) or Atlanta
(cheap)
Days of week: Any, suggest Fri-Sat
There seem to be at least an equal (probably greater) number of east
coast Clojure users in North America and the east coast is an easier
destination for any European attendees.
I'm happ
I'd recommend http://github.com/pelle/clojure-neo4j. It's a fork of
my repository which is a fork of JulianMorrison's (dead?) neo4j-
clojure.
Any changes made by pelle will make it back to my repository, but as
he is actively developing his fork you're best bet is to track his.
-Matt
On Jan 11,
I'm in and Reston would be great.
On Dec 17, 9:50 am, Mike Hogye wrote:
> I'm interested, but may have a hard time making it consistently. I do
> have a coworker or two who might have both interest and availability.
>
> On Dec 16, 1:14 pm, Matt wrote:
>
>
>
> > I'm looking into setting up a Nort
Hi group,
I recently noticed that fixtures were not being called for some tests
in my code and it turns out (thanks, Chouser) the use of test-ns-hook
is incompatible with fixtures. This isn't necessarily undesirable
behavior, but it raises an issue: does anyone want high-level support
fo
On Jun 26, 2:40 pm, Raoul Duke wrote:
> > We are hiring; but do you live in Mumbai, India? :)
>
> no, but i do know some folks around there (although they are all happy
> where they are, as far as i know). do you allow telecommuting from
> usa? ;-)
>
> best of luck with the venture.
I'm looking
It may help to review the code and structure of open source Clojure
projects, part of the mind-bend feeling could be coming from
struggling to know where to begin when writing code and less from
unfamiliarity with the theory of FP.
I'd also recommend playing with Haskell and reviewing "Real World
On Apr 17, 9:21 am, Rich Hickey wrote:
*snip*
>Git is not going to happen any time soon, great as it may
> be, given the current lack of infrastructure (google code) and tools
> support. Is there some respect in which this impacts the core? It
> would seem dangerous to marry any single approach i
Hi Aaron,
On Apr 15, 3:34 pm, Aaron Feng wrote:
> Hi,
>
> I work for a large financial software company, and we are interested
> in using Clojure for our new project. Due to the concurrent nature of
> the project, we are evaluating three possible languages: Erlang,
> Scala, and Clojure.
Assu
Were you in #clojure earlier? This came up there and pjstadig and I
raced to implement "domap" and then slashus2 pointed out there was no
need for it to be a macro.
http://gist.github.com/89249
(defn domap
"A map for side-effects. The argument order is the same as map, but
unlike map the fun
place. Generating classes
usable in Java code is
sometimes necessary and as gen-class' feature set becomes more
complete the better it serves users.
>
> On Mar 24, 9:57 am, Matt Revelle wrote:
>
> > Support for using JVM annotations with Clojure code has come up
> > s
Support for using JVM annotations with Clojure code has come up
several times before,
I'd like a feature request issue to be created and to start discussing
the implementation.
It seems that an "annotations" metadata tag could contain all
annotations for an object,
and any annotations that
On Mar 4, 2009, at 8:03 PM, Elena wrote:
>
> I wonder if Clojure does employ the same syntax either for macros and
> functions by design or it's just a remainder of Lisp. I think that a
> shared syntax for both macros and functions calls is a flaw in the
> syntax of Lisps, because you can't tell,
On Feb 26, 2009, at 2:01 PM, Peter Wolf wrote:
>
> Thanks all.
>
> I think appending a bunch of strings is a pretty common operation.
>
> Is there any reason that str is limited to 2 arguments? It would be
> nice to do (str "foo" "bar" "baz") --> "foobarbaz".
It does. Try it out. =)
>
>
> Is
On Feb 23, 2009, at 1:21 PM, MarkH wrote:
>
> Yes, clojure needs an alternative surface syntax for obvious reasons.
> And anybody that brings up Dylan as a counter-example doesn't know
> what they're talking about. Dylan died because Apple killed it.
>
It may be more productive to help newcomer
Higher-order functions (HOFs), are functions that use "lower"
functions to perform a task. The map and reduce functions are both
HOFs.
On Feb 20, 2009, at 10:16 AM, Jeffrey Straszheim wrote:
> The OO folks call this an "internal iterator" or "visitor".
> However, I'd recommend against ad
On Feb 17, 2009, at 10:32 AM, Dan wrote:
>
> > So, as a long-time .NET guy, IronClojure seems like the best name,
> in
> > terms of making it obvious what it does: it's like IronRuby/Python,
> > but it's Clojure. Failing that, it seems like NClojure fits the
> > pattern of other JVM-ported eff
Mark,
In case you were asking how to call a Clojure function from Java
without wrapping it, check out clojure.lang.IFn and AFn.
For example, say you prefer to write a class in Java but need to
accept a Clojure fn as an argument in
one of the class methods:
public int callFromClojure(IFn clo
On Jan 23, 2009, at 4:18 PM, Mark Volkmann
wrote:
>
> On Fri, Jan 23, 2009 at 3:00 PM, Chouser wrote:
>>
>> On Fri, Jan 23, 2009 at 2:17 PM, Mark Volkmann
>> wrote:
>>>
>>> Are all of these considered "reader macros"?
>> [snip]
>>> Is it correct that these are not considered "reader macros"?
On Jan 21, 2009, at 11:33 AM, Tom Ayerst wrote:
> If you are an emacs fan I am told Clojurebox, no contest.
If you already use Emacs but aren't sure how to get Clojure support
setup, Bill Clementson has plenty of helpful posts:
http://bc.tech.coop/blog/081023.html
http://bc.tech.coop/blog/0812
On Jan 17, 2009, at 5:03 PM, Stuart Sierra wrote:
>
> On Dec 31 2008, 5:16 am, lpetit wrote:
>> I re-read my original post, and it seems clear to me : I stated I
>> wish
>> to embed swank-clojure files into clojure-dev plugin.
>
> I do not see a conflict here, provided you do not modify swank
On Jan 17, 2009, at 1:47 PM, Peter Wolf wrote:
>
> Sure, good idea. I'm in!
>
> As a first cut, I think we need to separate those tools written in JVM
> languages (Clojure/Java) and those written in something else.
>
> I certainly think the JVM based projects can, and should, share
> components.
On Jan 16, 2009, at 9:40 PM, larry wrote:
>
> I'm calling a java static method Play.midi in JMusic from Clojure
> REPL.
> After it plays the notes and says: "completed MIDI playback", the
> Clojure REPL quits.
> How do I keep the Clojure REPL from quitting after making this call to
> Java?
JMus
On Jan 16, 2009, at 2:46 PM, Greg Harman wrote:
>
> As I chew on this, a couple of things don't sit right with me
> regarding use cases:
>
> 1. IMHO gen-class should fail with an appropriate message/exception
> rather than trying to "fix" the signature. This is what the Java
> compiler would do
On Jan 15, 2009, at 10:51 AM, Chouser wrote:
>
> On Mon, Jan 12, 2009 at 10:58 PM, aria42 wrote:
>>
>> Couldn't it have access to the other bindings so far like let? And
>> then just have the order of options reflect the partial order induced
>> by dependency? So is this possible...
>>
>> (with
Mark,
This looks great! Thanks for writing and sharing.
-Matt
On Jan 12, 2009, at 11:45 PM, Mark McGranaghan wrote:
>
> Hi All,
>
> I'm happy to announce the alpha release of 'Ring', a library inspired
> by Python's WSGI and Ruby's Rack for developing web applications in
> Clojure.
>
> I've m
http://clojure.org/vars#toc1
On Jan 12, 2009, at 9:42 PM, e wrote:
> what is "set!"? I don't see that in the api
>
> On Mon, Jan 12, 2009 at 5:24 PM, BerlinBrown
> wrote:
>
> Here is an example SWT application. It is a 'search' tool. Open a
> file and the search term is highlighted. It has
On Jan 8, 2009, at 8:55 AM, Rich Hickey wrote:
>
>
>
> On Jan 8, 7:26 am, Konrad Hinsen wrote:
>> On 08.01.2009, at 11:22, Mark Engelberg wrote:
>>
>>> So my blog post has a dual purpose. First, I explain the "gotcha"
>>> that Stuart and I discussed. Second, I report back to the community
>
On Dec 30, 2008, at 9:13 PM, CuppoJava wrote:
>
> Thanks Matt,
> I was actually hoping for you to reply. I found one of your earlier
> posts mentioning that you got JME working properly interactively with
> the REPL.
>
> Unfortunately, your solution didn't seem to work. I seem to be having
> the
On Dec 30, 2008, at 5:53 PM, CuppoJava wrote:
>
> Hi,
> I'm just noticing some subtle threading problems when running a Jme
> application from the REPL within inferior-lisp mode Emacs.
>
> For instance this works:
>
> (. jmetest.renderer.TestArrow main nil)
>
> But this doesn't: (attempting to e
On Dec 29, 2008, at 10:45 AM, Mark Volkmann wrote:
>
> On Mon, Dec 29, 2008 at 5:44 AM, Mark Volkmann
> wrote:
>
>> I would like to produce a version of the snake code that could serve
>> as an example of the kind of code that the Clojure community thinks
>> is
>> "good". Unless it's part of a
On Dec 18, 2008, at 4:35 PM, Michael Reid wrote:
>
> For what its worth, I've had a similar setup working on Mac OS X 10.5:
>
> Aquamacs
> SLIME
> jogl-1.1.1
>
> I'm pretty sure I'm running Java 1.6 (can't check now). I had no
> issues with hangs. Perhaps QT is the bad ingredient.
I'm thinking t
On Dec 9, 2008, at 10:03 AM, Rich Hickey wrote:
>
>
>
> On Dec 9, 12:24 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> The attached patch adds :super-methods option to generate-class as a
>> map, {local-name [name [param-types] return-type], ...}. The
>> me
ss_expose-super-methods.diff
Description: Binary data
On Dec 8, 2008, at 10:59 AM, Rich Hickey wrote:
>
>
>
> On Dec 8, 9:30 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> I'm working on a patch to add support for calling the superclass'
>> implementati
> On Dec 8, 9:30 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> I'm working on a patch to add support for calling the superclass'
>> implementation of a method when overriding a method in Clojure with
>> ns/:genclass. This looks like it requires a
I'm working on a patch to add support for calling the superclass'
implementation of a method when overriding a method in Clojure with
ns/:genclass. This looks like it requires a modification of the
InstanceMethodExpr class in clojure.lang.Compiler. The proposed
syntax would be: (. super/
4 PM, Rich Hickey wrote:
>
>
>
> On Dec 1, 2:57 pm, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> Yes, this again. Now that we have AOT, I wanted to revisit
>> supporting
>> the exposing of inherited protected fields that originate from
>> fa
ields.diff
Description: Binary data
On Dec 1, 2008, at 3:44 PM, Rich Hickey wrote:
>
>
>
> On Dec 1, 2:57 pm, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> Yes, this again. Now that we have AOT, I wanted to revisit
>> supporting
>> the exposing of inherited pro
Rich,
Will make the change and resubmit tonight or tomorrow night. Having
computer issues this evening.
-Matt
On Dec 1, 2008, at 3:44 PM, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
>
>
> On Dec 1, 2:57 pm, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> Yes, this a
Yes, this again. Now that we have AOT, I wanted to revisit supporting
the exposing of inherited protected fields that originate from farther
up the hierarchy chain than the super class.
Attached is a patch against SVN revision 1133.
I promise to never bring this up again. =)
-Matt
--~--~
On Nov 23, 2008, at 2:30 PM, Stuart Sierra wrote:
>
> On Nov 22, 3:57 pm, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
>> But... what are we thinking? Along the lines of Rich's suggestion the
>> other day... I'm thinking we should stick to the very simple
>> Compile.java to solve the bootstra
I also made updates to support the doto change, if git is easier for
you then pull from git://github.com/mattrepl/swank-clojure.git
-Matt
On Nov 19, 2008, at 1:30 PM, Stephen C. Gilardi wrote:
> On Nov 19, 2008, at 1:15 PM, Mike Hinchey wrote:
>> Clojure svn 1110 does work with latest swank-c
On Nov 18, 2008, at 9:42 AM, Raffael Cavallaro <[EMAIL PROTECTED]
> wrote:
>
>
>
> On Nov 18, 1:46 am, "Cosmin Stejerean" <[EMAIL PROTECTED]> wrote:
>
>> What kind of bugs are acceptable for the
>> purpose of a known good combination? Is slime starting up sufficient?
>
> It's a whole lot bett
+1
On Nov 18, 2008, at 8:27 AM, blackdog <[EMAIL PROTECTED]> wrote:
>
>
> +1
>
> On Tue, 18 Nov 2008 04:54:22 -0800 (PST)
> David <[EMAIL PROTECTED]> wrote:
>
>>
>> I'm not in favour of slangish derivatives. They're good for code-
>> names, but when you get serious, a silly name is an obstacle.
On Nov 17, 2008, at 3:08 PM, "J. McConnell" <[EMAIL PROTECTED]> wrote:
>
> I'm liking projecture
+1, at least from those options.
Is the project site going to be more similar to the Python package
index and CLiki or Sourceforge?
I still think keeping the site focused on providing an index of
I like it and Obj-C inspired syntax on the JVM is cosmic justice.
On Nov 17, 2008, at 2:37 PM, "Stephen C. Gilardi" <[EMAIL PROTECTED]>
wrote:
>
> On Nov 17, 2008, at 9:51 AM, Rich Hickey wrote:
>> main now needs to be called -main, as all methods will be defined
>> with leading -.
>
> Seei
On Nov 16, 2008, at 2:40 PM, Peter Wolf <[EMAIL PROTECTED]> wrote:
>
> This is for the other NOOBs...
>
> Apparently to use SLIME with Clojure, you need to install a Common
> Lisp.
This is not the case.
>
>
> I assumed that SLIME was written in EMACS Lisp, but apparently not.
> In
> his Bl
ot;Graham Fawcett"
<[EMAIL PROTECTED]> wrote:
>
> On Sat, Nov 8, 2008 at 12:03 PM, Matt Revelle <[EMAIL PROTECTED]>
> wrote:
>>
>> If marking SVN revisions and/or release versions is something we
>> still
>> want and want automated, it n
On Nov 10, 2008, at 9:46 AM, "Graham Fawcett"
<[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I haven't been bitten by the "do not use" revisions, R1089 onward, but
> it seems that others have.
>
> I'm just curious why the team decided not to use a branch for these
> breaking changes, and mergin
If marking SVN revisions and/or release versions is something we still
want and want automated, it now looks like using the build tool is the
only way to go. The example I sent earlier to the list includes the
creation of a "versioninfo" file from the build script which is then
read and s
I'm in a rush and need to clean this up, but here's something that
works:
Index: build.xml
===
--- build.xml (revision 1088)
+++ build.xml (working copy)
@@ -11,6 +11,7 @@
+
uot;
task in the build file smart enough to determine which, if any, should
be used for requesting the version. The other option is to add a
commit hook that will update the contents of some file with the
current revision. The latter option is starting to sound better.
>
>
> On Fri,
I'm just finishing up an addition to the build script that executes
"svnversion" and stores the result in a "versioninfo" file that would
be placed in the clojure.jar file and the value stored in a *version*
var in boot.clj.
If someone is building from source, I think we can assume they hav
On Nov 5, 2008, at 3:01 PM, Peter Wolf wrote:
>
> I just browsed Stuart's wonderful book. Lots of great stuff, which I
> will enjoy working though
>
> However, I didn't find a section that talks about how to do
> non-functional stuff in Clojure. Might be a good section to add for
> N00Bs
>
>
On Nov 5, 2008, at 12:56 PM, bc wrote:
>
> Since nobody else has mentioned it, I thought people on this group
> would be interested to know that Stuart Halloway's new Clojure book
> "Programming Clojure" is now available. I've also announced it on my
> blog:
> http://bc.tech.coop/blog/081105.htm
On Nov 3, 2008, at 4:09 PM, Paul Stadig wrote:
>
> Hey Drew,
> I'd like to see this come to fruition, and help administer if needed.
I'll volunteer some time to help admin as well.
>
>
> Coming from Ruby (most recently) I may have a Ruby bias, but I think
> that RubyForge has been a great boon
On Nov 3, 2008, at 9:35 PM, Mark H. wrote:
>
> On Nov 3, 5:39 pm, "Paul Stadig" <[EMAIL PROTECTED]> wrote:
>> Could/Should the max function be modified to work against the
>> Comparable interface instead of expecting its arguments to be
>> numbers?
>>
>> I'm working with a sequence of strings
Rich,
I submitted a patch that adds support for exposing protected fields
inherited indirectly through the super class in gen-class. No problem
if it's unwanted, but would be good to know either way. Suppose the
original message should've had "patch" in the subject line; it's
"exposing ancestra
The previously attached patch didn't make find-field private, sorry about that.
genclass_find-field.patch
Description: Binary data
The gen-class function supports generation of getter/setter functions
for protected fields of the super class, but as currently implemented
it does not support exposing protected fields declared further up the
class hierarchy.
The attached patch adds a private find-field function to genclass
DVCS confusion.
Jeff's repository is canonical for swank-clojure and clojure-mode and
only folks working on those projects will likely be interested in
other repos.
On Oct 3, 2008, at 7:22 AM, "Paul Stadig" <[EMAIL PROTECTED]> wrote:
> I figured it out. It was user error. I was up-to-date w
rences a field, priv, that is not protected
[Thrown class java.lang.Exception]
The patch can be found in the group's files section as "exposers-
hierarchy-traversing.diff".
My CA went out today.
-Matt
On Sep 16, 2008, at 1:06 PM, Rich Hickey wrote:
>
>
>
>
On Sep 16, 2008, at 1:06 PM, Rich Hickey wrote:
>
>
>
> On Sep 16, 11:12 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
>> Rich,
>>
>> Should I send in a CA and add ancestry verification and error
>> handling
>> or is this an unacceptable change
Rich,
Should I send in a CA and add ancestry verification and error handling
or is this an unacceptable change?
-Matt
On Sep 15, 12:22 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
> I modifed clojure/genclass to support adding exposer methods for
> protected fields in classes h
t;
> This is what I have now in my .emacs:
>
> (require 'clojure-mode)
> (require 'clojure-auto)
> (require 'swank-clojure-autoload)
>
> (setq swank-clojure-jar-path )
>
> When I start emacs - I get an error
>
>
>
>
>
>
> -
om: "Alexey Goldin" <[EMAIL PROTECTED]>
> To: "Clojure"
> Sent: Saturday, September 13, 2008 10:34:24 AM GMT +05:30 Chennai,
> Kolkata, Mumbai, New Delhi
> Subject: Re: clojure rant
>
>
> Oh. Thanks, will try right now. I am doing this on Friday night a
On Sep 10, 2008, at 2:40 PM, Rich Hickey wrote:
>
> As we rapidly approach 500 members on the group (!) I thought it would
> be a good time to conduct another poll:
>
> What are you doing with Clojure?
>
Building a system for defining and manipulating movement of rigid
limbs. That involves v
On Sep 3, 2008, at 4:59 PM, Chouser wrote:
>
> On Wed, Sep 3, 2008 at 4:36 PM, Stephen C. Gilardi
> <[EMAIL PROTECTED]> wrote:
>> I have been thinking recently that "(:refer ...)" would make a good
>> supported reference argument. Instead of "(:refer-clojure ...)", I
>> suggest
>> "(:refer .
Chas,
Did that edge case ever come up on the list? If not, would you mind
sharing now?
-Matt
On Sep 3, 2008, at 1:46 PM, Chas Emerick wrote:
>
> We've not gone to production with Clojure code yet, but that day is
> fast approaching. Every indication is that it's "ready for prime
> time", a
77 matches
Mail list logo