Re: What is the minimal Emacs config for practical Clojure development?

2018-07-06 Thread Andrea Richiardi

>
> That seems to work, but I see something like this in the minibuffer every 
> time I move the cursor, with or without eldoc mode enabled:
>
> def: (:arglists^[[0m
>   ^[[36m3^[[0m  ^[[36m(clojure.core/meta^[[0m
>   ^[[36m4^[[0m  ^[[36m(clojure.core/resolve^[[0m
>   ^[[36m5^[[0m  ^[[36m(clojure.core/read-string "def")
>
> Does "lein run -m clojure.main" create a socket REPL?
>
> I followed the instructions for inf-clojure for a "Clojure Command Line 
> Socket REPL" (
> https://github.com/clojure-emacs/inf-clojure#clojure-command-line-socket-repl),
>  
> but then (fig-start) is not found.
>
> I followed the instructions for inf-clojure for a "Leiningen Socket REPL" (
> https://github.com/clojure-emacs/inf-clojure#leiningen-socket-repl), and 
> that produces results like with "lein run -m clojure.main"; it works, but I 
> get the "eldoc" garbage in the minibuffer. AFAICT, the eldoc problem 
> doesn't occur until I run (cljs-repl).
>
> Any insight greatly appreciated. 
>

Sorry I am guilty of not having read the whole thing - can you please open 
an issue in inf-clojure so that we can track it?

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the minimal Emacs config for practical Clojure development?

2018-07-06 Thread Andrea Richiardi
Ok this command will open a socket REPL directly in cljs.user:

clojure -J-Dclojure.server.repl="{:port ${1:-} :accept 
cljs.server.node/repl}" -R:cljs-canary  -m cljs.main -re node -r

You need the right deps.edn aliases - then you will be able to nc localhost 
 or inf-clojure-connect to it.

On Friday, July 6, 2018 at 11:18:56 AM UTC-7, Austin Haas wrote:
>
> I spent a couple more hours working with Monroe and Figwheel. I still 
> can't figure out how to use the REPL. After trying to evaluate a few 
> expressions, Emacs gets completely locked up spewing the following error 
> message 1000s of times: 
>
> clojure.lang.ExceptionInfo: Arguments to require must be quoted. Offending 
> spec: (symbol (namespace (quote clojure.repl/pst))) at line 1  
> {:file "", :line 1, :column 5, :root-source-info {:source-type 
> :fragment, :source-form (do (require (symbol (namespace (quote 
> clojure.repl/pst (clojure.repl/pst *e))}, :tag :cljs/analysis-error}
>
> I've switched back to inf-clojure and Figwheel with the following config:
>
> (add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/inf-clojure/")
> (require 'inf-clojure)
> (setf inf-clojure-lein-cmd "lein run -m clojure.main")
> (add-hook 'clojure-mode-hook #'inf-clojure-minor-mode)
> (add-hook 'inf-clojure-mode-hook #'eldoc-mode)
>
> That seems to work, but I see something like this in the minibuffer every 
> time I move the cursor, with or without eldoc mode enabled:
>
> def: (:arglists^[[0m
>   ^[[36m3^[[0m  ^[[36m(clojure.core/meta^[[0m
>   ^[[36m4^[[0m  ^[[36m(clojure.core/resolve^[[0m
>   ^[[36m5^[[0m  ^[[36m(clojure.core/read-string "def")
>
> Does "lein run -m clojure.main" create a socket REPL?
>
> I followed the instructions for inf-clojure for a "Clojure Command Line 
> Socket REPL" (
> https://github.com/clojure-emacs/inf-clojure#clojure-command-line-socket-repl),
>  
> but then (fig-start) is not found.
>
> I followed the instructions for inf-clojure for a "Leiningen Socket REPL" (
> https://github.com/clojure-emacs/inf-clojure#leiningen-socket-repl), and 
> that produces results like with "lein run -m clojure.main"; it works, but I 
> get the "eldoc" garbage in the minibuffer. AFAICT, the eldoc problem 
> doesn't occur until I run (cljs-repl).
>
> Any insight greatly appreciated. 
>
>
>
>
>

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the minimal Emacs config for practical Clojure development?

2018-07-06 Thread Andrea Richiardi
Ok try this one:

clojure -J-Dclojure.server.repl="{:port ${1:-} :accept cljs.se}" 
-R:cljs-canary  -m cljs.main -re node -r

and then nc localhost  or inf-clojure-connect to .

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the minimal Emacs config for practical Clojure development?

2018-07-06 Thread Andrea Richiardi

On Friday, July 6, 2018 at 11:18:56 AM UTC-7, Austin Haas wrote:
>
> I spent a couple more hours working with Monroe and Figwheel. I still 
> can't figure out how to use the REPL. After trying to evaluate a few 
> expressions, Emacs gets completely locked up spewing the following error 
> message 1000s of times: 
>
>
I guess you are pioneering this so don't give up! :D

The problem with socket REPL is that you need to make sure that it is "dumb 
enough". Make sure to read these two - sorry if you've seen it already:

https://github.com/clojure-emacs/inf-clojure#leiningen-socket-repl
https://github.com/clojure-emacs/inf-clojure#caveats

That is why I was trying only cljs.main at some point. Less things 
involved. 

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: defrecord can't impl some interface methods

2018-07-06 Thread Matching Socks

Wow, that Jira item got mired in a muddle of Various Alternatives!  It 
discusses (1) error messages, (2) documentation, and (3) covariant 
returns!  Jira can be a slow place to resolve a muddle.

By the way:  I suppose each compiler (clj, cljs, ...) is sensitive to a 
distinct set of implicitly-reserved method names?

What should the documentation explain about portability?  Should the list 
of implicitly-reserved method names be documented?

In any case, unless the OP of ticket 1791 cares to reclassify it as a 
documentation enhancement, someone will need to start a new ticket.  Also, 
if someone has a sturdy theory about better error messages, punch in a 
second new ticket.  The two tickets can be complementary, and proceed at 
their own pace.

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] zakon 0.1.0

2018-07-06 Thread alex
Zakon is declarative authorization library which unleashes all the power of 
multimethods.
Github: https://github.com/dawcs/zakon

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the minimal Emacs config for practical Clojure development?

2018-07-06 Thread Austin Haas
I spent a couple more hours working with Monroe and Figwheel. I still can't 
figure out how to use the REPL. After trying to evaluate a few expressions, 
Emacs gets completely locked up spewing the following error message 1000s 
of times: 

clojure.lang.ExceptionInfo: Arguments to require must be quoted. Offending 
spec: (symbol (namespace (quote clojure.repl/pst))) at line 1  
{:file "", :line 1, :column 5, :root-source-info {:source-type 
:fragment, :source-form (do (require (symbol (namespace (quote 
clojure.repl/pst (clojure.repl/pst *e))}, :tag :cljs/analysis-error}

I've switched back to inf-clojure and Figwheel with the following config:

(add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/inf-clojure/")
(require 'inf-clojure)
(setf inf-clojure-lein-cmd "lein run -m clojure.main")
(add-hook 'clojure-mode-hook #'inf-clojure-minor-mode)
(add-hook 'inf-clojure-mode-hook #'eldoc-mode)

That seems to work, but I see something like this in the minibuffer every 
time I move the cursor, with or without eldoc mode enabled:

def: (:arglists^[[0m
  ^[[36m3^[[0m  ^[[36m(clojure.core/meta^[[0m
  ^[[36m4^[[0m  ^[[36m(clojure.core/resolve^[[0m
  ^[[36m5^[[0m  ^[[36m(clojure.core/read-string "def")

Does "lein run -m clojure.main" create a socket REPL?

I followed the instructions for inf-clojure for a "Clojure Command Line 
Socket REPL" 
(https://github.com/clojure-emacs/inf-clojure#clojure-command-line-socket-repl),
 
but then (fig-start) is not found.

I followed the instructions for inf-clojure for a "Leiningen Socket REPL" 
(https://github.com/clojure-emacs/inf-clojure#leiningen-socket-repl), and 
that produces results like with "lein run -m clojure.main"; it works, but I 
get the "eldoc" garbage in the minibuffer. AFAICT, the eldoc problem 
doesn't occur until I run (cljs-repl).

Any insight greatly appreciated. 




-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the minimal Emacs config for practical Clojure development?

2018-07-06 Thread Austin Haas
This is good, relevant information. Thank you, Andrea.

On Thursday, July 5, 2018 at 4:32:58 PM UTC-7, Andrea Richiardi wrote:
>
>
>
> On Thursday, July 5, 2018 at 1:01:14 PM UTC-7, Austin Haas wrote:
>>
>> Gary, I had tried Figwheel a couple years ago and I had a positive 
>> experience, so that was the next thing I reached for.
>>
>> I just want a practical dev environment, for both Clojure and 
>> Clojurescript. To me, that means simple and stable. I definitely want fewer 
>> things that can go wrong, but if I can install a package by cloning a repo 
>> and adding a few lines of elisp, and it works, I'm happy. I don't care how 
>> complex it is. If it causes my REPL to hang, prints out control characters, 
>> regularly breaks after updates, etc., then I'd rather drop down to 
>> something simpler, with fewer features.
>>
>>  
> There is one more trick though.
>
> The new cljs.main allows you to have a socket repl for ClojureScript. This 
> can then be used with `inf-clojure`. It will not be fancy and probably 
> things will be broken though...the code path has not been seen much love. I 
> did some experimentation and it definitely works - quite smoothly in fact - 
> but I have never have time to make it "production" ready :)
>
> So this does not actually answers the question, just wanted to put it out 
> there - sorry!
>

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Philadelphia Job Offer Software developer and Data Architect/Solution Architect Clojure

2018-07-06 Thread Ripu Gupta
Hello Everyone,
Good Afternoon, I am Ripu Gupta from Xavient Digital and I am looking out 
for the Candidates with the skills in Clojure, Kafka, Cassandra, Git, Go, 
Java. Kindly review the job description and feel free to apply.

Job Description: Data Architect IV/ Solutions Architect/ Developer
Interview Process: Phone /Webex Interview and in person interview
Location: Philadelphia, PA
Job Type: Fulltime, C2H, C2C

• Designs and builds relational databases for data storage or processing.
• Develops strategies for warehouse implementation, data acquisition, and 
archive recovery.
• Cleans and maintains the database by removing and deleting old data.
• May evaluate new data sources for adherence to the organization's quality 
standards and ease of integration.
• May require a bachelor's degree in a related area and at least 8+ years 
of experience in the field or in a related area.
• Has knowledge of commonly-used concepts, practices, and procedures within 
a particular field.
• Relies on instructions and pre-established guidelines to perform the 
functions of the job.
• Works under immediate supervision.
• Primary job functions do not typically require exercising independent 
judgment.
• Typically reports to a supervisor or manager.
• Code review & Code contribution.
• Overview of deployment of solution
Solution architect/developer of this position must possess skills in the 
following areas
• Clojure.
• Kafka.
• Cassandra.
• Git, Go.
• Java 8 JVM tuning (specifically garbage collection)
Position Comments:
Candidate will be responsible for tracking story creation and communication 
to stakeholders.

Regards
Ripu Gupta
Email: rgupt...@xavient.com
Contact: +1-805-955-4631
www.xavient.com

-- 
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 this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.