Re: [ANN] Parkour: Hadoop MapReduce in idiomatic Clojure

2013-11-12 Thread Sam Ritchie
have not run it live on EMR, but the unit test matrix includes Hadoop versions 0.20.205, 1.0.3, and 2.2.0, which are the sufficiently-recent Hadoop releases EMR’s documentation claims are supported. -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie -- -- You received this message because you

Re: Reactive Programming in Clojure

2013-11-18 Thread Sam Ritchie
g emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddlegur

Reactive Patterns with Atoms - am I using too much state?

2013-11-29 Thread Sam Ritchie
declarative way. Is there a better way to structure UI code? -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddleguru> -- -- You received thi

Re: Reactive Patterns with Atoms - am I using too much state?

2013-11-30 Thread Sam Ritchie
ions [[update-timestamp [:* :timestamp]] [update-active [:* :active?]]]) This approach is described in: https://github.com/pedestal/pedestal/blob/master/app/examples/walkthrough.clj On Friday, November 29, 2013 6:58:32 PM UTC+1, Sam Ritchie wrote: Hey guys, As I start to work on more

Re: Reactive Patterns with Atoms - am I using too much state?

2013-12-01 Thread Sam Ritchie
ms. Brian Marick wrote: On Nov 30, 2013, at 10:39 AM, Sam Ritchie wrote: Brian, I like that too. It looks like you're providing the state when you do the def-action? If I understand the question right, yes. A test of a state function would look like: (fact (incrementer {:value 1}

[ANN] Om-Bootstrap 0.4.0, w/ support for Om 0.8

2015-02-09 Thread Sam Ritchie
o Om 0.8.8 and React 0.12.x. - The docs site now uses the new cljsjs stuff, removing the need for :preamble and :externs. The getting started <http://om-bootstrap.herokuapp.com/getting-started> page shows the new way. - Panels and navbars are now collapsible ### New Components - `pagi

Re: Help with Liberator POST route

2015-02-19 Thread Sam Ritchie
seInt month) (Integer/parseInt year) (Integer/parseInt hour) (Integer/parseInt min) region location)) Testing with with: curl -d "day=10;month=8;year=1970;hour=13;minute=45;region=Europe;location=London" http://localhost:3000/user returns an error with the first pa

Re: Help with Liberator POST route

2015-02-19 Thread Sam Ritchie
overlapping functionality here. Using "ANY" disables Compojure's request type matching, allowing liberator to take care of it exclusively. gvim <mailto:gvi...@gmail.com> February 19, 2015 at 9:41 AM OK, will use ANY. Still puzzled, though, as to why "Method not allowed

Re: Clojurescript Light Table Setup

2015-02-20 Thread Sam Ritchie
. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Fou

Re: cascalog and java 1.7

2015-02-27 Thread Sam Ritchie
ceived this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https

Re: Who's using Clojure?

2015-03-03 Thread Sam Ritchie
ure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Fo

Re: clojure, not the go to for data science

2015-03-29 Thread Sam Ritchie
io, IPython ) where as you would need to use emacs with clojure, or is there just a better default use of Clojure? Sayth -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Fac

Re: reader conditional indentation (clojure-mode)

2015-04-16 Thread Sam Ritchie
jure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddle

Re: Using @ alone

