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

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

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

[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] 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

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: 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: 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: Prismatic Plumbing and Graph Open-Source Release

2013-02-10 Thread kovas boguta
To continue OT, There is pretty interesting work being done on incremental datalog computation, that some people might be interested in being aware of. http://research.microsoft.com/en-us/projects/naiad/

Re: [ANN] analyze 0.3.0 - Hygienic transformation

2013-02-11 Thread kovas boguta
What is a hygienic AST? Thanks k On Sun, Feb 10, 2013 at 10:45 PM, Ambrose Bonnaire-Sergeant abonnaireserge...@gmail.com wrote: Hi everyone, Happy to release analyze 0.3.0 with new hygienic code transformation capabilities. [analyze 0.3.0] In a line: analyze.hygienic= (- (ast (let [a

Re: ANN: Iota 1.0.2 release (Reducers for text files)

2013-03-06 Thread kovas boguta
Very cool! Been wanting to play with something like this. On Wed, Mar 6, 2013 at 5:53 AM, Alan Busby thebu...@thebusby.com wrote: Hi all, With the release of Clojure 1.5 and it's new reducers, I figured this would be a good time to release a library to help with file IO for reducers. As

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

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

2013-03-13 Thread kovas boguta
On Wed, Mar 13, 2013 at 1:27 PM, Rich Morin r...@cfcl.com wrote: I agree, for your reasons and others. For example, I don't think a codeq should say much about _any_ symbol the code references. However, that seems to create a disconnect. If codeq is tracking raw code, and the AST reflects

Re: Faster JSON library

2011-10-07 Thread kovas boguta
My 2 cents: 1. JSON transformation is of fundamental importance to many Clojure applications. 2. Having the standard solution be blown away by a factor of 140x for the sake of purity is not pragmatic. If the user experience with contrib is to use it, realize its not ready for prime time, and

Re: ClojureScript macro import

2011-11-15 Thread kovas boguta
Bump. Is this still the case? That its not possible to have user-created macros targeting clojurescript without namespace prefixes? On Tue, Aug 9, 2011 at 2:31 PM, Kevin Lynagh klyn...@gmail.com wrote: Okay, that's the impression I got from poking around but I just wanted to make sure I

Re: [ANN] Avout: Distributed State in Clojure

2011-11-29 Thread kovas boguta
Congrats on the release! Looks like the world just got a bit more civilized :) Particularly excited to see how far this concept of distributed refs can go while remaining simple: - Using S3 as the backing store - Massively distributed STM. For example, every user of clojure sharing

Re: Clojure and large data sets

2011-12-08 Thread kovas boguta
There are three reasons: 1. Ignoring the big part for now, clojure is good with data in general because its functional, has nice datastructures, and a well designed sequence library. Data manipulation tends to be functional in nature, moreso than general programming (think map-reduce). 2. The

Re: Community attitude

2010-12-21 Thread kovas boguta
Simpler solution: Don't feed the trolls. We know who they are. On Tue, Dec 21, 2010 at 5:36 AM, Jay Fields j...@jayfields.com wrote: I was involved with Ruby and Rails in the early days. The Ruby mailing lists / conferences were always kind / helpful and the Rails lists / confs were always

Compiling dynamically created namespaces, without on-disk source code?

2010-12-29 Thread kovas boguta
The compile function eats a namespace, but seems to require an actual file on the classpath. Is it possible to simply compile the namespace with the current definitions as-is, without any kind of corresponding source file on disk? For example, you create a namespace and populate it in the REPL,

clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Hello everyone, A while back there was some discussion on the fact that clojure.java.shell can hang under various circumstances, and some patches were submitted: http://dev.clojure.org/jira/browse/CLJ-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel But doesn't seem to

Re: Compiling dynamically created namespaces, without on-disk source code?

2011-01-05 Thread kovas boguta
Thanks for the suggestion. My cursory googling has given me the impression that is a function of the classloader, or otherwise requiring some serious hackery. See http://stackoverflow.com/questions/2737285/java-is-there-a-way-to-obtain-the-bytecode-for-a-class-at-runtime The particular use case

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Hi, thanks for the quick response. Looking at the source code I'm not sure if the patches were applied. Maybe there was a regression. The symptoms seem consistent with what was supposed to have been fixed. Following the clojure.org api docs, I clicked through on the source code link on

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Stumbled on another branch of documentation, the code described at https://github.com/clojure/clojure-contrib/blob/6e721ff777dd52801cafe693868d8118a62076de/src/main/clojure/clojure/contrib/shell.clj#L86 is also without the patches. On Wed, Jan 5, 2011 at 4:41 PM, kovas boguta kovas.bog

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
Actually I did look at the source, but was just looking for the relevant bits of code rather than perusing the frontmatter. The main problem was just that there are a lot of references to the old lib lying around in various forms of documentation that seemed current. On Wed, Jan 5, 2011 at

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
One effective way to do it is to change the background color of either the whole page, or of the title (eg API for shell - clojure-contrib v1.2 (stable)) An analogous case that is handled well I think: http://reference.wolfram.com/mathematica/NonlinearRegression/ref/NonlinearRegress.html On

Re: clojure.java.shell hanging issues

2011-01-05 Thread kovas boguta
, 2011 at 7:46 PM, Sean Corfield seancorfi...@gmail.com wrote: On Wed, Jan 5, 2011 at 4:41 PM, kovas boguta kovas.bog...@gmail.com wrote: Following the clojure.org api docs, I clicked through on the source code link on http://richhickey.github.com/clojure-contrib/shell-api.html I'm curious

Re: ANN: Sisyphus - mapreduce implemented in Clojure

2011-01-25 Thread kovas boguta
Hi Olek, Could you explain how this differs from Hadoop in concept and in execution? Thanks. On Tue, Jan 25, 2011 at 2:26 PM, Olek aleksander.nas...@gmail.com wrote: Hi! It is nice to announce that Sisyphus - the google's mapreduce implemented in Clojure - has been released. Here are the

Re: ANN: Sisyphus - mapreduce implemented in Clojure

2011-01-26 Thread kovas boguta
I should add, I'm definitely looking for a more clojure-native library. The big productivity gap right now is for datasets too big manipulate in ram but too small to justify the administrative overhead and complexity of hadoop. On Tue, Jan 25, 2011 at 4:18 PM, kovas boguta kovas.bog...@gmail.com

Re: Serialising functions...

2011-04-26 Thread kovas boguta
Hi, This sounds very interesting and useful. Is the source code available somewhere? Or a more detailed description? Thanks On Fri, Mar 4, 2011 at 1:48 AM, Jules jules.gosn...@gmail.com wrote: So, Just a quick update. I gave the client-side ClassLoader encapsulation idea some more

Re: Serialising functions...

2011-04-27 Thread kovas boguta
If anyone else is interested, looks like the code is at https://github.com/JulesGosnell/dada/tree/master/dada-core/src/main/java/clojure/lang Pretty simple modifications actually. Thanks to Jules for figuring it out. On Tue, Apr 26, 2011 at 2:16 PM, kovas boguta kovas.bog...@gmail.com wrote

Re: Serialising functions...

2011-04-28 Thread kovas boguta
Thats some serious hacking. Definitely agree that distributed clojure would be awesome. Two points/questions: 1) Is this just a bug in DynamicClassLoader? Why doesn't it call super.defineClass instead of falling back on the URLClassLoader?: public Class defineClass(String name, byte[] bytes){

Re: clojurescript failing silently?

2012-07-12 Thread kovas boguta
Nice work. I wonder if there are similar patterns happening elsewhere, in particular, in the part that loads libraries. Will have to take a look. On Wed, Jul 11, 2012 at 11:12 PM, Timothy Baldridge tbaldri...@gmail.com wrote: But the real issue is the stacktrace one. In this case, the bug

Re: Tagged literals: undefined tags blow up reader

2012-07-16 Thread kovas boguta
Bumping this thread, since this is becoming more of a blocker for my efforts with Session. I think there are three operations you want to do on the unknown literal wrapper: 1. print/serialize it (this would just output the original string you read in) 2. get the tag name 3. get the uninterpreted

Re: Tagged literals: undefined tags blow up reader

2012-07-16 Thread kovas boguta
the constructed datastructure. In addition to solving the above problems, it is simpler, easier, and less error prone than forcing the user to assemble the string themselves. It is also forward-compatible with more compact binary representations of clojure data. On Mon, Jul 16, 2012 at 7:03 PM, kovas boguta

Re: s-expression levels and higher order functions

2012-07-19 Thread kovas boguta
Hey Seth, Welcome to the party. I haven't seen something like this either. What clojure's map does with additional arguments its pretty useful though. (map f a b c) is equivalent to f@@@Transpose[{a,b,c}] Still, it would be nice to have mathematica-style list manipulation functions, that

distributed fork/join

2012-09-14 Thread kovas boguta
Who wants to run reducers in a distributed, hdfs-backed environment? Some cool stuff coming down the pike: http://medianetwork.oracle.com/video/player/1785432463001 https://thestrangeloop.com/sessions/h2o-open-source-bigdatabase-for-interactive-analytics I don't know this guy, but if anyone

Re: Tagged literals: undefined tags blow up reader

2012-09-18 Thread kovas boguta
So the edn spec gives the following guidelines: If a reader encounters a tag for which no handler is registered, the implementation can either report an error, call a designated 'unknown element' handler, or create a well-known generic representation that contains both the tag and the tagged

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread kovas boguta
On Wed, Sep 19, 2012 at 1:12 AM, Andy Fingerhut andy.finger...@gmail.com wrote: On Tue, Sep 18, 2012 at 9:01 PM, Paul deGrandis paul.degran...@gmail.com wrote: 1.) Clojure.org should have a better host of documentation, especially for newcomers. The only things required for someone to create

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread kovas boguta
On Wed, Sep 19, 2012 at 11:01 AM, Andy Fingerhut andy.finger...@gmail.com wrote: Kovas, have you used ClojureDocs.org? If not, I recommend trying it out. In under 5 minutes, you should be able to figure out how to add an example. ClojureDocs is pretty nice. Incidentally, I'm not personally

Re: Clojure web framework

2012-10-03 Thread kovas boguta
Lets not forget http://clojurescriptone.com/ Its a pretty amazing artifact, a complete app with perfect documentation. Its also essentially a template. If someone is totally lost on how to get started with clojure web programming, just go to that. In the more general case, I strongly agree that

Re: math

2012-10-09 Thread kovas boguta
Honestly the best bet for migrating from old contrib: Find the old contrib on github, and just copy the function or 2 that you want. Anything else is gonna be a frustrating PITA. Its highly misleading to say that the old contrib was broken up to be more modular. The reality is that the

Re: math

2012-10-09 Thread kovas boguta
, otherwise you will get surprised. On Wed, Oct 10, 2012 at 12:17 AM, Sean Corfield seancorfi...@gmail.com wrote: On Tue, Oct 9, 2012 at 9:03 PM, kovas boguta kovas.bog...@gmail.com wrote: Most of the time you are using the contrib for some convenience function. Its way easier to just copy

Re: math

2012-10-09 Thread kovas boguta
wrote: On Tue, Oct 9, 2012 at 9:23 PM, kovas boguta kovas.bog...@gmail.com wrote: The one that bit me specifically was clojure.contrib.string = clojure.string . Not criticising the new design, its just a fact that its not backwards compatible. I believe that happened in Clojure 1.2, even

Re: math

2012-10-10 Thread kovas boguta
Looks neat. Can I make a suggestion? For these cookbooks, it would be very help to know exactly which version of clojure (and any libraries used) were used. You can even just put the associated project.clj content at the top. That way one will have confidence that this is up-to-date info, and

Re: ANN subpar (paredit for codemirror)

2012-10-12 Thread kovas boguta
This is great!! Can't wait for good os x bindings. Maybe I can figure it out. On Fri, Oct 12, 2012 at 4:21 PM, Andrew ache...@gmail.com wrote: A ParEdit approximation for use in CodeMirror. https://github.com/achengs/subpar Could conceivably benefit Light Table. In other news, I'm in the

Re: ANN subpar (paredit for codemirror)

2012-10-12 Thread kovas boguta
Question: what would it take to css style the parsed tokens? For instance, based on codeq output? On Fri, Oct 12, 2012 at 5:04 PM, Andrew ache...@gmail.com wrote: I forgot to add that the README.md has a link to a demo page (here) On Friday, October 12, 2012 4:47:47 PM UTC-4, kovasb wrote:

Re: Cdr car

2012-10-16 Thread kovas boguta
A number of classic lisp books have been translated to clojure, for instance http://juliangamble.com/blog/2012/07/20/the-little-schemer-in-clojure/ Personally I felt relieved when I saw that clojure had abandoned the anachronistic car/cdr stuff; the sequence abstraction is a lot nicer. There

Re: Clojure turns 5

2012-10-16 Thread kovas boguta
Congrats! The output coming out of Rich and Clojure/core lately is coming at an unbelievable pace. Keep up the good work :) On Tue, Oct 16, 2012 at 11:15 PM, David Nolen dnolen.li...@gmail.com wrote: Congrats! On Tuesday, October 16, 2012, Rich Hickey wrote: I released Clojure 5 years ago

