Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Kristo Koert
I unfortunately agree on the difficulty of entrance for newcomers to clojure and I'd like to add that I've been left feeling that this seem to not be a priority in the community. Once I discussed the visual asthetics of clojure.org on #clojure and although the tradeoff of easy data access and

Re: Debugging with Cider

2015-05-06 Thread Artur Malabarba
Stepping into a function that wasn't previously isntrumented is not supported yet. However, you can just instrument both functions (C-u C-M-x on each one), and when one function calls the other you'll seamlessly step through both. Cheers, Artur -- You received this message because you are

Debugging with Cider

2015-05-06 Thread Timur
Hi everyone, I just discovered after reading the post [1], CIDER has debugging facility for Clojure. It seems to be nice but what I could not find was the step in functionality. Is there such a functionality that you are aware of? Thanks in advance! Regards, Timur [1]

Re: [ANN] Instaparse 1.4.0

2015-05-06 Thread Tj Gabbour
Great to hear! This week I wasted half a day over some silly error which should've been caught quickly. Mistakenly believed the input suddenly turned complex, requiring a complicated grammar. My personal postmortem discovered a bias — I thought, Cool, let's whip out Instaparse! Let's paint a

[ANN] Ubergraph 0.1.1

2015-05-06 Thread Mark Engelberg
Ubergraph is a recently-released Clojure graph data structure, compatible with Loom and supporting additional functionality: https://github.com/Engelberg/ubergraph In the 0.1.1 release, I added some more convenient ways to manipulate the attribute maps of nodes and edges (add-attrs,

[ANN] Instaparse 1.4.0

2015-05-06 Thread Mark Engelberg
Instaparse 1.4.0 is now deployed to clojars and available to use in leiningen projects by adding [instaparse 1.4.0] to your project file. Instaparse is a convenient way to generate parsers from context-free grammars. The new release features an improved algorithm for handling complex nested

Re: Debugging with Cider

2015-05-06 Thread Timur
Okay thanks that should be enough. On Wednesday, May 6, 2015 at 12:07:29 PM UTC+2, Artur Malabarba wrote: Stepping into a function that wasn't previously isntrumented is not supported yet. However, you can just instrument both functions (C-u C-M-x on each one), and when one function calls

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Hildeberto Mendonça
Recommended article for those who want a library accumulator, with 20% effective utility and 80% fat, also called framework: http://www.computer.org/cms/Computer.org/ComputingNow/issues/2015/04/mso2015020010.pdf On Wed, May 6, 2015 at 8:48 AM, Kristo Koert kristo.ko...@gmail.com wrote: I

Re: Metadata loss. What am I doing wrong?

2015-05-06 Thread Andrey Antukh
Thank you very much to all! Now I completely understand the metadata behavior with the reader. I'll try to adopt eastwood, thanks for the suggestion. Is clearly that the documentation confuses a little bit. Cheers! Andrey 2015-05-05 23:25 GMT+02:00 James Reeves ja...@booleanknot.com: The

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

2015-05-06 Thread Phillip Lord
richard.mo...@posteo.de writes: The goal of this project is to develop a comprehensive and extensible model for describing Clojure sources from an API perspective. I will also write a program that analyses Clojure sources according to this model and outputs data documenting their usage. This

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Paul deGrandis
This is for Sean specifically, but hopefully this will clear some things up for other people I would argue that Pedestal is perhaps objectively simpler than Ring. I would also add it's more performant, more flexible, and more secure (by default). In Pedestal, everything is an interceptor - a

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

