Re: Code layout

2013-12-10 Thread John Gabriele
On Tuesday, December 10, 2013 9:24:16 PM UTC-5, Plinio Balduino wrote: Hi there What is the ideal way to format Clojure code? I'm following Batsov's Style Guide but, in some moments, it sounds a bit confuse to me. To the point: (reduce + (filter even? nums))

Re: library development

2013-12-20 Thread John Gabriele
Ah, neat. This works great! If I can just `lein install` my libs (or other people's libs) and then use them in all my projects (just like the libs found at clojars), what extra functionality does lein-localrepo provide beyond that? -- John On Friday, December 20, 2013 9:22:30 AM UTC-5,

Re: library development

2013-12-20 Thread John Gabriele
On Friday, December 20, 2013 9:22:30 AM UTC-5, Daniel Higginbotham wrote: lein install actually installs your library ~/.m2/repository in addition to creating the pom and jar. That should be all you need to do. On Friday, December 20, 2013 12:16:59 PM UTC-5, John Gabriele wrote: Ah, neat

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-05 Thread John Gabriele
On Saturday, January 4, 2014 1:12:12 PM UTC-5, Michael Gardner wrote: Hopefully the landscape for alternative Clojure hosts will improve with the completion of CinC [2]. [2] https://github.com/Bronsa/CinC Looks like CinC is now: * https://github.com/clojure/tools.analyzer *

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread John Gabriele
On Wednesday, January 8, 2014 7:17:35 AM UTC-5, Mikera wrote: The JVM isn't really the problem though, at least as far as I can work out. In fact I think the whole JVM startup is slow thing is a bit of a myth: JVM startup including running a simple hello world is less than 0.1 secs on my

Re: Contributors needed for Rouge (Clojure on Ruby)

2014-01-08 Thread John Gabriele
On Wednesday, January 8, 2014 11:17:07 AM UTC-5, tbc++ wrote: And even clojure-py is miles behind stock python. One of the problems with Clojure as it stands now is that there is just way too much init work that has to be done on every startup. Just as a comparison, let's compare how

clojure.java.shell/sh and expand wildcard

2014-01-21 Thread John Gabriele
I'd like to do something like: user= (require '[clojure.java.shell :as sh]) user= (sh/sh ls *.txt) but get: {:exit 2, :out , :err ls: cannot access *.txt: No such file or directory\n} even though there *are* a few .txt files present. That error message is the same one I'd get if

Re: Should predicates always have one argument?

2014-01-31 Thread John Gabriele
It looks like the `comparator` function wants you to give it a 2-arg predicate. -- John On Friday, January 31, 2014 11:55:30 AM UTC-5, Andy Fingerhut wrote: While most of the functions and macros in Clojure core with a ? at the end take 1 arg, there are several that take two: contains?

Re: Can't start repl with Leiningen

2014-02-25 Thread John Gabriele
On Sunday, February 23, 2014 4:32:54 PM UTC-5, Matej Fröbe wrote: Hello Clojure users! I have a problem with running *$lein repl* After some time I get: *REPL server launch timed out.* *$lein run myproject* works fine Leiningen and Java versions are: *$lein versionLeiningen 2.3.4 on

Re: clojure.java.shell/sh and expand wildcard

2014-02-25 Thread John Gabriele
On Tuesday, January 21, 2014 11:05:13 PM UTC-5, Michael Gardner wrote: Try (sh “bash” “-c” “ls *.txt”). Sorry for the belated reply, Michael. Thanks so much for the help; works! -- John -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: Can't start repl with Leiningen

2014-02-26 Thread John Gabriele
On Wednesday, February 26, 2014 3:19:43 AM UTC-5, Matej Fröbe wrote: It seems that this is independent of where I run the project. Matej, What OS (and version) are you using? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: error in website text

2014-02-26 Thread John Gabriele
On Wednesday, February 26, 2014 10:01:16 AM UTC-5, Janek Warchoł wrote: Then it seems that i have completely misunderstood the point of that paragraph - it may be worth rewording it. Anyway, thanks for explanation. Best, Janek Could be changed to: It endeavors to be a general-purpose

algorithm help: extracting groups of consecutive ints from a sorted list

2014-03-18 Thread John Gabriele
If you've got a sorted list of numbers, for example: [1 3 4 5 7 9 10 13] where some are consecutive, how can you pull out the consecutive runs? That is, either produce [1 [3 4 5] 7 [9 10] 13]; or maybe something like [[1 7 13] [3 4 5] [9 10]] ; (the first vec is the elements

Re: [ANN] Clojure cheat sheet (v13)

