Clojure android activity?

2017-06-23 Thread Mike Meyer
Is there still any activity in the clojure-android space? The clojure-android mail list is largely inactive, seems like the developers of lein-droid haven't done anything in months (1.7.0-r4 is still used in the templates), and the numerous references If ind for an android-clojure web site are

Re: Build tool for mixed Clojure/Java projects

2011-07-13 Thread Mike Meyer
model in order to justify your erroneous assumption that having a repository implies having a server? I'm not sure whether that's more funny or pathetic. mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more

Re: Build tool for mixed Clojure/Java projects

2011-07-12 Thread Mike Meyer
On Mon, 11 Jul 2011 20:49:01 -0400 Ken Wesson kwess...@gmail.com wrote: On Mon, Jul 11, 2011 at 7:39 PM, Mike Meyer m...@mired.org wrote: On Mon, 11 Jul 2011 07:51:33 -0400 Ken Wesson kwess...@gmail.com wrote: On Sun, Jul 10, 2011 at 2:01 AM, mike.w.me...@gmail.com m...@mired.org

Re: Build tool for mixed Clojure/Java projects

2011-07-12 Thread Mike Meyer
On Mon, 11 Jul 2011 21:12:20 -0400 Ken Wesson kwess...@gmail.com wrote: On Mon, Jul 11, 2011 at 7:51 PM, Mike Meyer m...@mired.org wrote: On Mon, 11 Jul 2011 16:21:45 -0400 Ken Wesson kwess...@gmail.com wrote: So, repository does not imply server at all, This is getting silly

Re: Build tool for mixed Clojure/Java projects

2011-07-12 Thread Mike Meyer
On Tue, 12 Jul 2011 18:13:57 -0400 Ken Wesson kwess...@gmail.com wrote: On Tue, Jul 12, 2011 at 2:31 PM, Mike Meyer m...@mired.org wrote: You write clearly enough that misinterpretation isn't likely. You were simply making false statements. I do not do that, and I won't tolerate being

Re: Build tool for mixed Clojure/Java projects

2011-07-12 Thread Mike Meyer
On Tue, 12 Jul 2011 18:20:38 -0400 Ken Wesson kwess...@gmail.com wrote: On Tue, Jul 12, 2011 at 3:11 PM, Mike Meyer m...@mired.org wrote: On Mon, 11 Jul 2011 21:12:20 -0400 Ken Wesson kwess...@gmail.com wrote: 2. Many developers, one computer. No remote storage and if the developers

Re: Build tool for mixed Clojure/Java projects

2011-07-11 Thread Mike Meyer
, but not a wire protocol. Last time I looked, there wasn't a standard wire protocol for SQL servers. mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail

Re: Build tool for mixed Clojure/Java projects

2011-07-11 Thread Mike Meyer
checkins or checkouts - they require the repository be stored on the local disk. The last one is the only one that behaves the way you describe - and it's a legacy system I'm trying to get rid of. mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer

Re: Learning Idiomatic Clojure

2011-05-12 Thread Mike Meyer
it sounds like a good idea if someone wanted to write one - maybe starting with a LISP or Scheme style guide (there are lots of those to choose from). mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information

Re: Learning Idiomatic Clojure

2011-05-12 Thread Mike Meyer
On Thu, 12 May 2011 07:45:50 -0700 (PDT) Adam Burry abu...@gmail.com wrote: On May 12, 11:54 am, Mike Meyer m...@mired.org wrote: As others have said, this sounds like you need a book on functional/LISP programming. There are some excellent books for other LISP dialects. Structure

Re: Reading clojure code of larger domain specific projects

2011-05-09 Thread Mike Meyer
into threads of best way to solve this problem - where best varies by author. Similarly, programming problem set sites are popular. So maybe an option for How would I do this might be useful. mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM

Re: What is the purpose of the Identity function?

2011-05-07 Thread Mike Meyer
false values, the appropriate predicate is identity. This case isn't very common, so there's no second version. mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html

Re: dead simple compile to jar file

2011-04-28 Thread Mike Meyer
of interest in tools to make simple things simple. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received

Re: Start Clojure programs from Eclipse

2011-04-24 Thread Mike Meyer
On Sun, 24 Apr 2011 01:07:45 -0400 Ken Wesson kwess...@gmail.com wrote: On Sun, Apr 24, 2011 at 12:01 AM, Mike Meyer m...@mired.org wrote: On Sat, 23 Apr 2011 23:42:23 -0400 Ken Wesson kwess...@gmail.com wrote: On Sat, Apr 23, 2011 at 11:35 PM, Mike Meyer m...@mired.org wrote: On Sat

