Re: More info on Rich Hickeys ideas on Map types from "Maybe Not"

2019-05-01 Thread Rick Moynihan
On Wed, 1 May 2019 at 06:09, Henning Sato von Rosen < henning.von.ro...@gmail.com> wrote: > > Thanks again for interesting background/links! > > On Fri, Apr 26, 2019 at 12:58 AM Rick Moynihan > wrote: > >> >> I believe another non RDF influence for spec is thi

Re: More info on Rich Hickeys ideas on Map types from "Maybe Not"

2019-04-27 Thread Rick Moynihan
levant here :-) Hope this clarifies things a little... R. (positional arguments being isomorphic (more succinct, but less readble > and less flexible) to named roles of map datastructures)? > > Reards/Henning > > On Fri, Apr 26, 2019 at 12:58 AM Rick Moynihan > wrote: > >

Re: More info on Rich Hickeys ideas on Map types from "Maybe Not"

2019-04-25 Thread Rick Moynihan
Having used both Clojure and RDF extensively I can say that there are many similarities between these two worlds, and the influence of RDF on Clojure isn't just something Rich say's, it's very apparant. I may be mistaken in some of the details here, but as I understand it in the world of GOFAI (Go

Re: [ANN] Clojure 1.10.1-beta1

2019-03-26 Thread Rick Moynihan
Hi Alex, A small data point but I've tried clojure 1.10.1-beta1 with a 13kloc clojure app we have with a lot of clj dependencies and I haven't seen any issues with it. I also tried it against a few smaller library deps and didn't see any issues. R. On Sat, 23 Mar 2019 at 23:26, Alex Miller wro

Re: [ANN] Clojure 1.10 has been released!

2018-12-18 Thread Rick Moynihan
Great news, Thanks to everyone who made this possible! R. On Tue, 18 Dec 2018 at 09:02, Thomas wrote: > Thank you for this release and all the hard work everyone has put into > this!!! > > Thomas > > On Monday, 17 December 2018 18:30:01 UTC+1, Alex Miller wrote: >> >> Clojure 1.10 focuses on t

Re: [ANN] 1.10.0-beta5

2018-11-08 Thread Rick Moynihan
. Though yes, thankfully you can't use this for monkey patching over existing functionality; but who would want to do that?! ;-) R. > > четверг, 8 ноября 2018 г., 12:33:10 UTC+2 пользователь Rick Moynihan > написал: >> >> Cool, so I guess it's the clojure of equiva

Re: [ANN] 1.10.0-beta5

2018-11-08 Thread Rick Moynihan
Cool, so I guess it's the clojure of equivalent of Ruby's eigenclasses: f = "some object" class << f def foo "new foo method on f" end end f.foo # => "new foo method on f" It's a shame this mechanism only works for values implementing IMeta, but I understand the JVM is a little prohibit

Re: (type ...) vs (class ...)