2014-03-28 Thread John Gabriele
Thanks, Andy! Love love love the cheatsheet. :) -- John -- 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 first

Re: algorithm help: extracting groups of consecutive ints from a sorted list

2014-03-28 Thread John Gabriele
, John Gabriele wrote: If you've got a sorted list of numbers, for example: [1 3 4 5 7 9 10 13] where some are consecutive, how can you pull out the consecutive runs? That is, either produce [1 [3 4 5] 7 [9 10] 13]; or maybe something like [[1 7 13] [3 4 5] [9 10

Re: algorithm help: extracting groups of consecutive ints from a sorted list

2014-03-28 Thread John Gabriele
On Wednesday, 19 March 2014 08:26:43 UTC+5:30, John Gabriele wrote: If you've got a sorted list of numbers, for example: [1 3 4 5 7 9 10 13] where some are consecutive, how can you pull out the consecutive runs? That is, either produce [1 [3 4 5] 7 [9 10] 13]; or maybe something

Re: using contrib functions

2014-03-28 Thread John Gabriele
On Friday, March 28, 2014 10:40:55 PM UTC-4, Christopher Howard wrote: Hi. --Insert here the usual caveats about being new to Clojure and Java.-- I wanted to try out this Contrib function describe on this page

Re: OT: Wiki Use Survey

2014-04-08 Thread John Gabriele
On the first question, Other needs its own checkbox. -- John On Monday, April 7, 2014 7:26:08 PM UTC-4, Rich Morin wrote: My spouse (Vicki Brown) has put together a very short survey on wiki use. If this is of possible interest to you, read on... -r The SurveyMonkey page for the Wiki

Re: Natively Compiled Clojure

