Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-29 Thread Blake Miller
Jag, I think what you described is worth sharing. I like the simplicity of that approach and the efficiency of the final artifact. -Blake -- 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: New idea & POC for a Kubernetes/Clojure interface

2018-05-22 Thread Blake Miller
tances? > > > On Tuesday, November 7, 2017 at 8:34:35 AM UTC+5:30, Blake Miller wrote: >> >> Here's a little something I cooked up this weekend, to interact with a >> Kubernetes cluster from Clojure: >> >> https://github.com/blak3mill3r/keenest-rube &g

[ANN] Pyro 0.1.0 - a library for more helpful stacktraces

2018-02-18 Thread Blake Miller
Very nice! Congrats on the release. I'm going to play with it today. -- 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

New idea & POC for a Kubernetes/Clojure interface

2017-11-06 Thread Blake Miller
Here's a little something I cooked up this weekend, to interact with a Kubernetes cluster from Clojure: https://github.com/blak3mill3r/keenest-rube It abstracts away the K8s API calls completely. Instead, you get the state of the cluster as a value in an atom. Changes to the state of the cluste

Re: Is this behavior of clojure.core/pr a bug?

2016-08-05 Thread Blake Miller
I agree with Herwig in principal ... even though EDN is not meant to cover the whole set of possible pure Clojure data, if it can be made to cover more (all other things being equal) that would be a Good Thing. I think it would be possible to fix these edge cases with reader macro dispatches witho

Re: Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Blake Miller
Er, I mean "built-in reader macro dispatch". On Thursday, August 4, 2016 at 1:14:16 AM UTC, Blake Miller wrote: > > You're right, Dan. Having mulled it over a little more, it's not clear to > me why there ought to be any pure Clojure data (no Java objects) that

Re: Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Blake Miller
You're right, Dan. Having mulled it over a little more, it's not clear to me why there ought to be any pure Clojure data (no Java objects) that cannot be serialized as EDN. Emitting a #keyword reader literal for this edge case would make sense to me. -- You received this message because you ar

Re: Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Blake Miller
View -- http://corfield.org/ > > "If you're not annoying somebody, you're not really alive." > -- Margaret Atwood > > > > On 8/3/16, 4:37 PM, "Blake Miller" > on behalf of blak3...@gmail.com > wrote: > > > > I have tried th

Re: Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Blake Miller
Thanks, Timothy. I'll give transit a try. -- 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

Re: Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Blake Miller
The docstring of clojure.core/pr https://github.com/clojure/clojure/blob/clojure-1.7.0/src/clj/clojure/core.clj#L3552-L3555 actually says (in lieu of a formal EDN specification?) "pr and prn print in a way that objects can be read by the reader" ...and the example I showed appears to violate th

Is this behavior of clojure.core/pr a bug?

2016-08-03 Thread Blake Miller
I have tried this with Clojure 1.7.0, 1.8.0 and 1.9.0-alpha10 (clojure.core/read-string (clojure.core/with-out-str (clojure.core/pr (clojure.core/keyword "A valid keyword" ;; => :A This just seems wrong. It's valid to have an instance of clojure.lang.Keyword with a space in its name. (cloj

Re: Secondar Sorting in spark using clojure/flambo

2016-07-11 Thread Blake Miller
Hi Punit The behavior you are referring to is a feature of the Scala compiler, which is why it does not happen automatically when you try to use it from Clojure. Please see the note here: https://github.com/t6/from-scala/blob/4e1752aaa2ef835dd67a8404273bee067510a431/test/t6/from_scala/guide.clj

Re: Render Rails templates in Clojure?

2016-03-26 Thread Blake Miller
Pure ruby haml rendering ought to work in jruby, and you could call it from clojure... you would just need to inject values into the jruby scope, taking the place of a rails controller. That seems a bit kludgey, but perhaps if you have tons of templates it might be worth it to avoid rewriting t

Recommendations for a schema-based data language for use in Hadoop?

2015-08-05 Thread Blake Miller
I suggest using prismatic`s schema library, and generating kryo serializers for your schematized records at compile time. These serializations can be very compact by leveraging the schemas, and kryo is very fast. I've been having success with this approach on Apache Spark. If you aren't married

Re: [ANN] edn.el

2015-04-15 Thread Blake Miller
than the proverbial 80% when I invest 20% of my efforts on top of > emacs :) Take a look at this incredibly cool demo of a REST client written > in emacs: http://emacsrocks.com/e15.html > > > On Monday, April 13, 2015 at 11:25:20 PM UTC+2, Blake Miller wrote: >> >> Cool!

Re: [ANN] edn.el

2015-04-13 Thread Blake Miller
Cool! May I ask what your motivation was for this? On Saturday, April 11, 2015 at 3:09:28 AM UTC-7, Lars Andersen wrote: > > https://github.com/expez/edn.el > > is a library for reading an writing edn from emacs lisp. > > -- You received this message because you are subscribed to the Google Gr

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

2014-10-17 Thread Blake Miller
I know this is an old thread ... but FWIW I think this is awesome. Great work, Michael! I am going to play around with it. On Thursday, March 28, 2013 10:31:00 PM UTC-7, Michael Cohen wrote: > > I ran a quick and dirty benchmark comparing Amazonica with James' rotary > library, which uses no exp

Re: Gwt-Clojure - lightweight browser implementation

2012-08-23 Thread Blake Miller
I realize this is an old thread ... and the blog link about the gwt-clojure project is dead. I just wanted to mention that I'm working on something similar, with a somewhat different approach: This one is a java metaprogramming toolkit written in clojure. It turns clojure forms into java sourc

Clojurescript, is it ready yet?

2012-08-23 Thread Blake Miller
This is somewhat related, though it's not exactly what the OP asked about. This compiles with GWT: https://github.com/blak3mill3r/percolator/blob/master/play/src/com/whatsys/test.clj Also I wanted to point out that you could export a public interface with the GWT compiler and call it with clojure