[ANN] Citrus (Scrum) 3.0.0 — State management library for Rum

2017-08-29 Thread Roman Liutikov
Just renaming -- 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 group, send

[ANN] Citrus (Scrum) 3.0.0 — State management library for Rum

2017-08-23 Thread Roman Liutikov
To avoid confusion with Agile term “Scrum” the library, artifact and namespaces were renamed to *Citrus* since v3.0.0. Older versions are still available under the old name *Scrum*. To migrate to v3.0.0+ replace all occurrences of *scrum* with *citrus.* Old artifact name: *org.roman01la/scrum*

CUFP 2016 Call For Tutorials

2016-06-13 Thread roman
just fill this form http://goo.gl/forms/qoyK9qYPZhiDPSzO2. More info can be found at http://cufp.org/2016/call-for-tutorials.html Regards, Roman Gonzalez. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

Re: [ANN] encors: CORS middleware for Ring apps

2014-11-26 Thread roman
map->CorsPolicy enforces correctness of input, this way the wrap-cors functions doesn't need to validate data. Probably we can add a call to map->CorsPolicy as the first thing of wrap-cors function and keep this function private. Thanks for the suggestion. On Tuesday, November 25, 2014 5:27:12

[ANN] encors: CORS middleware for Ring apps

2014-11-25 Thread roman
It is our pleasure to announce a new ring middleware for CORS support. https://github.com/unbounce/encors Features include: * Add multiple CORS Policy to an app (can classify them via ring request info) * Preflight CORS requests are supported * Thoroughly tested (around 276 different assertio

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-23 Thread Roman Yakovlev
Great stuff Some suggestions and questions - forum is needed to disquss features and bugs. Something like http://www.discourse.org/ would be super awesome ( no google groups plz ! ) - documentation with user comments, Disquss would be enough for now but it would be great if it can be users driv

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-23 Thread Roman Yakovlev
Great stuff Some suggestions and questions - forum is needed to disquss features and bugs. Something like http://www.discourse.org/ would be super awesome ( no google groups plz ! ) - documentation with user comments, Disquss would be enough for now but it would be great if it can be users driv

Datomic notifications ?

2013-10-04 Thread Roman Yakovlev
Hi I wonder if there any notifications system in Datomic, that notify about changes in DB ? -- -- 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 moder

Hosting clojure web app ( deployment strategies)

2013-09-23 Thread Roman Yakovlev
Hi Let's discuss some modern strategies to deploy clojure web app, from easiest to heavy ( for heavy traffic apps). I suggest some ways. 1. Heorku way - the easiest one. I had experience with deploy to heroku it works out of the box

Creating web app/site without routing [experiment]

2013-02-26 Thread Yakovlev Roman
Hello Recently i was experimenting with Clojure and web stack and created kind of non-standart web app. It doesn't use routing there are no any urls there. This app is mostly "One page apps". Instead of routes i used id's and classes. Let me explain: I used "Noir" and "fetch" libs and logic of in

Re: Slow image convolution

2012-11-09 Thread Yakovlev Roman
what a mess if it is a function it's huuge did you try split it to useful chunks ? it's just unreadable and that's why you cann't spot anything i guess.. пятница, 9 ноября 2012 г., 0:48:20 UTC+4 пользователь Cedric Greevey написал: > > I have the following code to perform a complicated image co

[Learning] Clojure web programming - thoughts and series of articles

2012-11-08 Thread Yakovlev Roman
Some time have passed since i posted "Is clojure need it's own web framework like ruby on rails" ? https://groups.google.com/forum/?hl=en&fromgroups=#!topic/clojure/C41MfD72UBE There answer mostly was no. But i still think that clojure need some base for "Clojure web programming" maybe wiki site

Re: Simple way to get image from url

