Re: Do web apps need Clojure?

2013-11-14 Thread Bayard Randel
In a world where increasingly we're pushing more logic, rendering to the client, what is there in the python ecosystem to support this? I'm a professional django developer and am a bit dumbstruck by the lack of interest in supporting python on the client. Clojure and ClojureScript are far more

Re: Clojure Users Group - Denmark

2013-11-14 Thread Jacob Mortensen
I do clojure+clojurescript hobby programming at home. I live in copenhagen. It seems there is a clojure user group here in copenhagen, but I havent been able to locate it. --Jacob Den torsdag den 14. november 2013 11.47.13 UTC+1 skrev Anders Konring Olesen: > > Anyone developing clojure in Den

Re: How could you solve this problem

2013-11-14 Thread Leon Grapenthin
Edited version with more code-cleanup (got rid of result symbol): https://www.refheap.com/20882 I have finally managed to register to refheap and will keep this one updated in case I make more changes. That problem you have posted can really keep your head spinning if you want to implement it in

Re: [ANN] datasource 0.1 - Small clojure library for access to environment dependent configuration.

2013-11-14 Thread Andrey Antukh
Now renamed to env-config for avoid confusion. Thanks for suggestion! New link: https://github.com/niwibe/env-config 2013/11/14 Andrey Antukh > Hi John. > > I know, but I chose this name because other frameworks (like Grails, > Spring, etc...) have this name for it purpose. > > But... I open t

Re: Regarding Clojure's license

2013-11-14 Thread Paul L. Snyder
On Thu, 14 Nov 2013, Korny Sietsma wrote: > > any sufficiently poorly worded argument is indistinguishable from > > trolling. > > Is that original? I want to quote it. A lot. Heh. The reaction was spontaneous and the phrasing is my own. I wasn't thinking about Poe's Law at the time, but it's som

Re: Do web apps need Clojure?

2013-11-14 Thread J Irving
On Thu, Nov 14, 2013 at 2:53 PM, Brian Craft wrote: > On Thursday, November 14, 2013 10:50:48 AM UTC-8, Jonathan Irving wrote: > >> * Brian Craft [2013-11-14 10:24 -0800]: >> > On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote: >> > > >> > > I agree with much of what you wri

Re: [ClojureScript] ANN: ClojureScript 0.0-2030, core.async compatibility

2013-11-14 Thread Tim Visher
Figure I'd ask this on this thread since it's the latest public release. I'm trying to get relative source maps to work and I'm not sure if I'm doing something wrong or there's a bug. I have the following entry in my [project.clj][] `cljsbuild` section with `0.0-2030` in my deps: {:id

[ANN] cwo.io, a Twitter/sharable web REPL

2013-11-14 Thread Paul Bostrom
Hey folks For fun I built a Twitter REPL. If you have a Twitter account, you can tweet Clojure code to the Twitter handle "@cwoio", i.e. "@cwoio (range 10)". After about a minute you should get an @ reply to your tweet with the return value, which will show up in your mentions feed, or your main

Re: a possibly vague question

2013-11-14 Thread Jim - FooBar();
putting the entire macro call 'with-busy' in a future solved the issue...I have been bitten by this sort of thing before...I'll have tos top being so forgetful. Thanks for reminding me Dave and also a massive RESPECT for seesaw :) Jim On 14/11/13 20:26, Dave Ray wrote: As noted over on the S

Re: a possibly vague question

2013-11-14 Thread Paul L. Snyder
On Thu, 14 Nov 2013, Jim - FooBar(); wrote: > I have a (seesaw) GUI with a swingx.busy-label which I want > activated when certain tasks are performed. The code that i've > written so fat works perfectly at the repl but for some bizarre > reason it won't work when attached as a handler to a butto

Re: a possibly vague question

2013-11-14 Thread Jim - FooBar();
oops! I am not receiving regular updates from the seesaw mailing list so I did not see that..sincere apologies. I will try what you suggest immediately :) thanks again Jim On 14/11/13 20:26, Dave Ray wrote: As noted over on the Seesaw list, your pdf loading code is blocking the UI thread. W

Re: a possibly vague question

2013-11-14 Thread Dave Ray
As noted over on the Seesaw list, your pdf loading code is blocking the UI thread. When you call it from the REPL, it's a separate thread so the button has a chance to update itself. You'll need to put the pdf loading on a separate thread if you want to the UI to update and stay responsive. Cheers

Re: a possibly vague question

2013-11-14 Thread Josh Kamau
Try to create a simple app that just demonstrate the issue. Then send the sample to the mailing list. Most likely you won't have to send because you will discover the problem in the process. Josh On 14 Nov 2013 23:08, "Jim - FooBar();" wrote: > Hi people, > > I 'll have to apologise in advance

a possibly vague question

