Re: Clojure for Desktop UI Design Application

2015-01-13 Thread Christopher Small
Something else to consider... If you really want to avoid doing a web app with all the complexity of server code, client code, html, css, database, etc, then you might want to look into [quil](https://github.com/quil/quil). It's a clojure wrapper of the processing library for doing data visuali

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

2015-01-13 Thread Christopher Small
Awesome project! I'll echo the encouragement towards having Neanderthal implement the core.matrix protocols. You'll have much higher adoption if folks know they can just plug your tool in by changing a single line setting the underlying implementation to Neanderthal. And as Mikera points out, i

Re: Dynamically creating defrecord

2015-01-17 Thread Christopher Small
The reason you can't just call `(mk-rec "A" "ns" [a b c])` is that your `mk-rec` is a function, and `a`, `b`, and `c` are undefined. To have them interpretted as symbols, you'd either have to explicitly use `['a 'b 'c]`, or write `mk-rec` as a macro (as Lee points towards). I was able to get a

Re: [ANN] Onyx 0.5.0: The Cluster as a Value

2015-01-20 Thread Christopher Small
Congrats! Excited to play around with it :-) On Tuesday, January 20, 2015 at 7:21:21 AM UTC-8, Michael Drogalis wrote: > > For those unfamiliar, Onyx is a batch/stream processing hybrid distributed > platform for Clojure. It uses aggressive data-driven techniques to bridge > languages. > > Onyx

[ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-01-27 Thread Christopher Small
Hi everyone I'm pleased to announce the release of [semantic-csv](https://github.com/metasoarous/semantic-csv), a humble library for working with CSV data. Existing Clojure libraries for working with CSV data ([clojure.data.csv](https://github.com/clojure/data.csv) and [clojure-csv](https://g

[ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-01-27 Thread Christopher Small
Hi everyone I’m pleased to announce the release of semantic-csv , a humble library for working with CSV data. Existing Clojure libraries for working with CSV data (clojure.data.csv and clojure-csv

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-01-27 Thread Christopher Small
with instaparse, joy of badly separated data). So, cast-with is very > appreciated ! > > Seem to cover everything - even lazy loading so... what's not to like ? > > On Tuesday, January 27, 2015 at 10:24:21 AM UTC+1, Christopher Small wrote: >> >> Hi everyone >&g

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-07 Thread Christopher Small
I need! > > > Jony > > On Tuesday, 27 January 2015 09:24:21 UTC, Christopher Small wrote: >> >> Hi everyone >> >> I’m pleased to announce the release of semantic-csv >> <https://github.com/metasoarous/semantic-csv>, a humble library for >>

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-07 Thread Christopher Small
gt; subsets of functionality. I was hoping to have released this with > 0.3.0 but an as yet undiagnosed bug in lein-repack has prevented me > from doing this. > > However when this is done, you'll be able to request just the > grafter-tabular.csv package for example. > > I&

Re: New Member Initiation

2015-02-09 Thread Christopher Small
Hi Shubham Welcome to the Clojure community :-) Have you already been programming for a while? Are you new to functional programming, or programming in LISPs? Or just new to Clojure, and interested in learning more and helping develop things within the community. There are a lot of resources a

Re: [ANN] cqrs-server - An opinionated CQRS/ES implementation using Onyx, Datomic, DynamoDB, Kafka and Zookeeper.

2015-02-13 Thread Christopher Small
I'll chime in with a couple of comments about Storm vs Onyx. I've used Storm in a production application, so I'm fairly familiar with it. I haven't spent too much time playing with Onyx yet, but will be soon. >From what I do know about it and Storm though, I can say the following: Both Storm an

Re: [ANN] cqrs-server - An opinionated CQRS/ES implementation using Onyx, Datomic, DynamoDB, Kafka and Zookeeper.

2015-02-14 Thread Christopher Small
-0.5.0:-The-Cluster-as-a-Value.html > . > > Lucas > > On 14 Feb 2015, at 07:57, Christopher Small wrote: > > I'll chime in with a couple of comments about Storm vs Onyx. > > I've used Storm in a production application, so I'm fairly familiar with > it. I haven&

[ANN] semantic-csv 0.1.0-alpha2 released

2015-02-24 Thread Christopher Small
sting helpers (thanks in part to @JonyEpsilon) For updated documentation and examples, see http://metasoarous.github.io/semantic-csv/ With gratitude, Christopher Small -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: New scientific article out on plague and climate, using clojure, quil and incanter for data analysis, and lighttable as IDE.

2015-02-24 Thread Christopher Small
This is awesome. I had just opened the BBC news summary article, and then scrolled down my Clojure Group digest to see your post. Nice work. Always good to see other scientists using Clojure in their work. On Tuesday, February 24, 2015 at 2:59:41 AM UTC-8, Boris V. Schmid wrote: > > Hi all, > >

Re: XPATH/XSLT like access to Clojure data structures?

2015-02-27 Thread Christopher Small
Interesting idea... Haven't seen anything myself. I think that would be useful though! Someone should build it if it doesn't exist yet. On Friday, February 27, 2015 at 4:53:51 AM UTC-8, Henrik Heine wrote: > > Hi folks, > > do you know of a lib that let's you navigate around nested Clojure > str

Re: Core Matrix Dot Product

2015-03-14 Thread Christopher Small
Which core.matrix implementation are you using? core.matrix is really just an API, and has a number of implementations. The default is not particularly fast, and uses vanilla nested Clojure vectors. However, you can also set up the Vectorz implementation which is typically fast enough for my ne

Re: Streaming a large file onto a channel

2015-03-18 Thread Christopher Small
It seems like you're generally on the right track here (though Erick Pintor's code has some nice cleanup, like removal of necessary do, etc). The one thing I'd recommend is testing what happens with a larger channel buffer; if the file io isn't the bottleneck, but rather the processing, this co

