Re: with-open and line-seq

2012-10-28 Thread Christian Sperandio
I've got a question about lazy-sequence and file reading. Is line-seq good to process lines from huge file? Let take this case, I want to process each line from a file with one or more functions. All lines must be processed. Line-seq return a lazy sequence, it means all already read lines stay

Re: with-open and line-seq

2012-10-28 Thread Jon Degenhardt
Just started using Clojure, found myself asking a similar question. Was writing programs operating as part of unix command shell pipes, so I wrote a macro that did something like the perl diamond operator. It iterates over a series of files and standard input, opening each in turn and reading

Free Clojure Course

2012-10-28 Thread Ryan Kelker
There's a free 19 part series on basic Clojure @ http://www.udemy.com/clojure-code -- 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

Re: with-open and line-seq

2012-10-28 Thread Ben Smith-Mannschott
On Sun, Oct 28, 2012 at 9:38 AM, Christian Sperandio christian.speran...@gmail.com wrote: I've got a question about lazy-sequence and file reading. Is line-seq good to process lines from huge file? Let take this case, I want to process each line from a file with one or more functions. All

ANN: lein-clr for building ClojureCLR projects

2012-10-28 Thread Shantanu Kumar
Hi, I am happy to announce `lein-clr`, a Leiningen plugin for building ClojureCLR projects: https://github.com/kumarshantanu/lein-clr As of 0.1.0, dependency mechanism is not provided (external dependencies can be specified) but the following tasks work: * clean * compile * repl * run * test

Re: ANN: lein-clr for building ClojureCLR projects

2012-10-28 Thread Mark Rathwell
Great work! Really looking forward to NuGet integration. On Sun, Oct 28, 2012 at 9:13 AM, Shantanu Kumar kumar.shant...@gmail.comwrote: Hi, I am happy to announce `lein-clr`, a Leiningen plugin for building ClojureCLR projects: https://github.com/kumarshantanu/lein-clr As of 0.1.0,

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Patrik Sundberg
I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up for the interactive-form workflow it looks to me to be assumed to be a boolean flag.

Re: what is the simplest user auth system possible?

2012-10-28 Thread larry google groups
What happens if the Persona project closes down? On Friday, October 26, 2012 7:06:48 AM UTC-4, Dave Sann wrote: For authorisation, I really like mozilla persona (previously browserid) which I discovered from refheap. javascript lib plus an http request from the server to validate. really

clojure.org requires more clicks now

2012-10-28 Thread raschedh
I'm using clojure.org a lot. Unfortunately navigating in it, since two weeks or so, was made worse. Is anyone feeling the same way ? Or I am just too stupid to use this webpage? What has been made worse?: In the old version, on the left edge, there were, under `Documentation', all the

Re: what is the simplest user auth system possible?

2012-10-28 Thread Simone Mosciatti
I never really get Persona (means person in Italian that doesn't really make a lot of sense, but whatever) what if I share my pc with my brother ? Maybe i miss something... If you are using mongodb I am using https://github.com/xavi/noir-auth-app that is using congomongo and since i am using

Re: clojure.org requires more clicks now

2012-10-28 Thread Stuart Sierra
Hello Heinz, I'm sorry you're finding navigation difficult on Clojure.org. I agree that fewer clicks are better, but we (me, Stuart Halloway, and a few others) felt that the site was getting cluttered with too many links, which was confusing to newcomers. It would be nice if the Documentation

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Chas Emerick
On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up for the interactive-form workflow it looks to me to be assumed to be a

Re: clojure.org requires more clicks now

2012-10-28 Thread raschedh
Hello Stuart, Thank you for your prompt reply. It would be nice if the Documentation link in the left-side column could expand into a list of sub-sections, but I don't know if the technology behind the site (Wikispaces) can support that right now. That would be very nice, indeed. The

Re: clojure.org requires more clicks now

2012-10-28 Thread raschedh
P.S.: the compatibility shim for 0.1.x API functions were 2 days late. Already upgraded to the new API. Had I just waited 48 hours... ;-) -- 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

Re: clojure.org requires more clicks now

2012-10-28 Thread Michael Klishin
2012/10/29 raschedh rasche...@gmail.com I know that the following is a minority opinion: But this attention to newcomers is, albeit very honourable and of course economically necessary, bad. If growing the community and making it possible for more people to use Clojure at work, school or

Re: with-open and line-seq

2012-10-28 Thread Stuart Sierra
On Friday, October 26, 2012 11:11:48 PM UTC-4, daveray wrote: I guess I looking for a magical line-seq that closes the file correctly even if you consume part of the sequence, is resilient to exceptions, etc, etc. I realize that it might be impossible, so I asked. :) It's been discussed

Re: clojure.org requires more clicks now

2012-10-28 Thread raschedh
Ah. I don't wanna go into flames here. And I *said*, I know this is the opinion of the majority. So relax. Nobody cares about what I think about this. Nobody is going to change anything, because of me. All I wanted to say is that this formulation: make sure newcomers have pretty good time. is

Re: Some Friend documentation and regarding documentation in general

2012-10-28 Thread Patrik Sundberg
On Sunday, October 28, 2012 8:14:41 PM UTC, Chas Emerick wrote: On Oct 28, 2012, at 2:57 PM, Patrik Sundberg wrote: I've looked at this for a bit now. It seems there are some slight inconsistencies in how the redirect info is used: Where the redirect-on-autth? is being set up for the

Re: clojure.org requires more clicks now

2012-10-28 Thread raschedh
And these kids in school, and these people at work, you refer to: My argument is this: Those that come to clojure by themselves, because they can not help. Because they are so occupied with computers, so occupied with mastering everything, because they can not stop looking for beauty. They won't

ANN Clojure documentation site (CDS) progress report for the week of October 28th, 2012

2012-10-28 Thread Michael Klishin
## TL;DR The Clojure documentation project (http://clojure-doc.org) continues to make progress. Lion's share of the work this week went into the Concurrency and Parallelism guide: http://clojure-doc.org/articles/language/concurrency_and_parallelism.html which is now about 75% complete. ## CDS

Re: clojure.org requires more clicks now

2012-10-28 Thread Michael Klishin
2012/10/29 raschedh rasche...@gmail.com My argument is this: Those that come to clojure by themselves, because they can not help. Because they are so occupied with computers, so occupied with mastering everything, because they can not stop looking for beauty. They won't be stopped by

Re: clojure.org requires more clicks now

2012-10-28 Thread raschedh
Sorry but this is absolutely ridiculous. I know quite a few people who are interested in what Clojure has to offer but find it really hard to get in, not because of the language but because of the way Clojure documentation and tools are (experts-oriented). Some of them have given up, at

Re: clojure.org requires more clicks now

2012-10-28 Thread Vinod Kurup
On Sunday, October 28, 2012 6:16:12 PM UTC-4, raschedh wrote: ... If you do not come back, you do not want it enough. ... Then a few extra clicks on the homepage shouldn't deter you. Sorry, couldn't resist :-) Vinod -- You received this message because you are subscribed to the Google

Re: with-open and line-seq

2012-10-28 Thread Dave Ray
Stuart, Thanks for the link. It confirms the suspicions I had about a general solution for this issue. For the particular code I'm working with, I'll try pushing with-open further up and see if that gives me some of the flexibility I'm looking for. Cheers, Dave On Sun, Oct 28, 2012 at 2:21 PM,