Hi,
I released a first version of my gsoc project expresso [1].
This is an important Milestone in my gsoc project.
What is there:
an expressive and powerful rule based translator, on top of which many
transformations can be based.
functions to simplify (currently without ratio test), differentiat
On Sun 25 Aug 2013 at 09:05:15PM -0500, gaz jones wrote:
> Hey, i am the current maintainer of tools.cli - i have very little
> time to make any changes to it at the moment (kids :) ). I'm not sure
> what the process is for adding you as a developer or transferring
> ownership etc but if I'm happy
You already got the ring of power when you downloaded Clojure. ;)
On Mon, Aug 26, 2013 at 8:57 AM, guns wrote:
> On Sun 25 Aug 2013 at 09:05:15PM -0500, gaz jones wrote:
>
> > Hey, i am the current maintainer of tools.cli - i have very little
> > time to make any changes to it at the moment (ki
Hi,
Does anyone know why the functions like: map?, number?, vector?, … belongs to
the clojure.core but not function? ?
Christian
--
--
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
It would be convenient if I can specify the default entities and
identifiers functions in a database spec. I usually want those mappings to
be applied all the time.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send emai
Hi Alice,
Do you mean default `values` for entity columns for INSERT statements? And
by `identifiers function` did you mean functions that decorate an
identifier representation in an SQL statement -- for example, column name
emp_id could become `emp_id` on MySQL?
Shantanu
On Monday, 26 August
you're probably looking for fn?
On Mon, Aug 26, 2013 at 9:11 AM, Christian Sperandio
wrote:
> Hi,
>
> Does anyone know why the functions like: map?, number?, vector?, … belongs to
> the clojure.core but not function? ?
>
> Christian
>
> --
> --
> You received this message because you are subscr
I didn't think search this term.
Thanks :)
Le 26 août 2013 à 15:13, Jay Fields a écrit :
> you're probably looking for fn?
>
> On Mon, Aug 26, 2013 at 9:11 AM, Christian Sperandio
> wrote:
>> Hi,
>>
>> Does anyone know why the functions like: map?, number?, vector?, … belongs
>> to the cl
Yes. It's described at
http://clojure-doc.org/articles/ecosystem/java_jdbc/name_mapping.html.
On Monday, August 26, 2013 10:13:22 PM UTC+9, Shantanu Kumar wrote:
>
> Hi Alice,
>
> Do you mean default `values` for entity columns for INSERT statements? And
> by `identifiers function` did you mean
On 23/08/13 10:49, Jim wrote:
I do regret not having checked whether Java serialization preserves
the metadata or not .I plan to do it this afternoon. If it does ,I've
got 2 perfectly working ways to achieve what I want, with no extra
dependencies added...
I finally got the chance to check w
Hi,
I released a minor version 0.3.1.
This version provide a way to get a function to find expressions likeness.
I implemented a macro too. This macro reduces the code size by limiting the
declarations for the expressions likeness.
Christian
https://github.com/chrix75/Gemini
--
--
You rece
After realising the 0.3.1 version, I wondered if it's a good idea the
with-likeness macro returns always nil.
it's a mistake, isn't it?
Le 26 août 2013 16:50, "Christian Sperandio"
a écrit :
> Hi,
>
> I released a minor version 0.3.1.
>
> This version provide a way to get a function to find ex
I released a version 0.3.2.
The macro with-likeness doesn't return nil anymore. I think this behavior is
more correct.
Christian
https://github.com/chrix75/Gemini
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send emai
Although this also ties up a thread for every reduce. Not exactly efficient
IMO.
Timothy
On Sun, Aug 25, 2013 at 11:50 PM, Alan Busby wrote:
>
> On Mon, Aug 26, 2013 at 1:37 PM, Timothy Baldridge
> wrote:
>
>> Since reducers use fork-join pools,
>
>
> Reducers use multiple threads and fork-jo
Abracad is a library for de/serializing Clojure data structures
as Avro [1], leveraging the Java Avro implementation.
Avro is a schema-based binary serialization system similar to Thrift or
Protocol Buffers, but with some philosophical differences and better
support for dynamic languages. In par
The db-spec is not used by the DSL. Name mapping is a function of the
DSL, in general. This request has come up in the past and it just
isn't practical since the db-spec is completely independent of the
DSL.
On Mon, Aug 26, 2013 at 6:06 AM, Alice wrote:
> It would be convenient if I can specify t
A Tuple protocol that defines get0 get1 get3 etc for fast element access
that doesn't tie you to using field names might be a good idea.
On 8/25/13 9:35 AM, Zach Tellman wrote:
> I don't think so, even the existence of all the Tuple* types are an
> implementation detail, and you'd need to hint it
I believe this is what clj-tuple is doing under the hood with macros.
On Aug 26, 2013, at 10:38 AM, Kevin Downey wrote:
> A Tuple protocol that defines get0 get1 get3 etc for fast element access
> that doesn't tie you to using field names might be a good idea.
>
> On 8/25/13 9:35 AM, Zach Tellm
I had a quick look at clj-tuple and I don't remember seeing any macros...
Jim
On 26/08/13 19:02, Asim Jalis wrote:
I believe this is what clj-tuple is doing under the hood with macros.
On Aug 26, 2013, at 10:38 AM, Kevin Downey wrote:
A Tuple protocol that defines get0 get1 get3 etc for fa
No, Asim is right, and the majority of LOC is macro code (which expands to
a deftype expression).
On Mon, Aug 26, 2013 at 11:51 AM, Jim - FooBar(); wrote:
> I had a quick look at clj-tuple and I don't remember seeing any macros...
>
> Jim
>
>
>
> On 26/08/13 19:02, Asim Jalis wrote:
>
>> I belie
(no affiliation, just passing this along)
CodeMash is a large multi-technology conference in a giant water park with
a great secondary track for kids. It is my opinion that they need some more
Clojure submissions. :)
CFP closes Friday, Sept 6th. http://codemash.org/submissions
--
--
You receiv
hi, nativot is a leiningen plugin that is intended to deliver clojurians
from the burden of classpath hells of any flavour.
highlights:
1) built upon lein uberjar and jdotsoft jarclassloader
2) makes it possible to deploy clojure application that depend upon any
jar-files, native libraries, bi
---
description
---
A Leiningen plugin to jar your project with arbitrary jars, native libs and
resources into main jar.
Based on the wonderful JDotSoft JarClassLoader.
USAGE:
A.
---
Create a :nativot profile in your project.clj
The map is
Hi everyone,
I wrote a core.async-based wrapper for ZeroMQ:
https://github.com/lynaghk/zmq-async
ZeroMQ is a message-oriented socket library with bindings to lots of
languages and support for a variety of communication styles (request/reply,
publish/subscribe, in-process pair sockets, push/pul
Hi everyone,
I wrote a core.async wrapper for Jetty 7 websockets:
https://github.com/lynaghk/jetty7-websockets-async
On past projects I've used http-kit, Aleph/Netty, and Jetty 9 for
websockets.
However, I recently discovered that good 'ol Jetty 7 (of ring-jetty-adapter
fame) can act both as a
I'm not sure I understand the motivation behind what you're suggesting.
Why not just (nth tuple 0)?
On Mon, Aug 26, 2013 at 10:38 AM, Kevin Downey wrote:
> A Tuple protocol that defines get0 get1 get3 etc for fast element access
> that doesn't tie you to using field names might be a good idea.
looking at clj-tuple a call to (nth some-tuple 0) turns in to a case
dispatch
(case idx
0 e0
...)
or something.
if you have a Tuple protocol with a function like get0 you can avoid the
overhead of the case there, and the jvm has a better change of inlining
the rest away.
for hotspot to opti
(defn fib-n [n]
(let [fib (fn [a b] (cons a (lazy-seq (fib b (+ b a)]
(take n (fib 1 1
can't i do a recursion here? how can i achieve this without doing an "outer
defn"?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
Dennis Haupt writes:
> (defn fib-n [n]
> (let [fib (fn [a b] (cons a (lazy-seq (fib b (+ b a)]
> (take n (fib 1 1
>
> can't i do a recursion here? how can i achieve this without doing an
> "outer defn"?
You just need to give the anonymous function a name it can use to refer
to itself f
If you want the sequence itself, so you can take various prefixes of it:
(def fib (cons 1 (cons 1 (map + fib (rest fib)
(take 5 fib)
(take 10 fib)
Has the advantage of not recalculating any part of it - and the
disadvantage of holding onto the head - so it depends what you want to
do with it
JarClassLoader looks cool
Aren't there some pretty severe licensing restrictions though? Looks like
it is GPLv3 or commercial license only from the website, which rules it out
of most EPL projects I think
On Tuesday, 27 August 2013 03:50:10 UTC+8, Alex Fowler wrote:
>
>
> hi, nativot is a l
This will save my time a lot. No more rubular.com :)
great
On 1 August 2013 21:33, Joel Holdbrooks wrote:
> Thanks. This tool was really more or less for fun but I'd been thinking
> about it for a while. According to some benchmarks it appears the generated
> patterns are pretty fast. When I g
Then, how about making them global so that they can be altered?
I know global parameters are ugly, but having to specify them every time is
really a pain.
On Tuesday, August 27, 2013 2:32:20 AM UTC+9, Sean Corfield wrote:
>
> The db-spec is not used by the DSL. Name mapping is a function of the
You can wrap your code in (entities ...) and/or (identifiers ...) and
it will apply to all the java.jdbc calls inside.
Clojure/core have specifically said they don't want *dynamic-vars* in
contrib libraries.
We have thousands of lines of java.jdbc code at work and name mapping
hasn't been an issu
34 matches
Mail list logo