[ANN] Ask-Me-Anything session with Carin Meier on ClojureVerse

2018-01-04 Thread 'Martin Klepsch' via Clojure
Following up on a previous AMA session with Colin Fleming we're very happy to have Carin Meier on board for the second ever AMA on ClojureVerse. All details can be found here: https://clojureverse.org/t/ama-with-carin-meier-author-of-living-clojure-on-friday-january-12th/1325 Date is next Frida

Free Clojure webinar about Klipse this weekend

2017-03-01 Thread Jay Martin
Our open source learning group is hosting the free online webinar _Essential Klipse_ this Saturday at 7 pm UTC. ClojureScript fundamentals will also be discussed. Everyone is welcome! Klipse is a simple client-side code evaluator, pluggable on any web page. The essence of Klipse is *interactivi

Learning and Teaching Clojure

2017-02-26 Thread Jay Martin
*Do you have an interest in how we can get better at learning and teaching technical subjects such as programming and Clojure? * Me too! That's why I wrote a talk about it for *Clojure Remote 2017*, *The Value of Learning *. I want to thank this community for conti

Re: [ANN] Clojure 1.9.0-alpha4

2016-06-04 Thread Martin Raison
I support this change. Not only is it closer to the GIGO philosophy, but "let x in S" is actually a very reasonable use-case. Sometimes I just want an element from a set and I don't care about which particular one. Your code may break if you're using try/catch to handle sets in a special way, b

Re: Best practice for calling Clojure from Java

2016-05-02 Thread Patrick Martin
t; https://github.com/clojure/clojure/blob/master/src/jvm/clojure/java/api/Clojure.java >>> >>> It was added in Clojure 1.6 exactly for this use-case, and will be quite >>> fast, especially if you store the vars somewhere and only look them up >>> once. >

Best practice for calling Clojure from Java

2016-05-01 Thread Patrick Martin
I am working on a Clojure/Java stack, where the Java layer uses Vert.x to manage a collection of embedded computers and the Clojure layer would allow interaction with this system dynamically. I am designing a Clojure DSL that would allow a user to load new functions and deploy them live into the

Compile ClojureScript in Java application

2016-04-26 Thread Martin Grześlowski
I'm trying to compile String that contains Clojure Script code in Java/Groovy. I'm not really happy with using *"java -jar ...".execute()*. Is there any way to invoke clojurescript library (version 1.8.51) to compile code? -- You received this message because you are subscribed to the Go

Re: org-mode Clojure babel

