On 08/26/2012 07:12 PM, meteorfox wrote:
I just wanted to share a "live" performance with Newtonian and Quil.
I'm pretty sure that Sir Isaac would be proud to have his name
associated with something as remarkable as that. Well done!
Thank you for sharing that.
Tom.
--
You received this mes
Here's my output using the repl from leiningen 2 (nREPL)
user=> (use 'clojure.test)
nil
user=> (is (= "a" "b"))
FAIL in clojure.lang.PersistentList$EmptyList@1 (NO_SOURCE_FILE:1)
expected: (= "a" "b")
actual: (not (= "a" "b"))
false
user=>
It tells me both the expected and actual. What else ar
Hi,
It's probably better to ask on the seesaw mailing list [1] rather than
this more general list.
With the info you've given it's hard to tell, but I'd guess you're
setting the cursor and then doing a long-running operation in the UI
thread. When you do that, the cursor (and ui) is never updated
Hi,
http://youtu.be/xiqWclsXdcc
I just wanted to share a "live" performance with Newtonian and Quil. The
video has better frame rate than the first one, which shows better
the fluidity of the particles , I changed the colors of the particles and
also increased their size.
Instead of recording
I just use C-j instead of RET in the rare cases that I want to leave the
previous line alone.
On Sunday, August 26, 2012 4:15:54 PM UTC-7, frye wrote:
>
> Hey all,
>
>
> There'll probably be a quick solution to this. But I have emacs with
> clojure-mode installed. And it has this very annoying
Hi guys,
I'm starting to use clojure.test but when I got a failing test I don't get
any information why the error failed.
for example if I evaluate this in the repl I just get *false* back
(is (= "a" "b"))
running the tests with (run-tests) give me this result back:
{:type :summary, :pass 2, :
Hey all,
There'll probably be a quick solution to this. But I have emacs with
clojure-mode installed. And it has this very annoying behaviour of
re-indenting a bracket if I hit return on a line just abouve it. I took a
look around and thought this line (
in ~/.emacs.d/elpa//clojure-mode.el ) mig
Thanks, Tim! for a wonderful slime replacement :)
On Sunday, August 26, 2012 1:59:44 PM UTC+1, Tim King wrote:
>
> On Sat, Aug 25, 2012 at 11:12 AM, Shanmu >
> wrote:
>
>> Hi All,
>> Is there a way to disconnect/quit the repl in nrepl.el cleanly?
>>
>>
> Hi Shanmu,
> This is a open issue that has
On Sunday, August 26, 2012 8:36:37 AM UTC-4, Sam Aaron wrote:
>
> 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
>
> ---
> htt
Use-cases typically involve computer graphics applications, like simulating
fire, or a galaxy, or just for art (
http://en.wikipedia.org/wiki/Particle_system). Personally, I just wanted to
try out the concepts of protocols and defrecords in Clojure, and I
thought vector math operations was a goo
Hello, I am also using Leiningen in Ubuntu, and I feel your pain.
One thing I would suggest is to remove anything related to your tool chain
which was installed by Ubuntu.
(except maybe emacs 24.x).
You clearly have Clojure installed via the usual Ubuntu Software Center or
related mechanism.
Unin
Here's a solution using reduce that handles passing multiple arguments into
the rightmost function:
(fn [& fns]
(fn [& args]
(let [[f & fns] (reverse fns)]
(reduce #(%2 %1) (apply f args) fns
On Sun, Aug 26, 2012 at 9:12 AM, Tyler Perkins wrote:
> It might help to simplify.
Hi mperdikas.
I also like to have full control over my dependencies and versions, so I
wrote a script that
- you give it a bunch of directories, and it automatically finds all the
jars in them an resolves conflicts by selecting latest versions
automatically
- prints the list of jars (explicitly
It might help to simplify. Whenever you're accumulating over a
sequence of things, think of reduce:
(let [__ (fn [& fs]
;; Here's the function:
(reduce #(fn [x] (%1 (%2 x))) fs))
]
;; Testing:
[ (= 5 ((__ (partial + 3) second) [1 2 3 4]))
(= [3 2 1
Thanks for the snippet Nicolas but that is not the problem! I do know
how to implement the 'undo' functionality...In OOP this is called the
"Command" design pattern...The command interface has execute(from, to)
and undo(from,to) (which calls execute with reversed arguments)...That
part is not h
Thanks for your answer. I will adapt the small number of programs I have to
the newer version of the library. Rather than criticize your efforts in a
language in which I am still very much a student, I will just say I miss
the required optional syntax. Other than that, your library is extremely
It's impossible to do what you're asking, but you can still do what you want.
> This means for lein 1.7.1 it will use clojure 1.2.1, and for a recent
> lein 2.0.0-preview it will use clojure 1.4.0.
Upgrading to Leiningen 2.x is strongly encouraged and will get you
access to Clojure 1.4 anywhere.
>
> 1. Gary Bernhardt has been playing with a "new" approach he calls
> "Functional Core, Imperative Shell". Essentially, it's another take on
> the question of how to limit the scope of mutation in order to get the
> most out of the correctness of mutation-free algorithms and the
> performance of
mperdikeas writes:
> I am using Emacs GNU Emacs 23.3.1 on Ubuntu and I am following the
> instructions found here:
>
>
> https://github.com/technomancy/clojure-mode/blob/master/README.md
>
> on how to setup clojure-mode for Emacs. But launching my Emacs reports
> the following error:
>
> error: P
On Sun, Aug 26, 2012 at 3:07 PM, David Nolen wrote:
> I haven't found this to be the case. Java fares pretty well on Alioth.
http://shootout.alioth.debian.org/help.php#java
Shows that it does not change much on programs that run for mor than a
few seconds.
--
You received this message because
another question...why won't this do anything?
(seesaw/config! canvas :cursor :wait) ;;canvas is a result of
(seesaw/canvas ... ... ...)
I also tried
(seesaw/config! (seesaw/to-root canvas) :cursor :wait)
but the proxied JFrame does not support the :cursor option!
what am I missing?
thanks
On Saturday, August 25, 2012, Timothy Baldridge wrote:
>
> It's not currently supported. Ticket welcome. If you have ideas about
>>> a good approach that's even better. Part of the problem is that
>>> Clojure fns are just JS fns.
>>>
>>
>>
> Can't we just set the attribute on the function? This wo
I haven't found this to be the case. Java fares pretty well on Alioth.
On Saturday, August 25, 2012, Stuart Sierra wrote:
> The Alioth benchmarks are somewhat unfair to JVM languages because they
> include startup time for the JVM itself and often don't run enough
> iterations to engage the optim
On Fri, Aug 24, 2012 at 6:04 PM, Phil Hagelberg wrote:
> On Fri, Aug 24, 2012 at 6:16 AM, Denis Labaye
> wrote:
> > I've just seen the presentation by Phil Hagelberg on swarm coding
> > (http://www.infoq.com/presentations/Swarm-Coding).
> > Great presentation, very inspiring, we will definitivel
On Sat, Aug 25, 2012 at 11:12 AM, Shanmu wrote:
> Hi All,
> Is there a way to disconnect/quit the repl in nrepl.el cleanly?
>
>
Hi Shanmu,
This is a open issue that has not been implemented yet.
https://github.com/kingtim/nrepl.el/issues/33
Cheers,
Tim
--
You received this message because you
On Sun, Aug 26, 2012 at 5:36 AM, mperdikeas wrote:
> I am now using Emacs 24.1.1 in Ubuntu precise and have managed to install
> Clojure-mode. The next thing I want to do is to use lein repl as my Emacs
> REPL (currently I've set inferior-lisp-program to a custom bash script that
> simply does a j
On 26/08/12 09:51, Patryk Bukowinski wrote:
Hi Jim,
Reading your story I've got an impression that you make 'functional'
and 'immutable' a synonym, not default.
Implementation should be more transparent.
In APL func&vect programming languages fammily there are tools which
amends values in pl
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
Hi Jim,
Reading your story I've got an impression that you make 'functional' and
'immutable' a synonym, not default.
Implementation should be more transparent.
In APL func&vect programming languages fammily there are tools which amends
values in place.
It feels so natural, part of a language used
I am now using *Emacs 24.1.1* in *Ubuntu precise* and have managed to
install *Clojure-mode*. The next thing I want to do is to use *lein repl*as my
Emacs REPL (currently I've set
*inferior-lisp-program* to a custom bash script that simply does a *java
-jar clojure-1.4.0.jar*). The reason I've
On Sun, Aug 26, 2012 at 11:16:29AM +0100, Jim - FooBar(); wrote:
> On 26/08/12 11:03, Joshua Ballanco wrote:
> >I would love to have some time to look into the details of your specific
> >problem more, but in the absence of time, might I suggest two quick
> >points:
>
> Well, feel free to have a l
On 26/08/12 11:03, Joshua Ballanco wrote:
I would love to have some time to look into the details of your specific
problem more, but in the absence of time, might I suggest two quick
points:
Well, feel free to have a look at the project on github when you find
some time ( https://github.com/ji
On Sat, Aug 25, 2012 at 09:01:21PM +0100, Jim - FooBar(); wrote:
> Hello everyone,
>
> in this post I'm not asking for something specific, but rather I'd
> like to spark a discussion regarding the issue of performance
> within the functional paradigm...most of the things i will mention
> will pro
So beautiful! May I know what are the use-cases for this?
Thanks for sharing.
On Sun, Aug 26, 2012 at 8:47 AM, meteorfox wrote:
> I've been working in a particle system using Quil for rendering, which I'm
> calling Newtonian for now ;) , just to practice some of the concepts of
> protocols and de
34 matches
Mail list logo