Re: Design Composition and Performance

2013-09-04 Thread Sam Aaron
On 3 Sep 2013, at 18:39, Stan Dyck wrote: > (Not giving up on emacs-live tho. Can we wire on a theremin somehow in the > next release?) I already have prototypes of wiring in MIDI controllers directly to values in arbitrary Emacs buffers. It wouldn't be hard to switch to using a Leap Motion

Re: Design Composition and Performance

2013-09-03 Thread Sam Aaron
On 3 Sep 2013, at 17:34, Tim Visher wrote: > What talk was this? http://www.infoq.com/presentations/Design-Composition-Performance Sam --- http://sam.aaron.name -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send emai

Re: IDE feature

2013-08-08 Thread Sam Aaron
On 8 Aug 2013, at 16:29, Tim Daly wrote: >> Find me a person who fluently used paredit that stopped and reverted back to >> manual parenthesis manipulation. > > /me raises my hand. > > Structural editing was useful in LispVM (on IBM mainframes) where the > display was 12 lines by 40 character

Making Music with Clojure: Meta-eX

2013-08-08 Thread Sam Aaron
Hey everyone, I just thought I'd give you a heads up of what I'm currently doing with Clojure and Overtone within the music space. I gave a talk at a music tech conference in London a good few months ago and they just put the video online: https://www.youtube.com/watch?v=zJqH5bNcIN0 It's a pre

Re: IDE feature

2013-08-08 Thread Sam Aaron
Haha, I come back to this list after a good few months of not being able to keep up with the volume to find a rant about paredit - priceless! Seriously though, these things are all personal and as such clearly get people's backs up. So for what it's worth, let me throw my thoughts in... I would

Meta-eX: Hacking Overtone on the Stubnitz - Thurs 16th May

2013-05-13 Thread Sam Aaron
Hey everyone, You've heard of people live coding Clojure examples as part of their talks. Heck, you've probably even seen Stuart Halloway jam on Chris Ford's Bach composition in the new O'Reilly lecture series "Clojure Inside Out". However, that's just warm-up material... Come and jump aboard

Re: LambdaNext Clojure Workshop - London May 20-22 2013

2013-05-09 Thread Sam Aaron
, Sam Aaron wrote: > Are you interested in becoming a professional Clojure programmer? Want > to jumpstart your knowledge or simply take things to the next level? The > LambdaNext team is holding a Clojure workshop in London, May 20-22 2013. > > Come join us! > http://lambdane

LambdaNext Clojure Workshop - London May 20-22 2013

2013-04-15 Thread Sam Aaron
Are you interested in becoming a professional Clojure programmer? Want to jumpstart your knowledge or simply take things to the next level? The LambdaNext team is holding a Clojure workshop in London, May 20-22 2013. Come join us! http://lambdanext.eu * An intensive learning experience The wor

Re: [ANN] Overtone 0.8.0 - "Performance Ready"

2013-01-26 Thread Sam Aaron
On 26 Jan 2013, at 20:17, Sam Aaron wrote: > I pulled out the GUI widgets from this release as I found a number of issues > with them at the last minute and want them to be super stable and polished > when we release them. I should also say that these GUI widgets are currently in t

Re: [ANN] Overtone 0.8.0 - "Performance Ready"

2013-01-26 Thread Sam Aaron
ton/.m2/repository/overtone/overtone/0.8.0-RC20/overtone-0.8.0-RC20.jar > 2492 Thu Jun 28 15:32:38 EDT 2012 overtone/gui/mixer.clj > 9065 Fri Jan 18 23:40:54 EST 2013 overtone/studio/mixer.clj > /Users/cpennington/.m2/repository/overtone/midi-clj/0.5.0/midi-clj-0.5.0.jar > /User

[ANN] Overtone 0.8.0 - "Performance Ready"

2013-01-26 Thread Sam Aaron
Hi everyone, In case you were wondering how you might raise your spirits now that Christmas is well and truly over - I have the answer! Overtone 0.8 is here and is ready to bring joy to you all! We've been working hard for 7 long months on this release and things are really starting to shine.

Re: Particle system with Quil

2012-08-26 Thread Sam Aaron
Truly outstanding work! Things like this really make me feel warm and fuzzy inside and more than justify all the hard work that goes into libraries like Quil. Please keep making beautiful things. Sam --- http://sam.aaron.name On 26 Aug 2012, at 04:17, meteorfox wrote: > I've been working in

Re: [ANN] Leiningen 2.0.0-preview9 released

