Re: s/def: Rationale, tradeoffs? When to emulate this pattern?

2016-11-29 Thread kovas boguta
Thanks for the responses. One reason might be that with var-bound specs, one could not precisely report the the path to the failing spec. If spec composition is achieved through var resolution, than that name is gone by the time the spec datastructure is composed. On Tue, Nov 29, 2016 at 3:05

s/def: Rationale, tradeoffs? When to emulate this pattern?

2016-11-29 Thread kovas boguta
Spec is surprisingly easy to grok given how much it does. s/def jumped out at me as an out-of-the-box choice, that I could not immediately rationalize. So I'm wondering: why not just use standard def? What does one gain/lose? This is not just an academic question. Lots of people like me look at

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-10-12 Thread kovas boguta
This is amazing!! Thanks so much for releasing it. Very excited to dig in. On Wed, Oct 12, 2016 at 7:44 PM, wrote: > Hi, > We've made cortex public: > > https://github.com/thinktopic/cortex > > Fork away, and we hope that this contributes to a growing ML

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-10-06 Thread kovas boguta
On Thu, Oct 6, 2016 at 9:26 PM, Mikera wrote: > > I'm hoping to work with Dragan to get core.matrix integration working with > Neanderthal, now that Windows support is finally arriving. This would get > you a few big advantages: > Yes, I can see how my problem

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-10-06 Thread kovas boguta
On Thu, Oct 6, 2016 at 9:20 PM, Mikera wrote: > Hi Dragan, > > We have things working quite well (including stuff like cuDNN integration > for convolution networks on the GPU). We also have all of the standard > stuff (many different layer types, dropout, noise

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-10-06 Thread kovas boguta
On Thu, Oct 6, 2016 at 4:46 PM, Dragan Djuric wrote: > s more harm than good. I prefer to give users one Ford model T, than let > them choose between 20 different horse carriages. And, if they can even > choose the color, provided that their choice is black :) > Thanks the

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-10-06 Thread kovas boguta
+1 to Dragan's inquiry. FWIW, was reviewing the state of affairs the other day: - MXNet currently has the best JVM interop story, among DL frameworks that have competitive perf. - DL4J has improved a lot recently but still looks like it has a ways to go in terms of perf. Right now I'm more

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

2016-08-23 Thread kovas boguta
As some other people have stated: Its way, way premature to start worrying about the exact format of error messages. Given the facilities spec provides, its clear as day that vastly better messages can be built on top. Or even forget messages: syntax highlighting or source-code presentation can

Re: Thoughts on clojure.spec

