Thank you very much Herwig! The (.join jetty) did the trick :D
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Mon, Sep 15, 2014 at 8:50 PM, Herwig Hochleitner hhochleit...@gmail.com
wrote:
Feel free to steal from my jetty component:
to answer my own question. It does not play well. I created a couple of
simple macros that mimics the import-vars behaviour for fns and vars in
clojurescript.
On Sunday, 14 September 2014 17:53:47 UTC+10, Dave Sann wrote:
Does Potemkin work well with clojurescript?
I have seen some
Submissions on/using/reporting on Clojure welcome!
BOB Conference 2015
Berlin
23.1.2015
http://bobkonf.de/2015/
CALL FOR CONTRIBUTIONS
English:
Relevant? Well it is always nice to find different articles that are
bashing on the issues that could appear from badly designed OO programs if
you want to get Clojure into consideration in your organization.
I don't support that OO is bad. It is just complicate to constrain yourself
from making
Hi,
I am trying to wrap my head around how to best use the Component library
for structuring my app.
Let's say I have a simple Store protocol:
(defprotocol Store
(get [store k])
(put [store k v]))
The production Store protocol implementation would, as an example, be
backed by Riak but in
On 16 September 2014 at 12:13:13, Anvar Karimson (an...@karimson.com) wrote:
Option 1, separate lifecycle from the actual store:
I've seen this approach in use, it works well.
--
@michaelklishin, github.com/michaelklishin
--
You received this message because you are subscribed to the Google
I did not imply that OO was absolutely bad. It's what people are doing
with it. It's been a plague for the last 10 years. The rope is long and thick,
more than enough to hang yourself in several reincarnations.
As far as using OO to represent the real world, it's a mistake.
Things are not as
Ok, excellent! So then, when constructing the system-map for prod it would
look something like this:
(defn new-system [config-options]
(let [{:keys [store-create-fn]} config-options]
(component/system-map
:store (new-store store-create-fn)
...
)))
(new-system
2014-09-16 8:36 GMT+02:00 Wilker wilkerlu...@gmail.com:
Thank you very much Herwig! The (.join jetty) did the trick :D
Cool!
The thing I do on startup: (doseq [l (.getConnectors jetty)] (.getLocalPort
l)), is my solution to wait until it's come fully up.
--
You received this message because
On 16/09/14 10:11, Kalina Todorova
wrote:
Relevant? Well it is always nice to find different articles
that are bashing on the issues that could appear from badly
designed OO programs if you want to get Clojure into
Hi, I recently finished hacking on a small project, that helps to build
entire web application
(with css, images, etc, not just .cljs files), and think it might be useful
for others.
The suggested workflow is following:
1) Define assets component(s)
com/example/app/assets.edn
{:dependencies
Good work. Although I hate to say it, It's of little use for most projects
without more out-of-the-box table options eg searchable, sortable,
paginated, never-ending.
On Wednesday, August 27, 2014 2:05:27 PM UTC-5, Sam Ritchie wrote:
This release adds a bunch of new active components -
I fully agree that with more features, the library would be useful to a
larger range of folks :) Pull requests welcome, as always.
I'm developing each component as needed as I convert paddleguru.com over
to Om. The input components and basic tables, panels, buttons and
navbars came first; the
Bootstrap doesn't have tables with functionality like that and is used on a
*lot* of sites, so it's hardly of little use.
If you need a sortable table, you could write an om wrapper around
https://github.com/glittershark/reactable
I may give this a try soon myself.
Lucas
On 16 Sep 2014, at
Hi Bridget, and thanks for responding.
Yes, I remember the discussions. I figured I would try an individual
connection. And if those continue to get popular, a separate channel or
ongoing resource could be set up to service that. So yeah, I hope someone's
interested and available in the topics
1. Enable gzip on Text Files
2. Turn on Sendfile
3. Dynamically Combined files
4. Track Static Html Files by Google Analytics
5. Limit Download Speed
Details can be found from this article
http://java.dzone.com/articles/static-file-best-practices
On 16 September 2014 10:13, Herwig Hochleitner hhochleit...@gmail.com
wrote:
The thing I do on startup: (doseq [l (.getConnectors
jetty)] (.getLocalPort l)), is my solution to wait until it's come fully up.
Why would this work? As far as I'm aware, both .getConnectors and
.getLocalPort are
2014-09-16 17:28 GMT+02:00 James Reeves ja...@booleanknot.com:
On 16 September 2014 10:13, Herwig Hochleitner hhochleit...@gmail.com
wrote:
The thing I do on startup: (doseq [l (.getConnectors
jetty)] (.getLocalPort l)), is my solution to wait until it's come fully up.
Why would this
Hi,
At a recent Amsterdam Clojure Meetup, we were looking into transducers.
We could not find any situation where the zero arity println would get
called when using this futile transducer:
(defn println-transducing-fn
[reducing-fn]
(fn new-reducing-fn
([]
(println zero arity)
This does not look correct to me. Perhaps someone else has more insight
into this. I am suspicious about 2 things:
1.) your use of doall
2.) your use of (thread)
It looks to me like you are trying to hack together a kind of pipeline or
channel. Clojure has a wealth of libraries that can
The slave has a bunch of attributes, one of which is the info pertaining to
its master. I initialize a vector slavesinfo but in the doseq, when I try
adding x using conj, nothing happens. What am I doing wrong?
(defn slave-stats []
(let [ computer (get slave-info computer)
slavesinfo
On Tuesday, September 16, 2014 1:09:54 PM UTC+2, François Rey wrote:
On 16/09/14 10:11, Kalina Todorova wrote:
Relevant? Well it is always nice to find different articles that are
bashing on the issues that could appear from badly designed OO programs if
you want to get Clojure
This might be of interest to the Clojure/Datomic community:
http://sunlightfoundation.com/blog/2014/09/16/wrangling-messy-political-data-into-usable-information/
https://github.com/sunlightlabs/echelon
I'm part of the Influence Explorer team at the Sunlight Foundation. We're
building a system
Call 'transduce without an init value, and it will use the 0-arity return as
init. Same for reduce but in different scenarios (some IReduce/CollReduce
collections)
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Thats very cool!!
On Tue, Sep 16, 2014 at 1:48 PM, Zack Maril thewitzb...@gmail.com wrote:
This might be of interest to the Clojure/Datomic community:
http://sunlightfoundation.com/blog/2014/09/16/wrangling-messy-political-data-into-usable-information/
https://github.com/sunlightlabs/echelon
No init value given with transduce uses the zero arity value of f rather
than the zero arity of the reducing function through xform:
With Clojure 1.7.0-alpha2:
user= (doc transduce)
-
clojure.core/transduce
([xform f coll] [xform f init coll])
reduce with a
On 15/09/2014 13:34, Phillip Lord wrote:
Jeremy Vuillermet jeremy.vuiller...@gmail.com writes:
Could it return a (partial 2) ?
Because works with n args and not just two.
The question was /why/ and yours is the best attempt to answer that, but
I think, slightly off the mark.
Firstly, the
That's really neat. Planning on giving a talk?
On Tue, Sep 16, 2014 at 12:08 PM, kovas boguta kovas.bog...@gmail.com
wrote:
Thats very cool!!
On Tue, Sep 16, 2014 at 1:48 PM, Zack Maril thewitzb...@gmail.com wrote:
This might be of interest to the Clojure/Datomic community:
I was sloppy with details. A reducing function like f may be transformed though
by a transducer (a priori), and a transducer must preserve the contract.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
I was sloppy with details. A reducing function like f may be transformed though
by a transducer (a priori), and a transducer must preserve the contract.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
I had submitted a talk to clojure conj but it wasn't accepted. Stiff
competition this year. This project is ongoing though so I imagine sometime
in the next year I'll try again and give a talk at a conference about all
the weird stuff ECHELON can do. Like, it only took the better part of an
Hi everyone,
We're currently running a cool AI multiplayer game you may like to try.
It's called PokerChip Race, Clojure or 20 other programming languages to
choose from are available to code your bot in an online IDE.
Check it out here: http://www.codingame.com/challenge/winamax
--
You
Announcing finagle-clojure, a Clojure wrapper for Finagle [1].
https://github.com/finagle/finagle-clojure
Finagle is a library open sourced by Twitter for building highly
concurrent RPC services on the JVM. With finagle-clojure no explicit
interop is required to the underlying Scala
It's a shame your talk wasn't accepted - that looks fascinating and I would
have loved to see it. Please let us know when you do your technical
write-up!
On 17 September 2014 07:14, Zack Maril zma...@tamu.edu wrote:
I had submitted a talk to clojure conj but it wasn't accepted. Stiff
On 16 September 2014 17:06, Herwig Hochleitner hhochleit...@gmail.com
wrote:
2014-09-16 17:28 GMT+02:00 James Reeves ja...@booleanknot.com:
On 16 September 2014 10:13, Herwig Hochleitner hhochleit...@gmail.com
wrote:
The thing I do on startup: (doseq [l (.getConnectors
jetty)]
We don't have streams of data here, the long running tasks have
side-effects. I would prefer to avoid adding another whole framework just
to run a few long running jobs in p//.
I have a list of jobs to do, I'm partitioning that list up into 4 sub lists
to be worked through by 4 p// workers, I
36 matches
Mail list logo