them using Midje? Any
examples will be appreciated...
Regards,
Timur
--
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
Yes +1 to qsys, such a library would be quite useful and enable using
Clojure in additional enterprise settings.
Regards,
Timur
On Saturday, January 23, 2016 at 9:50:45 PM UTC+1, qsys wrote:
>
> True, hazelcast, or JGroups, in vertx 3 for clustering/autodiscovery. It
> may be
Hi all,
If anyone intends to pack all dependencies of a JAX-WS service with lein
uberjar. The trick is to append bus-extensions.txt from different
dependencies.
You can achieve this with:
:uberjar-merge-with {"META-INF/cxf/bus-extensions.txt" [slurp #(str %1 "\n"
%2) spit]}
Don't forget "\n
Cleaning the project did the job.
On Tue, Dec 8, 2015 at 6:15 PM Timur wrote:
> Hi all,
>
> I'm trying to merge all "META-INF/cxf/bus-extensions.txt" files in
> different jars during uberjar command with the following setting:
>
> :uberjar-merge-with {"M
wrong any ideas?
Regards,
Timur
--
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 unsu
Thank you for your answers.
Especially, thanks to Colin for such a detailed answer.
Regards,
Timur
On Saturday, December 5, 2015 at 5:52:35 PM UTC+1, Magnus Therning wrote:
>
>
> Timur writes:
>
> > Hi all,
> >
> > I'm using Clojure to build a set of s
Hi all,
I'm using Clojure to build a set of services.
Development with Clojure is fun but most of the time, I lose time with
fixing regressions due to changing small parts of the codes. Do you have
any best practices to avoid regressions occurring due to changes in the
code? I use :pre and :p
Hi,
A record realizes a protocol but does not implement all functions of it. Is
there a function to find out if a specific one is implemented or not?
Simple example:
(defprotocol IPro
(fn1 [_] )
(fn2 [_] ))
(defrecord MyRecord []
IPro
(fn1 [_] "Test1|))
I want to check if MyRecor
Thanks!!
On Tue, Nov 3, 2015 at 7:38 PM Erik Assum wrote:
> some->>
>
> Erik.
> --
> i farta
>
> Den 3. nov. 2015 kl. 17.05 skrev Timur :
>
> Hi all,
>
> Often I need to make decisions in simple threading macros, for instance
> consider the
ere is a better way to do this.
Regards,
Timur
--
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
fn__5743 0x118e7d04
"clojure.core$bean$fn__5742$fn__5743@118e7d04"]]]
When I put the map into a vector, the values of the bean map are converted
into bean functions, e.g., #object[clojure.core$bean$fn__5742$fn__5743
0x118e7d04 "clojure.core$bean$fn__5742$fn__5743@118e7d04"]
Wh
Ok this time, it works for sure.
The problem was because of transitivie dependencies.
Thanks and regards,
Timur
On Thursday, October 22, 2015 at 12:17:07 PM UTC+2, Colin Yates wrote:
>
> Maybe a sample project might help?
>
> On 22 Oct 2015, at 10:49, Timur > wrote:
&
Nope false positive, it did not work :(
On Thursday, October 22, 2015 at 11:40:08 AM UTC+2, Timur wrote:
>
>
> Okay that resolved the issue project B was providing some communication
> functionality and did not declare any explicit dependeny on jetty-adapter.
> After def
y that isn’t working but it is highly recommended not to depend
> on transitive dependencies. If you need a lib for :compile scope (rather
> than :provided) then you should (must?) declare that; projectC should
> depend directly on ring-jetty-adapter in this case.
>
> On 22 Oct 2015, at
Hi all,
I have a multi-project set-up. Base project A depends on
[ring/ring-jetty-adapter "1.4.0"], a project B depends on this project A
which is included in project C. So in simple words dependency graph:
[ring/ring-jetty-adapter "1.4.0"] -> project A -> project B -> project C
When I run r
Hi all,
Are there any functions to get generic type of an object object method,
field, etc.? By calling object methods, I achieve this with the following
function:
(defn- get-generic-type-of-an-instance-method
[m]
{:pre [(:obj m)
(:method-name m)]}
(-> m
:obj
type
Thanks for the answers!
On Monday, October 19, 2015 at 3:15:16 AM UTC+2, dennis wrote:
>
> In such case you have to use `eval`, another post
>
> https://groups.google.com/forum/#!topic/clojure/YJNRnGXLr2I
>
> 2015-10-19 9:10 GMT+08:00 James Reeves >:
>
>> On 1
)* throws an exception. Here symbol for instance
contains toString
Any ideas about how I can do this?
Regards,
Timur
--
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
Hi all,
Is there any JAX-B alternative for Clojure that eases generation of XMLs
that are complaint with an XML schema and at the same time can be used in
Clojure, i.e., enables generation of Clojure maps?
Regards,
Timur
--
You received this message because you are subscribed to the Google
Hi everyone,
Is there any recommended way of refactoring namespaces in Clojure? Any tool
support, which automates this task?
Regards,
Timur
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
Hi everyone,
I want to specify some defaults for a library that I pack as a jar, for
instance standard port a server. It should be read from a property file in
the respective jar file automatically. However, when I include a jar in my
class path, the file is not loaded from the included jar p
referring to this
specific namespace in my lein configuration and as far as I understood the
aot compiled classes in the local maven cache have priority, therefore, it
needed me to do a lein install each time.
Regards,
Timur
On Tuesday, June 9, 2015 at 2:10:59 PM UTC+2, Stuart Sierra wrote
might be doing wrong? Or is this an
expected behavior and I'm missing something?
Thanks in advance.
Regards,
Timur
--
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
No
ow complete hiding of the Clojure code behind a Java wrapper.
> http://clojure.github.io/clojure/javadoc/clojure/java/api/package-summary.html
>
> On Tuesday, May 19, 2015 at 4:41:29 AM UTC-5, Timur wrote:
>>
>> Hi everyone,
>>
>> Is it possible to add JavaDocs to
Hi everyone,
Is it possible to add JavaDocs to Clojure so that it can support Java
programmers. For instance a JavaDoc to a protocol or to an interface
defined in Clojure which is later on read by a Java developer?
Regards,
Timur
--
You received this message because you are subscribed to
decided to ask for your support. If you can spare 30 minutes of yours
for the following survey, we will appreciate a lot and you would help us a
lot http://goo.gl/forms/gtj7AQX6w4
Thanks in advance.
Regards,
Timur
--
You received this message because you are subscribed to the Google
Groups "Cl
Okay thanks that should be enough.
On Wednesday, May 6, 2015 at 12:07:29 PM UTC+2, Artur Malabarba wrote:
>
> Stepping into a function that wasn't previously isntrumented is not
> supported yet.
> However, you can just instrument both functions (C-u C-M-x on each one),
> and when one function c
Hi everyone,
I just discovered after reading the post [1], CIDER has debugging facility
for Clojure. It seems to be nice but what I could not find was the step in
functionality.
Is there such a functionality that you are aware of?
Thanks in advance!
Regards,
Timur
[1]
http
ly-perf/
>
>
> On Saturday, April 25, 2015 at 9:39:06 PM UTC-5, Alex Miller wrote:
>
>> On Saturday, April 25, 2015 at 9:33:18 AM UTC-5, Timur wrote:
>>>
>>> Hi everyone,
>>>
>>> There are situations where I want to dispatch functions using based on
&
for
performance reasons? I read somewhere that they are not really fast but the
posts were old and the performance might have been improved in between.
Should I favor case and cond branches instead of defmulti when I need
performance?
Thanks for your help!!!
Regards.
Timur
--
You received
Okay, just found my mistake: the dependency was not listed in the
project which checks out the other project.
On Fri, Feb 27, 2015 at 5:12 PM, Timur Sungur wrote:
> Thanks for the suggestion but I had already tried it and no success.
>
> On Fri, Feb 27, 2015 at 7:58 AM, Eldar Gabdull
Thanks for the suggestion but I had already tried it and no success.
On Fri, Feb 27, 2015 at 7:58 AM, Eldar Gabdullin wrote:
> Go to your checked out project and run "lein install" there.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To po
oblem?
Thanks in advance.
Regards,
Timur
--
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 u
Thank you all for your answers. The problem was caused by not starting the
REPL. I did not know that defmulti had defonce semantics.
On Sunday, February 22, 2015 at 7:04:58 PM UTC+1, Jeremy Heiler wrote:
>
> On 2/22/15 12:52 PM, Timur wrote:
> > Hi everyone,
> >
> &
reate-fact [[:a "safs"]] [item-vector]
(str "safs"))
(mapv create-fact {:a "safs"})
Dispatch function is not called in this case and return is "safs" so the
matching key is [[:a "safs"]]. I except it to be :a, why is that [[:a
"safs&q
Hi everyone,
Are there any cljs library recommendations for a modeling application based
on canvas? There will be modeling elements which are associated with
relationships (e.g., similar to UML modeling).
Regards,
Timur
--
You received this message because you are subscribed to the Google
Hi everyone,
One can use into-edn [1] to convert from Java objects to EDN structures.
Is there a way to convert EDN structures to their original Java objects?
Regards,
Timur
[1] https://github.com/thebusby/into-edn
--
You received this message because you are subscribed to the Google
Hi everybody,
Is there a way to resolve a function or object using its string name in
ClojureScript? I found this however it is old:
http://stackoverflow.com/questions/12020576/resolve-function-throws-an-error-in-clojurescript-but-not-clojure/12020663#12020663
Thanks in advance.
--
You rec
Ok, the problem was the files with .clj suffix are ignored by the watcher.
Changing it to .cljs solved the problem.
On Tuesday, August 19, 2014 11:58:51 AM UTC+2, Timur wrote:
>
> Hi everyone,
>
> My clojurescript build results in a Javascript file which does not contain
&g
Hi everyone,
My clojurescript build results in a Javascript file which does not contain
the expected namepsace and functions contained in my clojurescript files.
What could be the reason?
My project setup (simplified) is as follows:
(defproject myapp "0.1.0-SNAPSHOT"
:description "FIXME: wr
nager])
>
> The vector's just for style, a list works just as well.
>
>
> Timur
> July 31, 2014 at 1:44 PM
> Hi,
>
> (ns de.uni-stuttgart.iaas.ipsm.base-resource-service.core
> (:import (org.apache.logging.log4j.LogManager)))
>
> (println (LogManager/getL
Hi,
(ns de.uni-stuttgart.iaas.ipsm.base-resource-service.core
(:import (org.apache.logging.log4j.LogManager)))
(println (LogManager/getLogger))
The above simple code throws the following exception and I could not
resolve the issue:
CompilerException java.lang.RuntimeException: No such names
Hi everyone,
Are there any libraries other than clj-soap for implementing SOAP
Web-Services?
Regards,
Timur
--
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 post
hi everyone, I have a question about using nREPL (cider) in Emacs.
In my clojurescript project, I start the repl server using cider-jack-in
command. However, whenever I try to execute a function from the clojure
file, a CompilerException is thrown with the message unable to resolve
symbol... W
44 matches
Mail list logo