Re: [ANN] Concurrently - A library for making concurrent process-pipeline backed by core.async

2021-09-13 Thread Christopher Small
Cool project; Thanks for working on and sharing this. Worth mentioning that Christian Weilbach built a thing called superv (based on the supervisor pattern in Erlang) which solves some similar problems using macros with some of the other core.async api, but I don't think implemented a version

Re: [ANN] Concurrently - A library for making concurrent process-pipeline backed by core.async

2021-09-13 Thread Christopher Small
Cool project; Thanks for working on and sharing this. Worth mentioning that Christian Weilbach built a thing called superv (based on the supervisor pattern in Erlang) which solves some similar problems using macros with some of the other core.async api, but I don't think implemented a version

Re: Recommended way to develop a command-line app in Clojure

2021-06-21 Thread Christopher Small
If you want quick-running (sans JVM/Clojure startup time) and would rather stick with the JVM Clojure paradigm over Cljs, I'd highly recommend looking at babashka: https://github.com/babashka/babashka The setup is super easy, you get access to a lot of the basic JVM classes, and it comes with

Re: what is currently considered a good blog engine, written in Clojure?

2020-12-13 Thread Christopher Small
Oz (in addition to being a dataviz tookit) has evolved into the realm of static site generation , complete with live code reloading. Simply (require '[oz.core :as oz]) (oz/build! [{:from "site-src/pages" :to "build"}]) This will set

Oz: Live code reloading for Clojure (& data science)

2019-03-27 Thread Christopher Small
Hello I'm happy to announce an exciting new feature of Oz : Live code reloading for Clojure. This idea was inspired by a talk on data science in Clojure by Aria Haghighi. In the talk Aria mused about what

Re: [ANN] metasoarous/oz 1.5.1 - clojure dataviz updates (jupyter notebooks, markdown extensions, and static export, oh my!)

2019-01-23 Thread Christopher Small
Thank you both for the feedback! I'm really happy to be able to empower our budding Clojure Data Science community. On Wednesday, January 23, 2019 at 7:38:04 AM UTC-8, Chris Nuernberger wrote: > > Great improvements Christopher! The markdown and Jupyter support are > exactly the di

[ANN] metasoarous/oz 1.5.1 - clojure dataviz updates (jupyter notebooks, markdown extensions, and static export, oh my!)

2019-01-23 Thread Christopher Small
useful, and that you help me make Vega, Vega-Lite & Oz a standard part of the Clojure toolkit for data science. Thanks for your time Christopher Small -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send em

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-19 Thread Christopher Small
Quick note for posterity: Jaraj found a bug in the default credential path code (didn't work on mac) which he submitted a patch for and which I've just released as 1.4.1. So if you're on a mac and want to check out the `publish!` functionality, please update to 1.4.1. Thanks again Juraj!

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-18 Thread Christopher Small
EDIT: ...for the development of dynamic web applications. On Tuesday, December 18, 2018 at 8:31:25 PM UTC-8, Christopher Small wrote: > > > Hi Juraj > > Glad you have it working now! > > I mostly use oz from the Clojure REPL as an exploratory tool in my work o

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-18 Thread Christopher Small
Great to hear. Thanks for checking it out! On Tuesday, December 18, 2018 at 10:38:12 AM UTC-8, Alan Thompson wrote: > > Looks very nice. I will definitely be using this in the future. > Alan > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-18 Thread Christopher Small
Hi Juraj Glad you have it working now! I mostly use oz from the Clojure REPL as an exploratory tool in my work on Polis (see https://www.youtube.com/watch?v=2tBVMAm0-00). I have yet to use the Reagent API in a dynamic front end, but I have used Vega & Vega-Lite in a vanilla React app (see

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-18 Thread Christopher Small
again to get it to show the figure, > rather then the opening text. And you can leave out the (oz/start-plot- > server!). It will start a server if it needs one. > > I guess I have a similar workflow as Christopher, and similar needs in > terms of visualization. I have used vega-lit

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-17 Thread Christopher Small
amples (https://vega.github.io/examples) 404s. > > Sent from my iPhone > > On 17 Dec 2018, at 20:41, Christopher Small > wrote: > > > Greetings! > > I'm happy to announce today the release of Oz 1.4.0. > > https://github.com/metasoarous/oz > > If you're

[ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-17 Thread Christopher Small
Greetings! I'm happy to announce today the release of Oz 1.4.0. https://github.com/metasoarous/oz If you're on the Slack #datascience channel, you may have already caught wind of some earlier versions. But in the interest of introducing it more broadly, I'm posting an overview here for those

Re: group rows on basis of value in a column in CSV with clojure

2018-07-09 Thread Christopher Small
You may want to take a look at my library semantic-csv, which lets you cast rows as maps instead of vectors, so that you can group-by a column name instead of a positional index. https://github.com/metasoarous/semantic-csv On Saturday, July 7, 2018 at 11:07:50 PM UTC-7, Varun J.P wrote: > >

How to call a function read from an EDN file?

2018-03-12 Thread Christopher Lee
down votefavorite Clojure noob here. After reading in the google-creds.edn file like so: "(edn/read-string (slurp "config/google-creds.edn"))" How do I call the function get-auth-map on this EDN

Re: Simulations in Clojure/Clojurescript

2018-01-27 Thread Christopher Small
I'll second looking at Vega and Vega-lite. Grammar of graphics is wonderful. With regards to simulation on Cljs, keep in mind that JS is limited in numerical precision relative to the JVM, and this can be important in some simulation contexts. Just make sure you are aware of the probabilistic

Re: Simulations in Clojure/Clojurescript

2018-01-12 Thread Christopher Small
Joy of Clojure is a wonderful book. Sounds like you have the right idea. Enoy! On Fri, Jan 12, 2018 at 9:55 AM, Michael Nardell wrote: > Bobby :: Thanks for the recommended reading, I am finding it useful for > pointing me in a new direction in my thinking. Also, finding

Re: Simulations in Clojure/Clojurescript

2018-01-10 Thread Christopher Small
A Wize One once said > Closures are the poor man's objects It's easy to build "object-like" things in clojure. Just create a map pointing to whatever you like, including stateful things, like atoms. Then write functions which take that map and do stuff with it. Clojure's Records and

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Christopher Small
y 2, 2018 at 3:11:45 PM UTC-5, Christopher Small wrote: > > >> http://docs.datomic.com/entities.html >> > > >> http://docs.datomic.com/pull.html >> > > Thanks—this is really good stuff! Not that I expected anything less, but > it's a happy surprise that it a

Re: Port graphs: What would Rich Hickey do?

2018-01-02 Thread Christopher Small
l about them. http://docs.datomic.com/pull.html Collectively, these three interfaces give you quite a lot of expressiveness and flexibility in how you query/traverse your data. On Tue, Jan 2, 2018 at 12:31 PM, Ben Kovitz <bkov...@gmail.com> wrote: > Christopher Small, > > Y

Re: Port graphs: What would Rich Hickey do?

2018-01-01 Thread Christopher Small
Do you need to be able to attach data to specific edges instances? Or would it be sufficient to be able to have different types of edges, and be able to associate data with those abstract edge types? If the latter, you might want to look at Datomic (also authored by Rich Hickey), DataScript

Re: Clojure for big data

2017-10-19 Thread Christopher Penrose
And I will have to look at Onyx much more closely :) On Thursday, October 19, 2017 at 2:01:52 PM UTC-7, Christopher Small wrote: > > Onyx has been very well maintained, has excellent documentation, and > doesn't suffer any of the AOT issues. > -- You received this message

Re: Clojure for big data

2017-10-19 Thread Christopher Small
Thanks for the helpful information Christopher. I'll have to look at Powderkeg. The AOT issue is a big one. Being able to launch things from the REPL is huge. That's actually one of the many advantages of Onyx over Storm (if you're looking at the streaming side of things). Towards the end of my

Re: Clojure for big data

2017-10-18 Thread Christopher Small
Hi Ray > This is partly prompted by the lack of activity on the Github repos. Maybe you have higher standards here than I do... last commits on Flambo and Sparkling were 3 and 2 months ago, respectively. That doesn't raise any alarm bells for me personally. Moreover, looking at the contributor

Re: Clojurecademy: Learning Clojure Made Easy

2017-10-03 Thread Christopher Small
Concerns over licensing and user agreements and logins aside... REALLY COOL WORK! I haven't dug deeply yet, but it seems you've built a framework for building Clojure based courses here, not just a fixed set of curriculum. And to this effort, bravo! I hope to see this become a very useful

Re: [ANN] r4f-pro: IDE for visual ontology-based, rule-based and algorithm-based software development

2017-07-13 Thread Christopher Small
Yup; I'm aware. That's what tipped me off. Didn't see the comment mentioning OWL until I'd already posted, hence the second message. Again, intriguied to look into this further now. On Thu, Jul 13, 2017 at 2:01 PM, ru <soro...@oogis.ru> wrote: > Christopher! > > OWL is e

Re: [ANN] r4f-pro: IDE for visual ontology-based, rule-based and algorithm-based software development

2017-07-13 Thread Christopher Small
Hah; This answers part of my question (had a tab open, and didn't see the "1 new pending message"). I've been vaguely curious about this project, and didn't realize there was a connection ideas from RDF. I'm interested to learn more now. On Thursday, July 13, 2017 at 9:45:15 AM UTC-7, ru

Re: [ANN] r4f-pro: IDE for visual ontology-based, rule-based and algorithm-based software development

2017-07-13 Thread Christopher Small
Are these ontologies as in RDF ontologies? On Monday, July 10, 2017 at 6:41:32 AM UTC-7, ru wrote: > > Hi, > > Update to r4f-pro project: https://github.com/rururu/r4f-pro > > Integrated Development Environment for [rete4frames]( > https://github.com/rururu/rete4frames) rule engine and expert

Re: How to implement a distributed and concurrent system in Clojure?

2017-07-01 Thread Christopher Small
There's an onyx-kafka plugin I believe, so you should be in luck! On Fri, Jun 30, 2017 at 10:25 PM, Derek Troy-West wrote: > I still have Storm topologies in prod, but I'm investigating Kafka Streams > and Onyx right now. > > > On Saturday, July 1, 2017 at 9:38:08 AM

Re: How to implement a distributed and concurrent system in Clojure?

2017-06-30 Thread Christopher Small
updated to 1.6.0 >> >> * Recently the momentum of the project appears to have picked up, but >> certainly for a while there (just after apache incubation) it appeared a >> bit stagnant. I presume they were busy settling the project in. >> >> >> On Monday, July

Re: Beginner: let with Java object

2017-05-26 Thread Christopher Howard
Exception java.awt.image.BufferedImage cannot be cast to > clojure.lang.IFn tutorial.core/-main (core.clj:11)' would lead me to > look for things like '(img)' where the object ends up in call position > of the s-expression. > > On Fri, May 26, 2017 at 11:54 AM Christopher Howard > <

Beginner: let with Java object

2017-05-26 Thread Christopher Howard
When I run tutorial.core> (let [img (new-image 32 32)] (set-pixel img 10 10 cyan) (show img)) from the REPL, this returns a javax.swing.JFrame object, and displays the frame and image as expected. However, if put the same in (defn -main "Generates image." [& args] (let [img (new-image 32

Re: New to Clojure

2017-01-12 Thread Christopher Small
I would _strongly_ recommend you consider HoneySQL over KormaSQL. Korma is based on macros, making it much more difficult to dynamically/programatically construct queries. HoneySQL by contrast is simply a translational layer from Clojure data structures to SQL queries, so the probablem of

Re: Saving / Loading a Datascript DB

2016-09-27 Thread Christopher Small
This should be pretty easy. You can use `datascript.core/datoms` to produce a sequence of datoms which you serialize as EDN, CSV or (gasp) JSON. For reading back in, you can use `datascript.core/conn-from-datoms`. Chris On Monday, September 26, 2016 at 5:15:16 AM UTC-7, Wukong Sun wrote: > >

Re: Encapsulating Sub-Systems with Protocols

2016-09-15 Thread Christopher Small
I've used protocols this way. In fact, this pattern meshes quite well with Stuart Sierra's Component lib/pattern. By building system components around protocols, subsystems/components can be made swappable. This is rather integral to the current design of Datsys actually. Of course, as other's

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-20 Thread Christopher Small
I couldn't help myself... https://xkcd.com/1172/ -- 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.

Re: Preparing proposal for presentation on replikativ

2016-08-02 Thread Christopher Small
Hi Christian Would love to see this talk (embarrassed I still haven't watched the video you posted in Gitter though...). As you'd suspect, I'm definitely like to see a good bit on DataScript/Datomic. Aside from that, I think a good focus on the strengths and weakness

Re: where to find clojure gigs?

2016-07-13 Thread Christopher Small
In my experience, these sites don't frequently have much short-term contract work, but they do every now and again. I've found for shorter term projects, networking is the way to go. Hit up all the events you can and make connections, when people need an extra hand let them know how they can

Re: [ANN] Nightcode 2: Total Rewrite

2016-07-13 Thread Christopher Small
OMG. Thank you for this brilliant introduction. And of course all your hard work, as well :-) On Wednesday, July 13, 2016 at 7:35:53 PM UTC-7, Zach Oakes wrote: > > As I understand it, the Boot.java I linked to basically does that. You > just run its main function and it takes care of

Re: [ANN] walmartlabs/datascope 0.1.0

2016-06-27 Thread Christopher Small
Well done! This looks awesome. Can't wait to try it! Chris On Monday, June 27, 2016 at 10:57:56 AM UTC-7, Howard M. Lewis Ship wrote: > > > A library that can be used to render typical Clojure data structures using > Graphviz. > > https://github.com/walmartlabs/datascope > > -- > Howard M.

Re: IoT: Clojurescript -> Jerryscript?

2016-05-27 Thread Christopher Small
I imagine this should be possible, as long as JerryScript isn't missing any features needed by the js code the cljs compiles to. I'd bet most code would be fine, as long as it doesn't depend on OS features. So I would Just Try It with a simple hello world app and see how complicated you can get

Re: Clojure docstring style

2016-05-15 Thread Christopher Small
Seems like this shouldn't be a problem as long as you only try to render a link if there's actually such a var. This might be a little messier, but would make things (overall) nicer (I think) because you wouldn't have to think about a separate bit of syntax. The rendering would just happen

[ANN] Datsync: Datomic <-> DataScript syncing utilities

2016-05-04 Thread Christopher Small
Greetings I'm happy to announce an early SNAPSHOT release of Datsync, a Clojure(script) library for syncing Datomic and DataScript databases. Github: https://github.com/metasoarous/datsync Coordinates: [datsync "0.1.0-SNAPSHOT"] The library is built around a small handful of functions for

Re: New Matrix Multiplication benchmarks - Neanderthal up to 60 times faster than core.matrix with Vectorz

2016-03-15 Thread Christopher Small
Ditto; same boat as Mars0i. I think the work Dragan has done is wonderful, and that he bears no responsibility to implement the core.matrix api himself. I'm also personally not interested in touching it without core.matrix support, because similarly for me, the performance/flexibility tradeoff

Re: [ANN] Inlein 0.1.0

2016-03-14 Thread Christopher Small
Wonderful! I love this approach and will probably use this for future scripting tasks. I know that planck (http://planck-repl.org/) has successfully achieved cljs scripting capacity on OSX (and I've heard there's progress on Linux support as well, but am fuzzy on the details). Do you think

Re: Is there any desire or need for a Clojure DataFrame? (X-POST from Numerical Clojure mailing list)

2016-03-09 Thread Christopher Small
any packages they build. > > If you'd like to publish whatever you've written (hacked up code is ok), > I'll take a look at that as a starting point, or at least as one possible > design. > > - Arthur > > > > On Wednesday, March 9, 2016 at 6:47:44 PM UTC-5, Christoph

Re: Is there any desire or need for a Clojure DataFrame? (X-POST from Numerical Clojure mailing list)

2016-03-09 Thread Christopher Small
If you're going to do any work in this area, I would highly encourage you to do in as part of the core.matrix library. That is what Incanter is or will be using for it's dataset implementation. But it's nice that those abstractions and implementations be separate from Incanter itself, since

Re: ANN replikativ 0.1.0 - strong eventual consistent P2P replication for clj and cljs

2016-01-22 Thread Christopher Small
Replicative lets you distribute state, so any time you'd like a distributed system to be able to share state, this is something you could consider to do that. In particular, every web application is a distributed system, so it's something you could use any time you wanted eventually consistent

Re: ANN replikativ 0.1.0 - strong eventual consistent P2P replication for clj and cljs

2016-01-22 Thread Christopher Small
Can you listen for changes on a server store? Also, have you developed a mechanism for just sharing parts of a distributed data structure? Chris On Tuesday, January 19, 2016 at 12:28:28 PM UTC-8, Christian Weilbach wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello, > >

Re: clojure, not the go to for data science

2015-12-19 Thread Christopher Small
ngs. The inter-op with java is > often not too bad. I use light table as an IDE. > > Boris > > > On Thursday, April 9, 2015 at 3:17:44 AM UTC+2, Christopher Small wrote: >> >> Made some updates to http://clojure-datascience.herokuapp.com/. In >> particular

Re: Procedurally generated animation in Clojure

2015-11-11 Thread Christopher Small
Oh; and nice work Mike! :-) Chris On Wednesday, November 11, 2015 at 8:48:22 AM UTC-8, Christopher Small wrote: > > If you haven't tried it in a while, you may want to look again. They've > created an alternate API or mode which is more functional/immutable. > Perhaps that _is_

Re: Procedurally generated animation in Clojure

2015-11-11 Thread Christopher Small
If you haven't tried it in a while, you may want to look again. They've created an alternate API or mode which is more functional/immutable. Perhaps that _is_ what you saw though, and you're just referring to the mutable Java underpinnings leaking through... My 2c Chris On Tuesday, November

Re: complex numbers in clojure

2015-11-02 Thread Christopher Small
I'll just add that core matrix complex doesn't prevent you from using rationals, as most of the math happens on real/imaginary matrix pairs. However, any time you try to return a scalar value (not a matrix), it wraps the result using the alanforr library, so you'd be potentially restricted there,

Re: Trying to understand Clojure/Java concurrency performance?

2015-10-08 Thread Christopher Small
I'd just like to point something which may have been glossed over from Timothy's post (and now Andrey's as well). > ... if you're doing actual processing, handling that many connections on a box seems like premature optimization. > Have the ability to handle 2M persistent connections does not

Re: Library suggestions requested for clojure-toolbox.com

2015-10-07 Thread Christopher Small
Would love to see Semantic CSV up there under the CSV parsers. {:name "semantic-csv" :category "CSV parsers" :URL "https://github.com/metasoarous/semantic-csv; :description "Higher level tools for working with CSV data"} Cheers Chris On Monday, October 5, 2015 at 12:41:11 PM UTC-7, James

Tools comparable to Luigi for Clojure or the JVM?

2015-09-16 Thread Christopher Small
Check out prismatic's plumbing. Its a reall y lovely tool that among other things let's you create directed graph structures representing computational pipelines, and then compile them into callable functions. It's has different compilers for profiling, lazy evaluation, parallelized computation

Re: Clojure/Pedestal vs Go

2015-09-15 Thread Christopher Small
I also am no Go expert. All I'll add is that I overheard that the lead author rejected a proposal to add `map` to the language, stating that it is "too niche". Doesn't bode well for FP in Go... -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: How to implement a distributed and concurrent system in Clojure?

2015-07-19 Thread Christopher Small
I'll also add that if you're interested in the Storm model (distributed stream processing), you may want to check out Onyx (https://github.com/onyx-platform/onyx). It's newer, but I have a feeling that moving forward we're going to see it take a dominant position as far as that flavor of

Re: Clojars Private/Commercial Repos

2015-06-30 Thread Christopher Small
This is being done now with npm: https://www.npmjs.com/. Cost is $7/mo, which seems reasonable. On Tuesday, June 30, 2015 at 12:00:55 PM UTC-7, Jason Lewis wrote: I think my company would be willing to pay a reasonable fee for private Clojars repos, on something like the Github model? Not

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Christopher Small
Just a couple of comments: As I was typing, Mars0i's message came in, with much of much what I wanted to say about documentation, but I'll reiterate a couple of key points: You can have an intuitive API that's poorly documented, just as it's possible to have a terrible API with great

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Christopher Small
For benchmarking, there's this: https://github.com/mikera/core.matrix.benchmark. It's pretty simple though. It would be nice to see something more robust and composable, and with nicer output options. I'll put a little bit of time into that now, but again, a bit busy to do as much as I'd like here

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-22 Thread Christopher Small
the opportunity to appeal to core.matrix community to improve that. On Monday, June 22, 2015 at 8:13:29 PM UTC+2, Christopher Small wrote: For benchmarking, there's this: https://github.com/mikera/core.matrix.benchmark. It's pretty simple though. It would be nice to see something more robust

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-19 Thread Christopher Small
I see now Dragan; you're concerned not about whether easily implementing and swapping in/out implementations of core.matrix is possible, but whether it can be done while maintaining the performance characteristics of Neanderthal, yes? That did not come through in your earlier comments in this

Re: [ANN] Neanderthal, a fast, native matrix and linear algebra library for Clojure released + call for help

2015-06-17 Thread Christopher Small
First of all, nice work :-) In the docs you keep referring to core.matrix as though it was a particular implementation, saying things like X times faster than core.matrix. This is misleading; core.matrix is an abstract API, which can have many implementations. Saying something is faster than it

Re: Opinion on core.async vs callbacks in abstract APIs?

2015-06-02 Thread Christopher Small
1, 2015 at 10:18:19 PM UTC+3, Christopher Small wrote: Greetings I imagine most of us here would rather use core.async channels over callbacks in their application code, particularly with more complicated applications. But is it okay/preferable for Clojure libraries to force their users

Re: complex number library

2015-06-02 Thread Christopher Small
://github.com/mikera/core.matrix.complex On Tuesday, 2 June 2015 16:35:25 UTC+1, Christopher Small wrote: The array representation could simply be a deftype which uses two underlying arrays for the real and complex parts of the array respectively. Oh man; that is flipping brilliant. And simple

Re: complex number library

2015-06-02 Thread Christopher Graham
How about changing the name of the complex-number function to, ideally, complex? complex-number seems irritating to (have to) read. Further, calling this function is a form of type coercion. (float ...), (int ...), etc., are idiomatic Clojure, whereas (float-number ...), (int-number ...),

Re: complex number library

2015-06-02 Thread Christopher Small
is that this would mean a slight performance hit because it would prevent the use of primitive arguments. Maybe we should do this but still use primitive type hints for the 2-arg version? On Wednesday, 3 June 2015 01:17:49 UTC+1, Christopher Graham wrote: How about changing the name

Re: Opinion on core.async vs callbacks in abstract APIs?

2015-06-02 Thread Christopher Small
. At that point I'd rather just use core.async, because that's what it starts to look like. On Tue, Jun 2, 2015 at 1:19 AM, Gary Verhaegen gary.verhae...@gmail.com wrote: Have you considered returning a lazy seq of events? On Tuesday, 2 June 2015, Christopher Small metasoar...@gmail.com wrote

Re: Opinion on core.async vs callbacks in abstract APIs?

2015-06-02 Thread Christopher Small
@Erik: I should clarify in this situation, the _user_ of the API would decide whether they want to stop listening to events. So there's not so much that _they_ would have to specify in terms of shutdown routines. I'm more concerned about how API implementations get notified that they don't need to

Re: complex number library

2015-06-02 Thread Christopher Small
The array representation could simply be a deftype which uses two underlying arrays for the real and complex parts of the array respectively. Oh man; that is flipping brilliant. And simple... The implementation should be fairly straightforward, but if anyone wants I can create a repo and bang

Re: Opinion on core.async vs callbacks in abstract APIs?

2015-06-02 Thread Christopher Small
of a given pin, you don't want the old callbacks to keep firing. Chris On Tue, Jun 2, 2015 at 8:21 AM, Erik Price e...@zensight.co wrote: Oh, so the events are for all intents and purposes infinite? On Tue, Jun 2, 2015 at 11:10 AM, Christopher Small metasoar...@gmail.com wrote: @Erik: I should

Re: complex number library

2015-06-01 Thread Christopher Small
Are these operations (*, +, etc) interoperable with core.matrix operations? That may end up being pretty key for a lot of numerical users. Chris On Sunday, May 31, 2015 at 3:55:46 PM UTC-7, Alan Forrester wrote: https://clojars.org/complex https://github.com/alanforr/complex Complex is

Opinion on core.async vs callbacks in abstract APIs?

2015-06-01 Thread Christopher Small
Greetings I imagine most of us here would rather use core.async channels over callbacks in their application code, particularly with more complicated applications. But is it okay/preferable for Clojure libraries to force their users to use core.async channels as part of an API (an event channel,

Re: Using :refer 'sparingly'

2015-05-17 Thread Christopher Small
I agree with the general sentiment expressed here, but would just like to add that `:refer`-ing a few frequently used functions (as Colin Yates stated, particularly when it's assumed there is strong coupling or closeness between the two namespaces involved), is a much more minor nuisance than

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Christopher Small
I've been enjoying this thread, but don't currently have the bandwidth to read everyone's messages and figure out in my head what the distribution of opinions is or who is on what side of this conversation. Fortunately, I built a tool for this! It's called pol.is, and it uses real time data

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Christopher Small
Cheers, and thanks :-) It's free, so feel... free to use it :-) On Mon, May 4, 2015 at 8:28 AM, Marcus Blankenship mar...@creoagency.com wrote: Ok, honestly, this is super cool. Well done! On May 4, 2015, at 8:19 AM, Christopher Small metasoar...@gmail.com wrote: I've been enjoying

Re: Embedded systems and transpiling Clojure to Nim

2015-05-04 Thread Christopher Small
Using clj-bots/chat is fine with me. If there ends up being much noise with respect to this specific native compilation thread vs the project as a whole, we can set up another gitter channel. Cheers On Mon, May 4, 2015 at 5:04 PM, Alan Moore kahunamo...@coopsource.org wrote: All, Looks like

Re: Clojure needs a web framework with more momentum

2015-05-04 Thread Christopher Small
And Flask was inspired by Sinatra, IIRC. Also, the rails folks thought that Sinatra would be a joke and no one would take it seriously. They were surprised. Ditto with Merb, which was a similarly more modular, and became so popular that rails actually merged with it. Clojure's Noir used to be

Re: Clojure needs a web framework with more momentum

2015-05-03 Thread Christopher Small
I really like what you said here Mark: From a technological standpoint, I think we're there. The things we most need are informational resources and higher-level shared resources, such as UI widgets. For example: I fully agree. I don't think we've moved in a wrong direction at all. Just

Re: Clojure needs a web framework with more momentum

2015-05-03 Thread Christopher Small
Perhaps we need to see an example of a minimalistic/modular approach that _has_ won out. Node's express has 5k commits, 177 contribs, 18k stars. Possibly the most popular node framework out there. Tagline? Fast, unopinionated, minimalist web framework for node. On Sunday, May 3, 2015 at

Re: Clojure needs a web framework with more momentum

2015-05-02 Thread Christopher Small
/05/2015 00:53, Christopher Small wrote: I disagree with the premise entirely. I think that the Clojure community has just done a better job of building smaller, more modular tooling. And this is frankly something I prefer, and find refreshing in the Clojure sphere (as compared with my previous

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Hah; I have no experience with it. Is it that bad? At least there's another Lisp in there. Lisps all the way down! On Fri, May 1, 2015 at 1:58 PM, Raoul Duke rao...@gmail.com wrote: Another possibility is https://github.com/takeoutweight/clojure-scheme. It compiles Clojure to Gambit Scheme

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Well... Correct me if I'm wrong, but this entire thread is about compiling Clojure to native targets. Are folks here really talking about embedding a JVM? Has cljs been poor roi? :-) Chris On Friday, May 1, 2015 at 2:25:27 PM UTC-7, raould wrote: I just would guess that anything other than

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Another possibility is https://github.com/takeoutweight/clojure-scheme. It compiles Clojure to Gambit Scheme to C to metal. It's been a couple of years since there was any activity on that project, but it's possible some attention there could get it where you need it. Nim seems interesting

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
Both Nim and Pixie ultimately compile to C, and would have just as many layers of indirection. On Fri, May 1, 2015 at 2:37 PM, Raoul Duke rao...@gmail.com wrote: all i'm trying to say is that the more layers of indirection you add, the more i won't give you any money on kickstarter. -- You

Re: Embedded systems and transpiling Clojure to Nim

2015-05-01 Thread Christopher Small
I hear you Alan. I'm just a hardware hobbyist, but I've been working on a Clojure library for abstracting away some of the differences between different boards (Raspberry Pi, BeagleBone Black, etc): https://github.com/clj-bots/pin-ctrl. Currently, my best bet for Arduino is to use Firmata, but I

Re: complex numbers in clojure

2015-04-29 Thread Christopher Small
Let me first say I would definitely like to see complex arithmetic support in Clojure. Major hole for scientific computing in my opinion. And with the momentum that Clojure has in ML / data science, I think it's one that needs patching. As to you specific point Nik: For me, having complex

Re: complex numbers in clojure

2015-04-29 Thread Christopher Small
Yes, it would be nice to have this available for cljs as well. With the new reader literals though, this doesn't preclude having a native java implementation that gets loaded in the :clj case, and some other implementation that gets loaded in the :cljs case. On Wednesday, April 29, 2015 at

Re: What are favored Redis-backed queues?

2015-04-24 Thread Christopher Small
Also, I should mention that Ruby doesn't have very good built in parallelism support (no true threads when I was using, though this might have changed). As such, I've seen a fair bit of usage of Resque running on a single machine. This would be an insane overcomplication in Clojure given all

Re: What are favored Redis-backed queues?

2015-04-24 Thread Christopher Small
I think you mean to be asking specifically about *job* queuing using Redis. You don't need anything other than Redis + Carmine to create queues. But obviously, the value of Resque (note spelling) is that it *uses* Redis in a number of non-trivial ways, such that all of the features above are

Re: clojure, not the go to for data science

2015-04-08 Thread Christopher Small
Made some updates to http://clojure-datascience.herokuapp.com/. In particular, went with the tagline Resources for the budding Clojure Data Scientist. Couldn't come up with anything else sufficiently punny and appropriate. Again; please contribute! I'll be starting a list in the about page

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
inchoate and only to create some libsvm and naive bayes classifier. Marcus Am 06.04.2015 um 21:15 schrieb Christopher Small: OK; Here's my humble stab at something along these lines: http://clojure-datascience.herokuapp.com/ (source code here: https://github.com/metasoarous/clojure-datascience

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
OK; Here's my humble stab at something along these lines: http://clojure-datascience.herokuapp.com/ (source code here: https://github.com/metasoarous/clojure-datascience). The data is currently just an edn file, so contributions should come in the form of pull requests. However, we could look

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
, Christopher Small wrote: OK; Here's my humble stab at something along these lines: http://clojure-datascience.herokuapp.com/ http://www.google.com/url?q=http%3A%2F%2Fclojure-datascience.herokuapp.com%2Fsa=Dsntz=1usg=AFQjCNEr1tBFRIBOE0yFGrzQK5ZkuVjT-w (source code here: https://github.com/metasoarous

Re: clojure, not the go to for data science

2015-04-05 Thread Christopher Small
Yesyesyesyes! Great idea! I'm on it. On Sun, Apr 5, 2015 at 4:15 PM, A aael...@gmail.com wrote: Please feel free to create something like http://www.clojure-toolbox.com/ for data science in Clojure, that would be great. On Sunday, April 5, 2015 at 3:33:11 PM UTC-7, Sayth Renshaw wrote:

Re: clojure, not the go to for data science

2015-04-02 Thread Christopher Small
Sure. I wasn't under the impression you were knocking it. On the contrary, I appreciate the reflection. As someone who uses (and loves) Clojure for data science, I'm keen to consider what can be done to broaden its adoption in this area. Chris Sent via phone -- You received this message

Re: clojure, not the go to for data science

2015-04-02 Thread Christopher Small
Editors as they apply to data science adoption is certainly relevant, particularly as relates to ease of adoption for beginners. It's easy for an experienced developer to dismiss the difference of ease in adopting something like RStudio vs R by itself; Those with experience already have

Re: clojure, not the go to for data science

2015-04-02 Thread Christopher Small
Dear lord... May I please echo the imploration that folks take the editor flame war else where. And while I'm at it, Vim FTW... On the note of DATA SCIENCE... I agree that Clojure has some catching up to do, both in tooling and awareness/perception. But it also has some major strengths in this

  1   2   3   >