2013-01-25 Thread John Gabriele
On Friday, January 25, 2013 11:28:32 AM UTC-5, tbc++ wrote: The important question to ask yourself (and I'll cover this in my talk), is why do you want native Clojure? * easy direct access to C libs * fast startup time * minimal footprint Well, that's what would attract *me* to a

Re: ANN: Tawny-OWL 0.9

2013-02-05 Thread John Gabriele
On Tuesday, February 5, 2013 12:08:43 PM UTC-5, AtKaaZ wrote: you can release that on LGPL License ? does that work with the EPL of clojure ? or is it only an issue when lein uberjar-ed ? LGPL just means that the library itself is copyleft (if you make changes to it, and distribute the

Clojure/West 2013 videos?

2013-03-21 Thread John Gabriele
Are there any videos available of the talks recently given at Clojure/West? Is there a central location where these will most likely be found at some point? -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Clojure/West 2013 videos?

2013-03-21 Thread John Gabriele
On Thursday, March 21, 2013 12:29:04 PM UTC-4, Ben Mabey wrote: On 3/21/13 10:08 AM, John Gabriele wrote: Are there any videos available of the talks recently given at Clojure/West? Is there a central location where these will most likely be found at some point? Alex can

Re: [ANN] Leiningen 2.1.1 released

2013-03-22 Thread John Gabriele
Just in case it's not said enough, thank you --- and thank you to the other contributors as well --- so much for Leiningen. It is awesome. :) Ooh, and I'm grateful to see the new gpg tut in the docs! Thanks, tcrawley! (BTW, the upgrade from 2.1.0 went fine for me.) ---John On Thursday,

Re: Names and clojure.core

2013-03-30 Thread John Gabriele
On Thursday, March 28, 2013 9:53:19 AM UTC-4, Michael Klishin wrote: 2013/3/28 Mark mjt...@gmail.com javascript: Do other people have this problem? Am I just too uncreative? Am I being too terse? Simply exclude some clojure.core functions in your namespace declaration and use them as

Re: [ANN] lein-html5-docs 2.0.0

2013-04-18 Thread John Gabriele
On Thursday, April 18, 2013 6:19:26 PM UTC-4, Tassilo Horn wrote: That's how docs generated with the plugin look like: http://userpages.uni-koblenz.de/~horn/funnyqt-docs/ Nice, Tassilo! Incidentally, it looks like most of the doc strings there are pretty-much markdown-formatted. I

Re: [ANN] lein-html5-docs 2.0.0

2013-04-19 Thread John Gabriele
On Friday, April 19, 2013 3:16:58 AM UTC-4, Tassilo Horn wrote: I think the final output would look better if you assumed the docstrings themselves were markdown-formatted and rendered them as html. (That is, only have the items under Arglists in a preformatted block --- everything

Re: ANN How To Make Your Open Source Project Awesome (or: Not Suck)

2013-04-20 Thread John Gabriele
On Friday, April 19, 2013 9:37:52 PM UTC-4, da...@axiom-developer.org wrote: TL:DR Write ideas for humans around your code or it will die. Explain, don't document. Excellent post, Tim. Thanks for writing it all up. Though, I tend to think that documenting is the same

Re: ANN How To Make Your Open Source Project Awesome (or: Not Suck)

2013-04-20 Thread John Gabriele
On Saturday, April 20, 2013 11:52:29 AM UTC-4, Phil Hagelberg wrote: Anyway, everything else about the post appears solid except for one thing. It recommends the MIT license, which has no patent protection whatsoever; this could open you and your users up to liabilities in ways that are

Re: ANN How To Make Your Open Source Project Awesome (or: Not Suck)

2013-04-20 Thread John Gabriele
On Saturday, April 20, 2013 3:35:04 PM UTC-4, da...@axiom-developer.org wrote: but, in a nutshell, is literate programming: 1. put possibly-out-of-order specially-marked (with an id) code snippets throughout your doc, 2. also put an *ordered* listing of all the id's somewhere in your

Re: ANN How To Make Your Open Source Project Awesome (or: Not Suck)

2013-04-20 Thread John Gabriele
On Saturday, April 20, 2013 4:50:35 PM UTC-4, Phil Hagelberg wrote: I recommend the EPL; it's what you get when you run `lein new myproject`, and I feel like Rich made a pragmatic choice with a license that is copyleft without being virally so. My understanding is that copyleft

Re: [ANN] ClojureC 0.1

2013-04-22 Thread John Gabriele
On Sunday, April 21, 2013 4:50:57 PM UTC-4, Mark Probst wrote: Dear Clojurians, I'm happy to announce ClojureC 0.1: https://github.com/schani/clojurec Wow! Exciting news! I'm curious: what (if any) differences do you see happening between Clojure(Script) and ClojureC? How close do you

Re: Any help on starting Android with clojure?

2013-04-24 Thread John Gabriele
Erlis, here's a few more links: * http://clojure-android.blogspot.com/ * https://github.com/alexander-yakushev/neko * https://github.com/cesarpinera/TargetAndroid ---John -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: clojure dependencies

2013-04-28 Thread John Gabriele
On Friday, April 26, 2013 8:04:02 PM UTC-4, jayvandal wrote: I have this code. (defproject jsql 1.0.0-SNAPSHOT :description FIXME: write :dependencies [[org.clojure/clojure 1.4.0]])(use 'clojure.java.jdbc) My question is where do the dependencies locate? I would put the files in the

Re: emacs - how to wean me off the family of Java IDEs

2013-05-01 Thread John Gabriele
On Wednesday, May 1, 2013 9:44:11 PM UTC-4, Luc wrote: I will eventually get back to it but reading your comment made me realize that I should wait when I can find emacs support for pedals much like an organ or a piano :) They've got pedals at https://www.kinesis-ergo.com/ which I

Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread John Gabriele
On Friday, May 17, 2013 11:42:55 PM UTC-4, Korny wrote: Yes, I know I can just take a screenshot, but that gives you a bitmap that doesn't scale nicely or give you any ability to do last minute editing. But the above gets tedious very fast - I wonder if there's a better option I've

Re: [ANN] alpacas: a new Clojure source viewer

2013-06-05 Thread John Gabriele
On Tuesday, June 4, 2013 4:24:49 PM UTC-4, Gary Trakhman wrote: Just fyi, most clojure libs are published under EPL or Apache licenses, of course the choice is up to you :-). GPL has some restrictions that would prevent the lib from being used in many projects. from the EPL wikipedia

Re: [ANN] alpacas: a new Clojure source viewer

2013-06-05 Thread John Gabriele
On Wednesday, June 5, 2013 10:34:35 AM UTC-4, Laurent PETIT wrote: tl;dr: when should I prefer LGPL over EPL for a Clojure lib ? Have a look at the brief summary at http://docs.python-guide.org/en/latest/writing/license.html . If you care more about item #2 on that 2-item list, then you

Re: seesaw's beautiful docstrings

2012-07-27 Thread John Gabriele
On Wednesday, July 25, 2012 8:16:52 AM UTC-4, Tassilo Horn wrote: Laurent PETIT writes: -Is there a way write the docs in a separate place (different section of the document or different document altogether)? Sure. --8---cut here---start-8---

Re: Experiences developing a crowdfunding site for open source projects in Clojure (from a Python background)

2012-07-29 Thread John Gabriele
On Thursday, July 26, 2012 3:59:46 PM UTC-4, Aaron Lebo wrote: {snip} The JVM really does have a wide swath of functionality already available. Some of the things that I ended up using were email libraries, date formatting libraries, and an rss feed generator. There never was a point

Re: Experiences developing a crowdfunding site for open source projects in Clojure (from a Python background)

2012-07-30 Thread John Gabriele
On Sunday, July 29, 2012 3:45:00 PM UTC-4, Aaron Lebo wrote: Here's PEP 8 as an example of what I'm talking about: http://www.python.org/dev/peps/pep-0008/ Perhaps this might be useful: http://dev.clojure.org/display/design/Library+Coding+Standards ---John -- You received this message

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread John Gabriele
On Monday, August 6, 2012 3:06:47 PM UTC-4, Sean Corfield wrote: On Mon, Aug 6, 2012 at 12:01 PM, Laurent PETIT wrote: Links ? https://clojars.org/lein-expectations https://github.com/gar3thjon3s/lein-expectations Maybe list this at

Re: School Seating Charts

2012-08-07 Thread John Gabriele
On Tuesday, August 7, 2012 12:24:34 AM UTC-4, Evan Mezeske wrote: I could go on and on about the specifics of building out the website (and maybe I will in a blog post sometime), Nice work, Evan. Would love to read some blog posts about this. ---John -- You received this message

library naming convention

2012-08-17 Thread John Gabriele
I've noticed a 3rd-party Clojure library naming convention (well, a sometimes-recurring pattern at least) that seems pretty sensible: 1. If a Clojure library wraps or otherwise provides access to a Java lib, the Clojure lib name might likely be prefixed with clj-. For example, clj-time (where,

Odd residual exception behaviour at the repl

2012-08-25 Thread John Gabriele
Ran into something odd. Not sure if it's a bug. In the repl, if I try `(def x ^{:a 1} 42)`, I get an exception (right, since I can't assign metadata to the value 42). But then after that, if I try something else (say, typing hi into the repl), I get a 2nd exception message. Here's an example:

Re: I want to know how can I run it?

2012-09-03 Thread John Gabriele
On Thursday, August 30, 2012 9:36:14 PM UTC-4, gearss wrote: I have a file named pong.clj, it isunder following, I want to know how can I run it? Thank you. Hi gearss. See Launching a Script at http://clojure.org/repl_and_main . ---John -- You received this message because you are

Re: I want to know how can I run it?

2012-09-03 Thread John Gabriele
On Monday, September 3, 2012 11:34:02 AM UTC-4, John Gabriele wrote: On Thursday, August 30, 2012 9:36:14 PM UTC-4, gearss wrote: I have a file named pong.clj, it isunder following, I want to know how can I run it? Thank you. Hi gearss. See Launching a Script at http://clojure.org

Re: Fund raiser for our projects

2012-09-06 Thread John Gabriele
On Wednesday, September 5, 2012 3:40:12 PM UTC-4, Simone Mosciatti wrote: Then still there if I write one article, you write another and @whoever write the next we will have 3 different articles in 3 different blogs, honestly I am sure that 3 articles doesn't worth 3 page of real

Re: [ANN] data.priority-map 0.0.2 available

2012-09-10 Thread John Gabriele
On Monday, September 10, 2012 7:29:34 AM UTC-4, Denis Labaye wrote: (yes, I know the README needs updating to the official format...) What's the official format ? http://dev.clojure.org/display/design/Contrib+Library+READMEs ---John -- You received this message because you are

Re: ClojureDocs and Clojure 1.4

2012-09-11 Thread John Gabriele
On Tuesday, September 11, 2012 7:01:39 AM UTC-4, Wolodja Wentland wrote: Hi all, I was wondering when ClojureDocs might be updated to show documentation for Clojure 1.4 as well. It is just that I thought that it'll happen eventually but it hasn't yet and I am unsure if there is

Re: Evolving the Clojure contribution process and goals

2012-09-19 Thread John Gabriele
On Wednesday, September 19, 2012 11:43:45 AM UTC-4, Michael Klishin wrote: 2012/9/19 Paul deGrandis paul.de...@gmail.com javascript: My concern with growing the documentation on the dev.clojure is that it takes a CA to contribute. I think we'd be better served as a community to open up

Re: how do we go about promoting new clojure libraries?

2012-09-26 Thread John Gabriele
On Sunday, September 23, 2012 4:00:28 PM UTC-4, zcaudate wrote: is there some sort of categorised list/wiki that we can add to for new libraries? I've started the [Clojure Dining Car](http://www.unexpected-vortices.com/clojure/dining-car.html), but haven't announced it yet because I still

Re: how do we go about promoting new clojure libraries?

2012-09-26 Thread John Gabriele
On Wednesday, September 26, 2012 3:48:27 PM UTC-4, John Gabriele wrote: On Sunday, September 23, 2012 4:00:28 PM UTC-4, zcaudate wrote: is there some sort of categorised list/wiki that we can add to for new libraries? I've started the Clojure Dining Car ... Oh, sorry. You were

ANN: a Clojure docs site, and github organization

2012-10-04 Thread John Gabriele
Hi all, I seem to have found myself writing some Clojure docs again. They are currently hosted at https://github.com/clojuredocs/cds , and are *currently* on display at http://www.unexpected-vortices.com/clojure/cds/index.html . Though, there are plans in the works to render the docs using the

Re: ANN: a Clojure docs site, and github organization

2012-10-06 Thread John Gabriele
On Saturday, October 6, 2012 12:03:00 PM UTC-4, Jay Fields wrote: I once noticed that a Clojure fn didn't have a type hint on a return value. Adding ^String made a substantial performance difference. Not knowing the process, I forked, and did a pull request. I got this response:

Re: ANN: a Clojure docs site, and github organization

2012-10-07 Thread John Gabriele
On Sunday, October 7, 2012 9:32:45 PM UTC-4, Gaz wrote: While on this topic, is it possible for someone with admin privileges to disable the Issues tabs in the contrib projects? There is a consistent drip of people sending pull requests or opening bugs which have to be redirected to JIRA.

Re: ANN clojure-doc.org (aka CDS), a new community-driven Clojure documentation site

2012-10-08 Thread John Gabriele
On Monday, October 8, 2012 12:26:23 PM UTC-4, Michael Klishin wrote: ## Announcing clojure-doc.org I am starting a new thread because the existing one about CDS is now polluted by all kinds of off-topics. About a week ago, John Gabrielle Just one ell. :) announced CDS (Clojure

Re: lein deps

2012-10-08 Thread John Gabriele
On Monday, October 8, 2012 8:11:52 PM UTC-4, Brian Craft wrote: Apparently. I'm completely baffled by module naming and references. jdbc in project.clj is org.clojure/java.jdbc, but is clojure.java.jdbc in the (ns) call? gloss is gloss in project.clj but gloss.core, gloss.io in the (ns)

Re: Interest in Scribble for Clojure?

2012-10-10 Thread John Gabriele
On Wednesday, October 10, 2012 11:32:22 AM UTC-4, Grant Rettke wrote: On Tue, Oct 9, 2012 at 1:00 PM, Michael Fogus mef...@gmail.comjavascript: wrote: Any existing solutions or interest in something like this? There are no _public_ solutions as far as I know, So everyone has their

Re: CDS tutorials

2012-10-10 Thread John Gabriele
We will figure out how to reorganize things later. His noir tut is multi-part and contains screenshots. I'd suggest it get its own directory under tutorials. ---John -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: math

2012-10-10 Thread John Gabriele
On Tuesday, October 9, 2012 10:38:20 PM UTC-4, Brian Craft wrote: I need some basic math functions, e.g. floor. I see there are some in contrib, but I'm unable to figure out the status of contrib. Seems like it's deprecated, or in transition, or something? To help answer questions like

Re: [OT] Re: ANN clojure-doc.org (aka CDS), a new community-driven Clojure documentation site

2012-10-10 Thread John Gabriele
On Wednesday, October 10, 2012 6:38:31 PM UTC-4, robermann79 wrote: I'm pretty sure you have already thought about it and it's me that missed your considerations, but why we are not using a wiki-based tool, like Wordpress, instead of forking a git branch? My original goals for CDS were to

Re: ANN: LispIndent, jEdit plugin that indents lisp code

2012-10-17 Thread John Gabriele
On Wednesday, October 17, 2012 10:26:01 AM UTC-4, Jonathan Fischer Friberg wrote: Hi, As I were unable to find a way to indent lisp code in jEdit, I decided to write a plugin for this purpose. It's called LispIndent and can be found here: https://github.com/odyssomay/LispIndent Please

Re: ANN: LispIndent, jEdit plugin that indents lisp code

2012-10-17 Thread John Gabriele
On Wednesday, October 17, 2012 2:17:50 PM UTC-4, Jonathan Fischer Friberg wrote: Not currently, no. I'm not really sure how to detect when to use 2 spaces, and when to align arguments. I also feel that no editor really has nailed it, when it comes to deciding that. (it's also personal

Re: ANN: LispIndent, jEdit plugin that indents lisp code

2012-10-17 Thread John Gabriele
On Wednesday, October 17, 2012 7:39:26 PM UTC-4, Jonathan Fischer Friberg wrote: The plugin has been updated to support function argument indenting. It is configurable in the plugin options. Oooh, this is nice. :) I selected the indent to function arguments by default radio button, checked