2018-10-25 Thread Rick Moynihan
I think the main intention of type is to be used as a more generic version of class, that lets clojure data participate alongside java objects etc with multi-methods etc. i.e. (defmulti foo type) (defmethod foo java.lang.String [x] :string-dispatched) (defmethod foo :my-clojure-type [x] :my

Re: [ANN] Clojure 1.10.0-RC1 (please test!)

2018-10-11 Thread Rick Moynihan
Hi Alex, I've tried updating 4 of our projects to 1.10.0-RC1 and running their test suites etc and have uncovered no issues so far. Many, many thanks to everyone for their hardwork! R. On Thu, 11 Oct 2018 at 16:11, Alex Miller wrote: > 1.10.0-RC1 is now available. You can try it with clj usi

Re: Clojure(Script) web apps in 2018

2018-09-25 Thread Rick Moynihan
eful. Thanks again for all your hard work on this James, it's a great piece of work and I believe worthy of much wider community adoption. R. > On Mon, 24 Sep 2018 at 14:40, Rick Moynihan > wrote: > >> I'm a massive fan of integrant on which duct is based. In

Re: Clojure(Script) web apps in 2018

2018-09-24 Thread Rick Moynihan
I first started with web dev in clojure > but started running against its project layout. > On Sun, Sep 23, 2018 at 15:17, Rick Moynihan > wrote: > >> I really quite like weavejester's duct, because it's essentially a >> familiar / standard ring app, but with i

Re: Clojure(Script) web apps in 2018

2018-09-23 Thread Rick Moynihan
I really quite like weavejester's duct, because it's essentially a familiar / standard ring app, but with integrant based configuration modules, and sensible defaults. It's not perfect though, e.g. ataraxy is somewhat under-developed, so I'd look at swapping it out for bidi or something more matur

Re: [ANN] lein-tools-deps 0.4.1 - Use deps.edn with Leiningen

2018-06-19 Thread Rick Moynihan
gmail had HTMLified the link :-( Thanks for the correction! R. > > > Thanks for lein-tools-deps, btw! > > -- > Adam Frey > > > > > On Mon, Jun 18, 2018, at 6:50 PM, Rick Moynihan wrote: > > Hi all, > > Some of you may have seen earlier versions of thi

[ANN] lein-tools-deps 0.4.1 - Use deps.edn with Leiningen

2018-06-18 Thread Rick Moynihan
Hi all, Some of you may have seen earlier versions of this floating around, as it has been a backburner project of mine for sometime. Last week however with thanks to Hugh Powell we managed to ship proper support for tools.deps aliases, and release a near feature complete version, which should us

Re: Is the vector a sequence?

2018-04-20 Thread Rick Moynihan
It's also worth mentioning vectors are sequential: (sequential? [1 2 3]) ;; => true R. On 20 April 2018 at 16:35, Timothy Baldridge wrote: > It's not a seq, but it's seqable. > > (seq? [1 2]) => false > (seqable? [1 2]) => true > (seq? (seq [1 2])) => true > > > > On Fri, Apr 20, 2018 at 9:33

Re: Proper way to write EDN file, after production bug

2018-03-29 Thread Rick Moynihan
I'd suggest wrapping the code that writes via prn to the file with a dynamic binding: e.g. at a REPL: user=> (set! *print-length* 5) 5 user=> (prn (range 10)) (0 1 2 3 4 ...) nil user=> (binding [*print-length* nil] (prn (range 11))) (0 1 2 3 4 5 6 7 8 9 10) nil user=> (prn (range 10)) (0 1 2 3 4

Swirrl are hiring, and yes we use clojure! :-)

2018-01-15 Thread Rick Moynihan
Hi all, The company are work for are hiring and looking for developers (and yes we do a lot of Clojure). See here for the details: https://medium.swirrl.com/swirrl-is-hiring-ed456c08b78b R. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post t

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-08 Thread Rick Moynihan
Wow great news... Thanks to everyone who made it happen!! R. On Fri, 8 Dec 2017, 21:11 Sergey Didenko, wrote: > Congratulations! > > On Fri, Dec 8, 2017 at 10:03 PM, Jozef Wagner > wrote: > >> Congratulations on the long awaited release and thanks to Rich, Stu, Alex >> and all contributors! I'

Re: [ANN] Clojure 1.9.0-RC1

2017-11-09 Thread Rick Moynihan
One more data point. I haven't uncovered any regressions yet on beta4 & have upgraded a few libraries and apps; though none are in production yet I've been working with it more or less daily since the beta4 release. R. On 7 November 2017 at 14:58, Alex Miller wrote: > Clojure 1.9.0-RC1 is now

Re: [ANN] tools.deps.alpha

2017-07-26 Thread Rick Moynihan
Regarding the cross platform nature of rlwrap, at the cost of an extra JVM dependency might it not be better to use jline? http://jline.sourceforge.net/ https://github.com/jline/jline3 I used to use it with clojure many many years ago and it seemed to work quite well... R. On 26 July 2017 at 1

Re: [ANN] tools.deps.alpha

2017-07-26 Thread Rick Moynihan
Just checking this out... Looks really interesting. Might be worth mentioning the rlwrap dependency in the installation instructions: /Users/rick/repos/3rdparty/tools.deps.alpha/src/main/resources/clj: line 106: rlwrap: command not found resolved on a mac with: brew install rlwrap R. On 26 Ju

Re: Migrating nREPL out of Clojure Contrib

2017-07-19 Thread Rick Moynihan
On 19 July 2017 at 01:03, Chas Emerick wrote: > > > On 7/18/2017 14:40, Alex Miller wrote: > > > If all of the nontrivial contributors to the project decide they >> want to change the license later, do we also need to obtain Rich's >> assent? > > > This has nothing to do with Rich or the contribu

Re: [ClojureScript] [ANN] Orchestra 2017.07.04-1 (now supporting ClojureScript)

2017-07-10 Thread Rick Moynihan
It might be worth including a discussion about when to use this library, and perhaps indicating that using it might not be a best-practice. :ret and :fn specs were originally validated by instrument, but this feature was removed because Rich et al thought it redundant, and that there were differen

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-26 Thread Rick Moynihan
Emacs & CIDER & Emacs paredit style keybindings. I'm not sure if you can easily share those configs with intellij; but if there was a config that had all that together I'd probably be able to last more than 5 minutes without getting frustrated... A discussion for another thread

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-26 Thread Rick Moynihan
been so impressed with the progress, that I even asked my boss to buy me a copy... I think it'll still take quite a lot to get me off Emacs/Cider; but you might well make it! :-) > Cheers, > Colin > > On 26 August 2016 at 12:59, Rick Moynihan wrote: > >> I think one obv

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-25 Thread Rick Moynihan
I think one obvious area that specs error messages could be improved is with some basic formatting and cosmetic changes. If spec presented errors not as a wall of text and syntax but with some simple formatting it would make a big difference to legibility. As a starter for 10, why could we not ren

Re: [ANN] Leiningen 2.7.0

2016-08-25 Thread Rick Moynihan
ng > clojars.org. (Paul Dorman) > * Retain user defined private repositories when building jars, > uberjars and deploy. (Rick Moynihan) > * Honor whitelist settings when `lein javac` is called via `lein jar`. > (Chris Price) > * `lein vsc push` for git will now only pus

Re: Clojure spec screencast: Testing

2016-07-27 Thread Rick Moynihan
These screencasts are great, Thanks for making them; and of course working on clojure & clojure.spec! :-) R. On 27 July 2016 at 19:52, Stuart Halloway wrote: > Yes. Short answer: Make a model of the input space. Coming in a future > screencast. :-) > > Stu > > On Wed, Jul 27, 2016 at 2:13 PM,

