Re: I18n

2013-05-26 Thread Peter Taoussanis
Since this thread seems to come up from time to time, just adding a quick pointer to Tower: https://github.com/ptaoussanis/tower This gives (among other things) a translation tool using standard Clojure maps for content, Markdown support, translation fallbacks, Ring localization middleware, and

Re: [ANN] core.rrb-vector -- RRB-Tree-based confluently persistent vectors

2013-06-01 Thread Peter Taoussanis
That looks great Michał, thanks for your work! Have use cases for something like this popping up quite regularly - definitely looking forward to a production-ready implementation. Cheers! - Peter -- -- You received this message because you are subscribed to the Google Groups "Clojure" group.

[ANN] Library updates (Redis & DynamoDB clients, logging+profiling, i18n+L10n, serialization, A/B testing)

2013-06-03 Thread Peter Taoussanis
ways, am very happy to take ideas/comments/PRs/whatever - a lot of the recent improvements above were a result of direct/indirect input from other folks (thank you!). Have an awesome Monday, cheers! - Peter Taoussanis (taoensso.com <https://www.taoensso.com>) -- -- You received this mess

Looking for Clojure freelancers

2013-06-03 Thread Peter Taoussanis
Hi all, >From time to time I have need for one or two extra hands (or, would that be pairs of hands?) on larger projects. Specifically, am looking for Clojure developers that'd be interested in occasional adhoc/freelance development work. Most of my work is on the web application side, but it

Re: Looking for Clojure freelancers

2013-06-03 Thread Peter Taoussanis
Just occurs to me: it'd probably also be useful if you post some of your details here in case anyone else is also looking for devs. -- -- 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

Re: Looking for Clojure freelancers

2013-06-03 Thread Peter Taoussanis
Hi Laszlo, Actually good point - I should clarify: all the work would be completely remote. I'll normally work through some combination of GitHub, Basecamp + Trello. Payment would be through PayPal. -- -- You received this message because you are subscribed to the Google Groups "Clojure" gr

Re: [ANN] Library updates (Redis & DynamoDB clients, logging+profiling, i18n+L10n, serialization, A/B testing)

2013-06-04 Thread Peter Taoussanis
Have had one or two people ask me about this - all libraries are under the EPL v1.0 , the same license as Clojure itself. Cheers! - Peter -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: [pre-ANN] test2, the last Clojure testing framework

2013-06-09 Thread Peter Taoussanis
Ooh, okay a little off topic here, but Expectations looks fantastic. Thanks a lot Jay! -- -- 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 -

[ANN] Taoensso library updates (major: Carmine v2-beta1, Nippy v2-RC1)

2013-06-26 Thread Peter Taoussanis
stone* - A/B testing library (GitHub<https://github.com/ptaoussanis/touchstone> ) Current version: *1.0.0 *Clojure dependency: 1.4+ Recent changes: Stable. As usual, all libs available at https://www.taoensso.com/clojure-libraries.Feedback and pull-requests very welcome! Happy hacking, c

Re: [ANN] Taoensso library updates (major: Carmine v2-beta1, Nippy v2-RC1)

2013-06-26 Thread Peter Taoussanis
Oh Emlyn Corrin (emlyn) just reminded me that he's also been adding some new appenders to Timbre! There's a socket appender, IRC appender, and MongoDB (Congomongo) appender (just awaiting merging now). Cheers -- -- You received this message because you are subscribed to the Google Groups "Clo

Re: Looking for Clojure freelancers

2013-06-28 Thread Peter Taoussanis
and Datomic for now. > > I'm based in Barcelona and my rate is €25/hr but I'm open to negotiate it. > > Cheers! > > Xavi Caballé > http://xavi.caballe.pro > > > On Monday, June 3, 2013 1:38:20 PM UTC+2, Peter Taoussanis wrote: >> >> Hi all, >> &

Re: core.async

2013-06-29 Thread Peter Taoussanis
with care, or cleverness, or experience, but all of those things in a kind of harmony that's vanishingly rare to find in any field. I honestly feel like I'm witnessing history being made. Thank you Rich Hickey, and everyone else in this community for making my work every day so en

[ANN] Carmine (Redis client) v2, Nippy (serializer) v2 are out

2013-07-22 Thread Peter Taoussanis
all the folks that helped get these ready. Happy hacking, cheers! - Peter Taoussanis (taoensso.com <https://www.taoensso.com/>) -- -- 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

Re: [ANN] Carmine (Redis client) v2, Nippy (serializer) v2 are out

2013-07-22 Thread Peter Taoussanis
Thanks Las, much appreciated! Just shout if there's anything I can assist with. - Peter -- -- 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

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-19 Thread Peter Taoussanis
Hey Alex, Looks terrific, thank you! Particularly excited about CLJ-703 and tuples. Quick question: are tuples intended to implement :kv-reduce? Currently (with 1.8.0-alpha2): (reduce-kv (fn [acc idx in] acc) nil [1 2 3 4 5 6 7]) ; => nil (reduce-kv (fn [acc idx in] acc) nil [1 2]) ;; => No imp

Re: [ANN] Clojure 1.8.0-alpha2

2015-07-20 Thread Peter Taoussanis
> Seems like a bug to me. Thanks Alex, was about to open an issue but seems you beat me to it :-) For anyone interested: http://dev.clojure.org/jira/browse/CLJ-1781 > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Help Getting Sente to Work

2014-07-27 Thread Peter Taoussanis
Hey Tim, sorry for not responding earlier - didn't notice your post till now (not often on the group). Glad you found a solution (thanks Dan, Bob!). Just to clarify one thing though - a CSRF middleware is definitely recommended, but shouldn't be _necessary_. If Sente detects that no CSRF toke

Re: Help Getting Sente to Work

2014-07-27 Thread Peter Taoussanis
The new docstring: https://github.com/ptaoussanis/sente/blob/65fcf8d9be14bfc69a7798b5c159780d1d2a3804/src/taoensso/sente.cljx#L787 -- 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 tha

Re: Help Getting Sente to Work

2014-07-28 Thread Peter Taoussanis
> > Wrt the CSRF issue, I'll try running again without it. > Out of curiosity, sure - but if you've already gone to the effort of setting up the CSRF I'd leave it in (better to have it) :-) > Now, a port changed fixed the issue for me. But before I passed in a > *chsk-url-fn*, I was still ge

Re: Help Getting Sente to Work

2014-07-30 Thread Peter Taoussanis
> > Ok, new github issues is here >> . >> > Great, thanks - will follow up there later today! Cheers :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-08-15 Thread Peter Taoussanis
You're very welcome Andrew, thanks for saying so! Cheers! :-) -- *Peter Taoussanis* taoensso.com <https://www.taoensso.com> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googl

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-08-17 Thread Peter Taoussanis
Hey Henrik, > Yes, thanks for Sente, Peter! > Will Sente eventually use/support Transit? :-) > Good question. Haven't actually taken a proper look at Transit yet, but definitely planning to when I can find some time. Issue / PR welcome till then if you or anyone else has some specific ideas i

Re: Sente - is it possible to close a connection?

2014-08-24 Thread Peter Taoussanis
Hi guys, > (sente/chsk-reconnect! ) to disconnect (and then reconnect) a connection. Yup, you can call `chsk-reconnect!` from the client to reset its connections. This is useful mostly for picking up possible session changes after authentication, etc. There isn't currently a client-side `disc

[ANN] Taoensso library updates / 2014 September

2014-09-02 Thread Peter Taoussanis
feel free to ping with any questions/problems/suggestions/whatever. Happy hacking/Tuesday, cheers! :-) -- *Peter Taoussanis*ptaoussanis at taoensso.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, se