2016-07-10 Thread kovas boguta
On Sun, Jul 10, 2016 at 6:04 AM, Mark Engelberg wrote: > > This isn't due to anything inherent in clojure.spec, it's just that for > non-trivial functions, coming up with relevant random input is a very hard > problem. > This is a very interesting observation. I've

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-05-31 Thread kovas boguta
On Tue, May 31, 2016 at 9:36 AM, atucker wrote: > Given that the TensorFlow website invites people to build interfaces from > other languages using SWIG, I guess they feel that access to the C++ > component is the major thing. So while I agree with Christian about >

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-05-31 Thread kovas boguta
On Tue, May 31, 2016 at 7:51 AM, Christian Weilbach < whitesp...@polyc0l0r.net> wrote: > > Almost all of the development in deep learning is done in Python, so > having to reproduce this work on a different runtime (and language) > seems non-Clojure-like for me (compared to being hosted on the

Re: Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-05-31 Thread kovas boguta
On Tue, May 31, 2016 at 1:17 AM, Mikera wrote: > I've been working with a number of collaborators on a deep learning > library for Clojure. > > Some key features: > - An abstract API for key machine learning functionality > - Ability to declare graphs / stacks of

Clojure with Tensorflow, Torch etc (call for participation, brainstorming etc)

2016-05-30 Thread kovas boguta
Anyone seriously working on deep learning with Clojure? I'm working with Torch at the day job, and have done work integrating Tensorflow into Clojure, so I'm fairly familiar with the challenges of what needs to be done. A bit too much to bite off on my own in my spare time. So is anyone out

Re: [ANN] Clojure 1.9.0-alpha1

2016-05-25 Thread kovas boguta
On Wed, May 25, 2016 at 3:01 PM, Mike Rodriguez wrote: > > I always really liked that Prismatic Schema had a "data representation" > and that seems to be the Clojure-way anyways. I haven't dug into this too > much yet, but I'm hoping that the Spec's do have some way to >

Re: clojure.spec

2016-05-25 Thread kovas boguta
On Wed, May 25, 2016 at 8:29 AM, Rich Hickey wrote: > > Would you ever expect to use fdef/instrument active in production for > validation > > No, definitely not. It’s that kind of runtime checking (and expense) that > gives some dynamic lang checking systems a bad rep. > >

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

2016-03-14 Thread kovas boguta
On Mon, Mar 14, 2016 at 1:07 PM, Dragan Djuric wrote: > > I too shunned JNI as a dirty, clunky, ugly slime, and believed that pure > Java is fast enough, until I came across problems that are slow even in > native land, and take eternity in Java. And I started measuring more >

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

2016-03-14 Thread kovas boguta
On Mon, Mar 14, 2016 at 11:19 AM, Dragan Djuric wrote: > core.matrix already exists, is widely used and already unifies several >> different implementations that cover a wide variety of use cases. It >> provides an extensible toolkit that can be used either directly or by >>

Re: Common runtime errors in clojure

2016-02-06 Thread kovas boguta
Compiling a list of these common errors is a great idea (particularly if then turned into some kind of How-To guide for interpreting errors) I think anyone who learns Clojure learns to subconsciously internalize these errors and what they mean. However, for somewhat just starting out this is

Re: How is the emphasis of “data over code” different than the XML advocacy of the early 2000s?

2016-02-02 Thread kovas boguta
XML is data, but its data that thwarts easy manipulation from a programming language. It doesn't cleanly map onto computational concepts. Quick: how many ways can you represent key-value pairs in XML? Of course, its also a disaster from an efficiency point of view, since there is basically only

Re: How is the emphasis of “data over code” different than the XML advocacy of the early 2000s?

2016-02-02 Thread kovas boguta
On Tue, Feb 2, 2016 at 3:45 PM, Herwig Hochleitner wrote: > > basically attributes, and child elements > In general yes, but there are endless specific ways to do this. Do you represent a kv-pair as a single element? Do you have and as elements? Or do you use the name

Re: How is the emphasis of “data over code” different than the XML advocacy of the early 2000s?

2016-02-02 Thread kovas boguta
On Tue, Feb 2, 2016 at 6:15 PM, Herwig Hochleitner wrote: > > When dealing with ground tags generically (like data.xml does), i.e. the > mapped-to structures add no information over the ground tags, I'd say it > would be still pretty easy to create a reader, which uses

Re: Heard about clojure today. is it one of the big tecnologies for the future? or is it becoming deprecated?

2016-01-20 Thread kovas boguta
Most of Clojure development activity happens in JIRA http://dev.clojure.org/jira/browse/CLJ If you want a sense of overall community activity, check https://github.com/search?l=Clojure=desc=clojure=updated=Repositories=%E2%9C%93 On Wed, Jan 20, 2016 at 11:35 AM, Andy Fingerhut

Re: Emulating the Syntax quote

2016-01-20 Thread kovas boguta
Are you looking for https://clojuredocs.org/clojure.core/resolve ? On Wed, Jan 20, 2016 at 3:11 AM, JvJ wrote: > With the syntax quote, all symbols become namespace-qualified. (I.e `a => > user/a, `def=> clojure.core/def) > > Is there a way to determine how a given

Re: [ANN] Clojure 1.8.0 is now available

2016-01-20 Thread kovas boguta
Another solid release. Thank you!! On Wed, Jan 20, 2016 at 11:22 AM, Thomas wrote: > An extra big thank you for all involved!!! > > Thomas > > > On Wednesday, 20 January 2016 13:22:28 UTC, Alex Miller wrote: >> >> The docs just haven't been regenerated yet - that's

Re: What's the best option similar to Vert.x, Reactor, Nodejs for use with Clojure?

2016-01-03 Thread kovas boguta
I would also look at https://github.com/ztellman/aleph and https://github.com/ztellman/manifold, but like Timothy says its hard to judge without more details. On Sun, Jan 3, 2016 at 4:24 PM, Timothy Baldridge wrote: > I've done some evaluations of Vert.x in the past and

Re: Practical ways to deal with 'bag-of-properties' syndrome, AKA dynamic typing?

2015-12-02 Thread kovas boguta
I think we should focus on 1) narrowly defining problematic situations and 2) coming up with simple solutions with minimal scope and impact on Clojure. With regards to "bag of properties", this is a problem in very specific situations, which would be helpful to enumerate. It is decidedly not a

