Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Korny Sietsma
>* jump-to-symbol-definition > - see my post on ST2 in the "is intellij idea a >good idea" thread dated July 25th. I checked that post and couldn't see anything about jump to symbol - I'm mobile though so may have missed something. Can ST2 or 3 do this? - Korny On 28 Jul 2013 04:45, "Greg" wrot

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Nick Jones
I'd pay a $100 for a good Intellij plugin. I'm using Emacs now but I'd rather use IDEA. On Sunday, 28 July 2013 12:29:40 UTC+12, Colin Fleming wrote: > > Shhh - despite my own prejudices, no flame wars please :-) > > > On 28 July 2013 12:21, Cedric Greevey >wrote: > >> On Sat, Jul 27, 2013 at 7:5

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Lee Spector
On Jul 27, 2013, at 8:49 PM, Colin Fleming wrote: > It's true that both Laurent's and my suggestions are complicated, but we're > thinking about it from an implementer's point of view. What I currently have > from a *user's* point of view for classes is great, you just don't think > about it.

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Colin Fleming
It's true that both Laurent's and my suggestions are complicated, but we're thinking about it from an implementer's point of view. What I currently have from a *user's* point of view for classes is great, you just don't think about it. I don't know how much Java development you've done, but this is

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Lee Spector
On Jul 27, 2013, at 3:49 PM, Laurent PETIT wrote: > > Here's how I see it: it would change the ns declaration depending on > the choices you make in the code completion list. That is, the code > completion list would have to not only be made of what's already > loaded in the REPL (as is generally

Re: [ANN] 18th tutorial of modern-cljs series

2013-07-27 Thread Greg
Awesome! I'm glad to see that you added support for combining cljx with cljsbuild! :-) Also looking forward to learning about Piggieback (that was already on my todo list, so I'm glad you covered it!). Suggestion: have the different profiles all compile to the same *.js file, and combine all o

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Colin Fleming
Shhh - despite my own prejudices, no flame wars please :-) On 28 July 2013 12:21, Cedric Greevey wrote: > On Sat, Jul 27, 2013 at 7:52 PM, Colin Fleming < > colin.mailingl...@gmail.com> wrote: > >> I agree that the sweet spot for a plugin like this, especially in terms >> of paying for it, woul

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Lee Spector
On Jul 27, 2013, at 7:44 PM, Colin Fleming wrote: > BTW Lee, going back to your original question, I think the solution that you > came up with is the only one I can think of that does what you want. Of > course you can put it on one line: > > (ns use2require.core > (:require [use2require [my

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Cedric Greevey
On Sat, Jul 27, 2013 at 7:52 PM, Colin Fleming wrote: > I agree that the sweet spot for a plugin like this, especially in terms of > paying for it, would be existing Java shops who are migrating to Clojure. I > think that there are a lot of people who want something powerful and easy > to use, tho

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Colin Fleming
I agree that the sweet spot for a plugin like this, especially in terms of paying for it, would be existing Java shops who are migrating to Clojure. I think that there are a lot of people who want something powerful and easy to use, though - the question is how many would be willing to pay for that

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Alex Baranosky
Lee, On our work projects at Runa, we have an unwritten code standard of always writing out the full namespace, and not using shortcuts as you suggest. The reason being that it can be very hard to search for usages of a namespace if you don't fully qualify them, which makes refactoring a nightmar

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Colin Fleming
BTW Lee, going back to your original question, I think the solution that you came up with is the only one I can think of that does what you want. Of course you can put it on one line: (ns use2require.core (:require [use2require [myfns :refer :all] [yourfns :refer :all]])) But I agree it's more

Syncing channels

2013-07-27 Thread ronen
Iv been giving core.async a spin in clojurescript/nodejs settings and stumbled upon a simple use case: - You have two channels c1 and c2 both produced from http calls - c2 is produced from a call the consumes c1 result as an input (let [id (http://groups.google.com/group/clojure?hl=en --

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Frank Hale
Hanging off the last couple comments on extracting IntelliJ's components which I think is quite interesting; Has anyone considered forking Jedit and using that as a basis for a Clojure development environment? It has a pretty darned good editor widget with the requisite syntax highlighting and the

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Alex Baranosky
Hello Colin F, A few of my observations: - I think heavy-duty Intellij Java users are the best market for such a plugin. The business question then becomes: are there enough such teams to warrant the work necessary? - The plugin is at odds with a lot of Clojure's OSS community...

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Colin Fleming
I think there's a lot of scope for automatic namespace management. I'm already doing this for Java but it's more complicated for Clojure. Currently for Java I automatically add an import via a popup if the user has a class short name (e.g. "ArrayList") that isn't imported, and I also allow automati

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread coltnz
Hi the other Colin. It's a shame this thread's been somewhat rudely hijacked from its purpose. Hopefully others aren't dissuaded from speaking out in support too. My team will heartily endorse such a project. Here's why: - we have a large legacy codebase of Java to embrace and extend with Cloj

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Colin Fleming
> > On a side note, I would love to see intellij's widget library broken out > in a more stand-alone way, so we can develop sexy clojure apps with pure > jvm technology. Any thoughts on if that is technically doable? Depending on the widgets you're referring to, probably. It's just Swing after al

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Colin Fleming
Thanks for all the comments, everyone. It seems like there's some interest, anyway. Most of the features people are asking for are either already there or close. There are some interesting questions here, as well. I think it would be important to have free access for people to try it out - maybe a

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Cedric Greevey
On Sat, Jul 27, 2013 at 3:18 PM, Steven Degutis wrote: > > The Clojure-syntax file wasn't *just* regex. It was a thousands-of-lines > long XML file. I kinda saw *some* regex in it, but not anything > understandable. > Well of *course* there wasn't anything understandable -- it was XML and regex!

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Jonathan Fischer Friberg
I'm sorry too, for jumping to conclusions basically. I guess I got defensive when you said that it was "awful". I see what you mean though. The problem with the integration has been partially fixed, as I announced in this post: https://groups.google.com/d/topic/clojure/oBCPbPIkPL8/discussion It a

Re: Symbol.intern doesnt return already interned symbols?

2013-07-27 Thread Jürgen Hötzel
Am Samstag, 27. Juli 2013 17:30:08 UTC+2 schrieb Mikera: > On Saturday, 27 July 2013 03:59:55 UTC+1, Jeremy Heiler wrote: > >> On July 26, 2013 at 10:39:47 AM, Jürgen Hötzel (jue...@hoetzel.info) >> wrote: >> >> I did some memory profiling on a Clojure Application. >> >> I wondered why 361000 clo

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Laurent PETIT
2013/7/27 Steven Degutis : > Sounds like that's only a partial list. > > It's not a long list. And each item is implemented in at least one available > editor. So I don't think it's unreasonable to ask for a single editor that > does them all. And I'd pay good money for it. That's all I'm saying th

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
Sounds like that's only a partial list. It's not a long list. And each item is implemented in at least one available editor. So I don't think it's unreasonable to ask for a single editor that does them all. And I'd pay good money for it. That's all I'm saying this whole time. Btw, to answer some

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

2013-07-27 Thread Cedric Greevey
On Sat, Jul 27, 2013 at 5:47 AM, Mark wrote: > > > On Friday, July 26, 2013 2:23:33 PM UTC-5, Andy Fingerhut wrote: >> >> There are many who agree with Richard Stallman that it is unethical to >> distribute software without the source code. >> > > And there are many who think it's unethical to ha

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
Whoa whoa whoa, hold on. I'm not talking crap. It's awesome that you're releasing OSS for us to use. And just because it isn't ready for me to use in production yet, that's not saying anything bad about it. And I opened the issue on paredit trusting that either you'll either eventually get to it

Re: ANN: substantiation, An opinionated nested maps validations library

2013-07-27 Thread ronen
When you state a function you bind it already to an implementation, in fact to a specific function from a specific ns. While for simple functions its not that bad, things start to get hairy when you manage a large number of custom validations also using just string? leaves out metadata (like er

Interested in more expressive/dense Priority Queue Implementation

2013-07-27 Thread gixxi
Hi all, I am working on graph search algorithms using a priority queue which is implemented by a sorted-set and a custom comparator. Elements maintained by the set consist of :node (nodename) :dist (current distance) as well as :visited (still to process). Only one element with node x is allow

CoderPost: Programmer's daily digest compiled by machine and human

2013-07-27 Thread Mingli Yuan
Sorry for spamming, Recently I launch a paper.li site for compiled news on programming topics. The source of these news are from every related topics of pinboard.in. And I think the quality is still OK, and even better than what I originally think. So I hope you can take a look if you are interes

Can't seem to import namespaces of test.generative

2013-07-27 Thread Stephen Cagle
So, I was having trouble requiring some namespaces in test.generative . I have the following project.clj (defproject gen "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME"; :license {:name "Eclipse Public License" :url "http://www.eclipse.or

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Laurent PETIT
2013/7/27 Lee Spector : > > On Jul 27, 2013, at 1:25 PM, Laurent PETIT wrote: >>> >>> But it's really not much better. This too will explode the number of lines >>> in many of my ns declarations. >>> >>> Is there indeed a reasonably concise way to do this? What is it? >> >> Would it still bother y

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Laurent PETIT
I can't resist, it's too tempting, so ;-) : 2013/7/27 Steven Degutis : > I would be willing to pay /really/ good money for an editor that has a few > features: > > * paredit or better Check. Counterclockwise has a lot of paredit features. In the beta version there are even slurp/barf provided tha

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Jonathan Fischer Friberg
Probably not, editor wars tend to bring out the worst in people. Jonathan On Sat, Jul 27, 2013 at 9:38 PM, kovas boguta wrote: > 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. S

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 > > readme where > he says it's missing some important func

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 lighttab

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Jonathan Fischer Friberg
My whole previous message appears as "trimmed" (probably because it starts with a >), that wasn't meant to happen. :) If you want to read it please open the "trimmed content". Jonathan On Sat, Jul 27, 2013 at 9:34 PM, Jonathan Fischer Friberg < odysso...@gmail.com> wrote: > > Yes. See this part

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Jonathan Fischer Friberg
> Yes. See this part of his > readme where he says it's missing some important functions. Plus see this issue I opened for him about other important missing commands. I'm not ignoring that

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Lee Spector
On Jul 27, 2013, at 1:25 PM, Laurent PETIT wrote: >> >> But it's really not much better. This too will explode the number of lines >> in many of my ns declarations. >> >> Is there indeed a reasonably concise way to do this? What is it? > > Would it still bother you if the IDE helped maintain t

Re: ANN: substantiation, An opinionated nested maps validations library

2013-07-27 Thread Ben Wolfson
Why not just use functions for the validations? string? instead of :String. Then you get disjunction for free. On Sat, Jul 27, 2013 at 12:22 PM, ronen wrote: > > Thanks for the feedback! > > Hi, >> >> Some feedback and questions, as I've made something similar in the past. >> - allow normal fns

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
Oh, some other thoughts/requests/ideas: - Xocde-style refactoring for renaming symbols inline in the current scope. Sublime-style renaming would be OK too. - For the jump-to-symbol stuff, don't actually change the view to the other symbol. Perhaps make an alternate command that lets you see that

Re: ANN: substantiation, An opinionated nested maps validations library

2013-07-27 Thread ronen
Thanks for the feedback! Hi, > > Some feedback and questions, as I've made something similar in the past. > - allow normal fns and classes as a predicates. > - having one global Var for predicates is an antipattern > The Var is only for the built in ones and is internal and private, external

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 i

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
> There were two plugins. The 1st link on Google is to and older one that > points to the new one I sent you. Did you try the new one? > Yes. See this part of his readmewhere he says it's missing some important functions. Plus see this is

Re: Does this abstraction have any existing name?

2013-07-27 Thread Armando Blancas
morph's incomplete because it extends Functor only for collections and function composition; I'll add String and boxed types, but for now Long's extension must be supplied: (use 'blancas.morph.core) (extend-type java.lang.Long Functor (fun [this f] (f this))) With this, it's like alto.generic bu

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
Colin: I think ST has a good business model via its constant nags. $70 USD to get it to STFU and support the developer seems fair, while allowing those who can't afford it to use it and tolerate the nags. If you don't give people a way to use your IDE for free then most people won't use it bec

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
> paredit - Yes, he wrote a kind of paredit for ST2. But it's really missing > several important functions. Plus it doesn't work as well as paredit.el does. > I tried to remedy these with no luck. There were two plugins. The 1st link on Google is to and older one that points to the new one I se

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
Greg, thanks for your reply. Please see my responses: paredit - Yes, he wrote a kind of paredit for ST2. But it's really missing several important functions. Plus it doesn't work as well as paredit.el does. I tried to remedy these with no luck. shortcuts - Sure, that's true about emacs too. But h

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Greg
Steven: ST2 has the following features that you wanted: * paredit or better - https://github.com/odyssomay/paredit * keyboard shortcuts that dont kill my wrists/pinkies/fingers - you can make whatever shortcuts you want * jump-to-symbol-definition - see my post on ST2 in t

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
Oh one more feature I forgot: * a file-tree browser (like ST2's) -Steven On Sat, Jul 27, 2013 at 10:57 AM, Steven Degutis wrote: > I would be willing to pay /really/ good money for an editor that has a few > features: > > * paredit or better > * proper syntax highlighting of clojure (emacs roc

Re: help actually changing :use to :require :refer :all?

2013-07-27 Thread Laurent PETIT
2013/7/27 Lee Spector : > > I'm trying to actually change some instances of :use to :require :refer :all, > as urged by several people here, and it's not as simple as I had hoped. Or > I'm missing something obvious. > > If I have a simple little project containing a namespace declared as follows:

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Laurent PETIT
2013/7/27 Mikera : > I'm always a little amused when people highlight the fragmentation of tools > as a problem, and their solution is to propose a new tool. > > Just joking :-) . > > Of course I'd never want to discourage innovation and investment in the > Clojure tools space. I'm one of the peopl

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
I don't know how or why, but when I use ST2's jump-to-file command, and start typing parts of the file path in order, it gives me way closer results than ido-mode (with find-file-in-repository) does. And this is probably unrelated to that first thing, but sometimes ido-mode will actually start omi

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Mikera
I'm always a little amused when people highlight the fragmentation of tools as a problem, and their solution is to propose a new tool. Just joking :-) . Of course I'd never want to discourage innovation and investment in the Clojure tools space. I'm one of the people who likes my tools to be O

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Bastien
Hi Steven, Steven Degutis writes: > * ST2-quality fuzzy matching at every completionable prompt (emacs's > ido-mode is alright but ST2's is way better) Just out of curiosity, why ST2 is better than Emacs on this? Not a rhetorical question: I only use ido-mode from time to time, and I've never

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Steven Degutis
I would be willing to pay /really/ good money for an editor that has a few features: * paredit or better * proper syntax highlighting of clojure (emacs rocks at this, ST2 sucks at it) * ST2-quality fuzzy matching at every completionable prompt (emacs's ido-mode is alright but ST2's is way better)

help actually changing :use to :require :refer :all?

2013-07-27 Thread Lee Spector
I'm trying to actually change some instances of :use to :require :refer :all, as urged by several people here, and it's not as simple as I had hoped. Or I'm missing something obvious. If I have a simple little project containing a namespace declared as follows: (ns use2require.core (:use [us

Re: Symbol.intern doesnt return already interned symbols?

2013-07-27 Thread Mikera
On Saturday, 27 July 2013 03:59:55 UTC+1, Jeremy Heiler wrote: > On July 26, 2013 at 10:39:47 AM, Jürgen Hötzel > (jue...@hoetzel.info) > wrote: > > I did some memory profiling on a Clojure Application. > > I wondered why 361000 clojure.lang.Symbols exist. > > So I did some object browsing on th

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Peter Mancini
As far as editing goes, I'm happy with Light Table. However, for a great debugger, I'd pay a ransom. Unwinding the Clojure stack is quite hard. One that could pinpoint troubled lambdas, watch state in a pprint kind of way that doesn't force me to put pprint into my code... I'd pay for that. Als

symbolic expression manipulation with expresso

2013-07-27 Thread Maik Schünemann
Hi, I wrote a blog postabout the status of my expresso gsoc project now half way through the gsoc coding period. If you are interested in doing symbolic manipulation in clojure pleas comment/give feedback whether it

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

2013-07-27 Thread Andrew Inggs
On 26 July 2013 09:53, Cedric Greevey wrote: > Would that include a contemporary user interface that can show trees > properly, do graphical diffs, and be quickly taken up by any reasonably > adept Windows or Mac user the way Eclipse, clooj, and IntelliJ can? > I don't speak for Håkan, but I don'

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Colin Fleming
Thanks for the feedback, Lee - that's interesting. As a data point, JetBrains have a $30 academic license for PyCharm and a free Classroom edition, although I don't know the details of how that works. I'd be happy to try to negotiate something for that kind of use case. Also, I'd definitely try to

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Bastien
john writes: > And at first I really thought it looked promising. But then as I > started to work seriously it would very often crash or freeze the > UI. So I switched back to emacs. "Your ability to become an inhabitant of Emacs is gated by how stable it is." -- Steve Yegge http://steve-ye

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Lee Spector
On Jul 27, 2013, at 7:54 AM, Colin Fleming wrote: > One problem is that the IDE space is already fairly fractured - there's Emacs > and CCW, Clooj, Sublime Text and the promise of Light Table at some point, > and of course the current public version of La Clojure. But there's still not > a grea

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread john
Hi, a couple of weeks a ago I invested 1.5 days in trying to use sublime text 2. I loved the simple navigation features with that I could switch to different clojure files. And at first I really thought it looked promising. But then as I started to work seriously it would very often crash or f

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread john
Hi, a couple of weeks a ago I invested 1.5 days in trying to use sublime text 2. I loved the simple navigation features with that I could switch to different clojure files. And at first I really thought it looked promising. But then as I started to work seriously it would very often crash or f

Interest in a commercial IDE for Clojure?

2013-07-27 Thread Colin Fleming
Hi all, I was planning to wait a little longer before going public, but since it's pretty relevant to the other IntelliJ thread going on at the moment I thought I'd jump in. For the last couple of months of happy unemployment I've been working on a fork of La Clojure which is now about 70% migrate

Complex numbers, anyone?

2013-07-27 Thread Mikera
Hi all, We're having a design discussion in the Numerical Clojure group about how to extend core.matrix to efficiently handle arrays of arbitrary scalar types (out of which complex numbers represent the canonical and perhaps most important case) If this is an important or interesting topic for

Re: ANN: substantiation, An opinionated nested maps validations library

2013-07-27 Thread Jozef Wagner
Hi, Some feedback and questions, as I've made something similar in the past. - allow normal fns and classes as a predicates. - having one global Var for predicates is an antipattern - can you compose predicates logically (AND/OR)? - can you validate a contents of the vector? As an inspiration, t

Re: Can we please deprecate the :use directive ?

2013-07-27 Thread Colin Fleming
>From another point of view, as a tool developer if you want to accurately parse ns declarations it's extremely difficult. :use is a beast, and the number of options you can potentially combine are crazy. This is mostly due to the fact that :use combines what most people think of as :use and also e

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

2013-07-27 Thread Mark
On Friday, July 26, 2013 2:23:33 PM UTC-5, Andy Fingerhut wrote: > > There are many who agree with Richard Stallman that it is unethical to > distribute software without the source code. > And there are many who think it's unethical to have a philosophy that it's unethical to distribute softwa