Re: Trouble Running Chime Application outside for repl

2016-11-21 Thread James Henderson
Hi Chris, Thanks for posting an example - unfortunately I can't get onto it at the moment because it seems gitlab is down :( FWIW, I've seen a similar issue before where the schedule will run for a minute or so, then the process will exit successfully (even though you'd like it to continue) -

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread James Henderson
ly a > specific component is needed (eg. I only need :a). > > Like I said it basically does the same stuff as Component, just a little > less invasive since I think a component should not know about the container > it runs in. > Looks another interesting approach :) I'

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-07-03 Thread James Henderson
doesn't help much with debugging. > > With Records I get immutability plus a type I can extend to any protocols. > Also, since my protocol is clearly defined, it's simple to extend. I don't > have to worry about hidden functions some inner function may call on my > cl

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-06-28 Thread James Henderson
As promised, have blogged: 'Yo-yo & Component - Side by Side <https://github.com/james-henderson/yoyo/blob/master/articles/side-by-side.org> ' Contents: - Making components <https://github.com/james-henderson/yoyo/blob/master/articles/side-by-side.org#making-c

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-06-25 Thread James Henderson
Seems like the next step for this would be for me to put together a blog with an example Component system, and its equivalent Yoyo system?! :) Should have time for that over the weekend. James On Thursday, 25 June 2015 09:05:39 UTC+1, James Henderson wrote: > > > > On Wednesday,

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-06-25 Thread James Henderson
On Wednesday, 24 June 2015 11:17:41 UTC+1, Atamert Ölçgen wrote: > > > > On Tue, Jun 23, 2015 at 11:47 PM, James Henderson > wrote: > >> Hi Atamert - thanks :) >> >> I thought it might be preferable to keep the call to (latch)explicit - >> it means

Re: [ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-06-23 Thread James Henderson
rver)) > > > I believe with-* function can also be simplified further. > > > On Tue, Jun 23, 2015 at 1:18 AM, James Henderson > wrote: > >> Hi all, >> >> I've just released an early version of 'Yo-yo', a protocol-less, function >> co

[ANN] Introducing Yo-yo, a protocol-less, function composition-based alternative to Component

2015-06-22 Thread James Henderson
Hi all, I've just released an early version of 'Yo-yo', a protocol-less, function composition-based alternative to Component. It's still in its early stages, so feedback would be very much appreciated! https://github.com/james-henderson/yoyo Yo-yo was also an experiment

Re: [ANN] Phoenix 0.1.0 - help with structuring & configuring Component-based systems

2015-04-04 Thread James Henderson
Just released 0.1.1 - bug when using Schema in Phoenix apps due to Phoenix's overly-enthusiastic AOT'ing. Thanks to @whodidthis for flagging the issue! James On Sunday, 29 March 2015 20:44:04 UTC+1, James Henderson wrote: > > A link would have been really helpful, I'm

Re: [ANN] Phoenix 0.1.0 - help with structuring & configuring Component-based systems

2015-03-31 Thread James Henderson
d Jeroen On Sun, Mar 29, 2015 at 9:44 PM, James Henderson <mailto:ja...@jarohen.me.uk>> wrote: A link would have been really helpful, I'm guessing! Here it is: https://github.com/james-henderson/phoenix James On Sunday, 29 March 2015 20:42:06 UTC+1, James Hend

[ANN] Phoenix 0.1.0 - help with structuring & configuring Component-based systems

2015-03-29 Thread James Henderson
added since I last posted: - Many re-usable Components - CLJS compiler, Aleph, http-kit, JDBC pool, CSS compiler (using Garden) - see https://github.com/james-henderson/phoenix/tree/master/modules/ for more details. These components can be used whether or not you choose to use

Re: [ANN] Phoenix 0.1.0 - help with structuring & configuring Component-based systems

2015-03-29 Thread James Henderson
A link would have been really helpful, I'm guessing! Here it is: https://github.com/james-henderson/phoenix James On Sunday, 29 March 2015 20:42:06 UTC+1, James Henderson wrote: > > Hi all, > > I've just released v0.1.0 of Phoenix - a 'batteries included, but >

