Rich Hickey Calls for Book List, Creates Nice Resource as a Side Effect

2018-11-02 Thread Nathan Smutz
Rich requested that people report in on books they wrote about Clojure and when the book was first published. (He's gathering information for a History of Clojure paper.) Lots of people are also chiming in with mentions of Clojure in books they wrote on other subjects, online learning material

Re: "GC overhead limit exceeded": Deceptive message?

2017-08-09 Thread Nathan Smutz
o 1.3 gigs altogether. I'd expect the > gleaned > > data to be significantly smaller; but I'd better check into how close > that's > > getting to the default heap-size. > > > > Best, > > Nathan > > > > On Tuesday, August 8, 2017 at 1:20:

Re: "GC overhead limit exceeded": Deceptive message?

2017-08-08 Thread Nathan Smutz
files add up to 1.3 gigs altogether. I'd expect the gleaned data to be significantly smaller; but I'd better check into how close that's getting to the default heap-size. Best, Nathan On Tuesday, August 8, 2017 at 1:20:21 AM UTC-7, Peter Hull wrote: > > > On Tuesday,

"GC overhead limit exceeded": Deceptive message?

2017-08-07 Thread Nathan Smutz
In the course of processing thousands of XML files (maximum size 388kb; but I am doing a lot of operations with zippers) I got this message: OutOfMemoryError GC overhead limit exceeded com.sun.org.apache.xerces.internal.xni.XMLString.toString I can process about 2,100 before that pops up. I se

core.logic: faking sets and "sufficient" results

2016-12-28 Thread Nathan Smutz
Hi All, I work for a university and I've been commissioned to write a program that proves whether majors can be reasonably completed in 4 years. core.logic has seemed the obvious tool. The output should be a set of scheduled course-offerings satisfying major requirements, course-prereqs, etc.

Re: Clojure as a first programming language?

2016-12-04 Thread Nathan Smutz
If you're new to tooling, and want to try Clojure right away, I strongly recomend Oakes' Nightcode. Install the JDK and Nightcode, and you'll have Clojure with its popular build tools (Leiningen and Boot) built in, beginner-friendly parenthesis management, LightTable-like instant evaluation in

Re: any? in clojure 1.9.0 alpha

2016-11-13 Thread Nathan Smutz
Is there a Tricky Names for Nubies page? We might save some stack-overflow searches. In the spirit of Honest Trailers: if we named functions for what they do: or-> first-truthy some -> first-satisfying some? -> not-nil? any? -> return-true Are there others? -- You received this message be

Random xxxx-init.clj files created in root of project.

2016-09-24 Thread Nathan Smutz
I have a Figwheel project that kept generating files with random names ending in -init.clj when "lein figwheel" was run. The files have code related to figwhee-sidecar and starting up the REPL. i followed some breadcrumbs ( https://github.com/emezeske/lein-cljsbuild/issues/394 ) suggesting it's

grouping and mapping

2016-08-14 Thread Nathan Smutz
Just to put the basic Clojure out there: (->> (group-by first foos) (map (fn [[key col]] [key (mapv (comp clojure.string/upper-case second) col)])) (into {}) Kudos to Moe,Christopher and Simon. -- You received this message because you are subs

Re: Reduce + merge-with error on lazy sequence of maps

2016-02-13 Thread Nathan Smutz
Thanks James, There was definitely a missing aggregation step in there. I appreciate your eyeballing it. Best, Nathan -- 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 fro

Reduce + merge-with error on lazy sequence of maps

2016-02-11 Thread Nathan Smutz
Hi all, I've had a case where reduce with merging operations throws errors on lazy sequences. I thought I should check in for insight before logging a bug. Maybe using maps as keys has something to do with it. too (I've since refactored) (reduce merge-student-demand everybody) Throws: Il

Re: [Clojurescript] .getElementById returns NULL

2016-01-05 Thread Nathan Smutz
Thanks Francis, that did it. Rookie mistake, that. I wonder if there's ever enough page content to make it worth just delaying the DOM hooks. On Sunday, January 3, 2016 at 7:49:39 PM UTC-8, Francis Avila wrote: > > Your problem is unrelated to clojurescript. > > Your script runs before the bo

[Clojurescript] .getElementById returns NULL

2016-01-03 Thread Nathan Smutz
Sorry if this is something trivial. I tried to do some due diligence googling with no luck. The function getElementById seems to be returning null where it shouldn't. I'm currently using lein-cljsbuild 1.1.2 clojure 1.7.0 clojurescript 1.7.170 and compiling with optimizations: :none Here's my

Reviewers needed for new Clojure book!

2015-08-26 Thread Nathan Smutz
I'd be interested. I've been looking for Clojure books past the introductory level. It sounds like you're aiming for a good "second Clojure book." -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr

Re: Google Clojure REPL

2014-12-16 Thread Nathan Smutz
Hi Daniel, I just wanted to thank you and say how much I've appreciated your Android REPL. In learning Clojure, it's been an amazing resource to have. Studying books away from a computer, or just being comfortable at home: it's been a great learning multiplier to launch your app on the spur of