2012-08-25 Thread Sam Aaron
Awesome, thanks. On 25 Aug 2012, at 21:52, Phil Hagelberg wrote: > Phil Hagelberg writes: > >> Sam Aaron writes: >> >>> I'm having a problem upgrading due to SSL certificate issues >>> >>> (I'm running OS X 10.8.1) >> >&g

Re: [ANN] Leiningen 2.0.0-preview9 released

2012-08-25 Thread Sam Aaron
I'm having a problem upgrading due to SSL certificate issues (I'm running OS X 10.8.1): λ lein upgrade The script at /Users/sam/bin/lein will be upgraded to the latest preview version. Do you want to continue [Y/n]?

Re: Rich added set-agent-send(-off)-executor! and send-via functions

2012-08-17 Thread Sam Aaron
On 17 Aug 2012, at 18:35, mnicky wrote: > I have some great news: > https://github.com/clojure/clojure/commit/f5f4faf95051f794c9bfa0315e4457b600c84cef > :) I can totally understand send-via, but set-agent-send-executor! and set-agent-send-off-executor! feel dangerous to me like Ruby used to

Overtone - Actual Music!

2012-08-15 Thread Sam Aaron
Hey everyone, sorry, I couldn't resist posting this, but I'm getting real close to making decent music with Overtone now, and I just wanted to share with you where I'm at: https://vimeo.com/47578617 I think the coolest thing about this is that what you see in the screencast is something you c

Functional Composition (with Overtone)

2012-08-08 Thread Sam Aaron
Hey everyone, Chris Ford gave a talk on functional composition with Overtone in London recently and it's now online: http://skillsmatter.com/podcast/home/functional-composition Chris really delivers a beautifully paced introduction to a huge range of fundamental musical concepts through the "t

Re: Overtone - Live @ Arnolfini