Re: [ANN] Clojure 1.9.0-alpha1

2016-05-25 Thread Rick Moynihan
Congratulations on the alpha release! I'm also curious what the plans are for 1.9 beyond clojure.spec (which looks awesome btw). R. On 25 May 2016 at 07:52, Tatu Tarvainen wrote: > > Are there plans for what will be the release content of 1.9? > I didn't see anything in the Clojure jira. > > Pa

Re: [ANN] Clojure 1.8.0 is now available

2016-01-20 Thread Rick Moynihan
Sorry, had meant to paste the URL for you: http://clojure.org/api/api I suspect other links might also point to the older docs too. R. On Wed, 20 Jan 2016 at 10:01 Rick Moynihan wrote: > Congratulations to everyone involved on the new release! > > One very small issue I've jus

Re: [ANN] Clojure 1.8.0 is now available

2016-01-20 Thread Rick Moynihan
Congratulations to everyone involved on the new release! One very small issue I've just noticed with the website though is that the links to the API documentation still point to 1.7.0. Thanks again to everyone for their hardwork! R. On Wed, 20 Jan 2016 at 03:31 Alex Miller wrote: > Dang it!

Re: Reviewers needed for new Clojure book!

2015-08-24 Thread Rick Moynihan
I'd be happy to read it and potentially offer feedback. What is expected of reviewers? R. On Mon, 24 Aug 2015 07:46 Akhil Wali wrote: > If anyone is interested in being a reviewer for a new book "*Mastering > Clojure*" by Packt Publishing, please let me know. > Reviewers will be entitled to a 6

ANN: Grafter 0.4.0 released

2015-03-10 Thread Rick Moynihan
Grafter 0.4.0 has been released to clojars! Grafter is a data processing API for transforming, cleaning and manipulating tabular data from tabular sources such as CSV and Excel; whilst also providing simple methods of converting tabular data into linked data through a simple graph mapping DSL. Th

Re: Continuously Integrating Leiningen Projects

2015-02-18 Thread Rick Moynihan
upgrade. It's not a perfect > system, but it helps. > > On Tue Feb 17 2015 at 4:23:03 PM Rick Moynihan > wrote: >> >> Thanks for the tip, I had used lein-ancient in the past and it seems >> to have come along a bit since then. >> >> How is it that yo

Re: Continuously Integrating Leiningen Projects

2015-02-17 Thread Rick Moynihan
ency and your build fails, you a) don't update your >> dependency just yet b) complain to the library maintainer that their new >> version breaks your project. >> >> On Tue Feb 17 2015 at 9:51:18 AM Rick Moynihan >> wrote: >>> >>> Hi all, >&g

Re: Continuously Integrating Leiningen Projects

2015-02-17 Thread Rick Moynihan
dependency and your build fails, you a) don't update your > dependency just yet b) complain to the library maintainer that their new > version breaks your project. > > On Tue Feb 17 2015 at 9:51:18 AM Rick Moynihan > wrote: >> >> Hi all, >> >> At work

Continuously Integrating Leiningen Projects

2015-02-17 Thread Rick Moynihan
Hi all, At work, we use Jenkins to continuously integrate our Clojure projects which are factored into both applications and a small number of supporting libraries; all of which use Leiningen as their project build tool. Leiningen builds each project, and runs its tests; and then if they pass it

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-06 Thread Rick Moynihan
Interesting! I've been working on a similar library for processing CSV files, called Grafter. We released version 0.3.0. about a week ago and have been using it to ingest and clean large amounts of CSV/Excel for over 9 months. http://grafter.org/ http://github.com/Swirrl/grafter It consists of