Re: [ANN] Taoensso library updates / 2014 September

2014-09-03 Thread Peter Taoussanis
Thanks Sun, appreciate all your input on v2.7 - cheers! :-) -- 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 fir

A very short explanation of transducers (a comparison to Ring middleware)

2014-09-04 Thread Peter Taoussanis
com/ptaoussanis/e537bd8ffdc943bbbce7 (updated since yesterday with a clarification by Rich). Hope that's helpful to someone. Please feel free to suggest improvements/corrections/whatever. Cheers! :-) -- *Peter Taoussanis*ptaoussanis at taoensso.com -- You received this message because you a

Re: [ANN] Taoensso library updates / 2014 September

2014-09-06 Thread Peter Taoussanis
ges easier/non-breaking (we can add extra interesting keys in time w/o needing event handlers to change, etc.). Definitely should be documented though, again - really sorry about that! Please feel free to drop me an email if you run into any more trouble. Cheers! :-) - Peter Taoussanis > --

Re: [ANN] Taoensso library updates / 2014 September

2014-09-06 Thread Peter Taoussanis
> > No problem. I just wanted to check that it was an intentional change, and > not some unknown bug that had crept in. Sure, appreciate that. And one had (buggy CHANGELOG) - so good that you checked ;-) I just switched my app from Om/Sablono + Sente to Reagent + Sente and I'm > currently wo