Re: Clojure/Pedestal vs Go

2015-09-15 Thread kovas boguta
At least in one area -- data infrastructure -- the JVM has no competitors for off-the-shelf solutions. Hadoop, Spark, Storm, Kafka, Cassandra, HBase, etc etc are all JVM-based. In the alpha-nerd set, one can easily argue that the relevance of Go is fading and its being replaced by Rust. I'm not

Re: #{:rant} Questions about contribution policy and clojure compiler source.

2015-07-20 Thread kovas boguta
On Sun, Jul 19, 2015 at 10:19 AM, Luc Préfontaine lprefonta...@softaddicts.ca wrote: Prioritizing the 'good' form over the substance is the first step toward political correctness and lobotomy. Civility is more about form than If you can't respect people's wishes about how they want to be

Component: lists of components, possibly changing

2015-06-17 Thread kovas boguta
Whats the pattern for creating lists of components? I have N of components of the same type, which get some dependencies from the system map along with instance-specific config data. I want them in a single vector (or hashmap) keyed from the system map. Do I need to create an intermediary

Re: [ANN, GSoC] A Common Clojure Source Metadata Model

2015-05-05 Thread kovas boguta
I'm mostly interested in something like http://docs.racket-lang.org/scribble/ On Mon, May 4, 2015 at 7:27 PM, richard.mo...@posteo.de wrote: Am Dienstag, 5. Mai 2015 01:56:13 UTC+9 schrieb Sean Grove: I've been hoping someone would rebuild Codeq https://github.com/Datomic/codeq, now that

ANN: Gamma, GLSL shaders made simple

2015-05-01 Thread kovas boguta
Gamma is a substrate for graphics software, such as games and data visualization tools. It presents a simple, composable language for representing GLSL shaders. It allows using Clojurescript to abstract shaders. https://github.com/kovasb/gamma Technically, Gamma is an EDSL that hosts GLSL within

Re: [ANN] Ubergraph 0.1.0

2015-04-30 Thread kovas boguta
Very cool! On a related note: I would be interested in a similar library focused on DAG's. Any thoughts there? On Wed, Apr 29, 2015 at 10:00 PM, Mark Engelberg mark.engelb...@gmail.com wrote: https://github.com/Engelberg/ubergraph Ubergraph is a versatile, general-purpose graph data

Re: [ANN] Ubergraph 0.1.0

2015-04-30 Thread kovas boguta
library? On Thu, Apr 30, 2015 at 6:21 AM, kovas boguta kovas.bog...@gmail.com wrote: Very cool! On a related note: I would be interested in a similar library focused on DAG's. Any thoughts there? On Wed, Apr 29, 2015 at 10:00 PM, Mark Engelberg mark.engelb...@gmail.com wrote: https

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2015-04-11 Thread kovas boguta
On Sat, Apr 11, 2015 at 10:46 AM, Malcolm Sparks malc...@juxt.pro So, in summary, I think it would be useful to have a single 'default' routing library in Clojure that supported isomorphism and was built on protocols, as a minimum. Now that Clojure is attracting so many new users, it would be

Re: Anyone Worked with NW.js and ClojureScript

2015-04-08 Thread kovas boguta
FWIW its also possible to embed JVM Clojure within atom shell or nw via https://github.com/joeferner/node-java, and then script the web component entirely from Clojure, though its not trivial to set up. On Tue, Apr 7, 2015 at 6:41 AM, JPatrick Davenport virmu...@gmail.com wrote: Hello, I

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-03-12 Thread kovas boguta
Hi Karsten, Technical usage question. I want to associate a color to each face of a cuboid, tesselate the cuboid, and end up with an array of vertices and an array of matching colors. My problem is associating the colors of the cuboid faces to their tessellated versions. AFAICT tessellation

Re: [ClojureScript] [ANN] thi.ng collection update (CLJ/CLJS)

2015-03-12 Thread kovas boguta
On Thu, Mar 12, 2015 at 8:18 PM, kovas boguta kovas.bog...@gmail.com wrote: I want to associate a color to each face of a cuboid, tesselate the cuboid, and end up with an array of vertices and an array of matching colors. To clarify, I want to turn the cuboid into a mesh, and then do

Re: multimethod, record, type, and protocol pitfalls?