2013-11-14 Thread Jim - FooBar();
Hi people, I 'll have to apologise in advance for the potential vagueness of my question but I am utterly baffled by the behaviour I am seeing and I'd like to share & ask. I have a (seesaw) GUI with a swingx.busy-label which I want activated when certain tasks are performed. The code that i'

Re: Do web apps need Clojure?

2013-11-14 Thread Brian Craft
On Thursday, November 14, 2013 10:50:48 AM UTC-8, Jonathan Irving wrote: > > * Brian Craft > [2013-11-14 10:24 > -0800]: > > On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote: > > > > > > I agree with much of what you write James - I'm paid to write rails > and > > > no

Re: How could you solve this problem

2013-11-14 Thread Leon Grapenthin
I have now modified the implementation so that it generates all possible rings for any given length as a lazy sequence. On Thursday, November 14, 2013 7:19:37 PM UTC+1, Leon Grapenthin wrote: > > Ah, I just saw the exercise demands all possible rings to be printed which > quite spams the REPL. >

Re: Do web apps need Clojure?

2013-11-14 Thread James Reeves
On 14 November 2013 17:55, Brian Craft wrote: > > On Thursday, November 14, 2013 9:17:32 AM UTC-8, James Reeves wrote: > >> >> For instance, database migrations. This was something I thought about a >> lot a few years ago, until I gradually realised that I wasn't finding >> myself in any situatio

Re: Do web apps need Clojure?

2013-11-14 Thread Justin Smith
On Thursday, November 14, 2013 10:23:40 AM UTC-8, Stanislav Sedov wrote: > > 3) General lack of decent tools. The only jvm debugger, jdb, > while nice, does not allow you to attach to an already running > process like gdb would. Profiling tools are pretty much GUI > only so won't

Re: Do web apps need Clojure?

2013-11-14 Thread J Irving
* Brian Craft [2013-11-14 10:24 -0800]: > On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote: > > > > I agree with much of what you write James - I'm paid to write rails and > > node.js code, and I'm finding that node is encouraging me to compose > > small components and basica

Re: Do web apps need Clojure?

2013-11-14 Thread Waldemar Schwan
I just want to say that this is one of the most interesting discussions I followed on this mailing list. Thanks to all participants. Am 14.11.2013 um 19:24 schrieb Brian Craft : > > > On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote: > I agree with much of what you write

Re: Do web apps need Clojure?

2013-11-14 Thread Stanislav Sedov
On Nov 14, 2013, at 3:28 AM, Sean Johnson wrote: > Agreed. This is a huge point. And not just in lowered hosting costs, but also > potentially a better user experience (lower latency). I am actually not sure how true it is. While the raw throughput of JVM applications is indisputably much hi

Re: Do web apps need Clojure?

2013-11-14 Thread Brian Craft
On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote: > > I agree with much of what you write James - I'm paid to write rails and > node.js code, and I'm finding that node is encouraging me to compose > small components and basically sidestep a lot of the issues that rails >

Re: How could you solve this problem

2013-11-14 Thread Leon Grapenthin
Ah, I just saw the exercise demands all possible rings to be printed which quite spams the REPL. Here is a modified version that does that https://www.refheap.com/20871 On Tuesday, November 12, 2013 11:39:18 PM UTC+1, Round Robin wrote: > > Can anyone help me solving this problem in clojure 1196

Re: Do web apps need Clojure?

2013-11-14 Thread J Irving
* James Reeves [2013-11-14 17:17 +]: > For instance, database migrations. This was something I thought about a lot > a few years ago, until I gradually realised that I wasn't finding myself in > any situations where I needed them. I agree with much of what you write James - I'm paid to write

Re: Do web apps need Clojure?

2013-11-14 Thread vrakade
Attaching nREPL to debug a live application is pretty cool. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your

Re: [ANN] strict-typed-ops 0.1.0

2013-11-14 Thread Peter Fraenkel
Well, this is of course my favorite subject... If we want to truly emulate Scala, then I think we'd have (t/ann ^:no-check conj-vec (All [x [y :> x]] [(t/Vec x) y y * -> (t/Vec y)])) because you can append a supertype and get back a vector of the supertype. (t/ann ^:n

Re: Do web apps need Clojure?

2013-11-14 Thread Brian Craft
On Thursday, November 14, 2013 9:17:32 AM UTC-8, James Reeves wrote: > > On 14 November 2013 16:22, Brian Craft >wrote: > >> >> I don't believe the legos analogy is very accurate for clojure. Or, >> rather, it's more of a vision than a reality. I'm unaware of any libraries >> in clojure that y

Re: How could you solve this problem

2013-11-14 Thread Leon Grapenthin
Corrected version link: https://www.refheap.com/20869 On Thursday, November 14, 2013 5:42:31 PM UTC+1, Leon Grapenthin wrote: > > Here you go: > https://www.refheap.com/20868 > > On Tuesday, November 12, 2013 11:39:18 PM UTC+1, Round Robin wrote: >> >> Can anyone help me solving this problem in cl