Re: ClojureScript: Keyword Breaking Change Around the Corner

2014-09-17 Thread Peter Taoussanis
Sorry for digging this up, just got bit hard by this behaviour and I'm wondering what the rationale was for not defining `identical?` as `keyword-identical?` currently is, and instead adding an additional `fast-identical?`. This way Clojure/ClojureScript code using `identical?` remains portable

Surprised by behaviour of `compile` vs positional constructor fns

2014-09-21 Thread Peter Taoussanis
Hi all! Ran into some behaviour today that I wasn't expecting and am wondering if someone could shed some light. Steps to reproduce (reproducible with at least Clojure 1.4.0 and 1.7.0-alpha2): 1. Setup a namespace with `(defrecord Foo [x])`. 2. Call cider's `cider-load-current-buffer` in Emacs.

Re: Surprised by behaviour of `compile` vs positional constructor fns

2014-09-22 Thread Peter Taoussanis
Hi Jozef, thanks a lot for the pointer - that does seem to be the cause! Will continue to track from there. Cheers :-) -- 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

[ANN] 6x new major lib updates incl. HTTP-Kit, Sente, Timbre, Carmine

2020-09-22 Thread Peter Taoussanis
Hi everyone, I managed to get an opportunity recently to spend some non-trivial time on open-source for a few days! Have cut new releases of several libraries below. In all cases a big thanks to contributors! As usual, please check the CHANGELOGs carefully and please do report any issues. H

Re: [ANN] 6x new major lib updates incl. HTTP-Kit, Sente, Timbre, Carmine

2020-09-23 Thread Peter Taoussanis
You're very welcome Brent! Cheers :-) -- 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 unsubscrib

[Survey] Clojure/Script app monitoring service

2023-08-10 Thread Peter Taoussanis
Hi everyone, I’m looking for some assistance. I’m considering building a paid service for businesses using Clojure/Script to help easily observe/monitor their production applications (things like tracing, log aggregation, performance measurement, anomaly detection, etc.). This is a problem I’ve

Re: [ANN] better-cond 1.0.1

2016-07-02 Thread Peter Taoussanis
Really, really like this. Thank you Mark! -- 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 unsubs

[ANN] Tufte, simple profiling and performance monitoring for Clojure/Script

2016-07-11 Thread Peter Taoussanis
On Clojars, and GitHub at: https://github.com/ptaoussanis/tufte Basically took the weekend to clean up Timbre's old profiling ns, generalize it, and move it to its own lib. Biggest difference for most folks will probably be the new documentation. Enjoy, cheers! :-) -- You received this me

Re: [ANN] Tufte, simple profiling and performance monitoring for Clojure/Script

2016-07-11 Thread Peter Taoussanis
Thanks Gary, happy to hear that :-) -- 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 unsubscribe

[ANN] http-kit 2.2.0 final is out

