Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-20 Thread Ryan Schmitt
Thanks for this breakdown; a lot of what you're saying about Transit is stuff I had inferred from prior announcements, but it's still enlightening to see an explicit comparison to Edn and Fressian. On Sunday, March 15, 2015 at 7:51:55 PM UTC-7, Alex Miller wrote: Hi Ryan, To answer the big

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-20 Thread Ryan Schmitt
Nippy looks like an interesting project; I wasn't familiar with it. However, it seems to be very Clojure-centric. Which is fine, at least for certain use cases; it just doesn't really occupy the part of the serialization format design space that I'm most interested in for dynamic-object. On

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-17 Thread Andrey Antukh
+1 nippy I have successfully used it in few of my projects. 2015-03-17 5:30 GMT+01:00 Lucas Bradstreet lucasbradstr...@gmail.com: I have had a lot of success with nippy https://github.com/ptaoussanis/nippy, which is quite well documented. We had problems with fressian round tripping Clojure

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-16 Thread Lucas Bradstreet
I have had a lot of success with nippy https://github.com/ptaoussanis/nippy, which is quite well documented. We had problems with fressian round tripping Clojure collections, as you've described. It has a number of other features (compression, encryption) that I may end up using. It has given

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-15 Thread Alex Miller
Hi Ryan, To answer the big question, all of these data formats are in active use at Cognitect and while I make no promises, I expect them all to be alive and active for the knowable future. Each of them targets a different niche but all of them share the qualities of transmitting extensible

Re: edn-format parsers (eg, Common Lisp)?

2013-07-10 Thread vrakade
This is an aside, but I wanted to add about translations... An EDN generator is somewhat redundant from Clojure, but I usually use fipp for standard formatting: https://github.com/brandonbloom/fipp Also clj-yaml for YAML output, and Chesire or data.json for JSON. (Note data.json has trouble

Re: edn-format parsers (eg, Common Lisp)?

2013-07-10 Thread Colin Fleming
Thanks for the pointer to fipp, that actually looks like just what I need! Fantastic. On 11 July 2013 13:58, vrak...@gmail.com wrote: This is an aside, but I wanted to add about translations... An EDN generator is somewhat redundant from Clojure, but I usually use fipp for standard

Re: edn-format parsers (eg, Common Lisp)?

2013-07-09 Thread Ben Smith-Mannschott
Perhaps you've not seen this: https://github.com/edn-format/edn/wiki/Implementations (But there's no CL implementation listed there.) //Ben On Tuesday, July 9, 2013, Rich Morin wrote: I'm intrigued by edn (extensible data notation), as described here: https://github.com/edn-format/edn

Re: edn-format parsers (eg, Common Lisp)?

2013-07-09 Thread Rich Morin
On Jul 9, 2013, at 13:37, Ben Smith-Mannschott wrote: Perhaps you've not seen this: https://github.com/edn-format/edn/wiki/Implementations (But there's no CL implementation listed there.) Yep; I had missed that. Thanks! -r -- http://www.cfcl.com/rdmRich Morin

Re: EDN syntax document contains an apparent omission.

2013-03-29 Thread Andy Fingerhut
Up at the top of the page you link to, there is a button labeled Issues (at least if you are logged in with a free-to-create Github account), and you can create an issue for this there. Andy On Fri, Mar 29, 2013 at 10:01 AM, Cedric Greevey cgree...@gmail.com wrote:

Re: EDN for Objective-C (iOS/OS X)

2013-02-06 Thread Matthew Phillips
Thanks. I did look at the (incomplete) C version, and will take another closer look before deciding what route to take, but I suspect an Obj-C/Cocoa version would have different enough requirements to warrant a new start, or at least a significant re-write. Cheers, Matthew. On Wednesday,

Re: EDN for Objective-C (iOS/OS X)

2013-02-05 Thread Herwig Hochleitner
According to the Implementations page of the edn wiki [1], libclj [2] seems to be a possible starting point for that plan. [1] https://github.com/edn-format/edn/wiki/Implementations [2] https://github.com/brandonbloom/libclj 2013/2/5 Matthew Phillips mattp...@gmail.com Hello, a quick search

