On Feb 5, 12:33 am, Stuart Sierra wrote:
> Clojure can certainly do these things; clojure-contrib contains many
> file and io-related utilities. But remember that Clojure, like any
> Java program, takes more time to start up than "scripting" languages
> like Perl/Bash/Ruby/Python, so it may be le
On Jun 25, 6:13 am, CuppoJava wrote:
> Hi,
> I need to dynamically create a regex, and would really like to be able
> to use Clojure's built-in regex syntax. But I don't know how to go
> about it.
>
> My regex is: #"(.*?)(\(image .*)"
>
> except instead of "image", I need to dynamically insert
On Jun 10, 9:55 am, Asbjørn Bjørnstad wrote:
> (defn connect-node [m a b weight]
> (update-in (update-in m [a :outputs]
> assoc b weight)
> [b :inputs] assoc a weight))
Ugh... Looks better this way:
(defn connect-node [m a b wei
On Jun 10, 2:07 am, "alfred.morgan.al...@gmail.com"
wrote:
> Thanks for the advice, but at present I'm simply aiming to get the
> very basics of a neural net up and running without having to worry
> about a training algorithm at all. Here's what I have so far (again,
> very basic)
>
> ;; Net0
On May 8, 6:49 pm, Baishampayan Ghose wrote:
> Asbjørn Bjørnstad wrote:
> > Just speaking for myself, I do this to set up a classpath that
> > includes all the third-party jars I've downloaded and use in
> > my projects. I did this long time ago and haven't look
On Apr 30, 1:47 am, Phil Hagelberg wrote:
> > (setq swank-clojure-binary "clojure")
>
> > (add-to-list 'slime-lisp-implementations
> > '(clojure ("/home/ghoseb/bin/clojure") :init
> > swank-clojure-init))
>
> It looks like you're using a wrapper script rather than letting
> swank-
I'm not an Intellij user, but:
On Mar 2, 2:22 am, CuppoJava wrote:
> After using La Clojure a bit more, I noticed a few minor issues with
> the indentation system.
>
> Inside a let form binding, the next line should be indented to one
> character past the opening bracket.
>
> eg. should be like
On Jan 15, 4:33 am, Rich Hickey wrote:
> Try this (and make sure you are using -server):
>
> (defn diffuse [grid diff-ratio dt]
> (let [a (float (* dt diff-ratio grid-size grid-size))
> a4-1 (float (+ 1 (* 4 a)))
> grid #^floats (deref grid)
> diffused-grid #^floats (ma
On Jan 15, 8:42 am, "Mark H." wrote:
> On Jan 14, 12:29 pm, chris wrote:
>
> > For a completely different way of doing this, you could certainly use
> > GPGPU programming to speed this up.
> > ...
> > You want this for a game engine anyway; do it in opengl or directx
> > using shaders.
>
> I re
On Jan 15, 3:38 am, "Mark H." wrote:
> On Jan 14, 8:27 am, Asbjørn Bjørnstad wrote:
>
> > Anyway, here is a core part of the algorithm. It's a diffusion
> > step, this gets called 3 times and in total this takes up more than
> > one second of cpu ti
On Jan 14, 12:20 pm, "Mark H." wrote:
> I humbly propose that folks shouldn't complain about Clojure being
> slow for their apps until they have at least one of the following:
>
> 1. A targeted benchmark for an important bottleneck in their
> application, implemented in both Clojure and the cur
On Nov 19, 12:08 am, Matt Revelle <[EMAIL PROTECTED]> wrote:
> On Nov 18, 2008, at 9:42 AM, Raffael Cavallaro <[EMAIL PROTECTED]
> wrote:
> > As the old chestnut goes, one never gets a second chance to make a
> > first impression. The first impression one gets now does *not* reflect
> > the qual
On Oct 20, 1:31 pm, Liu Zehua <[EMAIL PROTECTED]> wrote:
> I am pretty new here.
>
> Guangdong, China.
> but now located in Singapore.
Also located in Singapore
--
-asbjxrn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Hi,
I wrote a very simple swing app and wrote a little about it. Mostly
aimed at newbies with some lisp knowledge. (map/let is not explained
for example)
http://blog.jalat.com/2008/10/game-clojure-version.html
Even such a small program ended up using quite a bit of clojure stuff:
lazy sequences,
On Oct 16, 10:02 am, Tom Lynch <[EMAIL PROTECTED]> wrote:
> Hi all, I have a naive question regarding Clojure macros. As someone
> new to Lisp-style macros, can I use the system to generate new names
> using substitution / token-pasting?
>
> Conceptually something like
>
> (defmacro paste-token
On Oct 15, 4:57 am, "R. P. Dillon" <[EMAIL PROTECTED]> wrote:
> On Oct 14, 10:04 am, Asbjørn Bjørnstad <[EMAIL PROTECTED]> wrote:
> >
> > So it is not possible to put the clj files into the jar so that no
> > unzipping
> > is neccessary? I t
On Oct 2, 10:23 pm, Pascal <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> for Michael Beauregard,
>
> > Is there a reason why setting the "Main-Class" field in the jar's manifest
> > doesn't work.
>
> It work, and since the manifest had to be edited to set the Class-Path
> why not set correctly the Ma
17 matches
Mail list logo