Re: csv output

2015-03-23 Thread Christopher Small
I'll make a couple of recommendations here: 1. Try out @davidsantiago's clojure-csv: https://github.com/davidsantiago/clojure-csv. I think it has more formatting/parsing flexibility, and you may find that it "just works (TM)". 2. For getting from maps to a sequence of vectors suita

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

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 workfl

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 because

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 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: >> >> Would be good

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
this for a classification problem, but it was rather 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-

Re: clojure, not the go to for data science

2015-04-06 Thread Christopher Small
t; > best, > -A > > > > > > On Monday, April 6, 2015 at 12:15:02 PM UTC-7, Christopher Small wrote: >> >> >> OK; Here's my humble stab at something along these lines: >> http://clojure-datascience.herokuapp.com/ >> <http://www.google.com/

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 m

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 av

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 it

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 nu

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 2:06

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 th

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 wrote: > > Another possibility is https://github.com/takeoutweight/clojure-scheme. > It > > compiles Clojure to Gambit Scheme to C to met

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 tha

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 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 received thi

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 w

Re: Clojure needs a web framework with more momentum

2015-05-02 Thread Christopher Small
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 Rails webdev experience). Note that to p

Re: Clojure needs a web framework with more momentum

2015-05-02 Thread Christopher Small
5/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 sph

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 a

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 visual

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 wrote: > Ok, honestly, this is super cool. Well done! > > On May 4, 2015, at 8:19 AM, Christopher Small > wrote: > > I've been enjoying this thread,

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 wrote: > All, > > Looks like I have some more researc

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 simi

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: 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 > > Compl

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, f

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

2015-06-02 Thread Christopher Small
gt;> As for the core.async, I think it is too personal and has too much raw >>> power, to be all that restricted in some logical bottleneck upon results >>> return from the third-party lib. >>> Not counting the fact it is a (a) dependency that (b) changes fast. >&g

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

2015-06-02 Thread Christopher Small
larly idiomatic. 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 wrote: > Have you considered returning a lazy seq of events? > > > On Tuesday, 2 June 2015, Christopher Small 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
off or change the edge direction 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 wrote: > Oh, so the events are for all intents and purposes infinite? > > On Tue, Jun 2, 2015 at 11:10 AM, Christopher Small > w

Re: complex number library

2015-06-02 Thread Christopher Small
https://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 respective

Re: complex number library