Re: edn

2012-09-10 Thread Marko Topolnik
Java has arrays, lists, maps and sets, so does Ruby and Erlang. If they were redundancies in these structures, can't see why these three still maintain this distinction. It's probably a safe bet to say that we need to convey these nuances in edn somehow. Let's keep this in

Re: edn

2012-09-10 Thread Softaddicts
My point was about the necessity or not to support both lists and vectors. The original poster did not find any usefulness in supporting both, arguing that they were redundant. He found the idea too Clojure centric. I do not think it's Clojure centric and that the nuances are not worth to carry

Re: edn

2012-09-10 Thread Ben Smith-Mannschott
On Mon, Sep 10, 2012 at 2:15 PM, Marko Topolnik marko.topol...@gmail.com wrote: Java has arrays, lists, maps and sets, so does Ruby and Erlang. If they were redundancies in these structures, can't see why these three still maintain this distinction. It's probably a safe bet to say that we

Re: edn

2012-09-10 Thread Marko Topolnik
Using an explicit tag or not is a minor detail but... I'd argue that from the Clojure perspective it is not that minor. I think the absence of the distinction would ruin the experience for Clojure users. If you restrict an exchange format because some language(s) have no literal

Re: edn

2012-09-10 Thread Rich Hickey
On Sep 8, 2012, at 9:28 AM, Steven E. Harris wrote: Michael Fogus mefo...@gmail.com writes: Data formats do not exist in a vacuum. They are parsed by languages. Some may have a fine-grained distinction between lists, arrays/vectors and sets and some may not. The concern I have is for

Re: edn

2012-09-10 Thread Rich Hickey
Would you mind taking specific requests for clarification to the issues page, so I don't lose track of them? https://github.com/richhickey/edn/issues Thanks, Rich On Sep 9, 2012, at 8:09 AM, Ben Smith-Mannschott wrote: On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey richhic...@gmail.com wrote:

Re: edn

2012-09-10 Thread Rich Hickey
On Sep 10, 2012, at 8:44 AM, Ben Smith-Mannschott wrote: On Mon, Sep 10, 2012 at 2:15 PM, Marko Topolnik marko.topol...@gmail.com wrote: Java has arrays, lists, maps and sets, so does Ruby and Erlang. If they were redundancies in these structures, can't see why these three still maintain

Re: edn

2012-09-10 Thread Ben Smith-Mannschott
On Mon, Sep 10, 2012 at 5:38 PM, Rich Hickey richhic...@gmail.com wrote: Would you mind taking specific requests for clarification to the issues page, so I don't lose track of them? https://github.com/richhickey/edn/issues Thanks, Rich sure thing // Ben -- You received this message

Re: edn

2012-09-09 Thread Ben Smith-Mannschott
On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn

Re: edn

2012-09-09 Thread Ben Smith-Mannschott
On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn

Re: edn

2012-09-08 Thread Steven E. Harris
Michael Fogus mefo...@gmail.com writes: Data formats do not exist in a vacuum. They are parsed by languages. Some may have a fine-grained distinction between lists, arrays/vectors and sets and some may not. The concern I have is for someone wanting to define a format atop EDN -- or, to put

Re: edn

2012-09-08 Thread Armando Blancas
I'd say on the basis of convenience, since we get to serialize and deserialize for free (o with customizations), and for most cases the author on both ends is likely to be the same person or team. For other languages, producers don't work any harder either way, and consumers are free to

Re: edn

2012-09-08 Thread Ben Smith-Mannschott
On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn If

Re: edn

2012-09-08 Thread Steven E. Harris
Ben Smith-Mannschott bsmith.o...@gmail.com writes: I follow forbidding -4bar since that means potentially unbounded look-ahead to distinguish numbers from non-numbers. Presumably forbidding .4bar is for the same reason, though .01 doesn't appear to be a valid numeric literal. (Numeric

Re: edn

2012-09-08 Thread Steven E. Harris
Armando Blancas abm221...@gmail.com writes: I'd say on the basis of convenience, since we get to serialize and deserialize for free (o with customizations), and for most cases the author on both ends is likely to be the same person or team. I find that to be a specious defense. If we expect