2015-05-21 Thread Sam Ritchie
That’s probably with a macro body, where it takes on a slightly different meaning. `(+ ~@[1 2 3]) In that form, ~@ strips off the sequence following it. The form macroexpands to (clojure.core/+ 1 2 3) I believe ~@ only works inside a backticked form. Sam Ritchie (@sritchie) RaceHub Co

Re: Using @ alone

2015-05-21 Thread Sam Ritchie
Whoops, sorry all. Only the first message in the thread loaded. Sam Ritchie (@sritchie) RaceHub Co-Founder 703.863.8561 www.racehubhq.com <http://www.racehubhq.com/> Twitter <http://twitter.com/racehubhq> // Facebook <http://facebook.com/racehubhq> > On May 21, 2015, at

Re: [ANN] dynalint 0.1.0

2014-01-11 Thread Sam Ritchie
re?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

Re: Managing role-based permissions in Ring apps

2014-01-12 Thread Sam Ritchie
om it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook

Re: Managing role-based permissions in Ring apps

2014-01-17 Thread Sam Ritchie
Hope this helps! Stefan Kamphausen wrote: To clarify, that was an example of content negotiation middleware, not ACL. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook

RESTful API Auth with Friend and Liberator

2014-01-17 Thread Sam Ritchie
Hey guys, Those of you working on webapps might find this interesting: http://sritchie.github.io/2014/01/17/api-authentication-with-liberator-and-friend/ Enjoy! -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter

Re: RESTful API Auth with Friend and Liberator

2014-01-18 Thread Sam Ritchie
est. Thanks in advance! On Saturday, January 18, 2014 2:57:10 AM UTC+5:30, Sam Ritchie wrote: -- -- 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

Re: RESTful API Auth with Friend and Liberator

2014-01-18 Thread Sam Ritchie
AM Hi Sam, Can we see the code, by any chance? It would be great -- tutorials are fun to read, but real-world examples with well commented code is even better IMHO. Sam Ritchie <mailto:sritchi...@gmail.com> January 18, 2014 7:29 AM Hey, These are the choices and libraries that dro

Re: OOP question re: The Language of the System

2014-01-19 Thread Sam Ritchie
re subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 7

Re: [ANN] com.stuartsierra/frequencies "0.1.0"

2014-01-25 Thread Sam Ritchie
email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://

Re: Java interoperability

2014-01-27 Thread Sam Ritchie
ore options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups

Re: dynalint, lein-dynalint 0.1.2 - Warn on (zipmap (keys m) (vals m))

2014-02-01 Thread Sam Ritchie
because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) P

Re: dynalint, lein-dynalint 0.1.2 - Warn on (zipmap (keys m) (vals m))

2014-02-01 Thread Sam Ritchie
, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. Sam Ritchie <mailto:sritchi...@gmail.com> February 1, 2014 6:54 AM I added this to the :injections vector of my lein project; it looks really helpful, but when compiling in emacs via nR

Re: dynalint, lein-dynalint 0.1.2 - Warn on (zipmap (keys m) (vals m))

2014-02-01 Thread Sam Ritchie
roups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. Sam Ritchie <mailto:sritchi...@gmail.com> February 1, 2014 7:14 AM Let me

Re: dynalint, lein-dynalint 0.1.2 - Warn on (zipmap (keys m) (vals m))

2014-02-01 Thread Sam Ritchie
s "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. Sam Ritchie <mailto:sritchi...@gmail.com> February 1, 2014 7:14 AM Let me

Re: order of returned values from keys and vals

2014-02-01 Thread Sam Ritchie
re?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt

Re: [ANN] lein-modules 0.1.0 - multi-module support in Leiningen

2014-02-10 Thread Sam Ritchie
re" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http:/

Re: Email delivery libs not working

2014-02-24 Thread Sam Ritchie
ojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddlegur

Re: Uberjar woes

2014-02-27 Thread Sam Ritchie
ure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.

Re: [soft/philosophical] event handers in cljs

2014-03-09 Thread Sam Ritchie
js was: ## approach 1 goog.events.listen(... , callback-func) After learning core.async, I read (and liked the idea of): ## approach 2 * (defn global-events (core.async/chan 1)) * shove all events on to global-events * have a go-thread -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.86

Re: using contrib functions

2014-03-29 Thread Sam Ritchie
ing: couldn't download index for http://repo1.maven.org/maven2 Is that "webnf" package the thing I am supposed to put in my "dependencies" list? Version 0.0.1 doesn't sound right. Or am I supposed to download something myself and throw it in my lib directory? -- S

Re: Quotient *and* Remainder

2014-04-09 Thread Sam Ritchie
jure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook

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

2014-04-15 Thread Sam Ritchie
Hey Peter, I like the UUID feature, but it doesn't look like the list of all connected users is available in the API. How would you do a global broadcast to all connected clients using Sente? I'm having trouble figuring out how to write a chat demo using Sente. Thanks for your work! On Wednes

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

2014-04-15 Thread Sam Ritchie
ibed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. Sam Ritchi

Re: JSON authentication with cemerick/friend?

2014-04-23 Thread Sam Ritchie
ed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie

Re: JSON authentication with cemerick/friend?

2014-05-05 Thread Sam Ritchie
ou 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 from this group, send email to clojure+unsubscr...@googlegroups

Re: [ANN] Automat: better FSMs through combinators

2014-05-16 Thread Sam Ritchie
receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddlegur

Re: Advice on data structure communication and awareness

2014-05-17 Thread Sam Ritchie
?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more o

Re: Advice on data structure communication and awareness

2014-05-17 Thread Sam Ritchie
To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this gro

Re: Is it the right Clojure group for a newbie

2014-06-20 Thread Sam Ritchie
gle Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@

Re: Invalid timestamp

2014-06-20 Thread Sam Ritchie
group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups

Re: doseq with index

2014-06-22 Thread Sam Ritchie
isit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddleguru> -- You received this message because you are s

Re: Game logic with Clojure

2014-06-23 Thread Sam Ritchie
group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <

Re: [question] Multimethods vs case

2014-07-08 Thread Sam Ritchie
p receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http:/

Re: lein install

2014-07-08 Thread Sam Ritchie
s group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:cl

Re: An Averaging function

2014-07-09 Thread Sam Ritchie
@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Faceboo

Re: An Averaging function

2014-07-10 Thread Sam Ritchie
ssage because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.c

CLJS Function clobbering js function of same name

2014-07-31 Thread Sam Ritchie
minimal reproduction: (.log js/console "Hi!") ;; logs "Hi!" (defn console [s] (.log js/console s)) (console "Hi!") ;; throws Compilation error: TypeError: undefined is not a function What do you think? Expected behavior, or just an edge case to avoid? -- Sam Ritc

Re: Clojure / Core.Async Dependency Issues

2014-07-31 Thread Sam Ritchie
cribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritch

Re: java interoperability: No such namespace error

2014-07-31 Thread Sam Ritchie
cr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddle

Re: CLJS Function clobbering js function of same name

2014-08-04 Thread Sam Ritchie
http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubsc

Re: Howto write test.check custom generators

2014-08-10 Thread Sam Ritchie
visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <ma

Re: idiomatic filter-not or inverting predicate

2014-08-21 Thread Sam Ritchie
from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http:/

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

2014-08-24 Thread Sam Ritchie
unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 ww

[ANN] om-bootstrap 0.2.5 - Bootstrap 3 components in Om

2014-08-24 Thread Sam Ritchie
rap <https://github.com/react-bootstrap/react-bootstrap> project for inspiration... I've been tracking off of them and their killer doc site for this initial push. Let me know what you guys think! -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://w

Re: [ANN] om-bootstrap 0.2.5 - Bootstrap 3 components in Om

2014-08-27 Thread Sam Ritchie
d react-bootstrap or doing something more? Thanks Henry On Monday, August 25, 2014 2:14:04 AM UTC+1, Sam Ritchie wrote: -- 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] om-bootstrap 0.2.6 released

2014-08-27 Thread Sam Ritchie
ct` handlers on top level nav elements now get called if set, along with the current nav-item `:on-select` handlers ### New Components - `dropdown-mixin` (mixins.cljs) - `menu-item`, `dropdown-menu`, `dropdown` (button.cljs) - `split` (ie, SplitButton) (button.cljs) - `navbar` (ie, SplitButt