2014-11-02 Thread kovas boguta
Heres one thing: https://groups.google.com/forum/#!topic/clojure/ILPz4QOEod8 Requiring the namespace where you declared the type is not enough, you need to import the type separately if you want to avoid using the fully-qualified name. There is also a difference in this behavior between clojure

Re: multimethod, record, type, and protocol pitfalls?

2014-11-02 Thread kovas boguta
-for-choosing-the-right-clojure-type-definition-form/ On Sun, Nov 2, 2014 at 10:08 PM, kovas boguta kovas.bog...@gmail.com wrote: Heres one thing: https://groups.google.com/forum/#!topic/clojure/ILPz4QOEod8 Requiring the namespace where you declared the type is not enough, you need to import

Re: [ANN] Arcadia, the integration of Clojure and Unity3D

2014-10-17 Thread kovas boguta
Kovas Boguta and David Nolen, and honorary studiomates Brandon Bloom and David Lansdowne, for their invaluable advice and support. We're especially fortunate to have attracted the attention of Joseph Parker, who has been building amazing things with Arcadia since it was a sloppy hack hidden

Re: [ANN] rete4frames, v. 5.2.0 - CLIPS-like expert system shell

2014-10-13 Thread kovas boguta
This looks like a cool project. One comment: I don't know what CLIPS or frames are (I've heard of rete once or twice), so its hard for me to understand what rete4frames is or what problem it might solve for me. Might be help to have some very basic explanation of the use cases / advantages of

examples of using completing to clean up resources?

2014-09-24 Thread kovas boguta
Anyone make use of the completing aspect of transducers to clean up eg io resources yet? -- 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 -

Re: ECHELON: Wrangling messy political data

2014-09-16 Thread kovas boguta
Thats very cool!! On Tue, Sep 16, 2014 at 1:48 PM, Zack Maril thewitzb...@gmail.com wrote: This might be of interest to the Clojure/Datomic community: http://sunlightfoundation.com/blog/2014/09/16/wrangling-messy-political-data-into-usable-information/ https://github.com/sunlightlabs/echelon

Re: ClassCastExecption with conj on deftype

2014-09-03 Thread kovas boguta
Not a direct answer but you might want to look at https://github.com/ztellman/clj-tuple/blob/master/src/clj_tuple.clj On Wed, Sep 3, 2014 at 1:13 PM, Karsten Schmidt i...@toxi.co.uk wrote: Hi all, I've defined a custom vector type and implemented various clj/cljs protocols, but now ended

Re: ClassCastExecption with conj on deftype

2014-09-03 Thread kovas boguta
in ISeq and so wins... Makes me wonder why conj has not been kept internally separate from cons. Wouldn't this have avoided this potential for such a conflict? On 3 September 2014 18:33, kovas boguta kovas.bog...@gmail.com wrote: Not a direct answer but you might want to look at https

Re: Mathematica like eval

2014-06-16 Thread kovas boguta
So I've thought about this quite a bit (as have some other people, like Brandon Bloom), and started working on a library a while back exploring some ideas https://github.com/kovasb/term The main idea of term is to take any expression and turn unbound symbols into datatypes that satisfy

Re: [ANN] Hermod a core.async message passing library

2014-05-13 Thread kovas boguta
This is extremely cool! Some questions: 1. What, besides full buffers, would cause the message to be dropped? 2. What is the practical limit on the size of messages? I'm trying to understand if manual ack'ing is necessary for say a map-reduce type distributed application. If manual ack'ing is

Re: Porting parsley paredit.clj to Clojurescript: Crazy, or inevitable?

2014-04-03 Thread kovas boguta
get by a little longer. Hope that the sjacket strategy works out! On Thu, Apr 3, 2014 at 3:53 AM, Laurent PETIT laurent.pe...@gmail.com wrote: Hello, 2014-04-02 11:33 GMT+02:00 Christophe Grand christo...@cgrand.net: Hi Kovas, On Wed, Apr 2, 2014 at 3:26 AM, kovas boguta kovas.bog

Re: REPL: viewing data structures containing infinite lists

2014-04-01 Thread kovas boguta
Chalk this up as another cautionary tale about global singletons. There can be only one print-method, yet we have two conflicting use cases: repl interaction, and data transport. What we need is a parameterizable write-edn function, mirroring the already extant read-edn. The function should

Porting parsley paredit.clj to Clojurescript: Crazy, or inevitable?