Re: edn

2012-09-07 Thread David Powell
In Clojure, all Clojure files are utf-8. I assume that is also required in edn? (I think it should be) On Sep 7, 2012 2:01 AM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format,

Re: edn

2012-09-07 Thread Ben Smith-Mannschott
On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn

Re: edn

2012-09-07 Thread Rich Hickey
On Sep 6, 2012, at 11:56 PM, David Nolen wrote: On Thursday, September 6, 2012, Rich Hickey wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look:

Re: edn

2012-09-07 Thread Rich Hickey
On Sep 7, 2012, at 12:33 AM, Daniel Pittman wrote: On Thu, Sep 6, 2012 at 6:01 PM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON.

Re: edn

2012-09-07 Thread Rich Hickey
On Sep 7, 2012, at 4:36 AM, Ben Smith-Mannschott wrote: On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON.

Re: edn

2012-09-07 Thread Elliot
On Thursday, September 6, 2012 8:31:59 PM UTC-7, Weber, Martin S wrote: The question that's left for me is: why vectors and lists? I mean, from a data format perspective, and a non-clojure implementor, I'm not sure the distinction makes sense. After all for the _data format_, in its

Re: edn

2012-09-07 Thread Jacob Rus
Hi folks, I put some feedback up in a Hacker News comment http://news.ycombinator.com/item?id=4487588, but it probably makes sense to reproduce it here too, where comments will be seen. [By the way, Rich, I don’t use Clojure (... yet ...), but your Stu’s talks are always an inspiration, and I

Re: edn

2012-09-07 Thread Daniel Pittman
On Fri, Sep 7, 2012 at 3:45 AM, Rich Hickey richhic...@gmail.com wrote: On Sep 7, 2012, at 12:33 AM, Daniel Pittman wrote: On Thu, Sep 6, 2012 at 6:01 PM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely

Re: edn

2012-09-07 Thread Rich Hickey
I addressed this here: http://news.ycombinator.com/item?id=4489330 On Sep 7, 2012, at 2:36 AM, Elliot wrote: On Thursday, September 6, 2012 8:31:59 PM UTC-7, Weber, Martin S wrote: The question that's left for me is: why vectors and lists? I mean, from a data format perspective, and a

Re: edn

2012-09-07 Thread Sean Corfield
On Thu, Sep 6, 2012 at 8:26 PM, Weber, Martin S martin.we...@nist.gov wrote: The question that's left for me is: why vectors and lists? I mean, from a data format perspective, and a non-clojure implementor, I'm not sure the distinction makes sense. After all for the _data format_, in its

Re: edn

2012-09-07 Thread Sean Corfield
On Fri, Sep 7, 2012 at 3:40 AM, Rich Hickey richhic...@gmail.com wrote: On Sep 6, 2012, at 11:56 PM, David Nolen wrote: So will colons become whitespace in maps so the JSON using hordes have an easy upgrade path? ;) {foo :true} ;;boolean or keyword? Requiring whitespace after the colon

RE: edn

2012-09-07 Thread Weber, Martin S
@googlegroups.com] On Behalf Of Sean Corfield [seancorfi...@gmail.com] Sent: Friday, September 07, 2012 18:44 To: clojure@googlegroups.com Subject: Re: edn On Thu, Sep 6, 2012 at 8:26 PM, Weber, Martin S martin.we...@nist.gov wrote: The question that's left for me is: why vectors and lists? I mean, from

Re: edn

2012-09-07 Thread Sean Corfield
On Fri, Sep 7, 2012 at 3:57 PM, Weber, Martin S martin.we...@nist.gov wrote: Sure. Languages. This is a data format, not a language. But languages will be doing the serialization / deserialization so this is relevant. Why should I not inflate a edn-list into a vector in my language? What if I

RE: edn

2012-09-07 Thread Softaddicts
[seancorfi...@gmail.com] Sentd: Friday, September 07, 2012 18:44 To: clojure@googlegroups.com Subject: Re: edn On Thu, Sep 6, 2012 at 8:26 PM, Weber, Martin S martin.we...@nist.gov wrote: The question that's left for me is: why vectors and lists? I mean, from a data format