2015-05-06 Thread Bozhidar Batsov
I think the real problem is the lack of conventions for adding metadata to docstrings. I sorely miss `some-func/var' and SOME-PARAM from Emacs Lisp. It's always clear where you refer to other functions/variables and to parameters. This makes it way easier to read (and parse) a docstring. On 6 May

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Surgo
Projects like Pedestal do themselves a tremendous disservice with their poor front pages. It's probably an amazing project but it was very difficult to get a sense from the README.Md what it could actually do for me. Whoever owns the Pedestal project, please add a section to the top that is

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Stanislav Yurin
Colin, Indeed, there is no ready-made shopping cart for Clojure (from what I know). Recently I was making the personal project site, and was also seeking for that, with no luck. Until I have realized that the shopping cart is just two data tables and (optional) user auth system (buddy worked

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Avi Avicenna
There is one, Wakeful (https://github.com/ninjudd/wakeful) routing library fits your criteria. Here I copy the sample from its README (use 'flatland.wakeful.core) (def handler (wakeful awesome.api)) Now http calls dispatch to methods calls in namespaces under awesome.api: GET

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Stanislav Yurin
A bit strange approach. Where are ring, compojure, or maybe .. om? Also, most of the time you do not need any complex framework to build a basic webservice with Clojure. Say, Luminus and Caribou are too complex for me, hence too restrictive. After writing sufficient amount of fairly good

Re: moving from core.async/reduce to transducers

2015-05-06 Thread adrian . medina
It will act exactly like transduce if you put a transducer on the input channel. On Wednesday, May 6, 2015 at 12:26:55 PM UTC-4, Pierre-Yves Ritschard wrote: Hi clojure, There's a thing I find myself doing often in some of my projects where I reduce over a core.async channel this way:

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Tj Gabbour
On Wednesday, May 6, 2015 at 11:12:58 PM UTC+2, Andy Fingerhut wrote: Maybe you are not aware of the history, but clojure-doc.org exists specifically because someone who spoke out loudly and repeatedly against CAs took the time to create it, and it _only_ requires a Github account and

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

2015-05-06 Thread Alex Miller
On Wednesday, May 6, 2015 at 6:17:37 AM UTC-5, Phillip Lord wrote: richar...@posteo.de javascript: writes: The goal of this project is to develop a comprehensive and extensible model for describing Clojure sources from an API perspective. I will also write a program that analyses

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Tj Gabbour
On Wednesday, May 6, 2015 at 9:15:53 PM UTC+2, Andy Fingerhut wrote: I am not 'in the know' on decisions regarding clojure.org. [...] What I find more interesting than the portion of Sean Corfield's post that you chose to quote, was this one (emphasis added by me): To clarify, because

Re: how goeth the STM experiment?

2015-05-06 Thread Raoul Duke
Thanks for the thoughts! If anybody also has any other STM experience (e.g. Haskell?) to compare/contrast, that would be nifty to hear. -- 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

Re: how goeth the STM experiment?

2015-05-06 Thread James Reeves
On 6 May 2015 at 21:58, Alex Miller a...@puredanger.com wrote: I would have to say that the biggest surprise is how little they're needed in Clojure. The combination of immutable data, functions to update complex data structures, and fast pure function updates with atoms actually satisfies a

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Fluid Dynamics
On Wednesday, May 6, 2015 at 3:15:53 PM UTC-4, Andy Fingerhut wrote: The rough edges show up on a lot of things in the Clojure ecosystem. I know I suck at documentation which is why I moved clojure.java.jdbc’s documentation out to

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

2015-05-06 Thread Alex Miller
On Tuesday, May 5, 2015 at 7:37:47 PM UTC-5, richar...@posteo.de wrote: Am Mittwoch, 6. Mai 2015 07:17:54 UTC+9 schrieb kovasb: I'm mostly interested in something like http://docs.racket-lang.org/scribble/ Thanks for the idea! There is http://clojure-scribble.publicfields.net/, which

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

2015-05-06 Thread Alex Miller
On Wednesday, May 6, 2015 at 3:30:57 PM UTC-5, Fluid Dynamics wrote: On Wednesday, May 6, 2015 at 4:09:54 PM UTC-4, Alex Miller wrote: Yes, I think that's largely correct. The goal of Richard's project is to create an information model (data) describing a project from the perspective of

Re: ClojureCLR and nrepl ?

2015-05-06 Thread Alex Miller
https://github.com/clojure/clr.tools.nrepl On Wednesday, May 6, 2015 at 3:39:18 PM UTC-5, rogergl wrote: Does ClojureCLR provide an nrepl implementation that would allow vim.fireplace to connect to his session ? Regards Roger -- You received this message because you are subscribed to

Re: how goeth the STM experiment?

2015-05-06 Thread Alex Miller
I would have to say that the biggest surprise is how little they're needed in Clojure. The combination of immutable data, functions to update complex data structures, and fast pure function updates with atoms actually satisfies a large percentage of real use cases. For cases where you do need

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Alex Miller
On Wednesday, May 6, 2015 at 2:15:53 PM UTC-5, Andy Fingerhut wrote: First some facts, without any evaluation: There are only a handful of people in the world with authorization to edit pages on clojure.org. I would guess maybe only 5. 14 Far more have authorization to edit the wiki

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

2015-05-06 Thread Alex Miller
On Monday, May 4, 2015 at 6:27:47 PM UTC-5, richar...@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 tools.analyzer (and friends) is out and ClojureScript has made so

Re: Embedded systems and transpiling Clojure to Nim

2015-05-06 Thread Alan Moore
Paul, I'm quite impressed with what you and Timothy have done. I'm taking a third look at Pixie and cljs-terra. Is there any chance that cljs-terra could run on generic lua instead of terra/luajit? The main problem I'm having is that anything that isn't interpreted (or that generates C/C++ I

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Alex Miller
On Wednesday, May 6, 2015 at 11:34:15 AM UTC-5, Sean Corfield wrote: On May 5, 2015, at 11:48 PM, Kristo Koert kristo...@gmail.com javascript: wrote: My argument was that a more visually appealing homepage would leave a better first impression and attract more new beginner developers to

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

2015-05-06 Thread Fluid Dynamics
On Wednesday, May 6, 2015 at 4:09:54 PM UTC-4, Alex Miller wrote: Yes, I think that's largely correct. The goal of Richard's project is to create an information model (data) describing a project from the perspective of use. Codeq goes much deeper by integrating code history - that allows

ClojureCLR and nrepl ?

2015-05-06 Thread rogergl
Does ClojureCLR provide an nrepl implementation that would allow vim.fireplace to connect to his session ? Regards Roger -- 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

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Andy Fingerhut
On Wed, May 6, 2015 at 1:27 PM, Fluid Dynamics a2093...@trbvm.com wrote: On Wednesday, May 6, 2015 at 3:15:53 PM UTC-4, Andy Fingerhut wrote: The rough edges show up on a lot of things in the Clojure ecosystem. I know I suck at documentation which is why I moved clojure.java.jdbc’s

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Andy Fingerhut
First some facts, without any evaluation: There are only a handful of people in the world with authorization to edit pages on clojure.org. I would guess maybe only 5. Far more have authorization to edit the wiki pages on dev.clojure.org -- hundreds, I think. A subset of those who have signed a

moving from core.async/reduce to transducers

2015-05-06 Thread Pierre-Yves Ritschard
Hi clojure, There's a thing I find myself doing often in some of my projects where I reduce over a core.async channel this way: (core.async/reduce update-fn init-state input-channel) By doing this on a stream of inbound events. When looking at doing this with transducers, it's a bit unclear how

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Sean Corfield
Thanks Avi! I’ll bookmark that and see whether I can either borrow from it or contribute to it in the context of FW/1 :) Sean On May 6, 2015, at 3:46 AM, Avi Avicenna maverick.avice...@gmail.com wrote: There is one, Wakeful (https://github.com/ninjudd/wakeful) routing library fits your

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Sean Corfield
On May 6, 2015, at 4:26 AM, Paul deGrandis paul.degran...@gmail.com wrote: I would argue that Pedestal is perhaps objectively simpler than Ring. I would also add it's more performant, more flexible, and more secure (by default). As Surgo said in the other thread: Projects like Pedestal do

payment gateway integration: Authorize.net + rough shopping cart

2015-05-06 Thread Sven Pedersen
I've put together a rough API to use Authorize.net for credit card transactions through Authorize.net -- not as clean as Stripe, but lower fees. https://github.com/sventechie/authorize-net-clj I'm hoping some other people want this and are interested in participating. I'm not a very advanced

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread larry google groups
Also, most of the time you do not need any complex framework to build a basic webservice with Clojure. True. Also, what is a basic web service? I have a friend who just got done with the 12 week crash-course in Rails that is offered by DevBootcamp in New York City. In 12 weeks he had to

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Sean Corfield
On May 6, 2015, at 12:15 PM, Andy Fingerhut andy.finger...@gmail.com wrote: What I find more interesting than the portion of Sean Corfield's post that you chose to quote, was this one (emphasis added by me): Thank you Andy, yes, that was indeed my main point. The guides repo (behind

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Tj Gabbour
On Wednesday, May 6, 2015 at 6:34:15 PM UTC+2, Sean Corfield wrote: The issue has been raised several times and is pretty much always shut down by those in charge. It was a huge struggle just to have the Getting Started page updated to remove complexity and point at the wiki instead

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Sven Richter
Hi, I had a short chat with Dmitri (the owner of luminus) and we both agreed that this is a good plan. I just don't have much time right now (family things), but as soon as there is more I will develop a prototype, integrating the features of closp and closp-crud into luminus and make them

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Sven Pedersen
Hey Sven, It looks to me like you could really polish the +auth part and integrate most of that part of closp into Luminus. I'd be happy to help with that. Then you could make a +closp that depends on +auth and build the UI parts, etc. Having a working +auth with a default db configuration,

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread larry google groups
Maybe I don't entirely understand what a web framework is, but it seems to me like Immutant is an example of something that might fit into a lot of the buckets. I agree. Perhaps people feel that it lacks the auto-generation of scaffolding for CRUD? Though I imagine that would be easy to

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Shaun Mahood
On top of all of that, Pedestal is a non-starter for me due to the specific definition of Windows being a non-supported platform. On Wednesday, May 6, 2015 at 10:48:58 AM UTC-6, Sean Corfield wrote: On May 6, 2015, at 9:42 AM, Sean Corfield se...@corfield.org javascript: wrote: And that’s

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Sven Pedersen
Yes, Sven Richter has started a project called closp-crud that does just that. However it is also pretty easy to use Korma or YeSQL directly, especially from Luminus. --Sven On Wednesday, May 6, 2015 at 1:15:20 PM UTC-4, larry google groups wrote: Maybe I don't entirely understand what a web

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Sean Corfield
On May 5, 2015, at 11:48 PM, Kristo Koert kristo.ko...@gmail.com wrote: My argument was that a more visually appealing homepage would leave a better first impression and attract more new beginner developers to check out clojure. (Ex. comparing haskell.org or scala-lang.org vs clojure.org). An

Re: Dynamic/Convention-based routing libraries? (was: Clojure needs a web framework with more momentum

2015-05-06 Thread Sean Corfield
On May 6, 2015, at 9:42 AM, Sean Corfield s...@corfield.org wrote: And that’s why I thought that Pedestal looked very complex and hard to use. Even the Hello World example is couched in terms that make it look overly complex. I Googled to see if there was a better page explaining Pedestal

Re: What is a real example of the Observer pattern?

2015-05-06 Thread Timothy Baldridge
add-watch is a good example of this: https://clojuredocs.org/clojure.core/add-watch On Wed, May 6, 2015 at 8:33 PM, larry google groups lawrencecloj...@gmail.com wrote: I am looking here: https://strange-loop-2012-notes.readthedocs.org/en/latest/monday/functional-design-patterns.html I

Job opening at Teradata

2015-05-06 Thread Paul Gearon
Hi, Our team at Teradata is looking for new Clojure devs. Ideally we are hoping to find people in/around Boston, but we are prepared to consider remote candidates for the right people. The role involves a lot of interaction with Hadoop, with all the metadata for managing datasets stored in

What is a real example of the Observer pattern?

2015-05-06 Thread larry google groups
I am looking here: https://strange-loop-2012-notes.readthedocs.org/en/latest/monday/functional-design-patterns.html I read: Observer Pattern https://strange-loop-2012-notes.readthedocs.org/en/latest/monday/functional-design-patterns.html#observer-pattern - Register an observer with a

Re: ClojureCLR and nrepl ?

2015-05-06 Thread dmiller
Not completely functional and not thoroughly tested. Several tests still fail -- the most important one being interrupting an eval. (I know what the fix is, but haven't had the time.) On Wednesday, May 6, 2015 at 3:58:34 PM UTC-5, Alex Miller wrote: https://github.com/clojure/clr.tools.nrepl

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread larry google groups
This is certainly true: Docs are about empathy, which means discussions should show empathy. I am not sure what you mean by That response does not respect people’s limited time. I think you mean that Pull Requests are often a waste of time, because you can not be certain if the Pull Request

Re: how goeth the STM experiment?

2015-05-06 Thread Surgo
I'm not saying this is everyone's experience or anything, but at times I have at times considered some deeper STM-work with agents but I could not seem to penetrate the documentation at the time. I do not know if it's different now -- Morgon On Wednesday, May 6, 2015 at 5:38:08 PM UTC-4,

What is best practice regarding transducers

2015-05-06 Thread larry google groups
I would like to write a detailed blog post about how developers are actually using transducers. If you have a public project on Github that is using transducers, would you please point me to it? I would like to see what you did. If you are not using transducers, but you plan to in the near

Re: Clojure needs a web framework with more momentum

2015-05-06 Thread Sven Pedersen
Good points, puzzler. I'm in the last stages of getting an commerce site ready for production and my issues with getting authentication to work properly may force my company to switch to an inferior but easier to configure technology (i.e., abandon Clojure). Sven Richter's friend-ui/closp

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

2015-05-06 Thread Phillip Lord
Indeed. I think Emacs docstrings are a bottom line -- Clojure should be able to make these distinctions at least. And this would in turn allow tools to use them. Why can I not click on function names in a docstring and go to the function definition? Phil Bozhidar Batsov bozhi...@batsov.com