Re: ANN: data.json 0.2.0

2012-10-25 Thread kovas boguta
I agree these changes are for the best. Not announcing breaking changes is not optimal as it were, but we should solve the general problem, rather than this specific instance In a world with codeq, the capability exists to detect breaking changes. Both by library authors, and by their consumers.

*default-data-reader-fn* has landed!

2012-10-25 Thread kovas boguta
https://github.com/clojure/clojure/commit/79a1b793f87af417b430450f3c24e7cfe456e3e2 Super exciting! Thanks guys! -- 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

Re: STM - a request for war stories

2012-12-13 Thread kovas boguta
My recommendation is either Persistent Datastructures or Database as a Value Its shocking and amazing that an entire database (eg, the most concurrent stateful thing you can imagine) requires just a handful of atoms. Check out http://www.infoq.com/presentations/Datomic-Database-Value Persistent

Re: STM - a request for war stories

2012-12-14 Thread kovas boguta
On Fri, Dec 14, 2012 at 12:55 AM, Paul Butcher p...@paulbutcher.com wrote: On 14 Dec 2012, at 00:30, kovas boguta kovas.bog...@gmail.com wrote: If you can't incorporate novelty without cloning the entire datastructure, thats not that useful. I'm not 100% sure what you mean by this - can you

Re: What would you use a #[] data literal for?