Re: ANN: LispIndent, jEdit plugin that indents lisp code

2012-10-18 Thread John Gabriele
On Thursday, October 18, 2012 10:18:09 AM UTC-4, Jonathan Fischer Friberg wrote: Presets have been implemented in the latest version. It's selectable in the plugin options. Works nicely. Thanks, Jonathan! BTW, I created the beginnings of a CDS development tools guide

Re: what is the modern equivalent of clojure.contrib.java-utils/file?

2012-10-25 Thread John Gabriele
On Thursday, October 25, 2012 2:39:33 PM UTC-4, larry google groups wrote: No no this namespace is part of Clojure itself. How do you know this? Where is this documented? I find myself baffled as to what is a dependency and what is not. Hi Larry, Note that, concerning libraries, there's

Re: what is the modern equivalent of clojure.contrib.java-utils/file?

2012-10-25 Thread John Gabriele
On Thursday, October 25, 2012 5:04:23 PM UTC-4, John Gabriele wrote: Some notes about contrib libs: * all have a group-id of org.clojure, and * all have github project names like foo.bar (ex. math.combinatorics), under https://github.com/clojure * all have namespace names like

Re: Is game development Clojure(functional in general) friendly?

2012-10-30 Thread John Gabriele
On Tuesday, October 30, 2012 3:00:07 AM UTC-4, titon barua wrote: I for one would like some good and maintained wrappers for input and graphics in Clojure - like SDL and OpenGL. For graphics, you might have a look at [quil]. It makes use of the [Processing] graphics environment. [quil]:

