2014-05-23 19:01 GMT+02:00 Paul Gearon :
>
> I still argue for using keywords here. The existing API uses them, and
> they're a natural fit.
>
The fact that they have established meaning (for denoting literal xml names
+ their prefix in a given serialization) in the API is exactly one of my
reaso
I realize that there are other database migration frameworks already
availablefor clojure projects, but I always seem to run into issues pretty
fast in trying to use them.
This is also the first plugin I've developed and made publicly available,
so I'd love some feedback! I've been using Clojur
What are the ways to do remote function calls with Clojure? Here is a
*low-level
list* I have so far:
* Java Remote Method Invocation API:
http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/index.html
* nREPL: https://github.com/clojure/tools.nrepl
There are *higher-level tools*, too, such
Hi,
I'm trying to construct a Java obj from a from a classname string.
I've managed to import the thing using a macro:
(defmacro import-by-name [name] `(import [~name]))
(let [klass-name "foo.bar.Baz"
the-ns (import-by-name klass-name)
the-obj (new foo.bar.Baz arg)] ...)
On Sunday, 25 May 2014 22:45:27 UTC+5:30, Gregg Reynolds wrote:
>
> Hi,
>
> I'm trying to construct a Java obj from a from a classname string.
> I've managed to import the thing using a macro:
>
> (defmacro import-by-name [name] `(import [~name]))
> (let [klass-name "foo.bar.Baz"
>th
Giving my LP horse a rest I'd like to call your attention
to backbone.js and the way they arrange documentation.
It is less of a "story" form or "why" explanation and
more on the details which are not apparent in the code.
I don't know what tool was used to create it.
http://backbonejs.org/docs/
Based on the name of the css file I'd say they use
http://jashkenas.github.io/docco/ ;)
Marek
On Sunday, May 25, 2014 9:45:19 PM UTC+2, da...@axiom-developer.org wrote:
>
> Giving my LP horse a rest I'd like to call your attention
> to backbone.js and the way they arrange documentation.
>
> It
Yes, it is based on docco
http://jashkenas.github.io/docco/
Check
https://github.com/jashkenas/backbone/blob/master/package.json
the doc scripts is
"doc": "docco backbone.js && docco examples/todos/todos.js
examples/backbone.localstorage.js",
On Sun, May 25, 2014 at 4:51 PM, Marek Srank wrote:
>
There are also Clojure tools to generate documentation like this:
https://github.com/gdeer81/marginalia
On 25 May 2014 20:55, Angel Java Lopez wrote:
> Yes, it is based on docco
> http://jashkenas.github.io/docco/
> Check
> https://github.com/jashkenas/backbone/blob/master/package.json
> the do
I see that macro are defined with associated metadata :macro true in its
associated var.
Evaluate:
(meta (var defn))
and you see the :macro true in metadata
Why? In other lisp, macro are the result of evaluate (mlambda ... ) or
something alike, that is, macro are values that are evaluated in an
On Sun, May 25, 2014 at 2:00 PM, Shantanu Kumar
wrote:
>
>
> On Sunday, 25 May 2014 22:45:27 UTC+5:30, Gregg Reynolds wrote:
>>
>> Hi,
>>
>> I'm trying to construct a Java obj from a from a classname string.
>> I've managed to import the thing using a macro:
>>
>> (defmacro import-by-name [name] `
A macro is a function that's evaluated at compile time rather than at
runtime. Clearly the compiler needs some mechanism to distinguish between
the two, correct?
Clojure already has metadata and functions, so using a metadata flag on the
var introduces no new types. It also has the advantage of be
Unfortunately, marginalia has a lot of unresolved issues, bugs and
limitations, but it was a good first step in this direction for the Clojure
community.
On Sun, May 25, 2014 at 2:34 PM, Daniel Kersten wrote:
> There are also Clojure tools to generate documentation like this:
> https://github.c
Is there a reason why DATABASE_URL isn't in the project config?
I guess a more relevant question would be to ask if there's something like
a local config file for leiningen projects? Something that is per-project
but ideally ignored by the VCS. Something that you can use to override
what's inside
I realize it's not exactly what you are looking for, but perhaps a
pmap-like implementation can easily be built using a distributed message
queue.
The tricky part would be to ensure the functions to be distributed can be
safely serialized/deserialized. (Not doing I/O or using other shared
resource
Hi everybody,
I have been doing some random machine learning doodling and have always
been haunted with this problem.
When I just wanna set out and try if my methodology would work, I would
program in Clojure aiming at a small dataset available within one single
host memory (or even just doo
If I'm not mistaken, PigPen allows you to execute queries locally, without
a hadoop cluster etc. Does that solve your problem?
https://github.com/Netflix/PigPen/wiki/Design-and-Features#testing-local-execution-and-debugging
On Mon, May 26, 2014 at 3:26 AM, Hesen Peng wrote:
> Hi everybody,
>
17 matches
Mail list logo