Re: Start Clojure programs from Eclipse

2011-04-23 Thread Mike Meyer
. Of course, if you're using threads in the parent for other things, then forking to create new processes creates a bunch of interesting things to deal with. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email

Re: Start Clojure programs from Eclipse

2011-04-23 Thread Mike Meyer
On Sat, 23 Apr 2011 23:19:53 -0400 Ken Wesson kwess...@gmail.com wrote: On Sat, Apr 23, 2011 at 8:13 PM, Mike Meyer m...@mired.org wrote: On Sat, 23 Apr 2011 19:41:28 -0400 Ken Wesson kwess...@gmail.com wrote: or you live in a universe where cosmic rays can flip bits and other sources

Re: Start Clojure programs from Eclipse

2011-04-23 Thread Mike Meyer
On Sat, 23 Apr 2011 23:42:23 -0400 Ken Wesson kwess...@gmail.com wrote: On Sat, Apr 23, 2011 at 11:35 PM, Mike Meyer m...@mired.org wrote: On Sat, 23 Apr 2011 23:19:53 -0400 Ken Wesson kwess...@gmail.com wrote: On Sat, Apr 23, 2011 at 8:13 PM, Mike Meyer m...@mired.org wrote: On Sat

Re: Shebang support for cljr

2011-04-20 Thread Mike Meyer
to the nailgun binary), but you have to remember to start the nailgun server. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org

Re: Shebang support for cljr

2011-04-20 Thread Mike Meyer
On Thu, 21 Apr 2011 01:30:25 +0800 Ambrose Bonnaire-Sergeant abonnaireserge...@gmail.com wrote: On Thu, Apr 21, 2011 at 1:28 AM, Mike Meyer m...@mired.org wrote: Performance pretty much sucks - starting the jvm is just slow. You can solve that with nailgun (or something similar), which

Re: help--reading keyboard input from Clojure is surprisingly difficult

2011-04-09 Thread Mike Meyer
-- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google Groups Clojure

Re: What the hell is going on with the Clojure cheat sheet?

2011-04-05 Thread Mike Meyer
domain names to a page that it thinks could make it some money instead of failing. If you look closely (assuming you can still get the page), you're liable to find a buy this domain link somewhere on it. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html

Re: Clojure Code Highlighting in Presentations

2011-04-03 Thread Mike Meyer
generate pretty nearly anything you'd ever want. I've got a state file for clojure you'll need if you want to highlight clojure code. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O

Re: Pointer errors?

2011-04-02 Thread Mike Meyer
. That's what caused the erratic behavior that was driving me nuts. Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org

Init timing for ring web servlet running on Jetty?

2011-03-31 Thread Mike Meyer
, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google Groups

Re: Init timing for ring web servlet running on Jetty?

2011-03-31 Thread Mike Meyer
in which the servlets are initialized. Cool. Worked like a charm. Thanks. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail

Pointer errors?

2011-03-31 Thread Mike Meyer
. Anyone got any clue bits (any at all) I can borrow? Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org

Re: Leiningen capabilities (was Re: A newbie's summary - what worked, what didn't)

2011-03-30 Thread Mike Meyer
comment at the top. Then tasks could edit project.xml without running into those problems. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail

Re: updating a map value

2011-03-30 Thread Mike Meyer
the list of keys with a single key. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because

Re: A newbie's summary - what worked, what didn't

2011-03-28 Thread Mike Meyer
it *really* easy if you didn't have to specify what version of a library you wanted as well as the name. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop

Re: Jesus, how the heck to do anything?

2011-03-25 Thread Mike Meyer
enough to put the clojure jar files in the right place. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received

Re: Jesus, how the heck to do anything?

2011-03-23 Thread Mike Meyer
-- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google Groups

Re: Jesus, how the heck to do anything?