Re: om tutorial, java.lang.UnsupportedClassVersionError

2014-08-27 Thread Sam Ritchie
For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddleguru> -- You received this m

Re: [ANN] om-bootstrap 0.2.5 - Bootstrap 3 components in Om

2014-08-28 Thread Sam Ritchie
e idea of the structure of the resources directory - presumably various bits of the bootstrap project. Can you give any guidance in this area ? -A On Monday, August 25, 2014 2:14:04 AM UTC+1, Sam Ritchie wrote: -- You received this message because you are subscribed to the Google Groups &

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-15 Thread Sam Ritchie
ng-started Thanks to David for a template for the Leiningen stuff, and others for bugging me to get this done :) Cheers! Sam Ritchie <mailto:sritchi...@gmail.com> August 27, 2014 at 1:05 PM This release adds a bunch of new active components - notably, dropdown buttons, split dropdown butt

Re: [ANN] om-bootstrap 0.2.6 released

2014-09-16 Thread Sam Ritchie
. 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: -- You received this message because you are subscribed to the Goo

Re: [ANN] Clojure 1.7.0-alpha3 now available

2014-10-28 Thread Sam Ritchie
email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, s

Re: Preventing url-encoding of POST body in http-kit.client

2014-11-14 Thread Sam Ritchie
ded recipient. In addition, to ensure the security of your data, please do not send any unencrypted credit card or personally identifiable information to this email address. Thank you. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru

