Re: ANN: Another binary parser combinator - this time for java's streams

2014-01-29 Thread Steffen
Please see below. Am Mittwoch, 29. Januar 2014 17:49:56 UTC+1 schrieb Michael Gardner: > > Looks good! A few questions: > Thanks. > 1) Is it possible to specify a byte length for a 'repeated codec, rather > than a number of objects? If your 'object' is a byte,sure: (repeated :byte :len

Re: Question about "attempt" parser in parsatron

2014-01-29 Thread Kashyap CK
Thanks Nate ... this is awesome ... I've started off with a pdf parser actually and it seems to work fine .. changing the byte array into sequence and using it with Parsatron .. I'll share the github link shortly... On Wednesday, January 29, 2014 12:25:14 AM UTC+5:30, Nate Young wrote: > > On T

Re: JRE/JVM for development

2014-01-29 Thread Stanislav Sedov
On Jan 29, 2014, at 6:58 PM, Mikera wrote: > The real issue issue is loading / initialisation of Clojure code after JVM > startup - i.e. loading clojure.core and the (potentially large) graph of > required namespaces. This quickly becomes noticeable if you are using a large > set of libraries

Re: JRE/JVM for development

2014-01-29 Thread Mikera
The JVM startup time usually *isn't* the problem. I've benchmarked my JVM starting up and running a simple "hello world" app in less than 0.1secs. java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) The real

Re: Caribou Data Modeling - Beginner question

2014-01-29 Thread Leon Talbot
Ok I got it. Supporters, Actions and Questions needs to be created separately and linked to Idea. (Idea, which is created at first, doesn't need to mention those) Makes sense! > When I log in to the admin and try to "Modify" this new model, I get only > to see the first 3 custom fields (Ti

Re: [ClojureScript] A question for TDD practitioners

2014-01-29 Thread Mimmo Cosenza
terminal 1: lein repl this is the repl for the clj code terminal 2: lein repl, (run), (browser-repl) this is the repl for the cljs code terminal 3: lein test-refresh this is clj test code in auto mode terminal 4: lein cljsbuild auto this is for recompiling the cljs source and source code terminal

Re: [ClojureScript] A question for TDD practitioners

2014-01-29 Thread Jamie Orchard-Hays
Wow. Props for the Modern Times reference! On Jan 29, 2014, at 4:50 PM, Mimmo Cosenza wrote: > Thanks Sean. > Ok. I'll update the various lein templates in accordance with this choice. > > Unfortunately we still have to wait for cljsbuild to be extended to support > the auto mode for test

Re: JRE/JVM for development

2014-01-29 Thread Stanislav Sedov
On Jan 29, 2014, at 1:44 PM, ton...@gmail.com wrote: > Are there any Java VMs strictly for development use that could be started up > quicker, use less memory or compile clojure during execution? Alternatively > can OpenJDK or similar be configured to do so? I don't care about application > pe

Re: [ClojureScript] A question for TDD practitioners

2014-01-29 Thread Mimmo Cosenza
Thanks Sean. Ok. I'll update the various lein templates in accordance with this choice. Unfortunately we still have to wait for cljsbuild to be extended to support the auto mode for test subtaks. I tested the feedback-loop with fsrun plug-in to automate the cljsbuild test subtask…….too slow….

Re: JRE/JVM for development

2014-01-29 Thread Dennis Haupt
my vm starts up within a second or so, what's the problem for you? 2014-01-29 > Are there any Java VMs strictly for development use that could be started > up quicker, use less memory or compile clojure during execution? > Alternatively can OpenJDK or similar be configured to do so? I don't car

JRE/JVM for development

2014-01-29 Thread tonihe
Are there any Java VMs strictly for development use that could be started up quicker, use less memory or compile clojure during execution? Alternatively can OpenJDK or similar be configured to do so? I don't care about application performance during development. -- -- You received this messag

Re: Helping newcomers get involved in Clojure projects

2014-01-29 Thread Bridget
On Monday, January 27, 2014 9:35:17 AM UTC-5, Michael Klishin wrote: > > Bridget: >> >> Are there any other Clojure projects that are doing this? >> > > Some ClojureWerkz [1] projects do, and eventually all key ones will. > > 1. http://clojurewerkz.org > > MK > That's excellent. One thought is to

Re: A question for TDD practitioners

2014-01-29 Thread Sean Johnson
I'm a bit more TDD inclined than the average Clojurian (having come over most recently from Ruby/Rails) and I have to say speed is king in TDD. I agree that source maps are life savers when you need to debug an issue in browser, but I don't really see how they'd be all that useful in the average

Re: need help reading blob column from oracle

2014-01-29 Thread bww00amd...@yahoo.com
here is where I have gotten: query seems to be getting the blob I am at a loss on how to get to the blob to say write it to a file, or ultimately construct a blob of multiple blobs AS usual any help is greatly appreciated (jdbc/query db["select blob_contents from ce_blob where event_id

Re: ANN: Another binary parser combinator - this time for java's streams

2014-01-29 Thread Michael Gardner
Looks good! A few questions: 1) Is it possible to specify a byte length for a 'repeated codec, rather than a number of objects? 2) Would you consider an enum type, for convenience? Something like: (defn enum [type m] (compile-codec type m (clojure.set/map-invert m))) 3) In the mp3.

Integration testing in Clojure

2014-01-29 Thread Conan Cook
Hi, I'm trying to decide how we should go about testing our services that are written in Clojure. I'm used to doing this using Maven, where I'd expect to fire up things like a webserver and database and then throw requests at them, using stuff like the maven-failsafe-plugin

Re: [ANN] Buffy, The Byte Buffer Slayer 1.0.0-beta1

2014-01-29 Thread Steffen
Hi, sorry for hijacking this thread, but you might want to have a look at the binary parser combinator library we released today. The announcement is https://groups.google.com/d/msg/clojure/2c9-oXfKlp0/yGyeD7iWEnQJ If you define a codec just for the header of your data you can read only the by

ANN: Another binary parser combinator - this time for java's streams

2014-01-29 Thread Steffen
Hello Clojure community, there are already two excellent libraries for reading/writing/manipulating binary data: Zach's Lamina and Clojurewerkz' Buffy for java's ByteBuffers. I would like to offer another library for java's Input/OutputStreams. It is inspired by Lamina but not compatible in syn

Re: standard indentation tool

2014-01-29 Thread Jozef Wagner
First we have to agree on indentation rules :) On Wed, Jan 29, 2014 at 1:20 AM, Curtis Gagliardi < gagliardi.cur...@gmail.com> wrote: > It'd be cool to build a frormatter as an nrepl middleware and get > consistent indents across editors and not have to hardcode custom > indentations for macros.