2011-03-23 Thread Mike Meyer
On Wed, 23 Mar 2011 15:55:51 -0700 (PDT) ultranewb pineapple.l...@yahoo.com wrote: On Mar 24, 1:11 am, Mike Meyer m...@mired.org wrote: Long version:  Okay, I'm very new to Clojure.  But I'm not a Java programmer (don't want to be). I don't think you can get very far in Clojure without

Re: How to Sum a Sequence?

2011-03-21 Thread Mike Meyer
to use what for offers since you started with it. Personally, I'd probably use Daniel's filter/take-while solution. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon

Re: Transforming map entries

2011-02-22 Thread Mike Meyer
for this to work? Since it doesn't guarantee that serializing the entries of a map will always get the same order, that seems unlikely. thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email

Re: Transforming map entries

2011-02-22 Thread Mike Meyer
- or things could have changed since then. But I'd like to see a reference to that effect, other than the fact that the current implementation behaves that way. Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM

Re: Get digits of a number

2011-02-17 Thread Mike Meyer
are used *everywhere* in the language, and hence tuned as tightly as possible and thus blasted fast. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html

Re: Get digits of a number

2011-02-17 Thread Mike Meyer
On Thu, 17 Feb 2011 15:27:47 -0600 Michael Gardner gardne...@gmail.com wrote: On Feb 17, 2011, at 1:36 PM, Mike Meyer wrote: My turn... (defn to-digits Create a seq of digits from a number. [i] ^{:user/comment For Euler Problems (Specifically 16)} (map {\0 0 \1 1 \2 2 \3 3

Re: 1st script, last hurtle...

2011-02-16 Thread Mike Meyer
0 1))) (if (re-find rx line) 1 0)) state)] (if (= new-state 1) (println line)) (recur (read-line) new-state)) mike -- Mike Meyer m...@mired.org http

Re: Tricky Macro to write.

2011-02-10 Thread Mike Meyer
example has to be written as (bind-later [a inner a] But that's the standard clojure idiom for bindings, so you should do it that way anyway ;-). mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/SCM consultant, email for more

Re: Problems with lazy-xml

2011-02-10 Thread Mike Meyer
requirement, which building the initial data structure would kill. Maybe something else? Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail

Re: Any news on pull requests?

2011-02-10 Thread Mike Meyer
* they were large and successful. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message

Re: Any news on pull requests?

2011-02-06 Thread Mike Meyer
On Sat, 5 Feb 2011 20:42:54 -0500 Christopher Petrilli petri...@amber.org wrote: On Sat, Feb 5, 2011 at 1:23 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: On Sat, 5 Feb 2011 00:09:41 -0500 Christopher Petrilli petri...@amber.org wrote: For example, the following projects

Re: Any news on pull requests?

2011-02-05 Thread Mike Meyer
fixes/enhancements as patches (my most likely contribution) via the ticketing system without having to jump through that hoop. In the unlikely event I write something significant that someone wants in core or contrib, I'll revisit the issue. mike -- Mike Meyer m...@mired.org http

Re: Any news on pull requests?

2011-02-04 Thread Mike Meyer
, which apparently has no benefits to me except bragging rights, than it did to get my Chickasaw Nation citizenship, which has benefits like scholarships, clothing grants for my school-age children, school housing grants, and of course, voting in tribal elections. mike -- Mike Meyer m

Re: Any news on pull requests?

2011-02-04 Thread Mike Meyer
not require a written agreement. IANAL either, but it sure seems like the current requirements exceeds what the law requires. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon

Re: Getting started with Counterclockwise

2011-01-30 Thread Mike Meyer
Ken Wesson kwess...@gmail.com wrote: On Sat, Jan 29, 2011 at 1:46 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: Ditto.  Most often, the code site is the sole project site, and everything is there. Some larger projects may have a separate home page, but it's always prominently

Re: Getting started with Counterclockwise

2011-01-30 Thread Mike Meyer
Ken Wesson kwess...@gmail.com wrote: On Sun, Jan 30, 2011 at 12:07 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: Sure, Sturgeon's law is closer to 99% than 90% for the web.  But if you don't even look at the right page to start with That is why I say it behooves projects

Re: Getting started with Counterclockwise

2011-01-30 Thread Mike Meyer
Ken Wesson kwess...@gmail.com wrote: On Sun, Jan 30, 2011 at 12:31 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: Ken Wesson kwess...@gmail.com wrote: That is why I say it behooves projects that wish to grow a large user-base to have a highly-ranked google result be clearly

Re: Getting started with Counterclockwise

2011-01-30 Thread Mike Meyer
On Sun, 30 Jan 2011 13:38:24 -0500 Ken Wesson kwess...@gmail.com wrote: On Sun, Jan 30, 2011 at 1:24 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: Ken Wesson kwess...@gmail.com wrote: On Sun, Jan 30, 2011 at 12:31 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org

Re: Getting started with Counterclockwise

2011-01-30 Thread Mike Meyer
On Sun, 30 Jan 2011 13:51:40 -0500 Ken Wesson kwess...@gmail.com wrote: On Sun, Jan 30, 2011 at 1:45 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: Not until after they go there once or twice, find confusing project pages with no clear starting point for prospective end

Re: Getting started with Counterclockwise

2011-01-29 Thread Mike Meyer
Laurent PETIT laurent.pe...@gmail.com wrote: 2011/1/20 Ken Wesson kwess...@gmail.com On Wed, Jan 19, 2011 at 9:39 AM, Rayne disciplera...@gmail.com wrote: Aren't you a developer? I'm not a CCW developer. If a code.google link is the top of google results, that's what I'm going to click

Re: Funding 2011?

2011-01-04 Thread Mike Meyer
sad, but I do understand the problem. Possibly an approach like that taken by FreeBSD - with a foundation that is legally distinct from the core developers - might work for you: http://www.freebsdfoundation.org/about.shtml mike -- Mike Meyer m...@mired.org http

Re: Interesting challenge

2010-12-30 Thread Mike Meyer
. You may disagree Do you know if his C++ version available for examination? thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail

Re: Speed of clojure hash map vs java hash map

2010-12-29 Thread Mike Meyer
the way clojure does. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you

Re: Quicksort with accumulator

2010-12-28 Thread Mike Meyer
)) (defn qsort Perform Quicksort, with apologies to C.A.R. Hoare [coll] (if-let [coll (seq coll)] (qsort* coll []) [])) Regards, BG -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email

