Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: markspace Newsgroups: comp.lang.java.programmer Subject: Re: Lazy primes with Java 8 (was Re: Java 8 Streams and Eratosthenes) Date: Mon, 10 Jun 2013 13:18:09 -0700 Organization: A noiseless patient Spider Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 10 Jun 2013 20:13:25 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="fba3415ba68d85d643935af2f52f0b4b"; logging-data="30971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196nOhbjNh2io1vfzErMvRnv15LMiKQi90=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: Cancel-Lock: sha1:HgyGpOf1sfq10xJzuP+GTMYNhvA= Xref: csiph.com comp.lang.java.programmer:24354 On 6/10/2013 10:43 AM, Sebastian wrote: > If you wish, just send me an email and I'll send you my code > privately as a point of departure. I don't wish to put it on > a public site, however. That's too bad, since Java 8 is new and we could use some examples how to implement algorithms with lambda. I assume you don't want to post the code because it's actually owned by your employer. Would you consider posting a scaled down example on a personal blog? Something that outlines how to solve this type of problem without actually revealing all the details? I found what you did post to be kind of hard to follow. Or if you can find some public code that does something similar, base your public post on that, and show where improvements and adaptations can be made. I've seen this done professionally. Neal Gafter, for example, didn't agree with all of the patent transfer stuff on the lambda dev list, so he often blogged his comments elsewhere and then provided a link and a summary to the list. It's just a way of maintain rights to material (publicly or privately) independent of an employer.