Re: [ANN] Amazonica: Clojure client for the entire AWS api

2014-11-22 Thread Sam Ritchie
end email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails

Re: Wouldn't it be nice if if-let allowed more bindings?

2014-11-26 Thread Sam Ritchie
glegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubs

Facebook Graph API via CLS

2014-12-03 Thread Sam Ritchie
p on github with this and the rest of the API. Cheers, Sam -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter.com/paddleguru>// Facebook <http://facebook.com/paddleguru> -- You received this

Re: Getting sick and tired of "[trace missing]"

2014-12-03 Thread Sam Ritchie
;Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleg

Re: Implementing a Oauth2 provider with clauth and friend

2014-12-15 Thread Sam Ritchie
op receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddlegu

Re: Implementing a Oauth2 provider with clauth and friend

2014-12-15 Thread Sam Ritchie
ibed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. Sam Ritc

Re: Creating Hiccup From Code Keeping Formatting and Comments

2015-01-04 Thread Sam Ritchie
are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.goog

Re: ANN: boltzmann 0.1.1 - a deep-learning library

2015-01-04 Thread Sam Ritchie
yputYwzOocX58AcnCtfXDVO2UJt8RU/q33FVugjtXtvsDxgM AOO4WnW6mzYvLUbrhksDjuLShhs2EoCMB54cB2W5ejz+6X3oFeF/xndFqtNYdwPF d13q60Ex0s/IqIo3mOwB/O1rOnsBHxiQ6nuSaphMAm7jJF9wHtDaXHWRZHa2RTg= =BjnJ -END PGP SIGNATURE- -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twi

Re: How to handle refactoring with TDD and mocking/stubbing

2015-01-05 Thread Sam Ritchie
ely be used by newbies using Midje, particularly established OO developers to ensure they don't mis-use Midje's tools as a bridge to stay in the OO paradigm. -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter

Re: ANN: Om 0.8.0-rc1

2015-01-14 Thread Sam Ritchie
tions, visit https://groups.google.com/d/optout. David Nolen <mailto:dnolen.li...@gmail.com> December 31, 2014 at 1:22 PM I just cut Om 0.8.0-rc1. The only change from prior betas/alphas is more bug fixes. https://github.com/swannodette/om Feedback welcome! David -- Sam Ritchie (@sritchie)

Re: ANN: Om 0.8.0-rc1

2015-01-14 Thread Sam Ritchie
Looks like we don't need to manually specify externs: https://github.com/swannodette/om/commit/343ec3fefc038850f9ddc4c20463213fd09d1368 Sam Ritchie <mailto:sritchi...@gmail.com> January 14, 2015 at 10:31 AM I'm getting the same thing. Did you guys resolve this?

AOT Compilation Error on Clojure 1.7.0-alpha5