Re: Announcing oolong: a config-based glue for `component`

2015-03-18 Thread James Henderson
ble to steal ideas for some of the things i’ll > be building on top of oolong. Feel free to reply offlist if you have any > further questions. > Feel free to steal ideas from Phoenix - that's what open source is all about! More than happy to work together on this as well though -

Re: Announcing oolong: a config-based glue for `component`

2015-03-18 Thread James Henderson
Hi James, This looks very similar to Phoenix <https://github.com/james-henderson/phoenix> - a project I've been working on for the last few months. It's pretty likely you hadn't heard of it (and that's fine - it's not been hugely publicised!), but if you have,

Re: [ANN] Introducing 'Phoenix' - a new library for declarative configuration and wiring of Component-based systems

2015-01-25 Thread James Henderson
you had > auto-namespaced keywords in the config file. I'm referring to: > https://github.com/james-henderson/phoenix#adding-dependencies-between-components > > That means only code in your blessed ns can read the file, or things > break. Also, the edn spec disallows keyword

Re: [ANN] Introducing 'Phoenix' - a new library for declarative configuration and wiring of Component-based systems

2015-01-25 Thread James Henderson
Hi Dan - it's possible to load configuration from environment variables as of version 0.0.2 (released today) - you can now put [::env :env-var-name]in your configuration to look up the 'ENV_VAR_NAME' environment variable. More info in the env-vars section <https://github.c

[ANN] Introducing 'Phoenix' - a new library for declarative configuration and wiring of Component-based systems

2015-01-24 Thread James Henderson
Hi all, I've just released Phoenix - a library for declarative configuration and wiring of Component-based systems. Phoenix came out of a number of discussions at ClojureX, thank you to all involved for their suggestions and feedback :) https://github.com/james-henderson/phoenix If y

(ANN) simple-brepl 0.1.2 released

2014-11-11 Thread James Henderson
ate with the browser. Full docs and a sample project are on GitHub at https://github.com/james-henderson/simple-brepl Any problems, let me know! James -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

[ANN] Nomad 0.7.0 and Frodo 0.4.1 - configuration made simple

2014-08-15 Thread James Henderson
Github repos are at https://github.com/james-henderson/nomad and https://github.com/james-henderson/frodo respectively. Thanks to Dylan Paris and Luke Snape for their PRs! James -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to thi

Re: How to add elements to a vector that is the value of a map key?

2014-06-17 Thread James Henderson
Ah, you got there first :) James On Tuesday, 17 June 2014 19:20:52 UTC+1, James Henderson wrote: > > 'alter' expects your anonymous function to take at least one argument (the > current value of the ref being altered), whereas you've passed a 0-arg > function - the

Re: How to add elements to a vector that is the value of a map key?

2014-06-17 Thread James Henderson
'alter' expects your anonymous function to take at least one argument (the current value of the ref being altered), whereas you've passed a 0-arg function - there's no mention of a '%' so Clojure expands it to: (fn [] (update-in @v (fnil conj []))) Indeed, I suspect you want a 2-arg function

Re: ANN: ring-token-authentication. A ring middleware to authenticate API requests

2014-02-28 Thread James Henderson
Really useful, concise library - thanks! James On Saturday, 15 February 2014 18:53:58 UTC, Jason Stewart wrote: > > I've just pushed the first version of ring-token-authentication, a Ring > middleware to authenticate HTTP API requests. > > Token authentication is a popular way to authenticate AP

ANN: Chord 0.3.0 - WebSockets as core.async channels

2014-02-25 Thread James Henderson
I've just pushed v0.3.0 of Chord, a library to make a WebSockets appear as a bi-directional core.async channels. More info on GitHub <https://github.com/james-henderson/chord>. New since 0.2.2: - Messages over the channel treated as EDN by default (although option to f

ANN: Clidget 0.2.0

