Re: Manifold questions: Creating sinks/sources

2022-08-10 Thread Jason Zwolak
I don't think you need two streams at all. Unless there's more code in between the two streams that you're not showing. Would the following work: (def -private-stream- (s/stream ...)) (def my-sink (s/sink-only -private-stream-)) (def my-source (s/source-only -private-stream-)) Or if you really

[ANN] rep 0.2.0 - A single-shot NREPL client designed for shell invocation

2020-10-13 Thread Jason Felice
scripts which add a ,e user mode to Kakoune. To link this to Kakoune’s autoload directory, do the following: $ make && make install $ ln -sf /usr/local/share/kak/autoload/plugins/rep.kak ~/.config/kak/autoload/ rep must be in the path for the plugin to work. <https://github.com/eras

Re: [CfP] 2nd Call - 2020 Scheme and Functional Programming Workshop

2020-05-18 Thread Jason Felice
Will the actual conference will be online this year? Do you know approximately when? On Sun, May 17, 2020 at 2:15 PM Jason Hemann wrote: > Hello, > > Thank you for your attention, and my apologies for any duplication you > receive. Please find below the Call for Papers for the *202

[CfP] 2nd Call - 2020 Scheme and Functional Programming Workshop

2020-05-17 Thread Jason Hemann
acmart and its sub-format acmlarge. They must be in PDF, printable in black and white on US Letter size. Microsoft Word and LaTeX templates for this format are available at: http://www.sigplan.org/Resources/Author/ <https://jason-hemann-dot-yamm-track.appspot.com/Redirect?ukey=1hySDOusaj9

Re: Conceptual difference between map and class

2020-03-31 Thread Jason Felice
A subtle difference between a map of functions and a Python class is that the class has implicit "self" or "this". Otherwise, these are semantically the same. Well, ignoring that Clojure maps are immutable. In fact, C++ compilers compile methods by inserting a first "this" argument and mangling

[CfP] 2020 Scheme and Functional Programming Workshop

2020-03-30 Thread Jason Hemann
incerely, Jason Hemann, Northeastern University *Organizing Committee*Michael D. Adams (Program Co-Chair), University of Michigan Baptiste Saleil (Program Co-Chair), IBM Canada Jason Hemann (Publicity Chair), Northeastern University *Program Committee*Michael D. Adams (Program Co-Chair), Unive

Second miniKanren Workshop CfP -- core.logic welcome!

2020-03-26 Thread Jason Hemann
. *To reiterate, work in/on core.logic is well within scope. * Sincerely, Jason Hemann, General Chair Dmitri Boulytchev, PC Chair -- 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: JNA stdout and the REPL

2020-02-14 Thread Jason Felice
I imagine you'll have to call the Java System.out.println from C. I forget how exactly to do this. Java streams and ANSI/POSIX C streams aren't compatible. The C ones usually rely on having an OS file descriptor, and Java allows making new kinds by implementing interfaces. There's not a general

Re: Recursively convert Java Map to Clojure Map

2020-01-31 Thread Jason Ross
If you did really want to convert them to hash-maps or whatever, it's > pretty easy to do so with a clojure.walk/postwalk-replace. > > On Friday, January 31, 2020 at 3:07:24 PM UTC-6, Jason Ross wrote: >> >> Hey I know this is super old post but what would the reverse

Re: Recursively convert Java Map to Clojure Map

2020-01-31 Thread Jason Ross
Hey I know this is super old post but what would the reverse look like, eg. recursively convert Clojure to java map On Saturday, October 15, 2011 at 4:10:32 AM UTC-5, Baishampayan Ghose wrote: > > > I have a Java Map contains Map of Maps/List (JSON like map) and have > > to convert to Clojure map

Re: Keys in EDN maps: keywords or symbols

2019-10-24 Thread Jason Felice
My personal opinion is to prefer keywords, and prefer less preprocessing of the configuration before the program uses it. If it gets to a place where the configuration changes a lot, and a "natural" (read: clojure-like) expression of the configuration in EDN has either a lot of redundancy, or bits

[ANN] parinfer-rust 0.4.0 (emacs support!)

2019-10-01 Thread Jason Felice
Thanks to Justin Barclay, parinfer-rust, and therefore Parinfer's Smart Mode, is now available for emacs! parinfer-rust Infer parentheses for Clojure, Lisp and Scheme. https://github.com/eraserhd/parinfer-rust A full-featured, super fast implementation of Shaun Lebron’s parinfer