Re: First foray into clojure - questions for new project

2012-11-13 Thread John Gabriele
On Tuesday, November 13, 2012 10:26:18 AM UTC-5, Jonathon McKitrick wrote: Thanks, Mark. So leiningen has made a significant update lately? Yes, but my understanding is that most folks have already upgraded (or have plans to upgrade --- thus the upgrading guide) to lein 2. I suggest

Re: [ANN] clj-xpath 1.3.3

2012-11-20 Thread John Gabriele
On Monday, November 19, 2012 2:55:40 PM UTC-5, Kyle Burton wrote: clj-xpath is a library that makes it easier to with XPath from Clojure. I've never announced this library before (or any for that matter). Someone recently sent me a pull request to fix an issue in the README (during the

Re: what should I use for my webapp?

2012-11-20 Thread John Gabriele
On Tuesday, November 20, 2012 8:29:19 AM UTC-5, John Lawrence Aspden wrote: My intutition is telling me to use Python and Flask, but my heart is telling me to use Clojure and some framework, but I don't know what is best. Or should I just write the whole server from scratch? The less code

Re: [ANN] clj-xpath 1.3.3

2012-11-20 Thread John Gabriele
On Tuesday, November 20, 2012 10:07:15 AM UTC-5, Kyle Burton wrote: The Leiningen coordiates are: [org.clojars.kyleburton/clj-**xpath 1.3.3] Just curious, why isn't that just [clj-xpath 1.3.3]? Searching clojars, you seem to have uploaded 1.3.0 a while back... That was a