2014-02-15 Thread James Henderson
Hi all, I've just released a new version of Clidget<https://github.com/james-henderson/clidget>- a very lightweight library similar to Om, that watches your application state and re-renders your UI components when necessary. 0.2.0 is a significant performance upgrade over 0.1.0 du

Re: core.async over websocket + cljs + clojure

2014-01-26 Thread James Henderson
Hi folks, sorry I'm a bit late to the party, but Chord might be a good base for what you want to do? It probably falls a bit short at the moment on your disconnection semantics, but could be worth a shot. https://github.com/james-henderson/chord James -- -- You received this me

[ANN] Clidget, a lightweight CLJS state utility that helps you build small, composable UI ‘widgets’.

2014-01-20 Thread James Henderson
Hi all, I've recently released *Clidget v0.1.0*, a new lightweight CLJS state utility that allows you to build UIs through small, composable widgets. Quick links: - GitHub <https://github.com/james-henderson/clidget> (README, Rationale and Getting Started) - Samp

[ANN] Clidget, a lightweight CLJS state utility that helps you build small, composable UI ‘widgets’.

2014-01-20 Thread James Henderson
Hi all, I've recently released Clidget v0.1.0, a new lightweight CLJS state utility that allows you to build UIs through small, composable widgets. Quick links: - GitHub <https://github.com/james-henderson/clidget> (README, Rationale and Getting Started) - Sample 'coun

[ANN] Frodo 0.2.9 - Ring-compatible web server with Stuart Sierra's 'Reloaded' workflow

2013-12-21 Thread James Henderson
hen you've made changes, to start a fresh web-server and refresh the server-side state without restarting the JVM. *https://github.com/james-henderson/frodo*<https://github.com/james-henderson/frodo> If you haven't seen it already, Stuart's written a great blog on how to

Re: [ANN] cljs-start 0.0.7 now support source-map

2013-12-18 Thread James Henderson
Hi all, On Tuesday, 17 December 2013 16:35:24 UTC, Magomimmo wrote: > In my mind I think about something like a pair composed by of a lein template > and a lein plugin.  > > > The template should serve to create new mixed clj/cljs projects and the > plugin should serve to easily manage the p

Re: [ANN] Chord 0.2.1 - making WebSockets look like core.async channels in CLJ+CLJS

2013-12-02 Thread James Henderson
've added a GitHub issue <https://github.com/james-henderson/chord/issues/4> - watch this space! Thanks, James On Monday, 2 December 2013 09:38:50 UTC, Henrik Eneroth wrote: > > Cool! I presume you're restricted to EDN on the channels though, right? > > On Saturd

[ANN] Chord 0.2.1 - making WebSockets look like core.async channels in CLJ+CLJS

2013-11-30 Thread James Henderson
https://github.com/james-henderson/chord Chord is a library for making WebSockets look like simple core.async channels in Clojure (using http-kit) and ClojureScript. Basic usage: Leiningen: [jarohen/chord "0.2.1"] ClojureScript: (:require [chord.client :re

Re: How do you configure your Ring apps?

2013-09-08 Thread James Henderson
Hi Gordon/all, Hope you'll forgive the plug, but it sounds like Nomad<https://github.com/james-henderson/nomad.git> does what you want here. In particular, it allows you to store configuration for multiple different environments as a simple EDN config file in your project rep

Re: Current state of the art in Web deployment?

2013-08-18 Thread James Henderson
the choice - IMO it beats Upstart hands-down, but that's an aside!) I've put the post-receive hook at https://gist.github.com/james-henderson/6263386 - hope this helps! Regards, James On Sunday, 18 August 2013 17:21:22 UTC+1, John Jacobsen wrote: > > Many thanks to everyone who rep

Re: Would you please help in migrating this code from Bishop to Liberator?

2012-09-25 Thread James Henderson
For anyone stumbling upon this question - it was answered on the Liberator Github repository, at https://github.com/clojure-liberator/liberator/issues/6 James On Wednesday, 19 September 2012 14:05:08 UTC+1, Hussein B. wrote: > > Hi, > > I want to migrate this code written in Bishop REST framewo