2014-04-01 Thread kovas boguta
I really want legitimate paredit in the browser. Looking through the source for parsley paredit.clj, I'm halfway convinced that maybe its not so hard to port these to clojurescript. Anyone have input in either direction? Most of the Java interop seems to be 1. ArrayList (in parsley) 2. Various

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-26 Thread kovas boguta
as an option for Session? marc On Tue, Mar 25, 2014 at 6:07 PM, kovas boguta kovas.bog...@gmail.com wrote: On Tue, Mar 25, 2014 at 3:05 PM, Jony Hudson jonyepsi...@gmail.com wrote: the way you aggregate things in the rendered output is just the way you'd aggregate the values. I think

mailing list for Session: session-platform

2014-03-26 Thread kovas boguta
I've created a google groups-based ML for Session, for those interested: https://groups.google.com/forum/#!forum/session-platform -- 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

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-25 Thread kovas boguta
On Mon, Mar 24, 2014 at 9:53 PM, John Jacobsen eigenhom...@gmail.com wrote: Having only watched the video and skimmed the blog post so far, my first thought is that it would be nice to see support for rendering Markdown and math formulae (TeX), like iPN has. Any thoughts about how this might

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-25 Thread kovas boguta
On Tue, Mar 25, 2014 at 6:09 AM, Sven Richter sver...@googlemail.com wrote: Hi, This looks pretty awesome. Do you plan to integrate some authentication mechanism. I just imagined running session on my server and being able to access it from everywhere around the world, always having a repl

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-25 Thread kovas boguta
On Tue, Mar 25, 2014 at 3:05 PM, Jony Hudson jonyepsi...@gmail.com wrote: the way you aggregate things in the rendered output is just the way you'd aggregate the values. I think these are the core ideas which make both of the renderers powerful. I'm highly in agreement with this POV. The way

[ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread kovas boguta
Session is a live coding environment, built on Datomic and Om. repo: https://github.com/kovasb/session video: https://vimeo.com/89899023 blog post: https://medium.com/p/1a12997a5f70 I've been working on Session for some time, but have held off on a formal announcement for the simple reason that

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread kovas boguta
On Mon, Mar 24, 2014 at 5:02 PM, Paul Mooser taron...@gmail.com wrote: I'm curious as to whether your approach to rendering is similar to that used in gorilla repl (http://gorilla-repl.org) ? Is it similarly extensible ? Session uses Om, https://github.com/swannodette/om You should definitely

Re: [ANN] Session 0.1.3 - A live-coding environment for Clojure

2014-03-24 Thread kovas boguta
On Mon, Mar 24, 2014 at 5:18 PM, adriaan.stic...@gmail.com wrote: How easy/feasible would it be to get this running in Light table as a plugin (which is node-webkit based) ? Would the underlying archtecture of session allow this? You would get some nice text editing and other project

Re: [ANN] thi.ng/morphogen - Declarative 3D form evolution through tree-based transformations

2014-03-22 Thread kovas boguta
This is great. Keep up the good work! On Fri, Mar 21, 2014 at 5:16 PM, Karsten Schmidt i...@toxi.co.uk wrote: Hi all, I've just pushed the first (promising) beginnings of a new project to GH and would like to share with you: https://github.com/thi-ng/morphogen/ Building on top of its

Re: 1.6.0-beta2 / sumatra / graal / okra / hsa / gpgpu

2014-03-10 Thread kovas boguta
This is pretty cool. Keep us updated! On Sun, Mar 9, 2014 at 5:42 PM, Jules jules.gosn...@gmail.com wrote: Well - not sure about interest levels :-) but I am soldiering on. I've tidied up and checked in the code I mentioned and some more stuff that I am playing with. If you are running

Re: [ANN] Gorilla REPL initial release (0.1.2)

2014-03-04 Thread kovas boguta
On Tue, Mar 4, 2014 at 8:39 AM, François Rey fmj...@gmail.com wrote: Great project! I just watched this interesting video on reinventing the REPL which also talks about notebook/graphical REPL. This was further developed at Clojure/con 2012, and there's a project called Session on github. The

Re: [ANN] iroh 0.1.5 - Simple Java Reflection (Still SNAPSHOT but comments would be welcome)

2014-02-13 Thread kovas boguta
On Wed, Feb 12, 2014 at 10:55 PM, zcaudate z...@caudate.me wrote: Iroh is a library for jvm reflection. It is designed to be used for testing, repl based development, and blantant hacks bypassing the jvm security This is pretty cool. Will give it a shot next time I'm trying to tame a java