Re: edn

2012-09-07 Thread Michael Fogus
Sure. Languages. This is a data format, not a language. Data formats do not exist in a vacuum. They are parsed by languages. Some may have a fine-grained distinction between lists, arrays/vectors and sets and some may not. Why should I not inflate a edn-list into a vector in my language?

Re: edn

2012-09-07 Thread Michael Fogus
Is this too Clojure specific ? I wouldn't say so. By definition the definitions of list, vector/array and set encompass the behavior in question. I think people are getting too wrapped up by the textual representations where the forms (1 2 3) [1 2 3] and #{1 2 3} look fairly similar. By nature

Re: edn

2012-09-07 Thread Softaddicts
Java has arrays, lists, maps and sets, so does Ruby and Erlang. If they were redundancies in these structures, can't see why these three still maintain this distinction. It's probably a safe bet to say that we need to convey these nuances in edn somehow. My question was meant as a preamble to

RE: edn

2012-09-06 Thread Weber, Martin S
which problem other than NIH is edn solving? - given it's a subset of clojure's data notation, it's not really native clojure either, so you gotta convert to/fro. So: Why do we need another JSON? I'm sure you have answers to these questions, possibly answered them before, but definitely not

Re: edn

2012-09-06 Thread Rich Hickey
On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: which problem other than NIH is edn solving? - given it's a subset of clojure's data notation, it's not really native clojure either, so you gotta convert to/fro. Of course it's native Clojure. Being a subset doesn't affect that. Clojure

RE: edn

2012-09-06 Thread Weber, Martin S
Rich: On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: which problem other than NIH is edn solving? - given it's a subset of clojure's data notation, it's not really native clojure either, so you gotta convert to/fro. Of course it's native Clojure. Being a subset doesn't affect that.

RE: edn

2012-09-06 Thread Softaddicts
Here we moved away from yaml (json was in its infancy when we opted for yaml). We now serialize values over the wire using Clojure expressions and nippy to get some compression and speed improvement. Nippy falls back to the reader if it does not know how to compress a given value. We plan to

Re: edn

2012-09-06 Thread Rich Hickey
On Sep 6, 2012, at 9:52 PM, Weber, Martin S wrote: Rich: On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: which problem other than NIH is edn solving? - given it's a subset of clojure's data notation, it's not really native clojure either, so you gotta convert to/fro. Of course it's

RE: edn

2012-09-06 Thread Weber, Martin S
Please don't use edn if you don't see the point. I'm not trying to convince you or anyone else. I expect there to be a point, and thus also expect it to be communicatable. If there wasn't a point, you wouldn't have chosen to use it in datomic, or create the page. I feel you haven't

Re: edn

2012-09-06 Thread Stuart Halloway
The rationale appears to be up now, and for my money, it is quite clear: JSON not powerful enough, Clojure does too much and is a burden for implementers. That said, I won't complain if somebody happens to implement full Clojure serialization while implementing edn. ;-) Stu I expect there to

RE: edn

2012-09-06 Thread Weber, Martin S
Stu: The rationale appears to be up now, and for my money, it is quite clear: JSON not powerful enough, Clojure does too much and is a burden for implementers. That said, I won't complain if somebody happens to implement full Clojure serialization while implementing edn. ;-) The question

Re: edn

2012-09-06 Thread Justin Kramer
Looks great. What mime type should be used? application/edn? Justin On Thursday, September 6, 2012 9:01:15 PM UTC-4, Rich Hickey wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to

Re: edn

2012-09-06 Thread David Nolen
On Thursday, September 6, 2012, Rich Hickey wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn Rich So will colons

Re: edn

2012-09-06 Thread Daniel Pittman
On Thu, Sep 6, 2012 at 6:01 PM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn The

Re: edn

2012-09-06 Thread Richard Lyman
On Thu, Sep 6, 2012 at 7:01 PM, Rich Hickey richhic...@gmail.com wrote: I've started to document a subset of Clojure's data format in an effort to get it more widely used as a data exchange format, e.g. as an alternative to JSON. Please have a look: https://github.com/richhickey/edn