On Fri Aug 3 16:50 2012, dgrnbrg wrote:
> I ended up digging deep through gen-class, and I learned about an
> interesting, undocumented feature that solves this problem:
>
> You can, in fact, overload methods of the same arity on type, and here's
> how:
>
> Each method you define in gen-class
This is fantastic! I just watched several live-coding Impromptu demos
yesterday and this definitely takes the cake :)
(Also I didn't realize that Overtone had support for graphics now. Good to
know!)
Really need to dive back in to Overtone some time soon. Keep up the good
work.
Cheers,
Robert
I ended up digging deep through gen-class, and I learned about an
interesting, undocumented feature that solves this problem:
You can, in fact, overload methods of the same arity on type, and here's
how:
Each method you define in gen-class tries to lookup a corresponding var in
the impl-ns of
On Thu, Jul 19, 2012 at 7:09 AM, David Nolen wrote:
> On Wed, Jul 18, 2012 at 10:12 PM, Richard Lyman
> wrote:
>> All,
>>
>> There's not much code, and (sadly) not much documentation, but what's
>> there needs some performance love.
>>
>> https://github.com/richard-lyman/amotoen
>>
>> Notes:
>>
BG, how come I need to dig so often in the
urban dictionary about the acronyms in your emails ?
I am starting to worry about my potential obsolescence... :)
Luc P
> ROFLMAO!
>
> Sent from phone. Please excuse brevity.
> On Aug 3, 2012 6:05 PM, "Michael Fogus" wrote:
>
> > The revenge of octal
On Thu Aug 2 16:41 2012, David Greenberg wrote:
> Hi Clojurians,
> I'm finding myself far down the rabbit hole of gen-class. I am trying
> to generate a class that has a bunch of static methods, and each of
> those methods has many overloads of arities and types. Unfortunately,
> there is no inter
On 03/08/12 14:21, Marshall T. Vandegrift wrote:
Daniel Silén writes:
If I rebind a var's value it receives the new value - but it shouldn't,
because it is in another thread, right?!
Clojure 1.3 introduced a feature known as "binding conveyance," which
causes the functions passed in for futur
Daniel Silén writes:
> If I rebind a var's value it receives the new value - but it shouldn't,
> because it is in another thread, right?!
Clojure 1.3 introduced a feature known as "binding conveyance," which
causes the functions passed in for futures and agent actions to be
wrapped so as to cap
`future`
[https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L6173]
uses `binding-conveyor-fn`
[https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L1813]
inside to keep the original thread binding frame while calling the
function in a new thread.
Creating
ROFLMAO!
Sent from phone. Please excuse brevity.
On Aug 3, 2012 6:05 PM, "Michael Fogus" wrote:
> The revenge of octal! I believe there is a patch for this on master
> and I may have gone out in the latest CLJS push.
>
> --
> You received this message because you are subscribed to the Google
>
The revenge of octal! I believe there is a patch for this on master
and I may have gone out in the latest CLJS push.
--
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
It looks to me like the future sees the re-binding whereas the native
thread does not! Like you, I'd expect the same behaviour from these 2
lines...Can anyone shine some light on this? I'm suspecting it has
something to do with the thread pooling that is going on but I've got
nothing to base th
Hi!
I am new to the language, and at the moment playing around with
concurrent-constructs as presented in a series on Clojure concurrency at
pluralsight.com (by Chraig Andera).
When playing with thread-local redefinitions of vars via the binding-macro,
I found an unexpected behavior:
A future i
Any updates Kushal Pisavadia on Websockets and Ring jiving?
On Monday, March 19, 2012 9:40:20 AM UTC-3, Kushal Pisavadia wrote:
>
> I am in discussion with James, but it's very high-level at the moment and
> no work has been done on integration yet.
>
> I don't think it'll get into the next tagge
I use Ryan solution too with image rendering instead of calling repaint.
One remark : the Graphic class display looks better than the Graphic2D
class. I have superposition and refreshing, and in my case i got this.
Thanks Ryan !
Le dimanche 25 juillet 2010 18:22:45 UTC+2, Mate Toth a écrit :
>
Hi,
I have a strange issue here with certain timestamps:
#inst "2012-07-25T17:55:00.000-00:00"
does work.
#inst "2012-09-25T17:55:00.000-00:00"
gives: Error: Assert failed: timestamp month field must be in range 1..12
Failed: 1<=0<=12 (<= low n high)
August and September are broken, it seem
I've had a devil of a time getting labrepl working in my environment. It is
actually working on my macbook pro, but I have had no success getting it to
work on my desktop mac. At first I had a ton of trouble getting it to
operate on a different port than 8080. Just changing the port number
defi
On Tuesday, July 31, 2012 11:48:14 AM UTC-4, David Nolen wrote:
>
> A much shorter version using an everyo goal I just landed in master:
>
> http://gist.github.com/3217582
>
> David
>
That is awesome.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group
Hi,
I'm using brew's lein (1.7.1) on Mac OS X and noticed that if I do lein
search time the index
file http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip
is looked for but the closest file on that site
is http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.gz
Hi everyone,
for those interested, I just put up a screencast of a performance I did with
Overtone on Friday the 27th of July at the Arnolfini art gallery in Bristol, UK:
https://vimeo.com/46867490
The screen resolution is a little odd as I mirrored my display to that of the
projector. Also, t
David Greenberg writes:
> I can easily generate a map from signatures to implementations, but I
> need to generate the class with all the overloads.
>
> Is there any way to do this? Should I resign myself to writing out a
> .java file, and compiling that?
In my experience just writing a stub Jav
21 matches
Mail list logo