Re: [ANN] Clojure 1.10.0-RC1 (please test!)

2018-10-17 Thread Ken Restivo
On Thu, Oct 11, 2018 at 08:11:45AM -0700, Alex Miller wrote: > 1.10.0-RC1 is now available. You can try it with clj using: > > clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-RC1"}}}' > > 1.10.0-RC1 is the same code as beta2 (only change are some changelog > fixes). > You ca

Re: Version control at the function level - a la Rich

2017-03-04 Thread Ken Restivo
On Fri, Feb 17, 2017 at 01:56:04PM -0800, Josh Tilles wrote: > I’m pretty sure you’re looking for codeq: > http://blog.datomic.com/2012/10/codeq.html > > On Friday, February 17, 2017 at 4:39:12 PM UTC-5, Terje Dahl wrote: > > > > I recall Rich Hickey talking about this a few years back, but can't

Re: RIP Anthony Grimes (Raynes)

2016-12-07 Thread Ken Restivo
Many people who have been here a while know what a bright, talented, and promising young programmer he was, and of his impressive list of contributions to the Clojure community. He seemed relentlessly curious, and worked professionally in Clojure, Haskell, NodeJS, CoffeeScript, Python, and last

Re: core.async top use cases

2016-09-19 Thread Ken Restivo
On Sat, Sep 17, 2016 at 11:37:38PM -0700, Matan Safriel wrote: > Hi, > > It's very easy to see how core.async solves callback hell for front-end > development with clojurescript. > In what use cases would you use it for server-side? we already have > non-blocking IO from Java, and we have clojur

Re: Reducing the pain of a clojars outage

2016-01-01 Thread Ken Restivo
Any tooling would also have to upgrade to clj-http 2.0.0 and/or HttpClient 4.5, because before that SNI was broken even on Java 8: https://issues.apache.org/jira/browse/HTTPCLIENT-1613?devStatusDetailDialog=repository Supposedly fixed in 4.5 of HttpClient, which 2.0.0 of clj-http pulls in, but I

Re: clojars down?

2016-01-01 Thread Ken Restivo
For deploys, I use uberjars. They don't need any dependencies. It's also arguably more secure to have a jar that I know has everything in it, rather than trusting lein to fetch it from somewhere that might have been DNS spoofed, maliciously proxied, etc. Of course, builds can be broken by cloja

San Francisco Meetup at Climate Corp still active?

2015-11-29 Thread Ken Restivo
Meetup.com sends me notices every month about "N Clojure programmers are attending the monthly Clojure Meetup at Climate Corp". I've shown up at the last two on the scheduled date and time, and there are much less than N Clojure programmers there. In fact there's been exactly 1: me. Wandering a

Re: Timbre corrupting EDN via prn-str

2015-10-07 Thread Ken Restivo
a file and tail it for instance. > > On Wed, Oct 7, 2015 at 11:36 AM, Ken Restivo wrote: > > > Yep. It doesn't help. > > > > I also tried (.flush *out*) before... no dice. > > > > -ken > > -- > > - > > On Wed, Oct 07, 2015 at 11:

Re: Timbre corrupting EDN via prn-str

2015-10-07 Thread Ken Restivo
Yep. It doesn't help. I also tried (.flush *out*) before... no dice. -ken -- - On Wed, Oct 07, 2015 at 11:31:12AM +0300, Atamert Ölçgen wrote: > Hi Ken, > > Have you tried with-out-str? > > On Wed, Oct 7, 2015 at 11:18 AM, Ken Restivo wrote: > > > I was tr

Timbre corrupting EDN via prn-str

2015-10-07 Thread Ken Restivo
I was trying to save a data structure using prn-str. However, I'm also using Timbre for logging. My nice data structure is getting corrupted by INFO and DEBUG and other log messages from Timbre. Is there any way to turn a Clojure data structure into EDN without mucking around with things like

Re: Status of lean runtime?

2014-12-10 Thread Ken Restivo
Thanks. I wasn't expecting anything to be released soon. Based on replies here and elsewhere, so far it seems there is: 1) The "fastload" branch of Clojure https://github.com/clojure/clojure/tree/fastload (status unknown) 2) Oxcart https://github.com/oxlang/oxcart (looks abandoned?) 3) Androi

