Is this unquote dangerous?

2009-07-06 Thread Mike
interested in getting, but somehow the fact that for is a macro and I'm escaping x assuming it's there is disconcerting. Thanks for any style tips... Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group

Re: Is this unquote dangerous?

2009-07-07 Thread Mike
is an easier way to do this just with a function. I looked at interleave in core.clj and was surprised to see it wasn't a macro. So I may be making a mountain out of a mole hill, but it's all part of the learning process, right? =) Thanks for the help guys... Mike

Re: Is this unquote dangerous?

2009-07-07 Thread Mike
] (take-helper (+ 1 (apply max slices)) slices coll)) ([n slices coll] (take-helper n slices coll Thanks again to everyone who replied! Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure

Homoiconicity and printing functions

2009-07-08 Thread Mike
like (deep-print a) (fn [arg1 arg2] (*built-in-+* arg1 arg2)) or whatever that anonymous lambda would actually evaluate to? Any tips greatly appreciated! Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure

Re: Homoiconicity and printing functions

2009-07-08 Thread Mike
things right. Again, any advice on what your interactive development workflow is would be appreciated! Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Homoiconicity and printing functions

2009-07-09 Thread Mike
VimClojure for development) [snip] Thanks so much for this detailed example! Awesome. That really helps me get a leg up! Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

On laziness and with-open

2009-07-09 Thread Mike
to rewind? etc.) Is there a pattern out there in Clojure for handling laziness at the same time as handling resource lifecycle (with-open, etc.)? Thanks again in advance, Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

JSR 223

2009-07-31 Thread Mike
Sorry if this is a FAQ; couldn't find it on the main site nor in the group. Are there plans for Clojure to work in JSR-223 (Java Scripting Framework)? I see a lot of languages up there already. In fact, the only major JVM languages missing are Scala and Clojure. Thanks for any info... Mike

Re: Common Lisp-style tracing?

2009-09-30 Thread mike
Thanks! This is just what I wanted. The latest version is at: http://paste.lisp.org/display/71652 Best, Mike On Sep 30, 12:33 am, Meikel Brandmeyer m...@kotka.de wrote: Hi, maybe the following comes close? http://groups.google.com/group/clojure/browse_thread/thread/3ea877788

Embedding a REPL

2009-12-07 Thread Mike
this recently? Could someone point me in the right direction for exposing Java objects into Clojure? I've tried reading main.java and RT.java looking for hints, but I'm not too smart yet about the Clojure environment, the scope of when things live, and such. Thanks in advance for any hints... Mike

Re: Embedding a REPL

2009-12-08 Thread Mike
, but either I'm doing it wrong or that doesn't work for some reason. Any ideas? I love this simple approach, I didn't have to munge hardly any code (I had been traveling down the replace :read and :print and :prompt and :flush and... path, and it wasn't as pretty as I hoped). Thanks in advance... Mike

Re: Embedding a REPL

2009-12-09 Thread Mike
it!) wrapper around System.in wasn't implementing close() properly, so infinite calls to read(...) occurred subsequently. Thanks again everybody! Mike On Dec 8, 6:28 pm, Liam liam.ga...@gmail.com wrote: Close the *out* stream, not the *in*. That should do it. (. *out* close) It was fun watching

dot dot (..) notation failing me

2009-12-09 Thread Mike
. Mike -- 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 email

Re: dot dot (..) notation failing me

2009-12-09 Thread Mike
Thanks to everyone who replied, this makes sense (methods with args need separation). I'll check out - too. I appreciate it!!! Mike On Dec 9, 5:02 pm, Meikel Brandmeyer m...@kotka.de wrote: Hi, Am 09.12.2009 um 20:04 schrieb Mike: If I write: (.setMessage (.getMonitor this) Counting

autocomplete

2009-12-10 Thread Mike
into it directly. If most is written in elisp, then maybe I need to rethink how I do this. Thanks a whole bunch in advance, Mike -- 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

Ring Xss library

2013-04-24 Thread mike
I'm trying to create a library to help with XSS (escaping input) in ring based projects. I've looked at some solutions so far and I haven't seen anything where you set it and forget it, or don't have to worry about it at all. Most solutions require manually escaping. I want to create

New Forms Library

