Re: bots in closure

2017-07-12 Thread ureal frank
Hi Daniel, It looks promising! Thanks for sharing. I will look forward to play with it if/when I clearly figure what I want :) Many thanks!! F On Tuesday, July 11, 2017 at 8:59:30 AM UTC+1, Daniel Compton wrote: > > Hi Frank > > https://github.com/wit-ai/duckling_old is a text par

Re: bots in closure

2017-07-12 Thread ureal frank
looking for. I agree with you "chatbot is a bit of a loaded term" :) Cheers, F On Tuesday, July 11, 2017 at 2:10:40 AM UTC+1, Alex Walker wrote: > > Hi Frank, > > Chatbot is a bit of a loaded term, so could you please give a bit of > clarification? > >1. Are yo

bots in closure

2017-07-10 Thread ureal frank
Hi, Is anyone building chatbots in Clojure? OR can someone point me something to start with? Clojure newbie here :) thanks 🙏 Frank -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

alpha11 clojure.spec validation for fdef

2016-09-13 Thread Frank Moyer
I am trying to write a higher order function in clojure.spec with version 1.9.0-alpha12 and have not been able to get the validation to execute against the returned function. Using the example in the *Higher order functions* section of the clojure.spec guide,

Can we provide examples in fdef?

2016-07-27 Thread Frank Liu
imple tests, 3. and since there's less overhead, we'd probably write more tests. Frank -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members

Re: clojure.spec: hard to generate sequential things

2016-06-10 Thread Frank Versnel
::nums #(some #{42} %)) > (fn [] (gen/fmap #(conj % 42) (s/gen ::nums) > > > > > On Friday, June 10, 2016 at 10:01:48 AM UTC-5, Frank Versnel wrote: >> >> Hi, >> >> I'm currently playing around with clojure spec trying to write a spec

clojure.spec: hard to generate sequential things

2016-06-10 Thread Frank Versnel
m generator for the sequential bit? Best regards, Frank -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient

Re: [ANN] Clojure 1.9.0-alpha4

