We did some soap as well, and found the same thing, except in our case,
SOAP was merely a formality. In other words, it seems some people are using
only the barest of SOAP features, and wrapping up the meat up in a SOAP
envelope.
In other words, we were able to just generate a skeleton in Soap-UI
On Jul 29, 2015, at 7:47 PM, Mike m...@thefrederickhome.name wrote:
I have done some searching, and there is an old clj-soap library which Sean
Corfield has mostly abandoned.
Just to clarify: I too had started down the path of trying to find a way to do
SOAP via Clojure and came across the
Hello,
I have decided what my first Clojure project will be, but I could use some
guidiance. I would like to be able to make SOAP calls to a webservice on
another machine.
I have done some searching, and there is an old clj-soap library which Sean
Corfield has mostly abandoned. How are
Note: my knowledge of soap is not very deep, but I have done the following
in a production system.
If you have a WSDL available, a good approach is to generate the (Java)
client code and then use it via Java interop. You can smooth out the rough
edges and shed the extra java types by using
Ok I got it.
Supporters, Actions and Questions needs to be created separately and linked
to Idea. (Idea, which is created at first, doesn't need to mention those)
Makes sense!
When I log in to the admin and try to Modify this new model, I get only
to see the first 3 custom fields
I open an REPL (lein repl) and add a model by pasting this :
(caribou.core/with-caribou (boot/boot)
(caribou.model/create
:model
{:name Idea
:fields [{:name Title :type string}
{:name Desc :type string}
{:name Supporters :type link}
{:name
Hi,
regarding the writing of a game in Clojure, I think
http://codethat.wordpress.com/2011/09/10/writing-tetris-in-clojure/ is a
good post to read.
Regards,
Stefan
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
the website says:
deftype supports mutable fields, defrecord does not
so deftype seems to be what would be a java bean with simple
properties in java
Nope. :-)
Domain information should use defrecord, and should never be mutable. This is
the closest thing to a Java bean, but is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 25.09.2011 14:00, schrieb Stuart Halloway:
the website says:
deftype supports mutable fields, defrecord does not
so deftype seems to be what would be a java bean with simple
properties in java
Nope. :-)
Domain information should use
what's the difference between persistent and immutable?
See http://en.wikipedia.org/wiki/Persistent_data_structure, which now has a
nice shout out to Clojure.
Stu
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Sep 25, 2011 6:12 AM, Dennis Haupt d.haup...@googlemail.com wrote:
what's the difference between persistent and immutable?
I have written a summary of this distinction on my blog:
http://technomancy.us/132
Hope that helps.
-Phil
--
You received this message because you are subscribed to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
so there is no difference.
Am 25.09.2011 15:28, schrieb Stuart Halloway:
what's the difference between persistent and immutable?
See http://en.wikipedia.org/wiki/Persistent_data_structure, which
now has a nice shout out to Clojure.
Stu
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
so persistent is immutable + x like car is movable + x. it doesn't
make sense to ask what the difference is.
Am 25.09.2011 18:59, schrieb Phil Hagelberg:
On Sep 25, 2011 6:12 AM, Dennis Haupt d.haup...@googlemail.com
All persistent data structures are immutable, but not all immutable data
structures are persistent.
For example, imagine an immutable array that, unlike Clojure's vector data
structure, implemented conj by copying the entire array into a new one
with the original elements plus the new one.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
in java, i would start coding a game with a loop like this:
while (true) {
logic();
render();
}
i would store the current state of the world in an object containing
the complete data of the whole game and update its values in each
iteration.
how
This is about right, though instead of a loop/recur you can just (map
render (iterate next-state start-state))
On Sep 24, 12:36 pm, Dennis Haupt d.haup...@googlemail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
in java, i would start coding a game with a loop like this:
while
To break down the update into multiple steps use the - macro:
=(defn step [world-state])
(- world-state
update-health
update-physics
update-ai))
where e.g. update-health is something like
=(defn update-health [world-state]
(update-in world-state [:player
like map. It will only execute when you ask a
value for it.
Matt Hoyt
From: Dennis Haupt d.haup...@googlemail.com
To: clojure@googlegroups.com
Sent: Saturday, September 24, 2011 2:36 PM
Subject: beginner question
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
you ask a value for it.
render should do that
Matt Hoyt
*From:* Dennis Haupt d.haup...@googlemail.com
*To:* clojure@googlegroups.com *Sent:* Saturday, September 24, 2011
2:36 PM *Subject:* beginner question
From: Dennis Haupt d.haup...@googlemail.com
To: clojure@googlegroups.com
Sent: Saturday, September 24, 2011 3:54 PM
Subject: Re: beginner question
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
i assumed my game to be so much fun that no one would ever want to
stop playing it.
Am 24.09.2011
:54 PM *Subject:* Re: beginner question
i assumed my game to be so much fun that no one would ever want to
stop playing it.
Am 24.09.2011 22:26, schrieb Matt Hoyt:
You need a check in the loop to see if the player wants to end
the game. Clojure doesn't have a break statement like Java so
:* Dennis Haupt d.haup...@googlemail.com
*To:* clojure@googlegroups.com *Sent:* Saturday, September 24, 2011
3:54 PM *Subject:* Re: beginner question
i assumed my game to be so much fun that no one would ever want to
stop playing it.
Am 24.09.2011 22:26, schrieb Matt Hoyt:
You need a check
Hi,
I just started a hobby project, it download a webbpage, and extract number
data witch exits between brStart rad:/SPAN --and -- /TD
Example
brStart rad:/SPAN01 20 20 52 32 85 89/TD
Everything works fine exept -main witch gives a error i don't understand.
Becurse i try to learn Clojure, i
2010/12/20 uap12 anders.u.pers...@gmail.com
Hi,
I just started a hobby project, it download a webbpage, and extract number
data witch exits between brStart rad:/SPAN --and -- /TD
Example
brStart rad:/SPAN01 20 20 52 32 85 89/TD
Everything works fine exept -main witch gives a error i
Tanks very mutch for the help.
/Anders
--
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
On Mon, Dec 20, 2010 at 10:27 AM, uap12 anders.u.pers...@gmail.com wrote:
Tanks very mutch for the help.
/Anders
Of course (apply str ...) will suck the whole file into ram all at
once, eagerly. If it's a multi-gigabyte file expect OOME. It would be
nice if there was a variation on re support
2010/12/20 Ken Wesson kwess...@gmail.com
On Mon, Dec 20, 2010 at 10:27 AM, uap12 anders.u.pers...@gmail.com
wrote:
Tanks very mutch for the help.
/Anders
Of course (apply str ...) will suck the whole file into ram all at
slurp will suffice to suck everything into memory
once,
On Mon, Dec 20, 2010 at 3:55 PM, Laurent PETIT laurent.pe...@gmail.com wrote:
2010/12/20 Ken Wesson kwess...@gmail.com
On Mon, Dec 20, 2010 at 10:27 AM, uap12 anders.u.pers...@gmail.com
wrote:
Tanks very mutch for the help.
/Anders
Of course (apply str ...) will suck the whole file
After reading your posts and thinking wouldn't it be nice to just
kick off a thread and not care about the return value I recall Rich
using/liking [1] the Java Executor framework [2]. I looked at
clojure.lang.Agent and saw it used there, too. It's tricky because I
wouldn't want to lean on Java
On Tue, Jun 15, 2010 at 12:23 PM, Shawn Hoover shawn.hoo...@gmail.com wrote:
On Tue, Jun 15, 2010 at 12:01 PM, Ryan Waters ryan.or...@gmail.com wrote:
I'm working with the code at the following gist and also pasted below:
http://gist.github.com/421550
I'd like to have execution of a
Thank you for pointing that out. I notice your style is similar to
Rich's in his ant.clj [1] which seems like the kind of solution that
might be used in other functional and/or lisp languages. Do you know
if that's the case with self-calling functions and agents? However,
isn't there more
On Wed, Jun 16, 2010 at 12:17 AM, Christophe Grand
christo...@cgrand.net wrote:
Hi Ryan,
On Tue, Jun 15, 2010 at 6:01 PM, Ryan Waters ryan.or...@gmail.com wrote:
I'm working with the code at the following gist and also pasted below:
http://gist.github.com/421550
I'd like to have execution
Hi,
Am 15.06.2010 um 23:27 schrieb Ryan Waters:
Thank you for pointing that out. I notice your style is similar to
Rich's in his ant.clj [1] which seems like the kind of solution that
might be used in other functional and/or lisp languages. Do you know
if that's the case with self-calling
On Wed, Jun 16, 2010 at 10:20 PM, Meikel Brandmeyer m...@kotka.de wrote:
The typical solution for your problem would probably be:
(- long-running-function-with-recur Thread. .start)
This starts you function in a dedicated thread and you can save the overhead
of send-off and use recur
Hi,
Am 16.06.2010 um 22:34 schrieb Christophe Grand:
I agree, it still feels a little dirty to use a future without caring
about the return value but on the positive said you get an easy way to
block and wait for the tread to finish (deref) and you also get
future-done?, future-cancel and
I'm working with the code at the following gist and also pasted below:
http://gist.github.com/421550
I'd like to have execution of a separate thread (agent) continue
running until it sees the atom 'running' change to false.
Unfortunately, the program doesn't return from the send-off but
to my
On Tue, Jun 15, 2010 at 12:01 PM, Ryan Waters ryan.or...@gmail.com wrote:
I'm working with the code at the following gist and also pasted below:
http://gist.github.com/421550
I'd like to have execution of a separate thread (agent) continue
running until it sees the atom 'running' change to
Hi,
besides the answer you got from Shawn, I'd like to question your use of the
agent system. This is not the way it is supposed to be used. To model a
processing loop with agents you should send the action back to the agent itself.
(def running? (atom true))
(defn process
[agent-state
Hi Ryan,
On Tue, Jun 15, 2010 at 6:01 PM, Ryan Waters ryan.or...@gmail.com wrote:
I'm working with the code at the following gist and also pasted below:
http://gist.github.com/421550
I'd like to have execution of a separate thread (agent) continue
running until it sees the atom 'running'
39 matches
Mail list logo