2012-10-16 Thread Yakovlev Roman
file (.write w (:body (client/get url {:as :byte-array} ; here we get image as byte-array )) Which trlanslates to ( i hope i get it right ) : Open file in stream mode (w) and write to it byte stream (image file ) from url. On Monday, October 15, 2012 1:06:19 PM UTC+4, Yakovlev Roman

Re: Simple way to get image from url

2012-10-15 Thread Yakovlev Roman
t; > I think you can use clj-http: > https://github.com/dakrone/clj-http > > (client/get "http://site.com/favicon.ico"; {:as :byte-array}) > > > > 2012/10/15 Yakovlev Roman > > >> Hi >> I am pretty new to java world so as i found there is no simple wa

Re: Simple way to get image from url

2012-10-15 Thread Yakovlev Roman
M, dennis zhuang > > > wrote: > >> I think you can use clj-http: >> https://github.com/dakrone/clj-http >> >> (client/get "http://site.com/favicon.ico"; {:as :byte-array}) >> >> >> >> 2012/10/15 Yakovlev Roman > >> >

Simple way to get image from url

2012-10-15 Thread Yakovlev Roman
Hi I am pretty new to java world so as i found there is no simple way to get image file from url like : http://example.com/image.jpg. What i need just to get file from url and store it to db. So we need to use buffer, stream and stuff to get file. I found this code but i guess there is a way to g

Re: Regarding Starting Clojure

2012-10-02 Thread Yakovlev Roman
You can make your site with many examples and good documentation and maybe it will be at first place at google if it will have great value. A lot of people here will agree with that. Site could be better place to get started ! but old site still there. As far as i know there is a company behind

Re: Clojure web framework

2012-10-02 Thread Yakovlev Roman
Ok that's good idea really. As i can see you just use ring compojure korma for mysql and postgresql for pg database. As for me i use for my first project this config (defproject testpro "0.1.0-SNAPSHOT" :plugins [[lein-catnip "0.4.1"]] :description "FIXME: write description" :url "http://e

Re: ANN: Swiss Arrows

2012-04-02 Thread Roman Perepelitsa
lt;>}) IllegalArgumentException No value supplied for key: 2 clojure.lang.PersistentHashMap.createWithCheck (PersistentHashMap.java:89) Roman Perepelitsa. 2012/4/2 Roman Perepelitsa > Looks very nice! > > Is the following behavior expected with Clojure 1.3? > > user=> (-<> 0 '(<

Re: ANN: Swiss Arrows

2012-04-02 Thread Roman Perepelitsa
uess this one is expected, although it would be nice if it worked. user=> (-<> 0 '(1 (1 <>))) (1 (1 <>) 0) Roman Perepelitsa. 2012/4/2 Robert Levy > Swiss arrows is a library I wrote today, providing a number of useful > arrow macros. > >- The Diamond

Re: need hint for "A nil key " on 4clojure

2012-02-29 Thread Roman Perepelitsa
ef/Clojure%20Core#Collections+-+Sequences Roman. 2012/2/29 Kevin Ilchmann Jørgensen > So, you need to give it a function which takes an key and a collection. > > (fn [k coll] ...) > > It should return true if two things are true. That the collection > _contains_ the key, an

Re: Looking for parser generator library

2012-02-07 Thread Roman Gonzalez
I released yesterday zetta-parser (http://github.com/van-clj/zetta-parser) through the van-clj group (http://van-clj.github.com), this library is a port of Haskell's attoparsec. The difference between this and the ones I've seen so far is that zetta allows you to use a parser without having al

Re: Creating parsers in clojure

2012-02-03 Thread Roman Perepelitsa
ck out this recent thread: https://groups.google.com/d/topic/clojure/2fGNugcdkDo/discussion Roman Perepelitsa. -- 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 memb

Re: Looking for parser generator library

2012-01-29 Thread Roman Perepelitsa
Thanks for all the suggestions! They'll keep me going for a weekend. Roman Perepelitsa. -- 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 member

Re: Looking for parser generator library

2012-01-28 Thread Roman Perepelitsa
en? > > https://github.com/richard-lyman/amotoen > > I'm not sure what your needs are... > > -Rich > > > > On Sat, Jan 28, 2012 at 8:19 AM, Roman Perepelitsa > wrote: > > I'm looking for a parser generator library. I stumbled upon fnparse, but >

Looking for parser generator library

2012-01-28 Thread Roman Perepelitsa
I'm looking for a parser generator library. I stumbled upon fnparse, but unfortunately it doesn't work with clojure 1.3. Roman Perepelitsa. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

Re: problems with if

2012-01-27 Thread Roman Perepelitsa
2012/1/26 raschedh > (if true "t" f) > > in a fresh REPL, I get the error > > [...] Unable to resolve symbol: f [...] > > In common lisp, for example: > > (if t "t" f) > evaluates to "t". Try (if t "t" blah) in common lisp,

Re: problems with if

2012-01-27 Thread Roman Perepelitsa
2012/1/27 Roman Perepelitsa > Try (if t "t" blah) in common lisp, you'll get the same error. > I just tried it and it resolves to "t" in Common Lisp. Sorry about that :-/ Cedric's reply is the one you are looking for. Roman Perepelitsa. -- You r

Re: Rebinding a recursive function

2011-12-02 Thread Roman Perepelitsa
"ordinary" means before going to > dynamic Vars. It will be faster and possibly easier to understand. Thanks, Stuart. That's a good advice. Roman. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

Re: Rebinding a recursive function

2011-12-01 Thread Roman Perepelitsa
Thanks for the reply, Nils. 2011/12/1 Nils Bertschinger > Hi Roman, > > as far as I understand, the Clojure compiler is doing some > optimizations for recursive functions to save the variable lookup. > This means that you have to explicitly write the recursive call as > (#&#x

Re: The Clojure way to solve this problem?

2011-12-01 Thread Roman Perepelitsa
ynamic. > `with-redefs` is the right way to do it now. with-redefs affects all threads. Is there a way to replace a function only in current thread? Roman. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

[newbie] Rebinding a recursive function

2011-11-30 Thread Roman Perepelitsa
)...(1). Why? (fact-with-logging 5) Roman. -- 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 pos

Re: Too many arguments to if

2011-07-12 Thread Roman Roelofsen
Either this, or use the "when" form. http://clojuredocs.org/clojure_core/clojure.core/when 2011/7/11 Tassilo Horn : > Antonio Recio writes: > > Hi Antonio, > >> I get the error "Too many arguments to if" with this. Do you have any >> suggestion? > > `if' expects exacly one test, one then-form, an

Re: (just) emacs mode

2011-04-27 Thread Roman Sykora
n so far. Since then I switched over to ubuntu, and I it seems that despite emacsW32 on dos, emacs fits more naturally on a unix based system. YMMV Sincerely Roman Syora On Apr 27, 3:07 pm, John V wrote: > On Apr 27, 2:51 pm, Rasmus Svensson wrote: > > > I happened to have access to

Re: (take-by f coll), (drop-by f coll): Problem Comparing Adjacent Items Of A Collection

2011-04-04 Thread Roman Sykora
realized/executed if one uses the resulting lazy-seq in the former case ? Sincerely Roman -- 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

Re: (take-by f coll), (drop-by f coll): Problem Comparing Adjacent Items Of A Collection

2011-04-03 Thread Roman Sykora
t;         (cons fst (take-while #(-> % f (= value)) (rest s))) Sincerely Roman -- 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: REST library

2010-02-17 Thread Roman Roelofsen
Shantanu Kumar wrote: > On Feb 17, 3:05 pm, Roman Roelofsen > wrote: > >> Hi, >> >> does someone knows a good Clojure REST framework? It should help with >> URL destructuring and maybe creating JSON return data etc. >> > > You can t

REST library

2010-02-17 Thread Roman Roelofsen
Hi, does someone knows a good Clojure REST framework? It should help with URL destructuring and maybe creating JSON return data etc. Cheers, Roman -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Removing (gensym) in macro

2010-02-08 Thread Roman Roelofsen
> It doesn't work because the scope of lname# is limited to the `(). > However lname is used in a ~@() which leaves the `() and enters the > enclosing environment (in this case the macros). There the lname# is > not valid. Ah, that makes sense, thanks! Is using (gensym) the common solution here? S

Re: Removing (gensym) in macro

2010-02-08 Thread Roman Roelofsen
> I don't see a compelling reason for such a macro. At least not in this > simple case. I agree. As I said, the purpose of this macro was purely for learning and understanding macros ;-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Removing (gensym) in macro

2010-02-08 Thread Roman Roelofsen
avalist "2") (prn javalist)) Is it possible to create the macro without the (gensym) call? I wasn't able to use something like lname#. Cheers, Roman -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

ClojureQL insert data from map

2010-01-27 Thread Roman Roelofsen
t/update a table row. Currently I have to do this: (sql/insert-into Person [firstname "Roman" lastname "Roelofsen"])) What I would like to do is something like this: (def person {:firstname "Roman" :lastname &quo

Re: Full Disclojure - I Need Topics!

2010-01-24 Thread Roman Roelofsen
2010/1/25 Mark Engelberg : > Debugging techniques, including: > * How to make sense of Clojure's stack traces. > * How to use Java debugging and profiling tools with Clojure. +1 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

Re: Semantic Versioning

2009-12-18 Thread Roman Roelofsen
> Talking of semantics, do you think the one I enumerated would work? > I'll certainly try to implement this concept, but I have many other > projects on the table right now, so it might take a while before I > start working on it. Yes, it looks good. The key thing is that all users/developers agr

Re: Semantic Versioning

2009-12-17 Thread Roman Roelofsen
completely incompatible with OSGi. If we could solve this, Clojure would instantly get multi version support. Cheers, Roman [1] http://www.osgi.org/blog/2009/12/versions.html 2009/12/16 Nicolas Buduroi : > Hi, on the CommonJS Google Group there was a discussion on semantic > versioning, a

Disabling ContextClassLoader

2009-12-16 Thread Roman Roelofsen
sure how they can be used or if this is even possible. Thanks, Roman -- 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 pa

Re: Generalizing -> & ->>

2009-12-03 Thread Roman Roelofsen
Are there any plans to add -$> to core or contrib? 2009/11/13 Laurent PETIT : > Oh yes, thanks for refreshing my memory. > And indeed it makes sense to place the question mark in the "questioned" side > :) > > 2009/11/13 Wilson MacGyver : >> Yes, it's groovy, and it's "?." It's called safe naviga

Re: 'sync' call in writeClassFile

2009-12-03 Thread Roman Roelofsen
I am a Linux user as well and this indeed sounds a bit alarming (but I haven't tested it on my machine yet, though...) Does somebody has a bit more information about the reason, current state, etc.? Thanks! 2009/11/28 David Brown : > This commit: > >     commit 5577a47a390782d7ab911c2e3c4c8be1b03

Re: Continuous Integration Server & Maven/Ivy Repo

2009-11-04 Thread Roman Roelofsen
His second post referred to https://www.assembla.com/spaces/clojure/tickets/208-pom-uses-old-artifactId So until this ticket is closed we need to use clojure-lang instead of clojure. Roman 2009/11/4 Stuart Sierra : > > Dysinger's post implies it should be "clojure" instea

Re: Continuous Integration Server & Maven/Ivy Repo

2009-11-04 Thread Roman Roelofsen
It seems that only directory listings are disabled since http://build.clojure.org/org/clojure/clojure-lang/maven-metadata.xml is accessible. Roman 2009/11/4 Stuart Sierra : > > I don't think that URL works as a Maven/Ivy repository, because > http://build.clojure.org/org/clojure

Re: Embedding Clojure in NetKernel

2009-10-29 Thread Roman Roelofsen
Do you mind sharing the links? I am interested in it as well. Thanks! Roman 2009/10/28 Tony Butterfield : > > Tom Hicks has just pointed me to an old thread which answers > questions about namespaces and isolation. Let me read and > absorb all that work first - I suspect it answers

Re: Statics in clojure.lang.RT

2009-10-12 Thread Roman Roelofsen
2009/10/12 Christophe Grand : > On Mon, Oct 12, 2009 at 12:00 PM, Roman Roelofsen > wrote: >> >> > Plus, if you use a shared loader for most interfaces, clojure instances >> > will >> > be able to share persistent data and closures. >> >> Nop

Re: Statics in clojure.lang.RT

2009-10-12 Thread Roman Roelofsen
> Plus, if you use a shared loader for most interfaces, clojure instances will > be able to share persistent data and closures. Nope, I tried this and it didn't work. The classloader explicitly complained that e.g. Var and RT have not been loaded by the same classloader :-/ --~--~-~--~--

Re: Does OSGi make sense for Clojure?

2009-10-06 Thread Roman Roelofsen
plement something like what I described above but for performance reason it's obviously preferable that the Clojure runtime itself provides something in the future. Cheers, Roman 2009/10/6 Mark Derricutt : > I do have a novel idea to work around this but I've yet to put my theory

Re: Adding Classpaths On The Fly

2009-09-28 Thread Roman Roelofsen
therefore dynamically extend the classpath (removing/updates are not working yet). The project is currently in proof-of-concept state and I can not recommend to start using it! But at least you might want to watch the github repo to stay informed. Cheers, Roman 2009/9/27 Volkan YAZICI : > > F

Re: -> with anonymous functions

2009-09-22 Thread Roman Roelofsen
Thanks for the explanation! So the solution is much simpler: user=> (-> person :childs first (select-keys [:name])) {:name "Son"} Cool :-) On Sep 22, 3:26 pm, Jarkko Oranen wrote: > On Sep 22, 3:58 pm, Roman Roelofsen > wrote: > > > > > Hi the

-> with anonymous functions

2009-09-22 Thread Roman Roelofsen
Hi there! Lets assume I have this map: user=> (def person {:name "Father" :childs [{:name "Son" :age 10}]}) Testing: user=> (-> person :childs first) {:name "Son", :age 10} Now lets filter the child map: user=> (def only-name (fn [m] (select-keys m [:name]))) user=> (-> person :childs first

Re: Questions / guidelines for adopting Clojure

2009-07-07 Thread Roman Roelofsen
Thanks a lot to everbody for the great responses! They certainly helped a lot! Cheers, Roman --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Questions / guidelines for adopting Clojure

2009-07-07 Thread Roman Roelofsen
ojure's macro that you don't want to miss? Sorry for the long posting and thanks a lot for reading it ;-) Cheers, Roman --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: In core structure editor, anyone?

2009-01-10 Thread roman
Here is a link to an article comparing structure editors with other approaches to code editing. Seems apropos to this discussion. http://web.media.mit.edu/~lieber/Lieberary/Softviz/CACM-Debugging/Already-Full/Already-Full.html Also, anyone wanting to play with Interlisp's structure editor can d