Re: Do web apps need Clojure?

2013-11-14 Thread James Reeves
On 14 November 2013 16:22, Brian Craft wrote: > > I don't believe the legos analogy is very accurate for clojure. Or, > rather, it's more of a vision than a reality. I'm unaware of any libraries > in clojure that you can piece together to give you the features of > django-south, django admin, and

Re: Do web apps need Clojure?

2013-11-14 Thread gaz jones
There is no reason not to consider using a combination of both technologies. I have found Clojure is excellent for writing http services (for example sending/receiving JSON), but is a bit weak in comparison to say the combination of ruby and haml for building UIs quickly. On Thu, Nov 14, 2013 at

Re: Do web apps need Clojure?

2013-11-14 Thread Manuel Paccagnella
Il giorno giovedì 14 novembre 2013 17:22:03 UTC+1, Brian Craft ha scritto: > > > > On Thursday, November 14, 2013 2:28:51 AM UTC-8, Sean Johnson wrote: >> >> Framework vs. ecosystem of interoperable libraries. The monolithic >> framework (see Rails and Django) is not the way web development is d

ANN: data.fressian, read and write Fressian from Clojure

2013-11-14 Thread Stuart Halloway
data.fressian [1] is a Clojure-language wrapper for the reference implementation [2] of Fressian. I am still setting up CI, maven release, etc. but wanted to get the source up so that interested parties can peruse and contribute. The wiki at [2] is currently the best source of documentation. Che

Re: [ANN] datasource 0.1 - Small clojure library for access to environment dependent configuration.

2013-11-14 Thread Andrey Antukh
Hi John. I know, but I chose this name because other frameworks (like Grails, Spring, etc...) have this name for it purpose. But... I open to change the name to one other. Any suggestions? Thanks Andrey 2013/11/14 John D. Hume > One piece of feedback: the name "datasource" is confusing, giv

Re: How could you solve this problem

2013-11-14 Thread Leon Grapenthin
Here you go: https://www.refheap.com/20868 On Tuesday, November 12, 2013 11:39:18 PM UTC+1, Round Robin wrote: > > Can anyone help me solving this problem in clojure 1196 - Ring of Primes > http://coj.uci.cu/24h/problem.xhtml?abb=1196 > -- -- You received this message because you are subscribe

Re: [ANN] datasource 0.1 - Small clojure library for access to environment dependent configuration.

2013-11-14 Thread John D. Hume
One piece of feedback: the name "datasource" is confusing, given javax.sql.DataSource, as seen, for example, at http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html# setting-up-a-data-source On Thu, Nov 14, 2013 at 10:09 AM, Andrey Antukh wrote: > > https://github.com/niwibe/datasource

Re: Do web apps need Clojure?

2013-11-14 Thread Brian Craft
On Thursday, November 14, 2013 2:28:51 AM UTC-8, Sean Johnson wrote: > > Framework vs. ecosystem of interoperable libraries. The monolithic > framework (see Rails and Django) is not the way web development is done in > Clojure. Instead imagine the Clojure world as a set of legos. You get to >

[ANN] datasource 0.1 - Small clojure library for access to environment dependent configuration.

2013-11-14 Thread Andrey Antukh
Hi! A few days ago, I released some small library for setup environment dependent configuration. And I share it here in case it may be useful to someone. https://github.com/niwibe/datasource Feedback always welcomed. Andrey -- Andrey Antukh - Андрей Антух - http://www.niwi.be/about.html http:

Re: Do web apps need Clojure?

2013-11-14 Thread Brian Craft
On Thursday, November 14, 2013 1:01:33 AM UTC-8, Ryan Spangler wrote: > > I've also used Python extensively (and we still have some projects in it), > but there is a lot of complexity in just dealing with the environments and > dependencies (virtualenv is a standard practice now?) Once people

[ANN] Tawny-OWL 1.0

2013-11-14 Thread Phillip Lord
I am please to announce the first full release of Tawny-OWL, my library for fully programmatic development of OWL ontologies. The library now has a fairly large feature set: ** Complete support for OWL2 ** Integrated support for reasoning with HermiT or ELK ** Profile checking ** Fixtures and su

[ANN] strict-typed-ops 0.1.0

2013-11-14 Thread Ambrose Bonnaire-Sergeant
Hi, Announcing a new library which adds Scala-style *static* strictness to collection operations. The first version is a proof-of-concept: please read the contributing guidelines if you want to contribute. The README

Re: Do web apps need Clojure?

2013-11-14 Thread Marcus Blankenship
Interesting you suggest that, as that's exactly what we decided to do. :-) Thanks, Marcus Marcus Blankenship 541-805-2736 > On Nov 14, 2013, at 12:11 AM, Bastien wrote: > > Marcus Blankenship writes: > >> Brian, that’s really interesting. I think we’re seeing something >> similar, and are goi

