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
replace protocols with plain functions, because normally I loose some expressiveness in the process. Timothy On Sun, Jun 28, 2015 at 8:03 AM, James Henderson ja...@jarohen.me.uk javascript: wrote: As promised, have blogged: 'Yo-yo Component - Side by Side https://github.com/james-henderson

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

2015-07-03 Thread James Henderson
as feedback to Yo-Yo. Certainly was! Thanks! :) Cheers, /thomas On Sunday, June 28, 2015 at 4:03:34 PM UTC+2, James Henderson wrote: As promised, have blogged: 'Yo-yo Component - Side by Side https://github.com/james-henderson/yoyo/blob/master/articles/side-by-side.org ' Contents

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-components - Using

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 ja...@jarohen.me.uk javascript: wrote: Hi Atamert - thanks :) I thought it might be preferable to keep the call to (latch)explicit - it means that ylet can be used

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, 24 June 2015 11:17

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

2015-06-23 Thread James Henderson
Henderson ja...@jarohen.me.uk javascript: wrote: 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

[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 to see what could

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 guessing! Here

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

2015-03-31 Thread James Henderson
On Sun, Mar 29, 2015 at 9:44 PM, James Henderson ja...@jarohen.me.uk 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 Henderson

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 removable' library to wire up

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

2015-03-29 Thread James Henderson
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 Phoenix, and, likewise, non-Phoenix components can be used

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

2015-03-18 Thread James Henderson
than happy to work together on this as well though - seems like we have both come to very similar conclusions about how we want to wire up Clojure components. James On 18 Mar 2015, at 09:07, James Henderson ja...@jarohen.me.uk javascript: wrote: Hi James, This looks very

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, I was wondering whether

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.com/james-henderson

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

2015-01-25 Thread James Henderson
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 keywords beginning with ::. So, I'd suggest either following the edn spec or using

[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 you’ve

(ANN) simple-brepl 0.1.2 released

2014-11-11 Thread James Henderson
. 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 clojure@googlegroups.com Note

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

2014-08-15 Thread James Henderson
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 this group, send email to clojure

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: 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 - there's no mention of a '%' so

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 API

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 fall back to previous

ANN: Clidget 0.2.0

2014-02-15 Thread James Henderson
Hi all, I've just released a new version of Clidgethttps://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 due to better

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 message

[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 'counter

[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 'counter

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

2013-12-21 Thread James Henderson
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 develop using the 'Reloaded' workflow and its benefits - it's

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

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

2013-12-02 Thread James Henderson
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 Saturday, November 30, 2013 5:23:17 PM UTC+1, James

[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 :refer [ws-ch

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 Nomadhttps://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 repo (Gordon's

Re: Current state of the art in Web deployment?

2013-08-18 Thread James Henderson
- 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 replied about deploying a Web

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 framework