Here at DiligenceEngine we’re building out a load testing system for our
Om-based ClojureScript and Clojure web application. We need to scale out
test scenarios to 500+ concurrent users are looking for someone experienced
in writing selenium tests in Clojure to give us a hand.
Required
I have a peculiar problem (due to being used in a scripting context)
related to in-ns.
I have a file that is executed in a namespace which is provided by the
scripting infrastructure (per invocation, i.e. I do not know the namespace
statically,it will be something like prefix.unknown-123).
This seems to work on XML/JDOM - right?
I'm looking for something that works on Clojure data structures. And I
wouldn't like to go from Clojure data structures-XML/JDOM only to do the
transformation on XML/JDOM and then back to Clojure data structures.
Any idea?
--
You received this message
Hey Sunil,
That's probably due for an update. Hadoop 1.x (and 0.21.x, etc) only ran
on JDK6. As long as the Hadoop distro you've chosen runs on JDK6 or JDK8
you're going to be fine.
Cheers,
Sam
Sunil S Nandihalli mailto:sunil.nandiha...@gmail.com
February 26, 2015 at 1:25 PM
Hi Everybody,
(let [^JEditorPane html-table (editor-pane ...)] ...) should fix it. Or
just set the caret position in the create function:
(editor-pane :caret-position 0)
or use config:
(config! editor-pane :caret-position 0)
Dave
On Fri, Feb 27, 2015 at 4:07 AM, Cecil Westerhof cldwester...@gmail.com
2015-02-27 17:30 GMT+01:00 Dave Ray dave...@gmail.com:
(let [^JEditorPane html-table (editor-pane ...)] ...) should fix it. Or
just set the caret position in the create function:
(editor-pane :caret-position 0)
This one I find the the best option. You only need to do it after the
:text
2015-02-27 17:30 GMT+01:00 Dave Ray dave...@gmail.com:
(let [^JEditorPane html-table (editor-pane ...)] ...) should fix it. Or
just set the caret position in the create function:
I have removed all my warnings by using: ^JEditorPane, ^JFrame
, …
But I always like to check deeper. On one
On Feb 27, 2015, at 12:09 AM, Cecil Westerhof cldwester...@gmail.com wrote:
In my application I have a quit button which does:
(System/exit 0)
But when I used 'lein repl' I do not want to exit, but just close the frame.
Can this be done?
Here’s how we do it. Add the following to
Maybe clojure.data.zip.xml (in clojure.data.zip) is close to what you're
looking for? http://clojure.github.io/data.zip/#clojure.data.zip.xml
On Friday, 27 February 2015 12:53:51 UTC, Henrik Heine wrote:
Hi folks,
do you know of a lib that let's you navigate around nested Clojure
2015-02-27 14:29 GMT+01:00 Sean Corfield s...@corfield.org:
On Feb 27, 2015, at 12:09 AM, Cecil Westerhof cldwester...@gmail.com
wrote:
In my application I have a quit button which does:
(System/exit 0)
But when I used 'lein repl' I do not want to exit, but just close the
frame. Can
Hi folks,
do you know of a lib that let's you navigate around nested Clojure
structures like XPATH does on XML?
I'm aware of core.match, walk and zippers. But has anyone put those
together in order to produce an API
that gives you XPATH/XSLT?
- Henrik
--
You received this message because
If (text ...) is an invocation of a macro, not a function, then that type
tag is most likely silently ignored by the Clojure compiler, not hurting
anything, but not helping anything, either.
Eastwood [1] can warn you about such useless type tags in your Clojure
code, via the :unused-meta-on-macro
Interesting idea... Haven't seen anything myself. I think that would be
useful though! Someone should build it if it doesn't exist yet.
On Friday, February 27, 2015 at 4:53:51 AM UTC-8, Henrik Heine wrote:
Hi folks,
do you know of a lib that let's you navigate around nested Clojure
On Fri, Feb 27, 2015 at 7:53 AM, Henrik Heine h3nr1k.h3...@googlemail.com
wrote:
do you know of a lib that let's you navigate around nested Clojure
structures like XPATH does on XML?
I'm aware of core.match, walk and zippers. But has anyone put those
together in order to produce an API
that
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 timurha...@gmail.com wrote:
Thanks for the suggestion but I had already tried it and no success.
On Fri, Feb 27, 2015 at 7:58 AM, Eldar
Clojure/West will take place Apr 20-22 in Portland, OR.
Register here: http://clojurewest2015.eventbrite.com
We have now posted the majority of the Clojure/West speakers:
http://clojurewest.org/speakers
In particular, I want to highlight our keynote speaker, Melanie Mitchell,
who worked for a
Sorry, please ignore me. I misread your post entirely :-). I think
clojure.zip and clojure.data.zip (not the XML parts) will get you partway
to where you want, but I do not know of any XPATH-like API over the top of
them.
On Friday, 27 February 2015 14:08:19 UTC, Henrik Heine wrote:
This
2015-02-27 15:56 GMT+01:00 Cecil Westerhof cldwester...@gmail.com:
2015-02-27 14:29 GMT+01:00 Sean Corfield s...@corfield.org:
On Feb 27, 2015, at 12:09 AM, Cecil Westerhof cldwester...@gmail.com
wrote:
In my application I have a quit button which does:
(System/exit 0)
But when I
Thanks for the suggestion but I had already tried it and no success.
On Fri, Feb 27, 2015 at 7:58 AM, Eldar Gabdullin eldar...@gmail.com 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
My core.clj ends with:
(println (format Started: %s (println) (java.util.Date.)))
(printf Started: %s (printf)\n (java.util.Date.))
I do not see the output from the printf when I run 'lein repl'.
The funny thing is that when I switch the two statements, both are shown.
Also when I do
On Feb 27, 2015, at 6:56 AM, Cecil Westerhof cldwester...@gmail.com wrote:
Caused by: java.lang.RuntimeException: Unable to resolve symbol: jvm-opts in
this context, compiling:(/home/cecil/Clojure/quotes/project.clj:9:38)
Right, as I said:
jvm-opts is a function in project.clj that returns
Try adding (flush) at the end.
On Feb 27, 2015, at 2:12 PM, Cecil Westerhof cldwester...@gmail.com wrote:
My core.clj ends with:
(println (format Started: %s (println) (java.util.Date.)))
(printf Started: %s (printf)\n (java.util.Date.))
I do not see the output from the printf
Not every function and macro is documented completely or accurately on
ClojureDocs.org, but I would recommend checking it out when you run across
something that looks amiss, and see if the examples mention what you are
seeing. In this case, it does:
http://clojuredocs.org/clojure.core/printf
In my application I have a quit button which does:
(System/exit 0)
But when I used 'lein repl' I do not want to exit, but just close the
frame. Can this be done?
--
Cecil Westerhof
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
2015-02-27 21:10 GMT+01:00 Sean Corfield s...@corfield.org:
On Feb 27, 2015, at 6:56 AM, Cecil Westerhof cldwester...@gmail.com
wrote:
Caused by: java.lang.RuntimeException: Unable to resolve symbol: jvm-opts
in this context, compiling:(/home/cecil/Clojure/quotes/project.clj:9:38)
Right,
2015-02-27 20:36 GMT+01:00 Andy Fingerhut andy.finger...@gmail.com:
Not every function and macro is documented completely or accurately on
ClojureDocs.org, but I would recommend checking it out when you run across
something that looks amiss, and see if the examples mention what you are
Langohr [1] is a small, feature complete Clojure client for RabbitMQ.
Release notes:
http://blog.clojurewerkz.org/blog/2015/02/27/langohr-3-dot-1-0-is-released/
1. http://clojurerabbitmq.info
--
@michaelklishin, github.com/michaelklishin
--
You received this message because you are subscribed
Langohr [1] is a small, feature complete Clojure client for RabbitMQ.
Release notes:
http://blog.clojurewerkz.org/blog/2015/02/27/langohr-3-dot-1-0-is-released/
1. http://clojurerabbitmq.info
--
@michaelklishin, github.com/michaelklishin
--
You received this message because you are subscribed
I
have
https://jafingerhut.github.io/cheatsheet/grimoire/cheatsheet-tiptip-cdocs-summary.html
bookmarked and also like basically always open in a tab forever, fwiw.
On Friday, February 27, 2015 at 4:37:38 PM UTC-5, Cecil Westerhof wrote:
2015-02-27 20:36 GMT+01:00 Andy Fingerhut
2015-02-27 22:47 GMT+01:00 Sam Raker sam.ra...@gmail.com:
I have
https://jafingerhut.github.io/cheatsheet/grimoire/cheatsheet-tiptip-cdocs-summary.html
bookmarked and also like basically always open in a tab forever, fwiw.
Also good information.
--
Cecil Westerhof
--
You received this
On Friday, February 27, 2015 at 12:51:45 PM UTC-5, Cecil Westerhof wrote:
2015-02-27 17:30 GMT+01:00 Dave Ray dav...@gmail.com javascript::
(let [^JEditorPane html-table (editor-pane ...)] ...) should fix it. Or
just set the caret position in the create function:
I have removed all my
On a editor-pane I use:
(.setCaretPosition html-table 0)
And it does what it should do. But when I run:
lein check
I get:
Reflection warning, quotes/core.clj:98:42 - call to method
setCaretPosition can't be resolved (target class is unknown).
Is that something to worry about?
By
I had exactly that problem when using an old version of JDAF. The newer
version makes it configurable.
to get around the problem i used AspectJ like this:
@Aspect
public class SystemExitEvader {
@Pointcut(call(* java.lang.System.exit(..)) args(status))
public void systemExitCall(int
2015-02-27 10:01 GMT+01:00 henry w henryw...@gmail.com:
I had exactly that problem when using an old version of JDAF. The newer
version makes it configurable.
to get around the problem i used AspectJ like this:
@Aspect
public class SystemExitEvader {
@Pointcut(call(*
On Feb 27, 2015, at 3:30 PM, Michael Griffiths mikeygriffi...@gmail.com wrote:
Sean, thanks - but does it still work for you if you remove ~/.m2/ (or just
remove 1.7.0-master-SNAPSHOT from here)? I've tried with the trailing slash
and am still having no luck (both locally and on Travis CI).
http://www.compoundtheory.com/clojure-edn-walkthrough/ is a nice read
around this as well.
On Tuesday, 24 February 2015 21:40:14 UTC, Colin Yates wrote:
I am sending instances of defrecords from clojurescript via transmit/edn
and getting:
2015-Feb-24 19:23:52 + dev-os-mbp.local DEBUG
It means the Clojure compiler cannot emit the efficient bytecode directly,
so it emits bytecode that calls the method reflexively.
This only impacts performance, so if that code is not used much, it is not
a problem.
The underlying problem is that jvm bytecode is typed, so ideally the
bytecode
Well, I dont know if you could. but unless anyone else chimes in with
another solution... there's no problem using clojure and java together in a
lein project.
And just to check ... this system/exit call is library code you have no
control over right? I mean, if not of course you can stick a
Sean, thanks - but does it still work for you if you remove ~/.m2/ (or just
remove 1.7.0-master-SNAPSHOT from here)? I've tried with the trailing slash
and am still having no luck (both locally and on Travis CI).
Andy, having this as a dependency was working previously but I will clone
and
Thank you Sam for the response. I am up and running with cascalog on
java-1.7 cascalog 2.1.1
Regards,
Sunil.
On Fri, Feb 27, 2015 at 8:08 PM, Sam Ritchie sritchi...@gmail.com wrote:
Hey Sunil,
That's probably due for an update. Hadoop 1.x (and 0.21.x, etc) only ran
on JDK6. As long as the
2015-02-27 11:34 GMT+01:00 Gary Verhaegen gary.verhae...@gmail.com:
It means the Clojure compiler cannot emit the efficient bytecode directly,
so it emits bytecode that calls the method reflexively.
This only impacts performance, so if that code is not used much, it is not
a problem.
It
2015-02-27 11:42 GMT+01:00 henry w henryw...@gmail.com:
Well, I dont know if you could. but unless anyone else chimes in with
another solution... there's no problem using clojure and java together in a
lein project.
And just to check ... this system/exit call is library code you have no
42 matches
Mail list logo