2016-06-01 Thread Frank Castellucci
How was this accomplished? On Wednesday, June 1, 2016 at 10:17:14 AM UTC-4, Rich Hickey wrote: > > To give people an idea of the update-in and seq destructuring > improvements: > > (let [d3 {:a {:b {:c 2}}}] > (dotimes [_ 10] > (time (dotimes [_ 1000] > (update-in d3 [:

Re: Tiny fix for LispReader

2016-04-27 Thread Frank Pursel
) > http://dev.clojure.org/jira/browse/TRDR-36 > > Erik. > -- > i farta > > Den 27. apr. 2016 kl. 07.13 skrev Andy Fingerhut >: > > Frank: > > I am pretty sure that the intent is that strings like 077 are read as > octal, and in Clojure 1.8.0 this is what h

Tiny fix for LispReader

2016-04-26 Thread Frank Pursel
ectly read using the radix notation, eg (read-string "8r45") works. Perhaps someone here can get this change or a more sophisticated fix committed that will allow numeric strings with leading zeros to be successfully read. Regards, Frank Pursel -- You received this message be

Re: [ANN] boot-new 0.4.0 -- Templates AND Generators for Boot!

2016-02-27 Thread Frank Liu
Hi Sean, Love your project. Could you try to add them to the boot official pages and github wiki's third party tasks? The reason is I can never find this project on google (via "boot-new") or anywhere other than your github or search here in the Clojure google group. Fra

Re: [GSoC idea] Pluggable back-ends architecture for ClojureScript compiler

2016-02-23 Thread Frank Castellucci
Would not we want to "plug in" to the Clojure compiler? Feels weird to plug-in to ClojureScript to generate, say, python code. On Monday, February 22, 2016 at 6:52:43 PM UTC-5, Antonin Hildebrand wrote: > > I like the idea. > > I was thinking about a similar project. The goal would be to design

[ANN] clasew 0.3.2 - Clojure Applescript Execution Wrapper

2016-02-06 Thread Frank Castellucci
lob/master/CHANGES.md Feedback (+/-) and comments (+/-) are always welcome and appreciated. Enjoy Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts

Re: Counting nodes in two seperate subtrees

2016-02-02 Thread Frank Castellucci
On SO: http://stackoverflow.com/questions/35136560/counting-nodes-in-two-different-subtrees-in-clojure On Monday, February 1, 2016 at 1:16:31 PM UTC-5, xCaM wrote: > > Hi > > Im trying to write the functions for this probem > > https://uva.onlinejudge.org/external/116/11615.pdf > > as i'm new

Re: How is the emphasis of “data over code” different than the XML advocacy of the early 2000s?

2016-02-02 Thread Frank Castellucci
Josh To assume there is/was a problem because someone said so will waste your time. Through all the religious zealotry and opposing opinions, my comment would be: "Eschew commentary. View each technology option as a tool in your tool-belt, and expand it as time goes on. When the right problem

[ANN] clasew 0.3.1 - Clojure Applescript Execution Wrapper

2016-01-04 Thread Frank Castellucci
d comments (+/-) are always welcome and appreciated. Enjoy Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated

Re: Project structure when using reader conditionals

2015-12-31 Thread Frank Castellucci
Clean... very nice. On Wednesday, December 30, 2015 at 8:54:24 AM UTC-5, James Reeves wrote: > > My directory structure looks like: > > src/foo/client/bar.cljs > src/foo/common/bar.cljc > src/foo/server/bar.clj > > So I divide code by purpose, but they're all in the same source directo

[ANN] clasew 0.3.0 - Clojure Applescript Execution Wrapper

2015-12-26 Thread Frank Castellucci
email messages - Sends - Send email - More powerful filtering capability *Changes* - All changes details: https://github.com/FrankC01/clasew/blob/master/CHANGES.md Feedback (+/-) and comments (+/-) are always welcome and appreciated. Enjoy Frank V. Castellucci -- You received this

[ANN] clasew 0.2.1 - Clojure AppleScript Engine Wrapper

2015-10-12 Thread Frank Castellucci
C01/clasew/blob/master/CHANGES.md Feedback (+/-) and comments (+/-) are always welcome and appreciated. Enjoy Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com

Re: Towards Greater Code Reuse

2015-10-02 Thread Frank Castellucci
es, etc.) while the micro level adventure leaving bloated unmaintainable artifacts in it's wake. The fundamental essence of functional approach has done more for reuse at the micro level then all OO languages combined. IMHO. Off peanut gallery soap-box Frank On Thursday, October 1, 2015 a

[ANN] clasew 0.2.0 - Clojure Applescript Execution Wrapper

2015-09-05 Thread Frank Castellucci
*Changes* - All changes details: https://github.com/FrankC01/clasew/blob/master/CHANGES.md Feedback (+/-) and comments (+/-) are always welcome and appreciated. Enjoy Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: Looking for library to annotate structures with grammar descriptions

2015-06-26 Thread Frank Castellucci
Have you looked at: clojure.walk ? clojure.zip ? namespaces? You could use either to traverse and set meta data. There are also 'zipper' predicate libraries that do similar things as 'specter' On Thursday, June 25, 2015 at 12:35:54 PM UTC-4, Brian Marick wrote: > > Suppose we have a structur

[ANN] clasew 0.1.10

2015-06-09 Thread Frank Castellucci
details: https://github.com/FrankC01/clasew/blob/master/CHANGES.md Feedback (+/-) and comments (+/-) are always welcome and appreciated. Enjoy Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gro

Re: Probabilistic programming anyone?

2015-05-14 Thread Frank Wood
only access for outsider, whereas the > examples are on Github? Does that mean that you do not anticipate > contributions to the language from the outside? I saw the license is GPL > though. > > On Tuesday, May 12, 2015 at 3:05:50 AM UTC-7, Frank Wood wrote: >> >&g

Re: Probabilistic programming anyone?

2015-05-14 Thread Frank Wood
Nandihalli wrote: > > Hi Frank, > I am looking forward to giving it a shot. I am familiar with and used > Stan. While I understand that stan may not as flexible. A comparison with > of Anglician with Venture and Stan would be very much appreciated. Thanks > for probabilistic-

Probabilistic programming anyone?

2015-05-12 Thread Frank Wood
I'm a professor at Oxford and my group has been working on a new embedded language called Anglican: http://www.robots.ox.ac.uk/~fwood/anglican/ It can be used to do advanced machine learning in Clojure (Java, etc.) applications without having to know anything about inference or math. For exam

Re: separation of concerns w/o encapsulation

2015-05-10 Thread Frank Castellucci
ut how to get/set it. Especially easy through such things as: 3. Byte Code Injection - In the case of Java, and, 4. Easy work arounds - In the case of Clojure's *(**def my-local #'ns/their-privates)* How to avoid it? Discipline and code reviews. Frank Castellucci On F

[ANN] clasew 0.1.9

2015-05-10 Thread Frank Castellucci
elcome and appreciated. Enjoy Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post.

[ANN] clasew 0.1.18

2015-04-30 Thread Frank Castellucci
capability may be minimal, others may find this a useful addition to the 'niche' library. Feedback (+/-) and comments (+/-) are always welcome and appreciated. Frank V. Castellucci -- You received this message because you are subscribed to the Google Groups "Clojure" gr

Re: [ANN] Understanding the Persistent Vector

2015-03-04 Thread Frank Castellucci
Jean It's been added to the must reads list. Will you be doing this for other data types? Again, Great Work! Frank On Saturday, February 28, 2015 at 11:14:17 AM UTC-5, Jean Niklas L'orange wrote: > > Hello fellow Clojurians, > > I am happy to announce that I have finis

partition-when

2015-03-03 Thread 'Frank' via Clojure
] (let [fst (first s) run (cons fst (take-while #(not (f %)) (next s)))] (cons run (partition-when f (seq (drop (count run) s Is there a better (more idiomatic) way to achieve the same result? Thank you in advance. Frank -- You received this message because you are s

Re: Implementation of min-key inefficient?

2015-02-09 Thread Frank Schmidt
Thanks a lot. I voted :) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this g

Implementation of min-key inefficient?

2015-02-09 Thread Frank Schmidt
Hi, the min-key function is implemented recursively. Therefore in (min-key #(.length ^String %) "a" "aa" "aaa") the .length function is evaluated 4 times instead of 3 times. What are the reasons for this nice but inefficient implementation? Best wishes, Frank

Re: 101 on simple and flexible graph query/update?

2014-07-10 Thread Frank Castellucci
Bertrand I've been doing a lot of Ontology (OWL) with directed graphs (with cycles) and DAGS. One application we went with the nested map structure however now that I've been working on a normalized BPMN/XPDL utility ( https://github.com/FrankC01/tributary ) I'm becoming enamored with the in X

Re: OT: Github Alternatives

2014-07-01 Thread Frank Castellucci
wush.net On Monday, June 30, 2014 6:34:56 AM UTC-4, Adrian Mowat wrote: > > Hi All, > > Sorry for the off topic thread but my company is looking at alternatives > to gihub that are a) hosted internally and b) cheaper (!) > > I was wondering what everyone else is using out there? The features we

Re: Effective Clojure book?

2014-06-06 Thread Frank Castellucci
No, but there is support for just about everything Meyers so if you already own that you just saved yourself some money! Frank On Wednesday, June 4, 2014 9:30:26 PM UTC-4, Mike Fikes wrote: > > Are there any books yet that prescribe best practices for Clojure, Ă  la > Meyers

Re: Examples of aget (multi-dimensional) and make-array

2014-05-17 Thread Frank Castellucci
As per the documentation http://clojuredocs.org/clojure_core/clojure.core/make-array you use this to collect Java Class types into an array. Remember that a make-array return is a mutable type. For example, a string in clojure is backed by java's String class. If you want to make a 3 member a

Re: Working with big datasets, merging two ordered lists by key

2014-03-14 Thread Frank Behrens
I am still working on the solution, (see gist ) and want to share my current thoughts. The problem is to process over a join on two big datasets (from different sources). Right now I a quite confident as I break the problem into smaller parts, and I am starting

Get a LAZY list of records from a database query ?

2014-03-14 Thread Frank Behrens
Hi, I wonder if its possible to convert this database query (its CLR) into a lazy sequence. The reader loop is wrapped in the opening and closing of the db-connection and reader. When i 'take a few records from the sequence, will then the connection be closed because it's getting out of scope

Re: Need help understanding a lazy sequence function

2014-03-10 Thread Frank Behrens
Hello, I'm trying to understand the lazyness, how they work, how to create them, how to avoid pre-realisation. Can someone point me to which documentation would be helpful, where do I find it ? Frank Am Montag, 10. März 2014 13:16:00 UTC+1 schrieb Asfand Yar Qazi: > > On Monda

Re: Working with big datasets, merging two ordered lists by key

2014-03-10 Thread Frank Behrens
Hey, just to share, I came up with this code, which seem quite ok to me, Feels like I already understand something, do i, Have a nice day, Frank (loop [a '(1 2 3 4) b '(1 3) out ()] (cond (and (empty? a)(empty? b)) out (empty? a) (recur a (rest b) (con

Re: Working with big datasets, merging two ordered lists by key

2014-03-10 Thread Frank Behrens
g out pairs of values according to compare (merge-sortedlists '(1 2 3) '( 24)) => ([1 nil] [2 2] [3 nil] [nil 4]) Seems quite doable. Try to implement now. Frank Am Montag, 10. März 2014 01:23:57 UTC+1 schrieb frye: > > Hmm, the *for* comprehension yields a lazy seq

Working with big datasets, merging two ordered lists by key

2014-03-09 Thread Frank Behrens
st of user-maps. So I would first order the user_textfile and then conj the user_table ordered list into it, while doing the database query. Is that approach right ? How would I then merge the two ordered lists like in the example below? (defn user_textfile ([:id1 {:name 'Frank'}]

Re: Getting started - overcoming my first obstacles

2014-03-09 Thread Frank Behrens
Dear Florian (or anybody), I really like how your post is so beautifully syntax highlighted. How did you do that ? nice day !, Frank (PS this Frank) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Want a game? let's refactor in the functional way

2014-02-24 Thread Frank Licea
Hi Bob, you might get a better response if you had a more specific question. Do you have a certain code snippet that you'd like to get feedback on? On Friday, February 21, 2014 7:32:00 AM UTC-6, bob wrote: > > > I make a > change

Re: Read Microsoft Word .doc files in Clojure

2014-01-02 Thread Frank Hale
One solution is to use ClojureCLR and the OpenXML SDK. On Thu, Jan 2, 2014 at 11:08 AM, Dennis Haupt wrote: > use apache poi and write a small wrapper or something > this is what i did > > > 2014/1/2 Joshua Mendoza > >> Hi!, >> >> I've been looking for libraries or resources to read MS .doc fi

Re: [ClojureCLR] clr.tools.nrepl

2013-12-10 Thread Frank Hale
support for mono and nuget for ClojureCLR. > I plan to finish the core.async port (it's at 90%) and then get back to > this. > Unless someone beats me to it. > > -David > > > On Monday, December 9, 2013 7:09:23 PM UTC-6, Frank Hale wrote: >> >> I'm a

[ClojureCLR] clr.tools.nrepl

2013-12-09 Thread Frank Hale
I'm attempting to run the CLR version of nREPL. I've cloned the code from: https://github.com/clojure/clr.tools.nrepl However, I'm not sure how to run the REPL. Doing lein run results in the following message: "No :main namespace specified in project.clj." running lein compile doesn't fail but

Re: [Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
It took me a few hours of research and trial and error but I think this will work: user=> (def foo-handler (reify System.Web.IHttpHandler (get_IsReusable [this] false) (ProcessRequest [this context] ( #'user/foo-handler user=> On Mon, Dec 9, 2013 at 12:38 PM, Frank Hale wrote

Re: [Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
n, Dec 9, 2013 at 12:24 PM, Frank Hale wrote: > Hi John, > > Yes I've tried adding get_ to the property name but I'm still not doing > something correctly. > > (defn foo-handler [] > (reify System.Web.IHttpHandler > (get_IsReusable [] false) &

Re: [Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
7;t define method not in interfaces: get_IsReusable On Mon, Dec 9, 2013 at 12:15 PM, John D. Hume wrote: > If I recall, properties are just syntactic sugar for awkwardly named > methods. Have you tried the compiler-generated get and set method-names? > On Dec 9, 2013 9:50 AM, "Frank Hale&q

[Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
I'm trying to implement an interface that has properties but can't quite seem to get it to work and I also have not found any relevant examples via Google (yet). I'm sure I'm doing something completely wrong here but have no idea how to fix it. (System.Reflection.Assembly/LoadWithPartialName "Syst

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
inutes but I do think that that page could be improved upon specifically for the other versions of Clojure that are out there. On Mon, Nov 25, 2013 at 5:15 PM, Frank Hale wrote: > Awesome! Thanks Alex. > > On the current Clojure downloads page it's simple to get a copy of the

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
e.org/clojureclr to the binary download > wiki page. I'm happy to update this page in whatever way people find useful > - feel free to ping me on email David, Frank, or others. > > > On Monday, November 25, 2013 12:48:51 PM UTC-6, Frank Hale wrote: > >> Are there any pla

Re: Clojure style

2013-11-25 Thread Frank Hale
nction that returns a > function (core.memoize, for instance). The work to set up the cache is > done during namespace initialization and never after. > > > On Mon, Nov 25, 2013 at 4:18 PM, Frank Hale wrote: > >> Given the following code snippet would declaring a Var with an

Clojure style

2013-11-25 Thread Frank Hale
Given the following code snippet would declaring a Var with an anonymous function be considered bad style? Would there be any real use cases where this would be regarded as a cleaner mechanism to declare a function rather than declaring one with defn? user=> (def pow #(Math/pow %1 %2)) #'user/pow

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
there you have to click on a link to get to the binary downloads and then you have to scroll through to find the SourceForge link. On Mon, Nov 25, 2013 at 1:38 PM, Frank Hale wrote: > Thanks David for this information, I really appreciate the work you (and > others) are doing on the

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
jure.Main and Clojure.Compile binaries in the NuGet >> package: Yes, you have to move them to run them. Clojure.dll has to be in >> the lib\ folder in order for the package to work properly when included in >> a project. Ancillary files such as Clojure.Main and Clojure.Compi

Clojure CLR versioning and binary downloads

2013-11-22 Thread Frank Hale
As far as I can tell the Clojure CLR version number does not track the JVM version number at least for some builds. The latest build 1.5.0 as far as I can tell is at the same patch level as 1.5.1 on the JVM. This numbering seems confusing to me. Are there any plans to streamline the version numbers

Re: [ClojureCLR] Clojure.Compile.exe

2013-11-19 Thread Frank Hale
Thanks Shantanu, I will look into lein-clr. On Tue, Nov 19, 2013 at 11:57 AM, Frank Hale wrote: > Ugh, as it always goes right after posting to a mailing list you find out > what the problem is. My clojure source file name was the problem. I had a > dash in the filename and apparentl

Re: [ClojureCLR] Clojure.Compile.exe

2013-11-19 Thread Frank Hale
Ugh, as it always goes right after posting to a mailing list you find out what the problem is. My clojure source file name was the problem. I had a dash in the filename and apparently that is a problem. All is well. LOL! On Tue, Nov 19, 2013 at 11:54 AM, Shantanu Kumar wrote: > Hi Fr

[ClojureCLR] Clojure.Compile.exe

2013-11-19 Thread Frank Hale
I'm using Clojure-CLR 1.5 and cannot get a simple hello,world to compile into an executable using Clojure.Compile.exe. Code: (ns clojureclr-test (:gen-class)) (defn -main [] (println "Hello, World)) When I attempt to compile the code using Clojure.Compile.exe I get the following error:

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Frank Hale
Looks like I was way too fast. Upgrading just worked for me. Thank you! On Thu, Aug 8, 2013 at 11:47 PM, Frank Hale wrote: > Upgrading failed for me. > > C:\Users\majyk\Desktop>lein upgrade > The script at C:\Users\majyk\Desktop\local\lein.bat will be upgraded to > the la

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Frank Hale
Upgrading failed for me. C:\Users\majyk\Desktop>lein upgrade The script at C:\Users\majyk\Desktop\local\lein.bat will be upgraded to the late st version in series 2.3.0-SNAPSHOT. Do you want to continue (Y/N)?Y Downloading latest Leiningen batch script... 1 file(s) moved. Upgrading... Dow

Re: [ANN] Nightcode, an IDE for Clojure and Java

2013-08-04 Thread Frank Hale
Zach, I just want to say THANK YOU for doing what you are doing. Your work is very much needed! Take care! On Sun, Aug 4, 2013 at 11:19 PM, Matthew Chadwick wrote: > this is great! > > please please add structural editing (not simply bracket-matching in a > text-editor, but direct manipulation

Re: FYI: Intro to Clojure video from Java Tech Boise and Justin Reed

2013-08-04 Thread Frank Hale
That video seems to work fine for me. On Sun, Aug 4, 2013 at 3:56 PM, Jim - FooBar(); wrote: > the video is not available from that link... > > Jim > > > > On 04/08/13 17:25, John Conti wrote: > >> Hi all, >> >> Justin Reed recently spoke at our local user group on Clojure. One thing >> I like

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Frank Hale
Hanging off the last couple comments on extracting IntelliJ's components which I think is quite interesting; Has anyone considered forking Jedit and using that as a basis for a Clojure development environment? It has a pretty darned good editor widget with the requisite syntax highlighting and the

Re: how to get SHA1 of a string?

2013-03-05 Thread Frank Siebenlist
words!!! -Frank. On Mar 4, 2013, at 10:52 PM, Frank Siebenlist wrote: > Hi Mark, > > Thanks for sharing! > > I like the approach of hiding all the interaction with the > java.security.MessageDigest library, > and returning the pair of matching digest&verify functions -

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
t to stick with bcrypt and friends though… Regards, Frank. On Mar 4, 2013, at 7:32 PM, Mark C wrote: > For another cut at a hashing interface, you may want to look at one I made > specifically for passwords. You make a password hasher by passing in > algorithm, salt length, and iterat

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
Larry, What I can advise though, is to look at my library code and it may give you different perspectives. Furthermore, copy, borrow, and steal what you like and make it your own. -FS. On Mar 4, 2013, at 3:17 PM, Frank Siebenlist wrote: > If your code is for production… do not use my c

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
shing. Regards, FrankS. On Mar 4, 2013, at 3:09 PM, larry google groups wrote: > Frank, > > Any idea when you might release your code in a stable form? I am using > this code at work so I am nervous about using code that is still > marked SNAPSHOT. Lein reminds me not to use a SNAPS

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
Glad Larry has working code now... As I mentioned before in this thread, I'm working on this functional interface for the message-digesting/secure-hashing, and this whole discussion reads like a use case for the "why?" ;-) It "proofs" to me that there may be real value in a more user-friendly a

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
ain, I am > creating a new instance MessageDigest, and so I don't have to worry > about calling .digest()? > > > > On Mar 4, 2:43 pm, Frank Siebenlist > wrote: >> That should work. >> >> No need for .reset though as the initially constructed Messa

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
t;\" Created=\"" created "\"")] >header) > > > I end up with, in part: > > PasswordDigest="[B@26f7b2f4" > Nonce="Y2MwN2JiYzA5MDlmZjE2ZjExMGYzMjRhODA2Yjc5ODc=" > Created="2013-03-04T15:57:52" &g

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
t; > and then print this to the terminal, I can see it really is just a > string made of these 3 items. Just a plain string, exactly what I > assumed. > > > On Mar 4, 2:25 pm, Frank Siebenlist > wrote: >>> digest (-> (java.security.MessageDigest/

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
e digest of "bc"'s bytes and .digest that. Ough… hope that's clear... -FS. On Mar 4, 2013, at 12:15 PM, Aaron Cohen wrote: > I'm not familiar with the class, but it seems that MessageDigest/getInstance > might retrieve some shared instance that could theoretic

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
>(doto (java.security.MessageDigest/getInstance "sha1") > .reset > (.update nonce-bytes) > (.update created-bytes) > (.update secret-bytes))) > > > On Mon, Mar 4,

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
> digest (-> (java.security.MessageDigest/getInstance "sha1") > .reset > (.update nonce-bytes) > (.update create-bytes) > (.update secret-bytes) > .digest) There may be an issue with this snippet o

Re: byte-array woes

2013-03-04 Thread Frank Siebenlist
I gave it my vote - thanks for trying to fix this issue - FrankS. FrankS (from mobile) On Mar 4, 2013, at 6:30 AM, Karsten Schmidt wrote: > Hi Frank, I've added a patch to CLJ-766 with a potential fix. Also, > Andy F. kindly pointed out that interested parties should vote on that

Re: how to get SHA1 of a string?

2013-03-04 Thread Frank Siebenlist
onal" than practical right now, but my hope was that if could clarify some of the message-digesting workings. Would love to get some feedback... Enjoy, Frank. On Mar 4, 2013, at 10:09 AM, larry google groups wrote: >>> nonce (DigestUtils/md5Hex (random-string 32)) >>>

Re: Wrong clojure version depending on lein dependencies

2013-03-04 Thread Frank Siebenlist
Excellent - thanks for letting me know - Frank. On Mar 3, 2013, at 11:37 PM, Tassilo Horn wrote: > Frank Siebenlist writes: > > Hi Frank, > >> clj-ns-browser 1.3.1 is released and addresses this issue by upgrading >> the project's dependencies to seesaw 1.4.3. &

Re: Problems building CounterClockwise

2013-03-03 Thread Frank Hale
thing that caused this. After fixing that line it now compiles fine. Sorry to bother you with this. On Sun, Mar 3, 2013 at 4:14 PM, Laurent PETIT wrote: > Hello again, > > 2013/3/3 Frank Hale : > > Thank you for the how-to on building but I'm still having issues building > &g

Re: Problems building CounterClockwise

2013-03-03 Thread Frank Hale
als(status, "unknown-op") ... ClojureBuilder.lang does not exist and I don't know how to resolve it. On Sat, Mar 2, 2013 at 3:55 PM, Laurent PETIT wrote: > 2013/3/2 Frank Hale : > > Thank you. A friend and I were both trying to get it to build for several > > h

Re: Wrong clojure version depending on lein dependencies (was: ANN: Clojure 1.5)

2013-03-03 Thread Frank Siebenlist
clj-ns-browser 1.3.1 is released and addresses this issue by upgrading the project's dependencies to seesaw 1.4.3. For docs and code, please see "https://github.com/franks42/clj-ns-browser";. Enjoy, Frank. On Mar 2, 2013, at 10:57 PM, Dave Ray wrote: >>> As i'

ANN: Clojure Namespace Browser: clj-ns-browser 1.3.1 release

2013-03-03 Thread Frank Siebenlist
nfused by the horrors of Maven dependency resolution." For docs and code, see: https://github.com/franks42/clj-ns-browser Enjoy, Frank and Andy. --- Clojure Namespace Browser (clj-ns-browser) Clj-ns-browser is a graphical namespace/class/var browser for Clojure's doc strings, so

Re: byte-array woes

2013-03-02 Thread Frank Siebenlist
I just ran into that issue while I was constructing byte-arrays for secure-hash test cases. Ended-up using (byte-array (vector-of :byte 1 2 3 4)) to avoid writing the (byte-array [(byte 1)(byte 2)(byte 3)(byte 4)]). Transparently adding valid byte-number values to a byte-array makes sense and

Re: Wrong clojure version depending on lein dependencies (was: ANN: Clojure 1.5)

2013-03-02 Thread Frank Siebenlist
r the clj-ns-browser release... And although the dependency issue seems another 2 levels down, can i specify anything differently in my project file to prevent this? Or is this a bug in leiningen's dependency resolution? Or both... Regards, Frank. -- -- You received this mes

Re: Problems building CounterClockwise

2013-03-02 Thread Frank Hale
Thank you. A friend and I were both trying to get it to build for several hours and we were throwing ideas back and forth and neither of us thought to check for a wiki on how to build it on the Google project page. I'll definitely give this a go. On Sat, Mar 2, 2013 at 5:12 AM, Laurent PETIT wrot

Problems building CounterClockwise

2013-03-01 Thread Frank Hale
I'm trying to build the CounterClockwise plugin for Eclipse and am stuck with the following build path problem: Project 'ccw.core' is missing required library: 'lib' Has anyone here encountered that and know how to resolve it? I've done a search on Google but I'm not finding any results. I have a

Re: Clojure-CLR - Where to report issues?

2013-02-20 Thread Frank Hale
right in your > ClojureCLR setup. > protocols.clj should not be loading. It should be AOT-compiled. > We can work from the JIRA ticket. > > -David > > > On Wednesday, February 20, 2013 3:30:52 PM UTC-6, Frank Hale wrote: > >> Thank you. New ticket created. >> >>

Re: Clojure-CLR - Where to report issues?

2013-02-20 Thread Frank Hale
CLR > > Andy > > On Feb 20, 2013, at 12:58 PM, Frank Hale wrote: > > > I wanted to report an issue with Clojure-CLR 1.4.1 that I am seeing but > the issues section on the Clojure-CLR Github must be disabled because the > link is not showing up. > > > > When I ru

Clojure-CLR - Where to report issues?

2013-02-20 Thread Frank Hale
I wanted to report an issue with Clojure-CLR 1.4.1 that I am seeing but the issues section on the Clojure-CLR Github must be disabled because the link is not showing up. When I run the REPL I get a lot of duplicated warnings. I've pasted the warnings below. C:\Users\Frank.Hale\Desktop\clojure-clr

Re: ANN: Tawny-OWL 0.9

2013-02-06 Thread Frank Siebenlist
to publish your code as open source for the clojure community, and you do not care too much about whether it should be EPL or GPL/LGPL, then please choose EPL. If you care strongly about GPL/LGPL, more power to you and thanks for sharing the library also! Thanks, Frank. On Feb 6, 2013, at 12:0

Re: Call for volunteers to help moderate a ClojureScript Google group

2013-01-23 Thread Frank Siebenlist
Happy to help - FrankS. On Jan 23, 2013, at 10:53 AM, Andy Fingerhut wrote: > An interest was expressed by a few in having a separate ClojureScript mailing > list. > > If it is a Google group, that requires moderating messages sent to the group, > via manual approval. I suspect early on ther

Re: Is contributing to clojurescript is intentionally made hard ?

2013-01-18 Thread Frank Siebenlist
One process that could be made a little easier is the contribution of code documentation and suggested improvements of doc-strings. New or improved doc-strings do not change any functionality, impact any tests, require peer review… If we could simply suggest new doc-strings for example in the J

Re: CLJS: protocol interfaces don't seem to support variable args in the arglist, like [ & opts]

2013-01-16 Thread Frank Siebenlist
Thanks for the confirmation. I know that destructuring is supported in protocols as I'm using with much pleasure - kind of assumed it would work as it wasn't documented not to work ;-) I'll open up an jira-issue to improve the docs for defprotocol and supply a patch. -Frank.

Re: CLJS: protocol interfaces don't seem to support variable args in the arglist, like [ & opts]

2013-01-16 Thread Frank Siebenlist
topic/clojure/HyoSBEfEF4w"; Thanks, FrankS. On Jan 16, 2013, at 8:14 AM, David Nolen wrote: > They aren't supported in Clojure either. > > > On Wed, Jan 16, 2013 at 11:11 AM, Frank Siebenlist > wrote: > CLJS: protocol interfaces don't seem to support variable a

CLJS: protocol interfaces don't seem to support variable args in the arglist, like [ & opts]

2013-01-16 Thread Frank Siebenlist
CLJS: protocol interfaces don't seem to support variable args in the arglist, like [ & opts] Is there a CLJS issue# that addresses this? (coudn't fine one… but I've been "wrong" before) Thanks, FrankS. -- You received this message because you are subscribed to the Google Groups "Clojure" group

Re: CLJS: undefined and nil are "equally" nil?

2013-01-15 Thread Frank Siebenlist
I opened issue CLJS-457 for this enhancement/bug. As a workaround, one can test for undefined?, although that is not really the same and cljs-specific, but for my use case that will do. Thanks, Frank. On Jan 15, 2013, at 5:32 AM, David Nolen wrote: > This is an unrelated issue. We co

Re: CLJS: undefined and nil are "equally" nil?

2013-01-14 Thread Frank Siebenlist
op you > shouldn't care. > > On Tuesday, January 15, 2013, Frank Siebenlist wrote: > ClojureScript:cljs.user> (def a nil) > nil > ClojureScript:cljs.user> (def b) > > ClojureScript:cljs.user> (undefined? a) > false > ClojureScript:cljs.user> (undefined?

  1   2   3   >