sure what I'm doing wrong. Any
tips would be appreciated.
Derek
--
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 b
Thank you all for the explanations. I see now that I wasn't paying
close enough attention, and needed to add another pair of brackets to
destructure my lambda's single argument.
On Apr 16, 11:51 am, Per Vognsen wrote:
> Tangent:
>
> On Fri, Apr 16, 2010 at 7:41 PM, Douglas Philips wrote:
> > (1)
What do you recommend as "fine introductory books" to get myself at the
level needed for this book? I have very little experience with functional
programming and Clojure.
On Wednesday, April 8, 2015 at 9:27:58 AM UTC-4, Alex Miller wrote:
>
> Hey all,
>
> I'm very happy to announce that Clojure
I'm also interested in this functionality. Is there an existing JIRA issue
we can follow for allowing specs for multimethods?
On Thursday, 18 August 2016 05:32:01 UTC-7, Patrik Sundberg wrote:
>
> Hi,
>
> Am I right to think you can't currently fdef a defmulti function? I tried
> and when runnin
I need some advice about return values please. I'm using Datascript on the
console with clojure and I'm doing this to get values from the d/b
(println(d/q q-list @conn)) which gives me a hash-map of arrays. I'm
trying to put values in a text file to convert to pdf - this is a bit mad
but it's
ex-handler fn doesn't have a second arity which also
takes the val which caused the transformation error?
Ta,
Derek
--
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 tha
Hi Andy,
We use component at SMX, and do follow an approach similar to the one you
hint at but as Stuart suggests we tend to have protocols that are more
application-centric.
For instance, we use Cassandra extensively and our general interaction
with that is captured by the protocol:
(def
We use Storm/Trident fairly extensively for distributed computation, it has
not been painless and the documentation is poor, however it does perform
well once you understand its peculiarities. I'm keeping an interested eye
on Onyx but my bandwidth is fairly limited at the moment.
The only thing
Hello James,
Aditya links to one of Stuart Sierra's Do's and Don't posts.
That series of posts really influenced my basic Clojure style and I'd
suggest reading them all: https://stuartsierra.com/tag/dos-and-donts,
they're (mostly!) great and simple advice.
Best,
De
eeing the product when it's available, this is very much
in my area of interest.
Best,
Derek
On Friday, June 4, 2021 at 4:06:16 AM UTC+10 natha...@gmail.com wrote:
> I published a post today giving on overview of our codebase at Red Planet
> Labs and the many ways it leverages the
),
Derek
--
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 g
Fine grained control of parallelism is a superb aspect of core.async.
Cassandra is a distributed database, often a query requires you
resolve-on-read denormalised data partitioned multiple ways (semantically,
by time, etc). You can think of it like a grid I guess.
Lets say I have a query that I
ll tell you a secret - I don't care.
All the best,
Derek
p.s. come see us:
https://www.meetup.com/melbourne-distributed/
https://www.meetup.com/clj-melb/
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send ema
I still have Storm topologies in prod, but I'm investigating Kafka Streams
and Onyx right now.
On Saturday, July 1, 2017 at 9:38:08 AM UTC+10, Bobby Calderwood wrote:
>
> Onyx is super cool, has matured substantially, and has a great team behind
> it.
>
> I've also had success building with Kafk
iguration from EDN as possible (see: tagged literal
support)
If you work with Clojure and Cassandra I hope you find this useful.
Best,
Derek Troy-West
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
)
* Easily extensible for further triggers / tagged literals
* Zero dependencies other than Clojure, Quartz, and Integrant.
This is a fairly early release, but we use it internally and will be
pushing it along as needed.
Ta,
Derek
--
You received this message because you are subscribed to the Goo
Bit of a long-shot since my example is related to Storm not Hadoop, and my
experience was five years ago, but this blog post might help:
http://derek.troywest.com/articles/trident-in-clojure
and this related ticket: https://github.com/sorenmacbeth/marceline/issues/9
I could run a Storm topology
about data and transformations rather than domains and
modelling.
Contributions welcome if you find any issues or can make improvements.
All the best,
Derek
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send e
Hi Dimitris.
I think your library is an excellent idea. Like the other replies I'd
prefer if it used Datafiable.
Would you consider adopting an explicit options map instead of the jdt/now!
varags destructuring? I'm not sure if that style is adopted throughout, but
in general I prefer maps to t
Hi Alex, thanks for your efforts and the update.
I have a few questions about promise-chan if you have a moment.
Firstly, why provide promise-chan rather than requiring (chan
(buffers/promise)). The buffer provides the promise semantics and we don't
similarly have sliding-chan, dropping-chan, e
>
>
>
>> Secondly, I've perhaps mistakenly considered channels more as a conduit
>> between processes rather than a replacement for single assignment message
>> passing. I get the value of using a channel and the core.async state
>> machine for achieving promise-like semantics in a non-blocki
Thanks Alex, I think I can sum up my confusion as: I thought channels were
single take, but understand now that is not necessarily the case.
In his 2013 Strange Loop talk Rich described first-class channels and the
subset of state that they expose:
"But I think what's really cool about first clas
We have a number of back-end services which use core.async fairly
extensively, some of which have been in production for over a year.
They tend to utilise Netty (Java non-blocking networking framework) to
serve/send requests, for example Alia (https://github.com/mpenet/alia) is
an excellent Cas
.
This thread is a little old, so I have to ask - have you had any luck?
Derek
On Friday, July 10, 2015 at 8:20:23 AM UTC+10, Johanna Belanger wrote:
>
> Hi :)
>
> I've recently broached the subject of Clojure with another dev in my
> organization, and his response was basic
Hi Neils,
If I've understood you correctly, can you just redefine the protocol
implementation for Associative? E.g.
(defprotocol ProtX
(do-thing [x]))
=> ProtX
(extend clojure.lang.Associative
ProtX
{:do-thing (fn [x] (str/lower-case (get x :a-val)))})
=> nil
(do-thing {:a-val "Some Str
http://derek.troywest.com/articles/leiningen-release
Ta,
Derek
--
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 y
) time))
result)))
Derek
On Sunday, April 24, 2016 at 8:01:14 PM UTC+10, Olivier Scalbert wrote:
>
> Hi all,
>
> I am a Clojure beginner
> And I have an advice to ask !
>
> I have an array of events:
>
> (def events [
> {:id "1" :duration 100}
I've quite enjoyed reading the various approaches to using Component (or
not as the case may be), so much so that I've added my own two pence:
http://derek.troywest.com/articles/how-i-use-component
On Tuesday, April 5, 2016 at 6:28:48 PM UTC+10, Renzo Borgatti wrote:
>
> Hello clj,
>
> kinda la
28 matches
Mail list logo