2015-06-02 Thread Christopher Small
That sounds pretty solid imo. On Tue, Jun 2, 2015 at 5:53 PM, Mike Anderson wrote: > I agree that complex would be a better name. > > It would be also be nice if it the 1-arg version could be idempotent (i.e. > returns an existing complex number unchanged). The downside is that this > would mean

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: [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 threa

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 documentatio

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
ore (and relevant) data than it is > available for core.matrix, but I would use 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: >>

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? No

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 distr

Re: Resources for intermediate/not-absolute-beginner Clojurians

2014-08-30 Thread Christopher Small
+1 for JOC. It's a fantastic book. Chris On Friday, August 29, 2014 6:28:25 PM UTC-7, Paul L. Snyder wrote: > > On Fri, 29 Aug 2014, Sam Raker wrote: > > > I'm just not sure what to do at this point in my Clojure learning > > experience. I've probably written a few thousand lines of Clojure at

Re: Designing API for a Markov Model

2014-09-14 Thread Christopher Small
A few questions out of curiosity, if you don't mind: * Have you looked at existing MM libraries for Clojure? * Is there something you need that other's don't currently offer/emphasize; or is this more of a learning project? * Are you planning on or interested in open sourcing your work? Best Ch

Re: [ANN] Onyx: Distributed data processing in Clojure

2014-09-20 Thread Christopher Small
Hi Daniel This looks like a great project! Is it possible with onyx to define a workflow with transformers that take values from multiple sources (inputs or other transformers)? Chris -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: [ANN] Onyx: Distributed data processing in Clojure

2014-09-21 Thread Christopher Small
Beautiful :-) Thanks. Chris On Sun, Sep 21, 2014 at 9:36 AM, Mike Drogalis wrote: > Thanks Christopher! > > At the moment, elements of a workflow need to strictly be keywords. I'm > planning to allow for sets of keywords in the roots of the tree to enable > that expression. For now, you can do

Re: [ANN] Onyx: Distributed data processing in Clojure

2014-09-29 Thread Christopher Small
Regarding the broader sense, I've heard good things about flambo ( https://github.com/yieldbot/flambo), but haven't tried it. Of course, it's always nice to have something that's written in the language your working with; as nice as JVM interop is, it can have it's warts. So, the question stands.

Re: If code is data why do we use text editors?

2014-11-14 Thread Christopher Small
Are you familiar with LabView? It allows you to create a program graphically. Aside from simple programming in Mathematica during college (simple in the sense that while the math was advanced, the programming was not), that was how I learned to program. It was actually pretty awesome to be able

Re: :keys and :or destructuring where defaults refer to one another

2014-12-11 Thread Christopher Small
I wouldn't have expected either form to work actually; It's interesting that the first does. I would love someone else enlighten us on this, but my guess is that it's something not specified and that you shouldn't rely on. If you want to have optional argument defaults depend on each other, I r

Re: gemacl: Scientific computing application written in Clojure

2014-12-22 Thread Christopher Small
I'll second the use of core.matrix. It's a wonderful, idiomatic, fast library, and I hope to see folks continue to rally around it. On Monday, December 22, 2014 3:47:59 AM UTC-7, Mikera wrote: > > For most array operations (e.g. dot products on vectors), I strongly > recommend trying out the re

Re: [ANN] gg4clj 0.1.0 - ggplot2 in Clojure and Gorilla REPL

2014-12-27 Thread Christopher Small
Hahaha; Well, you beat me to it... But awesome! I'd still love to work on a native clojure implementation, but also acknowledge that it might be a while before I'm able to given a shift in focus of late. In the mean time, this will be super useful when base gorilla-repl plotting functionality i

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

2015-01-04 Thread Christopher Small
Where is the repository? On Sunday, January 4, 2015 4:07:22 PM UTC-7, Christian Weilbach wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, > > - From the README: > > This library is supposed to implement Boltzmann Machines, Autoencoders > and related deep learning techno

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 u

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: [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 o

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 o

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: [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. L

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 downloadi

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 ge

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 (/challenges/work-to-be-do

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: 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: 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: > > H

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 query

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

2017-06-30 Thread Christopher Small
t; release has been 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. >> >> >

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 UTC+10, Bobby Calderwood wro

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 syst

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 wrote:

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

2017-07-13 Thread Christopher Small
RDF. > > --Ru > > четверг, 13 июля 2017 г., 21:21:59 UTC+3 пользователь Christopher Small > написал: > >> Are these ontologies as in RDF ontologies? >> >> On Monday, July 10, 2017 at 6:41:32 AM UTC-7, ru wrote: >>> >>> Hi, >>> >

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 tool

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: 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 us

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 (a

Re: Port graphs: What would Rich Hickey do?

2018-01-02 Thread Christopher Small
statement of facts to pull 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 wrote: > Christopher Small, > > Your s

Re: Port graphs: What would Rich Hickey do?

2018-01-04 Thread Christopher Small
nd "chain[ing] anything to anything", you're right; this is a major benefit over traditional SQL. Attribute are fundamentally polymorphic, which can be super helpful with tricky modelling problems. Chris On Thu, Jan 4, 2018 at 10:48 AM, Ben Kovitz wrote: > On Tuesday, January

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 Protocols

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 Chapter 9 in *The > J

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 impl

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: > > Hi

[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: [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 y

  1   2   >