[ANN] data.xml 0.1.0-beta2

2016-08-28 Thread Ryan Senior
data.xml is a Clojure contrib library that parses and emits XML. Github: https://github.com/clojure/data.xml Changelog: https://github.com/clojure/data.xml/blob/master/CHANGES.md Information on updating the dependency is here .

[ANN] data.xml 0.1.0-beta1

2015-12-23 Thread Ryan Senior
data.xml is a Clojure contrib library that parses and emits XML. Github: https://github.com/clojure/data.xml Changelog: https://github.com/clojure/data.xml/blob/master/CHANGES.md Information on updating the dependency is here . The key

Puppet Labs is hiring Clojure developers

2014-07-11 Thread Ryan Senior
Hi, everyone! Puppet Labs [0][1] builds open source and commercial systems automation tools. We're in every major linux distribution, and we're managing literally millions of systems at a wide variety of shops (from Google to GitHub to Spotify to CERN to SpaceX to NYSE ...). Even if you've not

Re: Parsing large XML files

2013-12-17 Thread Ryan Senior
As far as I know, using zippers like that will need the whole XML data structure to be in memory. data.xml returns fast because it's lazy (uses pull parsing). Until you start traversing down the structure, it won't parse more of it. data.xml should also be fully streaming, so it shouldn't

Re: roundtripping using data.xml?

2012-10-22 Thread Ryan Senior
This is related to the (lack of) support for namespaces. I removed the prefixes from the attributes below and it roundtripped fine for me. As far as I know, there is no work around for this kind of thing. The fix is for data.xml to support namespaces. I'll get some more design discussions

Re: seeking namespace-aware xml lib

2012-07-19 Thread Ryan Senior
Solid namespace support is a much needed feature for data.xml. There's a ticket for it here: http://dev.clojure.org/jira/browse/DXML-4 though unfortunately the patch attached to it came from someone who hadn't signed a CA, so I was not able to accept it. I am planning on tackling namespace

Re: Logic program and hierarchical data

2012-01-24 Thread Ryan Senior
I think separating the facts from determining the hierarchy makes it easier: (defrel typeof* p c) (facts typeof* [[:homo :homo-sapiens] [:hominidae :homo] [:primate :hominidae] [:mammalia :primate] [:chordata :mammalia]

Re: Clojure Futures Docs and Functionality

2010-06-27 Thread Ryan Senior
java.util.concurrent.TimeoutException (def fut (future (Thread/sleep 1) done)) (future-await fut 10) ; done -Ryan On Sat, Jun 26, 2010 at 12:56 AM, Meikel Brandmeyer m...@kotka.de wrote: Hi, Am 25.06.2010 um 20:48 schrieb Daniel Werner: On 25 June 2010 05:27, Ryan

Re: Clojure Futures Docs and Functionality

2010-06-25 Thread Ryan Senior
Hi Daniel, On Wed, Jun 23, 2010 at 1:15 PM, Daniel Werner daniel.d.wer...@googlemail.com wrote: Judging from previous discussions on this list, I get the feeling that relying too much on the Java implementation details underlying the public Clojure APIs is discouraged. This certainly makes

Clojure Futures Docs and Functionality

2010-06-21 Thread Ryan Senior
I figured before I added a ticket, I'd post here. I was using the functions for Futures in Clojure and found for all of the future functions (like future, future-done?, future-cancel etc) it was nicely abstracted and there was no need to know exactly what kind of object was passed into or