2016-01-07 Thread Martin Clausen
t; org.sonatype.aether.util.artifact.DefaultArtifact. > (DefaultArtifact.java:56) > cemerick.pomegranate.aether$artifact.invoke (aether.clj:222) > cemerick.pomegranate.aether$dependency.invoke (aether.clj:230) > cemerick.pomegranate.aether$resolve_dependencies_STAR_$fn__190.invoke > (ae

Re: org-mode Clojure babel

2016-01-06 Thread Martin Clausen
If you update to cider/cider-nrepl 0.11.0-snapshot in your .lein/profiles.clj that should fix the problem. On Wed, Jan 6, 2016 at 1:02 PM Johannes wrote: > BUT!!! > > With cider-nrepl set to 0.10.0 and cider set to 0.11.0-snapshot emacs > complains: > WARNING: CIDER requires nREPL 0.2.12 (or new

Re: [ANN] core.async 0.2.374

2015-11-11 Thread Martin Raison
Thanks! Le mercredi 11 novembre 2015 14:30:34 UTC-8, Alex Miller a écrit : > > Dependency info: [org.clojure/core.async "0.2.374"] > > This release bumps the versions of all upstream dependencies. In > particular, this pulls in new versions of tools.analyzer.jvm, tools.reader, > etc. > > The fo

Re: [ANN] core.async-0.2.371

2015-10-28 Thread Martin Raison
Awesome, thanks! Le mercredi 28 octobre 2015 14:06:41 UTC-7, Alex Miller a écrit : > > I am happy to announce a long-overdue core.async release. > > Dependency info: [org.clojure/core.async "0.2.371"] > > There are a few new features in this release: > > 1) *promise-chan* is a function that retur

Re: [ANN] Clojure 1.8.0-beta1

2015-10-15 Thread Martin Raison
I migrated a significant Clojure codebase to 1.8.0-beta1, and I had to solve issues caused by this IMapEntry/APersistentVector change in several places (including the pull request mentioned above). Also wondering about the rationale behind this. It's not a huge deal, but it does make some code

Re: [:ann] cats 1.0.0

2015-09-22 Thread Martin Raison
Great work! Le jeudi 17 septembre 2015 04:47:42 UTC-7, Alejandro Gómez a écrit : > > Hello everyone, > > I'm glad to announce the 1.0.0 release of cats[1], a library with > category theory > and algebraic abstractions for Clojure(Script). This release packs a lot > of new > features and it al

Re: Using go/

2015-07-30 Thread Martin Raison
a lot like C#'s Async/Await, but that was dropped in favor of CSP pretty > quickly. So there's reasons why the language isn't optimized for this sort > of programming style. > > Timothy > > On Thu, Jul 30, 2015 at 9:17 AM, Martin Raison > wrote: > >> He

Re: Using go/

2015-07-30 Thread Martin Raison
Hey Thomas, Thanks for the great feedback! A few clarifications below. > It should be noted that your async macro does in fact use the dispatcher > just like a normal go would, the only difference is that it will start > executing immediately in the current thread until the first "pause" inst

Using go/

2015-07-29 Thread Martin Raison
go blocks tend to spread in Clojure programs just like async/await in C#/Hack/Python, etc. The problem is that they aren't cheap. I was curious to know what you guys think of the following workaround: http://blog.martinraison.com/clojure/2015/07/27/clojure-core-async-go-blocks-everywhere.html (T

Re: core.async status?

2015-07-04 Thread Martin Raison
thanks! Le samedi 4 juillet 2015 20:38:22 UTC-7, Alex Miller a écrit : > > Oh just busy. We will get to a new release 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 clojure@googlegroups.com Note th

core.async status?

2015-07-04 Thread Martin Raison
I'm a big fan of core.async. Is there any specific roadmap for its development? The latest release has been "0.1.346.0-17112a-alpha" for the past 9 months. Of course I perfectly understand if the answer is "not enough time, not enough resources" - I'm just hoping for a small status update, give

Online hacktahon on June 27 - Clojure available

2015-06-24 Thread Maria Martin
Hi everyone, Just to let you know about an online hackathon that may be of interest to you: http://www.codingame.com/challenge/code-of-the-rings The concept is: 24 hours to code and optimize a solution to a problem. It's free and open to all. There are other games to train on the platform (page

Re: Accessing static fields

2015-05-21 Thread martin madera
ojure is not so pleasant. But Clojure is no harder, it's different - you need to start thinking a bit differently than in Python. Martin On Thursday, 21 May 2015 05:49:31 UTC+2, Pierre Thibault wrote: > > I love to program in Python and when you want do something in Python it is >

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

2015-05-18 Thread martin madera
rchitecture if you think you need to use Observer before really implementing it (which however can be done without problems). Martin On Thursday, 7 May 2015 04:33:24 UTC+2, larry google groups wrote: > > I am looking here: > > > https://strange-loop-2012-notes.readthedoc

Re: CLJ-703 - 10x compilation time decrease after applying one-line patch, no downsides.

2015-05-08 Thread Martin Raison
I'm glad to hear that. Thanks! Le vendredi 8 mai 2015 14:23:03 UTC-7, Alex Miller a écrit : > > Yes. > > > On Friday, May 8, 2015 at 3:09:06 PM UTC-5, Andy Fingerhut wrote: >> >> Just to clarify, Alex, since your idea of "next release" might be >> different than those who aren't following Clojure

CLJ-703 - 10x compilation time decrease after applying one-line patch, no downsides.

2015-05-08 Thread Martin Raison
situations require it, the speed bump is so huge that we might want some special-case logic. Martin -- 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 mem

[ANN] clj-try : Clojure Try / Error macros.

2015-04-28 Thread Martin Cooper
clj-try : Clojure Try / Error macros 0.1.0 is now available. https://github.com/martincooper/clj-try -- 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 mo

Re: Any Lispers in South Devon, UK?

2015-03-26 Thread Martin Rist
Great to see everyone at the inaugural meeting last night. Looking forward to the same again next month! Martin -- 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 post

Re: partition-when

2015-03-05 Thread Martin Harrigan
Hi Frank, I use a similar function that combines partition-by and partition-all: (defn partition-when [f coll] (map (partial apply concat) (partition-all 2 (partition-by f coll Martin. On Wed, Mar 4, 2015 at 10:19 PM, Ivan L wrote: > I went though almost the exact same exercise

Re: Any Lispers in South Devon, UK?

2015-03-05 Thread Martin Rist
Hi Stephen Just seconding John Kane's post below - there are a few of us (including John and Dan Stone) who met up at the Exeter Web session last week. I'd definitely be interested in meeting up if something in Exeter works for you. Martin -- You received this message becau

Re: ANN: ClojureScript 0.0-2719, JavaScript Dependencies

2015-01-24 Thread Martin Klepsch
David, thanks for making those improvements to Clojurescript, they'll make things a lot easier in the future. In the realm of Boot we started working on CLJSJS as an effort to package up and ship popular Javascript libraries for use in Clojurescript [1]. While these packages have only been compa

Re: Code snippets to attract new users

2014-04-18 Thread martin madera
rary rather than copy-pasting to the every other program. I have only 5 years of commercial experience in programming, but IMHO small code-snippets like that you sent can not persuade someone to change language except some small/toy projects. Martin Maděra On Friday, 18 April 2014 10:03:29

Re: STM and persistent data structures performance on mutli-core archs

2014-03-30 Thread Martin Thompson
Memory access patterns make a huge a difference to memory throughput. I've explored this in some detail in the following blog. http://mechanical-sympathy.blogspot.co.uk/2012/08/memory-access-patterns-are-important.html On Sunday, 30 March 2014 06:40:24 UTC+1, Andy C wrote: > > > Hi, > > So this

Re: STM and persistent data structures performance on mutli-core archs

2014-03-19 Thread Martin Thompson
> > >1. Due to the path-copy semantics, the contention gets driven to the >root of the tree. > > > Out of curiosity, would reference counting (rather than or in addition to > "normal" GC) help with this? Or is reference counting problematic in a > highly concurrent environment? It seem

Re: STM and persistent data structures performance on mutli-core archs

2014-03-18 Thread Martin Thompson
> As a co-author of the reactive manifesto I'd like to point out that >> "reactive" can be considered a superset of "async". Good reactive >> applications are event driven and non-blocking. They are also responsive, >> resilient, and scalable which async can help with but does not prescribe. >

Re: STM and persistent data structures performance on mutli-core archs

2014-03-18 Thread Martin Thompson
> > In my personal experience I cannot get within 10X the throughput, or >> latency, of mutable data models when using persistent data models. >> > > Hi Martin, > Thanks for finding this thread :-). Let me ask a reversed question. Given > you come from a persistent

Re: STM and persistent data structures performance on mutli-core archs

2014-03-18 Thread Martin Thompson
As a co-author of the reactive manifesto I'd like to point out that "reactive" can be considered a superset of "async". Good reactive applications are event driven and non-blocking. They are also responsive, resilient, and scalable which async can help with but does not prescribe. What are the

Re: Working with zippers and trees

2013-11-27 Thread Martin Clausen
You are right, but why is this a problem? The zipper works as intended and if you need to detect leaf nodes, that kan be done by checking for the presence of a non-empty value of the children key. On Wed, Nov 27, 2013 at 2:18 PM, dabd wrote: > Your map-tree is exactly like an xml-zip. > The probl

Re: Working with zippers and trees

2013-11-27 Thread Martin Clausen
Ah, sorry. You could use a map-tree instead. It is a bit more verbose, but I believe it does what you want. (defn map-tree [root] (z/zipper map? #(seq (:cs %)) (fn [node children] (assoc node :cs (and children (apply vector children roo

Re: Working with zippers and trees

2013-11-26 Thread Martin Clausen
Yes, for instance like this: (let [vz (z/vector-zip [1 [2] [3 [4 5]]])] (loop [loc vz] (if (z/end? loc) (z/root loc) (recur (z/next (if (and (integer? (z/node loc)) (odd? (z/node loc))) (z/replace loc (* 2 (z/node loc)))

Re: Incanter/vector-clj use error

2013-10-31 Thread P Martin
again, Patrick On Wednesday, October 30, 2013 1:28:00 PM UTC-4, Jim foo.bar wrote: > > On 30/10/13 16:56, P Martin wrote: > > Thanks - I'm still a little confused on the different between use and > require. > > > 'use' is sort of deprecated after it was notic

Re: Incanter/vector-clj use error

2013-10-30 Thread P Martin
in your code whenever you want use a function from core.matrix you use > the alias => (mat/esum .. ... ... ..) > the same for incanter. Use the alias and the function name. > > hope that helps, > Jim > > > > On 29/10/13 20:23, P Martin wrote: > > Hello, >

Incanter/vector-clj use error

2013-10-29 Thread P Martin
Hello, I am trying to use incanter to plot the results from my ode solving routines. I use vectorz-clj to maintain the matrices and then want to use incanter to display. When I go to use incanter, I get the following error: (use '(incanter core charts pdf)) IllegalStateException tan already re

Re: Getting lengths/dimensions in vectorz-clj

2013-10-22 Thread P Martin
On Tuesday, 22 October 2013 23:30:01 UTC+8, P Martin wrote: >> >> Hi there, >> >> I am using vectors-clj to do some optimization work, but I am having >> trouble getting the dimensions of the matrices I build. I come from Matlab, >> so I am used to comman

Getting lengths/dimensions in vectorz-clj

2013-10-22 Thread P Martin
Hi there, I am using vectors-clj to do some optimization work, but I am having trouble getting the dimensions of the matrices I build. I come from Matlab, so I am used to commands such as "size(M)" which returns the (n,m) dimensions of the matrix M. I am including clojure.core.matrix in my code

Re: Are there any GUI based Clojure apps out there?

2013-10-18 Thread Martin DeMello
This one was last updated for clojure 1.3, so it may be a trifle bit-rotted, but it demonstrates using a custom widget as part of a gui: https://github.com/martindemello/xw-clj martin On Thu, Oct 17, 2013 at 6:31 AM, Jonathon McKitrick wrote: > I'd be interested in seeing some client-s

Re: [ANN] Grenchman, for running Clojure code quickly

2013-10-08 Thread Martin DeMello
Nice! I'd been vaguely thinking of redoing my nrepl client but I don't really use clojure these days. Glad to see you're a fan of ocaml too :) martin On Tue, Oct 8, 2013 at 7:49 PM, Phil Hagelberg wrote: > When we've polled Leiningen users in the past[1], the #1 pai

Re: Emacs font and theme for clojure

2013-09-26 Thread martin madera
I am quite comfortable with arjen theme. Dne čtvrtek, 26. září 2013 20:15:27 UTC+2 Joel Holdbrooks napsal(a): > > I've been using the noctilux-theme > with > Oxygen Mono or Liberation > Mono

Re: using httpkit + core.async to build a simple WebSocket-based chat demo

2013-07-21 Thread Christopher Martin
Thanks for sharing this! I'm in a similar mindset right now, working on a cljs port of a JS WebSocket library (AutoBahnJS) for clj-wamp<http://cljwamp.us> . Examples like these have been very helpful for getting up to speed on ClojureScript and core.async. Cheers, ~Christopher

Re: Socket.IO and Clojure?

2013-07-20 Thread Christopher Martin
WebSockets with HTTP Kit. Cheers, ~Christopher Martin On Friday, July 19, 2013 1:33:51 PM UTC-4, c...@bitemyapp.com wrote: > > If you want something robust I'd recommend something like http-kit or > Netty on the backend + using websockets (and a shim) directly on the > frontend, or

Re: Lamina receive-all functionality

2013-07-11 Thread P Martin
there: > https://groups.google.com/forum/#!topic/aleph-lib/SIO9Z8d3tdo. For > future reference, you're more likely to get my attention, or the attention > of someone else who can answer your question, if you post it there. > > Zach > > On Thursday, July 11, 2013 12:21:20

Lamina receive-all functionality

2013-07-11 Thread P Martin
Hi there, I am working on an application using Lamina where I register several callbacks on a channel with receive-all. At some point in the application, I want to cancel all current callbacks. When this occurs the channel appears to close. Why does this happen? Is this a safety feature? For e

Re: vectorz doesn't handle scalars?

2013-07-11 Thread P Martin
version could do everything, however currently > Clojure doesn't allow overloading functions on type, so we need to have the > different namespaces. > > On Thursday, 11 July 2013 14:37:06 UTC+1, P Martin wrote: >> >> I am having a similar error, but it is happening for

Re: vectorz doesn't handle scalars?

2013-07-11 Thread P Martin
Martin wrote: > > I am having a similar error, but it is happening for the vectors. I just > updated to the 0.11.0 version of vectorz. I have the following project file: > > [org.clojure/clojure "1.5.1"] > > [incanter/incanter-core "1.5.1"] > > [in

Re: vectorz doesn't handle scalars?

2013-07-11 Thread P Martin
I am having a similar error, but it is happening for the vectors. I just updated to the 0.11.0 version of vectorz. I have the following project file: [org.clojure/clojure "1.5.1"] [incanter/incanter-core "1.5.1"] [incanter/incanter-charts "1.5.1"] [net.mikera/vectorz-clj "0.11.0"] And I get

Re: [ANN] clj-wamp 1.0.0-rc1 is released

2013-07-09 Thread Christopher Martin
wesome library. I've been using it for a couple weeks now > and it's been really easy to use. I appreciate the great documentation. > > On Monday, July 8, 2013 11:54:00 AM UTC-4, Christopher Martin wrote: >> >> clj-wamp: WAMP WebSocket subprotocol for HTTP Kit. >

[ANN] clj-wamp 1.0.0-rc1 is released

2013-07-08 Thread Christopher Martin
ttps://github.com/cgmartin/clj-wamp Cheers, ~Christopher Martin http://cljwamp.us -- -- 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

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Christopher Martin
https://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/authentication > WAMP-CRA > (WAMP Challenge Response Authentication)? > > On Tuesday, June 25, 2013 6:52:40 AM UTC+3, Christopher Martin wrote: >> >> Good call. I agree the prefix shortening should be more

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Christopher Martin
: > > That is a great tutorial Christopher. Really easy to follow. > > You might want link the use of CURI (should be CURIE right?) in your > code example to the explanation of prefix shortening, as it is not > readily apparent that these are linked(at least not to me). > >

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Martin Clausen
That is a great tutorial Christopher. Really easy to follow. You might want link the use of CURI (should be CURIE right?) in your code example to the explanation of prefix shortening, as it is not readily apparent that these are linked(at least not to me). Martin On Mon, Jun 24, 2013 at 5:15 PM

Re: Best practice for looping

2013-06-24 Thread P Martin
n't, you can (use 'clojure.repl) to get to it. > http://clojure.github.io/clojure/clojure.repl-api.html#clojure.repl/pst > > Yes, switching to mapv (map into a vector) instead of map (lazy-seqs) > prevents laziness from building up while keeping the same semantics. > > > On M

Re: [ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-24 Thread Christopher Martin
Martin, Thanks for the kind feedback. I've written a tutorial (first draft) that covers some of the basics, and created a leiningen template for quick-starting a new HTTP-Kit/clj-wamp project: http://cljwamp.us/tutorial https://github.com/cgmartin/clj-wamp-template Cheers, ~Christopher M

Re: Best practice for looping

2013-06-24 Thread P Martin
ojure environment. Patrick On Friday, June 21, 2013 4:06:28 PM UTC-4, P Martin wrote: > > Hi, > > I am new to clojure and I am trying to reimplement some optimization code > that uses gradient descent. I have attached the source to this post. My > experience with gradient descent

Re: Best practice for looping

2013-06-22 Thread P Martin
function calls itself, try to see if you can get that call into tail > position and change it to "recur". > > > On Fri, Jun 21, 2013 at 4:06 PM, P Martin > > wrote: > >> Hi, >> >> I am new to clojure and I am trying to reimplement some optimization

Best practice for looping

2013-06-21 Thread P Martin
Hi, I am new to clojure and I am trying to reimplement some optimization code that uses gradient descent. I have attached the source to this post. My experience with gradient descent is in Matlab, which is procedural. When I run my function gradient-descent I supply step sizes and error value

[ANN] clj-wamp : a WebSocket sub-protocol for HTTP Kit

2013-06-18 Thread Christopher Martin
in/clj-wamp-example The code has stabilized enough to release as beta, but I'll warn you that it's still under development. Next up is to try integrating with Aleph, and port the JavaScript WAMP client to ClojureScript. Cheers, ~Christopher Martin -- -- You received this message be

Re: Newbie dependency loading issue

2013-06-18 Thread P Martin
:44 AM UTC-4, Sean Corfield wrote: > > What did you put in your project.clj file? > > > On Mon, Jun 17, 2013 at 6:30 PM, P Martin > > wrote: > > Hi, > > > > I want to get the clojure.math.numeric-tower namespace into my code > using: > >

Newbie dependency loading issue

2013-06-17 Thread P Martin
Hi, I want to get the clojure.math.numeric-tower namespace into my code using: (require '[clojure.math.numeric-tower :as math]) I also follow the directions on the github for the library to add a lein dependency in Eclipse. Unfortunately, the code does not find the library, even though the l

Re: core.logic: Strange behaviour when using featurec with nested feature map (bug?).

2013-05-06 Thread Martin Forsgren
Thanks for fixing it! Den måndagen den 6:e maj 2013 kl. 02:43:53 UTC+2 skrev David Nolen: > > Fixed in master, thanks for the report! > > > On Thu, Apr 25, 2013 at 5:53 PM, Martin Forsgren > > > wrote: > >> Hi! >> >> I noticed something strange when

Re: Understanding unmatched parenthesis in read-string

2013-04-29 Thread Weber, Martin S
user=> (doc read-string) - clojure.core/read-string ([s]) Reads *one* object from the string s nil (emphasis on *one* by me) one object from ":a(" = :a; ":a)" = :a; "( … " = fail; ")…" = fail. (remember whitespace in front of a paren doesn't matter) Have fun. From: noa

Re: core.logic: Strange behaviour when using featurec with nested feature map (bug?).

2013-04-26 Thread Martin Forsgren
Ok, ticket created: http://dev.clojure.org/jira/browse/LOGIC-132 - Martin Den torsdagen den 25:e april 2013 kl. 23:56:43 UTC+2 skrev David Nolen: > > Looks like a featurec bug, please file a ticket > http://dev.clojure.org/jira/browse/LOGIC > > Thanks! > David > > > O

Re: [GSoC 2013] core.logic CLP(Prob)

2013-04-25 Thread Martin Forsgren
What are your thoughts on slpKanren? Could it be used as a base for probabilistic programming in core.logic? https://github.com/webyrd/slpKanren - Martin Den onsdagen den 24:e april 2013 kl. 17:34:05 UTC+2 skrev David Nolen: > > This is great, thanks for the thoughts, gist & links! &g

Re: Clojure - CLR - JS - Visual Studio Extension

2013-03-19 Thread Martin Jul
t to Clojure CLR. If you would be wonderful if you would help. Cheers, Martin -- -- 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 -

Re: Windows Installation

2013-03-10 Thread Martin Jul
much trouble and I believe that it would be a simple solution for Clojure, too. Cheers, Martin -- -- 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 member

Re: how does one embed nrepl in his own application?

2013-03-05 Thread Weber, Martin S
$ lein new replbuiltin && cd replbuiltin $ sed -Ee 's,.0",.0"][org.clojure/tools.nrepl "0.2.2",' < project.clj > p && mv -f p project.clj $ lein deps $ cat < src/replbuiltin/core.clj (ns replbuiltin.core (:use [clojure.tools.nrepl.server :only [start-server stop-server]])) (defn foo [x] x) (def

Re: Clojurescript bug

2013-03-05 Thread Weber, Martin S
$ lein search clojurescript Searching over Artifact ID... == Showing page 1 / 2 [org.clojure/clojurescript "0.0-927"] ClojureScript compiler and core runtime library. (...) [org.clojure/clojurescript "0.0-1576"] ClojureScript compiler and core runtime library. [org.clojure/clojurescript "0.0-1586"

Re: Heroku & Boot Times

2013-01-23 Thread Weber, Martin S
core ht 3 Ghz w/ 3G RAM (it's still taking about factor 200 too long, but hey! Halved it already! On my work laptop though, the difference is 2 or 4 seconds. Not that big of a deal). Regards, -Martin From: Jeroen van Dijk mailto:jeroentjevand...@gmail.com>> Reply-To: "clojure@go

RE: edn

2012-09-07 Thread Weber, Martin S
ables, as e.g. tcl where arrays are actually hashtables with integer keys)? Please do read my post again. I'm aware of the clojure link etc. etc. etc. We're talking about a data format here. Regards, -Martin From: clojure@googlegrou

RE: edn

2012-09-06 Thread Weber, Martin S
. It has to be deserialized, and access to an element will have linear time complexity. Again, I understand its relevance from the clojure perspective. Is this just "too important" for edn's current "implementor", clojure ? Regards, -Martin -- You received this mes

RE: edn

2012-09-06 Thread Weber, Martin S
's edn that needs to. If it cannot convince anyone, you're wasting your time. I don't expect you to waste your time. Thus, I expect edn to be able to convince me, once it gets its point across. And I will refrain from further comments until I've seen that "argument" edn m

RE: edn

2012-09-06 Thread Weber, Martin S
Rich: > On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote: > > which problem other than "NIH" is edn solving? - given it's a subset of > > clojure's data notation, it's not really native clojure either, so you > > gotta convert to/fro. > Of c

RE: edn

2012-09-06 Thread Weber, Martin S
em before, but definitely not answered them on the edn page. Regards, -Martin Weber -- 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 modera

Problems with Leiningen and Clojure 1.4

2012-09-02 Thread Martin
y. Running lein deps gives no error but I cant find Clojure 1.3.0 downloaded anywhere. There is a .lein folder in C:\Users\Martin which contains a couple of jars but not the main Clojure one. Running lein repl starts clojure 1.3.0 without errors, but as above, as soon as I type anything it freezes.

Re: European conferences in 2012?

2012-08-29 Thread Martin Dow
A 1 day event in Amsterdam on 27th Oct was announced here recently: https://groups.google.com/forum/?fromgroups=#!topic/clojure/rEBJK4KkdNo Martin. On Wednesday, 29 August 2012 14:08:37 UTC+1, Jonathan Lange wrote: > > Hello everyone, > > Just wondering if there are any co

Re: atom and lock

2012-07-19 Thread Martin Dow
requirements, but I found the explanation very useful, as it accessibly explains the issue at quite a low level. Martin. On Wednesday, 18 July 2012 12:55:13 UTC+1, Brian Hurt wrote: > > Accesses to atoms are just wrappers around atomic compare and swap > instructions at the hardware

Re: easier way to memoize a record's protocol implementing defns?

2012-07-09 Thread Weber, Martin S
end > > >(extend SomeOps MImp {:someop (memoize (fn [me] ...))}) Yep, I was aware of that option but I find it less aesthetically pleasing. This and/or declaring a single private def with a lambda inside will do for the time being, though. Thanks, -Martin -- You received this message because you

easier way to memoize a record's protocol implementing defns?

2012-07-09 Thread Weber, Martin S
yself) (:x myself)))] (yay me but wait, the let (or letfn) will still be re-executed each time. We can move the let outside the defrecord, of course, but then we could as well go with (def ^:private), no? So is there a way to do it cleaner without resorting to using the map/implementation (de

Re: Why cannot "last" be fast on vector?

2012-06-29 Thread Weber, Martin S
"possible bug in reducer code" makes me think so. I mean come on, a high level operation being optimized on certain types? Heresy! Regards, -Martin -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to

Re: algebra system & core.logic

2012-05-21 Thread Martin Jul
There are standard algorithms to do that. It would be interesting to compare to core.logic's performance. Modelling the dependencies in core.logic is straightforward, but ordering them in linear time is not obvious to me - but I would love to see the code if you do it. All the best, Mart

Re: Let over Lambda

2012-05-18 Thread P Martin
gt; > Hope that helps, I'm still in my metamorphosis from imperative programming. > > On Thu, May 17, 2012 at 10:23 PM, P Martin wrote: > >> Hi everyone, >> I was perusing Amazon for some books on Clojure and Lisp and came across >> Let Over Lambda. From its

Let over Lambda

2012-05-17 Thread P Martin
Hi everyone, I was perusing Amazon for some books on Clojure and Lisp and came across Let Over Lambda. From its reviews, it seems that this book may be useful for macro development in Clojure. Has anyone else read this book? Do you think it would be a good book for Clojure work? Thanks! -- Y

Re: Trouble with classpath

2012-05-06 Thread Patrick Martin
Thanks for the tips and the welcome. I have been wanting to learn clojure for over a year, but teaching has been keeping me busy! Summer is here and it's time to learn. It appears that restarting the repl fixed that issue. I then tested the same code in a terminal repl and the CCW repl and I ge

Trouble with classpath

2012-05-06 Thread Patrick Martin
Hi everyone, I'm new to clojure and I have been working through Clojure in Action as well as Chas Emerick's webcast. I created my environment in Eclipse and CCW, but I am having trouble using "use" to get the json library in my program namespace. I have the leiningen project.clj use the [org.d

Re: Alan Kay talk

2012-04-25 Thread Martin Forsgren
this. > The source is here: http://github.com/damelang/gezira (the rendering engine) and here: http://github.com/damelang/nile (the language) VPRIs wiki has some more info: http://www.vpri.org/vp_wiki/index.php/Gezira - Martin -- You received this message because you are subscribed to the G

Re: GSoC: Browser-based Clojure(Script) editor

2012-04-06 Thread Martin Forsgren
will definitely keep an eye out for what happens with the projects and maybe work on them in my spare time (maybe they can be combined?). Den torsdagen den 22:e mars 2012 kl. 11:23:53 UTC+1 skrev Martin Forsgren: > > Hello! > I am thinking of applying to GSoC and I found the proposal to continue

Re: GSoC: Browser-based Clojure(Script) editor

2012-04-04 Thread Martin Forsgren
llRect ctx (.-offsetX e) (.-offsetY e) 10 10) (.stroke ctx))) $canvas) for example. Den torsdagen den 22:e mars 2012 kl. 11:23:53 UTC+1 skrev Martin Forsgren: > > Hello! > I am thinking of applying to GSoC and I found the proposal to continue > working on Chris Grangers C

Re: partition-distinct

2012-03-29 Thread Weber, Martin S
Meh. Half-assed (mis)reading. Sorry. -Martin On 2012-03-29 16:23 , "Weber, Martin S" wrote: >Yeah I don't like that either. Consider (comp vals (partial group-by >identity)). > >On 2012-03-29 16:18 , "David Jagoe" wrote: > >>Hi all, >>I&

Re: partition-distinct

2012-03-29 Thread Weber, Martin S
Yeah I don't like that either. Consider (comp vals (partial group-by identity)). On 2012-03-29 16:18 , "David Jagoe" wrote: >Hi all, >I'm sure I'm missing a really simple way of doing this! > >Given a sequence like this: [1 2 1 2 1 1 2 1 2 2 2] > >partition it to get this: [(1 2) (1 2) (1) (1 2)

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-28 Thread David Martin
There is a jquery plugin called "hoverintent" which accomplishes this. http://cherne.net/brian/resources/jquery.hoverIntent.html -Dave On Tue, Mar 27, 2012 at 3:41 PM, Andy Fingerhut wrote: > I would be happy to, if someone could teach me how to do it. I didn't > write the JavaScript that does

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread David Martin
"There can be only one." :-) I prefer #3 as well. On Mon, Mar 26, 2012 at 2:25 PM, Andy Fingerhut wrote: > Welcome, Pierre. > > Thanks for the info. My current thinking is to start publishing on > clojure.org two, or maybe even three versions of the cheatsheet: > > (1) no tooltips, just like the

Re: GSoC: Browser-based Clojure(Script) editor

2012-03-27 Thread Martin Forsgren
y others on related tools. > > > Will try to get something sensible out this week. > > > Would be happy to collaborate with others. > > > On Mon, Mar 26, 2012 at 10:19 AM, David Nolen > > wrote: > > > Martin, > > > > This sounds like a

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-24 Thread David Martin
I agree that title attribute is the way to go. You shouldn't use the alt attribute for tooltips though, as this violates accessibility standards. Alt should either contain a literal description of the image, or be left empty. On Mar 23, 2012 1:11 PM, "Cedric Greevey" wrote: > On Fri, Mar 23, 2012

GSoC: Browser-based Clojure(Script) editor

2012-03-22 Thread Martin Forsgren
Hello! I am thinking of applying to GSoC and I found the proposal to continue working on Chris Grangers Clojure(script)-editor in "Bret Victor- style" really interesting. I have some ideas on features that I think would be nice to have, other than opening, saving and compiling files: Visualizatio

  1   2   3   >