[JOB] CLJ/CLJS Developer(FL/Remote) - Swarmify putting an end to video buffering

2016-01-08 Thread Nathan
Looking for a mid to senior level developer with experience in Clojure and Clojurescript to join our team and help put an end to video buffering and failures. Would be joining an innovative early stage company with strong venture backing and product already in production. Work on a solution that

Re: Zipper & Local Context?

2008-12-05 Thread Nathan Kitchen
Could you achieve this through a combination of clojure.zip/node and get-in/assoc-in/update-in? Of course the missing piece is going back from nodes to locs. -- Nathan On Dec 5, 2:54 pm, Randall R Schulz <[EMAIL PROTECTED]> wrote: > Hi, > > I looked at the Clojure implement

Re: Gorilla: Release of Version 1.1.0

2008-12-12 Thread Nathan Kitchen
igns +smartindent I believe that you can get ruby support in Vim in openSUSE 10.3 by installing the gvim or vim-enhanced packages. I would guess that something similar should work for SuSE 10.0. -- Nathan --~--~-~--~~~---~--~~ You received this message because you ar

Re: yet another Clojure snake

2009-01-07 Thread Nathan Kitchen
ingredients flour baking-soda salt) (mix) (add-and-beat eggs flour))] (-> (find-baking-sheet) (make-dough-balls batter) (bake In my opinion, this little macro is a brilliant idea. -- Nathan --~--~-~--~~-

Re: Eval with local bindings

2009-01-17 Thread Nathan Kitchen
On Sat, Jan 17, 2009 at 11:06 AM, Greg Harman wrote: > > Meta: This thread is a revival and continuation of last month's > discussion at: > http://groups.google.com/group/clojure/browse_thread/thread/e1226810b6ac7bfc/8e0f53c141c26fcc?lnk=gst&q=eval+binding#8e0f53c141c26f

Re: how to know which version of clojure?

2009-01-19 Thread Nathan Kitchen
'll get bug fixes and other recent improvements. -- 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 To unsubscribe from t

Re: Binding values in a list of symbols and evaluating as code

2009-01-23 Thread Nathan Kitchen
in this thread: http://groups.google.com/group/clojure/t/ead8a3a8ff009a8f -- 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

Re: A nil puzzle

2009-01-24 Thread Nathan Kitchen
as the argument: user=> (powerset #{1 2}) (#{} #{1} #{2} #{1 2}) user=> (powerset [1 2]) ([] [1] [2] [1 2]) user=> (powerset '(1 2)) (() (1) (2) (1 2)) For non-set collections, the name "powerset" might be misleading. Maybe t

Re: Macro defining Macros issue.

2009-02-05 Thread Nathan Cunningham
Yup, that solves it. A while back the blah# didn't support working in nested back ticks. I hadn't realized they fixed it. Or for that matter added condp :) Thanks! On Feb 5, 1:42 pm, Meikel Brandmeyer wrote: > Hi, > > first things first: what you want to do is available as condp in > the core l

Re: map-method

2009-02-05 Thread Nathan Kitchen
Or anonymous function literals? user=> (map #(.length %) ["mary" "had" "a" "little" "lamb"]) (4 3 1 6 4) user=> (map #(.indexOf % (int \a)) ["mary" "had" "a" "little" "lamb"]) (1 1 0 -1 1) On Feb 5, 5:05 pm, Jeffrey Straszheim wrote: > Would memfn not work for you? > > http://clojure.org/java_

Re: how can i do this in clojure

2009-02-19 Thread Nathan Kitchen
to other functions a lot; this is the biggest > difference from the Ruby version. In this particular example, bar is a constant, but I suspect that linh may be interested in a more general solution. Of course the difference is slight: ;; foo as defined a

Parameter ordering on map/reduce

2009-03-31 Thread Nathan Sorenson
First of all, I would like to thank Rich and this community for producing such a pleasurable language, and for putting up with with all the unpleasant nit-picking of new users. That being said... I am curious as to why the function parameter is specified before the collection parameter in map/red

Re: Parameter ordering on map/reduce

2009-03-31 Thread Nathan Sorenson
The let-> macro looks very useful. Thank-you! --~--~-~--~~~---~--~~ 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 t

Re: A syntax feature request: splitting literal strings

2009-04-06 Thread Nathan Kitchen
"that I just felt like using " > "in my program.")) > "This is a really long string that I just felt like using in my > program." Umm...how is bigstr different from str itself? -- Nathan --~--~

constructing maps

2009-05-04 Thread Nathan Hawkins
Possibly I'm going about this wrong. I'm trying to understand how best to construct maps from sequences, by applying a function which returns a key / value pair. Something like this: (ns test (:use clojure.contrib.str-utils)) (def test-str "foo=1;bar=2;baz=3") (defn split-kv [text] (let [[k

Re: constructing maps

2009-05-04 Thread Nathan Hawkins
On Mon, 4 May 2009 16:07:06 +0200 Christopher Taylor wrote: > > Hi Nathan, > > On 04.05.2009, at 15:47, Nathan Hawkins wrote: > > > > > On Mon, 4 May 2009 06:16:14 -0700 (PDT) > > Drew Raines wrote: > >> > >> Whoops, that (seq) is a debug

Re: constructing maps

2009-05-04 Thread Nathan Hawkins
. The functions used to split the strings were not important, only an example. It could just as easily be a function to extract fields from a java object. To some extent, I guess I'm thinking in terms of Common Lisp, where I'd build an a-list with mapcar and cons. Nathan --~--~-~

Re: constructing maps

2009-05-04 Thread Nathan Hawkins
On Mon, 04 May 2009 16:31:21 +0200 Christophe Grand wrote: > > Nathan Hawkins a écrit : > > Ok, my example seems to have misled. You're missing the point a > > little bit: > > > > 1. I was trying to avoid the (reduce conj {} ...), by having the map > &

Re: constructing maps

2009-05-05 Thread Nathan Hawkins
On Tue, 05 May 2009 09:39:21 +0200 Christophe Grand wrote: > > Kevin Downey a écrit : > > (into {} (apply map vector > > '((cars bmw chevrolet ford peugeot) > > (genres adventure horror mystery > > > > {ford mystery, chevrolet horror, bmw adventure, cars ge

Re: Clojure as a Java lib documentation / examples?

2009-05-21 Thread Nathan Hawkins
Try here: http://code.google.com/p/clojure/source/browse/ Brett Morgan wrote: > Hi guys, > > I have some evil thoughts of using Clojure as a java library so that i > can use both the STM and the persistent data structures in projects > that my team of java developers can work with. > > As much

Re: What books have helped you wrap your brain around FP and Clojure?

2009-06-06 Thread Nathan Hawkins
Higher Order Perl. While I don't want to use Perl anymore, I do know it very well, and it provided a good introduction to FP in a more familiar language. YMMV. Robert Campbell wrote: > Going beyond the language-specific Programming Clojure book, what > other books have best helped you make the

Re: What books have helped you wrap your brain around FP and Clojure?

2009-06-08 Thread Nathan Hawkins
Programming Erlang is also good. The syntax and message passing emphasis aren't relevant to Clojure, but Erlang also uses immutable data, and is definitely a functional language. On Sat, 6 Jun 2009 13:12:16 +0200 Robert Campbell wrote: > > Going beyond the language-specific Programming Clojure

Re: agent questions - DOS - asynchrony - protection

2009-06-10 Thread Nathan Hawkins
you don't want to block the current thread. I'm looking at them to simplify request processing in network applications with lots of state machines. Agents let me write state machines in functional style with multi-methods dispatching on the current state and the type

Re: [OT] Convincing others about Clojure

2009-06-25 Thread Nathan Hawkins
ly make their way into more mainstream, practical environments. Consider garbage collection, or relational databases. Both very "academic" at one time, and now they're everywhere. Point being, really practical people use the best ideas they can, regardless of where they came from. N

Re: Is this unquote dangerous?

2009-07-08 Thread Nathan Kitchen
On Jul 7, 5:02 am, Mike wrote: > (not sure where my reply to Chouser et al. went, but basically I said > that I was writing a macro and I might be overdoing it.  I was right!) > > Here's what I was trying to accomplish, but in functions, not macros: > > (defn slice >   "Returns a lazy sequence co

Re: Newbie question about peepcode server "Address already in use error"

2009-08-02 Thread Nathan Lefler
Try either killing your Java process or changing the port you're binding on. Nathan On Sun, Aug 2, 2009 at 8:21 AM, Leotis buchanan wrote: > Guys, > > I going through the peepcode tutorial, I am trying to run the code shown > below, but I keep getting : > *Address already

with-out-str assumes Unix line ends

2009-08-07 Thread Nathan Kitchen
Anne's recent attempt to start a new thread for this question seems not to have worked. I'd hate for her and ataggart to be frustrated by further back-and-forth over the identity of the thread he started, so I'm starting a new thread for her question. === begin content from Anne === Sorry for the

Strange little difference with the reader and the java float parsers

2009-11-27 Thread Nathan Cunningham
I was working on a system that used the reader / pprint to load and save data too and from the disk and I ran into a strange issue when I reloaded my work from a JTable Apparently there are cases where read will return a slightly different float then the Float constructor will. For example: (- (n

Re: One benefit of having a REPL

2009-11-28 Thread Nathan Hawkins
Stefan Kamphausen wrote: > Hi, > > On Nov 28, 2:20�pm, John Harrop wrote: > >> One benefit of having a REPL: it makes regular expressions usable. So easy >> to test and tweak your RE compared to the traditional compile/test/debug >> cycle! I never even bothered with the java.util.regex package

[ANN] Introducing pulley.cps

2015-02-19 Thread Nathan Davis
ive things a try. I greatly treasure your feedback, including bug reports and if you have trouble navigating the documentation. Have fun, Nathan Davis -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to c

Re: [ANN] Introducing pulley.cps

2015-02-24 Thread Nathan Davis
ess many complex iterative processes in a recursive, functional, manner while retaining space efficiency. Some people find this more natural than iterative alternatives, such as state machines. Again, this can be done by hand, but is very tedious. Nathan Davis On Tue, Feb 24, 2015 at 3:03 AM, Vladi

[ANN] Specter: a library for deep introspection and transformation of nested data

2015-02-26 Thread Nathan Marz
It's been far too long since I've open sourced anything, so today I'm happy to open source a small library that I use extremely heavily: https://github.com/nathanmarz/specter Specter lets you write code like this: user> (select [ALL :a even?] [{:a 1} {:a 2} {:a 4} {:a 3}]) [2 4] us

Re: Current state of automatic generation of externs file for CLJS Advanced Compilation?

2015-03-24 Thread Nathan B
We use https://github.com/ejlo/lein-externs for this and it seems to work pretty well for our purposes. On Monday, March 23, 2015 at 10:42:40 PM UTC-4, james borden wrote: > > Is there a way to automatically generate externs files for js libraries > for use with the cljs advanced compilation mod

Streaming Media East NYC Mini-Meetup 5/10

2015-05-02 Thread Nathan B
If any Clojurians will be at Streaming Media East or just local to NYC and would like to do a mini-meetup at the New York Hilton Midtown on 5/10 in the evening let me know. Would be nice to meet up and have a few drinks and talk Clojure. I can organize if there is some interest. -- You receive

Re: [ANN] Onyx 0.6.0

2015-06-10 Thread Nathan ToddStone
Awesome! On Tuesday, June 9, 2015 at 7:35:33 AM UTC-7, Michael Drogalis wrote: > > I'm happy to announce that Onyx 0.6.0 is officially out! > > Blog post: > http://michaeldrogalis.github.io/jekyll/update/2015/06/08/Onyx-0.6.0:-Going-Faster.html > GitHub: https://github.com/onyx-platform/onyx > We

Running test.check and cljs.test tests under Clojurescript

2015-06-30 Thread Nathan Marz
I'm trying to get Specter's tests running under ClojureScript. I can run the tests manually in a REPL just fine, but I cannot figure out a straightforward way to run all the tests like you can in Clojure with "lein test". Here are the tests I'm trying to run, which are a mix of tests defined using

Re: Running test.check and cljs.test tests under Clojurescript

2015-06-30 Thread Nathan Marz
esday, June 30, 2015 at 7:20:58 PM UTC-4, Nathan Marz wrote: > > I'm trying to get Specter's tests running under ClojureScript. I can run > the tests manually in a REPL just fine, but I cannot figure out a > straightforward way to run all the tests like you can in Clojure wit

Re: Google Clojure REPL

2014-12-16 Thread Nathan Smutz
app on the spur of the moment and try things, or just pull up source/docs for core functions. Thank you again. Please let us know if there's a way to help. Very best, Nathan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Re: Tour of our 250k line Clojure codebase

2021-06-03 Thread Nathan Marz
ad, and I'm happy to answer any questions. >> > > Nice article, Nathan. Definitely, it would be nice to see the code :-) > > Just curious... > > 1) You mention using Schema for data definition and validation. Did you > consider using other options for this, such as

Re: Tour of our 250k line Clojure codebase

2021-06-03 Thread Nathan Marz
tion at any scale with greatly reduced engineering cost." > > It seems like a full article expanding on the infrastructure-level design, > and the approach to generalizing and abstracting infrastructure, would be > very interesting. > > > On Thu, Jun 3, 2021 at 7:12

Re: Tour of our 250k line Clojure codebase

2021-06-09 Thread Nathan Marz
parallel on multiple threads. On Wednesday, June 9, 2021 at 10:57:40 AM UTC-10 Leif wrote: > Hi Nathan. Interesting post. Here are some questions that I wrote down > while > reading it. > > First-class continuations + distributed programming sounds like a > nightmare t

Re: Tour of our 250k line Clojure codebase

2021-06-10 Thread Nathan Marz
istributed systems. That's about as much illumination as I can give without showing example code. On Wednesday, June 9, 2021 at 5:45:16 PM UTC-10 tbald...@gmail.com wrote: > On Wed, Jun 9, 2021 at 6:14 PM Nathan Marz wrote: > >> Continuations in our language are expresse

Announcing Clojure API for Rama: build end-to-end scalable backends in 100x less code

2023-10-11 Thread Nathan Marz
I'm happy to announce we've released a Clojure API for Rama in the latest release. We've published an introductory blog post that culminates in building a scalable auction application with timed listings, bids, and notif

Re: Avoiding nested ifs...

2016-05-26 Thread Nathan Davis
a function but from any point in the computation -- all you need to do is have access to the continuation at that point. And since pulley.cps makes continuations first-class objects, you can bind them to variables (including dynamic vars), pass/return them to/from functions, etc. Hopefully this

Re: reader conditional not handling defmacro?

2016-05-26 Thread Nathan Davis
that *compiler-target* would act as a predicate, indicating whether a particular "feature" is available for the target platform. Then if a macro needs to be expanded in a certain way for certain platforms, it can just consult *compiler-target*. Anyway, that's my 2-cents. Nathan

Re: reader conditional not handling defmacro?

2016-05-27 Thread Nathan Davis
Alex, On the Dev list, you mentioned you had discussed this several times with Rich and others, but were unable to reach concensus. May I ask what the hangup is (i.e., what reservations / objections were expressed) and what other options came out of those discussions? Nathan Davis On Friday

ANN: Specter 0.11.0, performance without the tradeoffs

2016-05-31 Thread Nathan Marz
Specter is a library for querying and transforming nested data structures concisely and efficiently. The 0.11.0 release is a huge milestone that implements something which for the better part of the past year I wasn't sure was possible. In summary: now you don't have to do anything special to m

Re: ANN: Specter 0.11.0, performance without the tradeoffs

2016-05-31 Thread Nathan Marz
No, because that global mutable variable would need to be specifiable by Specter on usage of the library. For example, if you wrote: (defn foo [] (select [:a :b] {:a {:b 1}})) `select` has no ability to control anything outside the context of its form. It certainly can't wrap `foo` to put a v

Re: ANN: Specter 0.11.0, performance without the tradeoffs

2016-05-31 Thread Nathan Marz
here'd be > some additional concurrency/locking details to worry about that I assume > ConcurrentHashMap handles for you. > > Or just use an ArrayList's slot directly as the cache (rather than storing > a volatile to add a level of indirection), but then the concurrency &

[ANN] Specter 0.11.1 released

2016-06-08 Thread Nathan Marz
Released Specter 0.11.1 with bug fixes and performance improvements. It also has a new README which I hope provides a better introduction to the project. https://github.com/nathanmarz/specter The navigators are now very intelligent about using the best means possible for traversing data structu

Re: Joy of Clojure : Backward running lisp ??

2016-06-27 Thread Nathan Davis
One common problem we deal with in programming goes like this: I have certain inputs. I desire a certain output. What function (or combination of functions) will give me the desired output? Since a relation makes no distinction between "inputs" and "outputs", relational programming is one way

Specter 0.12.0 released

2016-08-05 Thread Nathan Marz
Specter 0.12.0 has been released with many new features, performance improvements, and bug fixes. There are a few highlights: 1. Performance of `select` has been greatly improved. Specter no longer creates intermediate vectors during navigation and has performance very close to transducers (for

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

ANN: Specter 0.13.0 released

2016-09-06 Thread Nathan Marz
Specter 0.13.0 has been released. Specter is a library that supercharges your ability to query and transform regular data structures. https://github.com/nathanmarz/specter The new version rewrites the core nearly from scratch to make Specter faster and more dynamic. This post gives a detailed ex

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

[ANN] pulley.thread-local 0.1.0

2016-10-04 Thread Nathan Davis
The result is an atom-like interface for thread-local bindings. Due to the simplicity of the project, I decided to experiment with Literate Programming. All the code is contained within Readme.org. Feedback / advice on this structure (and other areas of the project too) are definitely welcome.

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

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

Specter 0.13.2 released

2016-12-21 Thread Nathan Marz
Specter 0.13.2 has been released, available from Clojars https://clojars.org/com.rpl/specter Specter supercharges your ability to work with regular data structures. This release contains a few bug fixes and is likely the last release before 1.0. Changes: * Bug fix: Fix race condition relating

core.logic: faking sets and "sufficient" results

2016-12-28 Thread Nathan Smutz
dge seems to get. Am I barking up the wrong tree? 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 from new members are moderated - please be patien

Re: Cyclic namespace dependencies!

2016-12-30 Thread Nathan Davis
On Friday, December 30, 2016 at 10:13:49 AM UTC-6, Mars0i wrote: > > I love Clojure. But: My number one complaint about it is that the > compiler won't allow cyclic namespace dependencies. I am not a > compiler-writer, but as far as I can tell the only reason for this > restriction is ... ph

Contribute Specter to Clojure core?

2017-02-14 Thread Nathan Marz
One of the most common questions I get about Specter is whether it will ever become part of Clojure core. I think it's an interesting proposal and would like to see what the community and core team thinks. The primary reason for contributing would be that Specter makes Clojure a stronger langua

Re: Contribute Specter to Clojure core?

2017-02-15 Thread Nathan Marz
l. I like the way specter has the ability to add new > generally useful navigators and paths with new versions as people > "discover" them, I don't think that's a great fit for the overhead of a > language release process. > > On Wednesday, February 15, 2017 a

[ANN] Specter 1.0: Clojure's missing piece

2017-03-01 Thread Nathan Marz
Specter is a library that supercharges your ability to work with regular Clojure data structures. Happy to announce I just released 1.0, a huge milestone for the project. I also wrote a post about why I consider Specter to be Clojure's missing piece: http://nathanmarz.com/blog/clojures-missing-

Re: Contribute Specter to Clojure core?

2017-03-05 Thread Nathan Marz
To answer a few comments/misconceptions on this thread: - Specter is not a DSL. Things like ALL and MAP-VALS are first class objects that implement the underlying navigator interface. Specter's core is a high-performance method of composing implementations of that interface. It makes zero assum

Re: Navigators and lenses

2017-03-09 Thread Nathan Marz
out of Specter, and it would >> almost certainly be higher performance than the "obvious" implementation of >> lenses. >> >> But I don't agree at all with the claim that Specter is some sort of >> offbeat, ill-researched version of lenses. It is something

[ANN] Specter 1.0.2 released

2017-06-12 Thread Nathan Marz
Specter supercharges your ability to use and manipulate data structures in Clojure and ClojureScript. 1.0.2 contains minor improvements. https://github.com/nathanmarz/specter Full changelog: * Added `pred=`, `pred<`, `pred>`, `pred<=`, `pred>=` for filtering using common comparisons * Add `ma

"GC overhead limit exceeded": Deceptive message?

2017-08-07 Thread Nathan Smutz
ocessing elements in the sequence and do it's thing. Does this message sometimes present because the non-garbage data is getting too big? Best, Nathan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send ema

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,

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

2017-08-09 Thread Nathan Smutz
nly 3 megabytes. An inner functions creates a lot of lazy sequences, I believe, closing over large zipper structures. If that's the case, then I need to wrap those sequences in (doall) expressions or refactor to something more explicitly eager. Best, Nathan On Tuesday, August 8, 2017 at

[ANN] Specter 1.0.3

2017-08-14 Thread Nathan Marz
Specter supercharges your ability to query and manipulate regular Clojure data structures. https://github.com/nathanmarz/specter 1.0.3 includes navigators for navigating to the index of an element in a sequence, a so far unexplored area of the problem space. Some examples of the new functionali

Clojure.org

2017-09-22 Thread Nathan Fisher
(ns cool.clojure (:gen-class)) (defn -main [] (prn "Hello world!")) Underneath it could link to a page "so you've decided to learn Clojure here's how you map common idioms from OO/imperative to Clojure" obviously it'll need something a little snappier. Kin

Re: Clojure.org

2017-09-22 Thread Nathan Fisher
guage. Totally understand that a home page is an important space and you don't want the kitchen sink thrown in peoples faces. :) Cheers! Nathan On Fri, 22 Sep 2017 at 16:57 Alex Miller wrote: > It's there at: https://github.com/clojure/clojure-site > > We considered this wh

Re: Help ship Clojure 1.9!

2017-09-28 Thread Nathan Fisher
0-beta1" :scope "provided"]* A revert on my project.clj to alpha19 eliminates the error. Cheers! Nathan On Thu, 28 Sep 2017 at 15:00 Stuart Halloway wrote: > Clojure 1.9 has been quite stable throughout the alpha period, and we now > hope to release after a very short beta.

Re: Help ship Clojure 1.9!

2017-09-28 Thread Nathan Fisher
STR 1. git clone https://github.com/nfisher/lein-cljsbuild 2. cd lein-cljsbuild/example/projects/simple 3. lein cljsbuild once Patch attached if you want to apply directly to https://github.com/emezeske/lein-cljsbuild Cheers, Nathan On Thu, 28 Sep 2017 at 16:13 Stuart Halloway wrote: >

Re: ANN: ClojureScript 1.9.946

2017-10-03 Thread Nathan Fisher
Hi David! I'm seeing an issue in one of my larger projects. Will try to isolate tomorrow and get back to you. The simple project in lein-cljsbuild works fine for me with beta1 and this release. Saludos! Nathan On Tue, 3 Oct 2017 at 22:52 David Nolen wrote: > ClojureScript, the

Re: How to try/catch Let bindings?

2017-10-07 Thread Nathan Fisher
You could use exceptions, is that a hard requirement or are you working to transition your mental model for Java code to Clojure? If you can catch the exceptions or not throw them to begin with there’s some other options; Another way you could do it is using core.async and channels as some others

Re: possibly a Clojure question or possibly an AWS question: slow writes to durable-queue

2017-10-12 Thread Nathan Fisher
IOPs. A quick(ish) way to test that hypothesis is to provision a host with high networking performance and provisioned IOPs. Cheers, Nathan On Fri, 13 Oct 2017 at 00:05 wrote: > Daniel Compton, good suggestion. I've increased the memory to see if I can > postpone the GCs, and I'

Re: possibly a Clojure question or possibly an AWS question: slow writes to durable-queue

2017-10-13 Thread Nathan Fisher
I would have to use to avoid > using up almost all of the memory. I suppose I'll figure that out via trial > and error. Until I can figure that out, nearly all other performance tricks > seems a bit besides the point. > > > > On Thursday, October 12, 2017 at 9:01:23 PM UTC

[ANN] Specter 1.0.4

2017-10-17 Thread Nathan Marz
Specter fills in the holes in Clojure's API for manipulating immutable data, allowing data manipulation to be done concisely and with near-optimal performance. Specter 1.0.4 has minor changes. The biggest highlight since the last release is the greatly improved documentation courtesy of contrib

Officially Supported JDKs?

2017-10-25 Thread Nathan Fisher
Hi All, Curious what JDKs are officially supported? Is it safe to assume the JDKs in Jenkins Clojure-test-matrix are the officially supported jdks? Is there any plans to deprecate support of EOL JDKs? Cheers! Nathan -- - sent from my mobile -- You received this message because you are

[ANN] Specter 1.0.5

2017-11-16 Thread Nathan Marz
Specter fills in the holes in Clojure's API for manipulating immutable data, allowing data manipulation to be done concisely and with near-optimal performance. Specter is especially powerful for working with nested and recursive data. Specter 1.0.5 adds `regex-nav` which navigates to substring

Re: State & GUIs

2017-12-02 Thread Nathan Fisher
Also take a look at re-frame (cljs) redux (js) libraries. On Sat, 2 Dec 2017 at 10:18, Moe Aboulkheir wrote: > It may make sense to familiarise yourself with the architecture of a > Clojurescript + React web application, if that's not something you've > recently investigated. Regardless of whet

Re: Clojure Start-up Time

2017-12-23 Thread Nathan Fisher
, better core test isolation, and possibly provide benefits to REPLs. The refer ticket in particular is interesting. Cheers, Nathan On Sat, 23 Dec 2017 at 11:23, Alex Miller > wrote: > Some related tickets: > > Server load (open) - https://dev.clojure.org/jira/browse/CLJ-1891 > > Spe

[ANN] Specter 1.1.0: solving the `dissoc-in` problem

2018-01-02 Thread Nathan Marz
Specter fills in the holes in Clojure's API for manipulating immutable data, allowing data manipulation to be done concisely and with near-optimal performance. Specter is especially powerful for working with nested and recursive data. Project link: https://github.com/nathanmarz/specter Excite

Illustrated Guide to Clojure Start-up Timings

2018-01-02 Thread Nathan Fisher
Hi All, Over the holiday's I started to write up my analysis of the trace output I mentioned previously. The article is posted below; https://news.ycombinator.com/item?id=16056522 Cheers, Nathan -- - sent from my mobile -- You received this message because you are subscribed to the G

Re: [ANN] Git Deps for Clojure!

2018-01-07 Thread Nathan Fisher
Great work Alex! Not sure I would want to see duplicates either. If my code breaks because of an old dependency I’d rather that than make the false assumption that I’m running securely with the latest version of a lib. On Fri, 5 Jan 2018 at 16:20, Gary Trakhman wrote: > Congrats on the release!

Re: [ANN] Git Deps for Clojure!

2018-01-07 Thread Nathan Fisher
Im probably not typical for this but I really value the ability to override the location of where they’re placed. I actually commit my deps to SCM for production code. The internet is fast enough these days that i don’t care about a common code cache. I’m more interested in a reproducible build. O

Re: [ANN] Git Deps for Clojure!

2018-01-07 Thread Nathan Fisher
expect if I specify a patched version of struts that a transitive dependency wouldn’t have the ability to override that for its own purpose. Cheers, Nathan On Sun, 7 Jan 2018 at 20:51, Alex Miller wrote: > > On Sunday, January 7, 2018 at 3:41:34 PM UTC-6, Nathan Fisher wrote: >> >

Re: [ANN] Git Deps for Clojure!

2018-01-08 Thread Nathan Fisher
rding to that growth mindset > you mention? It’s one thing to adopt it in my code, but quite another to > assume it’s followed correctly by all of the underlying Java libs. > > On 8 Jan 2018, at 01:24, Alex Miller wrote: > > > On Sun, Jan 7, 2018 at 6:53 PM, Nathan Fisher &

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Nathan Fisher
jure-class-prefetching.html It's a part of a series that I'm slowly plodding through as I have time. I hope to cover off the 4 items from the conclusion of this article; https://junctionbox.ca/2017/12/26/clojure-startup-walkthrough.html#conclusions Cheerio! Nathan On 26 January 2018 a

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-26 Thread Nathan Fisher
within the context of Clojure startup. An atomic load side depends on how far up the memory chain it has to go but shouldn’t be “too expensive” either, more expensive than a local variable for sure but not enough to worry about in most cases. Cheers, Nathan On Fri, 26 Jan 2018 at 15:38, Justin Smith

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-26 Thread Nathan Fisher
(by a single thread) there wouldn’t be any need for the intermediate data structure to be thread-safe. Kind of like Guava data structures but for Namespaces. On Fri, 26 Jan 2018 at 16:57, Nathan Fisher wrote: > Hi Alex, > > That’s cool! > > I was looking to explore alternatives o

Re: Bazel as Clojure build tool

2018-01-29 Thread Nathan Fisher
dependents when the ABI has changed. I’m not certain you can do that with Clojures compiler but someone else might be able to chime in with a way that you could. Cheers, Nathan On Mon, 29 Jan 2018 at 13:16, Kiril Videlov wrote: > Hello, > I have been looking at the Bazel <https://ba

Re: Understanding GraalVM and Clojure

2018-04-19 Thread Nathan Fisher
I was thinking it would be interesting to “remove” the use of Java interop in core instead replacing it with a reserved namespace that maps to whatever the underlying runtime/reader wants to. I suppose you can do the same with the exisiting RT stuff but naively feels like it would be cleaner/provid

Re: Understanding GraalVM and Clojure

2018-04-28 Thread Nathan Fisher
Another interesting post on Clojure and Graal https://www.innoq.com/en/blog/native-clojure-and-graalvm/ On Sat, Apr 28, 2018 at 10:01 AM, Khalid Jebbari wrote: > Thank you for the link. > > Le sam. 28 avr. 2018 à 00:35, Egg Syntax a écrit : > >> Karin Meier has done some experimentation using C

Re: Understanding GraalVM and Clojure

2018-04-30 Thread Nathan Fisher
've read it, it's really interesting. Alex Miller mentioned on Twitter > that they'll work on removing some limitations over time. @Alex, can you > confirm and expand a bit more ? > > Le sam. 28 avr. 2018 à 23:14, Nathan Fisher a > écrit : > >> Another interes

Re: Bazel as Clojure build tool

2018-06-04 Thread Nathan Fisher
n the test target, introduce whitespace into the library, and run the test target again. It should only do a full execution in the 2nd example. On Sunday, 15 April 2018 17:09:12 UTC-3, Gregg Reynolds wrote: > > > > On Mon, Jan 29, 2018, 2:07 PM Nathan Fisher > wrote: > >> .

Re: OK idea to replace conj and cons with "prepend" and "append" macros that have consistent behavior and return same types as args?

2018-07-18 Thread Nathan Marz
If you want to be able to arbitrarily manipulate your data structures, you should look at Specter. I recommend reading my introductory blog post on it: http://nathanmarz.com/blog/clojures-missing-piece.html The `BEFORE-ELEM` and `AFTER-ELEM` navigators are what you use for prepending/appending.

Re: Webassembly as a Clojure target platform

2018-07-26 Thread Nathan Fisher
Think Rust and Golang both have the ability to target WASM now too. I'm not sure how well Java Byte-Code to WASM would work in practise. Found this project that seems able to transpile from Java ByteCode to JS/WASM; http://teavm.org/ On Thu, 26 Jul 2018 at 12:34 Bo Yao wrote: > Not true.Wasm is

  1   2   3   >