2013-05-04 Thread mike
I created a forms library called Formula over the last week or so, and I wanted to share it with the community. The library uses hiccup underneath and includes it's own validation (which is optional). It's built to handle validation inline, so you would just pass any errors (into the same

Re: New Forms Library

2013-05-05 Thread mike
Here is the link https://github.com/codedreams/formula On Saturday, May 4, 2013 11:57:20 PM UTC-4, mike wrote: I created a forms library called Formula over the last week or so, and I wanted to share it with the community. The library uses hiccup underneath and includes it's own

updating some values in map

2011-10-22 Thread Mike
idiomatic way to do this? Something shorter than apply-map-fn I wrote? I.e. something where I don't have to use apply- map-fn? Thanks in advance Clojure smarties. =) Mike -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: updating some values in map

2011-10-23 Thread Mike
Hey thanks Stephen and BG, and Jonas! Cool tricks I hadn't thought of. I'm especially going to study this one; I had thought update-in might be applicable but I wasn't sure how (still learning it). I appreciate it! Mike On Oct 23, 2:10 am, Jonas jonas.enl...@gmail.com wrote: Another way

Losing your head with side effects

2011-10-25 Thread Mike
to generate a Java Iterator over these values, and just use iterator-seq? Thanks in advance for any ideas... Mike -- 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

Re: Losing your head with side effects

2011-10-25 Thread Mike
to bother folks! Mike -- 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

need help eliminating ordinary recursion/thinking the Clojure way

2011-11-11 Thread Mike
in advance everybody… Mike -- 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

Re: need help eliminating ordinary recursion/thinking the Clojure way

2011-11-11 Thread Mike
reverse it. Thanks! Makes perfect sense. I'll have to remember this. Mike On Nov 11, 10:33 pm, Michael Gardner gardne...@gmail.com wrote: Since you're given a sorted list of intervals, you don't actually need to restart the whole merging process from the start after each merge; you can just

Trick to getting bindings in a repl

2010-12-30 Thread Mike
of NDA. If you need more details I can provide them. Thanks in advance for any ideas... Mike -- 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

draining file of s-expressions

2011-01-14 Thread Mike
for when I encounter end-of-file, but I really don't understand side effects and file handling in clojure too well. Any advice? Thanks guys... Mike -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

defrecord constructor woes

2011-01-25 Thread Mike
argument list at compile time? I'm thinking this is a pretty fast solution, but I'd hate to make a macro if I'm just doing it wrong. Thanks in advance, Mike -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: defrecord constructor woes

2011-01-25 Thread Mike
thanks!!! On Jan 25, 8:55 am, Meikel Brandmeyer m...@kotka.de wrote: Hi, constructors (like methods) are not first class. You have to wrap it in a factory function. (defn make-foo   [a b c d]   (Foo. a b c d)) (apply make-foo [1 2 3 4]) Sincerely Meikel -- You received this message

idiomatic super-map

2011-02-04 Thread Mike
)) (supermap fs c1 c2 ... cn) = ((f1 c11 c21 ... cn1) (f2 c12 c22 ... cn2) ... (fk c1m c2m ... cnm)) Make sense? Before I go reinventing the wheel (map implementation looks hard!), I figured I would ask here...somebody must be doing this already. Thanks in advance. Mike -- You received

Re: idiomatic super-map

2011-02-04 Thread Mike
On Feb 4, 10:11 am, Ken Wesson kwess...@gmail.com wrote: This does it without using juxt: (defn supermap [fs cs]   (map apply fs (apply map vector cs))) This is really nice. Even handles infinity properly: (supermap (repeat +) (range 3) (range 3)) = (0 2 4) Thanks Ken and Meikel! Mike

Re: is intellij idea a good ide for clojure development?

2013-07-28 Thread Mike
On a related note (If I need to post this elsewhere, just let me know): What do people use for ClojureCLR development? If I *ever *get started, this is where I will need to be working. -- -- You received this message because you are subscribed to the Google Groups Clojure group. To post to

Re: [ANN] Nightcode 0.1.0, a Clojure IDE

2013-09-25 Thread Mike
Probably a dumb question, but for those of us who would love to use Clojure under Windows, is there a way to use this IDE in a Clojure-CLR environment? In any case, thank you for your efforts. On Wednesday, September 25, 2013 8:33:47 AM UTC-5, Zach Oakes wrote: Nightcode is an IDE written in