Re: [ANN] tarantella 1.1.1

2019-07-29 Thread Jason Felice
This is really nice talk that's given me a bunch to think about. Thanks! On Mon, Jul 29, 2019 at 4:23 AM Mark Engelberg wrote: > "You won't believe this one weird trick for solving Sudokus and other > puzzles." > > Tarantella is an implementation of Knuth's Dancing Links algorithm. I > demonstr

Re: [ANN] select-nrepl 0.1.0 Editor-independent Clojure text object support

2019-03-21 Thread Jason Felice
You're welcome! If you integrate this with your editor, let me know so I can link to it. On Wed, Mar 20, 2019 at 7:30 PM Andrea Richiardi wrote: > Wow this is awesome! Thank you! > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to t

[ANN] select-nrepl 0.1.0 Editor-independent Clojure text object support

2019-03-20 Thread Jason Felice
select-nrepl https://github.com/eraserhd/select-nrepl Text-object support for your editor as nREPL middleware. This uses clj-rewrite to parse the source, so it has a very good understanding of comments, metadata, and reader literals. It's also designed so that repeating a selection command does

Re: [ANN] rep 0.1.2

2019-02-21 Thread Jason Felice
c]$ time for ((i = 0; i < 100; i++)); do clj -e '(+ 2 2)' >/dev/null; done real1m32.994s user2m37.918s sys 0m14.129s [jfelice@C02X421DJHD4 src]$ -Jason -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

[ANN] rep 0.1.2

2019-02-18 Thread Jason Felice
rep is a single-shot nREPL client designed for shell invocation. In this release, --op, --send, and --print options have been added, allowing sending of any kind of nREPL message (not just "eval") and formatting any kind of reply for shell interpretation. https://github.com/eraserhd/rep This con

Re: Any way to replace function body?

2019-01-19 Thread jason poage
Why would you want to overwrite a function if you need reference to the original function? Why not just rename the wrapper function to something else? Or you could use (source function-name) to get the function body and essentially rename the function. Sent from my iPhone > On Jan 19, 2019, at

[ANN] rep 0.1.1 - A single-shot nREPL client designed for shell invocation

2019-01-08 Thread Jason Felice
Changes - Add -n, --namespace option to specify the namespace of evaluated code. - Add -l, --line option to specify the file, line number, and column of evaluated code. - Now releasing Linux binaries (thanks Circle CI!) - Documentation updates, including an example of how an editor

[ANN] rep 0.1.0 - A single-shot nREPL client (hence no 'L')

2018-12-19 Thread Jason Felice
rep https://github.com/eraserhd/rep A single-shot nREPL client designed for shell invocation, to be used as a part of editor tooling, scripting, or monitoring. Binaries are built with Graal VM, so it has super-quick boot and turn-around time. For example, it takes 25ms to execute "(+ 2 2)" in a

Re: [ANN] 1.10.0-beta5

2018-11-06 Thread Jason Felice
This pattern appears in clojure.zip, also. (Any point in updating that?) On Tue, Nov 6, 2018 at 10:51 AM Alex Miller wrote: > > On Tuesday, November 6, 2018 at 9:25:31 AM UTC-6, John Schmidt wrote: >> >> Nice to see continued progress on Clojure 1.10! >> >> It is not clear to me what metadata e

Re: Pipe shell output into REPL?

2018-09-06 Thread Jason Felice
You can use tmux and run your REPL inside a pane. You can then use the tmux commands set-buffer and paste-buffer, wrapped in a little shell, to send text to the REPL. (This is actually how the Kakoune editor does REPLs.) On Wed, Sep 5, 2018 at 9:56 PM Didier wrote: > Hi all, > > I was wonderin

Arithmetic simplifier

