Re: Newbie
I quite like these two resources for total beginners. (Starts up assuming you know nothing about Lisp.) aphyr.com/tags/Clojure-from-the-ground-up (Quite humorous) http://www.braveclojure.com/ -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: clojure, not the go to for data science
RStudio is really nice! I'm taking some Coursera classes using R, and RStudio is great. Maybe that's because I'm an IDE kind of guy: using Cursive for Clojure, PyCharm for Python, RStudio for R, etc. On Thursday, April 2, 2015 at 5:54:34 PM UTC-4, Jony Hudson wrote: I think the credit here has to go to RStudio for doing such a good job of making an easy to install complete development environment. I'd say just comparing base Clojure to base R, it's a wash. Install java and either download the Clojure jar, or the leiningen script, and you're good to go. Similar effort with R, just install the R distribution. Either way you don't get much more than a REPL prompt. It is possible to get a working, fully-featured Clojure development environment going without *much* more difficulty than RStudio. In fact, I did precisely cover install and setup in two easy videos :-) See http://gorilla-repl.org/videos.html , bottom of the page. I would still say that RStudio deserves kudos here though, as they've made it really easy to get going. And I think there is value in this, as my experience with getting inexperienced programmers started is that they easily get stuck on the little set up details. I'd like to make Gorilla REPL easier to get started with, but haven't figured out how to do that in a way that's compatible with the amount of time I have to work on it! Jony On Thursday, 2 April 2015 22:14:08 UTC+1, Sayth Renshaw wrote: You appear to have vastly misinterpreted my intention regards Emacs. My mention of Emacs (I use emacs with prelude) was not based on my usage but as a perception of those who might be attracted to Clojure For Purely Data Science And wishes to get installed and moving quickly. R offers to get you installed in 2 quick point and click installs and gives you the language and R studio . What would that person think when looking at Clojure? If they saw emacs would they know about prelude, how to configure it with so many configuration options? If someone out organisation was running a data science course would they choose R because they can cover install and setup in 2 easy videos compared to current Clojure options which may be less clear. Sometimes often times onboarding people to a new language is about as much as ease of install or at least making a default set of optiins clear. Could the default set abs best options be made easier to new comers? Sayth Emacs can use the native windowing system on every major platform. It still *looks* like a terminal app, but doesn't have to be one. Pretty much everything you are saying here doesn't apply to Emacs at all, and you would know it's all false if you knew anything about Emacs. On Wednesday, April 1, 2015 at 4:55:08 PM UTC-7, Fluid Dynamics wrote: On Tuesday, March 31, 2015 at 8:45:31 AM UTC-4, Phillip Lord wrote: The benefit is that Emacs is that its not constantly changing, and it gives you some stability over the years. I like latex, for instance, for the same reason. I can still access a 10 year old document and use it. First of all, there are other posts in this thread complaining about constantly changing stuff breaking things! One such post is by Colin Yates. Second, to the extent that it isn't changing, it is legacy. Which helps to explain the Wordperfect for DOS style of UI, which is dependent on vast numbers of complex key-combinations being memorized by the user, instead of a just-sit-down-and-start-using-it UI like everything originating after, say, 1995 or so has tended to have. Of course, the result is that Wordperfect (and emacs) seemed to require a great deal of specialized training just to accomplish even the most basic tasks, whereas with modern interfaces the way to do such basic tasks (save, open, copy and paste, move around, select, etc.) tends to be obvious and special training can focus exclusively on doing advanced things (scripting, complicated Photoshop filters and tricks, things like those). Legacy also, obviously, tends to present problems in other areas besides UI-boneheadedness: * I18n and l10n * Compatibility, with modern hardware and with modern operating systems, though that can be alleviated by people porting the code * Boneheaded internal limits, along the same general lines as 640K ought to be enough for anybody. It may be unable to use more than a small fraction of what modern hardware can offer it in the way of memory, storage, cores, ... * Accessibility. Interposing a terminal emulator between the app and screen reading software might cause problems, though on the other hand a text mode app may ultimately have advantages in that area too. On the other hand, it may not play well with accessibility tools that rely on standard UI conventions. Anything that responds to some voice command by generating control-V keystrokes to paste, or that relies on the presence of
Re: Clojure terminology
+1 on this. I was really (pleasantly) surprised by this approach. On Friday, September 12, 2014 4:58:45 AM UTC-4, Niels van Klaveren wrote: http://aphyr.com/posts/301-clojure-from-the-ground-up-welcome. Kyle Kingsbury's Clojure from the ground up has an excellent introduction about symbols, vars and quoting where he introduces them in the beginning of the course which makes things pretty clear and which makes the steo up to macro's less complicated than any of the Clojure books I've read. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Is it the right Clojure group for a newbie
As far as I know, this book is not free to distribute. On Friday, June 6, 2014 9:32:27 AM UTC-4, douglas smith wrote: here is pdf of Little Schemer http://scottn.us/downloads/The_Little_Schemer.pdf On Friday, June 6, 2014 9:17:58 AM UTC-4, douglas smith wrote: Sounds like we are in a similar position. Maybe we could start a study group of sorts. -not sure how? We could post back to this thread for now and see what happens. Someone have a better suggestion? Doug On Monday, June 2, 2014 5:36:51 PM UTC-4, shar...@gmail.com wrote: All, If this is the right Clojure group for a newbie, I would like to ask for the best online resources to begin with. I am new to programming, having recently switched from a non technical field. I have started looking at http://www.braveclojure.com/, but any pointers would be useful, especially cookbook styled ones. Abha -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: ANN: [R User Conference]
R is quirky, but really nice. Not to hijack too much the group, but if you learn better with interactive introductions, like me, here are two nice interactive introductions to R : https://www.codeschool.com/courses/try-r (Very humorous) https://www.datacamp.com/courses/introduction-to-r (More serious) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Is Clojure right for me?
Given your goals of evaluating the language quickly, not having a lot of free time to devote to it, and having to get productive fast in a web environment, I think a better avenue to explore would be Groovyhttp://groovy.codehaus.org/alongside Spring Boothttp://spring.io/blog/2013/08/06/spring-boot-simplifying-spring-for-everyoneor Ratpack http://www.infoq.com/presentations/Ratpack. It's concise, close to Java OO, and yet have functional programming features and metaprogramming facilities. On Friday, December 27, 2013 7:54:44 AM UTC-5, Massimiliano Tomassoli wrote: The point is that Clojure is not the only modern language out there. I can't possibly learn them all in depth just to decide which language to use for my production code. That would be time-inefficient because my goal in not to learn languages, but to pick up a new language suitable for my needs. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is Clojure right for me?
On Thursday, December 26, 2013 11:32:51 AM UTC-5, Massimiliano Tomassoli wrote: Thank you, Malcolm. I'm completely new to LISP and its dialects and I'm a little bit worried about the absence of support for OOP in Clojure. How do you decompose large systems in Clojure? This presentation has been really helpful in that regard for me: Clojure in the Largehttp://www.infoq.com/presentations/Clojure-Large-scale-patterns-techniques Even though Clojure is not OOP in the way Java is, you can go a long way with Protocols and namespaces, imho. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Job spam] Write Clojure in your pajamas, for decent money in a pleasant company, remote pairing all the time
On Tuesday, November 19, 2013 7:44:33 PM UTC-5, Alexey Verkhovsky wrote: Back to the original subject of the thread, it looks like either there is more Clojure work than people with platform expertise, or Clojure is a mostly South American phenomenon. One way or the other, South America is the only place I've got any responses from so far. {puzzled} We are only hiring master programmers and very strong journeymen. My guess is master programmers in the US already have plenty of opportunities to thrive at exciting places and are probably already established in excellent companies, whereas as in other countries it might be harder to find such excellent work conditions and the opportunity to work remotely for your company makes it extra attractive. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Yesql 0.2.1 - Clojure SQL queries rethought.
In Java land at work,We use Spring jdbc templates and we inject the SQL queries in a map from a single .xml or property file. Queries are accessed from the map with key names like selectAddressesForClient. Perhaps a similar query lookup scheme could optionally be used with Yesql. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Clojure - Where to start?
I think it was this post I had seen, from the code design in Clojure thread: https://groups.google.com/d/msg/clojure/-oJmddtX4Fg/4Ub8JSiWr1IJ Paul deGrandis 10/18/12 Brian, Those are two excellent books. If you are looking at more general project organization and approaches, I'd suggest: - Just Enough Architecture (specifically its discussion on architectural evident coding) - watch the Halloway talks on evident code - thumb through Ring, Leiningen, and ClojureScript as prime examples of well written Clojure applications - watch the Google tech talk on designing good APIs ( http://www.youtube.com/watch?v=aAb7hSCtvGw) - and you might find a book like Higher-Order Perl helpful (depending where you're coming from) Hope one (or all) of these help! Paul On Friday, October 11, 2013 4:19:03 AM UTC-4, albert cortez wrote: That sounds pretty interesting. I wonder how old the list was. If it was made a while ago, i'm sure there are new projects that have come along. If you find the link I would be interested. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Clojure - Where to start?
I remember reading a post with a list of open source projects with excellent clojure code. Unfortunately, I can't find it anymore, but I remember Ring was on the list. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Cognitect
Fantastic news. Congrats to all involved! -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Nightcode, an IDE for Clojure and Java
That's really cool. Thank you for doing this! I really like the import feature, coloring and keyboard friendlyness. If I can suggest the one feature that I couldn't bear to use an IDE without: Strict Structural Editing Mode (paredit-style)https://code.google.com/p/counterclockwise/wiki/EditorKeyBindingsFeatures#Strict_Structural_Editing_Mode_(paredit-style) Basically I get pissed-off if an editor kills my selected expression when I type a paren or some other twin delimiter 8) I even wish I had it when editing other languages than Clojure. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: is intellij idea a good ide for clojure development?
it happens all the time. In a sense, it's not weirder than making free software for proprietary operating systems 8) On Thursday, July 25, 2013 11:15:15 PM UTC-4, Cedric Greevey wrote: Someone makes free software plugins for nonfree software?! -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Clojure: Elegance vs. Performance?
Maybe the Shen programming language could be of interest to you. http://shenlanguage.org/ It's a portable functional typed dialect of Lisp. Looks quite elegant to me, and it targets Clojure, amongst other languages. -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: iOS and Windows RT support?
Not Clojure, but you can use Nu, a Lisp-like language, to write iPhone applications. http://programming.nu/about https://groups.google.com/d/topic/programming-nu/vboT7iW2ko8/discussion On Tuesday, January 22, 2013 12:55:29 PM UTC-5, MC Andre wrote: What's the state of iOS and Windows RT support for Clojure? It would be awesome to write iPhone and Surface apps in Clojure! Is there a .NET port of Clojure we could use to write Windows 8 Metro apps? -- -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Montreal Clojure user group
For newcomers who might not know, there is a Clojure user group in Montreal and our next meeting is Tuesday January 15th. Details here: http://groups.google.com/group/montreal-clojure-user-group -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Who's using Clojure?
I'm asked to log in now to access this page. On Thursday, April 28, 2011 11:03:53 PM UTC-4, Christopher Redinger wrote: We've got a good start to the list going http://dev.clojure.org/display/community/Clojure+Success+Stories Any more we should get listed? -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: [ANN] Clojars Releases repository
As a starting point, the gpg website features native installers for both Windows and Mac OS. http://www.gnupg.org -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Cdr car
If I may suggest the following presentation: http://blip.tv/clojure/clojure-for-lisp-programmers-part-1-1319721 http://blip.tv/clojure/clojure-for-lisp-programmers-part-2-1319826 There used to a transcript available on the newsgroup until Google decided to remove all files from newsgroup 8) On Wednesday, October 17, 2012 2:16:01 PM UTC-4, Curtis wrote: Cons seems to be strange How do i use Cons with an atom to make a list? (cons 1 1) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: real-world usage of reducers?
On Tuesday, August 21, 2012 10:49:45 PM UTC-4, Jim foo.bar wrote: If you say that running with reducers cuts runtime to 1/4 the original, I'll believe you...However, even though our code is very similar, I Maybe you two have a different number of cores? One test might be for you to test the scrabbler on your machine, with and without reducers and compare the speed gain. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
assoc! order problem
You are using the map literal, which corresponds to the hash map. Use this if you want a sorted map: http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/sorted-map -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
community interest in machine learning (?)
I could not comment on the community as a whole, but certainly a part of it has interest in it. Here is a presentation about using ML in Clojure for genome research: Hacking the Human Genome Using Clojure and Similarity Search http://bit.ly/yKFnPA Also, an interview with the speaker: http://bit.ly/Ai6ILm -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: clojure.io
Whats more, the VM I/O abstraction is already hiding details of its underlying platforms. Having another I/O abstraction across multiple VMs sounds like the Fantom Programming Language approach which pushes a unique API across different VM implementations. AFAIK the Clojure approach is more about accessing more low-level parts of the implementing VM with interop typical to the platform. That being said I would not trade slurp/spit for direct java.io access, for example. I'm afraid I'm expressing myself awkwardly. On Mar 9, 9:42 am, Stuart Sierra the.stuart.sie...@gmail.com wrote: Possible to do I/O without any interop ever being called? No. Possible to define a standard I/O abstraction that hides the details of the underlying VM? Yes. But difficult. I/O is a leaky abstraction at the best of times. -S -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Can Clojure be as readable as Python or Ruby ?
I think readable is in the eye of the beholder. I've only moderate experience with Clojure, but the following example from Open Dylan made me realize I really do prefer a concise representation over what is considered easier to read. http://opendylan.org/documentation/intro-dylan/why-dylan.html#functional-languages define method shoe-size (person :: string) if (person = Larry) 14 else 11 end if end method; Versus http://opendylan.org/documentation/intro-dylan/why-dylan.html#algebraic-infix-syntax (define (shoe-size person) (if (equal? person Joe) 14 11)) Albeit my preference could be different over a different example. Silly humans 8) The thing is, if you just keep using Clojure or another Lisp for a little while, you'll probably get used to it and find it comfortable. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Bret Victor's live editable game in ClojureScript
On Feb 28, 11:13 am, Bost rostislav.svob...@gmail.com wrote: Great work Chris but I think you missed exactly the most important point of Victor's talk. It's about being modeless! Indeed, Chris work is pretty slick. Although I would say the most important point of the talk is that you can, if you choose to, find your own concrete guiding principle to better the world. Victor's demos and no modes were just examples of guiding principles. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure for Cocoa
I know it's not a Clojure variant, but you might be interested in Nu, an object-oriented Lisp I read about on Disclojure which targets Objective-C. http://programming.nu/index -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: question from wikibooks page on macros?
You are right. Keep reading a bit and it says But as we defined pointless above, it is just a regular function, not a macro. And you can verify the pointless macro using macro-expand as shown later.(macroexpand '(pointless (+ 3 5)))= (+ 3 5) On Jan 6, 11:12 am, Andrew ache...@gmail.com wrote: http://en.wikibooks.org/wiki/Learning_Clojure/Macros The page says the following: (def pointless (fn [n] n)) Whatever is passed to this macro---a list, a symbol, whatever---will be returned unmolested and then evaluated after the call. Effectively, calling this macro is pointless: (pointless (+ 3 5)) ; pointless returns the list (+ 3 5), which is then evaluated in its place(+ 3 5) ; may as well just write this instead But actually, doesn't (+ 3 5) get evaluated *before *pointless ever sees it? Or am I mistaken? -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Distributed transactions
Immutant is going to have distributed (XA) transactions. The're furiously working on it 8) http://immutant.org/ On Dec 31, 11:26 am, Michael Jaaka michael.ja...@googlemail.com wrote: Is there any attempt to make distributed transactions? The usage scenario is the same like in JEE apps. I mean, there is a web service call, the transaction is started, there are some changes to db, some jms sends and when there is no failure all is commited. Maybe someone is already using glassfish or spring from clojure? Some reference to github? -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Homoiconicity in clojure (macro power)
This is the explanation that really made it click for me: The nature of Lisp http://www.defmacro.org/ramblings/lisp.html -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: new Getting Started page
I like the new page, and I do think Clooj is filling a much needed (or at least much wanted) space for beginners to both Clojure and Java, especially for those who have been accustomed to the practical IDLE while learning Python. I'm reasonably experienced in both Java Clojure, and I use the Eclipse plugin at work, but I find it useful to Clooj on my netbook while commuting or at home. Clooj is portable Clojure 8) P.S. + 1 on the name -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Stanford AI Class
They will also be available to be taken as an online class with grading as the AI introduction class. Links are on the main introduction to AI page - http://www.ai-class.com/ : http://www.db-class.com/ http://www.ml-class.com/ See also Stanford Engineering Everywhere where past lectures and material of several other courses are available for free: http://see.stanford.edu/ On Aug 16, 12:21 pm, daly d...@axiom-developer.org wrote: Ng's course on machine learning is online. I've already taken it. You need a background in probability. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Stanford AI Class
I think we all agree that Lisp would be ideal for AI, given a medium or long-term exposure, but for an introductory class to varied branches of AI, we could do worse than Python, an easy to read language with various numerical and AI libraries (PyEvolve, for example. http://pyevolve.sourceforge.net/0_6rc1/). And it's dead simple to start using it with IDLE or the REPL. After all, the class is not about teaching Python or Lisp, it's about teaching AI concepts. Even Java has been used this gentle introduction to genetic programming: http://www.gp-field-guide.org.uk/. In fact, it might be even better to start with a no-brainer language like Python. Also if I may digress a bit, we have a tendency to forget that what works for us best might not be what works best for other. Lisp simply is not for everybody, maybe not even for most people, and that's ok. On Aug 13, 1:36 pm, Lee Spector lspec...@hampshire.edu wrote: On the other hand I prefer to work in Lisp (Common Lisp, Scheme, Clojure), but my main project these days involves evolving Push programs rather than Lisp programs, for a bunch of reasons related to evolvability -- seehttp://hampshire.edu/lspector/push.htmlif you really want to know. I prefer to work in Lisps because they make it simpler to write code that manipulates program-like structures (however they end up being executed) and because I like Lisps better than most other languages for a slew of other reasons. But my evolved code is executed on a Push interpreter implemented in the host language and there are Push-based GP systems in many languages (C++, Java, Javascript, Python, several Lisps). The language choice really just affects software engineering and workflow issues, not the fundamental power of the system to evolve/learn. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ClojureScript Presentation - video
I've subscribe to the Blip.tv itunes feed and it makes it really easy to download the blip.tv videos in iTunes and transfer them to iPod/ iPad. You can search for Clojure on the iTunes store Podcasts section and subscribe. Or you can go in iTunes Advances Menu / Subscribe to Podcast and use this link: http://blip.tv/clojure/rss/itunes On Jul 26, 12:01 pm, Olek aleksander.nas...@gmail.com wrote: Agree, the same for ipod/ipad devs. Youtube is defacto standard for contet publishing, due to wide support. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: protocols and records -- use when?
Thanks for the clarification. I see I was mixing up various concepts in my head. On Jul 29, 8:19 am, Alex Osborne a...@meshy.org wrote: Clojure has some of those features, but it is sufficiently different from the traditional model that I would consider not particularly OO a valid, if not particularly useful description. There are certainly similarities though, after all Clojure tries to solve similar problems. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Good book on migrating from (Java) OO to FP
In the vein of FP for Java programmers, these two libraries might be of interest. Sequence-like operations on collection using annotations. Nice and small. http://jedi.codehaus.org/ More advanced and Scalaish. Benefits from a bigger community. http://functionaljava.org/ -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Online videos of Montreal Clojure User Group presentations
Some presentations of the Montreal Clojure User Group are now online. http://vimeo.com/groups/bonjure/videos -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: protocols and records -- use when?
I'm puzzled when we say that Clojure is not particularly OO, but using protocols and datatypes feel OO to me, except that the namespace of the protocol method implementations is decoupled from the namespace of the type. Perhaps my definition of OO is too loose and I should think of protocols as just abstraction polymorphism. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure Books
There is also this nice online introduction for absolute beginners to Clojure and Lisp: Guide to Programming in Clojure for Beginners http://blackstag.com/blog.posting?id=5 -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: New to Clojure
As you're coming in from Java, I think Clojure in Action is a good way to start. On Jun 9, 12:15 am, Santosh M santoshvmadhyas...@gmail.com wrote: I just found out three books on closure, please tell me which is the best one to start with? 1 - The Joy of Clojure 2 - Programming Clojure 3 - Practical Clojure -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Tron clone in Clojure
Consider adding your games to http://www.clojure-games.org/ :) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Jesus, how the heck to do anything?
Type in (println hello world), save and close. Run with java -jar /path/to/clojure.jar hello.clj Very handy to know. It might be nice to have it on http://clojure.org/getting_started and/or on http://www.assembla.com/wiki/show/clojure/Getting_Started as Running a Clojure script from the command line or Getting started with a plain old text editor :) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Giving a 15 minute Clojure lightning talk. Any ideas?
Hi Alex, The first part of these slides covers Ruby / Clojure syntax and might be useful: http://www.slideshare.net/jfheon/clojure-forrubyists Break a leg ;) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: Clojure Games
That's a great initiative! And the logo is awesome! (Of course I'm biased, I grew up in Pac-Man times.) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: REQUEST for feedback on http://clojure.org
I'm particularly interested in: - new user groups or suggestions for the community page Montreal Clojure group: http://www.bonjure.org/ Thank you kindly -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: practical clojure
On Sep 17, 8:23 pm, David J acts.as.da...@gmail.com wrote: I second faenvie's request for applications of Clojure books, especially on AI. AI is the reason I started looking at a Lisp in the first place. I'd also like to see Clojure become *the* language for statistics, though I understand that R statisticians aren't so fond of Lisps. Have a look at Incanter 8) http://incanter.org/ -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Rick presentation at Emerging Languages
See Phil's comment here http://technomancy.us/139 -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure Screen casts
I use this software to convert everything for my iPod: http://www.dvdvideosoft.com/products/dvd/Free-Video-to-iPhone-Converter.htm It's a bit nagware, but it works very well. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: History Question
You could use name. (name :a) -a On May 6, 2:33 pm, Sean Devlin francoisdev...@gmail.com wrote: Why does (str :a) return :a and not a? I have to work around this a lot, and I'm just curios what the reasoning to go this direction was. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/clojure?hl=en -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: History Question
Sorry, the others replies weren't there yet when I begun answering 8) On May 6, 2:44 pm, Sean Devlin francoisdev...@gmail.com wrote: Okay, next guy to mention name gets shot. Nothing personal. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Great post for newbies getting Clojure + Eclipse CounterClockwise up and running
Is there a way to access REPL command history (like ctrl-up with Enclojure) ? I could not find it in the wiki. Thx! -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure/LLVM
I know it's not Clojure, but you can at least scratch the Lisp on the iP* itch. Scheme for the iPhone: http://jlongster.com/software/iphone/scheme-iphone-example/ http://jlongster.com/blog/2010/02/23/farmageddon/ -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: Montreal Clojure User Group
Coffee sounds great. I'm from the suburbs, but I work downtown. Maybe even a lunch would be feasible. Not to pollute the Clojure group, I set up a temporary blog for us : http://mcug.blogspot.com/ On Feb 21, 11:20 pm, Dan redalas...@gmail.com wrote: Should we go for a coffee to meet each other or something? -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Montreal Clojure User Group
Okay, Google created: http://groups.google.ca/group/montreal-clojure-user-group -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Montreal Clojure User Group
Would Montreal Clojurians be interested in starting a Clojure group? Or do you all piggyback on the Montreal/Scheme Lisp User Group? -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: peepcode screencasts
I would add the suggestion to buy the current screencast, as it is excellent and would go an extra mile than the vote 8) PS. I just loved the grue reference 8) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Second Lisp to Learn
If you're going to try the straight Scheme avenue, you might try the Gambit implementation, which is touted as very fast. http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page A good way to good if you already use Emacs as your IDE. For something different but still Scheme based, there is JazzScheme which comes with its own IDE: It embraces both fonctional and OO programming and has an optional type system (with type inference.) That might be already intriguing for you (or revolting 8p ) See the complete feature list http://www.jazzscheme.org/features.htm#features.jazz I has a google discussion group and Freenode channel. It's also open-source and used commercially. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure development environments
I'm using LaClojure with IntelliJ IDEA Community Edition on a Vista box without problems. Not sure about before, but it works now 8) Also I just tried Clojure Box as mentioned above on an XP box and it works like a charm. On Dec 4, 10:30 am, David Hilton quercus.aeter...@gmail.com wrote: Last I checked (2-3 months ago) LaClojure didn't work with Windows - due to the way it handles some paths, I believe? -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: A Clojure Highlife
Thanks. I got it working with the bundle. Arghh, I realized about half an hour after posting that I had misunderstood m-surrounding-neighbors-seq. I withdrew my post from the Google group, but like they say, nothing vanishes without a trace ;) I had not realized that since the grid is made out of refs, and since the refs themselves do not change, that the grid will always be equal to itself and thus not generate new memoization values even if the values inside the refs do change. These days it seems that not matter how long I think about a reply, and no matter how many times I reread it before posting, I'll find an error in it just after posting it 8p -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: JScheme
Well, what are your needs or objectives? If you just want to do Scheme on top of Java, JScheme will be fine. The rationale behind Clojure is functional programming and concurrency: http://clojure.org/rationale For a more comprehensive answer, I'll let the man himself speaks 8) Rich does a detailed presentation of why He developed Clojure instead of using another Lisp in this presentation: http://www.lispnyc.org/wiki.clp?page=past-meetings ftp://lispnyc.org/meeting-assets/2007-11-13_clojure/clojure.mp3 If you listen to about the first 30 minutes, you'll have a clear idea of why Clojure versus any other Lisp. I bet you won't stop after 30 minutes, though, it's pretty fascinating 8) Happy exploring -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: A Clojure Highlife
On Nov 16, 2:49 pm, John Harrop jharrop...@gmail.com wrote: For a real challenge, try implementing Hashlife using Clojure's immutable data structures. :) This might help. http://www.ddj.com/hpc-high-performance-computing/184406478 To quote the author, Tomas G. Rokicki : This decision lets you use a completely functional approach on an immutable data structure, assuming you enjoy such things. 8) -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: A Clojure Highlife
Hi there, Unfortunately, I was unable to get it working. From what I gather, I'm using the wrong clojure.jar and or clojure- contrib.jar. Could you tell me which version of theses files you are using? Anyway, I was wondering about the memoizing of the function surrounding-neighbors-seq. It's memoizing for every grid, which I guess is good if the application hits a cycle, but if it doesn't, it will unnecessarily keep function results for passed grids. I'm not sure about the memoizing cache behavior, but if we bet for non- repeating grids, I think it might be better to dynamically memoize for each grid only. This way, memoizing information for passed grids will be GCed. I'm thinking about something like this. Remove the global def: (def m-surrounding-neighbors-seq (memoize surrounding-neighbors-seq)) Modify the two following count-living-neighbors and get-living- neighbors-seq functions to let a memoized version once for each grid: See http://paste.lisp.org/display/90541 Using a let and passing the local memoized function to count-living- neighbors felt weird, but it felt better than doing a binding. I wonder which would be the idiomatic way to go. -- 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure is two!
Link for clojure in action green paper http://www.manning.com/free/green_rathore.html On Oct 16, 3:59 pm, Wilson MacGyver wmacgy...@gmail.com wrote: one is clojure in action, published by manning, written by Amit Rathore --~--~-~--~~~---~--~~ 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: clj-gradle – a Clojure Plugin for Gradle
On Oct 14, 9:27 am, rb raphi...@gmail.com wrote: Just wondering: how does it compare to Lancet? (http://github.com/stuarthalloway/lancet I was just wondering the same thing after reading the following point in the Gradle doc 8) -Ant tasks and builds as first class citizens. Anybody out there using Lancet on a real project? I wonder if Relevance is using it. --~--~-~--~~~---~--~~ 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Does OSGi make sense for Clojure?
There is this project going on: http://wiki.github.com/romanroe/ogee --~--~-~--~~~---~--~~ 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Is knowing Java a prerequisite for using Clojure?
On Sep 17, 10:01 pm, Hugh Aguilar hugoagui...@rosycrew.com wrote: I want to create a DSL for generating gcode for cnc milling machines Unrelated to Clojure, but on the subject of DSL, the July/August 2009 issue (vol. 26 no. 4) of IEEE Software is dedicated to domain-specific modeling. http://www2.computer.org/portal/web/csdl/magazines/software;jsessionid=196C224E83879BD10B3E67E625C4185A#3 --~--~-~--~~~---~--~~ 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: No OO restrictions is good. why not still add dependency injection?
I've seen dependency injection used in choosing an implementation for an interface with a configuration file i.e. without having to modify the code. I've only seen it used in component frameworks with lifecycle (a lifetime ago with Jakarta Avalon and now with Spring.) Currently we're using it in a web service environment, simply to inject SQL queries into our database classes so we can modify the queries without recompiling everything. --~--~-~--~~~---~--~~ 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: ClojureCLR updated
On Jun 1, 1:57 pm, David Miller dmiller2...@gmail.com wrote: It's important in that it means that the generated MSIL is not completely junk, in that I'm not missing any important optimizations, that I'm taking full advantage of type hints, avoiding reflection, etc.. The JVM bytecodes are an important check for me. What's interesting is that the methods used to generate the IL in the each implementation are very different. The two implementations generate AST from the clojure source that are pretty much identical. From the ASTs, the JVM implementation generates bytecodes using the ASM bytecode library--essentially, it's close to hand-generated. Rich and company have that code pretty finely tuned. The CLR implementation transforms the ASTs into DLR-Expression-Tree-Version-2 expressions. The DLR code handles compiling those expressions into either dynamic methods or into static methods for saving in assemblies. The DLR expression compiler should be generating decent MSIL. I think the closeness of the results are encouraging. I wonder if that project could be of some help/inspiration. It implements a JVM in .NET http://www.ikvm.net/ The JVM implementation does pull some tricks, such as nulling method arguments before tail calls or storing some temp values on the stack, that I can't figure out how to duplicate with ExpressionTrees. Also, the expression tree compiler can only generate static methods. Clojure functions are instances of a class implementing the IFn interface. I have to hand-code the class definitions and code the 'invoke' instance methods to call out to static methods in a base class. That adds an extra method call in many places. Whether all these little things add up to some of the performance differences is beyond my knowledge or the granularity of the profiling tools at my disposal. Unless some MSIL expert surfaces to give advice, I'll be spending time hand-coding some alternatives to benchmark certain constructs to see what works better. Worst case, I will end up discarding the MSIL and doing the MSIL generation myself. : It'd be much easier to play with if you provide a precompiled : executable :) I thought about that. Adding assembilies of my code as a download is easy enough. However, to get the thing running, you also need vjslib from the J# Redistributatable library plus DLLs generated from the DLR source -- care to advise me about the legal ramifications of me doing that directly? :) : Keep up the good work! I hope to someday use ClojureCLR for real : projects, so I can have all the functional, concurrent goodness of : Clojure in .NET. I think that day is not too far off. Thanks for the feedback. David --~--~-~--~~~---~--~~ 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 to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Clojure for high-end game development
EA is a publisher, not a producer. And they did publish the videogame Abuse, which is made from a list variant: http://en.wikipedia.org/wiki/Abuse_(computer_game) Interestingly, there is a thread about video game programming using Lisp here: http://news.ycombinator.com/item?id=516778 And the first comment mentions Clojure 8) --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: The Path to 1.0
On Apr 17, 2:47 pm, revoltingdevelopment christopher.jay.jo...@gmail.com wrote: Aside from that, I think you are right about the psychology of language adoption and book-buying. Declaring 1.0 to coincide with the content and publication date of Stuart's book is just an excellent idea, regardless of all the other issues raised so far. I would second that and add that having a fixed version (be it .99, ot 1.0 or 1.1 or whatever) is not useful only for the book, but also for tooling. It'd be nice to have IDE plugins versions, or Waterfront versions, that depend on a fixed stable version instead of the latest snapshot which my break or change stuff from one release to the next. Of course, once there is that first stable version with which the tool works, there's no harm in having alpha or beta release of the tool version using the latest Clojure snapshot. Plus it's always nice to be able to develop a library or whatever and assigning a language version to it, like we do with Java or .Net. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: The Path to 1.0
On Apr 17, 2:47 pm, revoltingdevelopment christopher.jay.jo...@gmail.com wrote: Aside from that, I think you are right about the psychology of language adoption and book-buying. Declaring 1.0 to coincide with the content and publication date of Stuart's book is just an excellent idea, regardless of all the other issues raised so far. I would second that and add that having a fixed version (be it .99, or 1.0 or 1.1 or whatever) is not useful only for the book, but also for tooling. It'd be nice to have IDE plugins versions, or Waterfront versions, that depend on a fixed stable version instead of the latest snapshot which my break or change stuff from one release to the next. Of course, once there is that first stable version with which the tool works, there's no harm in having alpha or beta release of the tool version using the latest Clojure snapshot. Plus it's always nice to be able to develop a library or whatever and assigning a language version to it, like we do with Java or .Net. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: The Path to 1.0
Strangely enough, for me version 1.0 would mean the version of Clojure described in the book Programming Clojure by Stuart Halloway. It would be a version that I could download directly even though newer versions would appear afterward so the book and the Clojure version are consistent with one another. Bug fixes to version 1.0 would be nice too, but the main point is having the same behavior described in version 1.0 and in the book. Should it be necessary, the book could refer to features coming for version 1.1. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---