SCA FAQ link at clojure.org/contributing....

2010-12-21 Thread Mike Meyer
. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google

Re: Ah-hah! Clojure is a Lisp

2010-12-20 Thread Mike Meyer
information density per bit than video. But it does get the ideas across. It seems a lot of this could have come from other applications I'm using these days, like mercurial (with an immutable history) or zfs (with an immutable file system). Thanks again, mike -- Mike Meyer m...@mired.org

Re: Ah-hah! Clojure is a Lisp

2010-12-20 Thread Mike Meyer
On Mon, 20 Dec 2010 16:27:11 -0500 Ken Wesson kwess...@gmail.com wrote: On Mon, Dec 20, 2010 at 3:00 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: On Mon, 20 Dec 2010 19:26:49 +0100 Meikel Brandmeyer m...@kotka.de wrote: http://clojure.googlegroups.com/web

Re: Ah-hah! Clojure is a Lisp

2010-12-19 Thread Mike Meyer
, but that doesn't make it documentation. -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you

Re: about the repl

2010-12-18 Thread Mike Meyer
. filename))] (.write f (apply str (interleave completions (repeat \n)) (save-completions-to .clojure_completions) to create the list of completions for rlwrap. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant

Improving the documentation

2010-12-16 Thread Mike Meyer
because (we hope) the group keeps growing. If everyone simply ignores improper behavior, the newcomers will assume it's proper behavior (even if there's a covenant for the group saying otherwise). Hence periodic reminders are called for. -- Mike Meyer m...@mired.org http

Re: Improving the documentation

2010-12-16 Thread Mike Meyer
document processing system). mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because

Re: Clojure 1.3 Alpha 4

2010-12-15 Thread Mike Meyer
we'll have to provide them ourselves, but it's easy. Since we're having to fix code anyway, just use a file containing something like: (def add +') (def sub -') (def mul *') (def add1 inc') (def sub1 dec') when you need it. mike -- Mike Meyer m...@mired.org http://www.mired.org

Re: Clojure 1.3 Alpha 4

2010-12-15 Thread Mike Meyer
to mind as search terms when you get an unexpected overflow error. But it works often enough that checking google before asking a question is a productive habit to get into. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce

Re: Clojure 1.3 Alpha 4

2010-12-13 Thread Mike Meyer
Vagif Verdi vagif.ve...@gmail.com wrote: Maybe clojure should adopt linux versioning scheme, where even numbers are stable production clojure and odd numbers are development branch ? Gods please no. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- You received this

Re: Moderately off-topic: installing emacs on OSX

2010-12-10 Thread Mike Meyer
how you're using clojure, put it in your blog. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received

Re: Lots of newbie clojure questions

2010-12-07 Thread Mike Meyer
when they show up in the first position in an executable expression: 1) Functions, which can also be passed to higher order functions. 2) Macros, which can't, but can be aliased by def or use. 3) Java interop things (#6 6 7 on his list), which can't be aliased by def or use. mike -- Mike

