Re: [ANN] Release 0.32.0 of Counterclockwise

2015-07-30 Thread Steffen Dienst
Thank you for this great release! I can finally jump to definitions again, do not need to click a link in the console every time I start the REPL, can use all the nice color outputting libraries (ANSI support), see macro expansions, All in all a very appreciated efforts of all collaborators

Re: Probabilistic programming anyone?

2015-05-12 Thread Steffen Dienst
Neither the wiki, linked in the README at bitbucket referencing https://bitbucket.org/dtolpin/anglican/wiki, nor the issues, linked from the Anglican homepage referencing https://bitbucket.org/dtolpin/anglican/issues, is accessible. Both links present an "access denied" page. Am Dienstag, 12.

Re: How to compose a java function

2014-02-20 Thread Steffen Panning
Thanks. Note to self: Don't post when you are dead tired. greetings Steffen On Thursday, February 20, 2014 11:02:51 PM UTC+1, Steffen Panning wrote: > > Hi all, > > I want to compose a java function call out of a string in a macro: > > I tried something like this sim

How to compose a java function

2014-02-20 Thread Steffen Panning
do it right? TIA Steffen repl: user> (defmacro set-example [obj feature] (let [meth-name# (symbol (str ".set" (name feature)))] `(~meth-name# ~obj ~feature))) #'user/set-example user> (let [o (javax.swing.JCheckBox . "foo") Label &

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

2014-02-03 Thread Steffen Dienst
When writing, count the :data field, write the length using :type and then write the body". Steffen 2014-02-03 Stathis Sideris : > Hello, > > Is it possible to use 'repeated with a dynamic size if the length-defining > prefix does not directly precede the content? For example,

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

2014-01-31 Thread Steffen Dienst
Thanks, I fixed the documentation issues. Feel free to share your id3 tags parser, if you like :) You can see that mine is still stuck at the very beginning.. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

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

2014-01-30 Thread Steffen Dienst
Am Donnerstag, 30. Januar 2014 14:05:07 UTC+1 schrieb Michael Gardner: > > On Jan 30, 2014, at 01:36 , Steffen > > wrote: > > > If you would like to use a specific codec other than :byte or :ubyte but > also restrict the number of bytes read this would only work if

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

2014-01-29 Thread Steffen
s LSB-first? > Currently the index in the vector is the index of the bit. Yes, that means LSB-first. On Jan 29, 2014, at 06:32 , Steffen > > wrote: > > > Hello Clojure community, > > > > there are already two excellent libraries for > reading/writing/man

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

2014-01-29 Thread Steffen
bytes necessary for this header and leave all the rest in there. Steffen Am Dienstag, 28. Januar 2014 17:53:05 UTC+1 schrieb Michael Gardner: > > I'm looking to deal with a stream of data that includes a structured, > variable-length header followed by a (potentially large) bi

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

2014-01-29 Thread Steffen
mee/binary/demo/mp3.clj Apart from the README, doc strings there is no further documentation, yet. Please refer to the demos and the unit tests for now. Thanks, Steffen Dienst -- -- You received this message because you are subscribed to the Google Groups "Clojure" group.

[java interop] downcast

2012-10-24 Thread Steffen Panning
) It seems the clojure cast does not work like the java cast. Is there a way to do this Clojure? A not so nice alternative is to write the cast stuff in java. TIA Steffen -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: ANN: Clojure 1.3 and 1.4 Cheat Sheet v7

2012-10-15 Thread Steffen Panning
This is just great, I'm relatively new to cojure and somehow I never saw this until now. This will speed up my coding a lot. Thanks Steffen On Monday, October 15, 2012 4:17:35 AM UTC+2, Andy Fingerhut wrote: > > My recent updates prompted me to go through my to do list of enhanceme

Re: reading binary blob

2012-10-09 Thread Steffen
eption e nil) > > >> Each call would return a sequence of floats. You can write a sequence of floats back with "encode", of course. Currently the documentation is nothing to be proud of, but it is in the pipeline. Instead please refer to the beginning of an mp3 idv2 p

ClojureScript reader and timestamps

2012-08-03 Thread Steffen Beyer
and September are broken, it seems. Did not test the whole year. What could be wrong? CLJS release is 1443. Kind regards, -- Steffen Beyer -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@go

Aw: Re: Recreate a hierarchy

2011-05-05 Thread Steffen
Am Donnerstag, 5. Mai 2011 16:06:52 UTC+2 schrieb odyssomay: > > This is my take on this: http://gist.github.com/957028 > The second file produces the correct result. The result isn't exactly like > you asked for. This is because it wouldn't support files that isn't in the > lowest level. Your

Recreate a hierarchy

2011-05-05 Thread Steffen
t; "level" "file1"] ["top" "level" "file2"] ["top" "level2" "file3"]]) returns {"top" {"level" ("file1" "file2"), "level2" ("file3")}} what does a n

proxy'ing a final class

2009-07-26 Thread Steffen Glückselig
t it isn't possible to do that. Is there another way to 'inject' the extended implementation in common code? Maybe 'proxy' should be able to handle even final classes? best, Steffen --~--~-~--~~~---~--~~ You received this message becau

add-classpath stopped working with ns:import?

2009-05-24 Thread Steffen Glückselig
I just updated from SVN resulting in some code of mine no longer working: (add-classpath "file:///C:/clojure/scripts/metadata- extractor-2.3.1.jar") (ns images.date-sorter (:import (javax.swing JFileChooser)) (:import (java.io File FilenameFilter)) (:import (java.text SimpleDateFormat))

Calling method in Java that mutates passed argument

2009-02-20 Thread Steffen Glückselig
S")] (do (java.util.Collections/sort list) list)) But since Collections/sort mutates the list in place I cannot get a result. Is there a way in Clojure to get at the result of operations like these? Steffen --~--~-~--~~~---~--~~ You received this messag