Re: Status of lean runtime?

2014-12-06 Thread Ken Restivo
Thanks. -ken -- --- On Sat, Dec 06, 2014 at 02:38:51PM -0800, Ken Restivo wrote: > I recall that at CljWest there was a talk regarding lean Clojure JVM runtimes > for faster startup on Android and other embedded platforms. During the Q&A > Rich endorsed the effort to create o

Status of lean runtime?

2014-12-06 Thread Ken Restivo
I recall that at CljWest there was a talk regarding lean Clojure JVM runtimes for faster startup on Android and other embedded platforms. During the Q&A Rich endorsed the effort to create one, and to integrate it into Clojure core. I also recall hearing that there might have been a GSoc effort t

Re: Recursive codec/frames in gloss? -- SOLVED

2014-10-11 Thread Ken Restivo
ded? Do you want the sum of > byte0 ... byten, as well as the actual payload? Do you also want the > header-length? > > On Thursday, October 9, 2014 11:34:59 PM UTC-7, Ken Restivo wrote: > > > > I'm playing around with Gloss, trying to decode a packet, part of whi

Re: Recursive codec/frames in gloss?

2014-10-11 Thread Ken Restivo
header-length? > > On Thursday, October 9, 2014 11:34:59 PM UTC-7, Ken Restivo wrote: > > > > I'm playing around with Gloss, trying to decode a packet, part of which > > has the following nested struture: > > > > header-length (1 byte, value n) > &

Re: Recursive codec/frames in gloss?

2014-10-11 Thread Ken Restivo
yload? Do you also want the > header-length? > > On Thursday, October 9, 2014 11:34:59 PM UTC-7, Ken Restivo wrote: > > > > I'm playing around with Gloss, trying to decode a packet, part of which > > has the following nested struture: > > > > header-le

Recursive codec/frames in gloss?

2014-10-09 Thread Ken Restivo
I'm playing around with Gloss, trying to decode a packet, part of which has the following nested struture: header-length (1 byte, value n) byte0 ... byten (count defined by that header-length byte) actual payload (length of which is the sum of the values of the above bytes) S

Re: Granularity in Leiningen profile loading

2014-01-08 Thread Ken Restivo
On Wed, Jan 08, 2014 at 08:52:34PM +, gvim wrote: > In ~/.lein/profiles.clj I have: > > {:user {:plugins [[lein-ritz "0.7.0"] [lein-ancient "0.5.4"]] > :dependencies [[org.clojure/core.typed "0.2.21"] >[org.clojure/core.match "0.2.0"] >[c

as-> macro enhancement request?

2013-08-20 Thread Ken Restivo
I like the as-> macro, mostly because it'd theoretically obviate the need to include the Swiss Arrows library anymore. There's one reason why I keep going back to Swiss Arrows though: the ability to include single-arg functions in the chain that do not have the explicit token. i.e. in Swiss Arr

Re: Database migrations

2013-06-14 Thread Ken Restivo
Migratus seems to be pretty similar to this, is a nice small library. I've used it and it works well. https://github.com/pjstadig/migratus -ken -- On Fri, Jun 14, 2013 at 11:44:08AM -0500, Steven Degutis wrote: > Phil uses this really cool trick: > https://github.com/technomancy/syme/bl

nrepl-ritz without jack-in?

2013-05-16 Thread Ken Restivo
nrepl-ritz looks very interesting, and I've been meaning to try it out. The problem is that I don't use jack-in. I have long-running processes, sometimes running on a separate machine, and connect and disconnect from them from emacs, using (nrepl "localhost" portnum). I haven't figured out how

Re: No show?

2012-02-11 Thread Ken Restivo
On Thu, Feb 09, 2012 at 11:41:31AM -0400, Stuart Halloway wrote: > > clojure.reflect/reflect gets you the same information as a big 'ole data > > structure. You can pprint it for readability. > > > > The only thing that was not ported was the formatted text output, which > > would be easy enough

No show?

2012-02-08 Thread Ken Restivo
Hi all, I'm curious why the "show" function got abandoned when migrating from monolithic contrib.repl-utils to clojure.repl? http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go It looks like it would have been useful. Does anything replace it? Thanks. -ken -- You received this