Re: [ANN] cld 0.1.0 - Clojure Language Detection
Tested with Korean and German, and works great! user> (cld.core/detect "한국 음식중에 김치가 제일 맛있어요.") ["ko" {"ko" "0.9998"}] cld.core=> (cld.core/detect "In München steht ein Hofbräuhaus.") ["de" {"de" "0.972552285171"}] -- 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
Amazing !!! (inc reasons_to_get_into_clojure_script) JM -- 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: lazy-sequences and memory leaks
It's not obvious to me from the code what the problem would be. Have you tried using a profiler to see what kinds of objects account for the memory? When I've run into seq issues and bugs in the past, that was pretty helpful in figuring out the underlying problem. On Feb 27, 8:13 pm, Sunil S Nandihalli wrote: > Hi Everybody, > I am using lazy-seqs to join two very large csv files. I am very certain > that I am not holding on to any of the heads and If I did .. the jvm would > be out of memory far sooner than what I am seeing currently. The size of > the file is something like 73 G and the Ram allocated to the jvm is about > 8G . It seems like a very gradual leak. Has anybody else encountered > similar problems? In case some of you feel that my code might be the > culprit, the following gist has the source. > > https://gist.github.com/1929345 > > Thanks, > Sunil. -- 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
Is it possible to run the ClojureScript compiler in browser via a Java Applet?
I saw Chris Granger's recent post on hackernews sparked some debates about the merit of being able to compile the language in-browser for dev purposes. Since the compiler is written in Clojure, would this be easy to accomplish via a java applet? Sort of like this scheme REPL (http://sisc-scheme.org/sisc-online.php). -- 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 it possible to run the ClojureScript compiler in browser via a Java Applet?
Then interacting with the browser environment becomes unnecessarily complex. The ClojureScript browser REPL already provides the interactive behavior one would expect from having the compilation environment available in the browser but promises much more powerful interactions (evaluating expressions in multiple browser environments at the same time) David On Tue, Feb 28, 2012 at 10:53 AM, Chris McBride wrote: > I saw Chris Granger's recent post on hackernews sparked some debates > about the merit of being able to compile the language in-browser for > dev purposes. Since the compiler is written in Clojure, would this be > easy to accomplish via a java applet? Sort of like this scheme REPL > (http://sisc-scheme.org/sisc-online.php). > > -- > 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 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
2012/2/27 Chris Granger > Hey folks, > > In reference to the previous thread on "Inventing On Principle", I > built a ClojureScript example of his live editable game :) > > http://www.chris-granger.com/2012/02/26/connecting-to-your-creation/ > Sorry Chris, I tried acting on this video, but I couldn't make the characters climb higher than initially: http://www.youtube.com/watch?v=nl5gluGjFis ;-) -- 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: lazy-sequences and memory leaks
Sorry, I don't have any relevant experience to share. As an experiment, I suggest that you try deferring the sh execution. Maybe logging the generated commands to a script file rather than calling sh during processing. Then execute one big script file at the end. That should make the program easier to profile and debug. On Feb 27, 2012, at 11:13 PM, Sunil S Nandihalli wrote: > Hi Everybody, > I am using lazy-seqs to join two very large csv files. I am very certain > that I am not holding on to any of the heads and If I did .. the jvm would be > out of memory far sooner than what I am seeing currently. The size of the > file is something like 73 G and the Ram allocated to the jvm is about 8G . It > seems like a very gradual leak. Has anybody else encountered similar > problems? In case some of you feel that my code might be the culprit, the > following gist has the source. > > https://gist.github.com/1929345 > > Thanks, > Sunil. -- 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
[clojurescript one] Where does Clojurescript One come from?
Hi, I discovered Clojurescript One recently, it is amazing, but it's also very alien to me, I never seen something like this before, as it says on the Github's README: > "ClojureScript One is hard to classify. It is not a library or a framework. > It is more like a classroom, a laboratory or a starter kit." Could anyone point me to the projects that inspired Clojurescript One? (I suspect some Ruby-ish stuff, or maybe more ancient Lispy or Smalltalky(?) roots). Thanks, Denis -- 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: Google Summer of Code 2012: We need mentors!
On Mon Feb 27 13:20 2012, David Nolen wrote: > Excellent! > > I won't be at Clojure/West, so take the lead on the that! :) I added the Unsession idea to the Clojure/West page along with the link the GSoC page on Confluence. If Clojure gets into the GSoC, I'll be happy to see what I can do to coordinate at the conference. Sincerely, Daniel > David > > On Mon, Feb 27, 2012 at 1:18 PM, Daniel Solano Gomez > wrote: > > > On Mon Feb 27 12:08 2012, David Nolen wrote: > > > We need mentors as much as we need students. > > > > > > There are many great projects inside and outside of contrib. If you own a > > > project that could use documentation, new work, visual design, > > *anything*, > > > please consider taking the 5-10 minutes to write up a proposal idea here > > - > > > http://dev.clojure.org/display/community/Google+Summer+of+Code+2012. > > > > I just added a few ideas. On a related note, if Clojure gets accepted > > as a GSoC organisation, would it make sense to have a GSoC unsession at > > Clojure/West? > > > > Sincerely, > > > > Daniel > > > > -- > 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 signature.asc Description: Digital signature
Re: Parsing NMON data (CSV)
On Feb 27, 7:16 pm, meteorfox wrote: > What I really meant is, what could be a good library for making graphs > based on sampled data?. you could try incanter if you want to stay in the clojure world. -- 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
Talk on ClojureScript at the Manchester Lambda Lounge
Hi all, I'm proud to announce the inaugural meeting of the Manchester (UK) Lambda Lounge; a group dedicated to popularising Functional Programming, and exploring new concepts in programming languages. We hope to meet on the second Monday of the Month, every month at the Madlab at 7pm. http://madlab.org.uk/ Many of the coolest modern languages are Functional, and include F#, Erlang, Haskell, Clojure, Lisp, Scheme, OCaml and ML, whilst almost all of the best features found in languages like Ruby, Python, C# and Javascript have a functional lineage. So whether you want to know why JQuery and LINQ are Monads, or how currying functions can improve your programs data-flow then the Lambda Lounge is the place for you! Our first meeting will be on Monday the 12th of March 2012 at 7pm, and will feature a talk by Dr, Simon Holgate on ClojureScript. Simon will be talking about ClojureScript and his experiences using it to develop geographical visualisations of scientific data. If you're interested, we also have a Google Group here: http://groups.google.com/group/lambda-lounge-manchester R. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: [clojurescript one] Where does Clojurescript One come from?
The rationale for Clojurescript is available here: https://github.com/clojure/clojurescript/wiki/Rationale I would say it's a way to wrap the large possibilities of javascript in a saner and quite well known environment for Clojurians. The way to use the Google Closure libs+compiler is very clever, I must say. The idea is that you use java-Clojure in the background to compile things to browsers since they often need a webserver somewhere for sane persistence anyway. Therefore Clojurescript is missing eval and some other clojure/lisp constructs. It's a compiled lisp, with the aim on robustness and the ability to use it in production with the least effort (which, from what I understand, is quite substancial). Also, javascript is singlethreaded, so everything that uses threads in ordinary Clojure is faked in javascript. Some constructs (the refs among other things) is not implemented yet. /Linus 2012/2/28 Denis Labaye > Hi, > > I discovered Clojurescript One recently, it is amazing, but it's also > very alien to me, I never seen something like this before, as it says > on the Github's README: > > > "ClojureScript One is hard to classify. It is not a library or a > framework. It is more like a classroom, a laboratory or a starter kit." > > Could anyone point me to the projects that inspired Clojurescript One? > (I suspect some Ruby-ish stuff, or maybe more ancient Lispy or > Smalltalky(?) roots). > > Thanks, > > Denis > > -- > 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 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: Google Summer of Code 2012 - any mentors?
I've pushed the documentation boulder up the hill a bit and left some specific ideas I had here: http://dev.clojure.org/display/doc/clojure.org+TODO+list Many people have picked up parts of it since I wrote it (yay!) but there are still a number of biggish pieces there that need to be blessed/vetted by someone in core. I know Fogus made a pass with many changes recently and perhaps some of the things on the list are moot now. What needs to be done imho is just web site information design work. I'm not sure if that falls in GSoC's normal purview. There are suggested unsessions at Clojure/West about both GSoC and documentation - I'd love to see a discussion take place about either during C/W. If anyone is interested, please add yourself to a list for either if you'll be there - http://clojurewest.wikispaces.com/Unsessions Alex On Feb 28, 1:35 am, Devin Walters wrote: > One item that hasn't made the project ideas list that I've seen numerous > threads about is documentation. Does this fall within the scope of GSoC? > > It seems like there are a lot of opportunities to either organize, revise, > update, or generate documentation. > > Some ideas: > - Clojure.org's Libraries section still talks about contrib like it's first > class. > - The Getting Started guide could always use more work. > - StackOverflow contains nuggets of wisdom that aren't anywhere in official > documentation. (It also contains a lot of bad answers, but still…) > - I've heard it said on more than one occasion that xyz docstring is out of > date. > - This is one of the few communities where you can go back to 2008 and read a > transcript of a conversation between Chouser and Rich about why map > destructuring is the way it is. Some of these conversations hold some deep > wisdom about Why Things Are The Way They Are. > - This list contains truckloads of information that could be organized for > more efficient consumption. > - ClojureScript wouldn't be hurt by more documentation. > - Without making this a laundry list I'd just say: Producing and organizing > good documentation is hard labor, but it is also something that I think > benefits the entire community. Moreover, it might give someone a chance to > learn a ton about Clojure over the course of a summer, and make it easier on > everyone who decides to try out Clojure in the future as a nice side effect. > I'd like to suggest we add an intentionally vague option to "Make Lots of > Things Better" and list some ideas for how one might go about doing that. > > More ideas that might bear interesting and desirable fruit: > - Make an album with Overtone. (Kidding (but only a little bit (not kidding > at all, actually (I bet we'd get some passionate proposals (and maybe even a > record deal ;) > - The sidebar on the left of the GSoC page lists an opening for a Community > Manager Internship. I think a lot of what I'm suggesting falls under that > umbrella. "creating/editing documentation, helping migrate projects to newer > versions of clojure, developing sample applications such as solutions for the > alioth benchmarks, answering questions on IRC, administering/maintaing > clojure.org, clojure.com, assemble, confluence, mycroft, etc." > > I guess what I'm saying is, at the end of the day: Let's add documentation to > the list, but also add some other obviously fun projects and see what kind of > proposals we receive. It doesn't mean we need to accept them, it just shows > (IMO) we're very open minded about people who are passionate about building > what /they/ care about, not necessarily what we care about. If some musician > in grad school submitted a proposal to make an album exclusively with > Overtone and published the source that would be a boon to the Overtone > project IMO. If a sophomore in college wants to build some crazy parallelized > Rube Goldberg machine with Clojure then I think we should at least entertain > the idea of it. More than anything, I think we need to present the people who > *might* do something like that with the face of a community that would > genuinely appreciate it. I've met many of you personally, so I hardly think > that's a stretch for us. > > This is getting really long so I apologize, but I'd like to offer up a bit of > personal experience w/r/t GSoC: > I did GSoC years ago for Plan9 (Inferno-OS specifically). I was not very > familiar with their community, and I doubt many people have ever read a book > about programming Limbo. As a result, a lot of the ideas that were listed > were strangely specific from my limited undergrad perspective. I was > interested in learning about Plan9 and contributing, not necessarily learning > Plan9 to make a distributed authentication system that someone else wanted > for reasons that were unknown to me and/or were not well described in the > description. As a result, keep in mind that we will potentially have people > submitting proposals to write Skynet 1.0 in 3 m
Re: Bret Victor's live editable game in ClojureScript
Hi Chris, Nice work. Can you explain in words the high level steps of the implementation, starting from when you just made a change in the web editor, to just before the visualization gets updated? I'm concerned with the compiling steps not the details of visualization. Also, can you elaborate on the issues you had with the .class files and the compiler? Best, Brent On Monday, February 27, 2012 3:14:27 PM UTC-5, Chris Granger wrote: > > Hey folks, > > In reference to the previous thread on "Inventing On Principle", I > built a ClojureScript example of his live editable game :) > > http://www.chris-granger.com/2012/02/26/connecting-to-your-creation/ > > Enjoy! > > Cheers, > Chris. On Monday, February 27, 2012 3:14:27 PM UTC-5, Chris Granger wrote: > > Hey folks, > > In reference to the previous thread on "Inventing On Principle", I > built a ClojureScript example of his live editable game :) > > http://www.chris-granger.com/2012/02/26/connecting-to-your-creation/ > > Enjoy! > > Cheers, > Chris. -- 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
Clojure/West - calling all procrastinators
Clojure/West is just a couple weeks away (San Jose, Mar 16-17) and I'm hoping there are still dozens more of you procrastinating about registering. - Register: http://regonline.com/clojurewest2012 - Schedule: http://clojurewest.org/schedule - Training classes: http://clojurewest.org/training The conference will feature a keynote by Rich Hickey, talking about a secret that is slowly being revealed on his Twitter feed - so far we know that it's a new database called Datomic. I've seen a sneak preview of the presentation and it's pretty awesome. Stuart Halloway will be talking about Evident Code based on his work in the Datomic project as well. Richard Gabriel, Lisp guru, will be sharing some wisdom with us and Bradford Cross will be sharing how Clojure has been a high leverage tool for Prismatic (http://getprismatic.com). On top of all that, we've got 36 other sessions from people like Chouser, Fogus, Stuart Sierra, Nathan Marz, Zach Tellman, Aaron Bedra, Chas Emerick, and David Liebke! Swarm coding with Phil Hagelberg! An Overtone party hosted by Heroku (free beer) with a talk and jam session with Sam Aaron and Jeff Rose! If you're interested in training, we've got three classes available prior to the conference: 1) Intro to Clojure - Stuart Sierra, Alan Dipert - 3 days of intensive instruction to get a huge jump start on becoming a Clojure master: - http://clojurewest.org/training-intro-to-clojure 2) Cascalog - Sam Ritchie - learn from 3 days of training by the co- author of Big Data and committer on Cascalog how to slice and dice your Hadoop data, build views with Elephant, and lots more: - http://clojurewest.org/training-cascalog 3) Clojure Web - Chris Granger - from the creator of Korma, Noir, and Pinot, learn how to build Clojure web apps from client to database in a 2 day course: - http://clojurewest.org/training-clojure-web Hope to see you all there! Alex Miller -- 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