2015-01-14 Thread Sam Ritchie
https://gist.github.com/sritchie/70d057b04f3b18179933 This failure occurs on alpha5, but NOT on alpha4 (or alpha2. Didn't test alpha3.) Any ideas? -- Sam Ritchie (@sritchie) Paddleguru Co-Founder 703.863.8561 www.paddleguru.com <http://www.paddleguru.com/> Twitter <http://twitter

Re: [ANN] bouncer 0.3.2

2015-01-23 Thread Sam Ritchie
e you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com <mailto:clojure+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/

Re: Why (memoize (fn [_#] (gensym "node")) in rhizome?

2015-09-11 Thread Sam Ritchie
Seems like a good use of “delay”, yeah? Slightly different calling semantics, of course, but still: user> (def f (delay (gensym "node"))) #'user/f user> @f node3330 user> @f node3330 Sam Ritchie (@sritchie) RaceHub Co-Founder 703.863.8561 www.racehubhq.com <http://

Re: Why (memoize (fn [_#] (gensym "node")) in rhizome?

2015-09-12 Thread Sam Ritchie
Ah, of course. Even though the guts of the function are ignoring the argument, `memoize` is using it. Cool! Sam Ritchie (@sritchie) RaceHub Co-Founder 703.863.8561 www.racehubhq.com <http://www.racehubhq.com/> Twitter <http://twitter.com/racehubhq> // Facebook <http://faceboo

Re: ClojureScript at its best

2016-03-01 Thread Sam Ritchie
https://racehubhq.com/ <https://racehubhq.com/> is full Clojurescript + Om, with full client-side rendering + routing and all data transfer via websocket. Sam Ritchie (@sritchie <https://twitter.com/sritchie>) Machine Learning @ Stripe <https://stripe.com/> s

Re: ? stateful-map ?

2022-11-27 Thread Sam Ritchie
Pretty sure what you’re looking for is either https://clojuredocs.org/clojure.core/reductions or something close. This idea is called a “scanLeft” in some functional languages, so that should give you another search term to use. Good luck! On Sun, Nov 27, 2022, at 12:00 PM, Jules wrote: > Guys,

Re: infix-to-prefix macro dead-end!!!

2012-05-02 Thread Sam Ritchie
m new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@**googlegroups.com > For more options, visit this group at > http://groups.google.com/**group/clojure?hl=en<http://groups.google.com/group/clojure?hl=en

Re: Why cannot "last" be fast on vector?

2012-06-29 Thread Sam Ritchie
be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie09 (Too brief

Re: is this a problem for clojure.contrib.dataflow? Or something else?

2012-08-21 Thread Sam Ritchie
ose to what I'm looking >>> for, but I'd love to hear ideas. Am I describing something that already >>> exists? Would this actually be simpler than it seems using some clever >>> macros? Are there some keywords I should search for to get started? Or >>> per

Re: real-world usage of reducers?

2012-08-21 Thread Sam Ritchie
first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie (Too brief? Here's why! http://emailcharter.org)

Re: problem 58 on 4clojure

2012-08-26 Thread Sam Ritchie
his group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie (Too brief? Here's why! http://emailcharter.org) -- You rece

load-file, and new function definitions not catching at the REPL

2011-03-01 Thread Sam Ritchie
Hey all -- quick question on the REPL. I'm an emacs user, but my two teammates have been working with the excellent textmate-clojure, and it's exposed an issue that I'm not sure how to deal with. The bundle provides a command to load the current file active in textmate, by run

Re: load-file, and new function definitions not catching at the REPL

2011-03-03 Thread Sam Ritchie
I'd like to bump this, with the question rephrased: Is there a way to call commands from a JVM process's REPL in any way other than pasting it in to that REPL? Specifically, is there a way to tell an active REPL to re-enter its current namespace? On Tue, Mar 1, 2011 at 8:50 AM, S

Re: load-file, and new function definitions not catching at the REPL

2011-03-03 Thread Sam Ritchie
without textmate-clojure in the loop -- substitute a call to load-file for the shift-command-L business. Best, Sam On Thu, Mar 3, 2011 at 9:55 AM, David Nolen wrote: > On Thu, Mar 3, 2011 at 12:39 PM, Sam Ritchie wrote: > >> I'd like to bump this, with the question rephrased:

Re: Learning Idiomatic Clojure

2011-05-12 Thread Sam Ritchie
Here's a style guide for Scheme, another dialect of Lisp: http://mumble.net/~campbell/scheme/style.txt It's a fun read, and mostly applicable to Clojure. On Thu, May 12, 2011 at 6:54 AM, Mike Meyer wrote: > On Wed, 11 May 2011 19:10:13 -0700 (PDT) > "J.R. Garcia" wrote: > > > I'm wondering wh

Functional Blackjack in Clojure

2011-05-23 Thread Sam Ritchie
Hey all, As an exercise in Clojure, I recently went about implementing a functional version of BlackJack, and wanted to post it here for everyone's perusal. The goal here was to write idiomatic code with good testing and documentation, and, hopefully, to provide the basis for an example of a well

Re: Re: a chaing macro with named-intermediate values

2011-05-27 Thread Sam Ritchie
Hey all, pallet.thread-expr contains arg->, which can be used liked (-> 1 (arg-> [x] (+ x))) => 2. Here's the library, with a bunch of other threading macros: https://github.com/pallet/thread-expr and the implementation of that particular one: (defmacro arg-> "Lexically assign the threaded ar

Re: find first non nil element of sequence

2011-05-27 Thread Sam Ritchie
Hey, how about this? (defn first-non-nil [xs] (first (filter (complement nil?) xs))) On Fri, May 27, 2011 at 9:56 AM, MarisO wrote: > To find first defined Option in scala I do this: > > sol.find(_.isDefined).getOrElse(None) > > I managed to do the same in clojure: > > (so

[ANN] Pallet-Hadoop (Hadoop clusters as data structures)

2011-06-01 Thread Sam Ritchie
Hey all, I'd like to announce Pallet-Hadoop, a layer built on top of Pallet that allows users to describe a Hadoop cluster configuration as a nested clojure map. Here's a cluster with one master node and two sl

Re: Radically simplified Emacs and SLIME setup

2011-06-23 Thread Sam Ritchie
This should do the trick, though I'm not set up with jack-in to test: At the REPL, type comma (the character ,), then sayoonara. On Thu, Jun 23, 2011 at 11:20 AM, gaz jones wrote: > this is really great, thanks for putting this together. > > i have a (possibly daft) question -- is there a neat w

Re: [ANN] Pallet-Hadoop (Hadoop clusters as data structures)

2011-06-24 Thread Sam Ritchie
on making it very easy to run Cascalog<http://www.assembla.com/wiki/show/d9Z8_q-Omr35zteJe5cbLr> jobs (and other jar deployments) on these clusters. The goal of all of this is to make Big Data analysis approachable, affordable and interactive. More to come! ~Sam On Wed, Jun 1, 2011 at 10:26

Re: Repeating a vector n times

2011-07-13 Thread Sam Ritchie
Ken, that'll result in the original vector back out again. (vec (take 3 (cycle [1 2 3]))) => [1 2 3]. I think you mean: (vec (take (* n (count xs)) (cycle xs On Wed, Jul 13, 2011 at 5:13 PM, Ken Wesson wrote: > On Wed, Jul 13, 2011 at 11:21 AM, Bhinderwala, Shoeb > wrote: > > Thanks Tamr

Re: Exception testing with clojure.test

2011-07-19 Thread Sam Ritchie
Yup, this should do the trick: (defn only-odds [x] {:pre [(odd? x)]} x) (deftest only-odds-test (is (thrown? AssertionError (only-odds 2))) (is (= 1 (only-odds 1 On Tue, Jul 19, 2011 at 4:48 PM, Jonathan Cardoso wrote: > Hi guys, > > I want to test some code that throws except

  1   2   >