2012-08-08 Thread Sam Aaron
On 7 Aug 2012, at 15:16, Roberto Mannai wrote: > > Interesting, I guess the monome is hooked by: > (def m (poly/init "/dev/tty.usbserial-m64-0790")) > And the incoming events by (poly/on-press... Etc > Yes, although in the future all the monome events will be sent directly to Overtone's event

Re: Overtone - Live @ Arnolfini

2012-08-08 Thread Sam Aaron
On 7 Aug 2012, at 15:16, Roberto Mannai wrote: > > Interesting, I guess the monome is hooked by: > (def m (poly/init "/dev/tty.usbserial-m64-0790")) > And the incoming events by (poly/on-press... Etc > Yes, although in the future all the monome events will be sent directly to Overtone's event

Re: The 2012 'State of Clojure' survey is open

2012-08-07 Thread Sam Aaron
Wow, great work Chas - this is hugely valuable. >From a personal perspective, I'm massively encouraged by the fact that Music >and Graphics/Art were domains that people could specifically choose in this >year's questionnaire and that they received 6 and 8% respectively. I'm going to make it a p

Re: Overtone - Live @ Arnolfini

2012-08-07 Thread Sam Aaron
On 7 Aug 2012, at 08:21, Roberto Mannai wrote: > +1. The piano composition is reminescent of some Gurdjieff/De Hartmann music. The piano piece was composed by Erik Satie - I simply played my own interpretation of the timings on the monome. Sadly, you can't see that part on the video, but I wa

Re: Overtone - Live @ Arnolfini

2012-08-05 Thread Sam Aaron
On 4 Aug 2012, at 17:23, Tom Maynard wrote: > Bravo! Standing ovation. Technical difficulties be d*mned, that was a > spectacular exhibition. I was reminded of a live premiere performance by > Karlheinz Stockhausen that I attended at the NASA auditorium in Galveston, > Texas, USA years ag

Re: Overtone - Live @ Arnolfini

2012-08-04 Thread Sam Aaron
ow!) > > Really need to dive back in to Overtone some time soon. Keep up the good work. > > Cheers, > Robert > > On Friday, August 3, 2012 3:47:50 AM UTC-7, Sam Aaron wrote: > Hi everyone, > > for those interested, I just put up a screencast of a performance I did wi

Overtone - Live @ Arnolfini

2012-08-03 Thread Sam Aaron
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

Mini Beast - Overtone + Quil

2012-07-04 Thread Sam Aaron
Hi everyone, Aaron Santos just dropped a rather quiet email to the Overtone mailing list announcing something called Mini Beast which he built with Clojure, Overtone and Quil: https://github.com/aaron-santos/mini-beast This thing is seriously cool and really is the tip of the iceberg w.r.t. th

Re: Java 7 & GC Settings

2012-07-03 Thread Sam Aaron
Hi Bruce, at the bottom of this file you can see the options we use in Overtone to try and reduce latency (i.e. we're not so worried about throughput, but are trying to minimise the occurrence of long GC pauses) https://github.com/overtone/overtone/blob/master/project.clj Sam --- http://sam.a

Overtone 0.7

2012-06-26 Thread Sam Aaron
Hi all, I just thought I'd give you a quick heads up that Overtone 0.7 has been released. It represents around 6 months worth of solid work (~500 commits) and we're really rather pleased with how far we've come. I'm especially pleased to welcome our new committers. Without these people (and al

Re: reloading protocols causes problems

2012-06-19 Thread Sam Aaron
It seems that guarding the protocol declarations inside of a defonce does the job nicely, although it is a big fugly. It's not too bad a trade-off though, because we rarely, if ever, want to change a protocol definition live. My main concern is that it wasn't obvious what was breaking Overtone d

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
On Monday, 28 May 2012 at 22:05, john wrote: > just wondering what does https://github.com/aim-stuff/cmd-key-happy buy you > since xterm2 allows you two switch cmd-key to alt-key? cmd-key-happy allows you to redefine key behaviour for arbitrary apps, so you can swap keys for Terminal.app, Emacs.

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
On Monday, 28 May 2012 at 17:59, James wrote: > Regarding Slime and Swank: I guess I don't yet understand the Clojure > distinction between "project" and "file". I've got an absolutely > trivial file that I want to test out, but it looks like Swank expects > there to be a "project.clj". (I opene

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
Hi John, first of all, you probably should create your own user pack for this stuff, rather than forking Emacs Live itself - that way you get to take advantage of updates with ease. Secondly, terminals, options keys, meta, OS X, is a tricksy mix. I use command key happy https://github.com/aim

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-28 Thread Sam Aaron
Hey James, feedback like this is invaluable - thanks very much for taking the time to write it. It is true - using Emacs is *not* a smooth experience. I've tried to bake in a good number of years experience getting Emacs to work smoothly into Emacs Live, and whilst I don't claim it to be 'smo

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Sam Aaron
On Sunday, 27 May 2012 at 17:48, James wrote: > Hi Sam, Emacs Live looks seriously cool, wonderful! Thanks for the kind words > however I have doubts about this: > > "Emacs live has only been tested with a terminal hosted Emacs > 24.1.50.2 (pre-release). Issues and pull-requests for this and

Re: Issues with installing clojure-mode on Mac in Emacs

2012-05-27 Thread Sam Aaron
Take a look at the guts of Emacs Live: http://github.com/overtone/emacs-live in particular, check out the Clojure pack: https://github.com/overtone/emacs-live/tree/master/packs/live/clojure-pack It doesn't use the Emacs package manager either, opting to put external files in a lib directory.

Re: how to get good at clojure?

2012-05-11 Thread Sam Aaron
In addition to following up on all the great suggestions above, I'd hack about with Quil; it's a lot of fun and you'll get instant feedback. You'll also very quickly run into the fun that is juggling pure fns, lazy sequences and orchestrating side effects (to sketch stuff). http://github.com/q

Re: Clojure-Specific Emacs Environment

2012-04-27 Thread Sam Aaron
Fantastic work Tim. I think this can be a really important part of the future for Clojure hacking with Emacs. Let us know how you get on. Sam -- http://sam.aaron.name On Thursday, 26 April 2012 at 15:27, Tim King wrote: > I have been working on a fork of Phil's nrepl.el for the past few nig

Re: [ANN] Quil 1.0.0

2012-04-12 Thread Sam Aaron
amany Imara wrote: > Where's the best place to ask questions or get help using quill? I have a > question about drawing stuff to the screen that I don't think is really a > bug, just lack of knowledge on my part. > > On Saturday, April 7, 2012 10:17:06 AM UTC-7, Sam Aaron wrot

Re: [ANN] Quil 1.0.0

2012-04-07 Thread Sam Aaron
On 7 April 2012 16:20, Changa Damany Imara wrote: > Very excited to see this. Thanks so much! No need to thank me - thank Roland Sadowski for writing clj-processing in the first place. I just did a spot of spring cleaning :-) Sam --- http://sam.aaron.name -- You received this message because

[ANN] Quil 1.0.0

2012-04-07 Thread Sam Aaron
Hello there dear Clojure friends, TL;DR - Rejoice, for Quil 1.0.0 has been released. https://github.com/quil/quil I'm sure you all know this, but programming doesn't just have to be for businesses to make money by optimising processes. Yeah, of course you knew that already. Silly me for repeating

Re: ANN: Seesaw 1.4.0

2012-03-06 Thread Sam Aaron
Awesome stuff! Great work... Sam --- http://sam.aaron.name On 6 Mar 2012, at 03:05, Dave Ray wrote: > Hi, > > Seesaw 1.4.0 is out now. The release notes [1] have highlights of all > the changes since 1.3.0. Note there are two breaking changes in the > API. I believe the impact of these changes

Re: ANN: Clojure 1.4.0-beta1

2012-02-03 Thread Sam Aaron
On 3 Feb 2012, at 20:00, Cedric Greevey wrote: > > FWIW, the file seems to act like perfectly readable HTML in the > browser (surprisingly -- I was expecting something more like trying to > read raw HTML, with tags cluttering up everything, and no working > outbound links, since I didn't expect F

Re: ANN: Clojure 1.4.0-beta1

2012-02-03 Thread Sam Aaron
On 3 Feb 2012, at 19:26, Cedric Greevey wrote: > On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra > wrote: >> Starting with 1.3 there is a changes.md file in the Clojure source. > > I'm fairly sure the OP wants a human-readable, user-centric file he > can view by clicking a link or pasting a URL i

Re: ANN: Clojure 1.4.0-beta1

2012-02-03 Thread Sam Aaron
On 3 Feb 2012, at 15:47, Stuart Sierra wrote: > Also, if somebody wants to compile a list on the wiki of all the bug > fixes and changes since 1.3, that would be very helpful. Thanks! That would be wonderful (particularly if someone could post a link to that list on this mailing list). Not bein

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Sam Aaron
On 30 Jan 2012, at 17:07, daly wrote: > > The key result was that I discovered what I call my personal > "irreducible error rate". If I do 100 things I will make 3 errors. > This was independent of the task. So typing 100 characters has > 3 wrong letters which were mostly caught while typing. Wri

Re: New Version of ClojureScript One

2012-01-26 Thread Sam Aaron
On 25 Jan 2012, at 22:27, Brenton wrote: > ClojureScript will continue to change rapidly. We are already > depending on a newer version than the one in Maven. Also, I don't > think that Domina has a release yet. > > For times when we only need a source dependency and only at > development time,

Re: [ANN] New Version of ClojureScript One

2012-01-25 Thread Sam Aaron
Very nice :-) I've got some quality code reading ahead of me... One quick question - why do you still rely on git checkouts of ClojureScript and Domina - especially now ClojureScript is available on maven? Sam --- http://sam.aaron.name On 25 Jan 2012, at 20:40, Brenton wrote: > We have releas

Re: Overtone on FLOSS Weekly

2012-01-11 Thread Sam Aaron
On 11 Jan 2012, at 09:22, Sam Aaron wrote: > you might be interested to know that I'm going to be talking about Overtone > and Clojure on FLOSS Weekly on Weds the 11th of Jan. The show is now available here: http://twit.tv/show/floss-weekly/197 Enjoy :-) Sam --- http://sma

Overtone on FLOSS Weekly

2012-01-11 Thread Sam Aaron
Hi all, you might be interested to know that I'm going to be talking about Overtone and Clojure on FLOSS Weekly on Weds the 11th of Jan. The show will be starting early this week (8.30am Pacific time/4.30pm GMT) due to a clash with CES. http://twit.tv/show/floss-weekly Should be a lot of fun,

Re: ANN: Seesaw 1.3.0

2011-12-21 Thread Sam Aaron
On 21 Dec 2011, at 13:10, Meikel Brandmeyer wrote: > Hi, > > Am 21.12.2011 um 13:56 schrieb Sam Aaron: > >> One approach to achieving that is to create a special type which represents >> the data and for which you also override the print-method. > > A simple app

Re: ANN: Seesaw 1.3.0

2011-12-21 Thread Sam Aaron
On 21 Dec 2011, at 12:42, Laurent PETIT wrote: > > As a tool builder, I'd also be interested if what is printed in *out* > by these functions could also be made available as pure data, so that > e.g. at some point in time, CCW could provide a specialized tabular > view to display (edit?) this in

Re: ANN: Seesaw 1.3.0

2011-12-21 Thread Sam Aaron
Hi Dave, very cool - I love that you're working on improving the explorability of the system. It's clearly a focus that REPL driven development emphasises and I hope we see more people working in this area. Sam --- http://sam.aaron.name On 21 Dec 2011, at 03:24, Dave Ray wrote: > Hi, > > I'

Overtone 0.6.0 - WIth auto-caching asset system

2011-12-19 Thread Sam Aaron
Hello everyone, 'tis the season to be jolly, therefore with the full festive spirit befitting of such an occasion, we bring you an early Christmas gift: Overtone 0.6.0. It's fresh on clojars[1] and also tagged on github[2] and, as always, we've updated the cheatsheet[3]. Now before we start, l

Re: How to attach debugger on clojure's repl ?

2011-12-03 Thread Sam Aaron
On 3 Dec 2011, at 14:03, Chris Perkins wrote: > On Friday, September 23, 2011 8:00:36 AM UTC-4, Sam Aaron wrote: > > > I'd be very happy to write up a "Getting Started" tutorial on the ritz wiki > if I can get things working. > > Sam > > (two month

Re: Avout: Distributed State in Clojure

2011-12-01 Thread Sam Aaron
On 1 Dec 2011, at 18:26, liebke wrote: > Just released Avout 0.5.2, which now includes automatic STM > initialization (no more pesky init-stm step). Ha, throw down the gauntlet, then beat me to it ;-) Great work, Sam --- http://sam.aaron.name -- You received this message because you are sub

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread Sam Aaron
t; > You only need to do it the first time, to set up the necessary zookeeper > nodes, it's described in the main tutorial but not the snippet on the top of > the avout site. > > David > > On Dec 1, 2011, at 12:15 PM, Sam Aaron wrote: > >> Hi David, >>

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread Sam Aaron
On 1 Dec 2011, at 17:21, David Edgar Liebke wrote: > Did you initialize the STM? > > (init-stm client) Works perfectly for me too. Perhaps it might help to add that to the example snippet to stop idiots like myself falling into that trap :-) Sam --- http://sam.aaron.name -- You received th

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread Sam Aaron
nd see if makes a difference? > > If you still see the problem, another diagnostic would be to create a ref > without an initial value, and see if that succeeds, then try setting the > value. > > (def r1 (zk-ref client "/r1")) > (dosync!! client (ref-set!! r1 0))

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread Sam Aaron
r0/" I get the "Path must not end with / > character" exception at a different point in the code, which is probably the > result of a patch I added to zookeeper-clj yesterday. > > Can you try deleting the zookeeper-clj jar file from your dependencies, > blowing ab

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread Sam Aaron
Hi David, I'm super excited by Avout. It seems *better* than magic in that it not only appears to make complicated things possible, but also in a conceptually transparent way. Crazy cool. I'm about to look into this in detail, but I thought I'd just post an issue I'm having with the basic exam

Re: Forcing computation

2011-11-15 Thread Sam Aaron
If you're only interested in the side effects of the computation and not the result say: (map #(println %) [1 2 3 4]) you can use dorun rather than doall as it doesn't retain the head (therefore requiring less memory). (dorun (map #(println %) [1 2 3 4])) Also, if you see yourself mapping ove

Re: Access to unzipped assets within jars

2011-11-05 Thread Sam Aaron
--- http://sam.aaron.name On 5 Nov 2011, at 14:03, Ben Smith-Mannschott wrote: > On Sat, Nov 5, 2011 at 14:42, Sam Aaron wrote: >> Hi there, >> >> consider there exists foo.jar on Clojars which contains a bunch of asset >> files i.e. png images. If I were to declare

Access to unzipped assets within jars

2011-11-05 Thread Sam Aaron
Hi there, consider there exists foo.jar on Clojars which contains a bunch of asset files i.e. png images. If I were to declare foo as one of my project's dependencies, is it possible to get access to those asset files? I essentially want a path to a non-zipped version of each asset. Sam --- h

Re: Problem passing a function into a function

2011-11-03 Thread Sam Aaron
Hi Andy, the issue you're having is that using the & for rest args captures the rest of the arguments as a seq. Therefore when you pass a fn as the final parameter to #'timed-agent, #'test-func is not bound to the fn you passed in but a seq containing that fn. You either need to pull out the fn

Re: R.I.P. John McCarthy

2011-10-25 Thread Sam Aaron
For those in fresh need of having their minds blown, this is always a good detonator: http://www.paulgraham.com/rootsoflisp.html Sam --- http://sam.aaron.name On 25 Oct 2011, at 04:58, finbeu wrote: > John McCarthy, the father of Lisp, died last night at the age of 84. > > -- > You received

Save your ears - use Overtone 0.5.0

2011-10-18 Thread Sam Aaron
'tis that time again when we jump around in celebration of the new and the crazy: Overtone 0.5.0 is out! Hip-hip-hooray! So, what's new? First up we have some fantastic new committers. Please give a warm welcome to: * Nick Orton * Kevin Neaton * Jowl Gluth * Chris Ford * Philip Potter In term

Re: Mailing List Decorum

2011-10-15 Thread Sam Aaron
Sorry, accidentally hit the send mail key combo! Here's the completed email... On 15 Oct 2011, at 23:14, Rich Hickey wrote: > > Your last bit confuses me. You certainly are making something > wonderful in, and for, Clojure with Overtone. I don't know where I > said or implied anything about the d

Re: Mailing List Decorum

2011-10-15 Thread Sam Aaron
ofar > as to say respect and consideration are ok, and a lack of them is not. > > Rich > > > On Oct 15, 4:57 pm, Sam Aaron wrote: >> Devlin, >> >> I totally agree with you :-) I read the core of the post in a similar >> fashion and I respect and agree

Re: Mailing List Decorum

2011-10-15 Thread Sam Aaron
of > implicit threat to ban opposing sides. > > My reading: Let's keep things constructive, productive, thoughtful, and > objective. Let's try to avoid discussions about what ought to happen and > focus more on doing it. > > -- > Devin > > > On Saturday,

Re: Mailing List Decorum

2011-10-15 Thread Sam Aaron
While I understand and respect the importance of focussing discussions to the making of things, surely there is more to a community communication substrate than this sole category of topic. Do these guidelines, therefore, attempt preclude threads such as the discussion on the possible impact o

Re: What happened to bignum support? (clojure 1.3.0)

2011-09-25 Thread Sam Aaron
Hi George, On 25 Sep 2011, at 22:25, George Kangas wrote: > >Previous versions would silently, automagically convert to bignums > and >give me the answer I wanted. Is clojure-1.3.0 too serious, > enterprisy, and >Java-like for this sort of thing? I found no clue in the list of > cha

Re: Overtone 0.4.0 - Clojure 1.3 ready

2011-09-25 Thread Sam Aaron
On 25 Sep 2011, at 17:55, Bruce Durling wrote: > > Is this the version you'll be covering at your talk at skillsmatter on > 3 October? Of course and perhaps other bits and bobs I develop between now and then :-) It should be a lot of fun. Sam --- http://sam.aaron.name -- You received this m

Overtone 0.4.0 - Clojure 1.3 ready

2011-09-25 Thread Sam Aaron
Hi everyone, given that Clojure 1.3 has recently gone GOLD (http://www.youtube.com/watch?v=n0pvFulUd98) I thought we should celebrate with a new version of Overtone with full Clojure 1.3 support. Overtone 0.4.0 is now on Clojars and tagged on Github. https://github.com/overtone/overtone/tree/0

Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Sam Aaron
On 23 Sep 2011, at 14:24, Hugo Duncan wrote: > > I've not actually tried running ritz from cake recently. Which version of > cake? 0.6.3 > > I've also not tried running with 1.3.0-RC0. I get the same issue (unknown task: ritz) with Clojure 1.2.0 > > I imagine this is some issue preventing

Re: How to attach debugger on clojure's repl ?

2011-09-23 Thread Sam Aaron
On 23 Sep 2011, at 06:14, Glen Stampoultzis wrote: > > > Ritz looks really nice the setup seems complicated. I haven't had much luck > setting it up unfortunately. Me neither. Here's the steps I took so far: * Cloned https://github.com/pallet/ritz to a tmp dir * Copied the slime dir inside

Re: Overtone 0.3 released

2011-09-14 Thread Sam Aaron
I should also mention that we have a cheat sheet too: http://cloud.github.com/downloads/overtone/overtone/overtone-cheat-sheet.pdf Thanks to Steve Tayon for such an excellent template. Sam --- http://sam.aaron.name On 13 Sep 2011, at 00:03, Sam Aaron wrote: > Hey everyone, > >

Overtone 0.3 released

2011-09-12 Thread Sam Aaron
Hey everyone, I've just pushed out a shiny new Overtone release to Clojars. Although it's only been a little over a month since the last release, there's been quite a lot of work committed that it definitely warranted a new number and a little release party! So update your music project depende

Re: Clojure in Emacs Seemingly Impossible

2011-09-11 Thread Sam Aaron
On 11 Sep 2011, at 22:42, kjeldahl wrote: > > I'm no expert, but if I had to choose between getting all output in a > file, or some output in the repl buffer and some in *swank*, I would > prefer the former (which is what I believe cake actually does). Used from within Emacs, cake places all out

Re: Clojure in Emacs Seemingly Impossible

2011-09-11 Thread Sam Aaron
On 11 Sep 2011, at 16:37, kjeldahl wrote: > I use Emacs for virtually everything, but have found that Emacs > +Clojure is less than idea when working with multiple threads (like > hosting and running a Jetty server). I believe this is mostly related > to how Java and Emacs+Slime handles input/out

Re: Clojure in Emacs Seemingly Impossible

2011-09-11 Thread Sam Aaron
Hi Curran, I made this video for hacking Overtone with Emacs: http://vimeo.com/25190186 However, Overtone can just be viewed as an example project - it's really just a description of how to get a working Clojure/Emacs setup. Sam --- http://sam.aaron.name On 10 Sep 2011, at 18:29, Curran wrot

Re: Swarming experiment at Conj?

2011-09-09 Thread Sam Aaron
On 8 Sep 2011, at 23:54, Phil Hagelberg wrote: > >> As he presented, I found myself thinking that a similar thing should be >> possible with 8 Emacs instances talking to one `lein swank` instance. > > Nah, you should do it with a single Emacs instance with 8 emacsclients > connected; that way

Re: Swarming experiment at Conj?

2011-09-09 Thread Sam Aaron
Hi Brian, This is something I'd be TOTALLY up for. Also, your setup description sounds very similar to the setup Jeff Rose and I use to jam and hack Overtone together. In fact, we went one step further and allowed both Emacs and Vim instances to communicate with the same shared JVM. All we nee

Re: generic math, comparator and arithmetic libs

2011-09-06 Thread Sam Aaron
On 6 Sep 2011, at 11:33, Konrad Hinsen wrote: > > I must assume that nobody read that message, as there should have been loud > complaints. There is obviously no difference in performance between = and > not=, as the result of either one is known as soon as one can decide equality > OR non-equ

fn with same name as ns

2011-09-05 Thread Sam Aaron
Hi there, The docstring for one of the Overtone ugens fns isn't printing correctly - it's returning an empty docstring. I discovered that that particular ugen has the same name as one of the namespaces that is visible at that scope. The fn is called osc and the namespace for sending and receivi

Re: generic math, comparator and arithmetic libs

2011-09-01 Thread Sam Aaron
On 1 Sep 2011, at 09:35, Alan Malloy wrote: > I don't see any reason for it to include !=, which can be implemented > as (not (= a b)). Conversely, <= could be implemented as (or (< a b) > (= a b)), but if either of those is expensive operations he gives you > a chance to do a more-optimized <=. T

Re: generic math, comparator and arithmetic libs

2011-09-01 Thread Sam Aaron
Hi Konrad, that's great news :-) Thanks for such a useful set of libraries. Oh, and whilst we're on the subject, is there any reason why generic.comparison doesn't include != Sam --- http://sam.aaron.name On 1 Sep 2011, at 08:29, Konrad Hinsen wrote: > On 31 août 11, a

generic math, comparator and arithmetic libs

2011-08-31 Thread Sam Aaron
Hi there, is anyone aware of any plans to move Konrad Hinsen's generic math, comparator and arithmetic libraries to new separate 1.3 contrib libs? * http://richhickey.github.com/clojure-contrib/generic.math-functions-api.html * http://richhickey.github.com/clojure-contrib/generic.arithmetic-api.

Re: JVM 7 support (invokedynamic)

2011-08-26 Thread Sam Aaron
Hey Tai, this is a brilliant report - thanks very much. Even though you haven't done anything but back up the assertions from Clojure/core, I find your report much more reassuring (from a personal perspective) than just blindly believing something. I think the Clojure community would benefit

Re: Video & Slides on Pattern Matching and Predicate Dispatch in Clojure

2011-08-19 Thread Sam Aaron
Awesome talk - thanks! I particularly enjoyed the sign behind you that says "Don't Panic!" - it helped keep me calm during the hairily complex parts :-) I really look forward to seeing where you go with this stuff… Sam --- http://sam.aaron.name On 18 Aug 2011, at 21:10, David Nolen wrote: >

Re: Another ClojureScript app in the wild

2011-08-18 Thread Sam Aaron
Very cool! Now the logic of pacman is in a form I can easily read :-) Out of interest, do you know why it only works in Chrome? Doesn't the closure library do any work to shield you from from the browser differences, or is it simply a performance issue with the Chrome js engine the only one oper

Re: osc-clj 0.5.0 - Open Sound Control for Clojure

2011-08-16 Thread Sam Aaron
Hey Nick, On 16 Aug 2011, at 13:57, cassiel wrote: > > Is this reachable via Lein/Maven? Absolutely. The 0.5.0 release is on Clojars, so you just need to add: [overtone/osc-clj "0.5.0"] to your project dependencies in project.clj for cake/lein. To get started with the lib, first up, check ou

osc-clj 0.5.0 - Open Sound Control for Clojure

2011-08-16 Thread Sam Aaron
Hi there, I just thought I'd announce quite a significant update to osc-clj. This is the first release that can claim to have full support for the OSC spec: http://opensoundcontrol.org/spec-1_0 The major new features are as follows: * Support for the timely dispatch of bundles scheduled for th

Re: [ANN] Lacij v.0.4.0

2011-08-12 Thread Sam Aaron
Great stuff. I need something like this to visually render the internal design of synths in Overtone. Keep up the great work, Sam --- http://sam.aaron.name On 11 Aug 2011, at 14:02, Pierre Allix wrote: > Hello, > > I'm pleased to announce the release of the version 0.4.0 of the Lacij > graph

at-at

2011-08-10 Thread Sam Aaron
Hi, I just wanted to announce the arrival of the newly-born at-at library - freshly extracted from Overtone: https://github.com/overtone/at-at at-at is an ahead-of-time function scheduler which essentially provides a friendly wrapper around Java's ScheduledThreadPoolExecutor. Enjoy! Sam ---

Re: ANN: Optimized Pattern Matching Library for Clojure

2011-08-09 Thread Sam Aaron
Wonderful. Baishampayan and Ambrose thanks so much for your fantastically lucid examples. I can totally see myself using this stuff. David and Ambrose, it's remarkable work - well done! Sam --- http://sam.aaron.name -- You received this message because you are subscribed to the Google Groups

Re: ANN: Optimized Pattern Matching Library for Clojure

2011-08-09 Thread Sam Aaron
Exciting stuff! Do you happen to have any simple descriptions/examples of where and how we might use this stuff in our daily programming repertoires? I for one am sure I'm not educated enough as to the value and utility of pattern matching - at the moment I just think "that looks cool" rather t

Overtone 0.2 released

2011-08-04 Thread Sam Aaron
Hi there, I just wanted to announce the release of Overtone 0.2. There's been a considerable amount of work behind this and we're rapidly moving towards having a super stable and robust musical platform that really pushes at the boundaries of what's possible with sound synthesis today. The off

Re: dynamically generated let bindings

2011-07-30 Thread Sam Aaron
Hi Ken, On 29 Jul 2011, at 22:02, Ken Wesson wrote: >> P.S. Thanks everyone for your help so far. My brain is overheating but I am >> learning a lot. > > You're welcome. > > To do what you're proposing you will probably need the emitted > function to look like: > > (fn [& args] > (let [foo (s

Re: dynamically generated let bindings

2011-07-29 Thread Sam Aaron
On 29 Jul 2011, at 12:56, Ken Wesson wrote: >>> >> >> That seems to blow up > > How so? (defn binding-vec [foos] (vec (interleave names (take (count names) (repeat `(count ~foos)) (defmacro magic-fn [& forms] (let [args (gensym 'args)] `(fn [& ~args] (let ~(binding-vec args)

Re: dynamically generated let bindings

2011-07-29 Thread Sam Aaron
On 29 Jul 2011, at 12:11, Ken Wesson wrote: > > Why not just (vec (interleave names (take (count names) (repeat > `(count ~foos)? > That seems to blow up: (defn binding-vec [foos] (vec (interleave names (take (count names) (repeat `(count ~foos)) (defmacro magic-fn [& forms] (let

Re: dynamically generated let bindings

2011-07-29 Thread Sam Aaron
Hi there, On 29 Jul 2011, at 10:05, Alan Malloy wrote: > > (defn binding-vec [foos] > ['size `(count ~foos)]) > > (defmacro magic-fn > [& forms] > (let [args (gensym 'args)] >`(fn [& ~args] > (let ~(binding-vec args) > ~@forms > > ((magic-fn (+ size 10)) 1 2) ;=> 12 Ac

  1   2   >