Re: [ANN] clj-xpath 1.3.3

2012-11-20 Thread John Gabriele
On Tuesday, November 20, 2012 10:35:46 AM UTC-5, lpetit wrote: 2012/11/20 Laurent PETIT lauren...@gmail.com javascript: 2012/11/20 Kyle R. Burton kyle@gmail.com javascript: The Leiningen coordiates are: [org.clojars.kyleburton/clj-**xpath 1.3.3] Just curious, why isn't that

Re: [ANN] clj-xpath 1.3.3

2012-11-20 Thread John Gabriele
On Tuesday, November 20, 2012 12:10:09 PM UTC-5, Phil Hagelberg wrote: John Gabriele jmg...@gmail.com javascript: writes: Oh, thanks. My understanding was that current best practice was to choose a good name, and then if you're the original author, your project's group-id = artifact-id

Re: [ANN] clj-xpath 1.3.3

2012-11-20 Thread John Gabriele
On Tuesday, November 20, 2012 12:47:49 PM UTC-5, Terje Norderhaug wrote: On Tue, Nov 20, 2012 at 9:07 AM, Phil Hagelberg ph...@hagelb.orgjavascript: wrote: However, the likelihood that anyone else will come along in the future and name another library clj-xpath is basically nil in this

Re: [ANN] Clojars Releases repository

