I am always eager to hear anything and everything about your experience
with this. Especially downsides. =)
I haven't done ES yet. My hydration code is definitely not that lovely.
What do you think about ES vs Datomic? (Probably not the right thread for
that question, huh?)
On Sunday, July 12
Matt,
Nice to hear you noticed it too! I saw a presentation once (wish I could
remember where) about design patterns that are 100% unnecessary in Clojure.
That definitely had an effect on my thinking. So much boilerplate...
Thanks for your thoughts,
Johanna
On Sunday, July 12, 2015 at 8:04:12
As I said before, you need another layer of encoding/decoding, e.g. JSON.
(Unless you plan on using Redis hash maps directly? They only support byte
keys and values.)
Your example looks like Javascript or Python, but I don't know where you
got it. Neither Clojure nor Java will print a map-like n
Sorry, I am stupid. I misunderstood the problem entirely. Escaped quote
marks are never really the problem. The real issue is that this works for
us:
{ "money" : "10", "contact_name" : "Martha Vena" }
and this doesn't work for us:
"{ \"money\" : \"10\", \"contact_name\" : \"Martha Ve
You are either encoding something incorrectly at some layer of your code
(or the Java app's code), or you are misinterpreting what is printed as
actual escaping when it actually is not escaped. Having to escape or
unescape strings *is not normal* and is a symptom of a bigger problem.
As I demon
Great to hear someone uses it besides myself (and my colleagues who were
forced into it, hehe)!
On Wednesday, July 15, 2015 at 10:55:51 AM UTC+2, Bruce Durling wrote:
>
> Great to have an update for the library I use so much. Thx!
>
> cheers,
> Bruce
>
> On Wed, Jul 15, 2015 at 9:48 AM, >
>
I have not yet found a solution for this problem. If I do this:
(.getBytes v "UTF-8")
Then in Redis the quotes are escaped 100% of the time. What is the standard
way to handle this? I do see this on StackOverflow:
http://stackoverflow.com/questions/12423071/how-to-remove-escape-characters-from
Kira Inc. is hiring a Clojure/Clojurescript Web Developer!
https://kirasystems.com
Position type: Full-time
Location: Toronto, ON
We’re looking for a developer to work on our Clojure/ClojureScript/Om web
stack. Our team is small, pragmatic, and inquisitive; we love learning new
technologies
On Wed, Jul 15, 2015 at 12:02 PM, Daniel Higginbotham <
nonrecurs...@gmail.com> wrote:
> Surely reducers/map should be faster, but it doesn’t seem like I’ve done
> something wrong? This is driving me crazy :)
It is much faster, and runs in parallel, if you use fold.
Try this;
(defn fold-into-v
Or perhaps find a way to extend agents. hm?
On Wednesday, July 15, 2015 at 9:45:29 AM UTC-4, William la Forge wrote:
>
> Thanks, Ragnar.
>
> My reason for asking is that I've implemented a robust form of actor in
> Java https://github.com/laforge49/JActor2 and want to play with a
> simplified ve
Thanks, Ragnar.
My reason for asking is that I've implemented a robust form of actor in
Java https://github.com/laforge49/JActor2 and want to play with a
simplified version in Clojure as a first project in the language. But I'm
just hardly getting started. I've only been looking at Clojure for
You can check with `(clojure.lang.LockingTransaction/isRunning)` (the io!
macro does this) but I'm not sure if it's considered a public API.
https://github.com/clojure/clojure/blob/f6a90ff2931cec35cca0ca7cf7afe90ab99e3161/src/clj/clojure/core.clj#L2390
On Wednesday, 15 July 2015 13:53:11 UTC+1,
Hi Bill,
You are correct in that this involves close integration with the STM. The
agent implementation is aware of transactions and if a transaction is
running when dispatching an action, it will be enqneued in a special agent
action queue that STM implementation respects.
AFAIK there is no p
On this page http://clojure.org/agents I read the following:
"Agents are integrated with the STM - any dispatches made in a
transaction are held until it commits, and are discarded if it is retried
or aborted."
So there must be a way to tell if a dispatch is made from within a
transaction.
Sweet, thanks everyone for your responses! This was very helpful! r/foldcat
did the trick. It looks like it's faster than pmap by about 10%. Also, I'm
happy to have my sanity back.
Thank you!
Daniel
On Wednesday, July 15, 2015 at 12:38:39 AM UTC-4, James Reeves wrote:
>
> Reducers and pmap hav
Great to have an update for the library I use so much. Thx!
cheers,
Bruce
On Wed, Jul 15, 2015 at 9:48 AM, wrote:
> Happy to announce a new release of Clojure.Joda-Time[0] for those of us who
> have to operate on temporal entities in complicated ways.
>
> Notable changes:
>
> * A brand new `jod
Happy to announce a new release of Clojure.Joda-Time[0] for those of us who
have to operate on temporal entities in complicated ways.
Notable changes:
* A brand new `joda-time.accessors` namespace which contains a bunch of
accessors generated for every Joda-Time date field type, e.g.
`day-of-
You might want to check out this talk by Leon Barrett at Clojure/West 2015
https://www.youtube.com/watch?v=BzKjIk0vgzE&index=2&list=PLZdCLR02grLrKAOj8FJ1GGmNM5l7Okz0a
Erik.
> On 15. jul. 2015, at 05.02, Daniel Higginbotham
> wrote:
>
> I’ve been trying to better understand ways to increase th
18 matches
Mail list logo