Re: Do web apps need Clojure?

2013-11-14 Thread Marcus Blankenship
Good point! Thanks, Marcus Marcus Blankenship 541-805-2736 On Nov 14, 2013, at 12:57 AM, Islon Scherer wrote: For me it's about 1 thing: Data. A web application is about taking data from the user, transform it and store it on the database and take data from the database, transform it and show

Re: Regarding Clojure's license

2013-11-14 Thread Phillip Lord
To me, this section appears to be about the LGPL library; so if you are using an LGPL library, you cannot obsfucate in your (possibly modified) version of it, nor prevent people debugging the library. Sounds to me like jobsworth lawyers -- either they can spend time understand something or they c

Re: Clojure Users Group - Denmark

2013-11-14 Thread Anders Konring Olesen
Anyone developing clojure in Denmark at the moment? On Thursday, April 2, 2009 1:31:50 AM UTC+2, fyuryu wrote: > > Hi, > > I'm currently in Copenhagen so I'm definitely interested. > > -Roland -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: Regarding Clojure's license

2013-11-14 Thread Alx3T32
This is musicdenotat...@gmail.com. I wasn't able to post from that account. If I have been banned, then listen to my apology: This user does not intend to disrupt or deface this forum or the Clojure community. He is just trying to get the Clojure's license changed. This topic has been discussed

Re: Annoying Emacs Problem

2013-11-14 Thread Alexandru Nedelcu
On 14.11.2013 10:52, Haim Ashkenazi wrote: > I believe emacs-starter-kit displays all your “(fn” as “(ƒ”. This has no > effect on the program. If you’ll open the file in a different text editor > you’ll see it with regular “(fn”. It’s just a nicer display. OK, this is embarrassing :-) I wasn't not

Re: Do web apps need Clojure?

2013-11-14 Thread Sean Johnson
I'm a "Rails guy" who now uses Clojure for all new web development, so don't take what I'm about to say as disagreeing with Justin. As someone with a foot firmly in both worlds, a couple of Justin's points aren't really marks in Clojure's favor, at least compared to Ruby/Rails (I can't say as

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-14 Thread Eric Turner
You typically need two spaces at the end of a line of markdown to force a line break. If your converter supports Github-flavored markdown then I think that will respect newlines. I've used marked.json my personal note-taking web app, and it lets you configure it

Re: Annoying Emacs Problem

2013-11-14 Thread Neil Dunbar
On 14/11/13 08:52, Haim Ashkenazi wrote: Hi Alexandru, I believe emacs-starter-kit displays all your “(fn” as “(ƒ”. This has no effect on the program. If you’ll open the file in a different text editor you’ll see it with regular “(fn”. It’s just a nicer display. Does the same in python mod

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-14 Thread Yuan
This is really cool, very happy to see things like this >_> Best regards - Yuan blog github On Thu, Nov 14, 2013 at 4:24 AM, Dmitri wrote: > I notice you're using a fairly old version of markdown-clj [markdown-clj

Re: Do web apps need Clojure?

2013-11-14 Thread Ryan Spangler
Marcus, To answer your original question, the main reason we use Clojure is that we were originally using Ruby, and once our sites got to a certain level of traffic they fell over badly. Rewriting the system in Clojure meant literally two orders of magnitude performance increase, which at the

Re: Do web apps need Clojure?

2013-11-14 Thread Islon Scherer
For me it's about 1 thing: Data. A web application is about taking data from the user, transform it and store it on the database and take data from the database, transform it and show it to the user. Clojure is the best language I used to work with data, it just gives you a composable set of to

Re: Annoying Emacs Problem

2013-11-14 Thread Haim Ashkenazi
Hi Alexandru, I believe emacs-starter-kit displays all your “(fn” as “(ƒ”. This has no effect on the program. If you’ll open the file in a different text editor you’ll see it with regular “(fn”. It’s just a nicer display. HTH Haim On Thu, Nov 14, 2013 at 10:29 AM, Alexandru Nedelcu wrote: > H

Annoying Emacs Problem

2013-11-14 Thread Alexandru Nedelcu
Hi guys, I've got an embarrassing problem with Emacs. In Clojure mode, I cannot type "(fn", at all. I cannot copy paste text with "(fn" either, the "n" simply vanishes. Therefore, I can only declare anonymous functions by means of #(). :-) For setting up the environment I followed the Getting S

Re: Do web apps need Clojure?

2013-11-14 Thread Bastien
Marcus Blankenship writes: > Brian, that’s really interesting. I think we’re seeing something > similar, and are going to look at Pedestal and Caribou as options for > a project we’re working on. Are their others we should consider? Perhaps you should consider starting from scratch, in paralle