Re: Demoralising experience trying to install on Win 7

2014-10-28 Thread Mike
You guys are so funny...for a real challenge try to get any clojure-clr environment up and useable on Win anything. Nightcode is close, but there are still some interesting things you have to do. -- You received this message because you are subscribed to the Google Groups Clojure group. To

Does using clojure/clara this make sense in this project?

2014-12-10 Thread Mike
I have a new project that begs the use of a rules-based engine. I'm wondering if *clara *is an appropriate tool to use for this project. Part of some rules will involve querying remote webservices for facts. For example: Rule 1 is true if 1. http://www.abc.com/webservice responds with

Beginner question

2015-07-29 Thread Mike
Hello, I have decided what my first Clojure project will be, but I could use some guidiance. I would like to be able to make SOAP calls to a webservice on another machine. I have done some searching, and there is an old clj-soap library which Sean Corfield has mostly abandoned. How are

Using cookies with clj-http.client

2015-11-08 Thread Mike
Hello, I have a web site that uses cookies for authentication. You logon to a specific URL with your username and password using a POST (which I have working; I get a 200 status back) which should create a cookie; then you use the cookie for all future access to the web site. I have all of

Newbie trying HTML parsing

2015-10-14 Thread Mike
Hello, For my first real Clojure project I am attempting to get an HTML page and locate a particular ** tag within the page. I have my program GETting the page, but I am having trouble parsing it. I am trying to use *clj-tagsoup* to parse the page, but I get an error message when I try to

Re: Newbie trying HTML parsing

2015-10-14 Thread Mike
Thanks James! You helped me get another step along the way, I got this working. Of course you mentioned Crouton; you should and I asked for advice on my approach. So please allow me to expand the problem statement and you may advise me further... Once I get this HTML parsed, I know that

Re: Newbie trying HTML parsing