2018-08-22 Thread Jason Kapp
Could use instaparse (https://github.com/Engelberg/instaparse) to parse the input. -- 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 b

Re: [ANN] scope-capture 0.3.0

2018-07-17 Thread Jason Felice
This looks very useful! Thanks! On Tue, Jul 17, 2018 at 9:19 AM Val Waeselynck wrote: > Just released *scope-capture > * 0.3.0, with some new > goodies: > > - spyqt / brkqt >

Re: [ANN] Datomic Ions: Your App on Datomic Cloud

2018-06-07 Thread Jason Felice
This looks really amazing! Seems like it would make a solid platform for a startup. -Jason On Thu, Jun 7, 2018 at 7:22 AM Marc Limotte wrote: > Funny. When I read the Subject line I thought this was just another > release of Datomic Cloud > <http://blog.datomic.com/2018/01/datomi

Clojure on Kubernetes quickstart, patterns, libraries, ideas...

2018-06-04 Thread Jason Whitlark
DK 10, etc. I'm writing up some of my thoughts, and wanted to start some discussion on the topic. Cheers, ~Jason -- 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

Re: How to cache deps with deps.edn, to speed docker image builds?

2018-06-03 Thread Jason Whitlark
Yea, I'm experimenting with kubernetes patterns, and wanted to revisit use of deps.edn for them. Last time I searched for that, I didn't find much useful. Times have changed! Thanks! ~Jason On Sunday, June 3, 2018 at 4:00:54 PM UTC-7, Luke Burton wrote: > > > On Jun 3, 201

How to cache deps with deps.edn, to speed docker image builds?

2018-06-03 Thread Jason Whitlark
When building docker images with lein, I frequently have a run lein.deps before building, to cache the deps in the image. I'm not clean on how to accomplish the same thing with deps.edn. Any suggestions? Cheers, ~Jason -- You received this message because you are subscribed to the G

Re: [ANN] Leiningen template aws-lambda-serverless

2018-06-02 Thread Jason Kapp
Cool. I haven't looked at Lambda for a while. I recall that there was a slow startup time issue using a JVM based Lambda so someone was using ClojureScript because Node.js had faster startup time. Is startup time an issue with this? On Friday, June 1, 2018 at 9:58:47 AM UTC-6, Juha Syrjälä wrot

Re: [ANN] fun-map: put your code into this map, it turns value when you access it

2018-05-10 Thread Jason Kapp
Cool. On Thursday, May 10, 2018 at 4:46:31 PM UTC-6, Robert Luo wrote: > > Yes. Fun-map can be used like a `graph` in plumbing. It actually has a > macro named `fnk` just like plumbing. Both of fun-map and plumbing can link > functions toghether by the name of arguments, hence can be used as a

Re: [ANN] fun-map: put your code into this map, it turns value when you access it

2018-05-10 Thread Jason Kapp
This looks a lot like Prismatic's Plumbing library: https://github.com/plumatic/plumbing On Tuesday, May 8, 2018 at 8:36:23 PM UTC-6, Robert Luo wrote: > > *Github Link: https://github.com/robertluo/fun-map > * > > It is a lazy map: > > (def m (fun-map {:a 4

[ANN] parinfer-rust 0.2.0 (Vim plugin and library)

2018-04-27 Thread Jason Felice
... the first "ready for public consumption" release. One of the the initial reactions was, "This. Is. Awesome!" Just sayin'.parinfer-rust https://github.com/eraserhd/parinfer-rust A full-featured, super snappy port of Shaun Lebron's parinfer to Rust. T

Re: Understanding GraalVM and Clojure

2018-04-19 Thread Jason Kapp
Thank you for this detailed explanation. On Thursday, April 19, 2018 at 11:55:25 AM UTC-6, tbc++ wrote: > > GraalVM does a lot of things, and I think it's important to separate these > terms. > > GraalVM - most often this is used to refer to a project that was > originally designed to be a impl

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-17 Thread Jason Turner
Thanks a lot Aaron for getting in touch. We are pretty much following all the practices you have listed - and I agree that they overall have more impact than static analysis, and can do more to lead to a secure deliverable; it is good though to note them and review to what extent we can make th

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-17 Thread Jason Turner
Dragan our experience is that organisations often adopt something like BlackDuck and then use that as their benchmark. On Sun, Apr 15, 2018 at 10:59 AM, Dragan Djuric wrote: > Hi all. Very interesting thread! I guess that not many Clojure developers > are in this situation, but I hope many more

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-13 Thread Jason Turner
Excellent Alex - thanks a lot. -- 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

Re: Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-13 Thread Jason Turner
Hi Alex, Thanks for the rapid feedback. Before anything else I should say that we loved Clojure before using it at work, and we're even more in love now we are using it at work - a huge thankyou to the core team and Rich, and a great community. Yes - I did see your previous comment but as was

Using Clojure for public facing system in a bank - code security scanning - any luck?

2018-04-13 Thread Jason Turner
We work providing software to banks, partly in cloud but largely on premise products. We have been Java based for many years, but now looking to move to Clojure as we all love it. While on almost every front it is looking good, our market causes us to need to clearly demonstrate a high level of

Re: lein midje not working

2018-04-12 Thread Jason Felice
un and top-level code in it. In Clojure, it's a good idea to make sure any effects are in functions. -Jason -- 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

[ANN] packthread 0.1.10

2018-04-03 Thread Jason Felice
This release handles `if-some` and `when-some` and supports ClojureScript. packthread https://github.com/maitria/packthread "Heavy" threading macros. Why? Because every time you've wanted to: (-> 42 (let [x 79] (+ x)) inc) but clojure wouldn'

Re: OutOfMemoryError when using Plumatic Schema and infinite lazy lists

2017-12-10 Thread Jason Wolfe
, Jason On Saturday, December 9, 2017 at 7:53:47 PM UTC-8, Alan Thompson wrote: > > I am a huge fan of Plumatic Schema, and it regularly helps me to find > mistakes in my code early in the development process. However, I just > tracked down a very unexpected error when using a lazy i

Re: Lazy Flatten; One seq at a Time

2017-11-21 Thread Jason Wolfe
I think this will do it: (lazy-cat (first coll) (when-let [n (next coll)] (lazy-flatten n On Tuesday, November 21, 2017 at 2:34:15 PM UTC-8, Matt Anderson wrote: > > I have a f

[ANN] specter-edn 0.1.4

2017-07-17 Thread Jason Felice
ODO - Use clj-format to format new code which isn't matched up with old code. <https://github.com/maitria/specter-edn#contributors>Contributors - Jason Felice - Marcelo Nomoto <https://github.com/maitria/specter-edn#license>License Copyright © 2016, 2017 Jason M. Fel

[ANN] specter-edn 0.1.3 - Format-preserving transforms for EDN and CLJ

2017-05-30 Thread Jason Felice
!\n6]" <https://github.com/maitria/specter-edn#todo>TODO - Use clj-format to format new code which isn't matched up with old code. <https://github.com/maitria/specter-edn#contributors>Contributors - Jason Felice - Marcelo Nomoto <https://github.com/maitria/spe

Re: slackpocalypse?

2017-05-18 Thread Jason Stewart
I'm experiencing the same thing, while I am able to connect with my other slack teams. On Thu, May 18, 2017 at 4:17 PM, Kenny Williams wrote: > I am not able to connect via the web UI or Slack app either. > > > On Thursday, May 18, 2017 at 1:15:17 PM UTC-7, Gregg Reynolds wrote: >> >> is it just

Re: [ANN] specter-edn 0.1.2

2017-05-16 Thread Jason Felice
And, I forgot the link: https://github.com/maitria/specter-edn > > -- 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 yo

[ANN] specter-edn 0.1.2

2017-05-16 Thread Jason Felice
Thank you to Marcelo Nomoto for bug fixes and updating the dependencies! specter-edn Specter paths for working with formatted EDN and Cloure code. There is one specter path: SEXPR. This navigates to a sequence of s-expressions parsed from a string. For the transform case, specter-edn preserves

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
Thanks, I have been told this before. After hearing it a couple more times I am taking it much closer to heart. On Sunday, March 26, 2017 at 7:28:08 PM UTC-4, Gregg Reynolds wrote: > > > > On Mar 23, 2017 12:10 PM, "Jason Basanese" > wrote: > > Attached is a fa

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
> about how to help other people understand what your projects are about. > > That probably won't help your resume get through the original HR screen, > but it can definitely make interviewers stand up and take notice. > > Good luck, > James > > > On Thursda

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
*He sent us a bill for an hour of consulting. *Wow, noted. Maybe I would be more hesitant to give questions directly related to the job if I ever found myself interviewing. On Friday, March 24, 2017 at 12:17:14 AM UTC-4, James Gatannah wrote: > > > > On Thursday, March 23, 2017 at 2:00:28 PM UTC

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
I might think that 30-40 hours for a sample is excessive. Honestly many candidates worry and or prepare for at least two hours for an interview. Then have around an hour round trip. They also might spend a full hour in an interview. With about four hours to replace or supplement an interview yo

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
case of many curious younger developers we do not have strong enough opinions nor preferences for this yet; *I would consider including only the technologies I had interest in working with professionally.* On Thursday, March 23, 2017 at 1:54:25 PM UTC-4, Moe Aboulkheir wrote: > > Jason,

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
think yours > has a lot of whitespace. Does your school have a resume workshop or > something like that? > > On Thu, Mar 23, 2017 at 1:10 PM Jason Basanese > wrote: > >> Attached is a fairly bad resume that I am using. Any tips on how I might >> change it to

Re: Clojure resume tips?

2017-04-18 Thread Jason Basanese
rsday, March 23, 2017 at 2:24:34 PM UTC-4, Luke Burton wrote: > > > On Mar 23, 2017, at 10:10 AM, Jason Basanese > wrote: > > Attached is a fairly bad resume that I am using. Any tips on how I might > change it to appeal to more places that are looking for functional > develo

Re: Is it normal for exercise-fn to return examples that don't conform?

2017-04-03 Thread Jason Felice
there will be a lot of repeats. (There is also a feature where it starts "small" and grows. This means that repeated examples are more likely at first.) I would definitely recommend unit testing if the state space is small enough to enumerate and fit in your head. -Jason On Mon, Apr

Re: Navigators and lenses

2017-03-10 Thread Jason Felice
I'm very curious why most lens libraries don't just use fns with arity 1 and 2. (I'm going to guess that Specter doesn't because it wants more introspection into the lenses for optimization purposes.) On Thu, Mar 9, 2017 at 4:25 PM, Mark Engelberg wrote: > On Mar 9, 2017 9:52 AM, "Brandon Bloom

Re: [ANN] New Canvas feature for Proto REPL Charts

2017-01-04 Thread Jason Gilman
Yes, I definitely encourage third-party plugins. Proto REPL is an extension of the Atom editor. Atom itself can be extended and has great documentation: https://atom.io/docs Proto REPL has hooks for extensions which are documented here: https://github.com/jasongilman/proto-repl/blob/master/extendi

Re: Are there file watchers that can tell me when a file is done uploading?

2016-12-12 Thread Jason Felice
At least back in the day, on Windows, the file size would stay zero until the file was closed. On Mon, Dec 12, 2016 at 11:19 AM, larry google groups < lawrencecloj...@gmail.com> wrote: > > > My inclination would be to watch for files in a directory, then poll > their filesize. If it > > remains s

Re: Help me understand what part of this code is slow, and how to make it faster?

2016-11-16 Thread Jason Felice
I'll bet the atom accesses dominate the computation. They are a part of Clojures software transactional memory (STM) and have a cost. Something like this (untested) should be faster: (->> (iterate neighbors #{p}) (drop 1999) first) neighbors could be: (into #{} (for [[id jd] [[-1 0] [+1 0] [0

[ANN] Avi 0.1.9 - The Splits

2016-10-25 Thread Jason Felice
<https://trello.com/b/E2LFvVLy/avi>. This board has many small things that are easy to pick up, and we'd love to see you. I (Jason Felice) would love to walk through the code with you pretty much any time during the US Eastern work day. Ping me any time on Twitter - I'm @eraserhd &l

Re: Help with using spec

2016-10-18 Thread &#x27;Jason Courcoux' via Clojure
makes sense now. Thanks again. Jason On 17 October 2016 at 21:02, Alex Miller wrote: > I would back way up to the beginning and reconsider your ::board spec. > Generally for any data where the structures are homogenous, you're probably > better off using one of the collection spec

Help with using spec

2016-10-17 Thread &#x27;Jason Courcoux' via Clojure
] [1 1])) (gen/sample (s/gen (:args (s/get-spec `my-function2))) 1) => (([[-1 -1] [-1 -1] [0 0] [0 0] [-1 0] [-1 -1] [0 0]])) I'm sure it's something obvious, but I been looking for a couple of hours and can't seem to see it - could someone please help point me in the right directi

Re: idiomatic way of counting loop iteration

2016-09-09 Thread Jason Felice
. -Jason On Fri, Sep 9, 2016 at 8:28 AM, Stuart Sierra wrote: > loop/recur is more typical for this kind of counting loop, as it avoids > the risk of a stack-overflow when the number of iterations is high. > > Also, I recommend against the [a b & [n]] argument patte

Re: Displaying functions generated for the REPL

2016-07-23 Thread Jason Felice
If they are all in one namespace, you can use `ns-publics` on that namespace ... e.g. `(ns-publics 'user)`. On Sat, Jul 23, 2016 at 5:28 AM, Cecil Westerhof wrote: > For a project I define some extra functions if it is started in the REPL. > I like to know which extra functions there are in the

Re: Good Open Source project to learn Clojure

2016-07-15 Thread Jason Felice
We'd love to have you on Avi: https://github.com/maitria/avi If you normally use vim, the problem domain is easy to understand, and it provides plenty of interesting problems to solve. -Jason On Fri, Jul 15, 2016 at 6:49 AM, Cecil Westerhof wrote: > I did not work with Clojure for

[ANN] New Canvas feature for Proto REPL Charts

2016-07-04 Thread Jason Gilman
I've just released a new version of Proto REPL, the Atom editor Clojure plugin, and Proto REPL Charts, the graphing and drawing extension. This adds a new feature to Proto REPL Charts to draw on a canvas. https://github.com/jasongilman/proto-repl-charts/blob/master/canvas.md Many examples inclu

Re: [ANN] better-cond 1.0.1

2016-07-01 Thread Jason Felice
You've got me thinking whether there's a more general thing which could be done for packthread: (https://github.com/maitria/packthread). Hrmm... On Fri, Jul 1, 2016 at 5:25 AM, Mark Engelberg wrote: > I should add that Dunaj already has this feature, so if you are a user of > Dunaj you do not n

Re: Clojure for the Brave and True - infix notation exercise

2016-06-24 Thread Jason Felice
Recursive descent parsers are much smaller for simple cases. Basically, you write one function per level of precedence, and each tries, greedily, to consume as much as possible for that level of precedence. e.g. (defn parse-level1 ;; + and - [list] ... ; calls parse-level2 repeatedly so long

Re: [ANN] defn podcast ep.3 : A tour of REPLs feat. Mike Fikes :)

2016-06-14 Thread Jason Gilman
x27;re writing. Another one in that vein is Gorilla REPL which inspired some of the visualization aspects of Proto REPL. Thanks, Jason Gilman On Tuesday, June 14, 2016 at 4:12:25 AM UTC-4, Vijay Kiran wrote: > > Hello Everyone! > > We published the third episode of defn yesterday in

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-13 Thread Jason Wolfe
The warning should be fixed in schema 1.1.2. -Jason On Monday, June 13, 2016 at 10:46:09 AM UTC+8, Josh Tilles wrote: > > On Sunday, June 12, 2016 at 10:29:56 PM UTC-4, Alan Thompson wrote: >> >> I would have expected the namespaces to avoid this kind of conflict.

[ANN] specter-edn 0.1.0

2016-06-11 Thread Jason Felice
Hello, all! Here's a new library which works with specter, which will hopefully be useful for writing code transformations and queries. specter-edn Specter paths for working with formatted EDN and Cloure code. There is one specter path: SEXPR. This navigates to a sequence of s-expressions parse

Re: lazy-seq and somewhat greedy apply

2016-06-03 Thread Jason Wolfe
In case it's useful, here is a fully lazy variant of 'apply concat': https://github.com/plumatic/plumbing/blob/master/src/plumbing/core.cljx#L179 -Jason On Friday, June 3, 2016 at 2:26:43 AM UTC+8, Andy L wrote: > > Hi, > > I have a riddle I am not sure how to solve:

Re: emacs Expectations Mode - can't make it work

2016-05-27 Thread Jason MacLulich
Just had to add that this emacs binding was awesome! Worked great. Thanks for posting that Sean. On Tuesday, January 26, 2016 at 4:47:16 AM UTC+11, Sean Corfield wrote: > > Yuri Steinschreiber wrote on Monday, January 25, 2016 at 1:17 AM: > > Sadly, Expectations Mode seems to be abandoned. Leavi

Re: Is java.lang.Class not a dependable map key?

2016-05-18 Thread Jason Felice
he library I'm making to be built around a > repl-oriented workflow (like every good clojure library should). > > Is there any way around this, or do I have to resort to :type metadata? > > On Wednesday, 18 May 2016 11:07:37 UTC-7, Jason Felice wrote: >> >> When you

Re: Is java.lang.Class not a dependable map key?

2016-05-18 Thread Jason Felice
When you reload a namespace with a record, the class for that record gets recreated. It will be functionally equivalent, but a different object. I'll bet that classes hash on identity. (Though if they hashed on name, you'd still have this problem.) On Wed, May 18, 2016 at 1:31 PM, JvJ wrote: >

Re: Validation of prismatic schema

2016-05-17 Thread Jason Wolfe
value for key :type, must be a String', which can never be a true assertion (since it can't be both a map and a String). If you can provide some executable code that errors, and a description of what you are hoping the result would be, I'd be happy to provide mo

Re: understanding a clojuredocs merge example

2016-05-13 Thread Jason Felice
(def baz (partial merge {:opt1 "default-1" :opt2 "default-2"})) :) On Thu, May 12, 2016 at 5:08 PM, hiskennyness wrote: > > > On Thursday, May 12, 2016 at 9:33:29 AM UTC-4, Michael Willis wrote: >> >> As long as we're cutting out unnecessary code, this is also equivalent: >> >> (defn baz [optio

Strange classpath / ClassNotFoundException with Swing and JavaFX

2016-05-09 Thread Jason Zwolak
I don't want to cross post, but I wanted to see if anyone on this list can answer this tough StackOverflow question: http://stackoverflow.com/questions/37119814/swing-javafx-and-clojure-arent-playing-nice-with-the-classpath It's a strange ClassNotFoundException that requires a specific order of

Re: strange (for me) problem with "No matching ctor found for class ..."

2016-05-07 Thread Jason Wolfe
Hi Johannes, I've run into this before. Here is a ticket [1] and some context and a potential workaround [2]: [1] http://dev.clojure.org/jira/browse/CLJ-1206 [2] https://groups.google.com/d/msg/clojure/BZwinR2zNgU/8HGOgzOxzosJ -Jason On Thursday, May 5, 2016 at 1:32:21 AM UTC+7, Joh

Re: Unum in Clojure/ClojureScript?

2016-05-03 Thread Jason Felice
Just to point out, the OP claimed the number format has no rounding or precision problems, which is not possible. Think about ways to represent pi for a bit! -Jason On Tue, May 3, 2016 at 5:51 PM, James Elliott wrote: > Heh! I just read about these in an email from ACM, and found your p

Re: Porting Clojure to Native Platforms

2016-04-27 Thread Jason Felice
On Tue, Apr 26, 2016 at 7:42 PM, Plínio Balduino wrote: > > * Is there a way to compile C++ code at runtime? This would be essential > for the REPL and for Macros. > - I never heard about on demand native code generation and execution. I > think it could be a paradise for viruses, but I know alm

Re: Macro usage within Clojure community and naming functions which perform actions under certain conditions

2016-04-26 Thread Jason Felice
ghts about threading, monads, and macros that I need to sort out (I'd rather not do something anaphoric). But it does avoid the combinatorial problem you are seeing when you are trying to combine cond-> with as->. -Jason On Tue, Apr 26, 2016 at 3:16 AM, Ray Miller wrote: > On 25 Ap

Re: Porting Clojure to Native Platforms

2016-04-25 Thread Jason Felice
There was talk of an LLVM backend a while back, but I believe LLVM was deemed too low-level to be useful. That was, in fact, why I signed the contributor agreement. So, I'd love to see some movement on a C back-end. Gambit Scheme has a special form that emits C (or C++) code. It's very useful.

Re: Validation Benchmark

2016-04-19 Thread Jason Wolfe
On Wed, Apr 20, 2016 at 12:31 AM, Atamert Ölçgen wrote: > Hi Jason, > > Thank you for the PR. I've just merged it. > > For now I have added this to the blog post: > > Results below and the comments about Schema being slow is no longer true. > See this pull request f

Re: Validation Benchmark

2016-04-18 Thread Jason Wolfe
ts as well, which are qualitatively quite different from the ones currently reported in your blog post (with this change, schema is fastest on all but one benchmark, often by a factor of 3 or more). Please let me know if you have any questions. Thanks, Jason On Tuesday, April 19, 2016 at 2:47

Re: Prismatic Schema -- Type signature of reducing functions

2016-04-02 Thread Jason Wolfe
] [1 (reduced 1)]) Best, Jason On Friday, April 1, 2016 at 6:17:48 AM UTC+5:45, JvJ wrote: > > > When using functions with schema type signatures for reduce, I run into > output schema errors whenever I try to short-circuit the reducing operation > by wrapping the return value in reduc

Re: Jobs in clojure.

2016-03-29 Thread Jason Basanese
; used to be at Relay and can put you in touch with people there. I've never > worked for RJ Metrics, but have worked with several of their people - I'd > be happy to put you in touch with them as well. > > Best Regards, > > Kyle > > On Tue, Mar 29, 2016 at 4:25

Re: Jobs in clojure.

2016-03-29 Thread Jason Basanese
channel that is a good place > to ask about this too. http://clojurians.net/ > On Tuesday, March 29, 2016 at 6:25:41 PM UTC-5, Jason Basanese wrote: >> >> I recently have been looking for summer internships. However most of the >> companies I find either do not know what Clo

Jobs in clojure.

2016-03-29 Thread Jason Basanese
I recently have been looking for summer internships. However most of the companies I find either do not know what Clojure is or are certain they want nothing to do with it as they would much rather stick to Java or Javascript. Yes I know that Clojure compiles to both of those but this seems to

Re: Running Clojure apps using less memory.

2016-03-28 Thread Jason Basanese
Thanks guys! Going through your various tips helped me get the memory usage down below the limit. Now things are running nicely. -- 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 p

Running Clojure apps using less memory.

2016-03-28 Thread Jason Basanese
Hello all! I'm new to this forum. My name Is Jason Basanese and I am a relatively new clojurist. I recently began hosting my first small full stack Clojure web app. While doing this I ran into memory problems with my admittedly small load server. The maximum it can take in temp memory is

[ANN] schema-generators 0.1.0 (now with ClojureScript!)

2016-03-24 Thread Jason Wolfe
vide suggestions for how to get started. Have fun, and please let us know your feedback! -Jason -- 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 ne

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-21 Thread Jason Zwolak
ave time to put behind a project that is using the best we know about GUI programming. At the moment that seems to be core.async and some kind of DOM that can be diffed. -- Jason Zwolak On Fri, Mar 18, 2016 at 12:42 PM, Timothy Baldridge wrote: > I dusted off the fn-fx code today and fixed a

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-19 Thread Jason Zwolak
ng on ;-) One thing that makes this work so well for their approach is that they have animations that depend on the app state. So their reoccurring timer is almost like a video algorithm redrawing the on screen image at the specified frame rate. -- Jason Zwolak On Thu, Mar 17, 2016 at 11:06 AM, Paul

Re: Which GUI toolkit would you like to see wrapped in an idiomatic Clojure library?

2016-03-19 Thread Jason Zwolak
You can diff JavaFX components like that? -- Jason Zwolak On Thu, Mar 17, 2016 at 12:51 PM, Timothy Baldridge wrote: > >> If the app-state has changed then it starts re-rendering the UI. > > That's pretty much exactly what fn-fx does in the latest version, with two >

Re: Similar lisps and emacs reimplementations?

2016-03-19 Thread Jason Felice
only used "as a hobby" nor is only "sneaked in", yes? I am not a lawyer. Due diligence required. Your corporation's requirements might vary. However, let me dismiss the FUD that the Clojure or the EPL could never be responsibly used in a corporation. -Jason On Sat, Mar

Re: Including debugging information for Clojure code

2016-03-15 Thread Jason Gilman
debug/ClojureLineBreakpointAdapter.java#L61 On Mon, Mar 14, 2016 at 10:48 PM, Colin Fleming wrote: > Hi Jason, > > Things you might be interested in checking out: > > George Jahad's CDT: https://github.com/georgejahad/cdt. It's kind of old, > but the JDI hasn't changed much

[ANN] Proto REPL 1.1.0 released with self hosted REPL

2016-03-14 Thread Jason Gilman
Proto REPL 1.1.0 has been released with support for a self hosted ClojureScript REPL . This allows Proto REPL to run without any Leiningen or Java dependencies. The self hosted REPL supports displaying all of

Re: Including debugging information for Clojure code

2016-03-14 Thread Jason Gilman
al to debug, although I use an IntelliJ layer on >> top of JDI. I can try to check if it's doing anything with that flag. You >> can also check if your classes have debug info using Javap or a decompiler. >> >> I have to run now, but if you have further questions or you

Including debugging information for Clojure code

2016-03-13 Thread Jason Gilman
I'd recommend asking on slack. There's a cider channel where they hang out and may be able to answer your question. You can join here https://clojurians.slack.com/ I'd really like to know this information for Proto REPL as well. -- You received this message because you are subscribed to the G

  1   2   3   4   5   6   7   >