Given that the primary protocol in the library is called Service you might
consider calling your library service or services or something along
those lines to avoid confusion with the other library. Even if the
namespace will disambiguate things for coding, in emails, bug reports and
other
I've started to see unwanted SLF4J console messages from one of my projects.
I'm not (directly) using SLF4J, and would like to find out which of my
dependencies is. But the dependency tree is a bit large to search by hand. Is
there a better way?
--
You received this message because you are
On Jun 8, 2015, at 10:30 AM, Stephen Gilardi scgila...@gmail.com wrote:
Does “lein deps :tree” help?
Yes, that's very helpful. Thanks.
--
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
Hi,
I just ran across one the best talks on software quality I've ever seen.
Douglas Crockford in a Yahoo talk from 2007:
https://youtu.be/t9YLtDJZtPY
You have probably heard much of this before, but here it is very distilled
to just the core ideas, along with good background information and
Hi everyone,
I am working on a collection of web development libraries to accomplish
various tasks that I've found myself wanting or needing in recent months.
Collectively, I've dubbed them Erinite.
The first of these libraries is erinite/template, a Clojure(script) hiccup
transformation library
On Jun 8, 2015, at 1:26 PM, Michael Gardner gardne...@gmail.com wrote:
I've started to see unwanted SLF4J console messages from one of my projects.
I'm not (directly) using SLF4J, and would like to find out which of my
dependencies is. But the dependency tree is a bit large to search by
Hi!
This weekend we’ll host a ClojureBridge workshop in Solingen (Cologne/Bonn
region of Germany).
If you’re interested in potentially hiring participants, please feel free
to send the relevant info to me. I’ll happily print and offer your
description to those who express interest!
Looks great. Thanks for sharing.
David
--
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
Hey Dru
Take a look at Duct: https://github.com/weavejester/duct
If you make a new app using that template, you should get some
pointers from the boilerplate it generates.
cheers,
Jonathan
On Mon, Jun 8, 2015 at 5:51 PM, Dru Sellers d...@drusellers.com wrote:
So, I guess I am a bit lost, how
I'm excited to announce an important alpha release of test.check, the
QuickCheck-inspired property-based testing library[1]. The 0.8.0 release
will be the first release with the new immutable splittable random number
generator[2], which is not really a user-facing change but is a serious
So, I guess I am a bit lost, how does someone actually use component? I
have an application all set up with it and it seems to be working as I
would expect but Stuart seems to be steering me in a different direction.
https://github.com/stuartsierra/component/pull/35
Here's a great post on the subject by Stuart Sierra:
http://stuartsierra.com/2015/05/10/clojure-namespace-aliases
- Matthew
On Friday, June 5, 2015 at 9:33:32 PM UTC-6, Todd Stout wrote:
What is considered idiomatic when using :as and :require in your namespace
declarations? I understand
My recommendation is to use a closure. So I'd write your example as:
(defn username-endpoint [{:keys [db]}]
(routes
(GET /:username [username]
(let [user (users/get-user db username)]
(str h1Hello (:name user) /h1)
So you pass your configuration map into the endpoint
Any performance comparisons to refrain reagent?
--
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
I imagine that performance should be on par with Elm
http://elm-lang.org/blog/Blazing-Fast-Html.elm (that is to say, really
fast). I haven't had a chance to verify that however.
David
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
Will someone remember to update http://clojure.org/transients once 1.7.0 is
released?
On Monday, November 3, 2014 at 1:57:58 AM UTC-8, Daniel Marjenburgh wrote:
Hi,
I just want to address this issue (CLJ-1498
http://dev.clojure.org/jira/browse/CLJ-1498). It was accepted in
1.7-alpha2 and
Stuart addresses two anti-patterns in your PRs. Perhaps I can help explain
them.
Let's say we have a system that looks like this:
(defrecord DBConnection [])
(defrecord DBLayer [db-connection])
(defrecord AppLayer [db-layer])
We can construct a system thusly:
{:db-connection (-DBConnection
I have just updated the Clojure cheat sheet to add most of the characters
described in the Weird and Wonderful Characters of Clojure article. Many
of them were already in the Reader Macros section, but I have renamed
that section to Special Characters and added most of them.
Speed up your development cycle using example. Here's the process:
1. Write your test code inline with your functions.
2. Test the output of your functions in the REPL as you code.
3. Generate unit tests when you're satisfied with the behavior of your
functions.
See
Hi David,
How does this integrate prerequisites? Even if my fn is pure, I still mock
calls made within.
On Mon, Jun 8, 2015 at 5:33 PM, David Sargeant da...@dsargeant.com wrote:
Speed up your development cycle using example. Here's the process:
1. Write your test code inline with your
Differences from component:
1. No need to explicitly define dependencies for a particular service.
Simply order the services in the system map to facilitate dependency needs.
2. Configuration is first-class. To start the system or a particular
service, a config value must be
I'm not totally sure why you would need to use `provided` with pure
functions, but that is definitely not in scope for this project. example
isn't meant to replace all cases where you would write tests. It's designed
to streamline the creation of a certain class of tests that come with a lot
If I need something more complicated in terms of testing my functions I
usually create a file dev/examples.clj and add dev to the source-paths in
my project's dev profile. I would require the namespace with my functions
and put the examples in dev/examples.clj. The rest of the process is the
Got it. Thanks!
On Mon, Jun 8, 2015 at 6:14 PM, David Sargeant da...@dsargeant.com wrote:
I'm not totally sure why you would need to use `provided` with pure
functions, but that is definitely not in scope for this project. example
isn't meant to replace all cases where you would write tests.
I meant (provided), (against-background), etc.
On Mon, Jun 8, 2015 at 6:02 PM, David Sargeant da...@dsargeant.com wrote:
If I need something more complicated in terms of testing my functions I
usually create a file dev/examples.clj and add dev to the source-paths in
my project's dev profile.
You know about https://github.com/danielsz/system, right?
понедельник, 8 июня 2015 г., 17:53:08 UTC+3 пользователь David Sargeant
написал:
Differences from component:
1. No need to explicitly define dependencies for a particular service.
Simply order the services in the system map
You may want to consider the name, as there's already a library called
System that does something similar: https://github.com/danielsz/system
Also you're using single-segment namespaces (i.e. system rather than
something like system.core). Single segment namespaces are generally
discouraged, as
Changed to system ns to system.core. Thanks for the suggestion, was meaning
to do that. Sorry about the name collision. I just became aware of the
other system library a few days ago. Haven't had an opportunity to think of
something more clever. I'm open to suggestions.
David
--
You received
Here are some functional programming job opportunities that were posted
recently:
Clojure Engineer at MixRadio
http://functionaljobs.com/jobs/8832-clojure-engineer-at-mixradio
Cheers,
Sean Murphy
FunctionalJobs.com
--
You received this message because you are subscribed to the Google
29 matches
Mail list logo