Re: GSoC 2014: org applications now open

2014-02-11 Thread kovas boguta
I've added a project for data visualization components using Om/React. There are a number of parallel threads that could be neatly resolved using the Om/React model, including better chart support for Incanter, and application-specific visualization. I've done some experiments in this vein and so

Re: clojure.zip needs a better way to move nodes

2014-01-02 Thread kovas boguta
There is a protocol-based zipper lib at https://github.com/akhudek/fast-zip In my experience it can be made even faster if perf is a huge concern. If this lib gets upgraded, another big item is built-in support for the full range of clojure datastructures. Currently zippers are more limited than

Re: Namespaces [was Re: Is Clojure right for me?]

2013-12-27 Thread kovas boguta
On Fri, Dec 27, 2013 at 2:03 PM, Gary Trakhman gary.trakh...@gmail.com wrote: The issue as I see it is a complection of namespaces (DAG of bags of functions) and individual object lifecycles. The grid size stuff impl is a This is a very fair point, and something people have worked on Check

Re: Akka-like framework in Clojure ?

2013-12-27 Thread kovas boguta
The bottom line is that the definitive clojure distributed computing solution is yet to be invented, but there are a number of things out there including the aforementioned. 1. clojure wrappers for Akka, for instance https://github.com/jasongustafson/akka-clojure (there are several others, of

experiments in term-rewriting

2013-11-24 Thread kovas boguta
Hi, I've been doing some experiments with term-rewriting in clojure https://github.com/kovasb/combinator This is a very limited project aimed at maximizing performance for a particular term-rewriting system. The results show that clojure is a promising platform for this kind of computation.

Re: 2013 State of Clojure ClojureScript survey results

2013-11-18 Thread kovas boguta
Great job Chas. Some notes on methodology and then some general comments - That the survey was not featured on HN this time without a doubt alone accounts for the slight dip in responses - The 'missing' people are more likely fall into the 'hobbyist' camp, which might explain the increased % of

Re: 2013 State of Clojure ClojureScript survey results

2013-11-18 Thread kovas boguta
I used to find libraries using github's now-modified-to-the-point-of-uselessness explore feature. Its probably still possible to set up a decent search though. There are a large number of high quality libraries like instaparse, cascalog, storm, overtone, friend, etc. I find it pretty easy to tell

Re: gemacl: Scientific computing application written in Clojure