2012-11-21 Thread John Gabriele
On Sunday, November 18, 2012 4:46:51 PM UTC-5, Sean Corfield wrote: On Sun, Nov 18, 2012 at 5:56 AM, Phil Hagelberg ph...@hagelb.orgjavascript: wrote: If you don't have a key yet, generate one with `gpg --gen-key`. The default settings are pretty good, though I'd recommend making it expire

Current status of Clojure on Android?

2012-11-26 Thread John Gabriele
Hi, What is the current status of Clojure on Android? That is, for creating Android apps in Clojure. I found this http://dev.clojure.org/display/design/Android+Support , but it appears to have been last-updated Feb 2011. What are currently the main limitations in creating and running Clojure

Re: Current status of Clojure on Android?

2012-11-27 Thread John Gabriele
On Monday, November 26, 2012 9:14:07 PM UTC-5, Herwig Hochleitner wrote: 2012/11/26 John Gabriele jmg...@gmail.com javascript: What are currently the main limitations in creating and running Clojure programs on Android? (Does some limited subset of Clojure work? Does the bytecode

Re: Current status of Clojure on Android?

2012-11-27 Thread John Gabriele
On Tuesday, November 27, 2012 12:46:44 PM UTC-5, César Piñera wrote: I put together some notes and hints on how to share Clojure functions with an Android app in Java for the Portland Clojure meetup. https://github.com/cesarpinera/TargetAndroid This looks great. Thanks, César. Clojure

Re: ANN - Conjure 2.1.1 - Lightweight mocking library

2012-11-30 Thread John Gabriele
On Tuesday, November 27, 2012 3:22:29 AM UTC-5, Alex Baranosky wrote: Conjure is a lightweight mocking library intended to be used on top of clojure.test. We've been using it at Runa for a long time, and it is compatible with all versions of Clojure from 1.2 to 1.5-beta1.

Re: Clojure Full Syntactical Reference

2012-12-15 Thread John Gabriele
On Friday, December 14, 2012 6:40:50 PM UTC-5, lin...@redhandgaming.net wrote: Where can I find, or does there exist, a place where I can view all Clojure's built in functions with a short description of their arguments and what they do? As Andy pointed out, Clojuredocs is the place for

reader literal , tagged literal

2012-12-22 Thread John Gabriele
Are reader literals the same thing as tagged literals? (It appears that the Clojure 1.4 changes.md file refers to them as reader literals, but http://clojure.org/reader calls them tagged literals.) Thanks, ---John -- You received this message because you are subscribed to the Google Groups

Re: reader literal , tagged literal

2012-12-22 Thread John Gabriele
On Saturday, December 22, 2012 12:03:00 PM UTC-5, John Gabriele wrote: Are reader literals the same thing as tagged literals? While on the subject, I added the term tagged literal to the CDS glossary: https://github.com/clojuredocs/cds/blob/master/articles/language/glossary.md . Please

Re: Clojure mug templates

2012-12-29 Thread John Gabriele
On Saturday, December 29, 2012 8:54:44 AM UTC-5, Nikita Beloglazov wrote: Hi I taught small clojure class at my university this semester. At the end of the class I printed clojure mugs for my students with their names. Here I want to share small javascript/html page I used to generate

Re: Unseemingly Eager Clojure Apprentice Seeking FizzBuzz Feeback

2012-12-29 Thread John Gabriele
On Saturday, December 29, 2012 5:15:49 PM UTC-5, Sean Chalmers wrote: ... but changing it to more pure function would probably deal with that. Another benefit of pure functions is that they're easier to test. I'll have a play with 'when' as well, hadn't tried that one yet. `when`

Re: Clarification on setting up Clojure, Lein and Emacs on fedora

2012-12-29 Thread John Gabriele
Sayth, Not sure I follow everything in your post, but here are some tips: 1. You don't need to install Clojure itself. Leiningen takes care of that for you. See 2. Make sure you install Emacs 24. I don't know what the Fedora incantations are for this. 3. Once you've got Emacs 24

Re: Clarification on setting up Clojure, Lein and Emacs on fedora

2012-12-29 Thread John Gabriele
On Saturday, December 29, 2012 10:52:15 PM UTC-5, John Gabriele wrote: Sayth, Not sure I follow everything in your post, but here are some tips: 1. You don't need to install Clojure itself. Leiningen takes care of that for you. See Whoops, sorry, forgot to finish typing that :) : I

Re: deploying clojure/compojure web apps

2013-01-09 Thread John Gabriele
On Wednesday, January 9, 2013 1:26:07 PM UTC-5, Phil Hagelberg wrote: I recommend simply embedding jetty and writing a -main function that uses run-jetty. Then you can just ship an uberjar out to deploy. Ok. Suppose I've got a stock webapp generated via lein new compojure my-webapp I

Re: deploying clojure/compojure web apps

2013-01-09 Thread John Gabriele
On Wednesday, January 9, 2013 4:08:50 PM UTC-5, Phil Hagelberg wrote: John Gabriele writes: What would I need to do in order to embed jetty so I can create an uberjar (`lein uberjar`) and deploy it (I suppose via: `java -jar my-webapp-0.1.0-standalone.jar `)? What would need

Re: deploying clojure/compojure web apps

2013-01-09 Thread John Gabriele
On Wednesday, January 9, 2013 4:27:57 PM UTC-5, John Gabriele wrote: On Wednesday, January 9, 2013 4:08:50 PM UTC-5, Phil Hagelberg wrote: and this in main.clj: (defn -main [ [port]] (let [port (Integer. (or port (System/getenv PORT) 5000))] (jetty/run-jetty #'app

Re: deploying clojure/compojure web apps

2013-01-09 Thread John Gabriele
On Wednesday, January 9, 2013 4:39:06 PM UTC-5, John Gabriele wrote: Still though, need to add a :main to project.clj I think. BTW, tried `:main my-webapp.handler`. `lein uberjar` succeeds, but when I try to run the jar (via `java -jar my-webapp-0.1.0-SNAPSHOT-standalone.jar`), it fails

Re: deploying clojure/compojure web apps

2013-01-09 Thread John Gabriele
On Wednesday, January 9, 2013 5:03:49 PM UTC-5, Aaron Cohen wrote: On Wed, Jan 9, 2013 at 4:27 PM, John Gabriele jmg...@gmail.comjavascript: wrote: On Wednesday, January 9, 2013 4:08:50 PM UTC-5, Phil Hagelberg wrote: John Gabriele writes: and this in main.clj: (defn -main

Re: deploying clojure/compojure web apps

2013-01-09 Thread John Gabriele
Thanks, all. Updated CDS basic web dev tut with this deployment info. ---John -- 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

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

2013-01-12 Thread John Gabriele
On Friday, January 11, 2013 4:33:15 PM UTC-5, Eric MacAdie wrote: Is there a page that gives Clojure web recipes? It would be great for beginners if you could have one place that says To make a web app, you need X, Y and Z, and here are libraries that fulfil each of these needs. Maybe have

Re: Finding latest versions of clojars

2013-01-13 Thread John Gabriele
On Sunday, January 13, 2013 8:46:59 AM UTC-5, Omer Iqbal wrote: Hey guys, I recently decided to shift to clojure, and am loving the experience so far. However is there a method to find the latest versions of dependencies in lein2? It is rather inconvenient to search for them manually. Hi

Re: Better ways of documenting functions with type information?

2013-01-13 Thread John Gabriele
On Sunday, January 13, 2013 1:03:35 PM UTC-5, Marcel Möhring wrote: Hello, is there a better way to document a function if I want to include type information and parameters for in/out? Currently I am using this approach but it feels rather clumsy: Takes a screen and a pixel

Re: Finding latest versions of clojars

2013-01-13 Thread John Gabriele
On Sunday, January 13, 2013 1:32:40 PM UTC-5, John Gabriele wrote: On Sunday, January 13, 2013 8:46:59 AM UTC-5, Omer Iqbal wrote: Hey guys, I recently decided to shift to clojure, and am loving the experience so far. However is there a method to find the latest versions of dependencies

Re: Lack in the documentation

2012-02-22 Thread John Gabriele
On Feb 20, 3:05 pm, Sean Corfield seancorfi...@gmail.com wrote: On Mon, Feb 20, 2012 at 1:48 AM, Sergey Didenko sergey.dide...@gmail.com wrote: It looks like our community already has a lot of articles, tutorials, gists, but they are just not very reachable to beginners. May be what we

What Java classes/objects/methods do you find yourself most often using?

2012-03-06 Thread John Gabriele
While writing Clojure code, what Java classes, objects, and static methods do you most often find yourself using? -- 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

ANN: A Brief Beginner's Guide to Clojure

2012-03-15 Thread John Gabriele
Hi all, I wrote a [brief beginner's guide to Clojure][1] that might interest those who are brand new to Clojure. [1]: http://www.unexpected-vortices.com/clojure/brief-beginners-guide/ First paragraph: The purpose of this brief (and sometimes opinionated) guide is to get new users quickly set up

  1   2   3   >