Hello Stephen,
Couple of comments about code:
Instead of not nil? you can use some? since clojure 1.6:
user= (doc some?)
-
clojure.core/some?
([x])
Returns true if x is not nil, false otherwise.
str/split and get by 0 may result in error:
user= (str/split : #:)
[]
user=
Which seems unlikely given the conservatism of Clojure development.
More than that, it would mean that Clojure required Java 8.
On 28 July 2015 at 05:23, Mikera mike.r.anderson...@gmail.com wrote:
Ah, I get what you are doing now.
Don't think that is likely to work unless Clojure starts
Hey guys,
Thanks for the feedback and your very insightful comments.
Yep... this is OO alright =)
I realised only after I wrote the article that I was implementing a
Lifecycle clone with IRunnable example. However, the concept I am
mentioning is much more general than components in terms of
clojure.tools.cli — tools for working with command line arguments
https://github.com/clojure/tools.cli
I’m pleased to announce that Sung Pae has passed the torch on to me and I have
released version 0.3.2 to Maven Central today. Thank you Sung for all your work
on tools.cli so far!
This
Hello. I'm interested in fixing this bug:
http://dev.clojure.org/jira/browse/DJSON-21
data.json/read currently reads from the start of a java.io.Reader and as
soon as it has a read and parsed a complete form it returns it. This is
good and logical but it leads to input like 123abc being parsed
This is so cool =)
Can you put up a video?
--
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 29 July 2015 at 01:07, zcaudate z...@caudate.me wrote:
The example in the article is probably the smallest example I can come up
with.
http://z.caudate.me/the-abstract-container-pattern
The code for the concrete implementations speaks for itself I think, it is
about 10 lines to hook in
My use case isn't a particularly great one at that minute. It mainly just
seemed like an unfortunate extra step to interacting with Java APIs.
Essentially, I was trying to leverage APIs that return a Java Stream, but
wanted to interact with them with Clojure goodness, like
map/reduce/transduce. I
The example in the article is probably the smallest example I can come up
with.
http://z.caudate.me/the-abstract-container-pattern
The code for the concrete implementations speaks for itself I think, it is
about 10 lines to hook in jetty and http-kit to the framework.
if we think about how
I use agents instead of atoms when the function altering the value has side
effects, or is especially expensive (and thus should not retry).
I haven't had to use refs yet, but my use case would be if the mutable data
has enough parallel modification that splitting one atomic map into
separate
What are the benefits of designing an abstract class in this way,
compared to, say, using a protocol and normal functions? Could you provide
a small example?
- James
On 28 July 2015 at 10:09, zcaudate z...@caudate.me wrote:
Hey guys,
Thanks for the feedback and your very insightful comments.
I wrote this for a blog post, but I think it is relevant here. After a long
comparison of a bit of code, first in Javascript and then in Clojure, I
wrote:
At this point, a Javascript developer might say, “You've shown that the
Functional style has some advantage, but why should I care? I
+1
Le mercredi 13 mai 2015 09:06:05 UTC-4, Paco Viramontes a écrit :
Any luck with this? I want to do the same :P
On Thursday, April 30, 2015 at 3:06:13 AM UTC-7, Dan Kersten wrote:
Hi,
I've got a clojure(script) project where I use figwheel to live-reload
cljs and this works great, but
Hi all,
We're looking for Clojure/Clojurescript engineers (details below).
Please email me directly at step...@fac.tt
if you're interested in learning more.
Stephen
---
Fact Labs
is a San Francisco-based startup that is building a quick and easy way for
users to create and discover
Yagni uses dir/scan-all and tracker. Would love to have ClojureScript
support.
On Saturday, July 25, 2015 at 7:29:24 PM UTC-4, Brian Marick wrote:
Midje
Stuart Sierra wrote:
1. Do you need/want ClojureScript support?
Eventually, but not soon.
2. What namespaces (repl,
This might be a naive question, but for someone who's only tangentially
familiar with the space, where does this fit in to the overall Clojure
music/sound ecosystem (re: overtone et al)?
On Saturday, July 25, 2015 at 1:03:44 PM UTC-4, Steven Yi wrote:
Thanks Ruslan and best of luck in your
Thanks for the responses everyone.
So far, my general plan is starting to look like this:
c.t.n.*dependency* and c.t.n.*track* are platform agnostic.
c.t.n.*file* and c.t.n.*parse* can be extended to support Clojure
ClojureScript by adding an optional argument read-opts passed through to
Overtone has its own composition logic, but for synthesis it is a client
for the open source Supercollider audio synthesis server (which is a cross
platform C++ program that can be controlled via the network). Pink and
Score are built in Clojure and Java without using an external server.
On
I think this is pretty unlikely. While megarefs look very cool, I'm not
sure what the benefit to having these directly in Clojure would be over
having them in a library.
Anecdotally, everyone I have talked to about Clojure's reference types have
said that they have never needed to use ref's or
I'd add a few other notes:
* Overtone uses Supercollider 3 (SC3) for its audio processing. Pink
relates more to SC3 than to Overtone, as Pink is an audio engine
library, but there's some overlap.
* You wouldn't likely use Overtone and Pink together. Score however is
a generic library and could
I've never used ring.middleware.reload, but I do run client figwheel and
server in the same jvm.
In your project.clj, make figwheel listen on an nrepl port:
:figwheel
{:nrepl-port 7888
:server-port 3000 ; http
:repl false ; Optional: keep this off and bootstrap to
21 matches
Mail list logo