2013-11-18 Thread kovas boguta
Hi Jose, I think you should try making the core iteration purely functional, meaning no agents, atoms, or side effecting functions like the random generator. I assume the number of steps you evolve the particle is encoded in step-extract-fn? What you probably want is something like (loop [i 0

Re: gemacl: Scientific computing application written in Clojure

2013-11-12 Thread kovas boguta
Sounds like some form of overhead is dominating the computation. How are the infinite sequences being consumed? Is it 1 thread per sequence? How compute-intensive is (move particle) ? What kind of numbers of are talking about in terms of steps, particles? If move is fast, you probably need to

Re: Does Pedestal have a future in the long run

2013-11-08 Thread kovas boguta
On Thu, Nov 7, 2013 at 5:30 PM, Marko Kocić ma...@euptera.com wrote: related with Pedestal. How serious Cognitect/Relevance is about it? There is a ton of activity in the repo. Looking forward to v3. -- -- You received this message because you are subscribed to the Google Groups Clojure

Re: data structure creation time in cljs

2013-11-06 Thread kovas boguta
, :simple + :static-fns true will also give reasonable results however it'll mess with REPL interactivity. David On Tue, Nov 5, 2013 at 11:13 PM, kovas boguta kovas.bog...@gmail.com wrote: On Tue, Nov 5, 2013 at 11:05 PM, David Nolen dnolen.li...@gmail.com wrote: Also what optimization settings

Re: data structure creation time in cljs

2013-11-06 Thread kovas boguta
On Wed, Nov 6, 2013 at 7:36 PM, kovas boguta kovas.bog...@gmail.com wrote: There also seems to be some issue with laziness, where some of my big list operations are getting a 0 as well. Alright I managed to figure out my laziness issue, but the thing with records is still a head-scratcher

data structure creation time in cljs

2013-11-05 Thread kovas boguta
I'm trying to optimize zippers for clojurescript. My benchmark is implementing the combinator systems from https://www.wolframscience.com/nksonline/page-102 which heavily stress both navigating and modifying the tree. A major hotspot seems to be data structure creation time, which can be

Re: data structure creation time in cljs

2013-11-05 Thread kovas boguta
FYI, http://wagjo.github.io/benchmark-cljs/ has some interesting cljs perf comparisons for various datastructures, for those who haven't seen it. On Tue, Nov 5, 2013 at 10:38 PM, kovas boguta kovas.bog...@gmail.com wrote: I'm trying to optimize zippers for clojurescript. My benchmark

Re: data structure creation time in cljs

2013-11-05 Thread kovas boguta
On Tue, Nov 5, 2013 at 11:05 PM, David Nolen dnolen.li...@gmail.com wrote: Also what optimization settings are you using? I guess I should try something other than the browser repl. Will retry with advanced optimizations. -- -- You received this message because you are subscribed to the

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-09 Thread kovas boguta
-left-down/raise over/... are not disabled since they don't interfere with classic coding keys. Cheers, -- Laurent 2013/8/6 kovas boguta kovas.bog...@gmail.com: Its just a matter of removing the event handlers that got added in the first place. I'll think about what the best way

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
I got it from https://github.com/laurentpetit/ccw/tree/master/paredit.clj I had to make a change to bump the parsley version On Tue, Aug 6, 2013 at 10:14 AM, Zach Oakes zsoa...@gmail.com wrote: Yeah that's what it is: WARNING!!! version ranges found for: [org.kovas/paredit-widget

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
On Tue, Aug 6, 2013 at 12:46 AM, Laurent PETIT laurent.pe...@gmail.comwrote: Le mardi 6 août 2013, kovas boguta a écrit : https://github.com/kovasb/paredit-widget This is a simple project that does the obvious: provide a simple widget that implements paredit. It is intended to be embedded

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
Cool! I just cloned the repo and tried it out. Seems to work pretty well. On Tue, Aug 6, 2013 at 11:05 AM, Zach Oakes zsoa...@gmail.com wrote: OK thanks, that makes sense. I just pushed the commit that adds it to Nightcode so hopefully I'll get some feedback on it for the next release.

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-06 Thread kovas boguta
. As for evaluating selected expressions, I definitely intend on adding that soon. On Tuesday, August 6, 2013 2:44:51 PM UTC-4, Lee wrote: On Aug 6, 2013, at 2:15 PM, kovas boguta wrote: Cool! I just cloned the repo and tried it out. Seems to work pretty well. I just tried it too, mainly

ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread kovas boguta
https://github.com/kovasb/paredit-widget This is a simple project that does the obvious: provide a simple widget that implements paredit. It is intended to be embedded as part of other applications, and thus is minimal. This is a rough cut and contributions welcome, particularly for

Re: [ANN] Nightcode, an IDE for Clojure and Java

2013-08-05 Thread kovas boguta
I've just released paredit-widget, https://github.com/kovasb/paredit-widget with the intention of creating a drop-in paredit solution for projects like nightcode. Its still pretty experimental but might be an interesting test case to try to integrate. On Sun, Aug 4, 2013 at 8:19 PM, Matthew

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread kovas boguta
On Mon, Aug 5, 2013 at 6:55 PM, John D. Hume duelin.mark...@gmail.comwrote: On Mon, Aug 5, 2013 at 8:37 PM, kovas boguta kovas.bog...@gmail.comwrote: https://github.com/kovasb/paredit-widget The bigger idea is that code editing should be available a la carte. Tying something

Re: ANN: paredit-widget, simple swing-based clojure paredit widget

2013-08-05 Thread kovas boguta
Thanks for the feedback. I just extended the paredit-widget function to be able to consume pre-existing widgets: (p/paredit-widget (javax.swing.JTextArea. (foo bar))) fyi right now the implementation isn't taking advantage of parsley's incremental parsing support, and instead is reparsing the

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread kovas boguta
My suggestion: release as open source, and then try a kickstarter to see if there is interest in extending/continuing the project. IDE is a tough business. It has broken many. After all there is a reason intellij open-sourced the core in the first place. Frankly I think there is a bigger market

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread kovas boguta
I would definitely buy such a tool, if i felt certain it was good. (important qualification) There is a chicken and egg problem, in which making something worth money requires a big investment up front. Its pretty easy to figure out the maximum size of the clojure market. You figure what

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread kovas boguta
Guys, is this argument helping answer the OP's question? On Sat, Jul 27, 2013 at 12:34 PM, Jonathan Fischer Friberg odysso...@gmail.com wrote: Yes. See this part of his readmehttps://github.com/odyssomay/paredit#implementation-status where he says it's missing some important functions.

Re: is intellij idea a good ide for clojure development?

2013-07-25 Thread kovas boguta
I'm developing a stand-alone paredit widget, basically connecting paredit.clj to a swing text area. As part of my research, I've spent the last few days looking into intellij, and the la clojure source. One gets the feeling that eclipse and netbeans have hit a wall of designed-by-committee

Re: Proposed formal syntax for edn

2013-07-18 Thread kovas boguta
I agree that would be a Good Thing. This looks like an excellent start. Is this specification executable in Instaparse? IMO specs that are immediately computable are more useful and more likely to be correct. On Thu, Jul 18, 2013 at 10:38 AM, Ben Smith-Mannschott bsmith.o...@gmail.com

Re: [ANN] Vertigo: fast, idiomatic C-style structs

2013-07-15 Thread kovas boguta
information, and then layers Vertigo atop the actual data. In effect, that's what Gloss [1] is going to become, so keep watching the skies. Zach [1] https://github.com/ztellman/gloss On Sun, Jul 14, 2013 at 9:16 PM, kovas boguta kovas.bog...@gmail.comwrote: This is pretty neat. Anyone try

Re: [ANN] Vertigo: fast, idiomatic C-style structs

2013-07-14 Thread kovas boguta
This is pretty neat. Anyone try using this in conjunction with mmap? It would be nice to have some way to deal with strings other variable-length data. I'm also curious if its possible to make the analog of this for fressian, basically to avoid unpacking objects that are not necessary for the

Re: clojure interpreters?

2013-07-09 Thread kovas boguta
On Tue, Jul 9, 2013 at 1:22 AM, Mikera mike.r.anderson...@gmail.com wrote: My post The Environment as a Value might be of interest to you. https://groups.google.com/forum/#!searchin/clojure-dev/immutable$20environment/clojure-dev/S8BawG7nzJA/qfCd7hn67aoJ It contains a lot of similar ideas.

Re: clojure interpreters?

2013-07-09 Thread kovas boguta
On Mon, Jul 8, 2013 at 8:58 PM, Shantanu Kumar kumar.shant...@gmail.comwrote: An interpreter would be great! I attempted a different approach, which simply evaluates an S-expression with a user-specified environment (collection of maps), here: https://github.com/kumarshantanu/quiddity

clojure interpreters?

2013-07-08 Thread kovas boguta
I believe a reify-able clojure interpreter would be useful and interesting. For instance, for debugging, partial evaluation, environment capture / manipulation, and a variety of tasks that currently require resetting the environment just to see the behavior of code. I imagine this being mostly

ANN: codn, clojure source code as EDN data

2013-07-07 Thread kovas boguta
Codn parses clojure source code into pure EDN structures. github: https://github.com/kovasb/codn clojars: [codn/codn 0.1.0-SNAPSHOT] The main use case I have in mind is doing source code analysis, but there are others. The clojure reader (and clojure.tools.reader) interpret reader macros, thus

Re: representing clojure source code as data?

2013-06-23 Thread kovas boguta
On Fri, Jun 21, 2013 at 6:08 PM, Brandon Bloom brandon.d.bl...@gmail.comwrote: You've outlined 2 out of the 3 interesting (to me) shapes: 1) raw data structures and 2) datoms. I think that the 3rd interesting one is a map/vector tree, like the CLJS analyzer output. By raw data structures,

representing clojure source code as data?

2013-06-20 Thread kovas boguta
What's the latest opinion on parsing and representing clojure code as data? I'm talking about representations suitable for code analysis; representing the definition of the program as specified by the programmer. As opposed to: 1. a representation of the program implied by the source code (aka

Re: [ANN] jvm.tools.analyzer / clr.tools.analyzer

2013-03-13 Thread kovas boguta
On Wed, Mar 13, 2013 at 9:52 AM, Ambrose Bonnaire-Sergeant abonnaireserge...@gmail.com wrote: How useful is a fully macroexpanded AST to Codeq? There are line numbers associated with the AST nodes, and column numbers if you're using Clojure 1.5.0+. I am strongly of the opinion that

  1   2   >