2015-10-15 Thread Mike
> > I've read the clojure.data.xml.zip docs carefully and looked at many > examples, but I don't understand this behavior: > (require '[clj-http.client :as client] '[clojure.zip :as z] '[clojure.data.zip :as dz] '[clojure.data.zip.xml :as dzx] '[crouton.html

How do you process this over multiple values?

2015-10-16 Thread Mike
I'm still new at this, thanks for any help. The following line extracts a value from a data structure: (:value (first (filter #(= (:name %) "abc") input-attrs))) *input-attrs* is a seq of hashes that for example looks like: ({:src "a.png", :name "abc", :value "a"} {:name "def", :src "b.gif",

Re: Newbie trying HTML parsing

2015-10-14 Thread Mike
So now I'm trying to make the conversion to Crouton. Of course that is not going well. Here is a chunk of code: (ns one.core (:gen-class)) (require '[clj-http.client :as client] '[clojure.zip :as z] '[clojure.data.zip :as dz] '[clojure.data.zip.xml :as dzx]

Re: beginning to learn Clojure after imperative programming my whole life

2017-08-09 Thread Mike
://purelyfunctional.tv 3. https://www.youtube.com/channel/UCaLlzGqiPE2QRj6sSOawJRg 4. https://www.youtube.com/channel/UC6yONKYeoE2P3bsahDtsimg 5. https://lambdaisland.com/episodes 6. https://learnxinyminutes.com/docs/clojure/ Hope, it will help. Mike. -- You received this message because you

why java version in 10 times faster?

2017-10-16 Thread Mike
so slow? Mike. -- 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

Re: why java version in 10 times faster?

2017-10-16 Thread Mike
https://clojure.org/reference/refs correct link -- 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.

Re: Releasing scope-capture, a library for easing REPL-based debugging

2017-10-08 Thread Mike
Cool! Thanks, Val! воскресенье, 8 октября 2017 г., 10:09:19 UTC+3 пользователь Val Waeselynck написал: > > Hi, I'm happy to release a tiny Clojure/Script library called > scope-capture . > > https://github.com/alvalval/scope-capture > > Loosely

Re: [ANN] spec.alpha 0.1.134

2017-10-07 Thread Mike
app with java -jar I got exception below. It looks like library [tongue "0.2.2"] is broken with [org.clojure/spec.alpha "0.1.134"] java -jar /Users/mike/IdeaProjects/auth-nz/target/uberjar/auth-nz.jar Exception in thread "main" java.lang.ExceptionInInitializerError

Re: why java version in 10 times faster?

2017-10-18 Thread Mike
льзователь Daniel Compton написал: > > Hi Mike > > A few thoughts > > * In my experience it is not unusual that idiomatic Clojure could be 10x > slower than the equivalent Java. > * Where did you do your timing on the ref calculation? In the Clojure > version it calculates

Re: why java version in 10 times faster?

2017-10-18 Thread Mike
ight places for new contions. So here is business values for Clojure: - dead simple logic; - reduced T2M; - less code less bugs; - fast enough. (Sold to business.) Mike. среда, 18 октября 2017 г., 20:33:28 UTC+3 пользователь Lubomir Konstantinov написал: > > Among other things (you

Re: Slow -main function termination by pmap

2017-12-19 Thread Mike
last line in -main should be (System/exit 0) or (shutdown-agents). 1 min awaiting it is documented behaviour of clojure. вторник, 19 декабря 2017 г., 23:08:09 UTC+3 пользователь Justin Smith написал: > > any Clojure program that uses the built in thread pools (future, agent, > pmap, core.async,

Re: [ANN] debux 0.5.0 is out

2018-09-09 Thread Mike
Hello. I can't run debux on JVM 10. Issue is created https://github.com/philoskim/debux/issues/11 Mike. суббота, 8 сентября 2018 г., 19:56:14 UTC+3 пользователь Philos Kim написал: > > Debux is a trace-based debugging library for Clojure and ClojureScript. > > https://github.c

Re: [ANN] Clojure 1.10.0-beta1

2018-10-06 Thread Mike
Cool! Will there be more guides how to use tap and prepl ? Is there any plans to release clj for windows? Mike. суббота, 6 октября 2018 г., 7:56:52 UTC+3 пользователь Alan Thompson написал: > > Looks good to me, tested on both prod and open source code. > Alan > > On Fri, Oct

Re: do-form swallows exception?

2009-02-17 Thread Mike Benfield
Map is lazy. You are presumably executing (foo) at the REPL. In the first foo, since the value calculated by map is unused, no elements of the seq are calculated and your anonymous function never runs. In the second foo, since the function actually returns the value and the REPL wants to print

Re: Mathy operations on non-numerics (was Adding strings)

2009-02-26 Thread Mike Benfield
On Feb 26, 4:56 pm, Peter Wolf opus...@gmail.com wrote: So my vote is that String are atomic built in objects, and at least +, and should work with Strings.  The behavior should be just like Java, so (+ foo 2) -- foo2 I have an HP calculator. (I may get some of the details wrong here,

Re: Clojure's syntax design: macros vs functions

2009-03-05 Thread Mike Benfield
FWIW: I have thought the same thing in the past. But, in practice, this has never been a problem for me. Not once. Now I haven't written quadrillions of lines of Lisp, but it doesn't seem to have been a problem for those who have either. One thing to keep in mind is that you don't typically

Re: Simple idiom in clojure, mutate a value

2009-06-11 Thread Mike Hinchey
is a ref, see http://clojure.org/refs Something like this: (def x (ref 0)) (dosync ... (alter x inc)) (println @x) -Mike On Thu, Jun 11, 2009 at 11:21 AM, Berlin Brown berlin.br...@gmail.comwrote: On Jun 11, 12:16 pm, Daniel Lyons fus...@storytotell.org wrote: On Jun 11, 2009, at 9:25 AM

Re: Code generation at runtime

2009-06-22 Thread Mike Hinchey
this helps. -Mike On Mon, Jun 22, 2009 at 5:38 PM, Chouser chou...@gmail.com wrote: On Mon, Jun 22, 2009 at 5:11 PM, Nicolas Ourynicolas.o...@gmail.com wrote: Of course, there is eval, but eval is not very competent in manipulating namespace and bindings at runtinme. eval is exactly what

Re: Poll for a new name for clojure eclipse plugin 'clojure-dev'

2009-06-24 Thread Mike Hinchey
want the solid integration. -Mike --~--~-~--~~~---~--~~ 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

Re: A website written using Clojure.

2009-06-25 Thread Mike Hinchey
user (deftags [html]) #'user/html-with user (html-with [1]) html[1] -Mike On Thu, Jun 25, 2009 at 11:51 AM, CuppoJava patrickli_2...@hotmail.comwrote: Thanks for the reply. I use doseq instead of map because I need it to run immediately, and I'm not interested in the return values

Re: HOWTO: Update the docs on clojure.org?

2009-06-25 Thread Mike Hinchey
I don't know about wikispaces, but this is linked from clojure.org: http://en.wikibooks.org/wiki/Clojure_Programminghttp://en.wikibooks.org/wiki/Clojure_Programming -Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: [OT] github (?) question

2009-06-26 Thread Mike Hinchey
at the sha1s or the Fork graphs that github draws. The forks graph only tells you about the clones that github knows about. And as Alex says, being the root doesn't really mean master, authoritative, or best. -Mike --~--~-~--~~~---~--~~ You received this message because

Re: Bug: self require - stack overflow

2008-09-09 Thread Mike Hinchey
to be circularly dependent, and I suppose that could be done with files, but you'd have to load the files manually, not with (ns). Unless I'm missing something, this is probably something people will expect to work, so a friendly error message would be good. -Mike On Sep 9, 1:29 am, [EMAIL PROTECTED

Re: Serialization Snag

2008-09-12 Thread Mike Hinchey
and run. I don't know about Thrift, but PB is just another way of streaming data. If you can get clojure on both sides, you could not only stream the clojure data structures, but code text also (assuming the environment is secure). Code is data :). -Mike On Sep 12, 9:59 am, noahr [EMAIL PROTECTED

Re: Star-Vars for the repl to provide recent values, shorten error messages

2008-09-20 Thread Mike Hinchey
I added support for *1 *2 *3 in my fork of swank-clojure (for emacs/ slime), http://github.com/mikehinchey/swank-clojure. I did one thing different which is to not reset the vars if the eval is one of the vars themselves. Rich noted most CL repls don't do this, but it seems useful to me.

Re: error in slime with svn 1057

2008-10-10 Thread Mike Hinchey
fixed in svn 1058. Thanks. --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED]

Re: Trying to run Clojure with Slime...

2008-10-10 Thread Mike Hinchey
Get the clojure from today. That error happened yesterday. -Mike --~--~-~--~~~---~--~~ 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 To unsubscribe from

Re: Get thread local bindings

2008-10-10 Thread Mike Hinchey
-keeping [*out* *ns* *current-connection* *warn-on- reflection*] ...) See dothread-keeping in http://github.com/jochu/swank-clojure/tree/master/swank/util/concurrent/thread/thread.clj And keep-bindings in http://github.com/jochu/swank-clojure/tree/master/swank/util/util.clj -Mike

ClassNotFoundException for an fn in 1067

2008-10-13 Thread Mike Hinchey
) ... 26 more Thanks, Mike --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED

Re: ClassNotFoundException for an fn in 1067

2008-10-13 Thread Mike Hinchey
On Oct 13, 5:31 am, Rich Hickey [EMAIL PROTECTED] wrote: You cannot, and might never be able to, print/read fns. Okay, it just looked like something that could be read. I would examine carefully whether your macro really should be doing this, as this is likely to become disallowed once

Re: What Windows IDE are you using?

2008-10-15 Thread Mike Hinchey
I use emacs and slime, also. Has anyone used http://jdee.sourceforge.net/ with Clojure, or even just with Java? -Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Suggest fcase variant pred-case

2008-10-28 Thread Mike Hinchey
? I disliked looking up so many different macros for this in CL. Also, would you want an error variant or option for cond? -Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group

Re: Print compiled Clojure svn revision?

2008-11-07 Thread Mike Hinchey
Haven't we been through this before? http://groups.google.com/group/clojure/browse_thread/thread/1ae7eae292765d40/f49c4ccdaca67a23 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: Bio

2008-11-11 Thread Mike DeLaurentis
That's great, thanks! On Mon, Nov 10, 2008 at 11:15 PM, Rich Hickey [EMAIL PROTECTED] wrote: On Nov 10, 9:38 pm, Mike DeLaurentis [EMAIL PROTECTED] wrote: Hi Rich, I'm giving a talk about Clojure tomorrow night in Philadelphia for a functional programming user group, and I'd like

Re: clojure slime

2008-11-19 Thread Mike Hinchey
= java.lang.Exception: No such var: swank/start-server (NO_SOURCE_FILE:7) -Mike On Tue, Nov 18, 2008 at 10:35 PM, Jeffrey Chu [EMAIL PROTECTED] wrote: Sorry for the inconvenience. It's been fixed. - Jeff On Nov 18, 5:41 pm, islon [EMAIL PROTECTED] wrote: I'll not use slime right now (thanks Bill). swank

Fibonacci: Clojure vs the World

2008-12-14 Thread Mike Perham
, the benefits of running on the JVM are obvious. mike --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email

Re: Fibonacci: Clojure vs the World

2008-12-14 Thread Mike Perham
results with O3 and gcc 4.3 are pretty impressive. As noted in the comments for my blog post, type hints and unchecked math operations shave about 40% off the runtime. mike On Dec 14, 11:08 am, James Reeves weavejes...@googlemail.com wrote: On Dec 14, 2:01 pm, Mike Perham mper...@gmail.com wrote

Re: Superficial barriers to entry

2008-12-18 Thread Mike Perham
primitives, etc at a code level would be extremely helpful. I'm thinking along the same vein as Ryan Bates's RailsCasts (http://railscasts.com) mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: running Gorilla

2008-12-18 Thread Mike Perham
I think the point is that the installation documentation is a little lacking right now. Can you create a more thorough install doc which walks us through the setup? I'm an experienced Java developer so I had no problem getting the Gorilla server running but the vim setup is a mystery to me. I

Re: Loading a resource file from the class path?

2008-12-20 Thread Mike DeLaurentis
I've never done that in Clojure, but another developer at the company I work for made a java utility that allows you to refer to classpath resources as URLs. It's on sourceforge in a package called OpenHMS Common Utilities: http://openhms.sourceforge.net/common-util/ There's a class called

Compiling Clojure code with Maven

2008-12-31 Thread Mike DeLaurentis
what's best. Any advice? Thanks, Mike --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure

pretty-printing?

2009-01-27 Thread Mike DeLaurentis
at it. Thanks, Mike --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send email to clojure+unsubscr

Re: what does - mean?

2009-02-01 Thread Mike Benfield
On Feb 1, 3:35 pm, e evier...@gmail.com wrote: This may be obvious to others, but what's the motivation behind it?  Is it that we are very concerned about combatting the criticism that lisp has too many parens? Applying functions in succession without giving a name to each intermediate

Re: Help a Startup use Clojure!

2014-03-12 Thread Mike Haney
Have you considered node.js? It's fantastic for building web services, very easy to deploy (Heroku), and should scale well enough that most startups won't outgrow it (and if you do, that's a very good problem to have). You can still build your app using Clojurescript, either for the entire

ANN: core.matrix coding dojo repo

2014-03-22 Thread Mike Anderson
for a core.matrix project with some useful libraries and example code. I'll add some more examples over the next week or two. PRs also welcome, if anyone has other simple examples that are good for beginners to learn from. Mike. -- You received this message because you are subscribed to the Google Groups

Any experience with Cognitect?

2014-04-08 Thread Mike Haney
a contractor for Cognitect for awhile, and it's been pretty much my target goal as I've been learning Clojure/Datomic over the last 8-9 months. The bar seems pretty high - I mean, do you have to be a Mike Fogus or Tim Baldridge to work there? My current contract is winding up soon, and my Clojure

Re: Any experience with Cognitect?

2014-04-09 Thread Mike Haney
Thanks for the feedback. Resume updated - check Cover letter written - check Email sent - check Ego intact - pending -- 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

Re: Om and core.async: Necessary together?

2014-04-09 Thread Mike Haney
David, This seems to be a different take on things than you proposed in your series of CSP articles last summer. I'm not saying that is a bad thing - if an idea doesn't pan out, it needs to be scrapped (and most of us cling to bad ideas longer than we should). I'm just curious why the change

Re: Om and core.async: Necessary together?

2014-04-10 Thread Mike Haney
Thanks for the clarification, that helps a lot. And I agree you wouldn't expose channels in the public API for a component, that's definitely an implementation detail. I have more ideas/questions on the topic, but I don't want to hijack this thread, and I probably need to spend some more

Re: Real World Example

2014-04-10 Thread Mike Haney
I'm in the early stages of developing a real-world app for a customer that will use a full clojure stack. It's maybe not as sexy as all the social networking examples you see, but I think it's more representative of the types of apps most people write to satisfy real business needs. The app

Re: Real World Example

2014-04-10 Thread Mike Haney
Yes, it's just me. Crazy, right? Like I said, I wouldn't even have attempted it without the productivity gains I've seen since I've started using clojure. Fortunately, the customer isn't in we need this yesterday mode (a refreshing, but rare, circumstance). -- You received this message

Re: Puppet Labs and Trapperkeeper

2014-04-14 Thread Mike Haney
Great timing on the new blog post. I'm ramping up on my first real clojure app, and have been planning to use Component for this piece. I read the first blog post yesterday and it sounded interesting, but I've pretty much locked down the stack I'm going to use (you can evaluate libraries

Why I'm giving Clojure a try

2014-04-16 Thread Mike Haney
Welcome aboard! Fasten your seatbelt, it will be a wild (and exhilarating) ride. I'm still relatively new, but I've learned enough to know that clojure (and clojurescript and Datomic) are what I need to be focusing on. Besides all the other benefits, it's just plain fun. I haven't had this

Re: Why I'm giving Clojure a try

2014-04-16 Thread Mike Haney
It's almost cliche to say it, but you really do get used to the parenthesis. Once you do, you won't give it a second thought, and for me at least, it's the other languages that start to look weird with their irregular syntax. And at least one a week I catch myself writing (if ... or (for ...

Light table

2014-04-16 Thread Mike Haney
Lots of people use it, including me. I don't think it's a bad choice for beginners at all. The conventional wisdom seems to be that you will end up learning emacs eventually if you spend any amount of time doing clojure or lisp, so you might as well learn it from the start. That is

Re: Why I'm giving Clojure a try

2014-04-16 Thread Mike Haney
Sean - funny, I used Together/J when it first came out, way before Borland bought it. It's been a long time, but I remember being quite enamored with it as well. It was certainly ahead of it's time. Then we switched to Visual Age for Java, which was pretty cool at first. Until it corrupted

Hosting Providers

2014-04-18 Thread Mike Haney
In addition to heroku, there is Amazon Elastic Beanstalk, which lets you deploy a WAR file on EC2 without having to setup the infrastructure yourself. Both are great ways to go. I lean towards using Heroku for it's simplicity, but Amazon makes sense when you need to use other Amazon

Re: Hosting Providers

2014-04-18 Thread Mike Haney
I know they also have Mongo and Neo4j available on Heroku, but neither of those are supported as a Datomic back end. Postgres will work with Datomic just fine, though. The only hitch with Heroku is that I'm not sure how to go about deploying a transactor. Maybe someone has done it and

Re: What's clojure killer app? I don't see any.

2014-04-19 Thread Mike Haney
What's killer about clojure is not an app, but an idea. Simplicity. Everything else stems from that idea. Immutability, decomplecting, data first, consistent abstractions - all the things we like to talk about in clojure are really about simplicity. It's about getting all the crap out of

Re: What's clojure killer app? I don't see any.

2014-04-20 Thread Mike Haney
I'm glad Daniel mentioned Enlive, because it's a great example of something that AFAIK is completely unique to clojure. It was one of the first libraries I dove into when I started with clojure, and I was blown away. It is such a logical approach to templating that seems so obvious in

Dealing with edn for the first time

2014-04-20 Thread Mike Haney
1. In its simplest form, EDN is just clojure data literals. So for simple cases like configuration, just use a map: { :database-uri some-uri :another-param some value :debug-mode true } 2. You can use clojure.java.io/resource to access resources, but for config files you usually don't

When is The Conj this year? (eom)

2014-04-20 Thread Mike Haney
Marcus - are you planning on going? This will be my first Conj, and I'm going no matter what it takes. -- 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

  1   2   3   4   5   6   7   8   >