Re: parameters destructuring sets?

2010-12-06 Thread Mike Meyer
like wanting to share parts of the value with another structure, or a garbage collection, or ... - which could easily change the results of calling seq on the structure. Not that I know that anything in clojure does that, just that I can see conditions where you might want to. mike -- Mike Meyer

Re: parameters destructuring sets?

2010-12-06 Thread Mike Meyer
On Mon, 6 Dec 2010 17:07:15 -0500 Ken Wesson kwess...@gmail.com wrote: On Mon, Dec 6, 2010 at 4:44 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: On Mon, 6 Dec 2010 16:30:10 -0500 Ken Wesson kwess...@gmail.com wrote: On Mon, Dec 6, 2010 at 1:05 PM, Stuart Sierra

Re: Lots of newbie clojure questions

2010-12-06 Thread Mike Meyer
you 'pause' a thread.) 4. Is it possible (and/or advisable) to introduce a typing system on top of clojure? E.g. a macro-form along the lines of (fnif type_function function args) mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix

Re: How can I avoid needing this other function?

2010-12-06 Thread Mike Meyer
-of-distances origin locations)) though this one you might not bother to write out, and just use the apply inline as above. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii

Ring startup processing?

2010-11-27 Thread Mike Meyer
that depends on the deployment platform, or war? However, a quick google search didn't turn up anything that looked interesting. Anyone got suggestions on how to set up code to be run when Jetty (or tomcat, or ...)? thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org

Re: discussing Clojure with non-CS types

2010-11-24 Thread Mike Meyer
to help them with it at http://www.scipy.org/. Of course, if you're trying to get them off FORTRAN, pretty much anything would be an improvement. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more

Question about an idiom.....

2010-11-24 Thread Mike Meyer
? mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google

Re: Question about an idiom.....

2010-11-24 Thread Mike Meyer
On Wed, 24 Nov 2010 22:51:09 +0100 Daniel Werner daniel.d.wer...@googlemail.com wrote: On 24 November 2010 21:40, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: Could someone explain where this urge to write (- expr (func arg)) instead of (func expr arg) comes from? I like

Re: Clojure vs Clisp...How big is the difference??

2010-11-21 Thread Mike Meyer
hand, there are some good Clojure books, and I'm tempted to say just start with those, but I haven't had the opportunity to use them to learn functional programming, so I'm not sure how much that opinion is worth. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html

Re: Weird result for (get max key)

2010-11-19 Thread Mike Meyer
nil. If you try it with pretty much any arbitrary map value (integers, etc.) you get nil. If you provide the third argument to get, you'll get that value back in all these cases. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix

Re: Incorrect behaviour for large s-expressions :(

2010-11-14 Thread Mike Meyer
version works out to 1e8 for me if I leave out the doall. If I use the doall, it runs out of heap at 1e7. I'm a little surprised that they're different - I figured apply would instantiate the sequence, and I'd need to use reduce instead of apply for really large sequences. mike -- Mike Meyer

Re: Incorrect behaviour for large s-expressions :(

2010-11-14 Thread Mike Meyer
On Sun, 14 Nov 2010 08:43:11 -0500 Robert McIntyre r...@mit.edu wrote: @Mike Meyer Using apply is different than what I'm doing. Yup. When I use eval I'm trying to evaluate a huge s-expression. When you use apply you're evaluating a s-expression with three elements. Same thing

Clojure vs. serial ports

2010-11-09 Thread Mike Meyer
them all out on the chance that anyone who could help with the first one is probably familiar enough with the RXTX or serial port IO in Java to help with all of them. Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix

Re: could clojure be androids joker card

2010-11-07 Thread Mike Meyer
to do under extreme conditions - or with an android tablet - but still, they do add up. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail

Re: From jetty to war?

2010-11-05 Thread Mike Meyer
, and the first somewhat questionable (at the very least, they'll need time to come up to speed on Java). So even if you restrict yourself to multilingual programmers, multiple implementation languages cuts down on the pool of qualified people. mike -- Mike Meyer m...@mired.org http

Re: Some questions about Clojure Protocols

2010-11-04 Thread Mike Meyer
have some prove that's not just anecdotal, I'd be interested in hearing. Likewise if someone has prove of the contrary. Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii

Re: Python is way faster than Clojure on this task

2010-11-04 Thread Mike Meyer
count GC didn't. Given that I know nothing about Java GCs, this is just a WAG. Come to think of it, how about trying to run the program Jython? That should have the same GC issues. If it's some similar environmental problem, that would show up there as well. mike -- Mike Meyer m...@mired.org

Polymorphic protocols and containers....

2010-11-04 Thread Mike Meyer
, mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google

Re: From jetty to war?

2010-11-03 Thread Mike Meyer
minor) advantage to monolingual systems is enough to justify wanting those frameworks even while you're building multilingual systems. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information

Re: From jetty to war?

2010-11-03 Thread Mike Meyer
On Wed, 3 Nov 2010 16:26:13 -0700 Sean Corfield seancorfi...@gmail.com wrote: On Wed, Nov 3, 2010 at 3:31 PM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org wrote: We're facing that now, and with a mono-lingual system, you know everyone can contribute to any part of the project

Re: A question regarding map destructuring

2010-11-02 Thread Mike Meyer
rest arguments that way is very useful. It's not at all clear there's a use for doing this anywhere case, other than to scratch that consistency itch. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email

From jetty to war?

2010-11-01 Thread Mike Meyer
) jetty, or on httpcore? Thanks mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you

Re: A question regarding map destructuring

2010-11-01 Thread Mike Meyer
this case. Given that the doc I did found was a change log, I wouldn't put to much credence on it - those generally aren't definitive. But I'd like to see a definitive answer as well. mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix

Re: Can't locate str_utils in classpath

2010-10-31 Thread Mike Meyer
. This works on Unix and Windows, so it ought to work on OSX. If you're interested in how to work with clojure with minimal Java infrastructure, I posted my writeup at http://www.mired.org/home/mwm/papers/simple-clojure.html mike -- Mike Meyer m...@mired.org http

Re: to macro or not?

2010-10-28 Thread Mike Meyer
-- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google Groups

Re: to macro or not?

2010-10-28 Thread Mike Meyer
On Fri, 29 Oct 2010 06:30:27 +0530 Santosh Rajan santra...@gmail.com wrote: On Fri, Oct 29, 2010 at 1:58 AM, Mike Meyer mwm-keyword-googlegroups.620...@mired.org 3) You need it to get the API syntax you want (most commonly, a DSL). This last point is what I consider the most powerful

Re: to macro or not?

2010-10-28 Thread Mike Meyer
, since it is not lazy. So you can see both advantages and disadvantages of using macros. Which is why you only want to use them when you have to. If you don't need the advantages, why put up with the disadvantages? mike -- Mike Meyer m...@mired.org http://www.mired.org

Re: Improving Contrib

2010-10-20 Thread Mike Meyer
On Wed, 20 Oct 2010 09:59:26 -0600 Eric Schulte schulte.e...@gmail.com wrote: Mike Meyer mwm-keyword-googlegroups.620...@mired.org writes: It was also more work than submitting patches looks to be for apache, django, gnu FWIW in gnu projects if your patch is 10 lines long then they do

Re: getting started with clojure

2010-10-20 Thread Mike Meyer
-- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org -- You received this message because you are subscribed to the Google Groups

Re: Improving Contrib

2010-10-19 Thread Mike Meyer
On Tue, 19 Oct 2010 16:26:24 -0700 (PDT) Rich Hickey richhic...@gmail.com wrote: On Oct 19, 7:01 pm, Mike Meyer mwm-keyword-googlegroups. 620...@mired.org wrote: On Tue, 19 Oct 2010 15:51:17 -0700 (PDT) Mibu mibu.cloj...@gmail.com wrote: The greatest impediment for me is having

Re: Pros and cons of macro versus functions

2010-10-18 Thread Mike Meyer
performance reasons? Yeah. In particular, if you can replace run-time decisions with compile time-decisions (loop unrolling, etc.) you can win quite a bit here. Another qualifed have to: have to to meet performance requirements. mike -- Mike Meyer m...@mired.org http://www.mired.org

Re: precise numbers

2010-10-13 Thread Mike Meyer
to check it! Hmm. I wonder if you could represent irrationals as lazy sequences, and do arithmetic on those? mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O ascii ribbon campaign

Re: precise numbers

2010-10-12 Thread Mike Meyer
approximation after the calculation is done, that's easy to get as well: user (- 12305/1000 123049/1) 1/1 user (float (- 12305/1000 123049/1)) 1.0E-4 mike -- Mike Meyer m...@mired.org http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant

  1   2   3   >