2016-07-11 Thread Peter Taoussanis
On Clojars, and GitHub at: https://github.com/http-kit/http-kit/releases This release was put together with the help of (23!) individual contributors. Enjoy, cheers! :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send em

[Ann] Tempura, a Clj+Cljs i18n translations lib with support for React

2016-10-25 Thread Peter Taoussanis
Hi folks! So this is the 1st of 4 libs I’ve been meaning to publish for forever. Available at: https://github.com/ptaoussanis/tempura Other libs (as usual) at: https://www.taoensso.com/clojure Enjoy, cheers! :-) \- Peter Taoussanis, [@ptaoussanis](https://twitter.com/ptaoussanis) -- You

[ANN] Recent clj/s library updates - September 2015

2015-09-06 Thread Peter Taoussanis
eful links* *==* Libs homepage: https://www.taoensso.com/clojure Twitter (lib announcements, etc.): https://twitter.com/ptaoussanis As usual, please feel free to ping with any questions/problems/suggestions/whatever. Happy hacking, cheers! :-) -- *Peter Taoussanis*ptao

Boxed math in transducers

2015-09-22 Thread Peter Taoussanis
Hi all, Just noticed some use of boxed math in a couple of the Clojure 1.7 transducers (e.g. `take`). Would there be interest in a PR to add some numerical type hints? Cheers :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this grou

Re: Boxed math in transducers

2015-09-23 Thread Peter Taoussanis
Hey Alex, Not sure I follow. If we deref (volatile! 5), the dereffed val is a number. `(inc @(volatile! 5))` will involve boxed math but `(inc ^long @(volatile! 5))` won't. So, for example: (defn core-take ; As in clojure.core ([n] (fn [rf] (let [nv (volatile! n)] (fn

Re: Boxed math in transducers

2015-09-23 Thread Peter Taoussanis
Sorry- that should read "a little better", not "little better" ;-) -- 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 yo

Re: [ANN] core.async-0.2.371

2015-10-28 Thread Peter Taoussanis
Excellent \o/, much appreciated! -- 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 unsubscribe fro

[ANN] Truss, an assertions lib for Clojure/Script

2016-01-12 Thread Peter Taoussanis
-EIArA Hope someone finds this useful. As usual, please feel free to ping with questions/etc. Happy Tuesday! Cheers :-) - Peter Taoussanis -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google

Re: [ANN] Truss, an assertions lib for Clojure/Script

2016-01-12 Thread Peter Taoussanis
> Thanks Peter, I like it a lot, I mean a lot… > Heh heh, thanks mimmo - appreciate that :-) -- 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 moderat

Re: [ANN] Truss, an assertions lib for Clojure/Script

2016-01-12 Thread Peter Taoussanis
BTW have had some folks comment on the length of the video. This wasn't clear, so will point it out now: if you're looking for a quick overview I'd start with the Quickstart (https://github.com/ptaoussanis/truss#quickstart) and examples (https://github.com/ptaoussanis/truss#detailed-usage) rath

Re: [ANN] Truss, an assertions lib for Clojure/Script

2016-01-16 Thread Peter Taoussanis
> > Wow, this feels exactly right. I am eager to start using it, and delighted > it will be so easy. > Very happy to hear that James, thanks for saying so :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

[ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-02-26 Thread Peter Taoussanis
of today) and there's a Leiningen alias configured to handle all the fiddly bits like getting the Cljx and Cljs to compile: just download, `lein start-dev` at a terminal, and you're good to go. Any questions/problems/whatever, you can reach me here or on GitHub. That's it! Happy ha

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-02-27 Thread Peter Taoussanis
@Base This looks great! can't wait to try it out. > Well done. Much appreciated, hope it's useful :-) @edbond Thanks. Can you compare sente with chord? Sure, I can try - have never actually used Chord though (it wasn't around when I wrote Sente's predecessor) - so I can only comment supe

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-02-27 Thread Peter Taoussanis
Quick addendum: I've had a few folks ask about various security implementations. So first up - as I mention in the REAME, I have had to make some changes to the codebase for the public release so I wouldn't quite trust anything pre-1.0 in production just yet (there's likely at least minor bugs)

Re: [ANN] clojure.test.check (previously, simple-check)

2014-02-28 Thread Peter Taoussanis
Congrats Reid, thanks a lot for all your work on this! Have only been using simple-check for a little while now, but it's already paid big dividends in production. One of the most concretely useful testing tools I've ever used. For folks that haven't tried it, I'd absolutely recommend taking a

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-03-02 Thread Peter Taoussanis
Hi Mark, I'm trying to learn Sente using the LightTable browser connected repl. > Ahh, nice. Haven't tried LightTable yet myself, but I'd think it should work okay. > From the JS console, I see repeated, failed attempts to connect the server. > The URL is what's tripping you up here. Is there

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-03-02 Thread Peter Taoussanis
> > and that necessitated delivering my HTML through http-kit rather than the > shortcut of reading it from the file system using file://... > Yes, good catch - sorry, forgot to mention that. > Once I did that, an assertion nicely documented the use of chsk-send! > (thanks for that!). One

Re: Clojure 1.6.0-RC1 - LAST CHANCE, PLEASE TEST

2014-03-18 Thread Peter Taoussanis
I've got RC1 running in a number of places, all working well. -- 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 f

Unexpected core.async timeout behaviour

2014-03-27 Thread Peter Taoussanis
Hi all, quick question: `(dotimes [_ 5] (go ( java.lang.AssertionError: Assert failed: No more than 1024 pending takes are allowed on a single channel. It appears (?) that there's a (surprisingly low?) limit to the number of unique timeout timestamps that can be simultaneously queued. Is

Re: Unexpected core.async timeout behaviour

2014-03-28 Thread Peter Taoussanis
Hi Tim, thanks for the info! It's not clear to me that this is the same issue, unfortunately. (Though I may be missing something obvious). In the example I've provided above, we're actually creating a _new_ channel for each take. The problem appears to be either some interaction between the lo

Re: Unexpected core.async timeout behaviour

2014-03-28 Thread Peter Taoussanis
Please, not at all! Appreciate any ideas :-) -- 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 uns

Re: Unexpected core.async timeout behaviour

2014-03-28 Thread Peter Taoussanis
Okay, fantastic - appreciate the detailed info Timothy! This did actually came up in staging today; reduced it to the toy example here. Now that I understand what's happening, let me think about it a little and get back to you. BTW I don't think I've ever thanked you personally for your work on

Re: Unexpected core.async timeout behaviour

2014-03-28 Thread Peter Taoussanis
One thing I'm not clear on: if I've understood your explanation correctly, I would expect the 100ms timeout to produce this error _more_ (not less) often. So can I just confirm some things here? 1. `async/timeout` calls can (always?) get "cached" to the nearest TIMEOUT_RESOLUTION_MS. 2. In thi

[ANN] Taoensso library updates / Apr 2014

2014-04-07 Thread Peter Taoussanis
/touchstone/releases Recent changes: stable. ClojureScript support is in the pipeline. *Useful links* *==* Libs homepage: https://www.taoensso.com/clojure-libraries Twitter (lib announcements, etc.): https://twitter.com/ptaoussanis -- *Peter Taoussanis*ptaoussanis at

Re: [ANN] Taoensso library updates / Apr 2014

2014-04-07 Thread Peter Taoussanis
You're very welcome Leif, cheers :-) -- 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 unsubscribe

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-04-15 Thread Peter Taoussanis
Hey Sam! it doesn't look like the list of all connected users is available in the > API. > Yeah, that's right. Have been punting on this... For the moment have left it up to applications to decide who they're interested in broadcasting to. This might be everyone that's connected, everyone that's

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-04-16 Thread Peter Taoussanis
> > So yeah, I think that exposing a list will get us pretty far. The missing > piece, then, would be the ability for a a client to send a connection > request for a specific channel. > I'll be honest I'm a little hesitant to add any kind of room/subscription facilities to Sente itself... My

Re: [ANN] Sente - Clojure(Script) + core.async + WebSockets/Ajax

2014-04-17 Thread Peter Taoussanis
For those that might be following, have pushed `v0.10.0` so long: https://github.com/ptaoussanis/sente/releases/tag/v0.10.0 The server-side `make-channel-socket!` fn's return value now includes a `:connected-uids` atom key. You can deref that to get a realtime snapshot of all connected user-ids

Quick library status updates (logging, Redis, i18n, etc.)

2013-12-04 Thread Peter Taoussanis
s stable from here (modulo bugs). Carmine's in good shape as of v2.4. Timbre's in good shape as of v3, though the RC will need some time to settle before I'm confident it's good for production. Ahh- yeah, nothing else I can think of. Hit me up if you have any questions/p

Re: Quick library status updates (logging, Redis, i18n, etc.)

2013-12-04 Thread Peter Taoussanis
Thanks Baishampayan, Karsten - appreciate it! -- -- 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. T

Re: Quick library status updates (logging, Redis, i18n, etc.)

2013-12-04 Thread Peter Taoussanis
penders are written so the goal was brevity+clarity. In production you'll generally be writing to a db or some other form of distributed storage, so you'll be using your own appender. The Carmine appender is performant out-the-box (~50k+ writes/sec on decent hardware). -- *Peter Tao

Re: Quick library status updates (logging, Redis, i18n, etc.)

2013-12-05 Thread Peter Taoussanis
s server, the actual bottleneck will likely be the clients making the logging calls. -- *Peter Taoussanis* -- -- 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

Re: [ANN] Cloact 0.1.0 - Yet another React wrapper for ClojureScript

2014-01-11 Thread Peter Taoussanis
that constitute your full application state. It should be easy to extend Cloact (or something like Reflex https://github.com/lynaghk/reflex) to do the state tracking automatically. Cheers! :-) - Peter Taoussanis -- -- You received this message because you are subscribed to the Google Groups &q

Re: [ClojureScript] [ANN] Cloact 0.1.0 - Yet another React wrapper for ClojureScript

2014-01-11 Thread Peter Taoussanis
> Quite another thing is if it is a good idea to do that :-) If possible, I'd > say it is better to keep state that belongs together in a single atom. Am looking at this from a performance point of view. You're marking components as dirty when there's any change in an atom being deref'ed by the

Re: [ClojureScript] [ANN] Cloact 0.1.0 - Yet another React wrapper for ClojureScript

2014-01-11 Thread Peter Taoussanis
> But it would probably be better to just pass (:relevant-submap @my-atom) to a > sub-component. The subcomponent will only be re-rendered when its arguments > (i.e the params map and possible children) changes. Ahh, gotcha. Of course, thank you! > Also, React is fast enough that a few re-rend

Re: Clojure web server benchmarks

2014-01-12 Thread Peter Taoussanis
-Clojure! Cheers :-) -- *Peter Taoussanis* <https://www.taoensso.com> -- -- 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 moder

Re: Clojure web server benchmarks

2014-01-12 Thread Peter Taoussanis
> > You are welcome. > My Github user name is xfeep. > I'm glad to join the repo. Thanks for your invitation! > Okay, great - I have added you. You can make any changes you like. I would be happy if you or someone else wants to maintain (update) the repo. Cheers :-) -

Re: Clojure web server benchmarks

2014-01-14 Thread Peter Taoussanis
nis/clojure-web-server-benchmarks * His GitHub page: https://github.com/xfeep * His nginx/clojure lib: https://github.com/xfeep/nginx-clojure Cheers! :-) -- *Peter Taoussanis* -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to

Re: Clojure web server benchmarks

2014-01-20 Thread Peter Taoussanis
Thanks Jim, that's terrific! For those following, updated results now available: https://github.com/ptaoussanis/clojure-web-server-benchmarks -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegrou

Re: [ANN] Leiningen 2.0.0 released

2013-01-19 Thread Peter Taoussanis
Hey, congratulations! Thank you so much Phil and everyone else for making this happen. I still remember the pre-Leiningen 1 days with the occasional dependency-script PTSD flashback. Lein 2 is a great big step up from 1. All kinds of awesome. Well done! -- You received this message because yo

Re: Clojure web server benchmarks

2013-01-25 Thread Peter Taoussanis
Hi Dmitry, Raw bench results are provided in the `results` folder: https://github.com/ptaoussanis/clojure-web-server-benchmarks/blob/master/results/20130116-01-25 There you'll find a breakdown of the times to connect, process, and wait. Also the cumulative % of requests served relative to max

Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server & Client for Clojure

2013-02-03 Thread Peter Taoussanis
Quick anecdote: I've got an HTTP Kit server running in a test environment and the initial results are *very* promising. It's handling a mix of sync, async, and WebSocket requests and so far has been a pleasure to use. HTTP Kit's sweet spot seems to be quite large too: folks running high-traffic

Re: Possible bug with realized? and cancelled futures

2013-02-19 Thread Peter Taoussanis
Hi Alex, This is a problem because the print-method multimethod implementation for > clojure.lang.IDeref assumes that if the .isRealized method returns true, > it's safe to deref the instance. > That's interesting. I've run into the case before where a cancelled future was throwing an exceptio

Re: [ANN] Timbre, an all-Clojure logging library

2013-03-15 Thread Peter Taoussanis
gging recently is by pairing Timbre with Carmine (https://github.com/ptaoussanis/carmine) and writing a little appender fn to send logs to Redis using an index and expiring keys. With a few lines of code, that basically gives one a high-performance synchronized, distributed, query-able, rotating log.

Re: Question about destructuring with :keys :or and :as

2013-05-04 Thread Peter Taoussanis
re option that functions as `:as` does now, but merges over the `:or` defaults. I get the impression that not many folks are running into this though. May be a matter of style: I tend to like destructured fn args with defaults that are transparent to the caller. - Peter Taoussanis -- -- You receiv

Re: Clojure for large programs

2011-07-06 Thread Peter Taoussanis
charm when you have 10 different coding styles competing with one another under time constraints, etc. (where discipline starts to go out the window in favour of "getting stuff done"). - Peter Taoussanis -- You received this message because you are subscribed to the Google Groups "Cl

Re: ClojureScript

2011-07-24 Thread Peter Taoussanis
Just want to throw in on this real quick. I am -dumbfounded- by how cool ClojureScript is. It was about 2AM my time when I first heard the announcement and I stayed up another 3 hours after that watching Rich's talk and playing with the samples. As I see it right now, this is a Big Deal. For lots

Re: ClojureScript

2011-07-25 Thread Peter Taoussanis
> I would also love to know how you set this up in a little more detail. It > really sounds like an excellent approach… Sure: it's not complicated! I'm writing this in a hurry though- so hope it's still clear. Basically I just define a memoized "dynamic scripts" function that returns a map with

Re: ANN: Optimized Pattern Matching Library for Clojure

2011-08-09 Thread Peter Taoussanis
This is great stuff: thank you! I can totally see this being the kind of thing like destructuring, where once you've used it you won't want to go back :) -- Peter -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cl

[ANN] Carmine, a new Redis client for Clojure

2012-05-23 Thread Peter Taoussanis
ort for Lua scripting, Pub/Sub, etc. * Command helpers (sort*, etc.). Any comments/pull-requests/whatever very welcome! - Peter Taoussanis (@ptaoussanis) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloju

Re: ANN Welle 1.0 final

2012-05-23 Thread Peter Taoussanis
Looks great - well done! I passed over Riak a while back because of the lack of a good client- might be time to take a real look at it again. Love the ClojureWerkz pages btw. - Peter Taoussanis -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: [ANN] Carmine, a new Redis client for Clojure

2012-05-24 Thread Peter Taoussanis
Thanks Baishampayan, appreciate it. Just shout if you run into any problems or have any requests! - Peter Taoussanis -- 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

[ANN] Timbre, an all-Clojure logging library

2012-05-28 Thread Peter Taoussanis
ible fn-centric appender model. * Sensible built-in appenders including simple email appender. * Tunable flood control. * Asynchronous logging support. As always, any comments/pull-requests/whatever very welcome! Cheers! - Peter Taoussanis (@ptaoussanis) -- You received this message because you are su

Re: [ANN] Timbre, an all-Clojure logging library

2012-05-28 Thread Peter Taoussanis
Done! Having said that, I don't suggest anyone really edit their config line-by-line like this. What I do is create a map of everything I need during environment config and just merge it over the Timbre defaults with something like this: (defn deep-merge-with ; From clojure.contrib.map-utils

[ANN] Tower, simple i18n library for Clojure

2012-06-14 Thread Peter Taoussanis
pidly internationalizing web apps. As always, any and all feedback very welcome! Cheers! - Peter Taoussanis (@ptaoussanis) -- 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

Re: ANN: lambic v. 0.1.0

2012-06-15 Thread Peter Taoussanis
hing like this would certainly be welcome. I hope you can figure out a way of making this work. I'll try take a look again once you've got some examples up to see if there's anything I could contribute. Cheers! - Peter Taoussanis (@ptaoussanis) > -- You received this message be

[ANN] Nippy, a fast Clojure serializer and drop-in reader replacement

2012-07-07 Thread Peter Taoussanis
. * Reader-fallback for difficult/future types. * Full test coverage for every supported type. * Snappy integrated de/compression for efficient storage and network transfer. Cheers! - Peter Taoussanis (@ptaoussanis) -- You received this message because you are subscribed to the Google Groups

[ANN] Update: Timbre 0.6.0, a (sane) logging library for Clojure

2012-07-07 Thread Peter Taoussanis
profiler. Cheers! - Peter Taoussanis (@ptaoussanis) -- 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

Re: [ANN] Nippy, a fast Clojure serializer and drop-in reader replacement

2012-07-07 Thread Peter Taoussanis
Hi Brent, Tagged literals are supported: Nippy falls back to the reader whenever it encounters something it doesn't know how to serialize: (def my-uuid (java.util.UUID/randomUUID)) => #uuid "c463d8d3-49f4-4e40-9937-8a9699b1af1d" (thaw-from-bytes (freeze-to-bytes my-uuid)) => #uuid "c463d8d3-49f

Re: [ANN] Nippy, a fast Clojure serializer and drop-in reader replacement

2012-07-07 Thread Peter Taoussanis
Hi Sun, Can't wait to test it out. > Great- thank you! Let me know how it goes and if you run into any problems. > By the way, do you have a performance comparison between Nippy and > carbonite(the one wraps kryo) ? > Not yet, but plan to. I should probably also compare to JSON and a few o

Re: [ANN] Nippy, a fast Clojure serializer and drop-in reader replacement

2012-07-10 Thread Peter Taoussanis
Hey Frank, Thanks for getting in touch! With the tag literal support of 1.4+, is that kind of the idiomatic way of > the future to structure protocols for serialized clojure data/code? > Sorry, could you clarify what you're asking here - I'm not sure if I follow what you mean by "structure pr

Re: [ANN] ClojureC - A Clojure to C compiler - Work in Progress

2012-07-10 Thread Peter Taoussanis
Man- the day there's a mature, production-ready C(something) compiler, I'm going to flip out. Can't wait. Thank you for working on this! -- 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 No

Re: [ANN] Nippy, a fast Clojure serializer and drop-in reader replacement

2012-07-10 Thread Peter Taoussanis
Hi Alex, Thanks for your input (and all your work on Carbonite)- much appreciated! 1) buffer reuse - reusing cached ThreadLocal byte[] for converting from > data to bytes is a nice trick and made possible in most serialization libs > but I don't that's possible in the current code. > I experim

  1   2   >