2013-01-04 Thread kovas boguta
One idea is to reserve #[] for a concept that supersedes macros. For instance, we have yet to apply the concept of protocols to macros. Another direction is recursive subexpansion, a la mathematica. If you consider transformations between code and data, there are 4 possibilities: data-data

symbolic protocols

2013-01-07 Thread kovas boguta
This is a pretty embryonic idea, but I'm wondering if anyone has thought the same, or seen relevant examples/literature. The idea is: What if we could attach protocols to symbols themselves? so (foo '(bar 1)) would have its behavior defined by a protocol implemented on the symbol bar. This

Re: symbolic protocols

2013-01-07 Thread kovas boguta
one example use case: validating expressions (valid? '(foo (bar 1))) - protocol implemented by foo decides if it likes its argument structure various semantics about the symbol can be encoded in the protocols. On Tue, Jan 8, 2013 at 1:56 AM, kovas boguta kovas.bog...@gmail.com wrote

Re: symbolic protocols

2013-01-07 Thread kovas boguta
that dispatches on identity? (defmulti mm identity) (defmethod mm 'bar ...) (defmethod mm 'foo ...) Thanks, Ambrose On Tue, Jan 8, 2013 at 2:56 PM, kovas boguta kovas.bog...@gmail.com wrote: This is a pretty embryonic idea, but I'm wondering if anyone has thought the same, or seen

Re: symbolic protocols

2013-01-07 Thread kovas boguta
, you would do (- expression (interprete protocols-for-phase-1) (interprete protocols-for-phase-2) ...) and out would come the final expression. On Tue, Jan 8, 2013 at 2:15 AM, kovas boguta kovas.bog...@gmail.com wrote: Close. The defmulti would be closer to (defmulti mm first

Re: symbolic protocols

2013-01-08 Thread kovas boguta
of implementing logic but without risk of conflict with the symbolic code. On Tue, Jan 8, 2013 at 2:29 AM, kovas boguta kovas.bog...@gmail.com wrote: Maybe the use cases would be more clearer if I fleshed out the interprete operation. The typical case would be (interprete expression

Re: Full stack Clojure web/REST framework - is there any mileage in it?

2013-01-13 Thread kovas boguta
I think there is value, but we as a community are not yet ready for it. The problem is that the full stack endgoal is itself shifting in definition, towards single-page apps. There is not much appetite for the creation of a RoR clone, when the landscape in which RoR was created has shifted so

Re: ClojureScript DOM-manipulation library?

2012-01-06 Thread kovas boguta
Yes. I've created a jquery wrapper conveniently called cljs-jquery , however there is no documentation, tests, or general housekeeping yet so haven't announced it. If you are brave, https://github.com/kovasb/cljs-jquery Previous libraries have followed the lead of the initial Clojurescript

Re: ClojureScript DOM-manipulation library?

2012-01-06 Thread kovas boguta
this onto github soon. Cheers, Chris. On Jan 6, 5:18 pm, kovas boguta kovas.bog...@gmail.com wrote: Yes. I've created a jquery wrapper conveniently called cljs-jquery , however there is no documentation, tests, or general housekeeping yet so haven't announced it. If you are brave,https

Clojurescript One: distinguishing event sources / multiple widget instances

2012-01-17 Thread kovas boguta
Pretty basic question here. Suppose I want to have 2 copies of the form in the same application. How will the event handlers know which form the events are coming from, and which form needs to be modified in response to those events? More generally, what if I have N copies of some widget that

Re: [ANN] Experimental Alpha: Closeout 0.1.0 - a knockoutjs like clojurescript library

2012-01-18 Thread kovas boguta
This is pretty interesting, thanks! I've also been thinking that atoms are well-suited to being the basis for the view models. Will study this. On Wed, Jan 18, 2012 at 8:20 AM, Dave Sann daves...@gmail.com wrote: Hi all, I'd like to announce an experimental clojurescript library. It is

Re: ANN: Hubris 0.1.0 released

2012-01-18 Thread kovas boguta
I'm an hbase user and definitely into an alternative shell.. On Wed, Jan 18, 2012 at 3:42 AM, Sanel Zukan san...@gmail.com wrote: Thank you for the supporting comment. Glad I'm not the only one seeing needs for alternative in this field :) Regards. On Jan 17, 5:05 pm, Marc Limotte

Re: Clojurescript One: distinguishing event sources / multiple widget instances

2012-01-18 Thread kovas boguta
that this event predicate function can determine if it should react. As David and Fogus point out, this is very slow at the moment. The interesting question is: can we have the flexibility of arbitrary event-ids and event predicate functions and make it fast? On Jan 17, 10:08 pm, kovas boguta

Re: Clojurescript One: distinguishing event sources / multiple widget instances

2012-01-20 Thread kovas boguta
the matched tuple be [event, eventsource, corresponding-model-data] ) might be a way to get at the problem. On Wed, Jan 18, 2012 at 1:21 PM, David Nolen dnolen.li...@gmail.com wrote: On Tue, Jan 17, 2012 at 10:08 PM, kovas boguta kovas.bog...@gmail.com wrote: Pretty basic question here. Suppose I want

Re: Clojure on PyPy

2012-02-09 Thread kovas boguta
This article on RPython and PyPy is pretty good, helped me understand what the fuss is about: http://tratt.net/laurie/tech_articles/articles/fast_enough_vms_in_fast_enough_time Pretty cool stuff. Will clojure-py allow us to write our own VM's using clojure? On Mon, Nov 28, 2011 at 9:23 AM,

Re: Clojure on PyPy

2012-02-09 Thread kovas boguta
This stuff is amazing. The big question for me is how this relates to macros. This sounds like a metaprogramming ability, where instead of changing the source code, you are changing the implementation layer. Here is a concrete use case I'm interested in: optimizing algorithms. I have some set of

Re: Clojure on PyPy

2012-02-09 Thread kovas boguta
we reify the clojure VM to enable these properties? It would be pretty impressive if one could parameterize the VM space, and access different parts of that space within a contiguous clojure program. On Thu, Feb 9, 2012 at 7:43 PM, kovas boguta kovas.bog...@gmail.com wrote: This stuff is amazing

add-watch in clojurescript: awesome, or not awesome?

2012-02-15 Thread kovas boguta
More than a few people have noticed the similarities between add-watch, and event/data binding in things like Backbone.js. Maybe its worth considering if a feature marked as alpha is really the best thing for this case. 1. add-watch arguments are verbose. Do we really need a key to name the

Re: add-watch in clojurescript: awesome, or not awesome?

2012-02-16 Thread kovas boguta
experience. On Wednesday, February 15, 2012, kovas boguta kovas.bog...@gmail.com wrote: More than a few people have noticed the similarities between add-watch, and event/data binding in things like Backbone.js. Maybe its worth considering if a feature marked as alpha is really the best thing

notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-20 Thread kovas boguta
Mathematica implements a version of open and order-independent dispatch, so I wanted to add some points to the discussion. The design of Mathematica's pattern matching is tightly coupled to the language's computational model, as well as with all other aspects of the system. So a lot of it would

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-20 Thread kovas boguta
. On Mon, Feb 20, 2012 at 9:56 PM, kovas boguta kovas.bog...@gmail.com wrote: Mathematica implements a version of open and order-independent dispatch, so I wanted to add some points to the discussion. The design of Mathematica's pattern matching is tightly coupled to the language's computational

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread kovas boguta
to such an editor. (or maybe emacs mode is sufficient dunno). On Feb 20, 9:56 pm, kovas boguta kovas.bog...@gmail.com wrote: Mathematica implements a version of open and order-independent dispatch, so I wanted to add some points to the discussion. The design of Mathematica's pattern matching

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread kovas boguta
...@gmail.com wrote: 2012/2/23 Cedric Greevey cgree...@gmail.com On Thu, Feb 23, 2012 at 2:41 PM, kovas boguta kovas.bog...@gmail.com wrote: In general the way repl's handle state is pretty busted. Ever create a piece of data and then later wonder, how the heck did I make this? One simple thing

Re: notes on Mathematica pattern transformation Clojure predicate dispatch

2012-02-23 Thread kovas boguta
Is it possible to have something like this as a lein plugin? On Thu, Feb 23, 2012 at 3:45 PM, kovas boguta kovas.bog...@gmail.com wrote: You could also have 1 file for inputs, and 1 file for outputs. One of the most useless things about repl's is when you go back to the saved sessions

Re: Bret Victor - Inventing on Principle

2012-02-24 Thread kovas boguta
That's a great talk, and a great basic principle: that creators need an immediate connection to their creation. I realized this has also been my side project for the last few months, though mostly in hammock phase. I think the foundational technology we need, as a community, is an html5 repl.

Re: Bret Victor - Inventing on Principle

2012-02-25 Thread kovas boguta
it seems similar to but much simpler than Google's SPDY protocol. On Feb 24, 2012, at 5:33 PM, kovas boguta wrote: That's a great talk, and a great basic principle: that creators need an immediate connection to their creation. I realized this has also been my side project for the last few months

datomic has been announced

2012-03-05 Thread kovas boguta
Since not everyone reads twitter or hacker news, http://datomic.com/ has been updated with an unveiling of Rich's new project. -- 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

Clojurescript: named/numbered releases?

2012-03-07 Thread kovas boguta
It's great to see the steady activity on the clojurescript github page. However I'm not totally comfortable developing against the master branch. As it stands now, if I change development environments, or deploy on a new machine, the master branch may have moved. I could choose an arbitrary

Re: Clojurescript: named/numbered releases?

2012-03-08 Thread kovas boguta
on the master branch since the beginning of the project. ClojureScript is currently at revision 927. In Maven/Leiningen, this is represented as version 0.0-927. The latest release is 0.0-993. Regards, Stuart On 8 March 2012 15:02, kovas boguta kovas.bog...@gmail.com wrote: It's great to see

Re: Two GSOC Proposals: fonc compiler and autodiff

2012-03-21 Thread kovas boguta
Hadn't seen that project before, pretty cool. My 2 cents, in terms of clojure compiler-related stuff: Reimplementing the persistent datastructures in terms of clojure protocols seems like a high-leverage thing to do, and the basis of a lot of things. Before this happens, you can't have a real

Re: GSoC: Browser-based Clojure(Script) editor

2012-03-26 Thread kovas boguta
I've been working on this, and related permutations, for a few months. My thoughts on this (from a month ago) are at http://groups.google.com/group/clojure-tools/browse_thread/thread/f0ef25f5489b4554?pli=1 along with some commentary by others on related tools. Will try to get something sensible

Re: ANN: Himera

2012-03-27 Thread kovas boguta
Nice! I'm interested in the namespace issues. I see there are a bunch of mappings in himera.server.setup. Is this necessary? On Tue, Mar 27, 2012 at 1:41 PM, Fogus mefo...@gmail.com wrote: ClojureScript compilation as service. Some background and deeper discussion: 

Re: Light Table - a new IDE concept

2012-04-13 Thread kovas boguta
Holy I've been wanting this for literally the last decade. Seeing the data flow through the program. Being able to instantly see the code for all the functions related to your function call. I 100% agree that we need smaller units of source code than the text file. Interested in how it

  1   2   >