Re: ANN: State of Clojure 2014 Survey - please contribute!!

2014-10-14 Thread Rick Moynihan
On 13 October 2014 22:05, Alex Miller wrote: > I do not need a poll to see that Clojure developers are predominantly white > men, although that's also true of most programming languages and a > consequence of larger pervasive issues in the industry. However, I think the > Clojure community has bee

Functional Programming Job @swirrl

2014-06-24 Thread Rick Moynihan
Hi all, We're currently on the lookout for a new Software Engineer to join myself and our team at Swirrl ( http://www.swirrl.com/ ). Though we're predominantly a Ruby on Rails shop, we've recently started building two significant parts of our product offering in Clojure; so anyone with Clojure/FP

Re: Bug in clojure.algo.monads prevents you from using :require :as ns declaration

2014-04-24 Thread Rick Moynihan
Thanks! R. On 23 April 2014 15:05, Andrey Antukh wrote: > Hi Rick > > As far as I know, m-lift and similar functions should be used in monad > context (using with-monad macro). > > Greetings. > Andrey > > > 2014-04-23 14:41 GMT+02:00 Rick Moynihan : > >&

Bug in clojure.algo.monads prevents you from using :require :as ns declaration

2014-04-23 Thread Rick Moynihan
Hi all, I think I've found a minor bug in clojure.algo.monads. If you do the following: (ns foo.bar (:require [clojure.algo.monads :as mon])) You cannot use mon/m-lift (and possibly others) as m-lift expands like so: user> (macroexpand '(mon/m-lift 1 prn)) (fn* ([mv_4553] (m-bind mv_4553 (fn

Re: Do you like the Clojure syntax?

2013-08-14 Thread Rick Moynihan
Ahhh, the good old Lisp syntax debate! I learned Clojure back in 2008, and it was my first Lisp (and is still the only Lisp I'm comfortable with). I've had lots of Java experience, and a fair amount of Ruby experience over the years... With occasional bits and pieces in other languages like Erlan

Re: Clojure/West 2013 videos?

2013-03-25 Thread Rick Moynihan
On 25 March 2013 13:51, Roger Austin (@RogerTheGeek) wrote: > Thanks to everyone involved for the Clojure/West videos. I'd just like to second this! I continue to be amazed at the amount and quality of Clojure related videos online; the vast majority due to conferences such as this. Though I've

Re: STM - a request for "war stories"

2012-12-13 Thread Rick Moynihan
On 12 December 2012 16:21, Warren Lynn wrote: > Although I am convinced that STM can solve things that locks cannot (See > the claim "*lock-based programs do not compose" *on Wikipedia page > http://en.wikipedia.org/wiki/Software_transactional_memory), I feel this > feature is so much over-sold.

Talk on ClojureScript at the Manchester Lambda Lounge

2012-02-28 Thread Rick Moynihan
Hi all, I'm proud to announce the inaugural meeting of the Manchester (UK) Lambda Lounge; a group dedicated to popularising Functional Programming, and exploring new concepts in programming languages. We hope to meet on the second Monday of the Month, every month at the Madlab at 7pm. http://mad

Re: NW UK Clojurians?

2012-01-31 Thread Rick Moynihan
Hi all, Sorry for missing this; but I've been running the Manchester Clojure Dojo over the past year. You can keep an eye out on my twitter stream for more information on Clojure & FP related events in and around Manchester. http://twitter.com/RickMoynihan R. On 9 December 2011 09:28, Simon Ho

Re: ClojureQL and Oracle

2011-05-17 Thread Rick Moynihan
On 19 April 2011 22:34, Michael wrote: > > As far as I can tell, ClojureQL does not directly support Oracle. Has > anybody been able to get Clojure QL to work with Oracle?  Are there > plans to directly support it? Would be great to use this with Clojure > inside the corporate ship. While we're o

Christmas Clojure Dojo [Manchester UK]

2010-12-02 Thread Rick Moynihan
Just a quick post to say I'll be hosting a free Clojure Dojo at the Manchester Madlab on Monday 13th December @7pm. We're planning on pairing folk off to go through some of the LabREPL exercises. If anyone's interested in attending you can find more details here: http://manchester.clojuredojo.co

Re: Clojure Out of memory exception

2010-11-23 Thread Rick Moynihan
On 23 November 2010 19:01, Ken Wesson wrote: > On Tue, Nov 23, 2010 at 7:49 AM, Laurent PETIT > wrote: >> try >> (def x #(iterate inc 1)) >> (take 1 (drop 10 (x)) >> >> if you do not want to blow up the memory. > > I wonder if an uncached lazy seq variant that cannot hold onto its > head

Re: REQUEST for feedback on http://clojure.org

2010-11-15 Thread Rick Moynihan
oup. > 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 post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at

Re: LabREPL status ... github returning 404's

2010-11-15 Thread Rick Moynihan
On 15 November 2010 09:46, Rick Moynihan wrote: > On 14 November 2010 20:47, Victor Olteanu wrote: >> Github is down at the moment unfortunately... > > Ahhh great, it's back up...  Looks like github was partially down as > other pages were returning for me. I'm

Re: LabREPL status ... github returning 404's

2010-11-15 Thread Rick Moynihan
On 14 November 2010 20:47, Victor Olteanu wrote: > Github is down at the moment unfortunately... Ahhh great, it's back up... Looks like github was partially down as other pages were returning for me. Thanks R. -- You received this message because you are subscribed to the Google Groups "Cloj

LabREPL status ... github returning 404's

2010-11-14 Thread Rick Moynihan
Hi all, When I ran some Clojure Dojo's in Dundee, we did a few group sessions going through labrepl and its exercises; and I thought the format worked well. I'm keen to do the same thing again, here in Manchester (UK): http://madlab.org.uk/content/kick-ass-coding-with-clojure/ Unfortunately the

Re: Clojure 1.2 Release

2010-08-19 Thread Rick Moynihan
On 19 August 2010 16:25, Rich Hickey wrote: > I'm pleased to announce today the release of Clojure 1.2. Amazing news! :-) R. -- 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 po

Re: IDE agnostic question on user assistance (emacs/vimClojure users help appreciated too !)

2010-07-19 Thread Rick Moynihan
On 19 July 2010 22:25, Laurent PETIT wrote: > > 2010/7/19 Peter Schuller >> I also sympathize and agree that it can be hugely problematic if an >> environment stomps on your carefully prepared REPL in ways you don't >> expect. I'm not sure how to best reconcile these two concerns. > > Yes, that's

Re: Cljr and user.clj

2010-07-19 Thread Rick Moynihan
On 16 July 2010 21:23, liebke wrote: > Rick, > > I think the problem is that additional classpaths are added, > dynamically, after the user.clj file is evaluated. It does get > evaluated if it's in ./ or ./src, which are added at launch in the > cljr scripts. Ahhh, I hadn't realised that the pwd

Cljr and user.clj

2010-07-16 Thread Rick Moynihan
I've just installed Cljr and am really impressed with it... However I have run into a small problem. I'd like to have my cljr execute my user.clj at startup, however it seems that cljr is ignoring classpaths added with the command cljr add-classpath ~/.clojure/ looking in ~/.cljr/project.clj I

Re: ClojureDocs.org

2010-07-13 Thread Rick Moynihan
On 11 July 2010 12:05, Lukasz Urbanek wrote: > Looks very nice! > > Hoping for the categories to arrive to the core namespace. This really > saves a lot of time for a clojure beginner like me. +1 > Additionally, I'd prefer if the source was wasn't exposed by default > (It's quite distracting whe

Re: Let's respect CLOJURE_HOME

2010-06-30 Thread Rick Moynihan
On 30 June 2010 22:44, Steve Molitor wrote: >>> the true launcher will always be the java JVM executable, and I'm >>> not sure this is something we should really try and hide. > > I think it should be hidden, at least for newbies.  Maven hides it - I > invoke 'mvn' and have no idea how it invokes

Re: Let's respect CLOJURE_HOME

2010-06-30 Thread Rick Moynihan
On 30 June 2010 21:14, Brian Schlining wrote: >> >> > >> > May I propose as a possible remedy CLOJURE_HOME. CLOJURE_HOME is the >> > absolute path of a directory containing clojure.jar and possibly >> > clojure-contrib.jar. Scripts should check if it's defined and use it >> > instead >> > of hard

Re: Let's respect CLOJURE_HOME

2010-06-30 Thread Rick Moynihan
On 30 June 2010 18:45, Greg wrote: > It seems like a lot of n00b (and non-n00b) related problems have to do with > the location of clojure.jar and clojure-contrib.jar. People generally don't > like having to keep track of all the clojure.jars, and it would be nice if it > was easy to switch ver

Re: State of Clojure web development

2010-06-25 Thread Rick Moynihan
Hi James, Great idea for a survey! I'm using Clojure to bootstrap a startup, broadly in the Healthcare domain. The system we're building comprises a number of components all implemented in Clojure, one of which is a centralised web server. The reason we chose Clojure was because it runs on the

Re: Batch file wrappers on Windows

2010-06-21 Thread Rick Moynihan
On 21 June 2010 18:42, Paul Moore wrote: > 3. Using a bat file to start a GUI application from Explorer causes an > unnecessary and ugly console window to appear. You should use "javaw" instead of "java" to start the JVM without the console window appearing. This should ship with both the JRE an

Re: Leiningen documentation review?

2010-06-17 Thread Rick Moynihan
Hi Phil, I read through both the tutorial and the readme, and both seem to be pretty clear (though I'm not a new user). They're certainly an improvement on what came before, and it seems to be a pretty solid introduction. Perhaps though, there should be some mention of how the clojure and contri

Re: Gwt-Clojure - lightweight browser implementation

2010-06-16 Thread Rick Moynihan
Neat! I'm currently writting a webapp with GWT for the browser client, and clojure on the server... What is your approach to doing this, and is the code available anywhere yet? R. On 15 June 2010 19:48, pfisk wrote: > Gwt-Clojure is a subset of the Clojure language which was developed > for scr

Re: New Clojure web application launched: DocuHarvest

2010-06-10 Thread Rick Moynihan
On 10 June 2010 12:32, Chas Emerick wrote: > Thanks very much, esp. for the 'nice looking' compliment.  I've heard > otherwise as well, so we'll have to see what happens when I get a "real" > designer in to take a crack at things -- not a super-high priority at the > moment, since the site is usab

Re: SLIME REPL clojure completion

2010-06-08 Thread Rick Moynihan
On 8 June 2010 14:42, Joost wrote: > Oh, and make SURE pressing TAB actually calls slime-complete-symbol > and not some non-slime completion function. > > You can check by doing (in a clojure-mode buffer) C-h C-k TAB > > I believe the default binding is C-c TAB and M-TAB - not TAB. > Thanks for t

Re: SLIME REPL clojure completion

2010-06-08 Thread Rick Moynihan
On 7 June 2010 16:52, Rick Moynihan wrote: > On 7 June 2010 16:35, Phil Hagelberg wrote: >> On Mon, Jun 7, 2010 at 5:41 AM, Rick Moynihan >> wrote: >>> I've just updated slime to 20100404 in ELPA, and I've noticed that tab >>> completion in the REPL b

Re: SLIME REPL clojure completion

2010-06-07 Thread Rick Moynihan
On 7 June 2010 16:35, Phil Hagelberg wrote: > On Mon, Jun 7, 2010 at 5:41 AM, Rick Moynihan wrote: >> I've just updated slime to 20100404 in ELPA, and I've noticed that tab >> completion in the REPL buffer has stopped working. >> >> Pressing TAB to complete

SLIME REPL clojure completion

2010-06-07 Thread Rick Moynihan
I've just updated slime to 20100404 in ELPA, and I've noticed that tab completion in the REPL buffer has stopped working. Pressing TAB to complete a symbol prints "No dynamic expansion for `user> foo' found. Any ideas how to get this working again? R. -- You received this message because you a

Re: labrepl - Enclojure/Maven integration

2010-05-18 Thread Rick Moynihan
On 18 May 2010 00:29, Pratik Patel wrote: >> How does labrepl integrate with Enclojure, and does anyone manage to >> use an IDE effectively with lein/maven? > > * Now right click on the labrepl project and select "Start Project Repl". > * This will open a new window that says "Clojure Repl (labrep

Re: Does emacs suppress output from thread ?

2010-05-18 Thread Rick Moynihan
On 18 May 2010 08:33, alux wrote: > I should add, that a new thread runs in the default environment again. > > You may set the *out* variable in your thread with "binding": > > (let [dummy *out*] ; to have a name for the current *out* >    (.start (Thread. (fn [] (binding [*out* dummy] (prn x)

labrepl - Enclojure/Maven integration

2010-05-17 Thread Rick Moynihan
Hi all, I ran a clojure dojo last week in Dundee, Scotland and thought we'd be able to start on a simple group project making use of a couple of libraries. I figured the most idiomatic approach to this would be to adopt leiningen, but it appears that Enclojure (used by the majority of the group -

Re: Clojure Meeting tomorrow (Tuesday 20th April)

2010-04-19 Thread Rick Moynihan
On 19 April 2010 14:34, Gary Short wrote: > I'll be there!!  :-) Cool. On XML parsing, after our last meeting I discovered clojure.contrib.zip-filter.xml which can be used to parse XML a little more easily, though I still suspect enlive might be a better option. See you tomorrow mate, R. --

Re: labrepl issues & feedback from the Dundee Clojure Dojo

2010-03-31 Thread Rick Moynihan
/snapshots name changing from: org/clojure/clojure/1.2.0-SNAPSHOT to: org/clojure/clojure/1.2.0-master-SNAPSHOT Does something maybe need changed in a pom.xml file? The lein commandline builds seemed to work fine. R. On 31 March 2010 01:07, Rick Moynihan wrote: > Hi all, > > Today we h

Re: intuitive stack trace

2010-03-30 Thread Rick Moynihan
On 30 March 2010 14:37, Stuart Sierra wrote: > On Mar 29, 2:23 pm, strattonbrazil wrote: >> I do something wrong, I have to read through the stack which sometimes >> just says there's an error at line 0, which doesn't help me much. > > One problem is that the compiler can't keep track of line num

labrepl issues & feedback from the Dundee Clojure Dojo

2010-03-30 Thread Rick Moynihan
hope for, as everyone at the event was amazed when Rich himself helped me diagnose the cause of one of the labrepl installation problems... cheers Rich! This kind of commitment doesn't go unnoticed! -- Rick Moynihan http://twitter.com/RickMoynihan http://delicious.com/InkyHarmonics http

Re: Clojure Conference Poll

2010-03-26 Thread Rick Moynihan
+1 Europe R. -- 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 post. To unsubscribe from this group, send

Re: Choosing a Clojure build tool

2010-03-26 Thread Rick Moynihan
On 25 March 2010 22:17, Brian Carper wrote: > On Mar 25, 11:55 am, Chas Emerick wrote: > > Why does building and installing dependencies have to be harder than > this?  Lein right now tries to fill this niche of being braindead easy > to use, and comes pretty close.  I realize Maven does a lot mo

Re: ANN: labrepl, making Clojure more accessible

2010-03-23 Thread Rick Moynihan
On 23 March 2010 14:13, Stuart Halloway wrote: > The labrepl project (http://github.com/relevance/labrepl) is a tutorial > environment for learning Clojure. It is open source under the same license > as Clojure. Whether you are learning Clojure on your own, or teaching or > learning in a classroom

Re: clojure-mode-like syntax highlighting for the SLIME REPL

2010-03-19 Thread Rick Moynihan
On 19 March 2010 06:08, Michał Marczyk wrote: > Hi Group, > > there was a Stack Overflow question recently re: syntax highlighting > Clojure REPLs. This got me thinking that since I was going to tweak > SLIME REPL font-lock for quite some time now (I find the default a bit > too aggressive), I mig

Re: Two potential map-util functions

2010-03-09 Thread Rick Moynihan
On 9 March 2010 08:09, Meikel Brandmeyer wrote: > Hi, > > On Mar 8, 2:59 pm, Luka wrote: > >> (defn leafs [m] >>   (loop [vs (vals m), accum []] >>     (if (empty? vs) >>       accum >>       (let [v (first vs)] >>         (if (map? v) >>           (recur (rest vs) (into accum (leafs v))) >>    

Re: Some basic guidance to designing functional vs. state parts of app

2010-03-05 Thread Rick Moynihan
On 5 March 2010 17:56, Mark Engelberg wrote: > > On Wed, Mar 3, 2010 at 5:20 PM, Rick Moynihan > wrote: >> >> If you have a single value representing the whole world, then it seems >> that protecting it with an atom would be the simplest and most >> idiomatic

Re: Leiningen, Clojure and libraries: what am I missing?

2010-03-05 Thread Rick Moynihan
On 5 March 2010 18:49, Stuart Halloway wrote: >>> (2) Improve the project structure imposed by lein, if it is broken in >>> some >>> specific way. (Maybe add a well-known config file for adding elements to >>> the >>> classpath?) >> >> People have asked for this, but I have yet to hear a good use

Re: Some basic guidance to designing functional vs. state parts of app

2010-03-03 Thread Rick Moynihan
On 3 March 2010 04:34, Sophie wrote: > As a bit of a newbie to the functional + identity/state design space, > I'm struggling a bit with where to use identity constructs (refs) and > where to stay with pure functions, and could use some guidance. Pardon > me if some of my terms are a bit off. Here

Problem reading CLOBs/BLOBs with clojure.contrib.sql

2010-03-01 Thread Rick Moynihan
__5613.invoke(NO_SOURCE_FILE:1) 12: myproject.record$eval__5631.invoke(NO_SOURCE_FILE:1) 13: clojure.lang.Compiler.eval(Compiler.java:4642) 14: clojure.core$eval__5236.invoke(core.clj:2017) Is this supported in clojure.contrib.sql, or do I need to make use of Java/JDBC directly? -- Rick Moynihan h

Re: Rails-like database migrations for use with clojure.contrib.sql

2010-02-27 Thread Rick Moynihan
On 26 February 2010 23:37, Matt wrote: > I've had rails like migrations working in Conjure (0.4 coming soon) > for a while. You may want to look at it for some help. Thanks for the links Matt, I'll certainly take a look when I have some more time. I implemented these migrations for a small appli

Rails-like database migrations for use with clojure.contrib.sql

2010-02-26 Thread Rick Moynihan
clojure.contrib.sql doesn't have support for creating views. Is this a deliberate design choice, or just an omission? -- Rick Moynihan http://twitter.com/RickMoynihan http://delicious.com/InkyHarmonics http://sourcesmouth.co.uk/ -- You received this message because you are subscribed to t

Re: Prepping clojure for packaging (was: Re: Clojure for system administration)

2010-02-08 Thread Rick Moynihan
On 5 February 2010 18:47, Peter Schuller wrote: >> I've been wondering about this.  The classpath issue seems like a >> major thorn in the side of the JVM, especially for Clojure and other > > It seems to be that there are two problems here. > > One problem is that there needs to be a convention f

Re: FleetDB: A schema-free database implemented in Clojure

2010-01-05 Thread Rick Moynihan
2010/1/5 Mark McGranaghan : > Hi Rick, > >> 1) Is it possible to implement a join across several collections, >> within the same database snapshot? > > Not, not yet. I may add a feature in the future that looks like: > > ["snapshot", ] > => > > ["on-snapshot" ] > => > > ["on-snapshot" ] > => >

Re: [ANN] FleetDB: A schema-free database implemented in Clojure

2010-01-05 Thread Rick Moynihan
2010/1/5 Mark McGranaghan : > Hi All, > > I'm happy to announce the alpha release of 'FleetDB', a schema-free > database implemented in Clojure and optimized for agile development. >From a quick skim of the docs, this looks pretty interesting. Some questions: 1) Is it possible to implement a joi

Leiningen + Emacs + ELPA + slime/swank install problems

2009-12-03 Thread Rick Moynihan
Hi all, I recently started playing with leiningen, and it looks like it's going to help remove a lot of the incidental complexity in getting projects started with clojure! However I had some what of a hard time getting it going with Emacs/clojure-mode/slime... This is likely because clojure-mode

Re: ANN: Clojure live-repl

2009-10-30 Thread Rick Moynihan
2009/10/18 David Powell : > > Hi, > > I just posted a project at . > > It uses the Java Attach API to let you connect a Clojure REPL to any running > Java or Clojure process, without them requiring any special startup. > This is really cool and seems very usef

Re: Hiring full-time work-at-home clojure/emacs dev

2009-10-13 Thread Rick Moynihan
Apologies for the non clojure related post! 2009/10/13 Phil Hagelberg : > > Robert Stehwien writes: > >> How well does remote pair programming work?  I telecommute 100% so I'm >> curious.  Must be working for you guys, I just haven't tried Rudel.  Since I >> almost live in emacs I should give it

Re: Can anyone here give a comparison between Clojure and Erlang on concurrent programming?

2009-09-25 Thread Rick Moynihan
2009/9/24 wmacgyver : > > Excellent summary of each language's sweet spot. I'd like to suggest a > different book for Erlang though. > > For learning Erlang, I'd suggest Erlang Programming by Francesco > Cesarini & Simon Thompson, published by O'Reilly Yes, this is definitely the best book curren

Re: Namespace/class visibility in eval

2009-09-23 Thread Rick Moynihan
> On Tue, Sep 22, 2009 at 6:46 PM, Eric Tschetter wrote: > But, this looks like a gaping security hole. You're taking an HTTP POST > request body and eval'ing it. Someone will, sooner or later, try typing > "(delete all the secret files)" into the web form and clicking Send. Or > worse, something

Re: Is knowing Java a prerequisite for using Clojure?

2009-09-17 Thread Rick Moynihan
2009/9/17 Hugh Aguilar : > > Thanks for the encouragement. I've already got the book. > > I suppose eventually I will have to learn Java. I have been putting it > off because I hear a lot of Java-bashing from programmers, and have > also noted that this is generally the impetus for the development

Re: clojure-test-mode overlays

2009-09-17 Thread Rick Moynihan
2009/9/17 Phil Hagelberg : > > Rick Moynihan writes: > >> I'm using the latest clojure-mode with slime, (setup through >> clojure-install) and have started playing with clojure-test-mode. >> >> Unfortunately it doesn't appear to display the test resul

clojure-test-mode overlays

2009-09-16 Thread Rick Moynihan
Hi all, I'm using the latest clojure-mode with slime, (setup through clojure-install) and have started playing with clojure-test-mode. Unfortunately it doesn't appear to display the test results anywhere... Though it does appear to run the tests as the mode line displays "Ran 1 tests. 0 failure

  1   2   >