Re: [ANN] CIDER 0.16 (Riga)
Hi Bozhidar, > Here's one (a bit overdue) Christmas present for all of you - a > major update to CIDER, the popular Clojure interactive development > environment, built on top of Emacs and nREPL. thanks *a lot* for your great work on all this! -- Bastien -- 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: [ANN] Introducing inf-clojure - a better basic Clojure REPL for Emacs
Hi Bozhidar, Bozhidar Batsov bozhidar.bat...@gmail.com writes: inf-clojure is available in MELPA and will eventually replace completely inferior-lisp-mode when clojure-mode 4.0 is released. Good idea! I just tried to install it through MELPA and got this error: Debugger entered--Lisp error: (void-variable clojure-source-modes) (let ((--dolist-tail-- clojure-source-modes) mode) (while --dolist-tail-- (setq mode (car --dolist-tail--)) (add-hook (intern (format %s-hook mode)) (quote inf-clojure-minor-mode)) (setq --dolist-tail-- (cdr --dolist-tail-- eval-buffer(#buffer *load* nil /home/guerry/.emacs.d/elpa/inf-clojure-20141204.820/inf-clojure-autoloads.el nil t) ; Reading at buffer position 1128 load-with-code-conversion(/home/guerry/.emacs.d/elpa/inf-clojure-20141204.820/inf-clojure-autoloads.el /home/guerry/.emacs.d/elpa/inf-clojure-20141204.820/inf-clojure-autoloads.el nil t) load(/home/guerry/.emacs.d/elpa/inf-clojure-20141204.820/inf-clojure-autoloads nil t) #[0 \302\303\304\305\300\\301\\306\307#\207 [inf-clojure /home/guerry/.emacs.d/elpa/inf-clojure-20141204.820 load expand-file-name format %s-autoloads nil t] 5 \n\n(fn)]() funcall(#[0 \302\303\304\305\300\\301\\306\307#\207 [inf-clojure /home/guerry/.emacs.d/elpa/inf-clojure-20141204.820 load expand-file-name format %s-autoloads nil t] 5 \n\n(fn)]) package-activate-1([cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) nil nil /home/guerry/.emacs.d/elpa/inf-clojure-20141204.820 ((:keywords processes clojure) (:url . http://github.com/clojure-emacs/inf-clojure;)) nil]) package--compile([cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) nil nil /home/guerry/.emacs.d/elpa/inf-clojure-20141204.820 ((:keywords processes clojure) (:url . http://github.com/clojure-emacs/inf-clojure;)) nil]) package-unpack([cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) single melpa nil ((:url . http://github.com/clojure-emacs/inf-clojure;) (:keywords processes clojure)) nil]) package-install-from-archive([cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) single melpa nil ((:url . http://github.com/clojure-emacs/inf-clojure;) (:keywords processes clojure)) nil]) mapc(package-install-from-archive ([cl-struct-package-desc clojure-mode (20141204 854) Major mode for Clojure code ((emacs (24 1))) single melpa nil ((:url . http://github.com/clojure-emacs/clojure-mode;) (:keywords languages clojure clojurescript lisp)) nil] [cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) single melpa nil ((:url . http://github.com/clojure-emacs/inf-clojure;) (:keywords processes clojure)) nil])) package-download-transaction(([cl-struct-package-desc clojure-mode (20141204 854) Major mode for Clojure code ((emacs (24 1))) single melpa nil ((:url . http://github.com/clojure-emacs/clojure-mode;) (:keywords languages clojure clojurescript lisp)) nil] [cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) single melpa nil ((:url . http://github.com/clojure-emacs/inf-clojure;) (:keywords processes clojure)) nil])) package-install([cl-struct-package-desc inf-clojure (20141204 820) an inferior-clojure mode ((emacs (24 1)) (clojure-mode (3 0))) single melpa nil ((:url . http://github.com/clojure-emacs/inf-clojure;) (:keywords processes clojure)) nil]) package-install-button-action(#marker (moves after insertion) at 76 in *Help*) button-activate(#marker (moves after insertion) at 76 in *Help* nil) push-button(76) call-interactively(push-button nil nil) command-execute(push-button) -- Bastien -- 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: [ANN] Introducing inf-clojure - a better basic Clojure REPL for Emacs
Bozhidar Batsov bozhidar.bat...@gmail.com writes: That’s odd. `clojure-source-modes` is a defcustom with value ' (clojure-mode) by default. Tried this locally and it seems to work. It works locally, the compilation is raised when installing from MELPA. Maybe you can try to reinstall from emacs -nw ? PS: I'll follow up on github for other issues. -- Bastien -- 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: [ANN] Monroe 0.1.0 - nrepl client for Emacs
Bozhidar Batsov bozhidar.bat...@gmail.com writes: Yeah, they should definitely remove nrepl.el support from ob-clojure.el. Done in the master branch of org-mode, thanks. -- Bastien -- 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: [ANN] Monroe 0.1.0 - nrepl client for Emacs
John Louis Del Rosario joh...@gmail.com writes: Looks neat. As someone new to CIDER (probably only use 10% of its features), what's the difference between this and CIDER? i.e. why would I want to use this over CIDER? (could be good to put in the README as well) Copying what's on the reddit page: http://www.reddit.com/r/Clojure/comments/2hde6w/monroe_new_nrepl_client_for_emacs/ Some features: - lightweight - focused only on nrepl protocol so you can easily combine it with favorite libraries (e.g. company-mode) - single buffer for interaction, which behaves like inferior modes. Errors and results will be shown in that buffer, instead poping out new buffers. - works on older Emacs versions - history in repl that actually works -- Bastien -- 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: CIDER vs Org Mode: Symbol's definition is void: nrepl-send-string-sync (workaround)
Bozhidar Batsov bozhidar.bat...@gmail.com writes: Indeed. I’ve overlooked this particular function; this is corrected upstream now. Thanks! -- Bastien -- 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: CIDER vs Org Mode: Symbol's definition is void: nrepl-send-string-sync (workaround)
Bozhidar Batsov bozhidar.bat...@gmail.com writes: This was recently renamed - have a look at CIDER's changelog. Interestingly we have an alias with the old name, so people should be getting warnings, not errors. I’ll have at the problem. I think the attached patch should fix the problem. -- Bastien diff --git a/nrepl-client.el b/nrepl-client.el index dcaa4a7..6e7c69b 100644 --- a/nrepl-client.el +++ b/nrepl-client.el @@ -1060,6 +1060,7 @@ Refreshes EWOC. (define-obsolete-function-alias 'nrepl-send-request-sync 'nrepl-send-sync-request 0.8.0) +(define-obsolete-function-alias 'nrepl-send-string-sync 'nrepl-sync-request:eval 0.8.0) (define-obsolete-function-alias 'nrepl-send-string 'nrepl-request:eval 0.8.0) (define-obsolete-variable-alias 'nrepl-log-events 'nrepl-log-messages 0.7.0) (define-obsolete-function-alias 'nrepl-log-events 'nrepl-log-messages 0.7.0) -- 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: [cider-emacs] [ANN] CIDER 0.7 is out!
Bozhidar Batsov bozhi...@batsov.com writes: CIDER 0.7.0 is finally out! I wrote a short blog post about it, as the release is quite massive and important: http://batsov.com/articles/2014/08/05/cider-0-dot-7/ Well done! And thanks again, -- Bastien -- 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: Change default alignment for clojure docstrings
Hi Lars, Lars Andersen ex...@expez.com writes: I tried writing up some examples here, in plain text, but I think it's more productive to just link to the github issue where there's syntax highlighting and I can get a preview of how the content lines up: https://github.com/clojure-emacs/clojure-mode/issues/241 I just sent a pull request which adds an option in clojure-mode for this, defaulting to the de facto aligning style, while allowing to use the one you suggest. Together with the Vim plugin, it paves the way for a slow change, if people think the default should change. -- Bastien -- 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: Parsing ODT files (with Pantomime?)
Hi Jeffrey, 'Jeffrey Cummings' via Clojure clojure@googlegroups.com writes: You may want to look at Docjure https://github.com/mjul/docjure It parses .xlsx files it may be able to parse .odt files. Thanks, but I don't see anything in docjure about parsing .odt files. Or am I missing something? -- Bastien -- 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: Parsing ODT files (with Pantomime?)
Hi Denis, Denis Fuenzalida denis.fuenzal...@gmail.com writes: I've created a small gist which shows how to use the ODFDOM API which is much simpler to use: https://gist.github.com/dfuenzalida/a1e9755e9b2e7f638620 Thanks a lot for this! I tested it and I can get the human readable text from an arbitrary .odt file. My next purpose is to get what getTextContent gives me, but with new lines preserved -- I used getContentDom so that I can get the full DOM and find new lines by replacing text:p../text:p ... but this feel dirty. Do you know if I can get paragraphs easily? Or should I manipulate the DOM with some other XML parsing tool? Thanks for your time, -- Bastien -- 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: Parsing ODT files (with Pantomime?)
Hi Alex, Alex Ott alex...@gmail.com writes: Pantomime right now doesn't support the text extraction, but you can take the https://github.com/alexott/clj-tika (outdate although) - it uses the Apache Tika for text extraction thanks -- I stumbled upon clj-tika but didn't understand how to use it. Would you have a minima example? The README is pretty terse. Thanks in advance, -- Bastien -- 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: Parsing ODT files (with Pantomime?)
Hi Alex, Alex Ott alex...@gmail.com writes: res - the map consisting of: - :text - extracted text - all other fields - metadata from document Works like a charm, thanks a bunch! -- Bastien -- 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.
Parsing ODT files (with Pantomime?)
Hi all, I'm trying to get the content of an ODT file as plain text. I've found Pantomime, but don't understand how to use it? Can anyone put me on the right tracks with a minimal working example? Thanks in advance! -- Bastien -- 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: where as clojure-fill-docstring gone?
Hi Colin, Bastien bastiengue...@gmail.com writes: That said, there are some quirks. I'm sick now and cannot fix those problems, but please report them as github issues if any. Bozhidar just merged a fix that I sent, you can check it here: https://github.com/clojure-emacs/clojure-mode/ Otherwise just wait till it lands in ELPA repositories. Let me know if it works as expected, -- Bastien -- 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: where as clojure-fill-docstring gone?
Hi Colin, Colin Yates colin.ya...@gmail.com writes: Before I spend time hunting through changelogs has anybody else noticed? Is this expected? `clojure-fill-docstring' behavior was somewhat wrong and the whole function not necessary, I removed it recently. That said, there are some quirks. I'm sick now and cannot fix those problems, but please report them as github issues if any. -- Bastien -- 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: where as clojure-fill-docstring gone?
Colin Yates colin.ya...@gmail.com writes: Hi Bastian, sucks being sick. You mention it was unnecessary - can you let me know the thing that made it redundant? It was less redundant than weird. I tried fill-paragraph but that doesn't quite work... Can you explicit what does not work? There is this issue: https://github.com/clojure-emacs/clojure-mode/issues/228 If there are others, please add an issue on github. Thanks! -- Bastien -- 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: [ANN]: Buddy 0.1.0-beta3: Authentication, Authorization Signing library for Clojure.
Hi Andrey, Andrey Antukh n...@niwi.be writes: Is a still young library and any feedback / api improvement suggestions are welcome. Great to see new efforts in this area, thanks! And the documentation is clear. How does it compare to Chas Friend? https://github.com/cemerick/friend Thanks in advance! -- Bastien -- 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/groups/opt_out.
Re: [ANN]: Buddy 0.1.0-beta3: Authentication, Authorization Signing library for Clojure.
Hi Andrey, Andrey Antukh n...@niwi.be writes: An other very important goal of the project is to have good documentation. I have very poor English and if any one can help to fix any language issue, I'll be very grateful. I just forked your repo on github and will help fixing a few typos I'm no native english speaker, so that's all I can decently promise to do. That'll help me grok the core concepts at least. Thanks, -- Bastien -- 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/groups/opt_out.
Re: Help about using clojure in org mode in Emacs with CIDER
Hi Phill, can you repost this on the emacs-orgmode mailing list? https://lists.gnu.org/mailman/listinfo/emacs-orgmode I'll follow-up there. Thanks in advance, -- Bastien -- -- 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/groups/opt_out.
Re: Help about using clojure in org mode in Emacs with CIDER
Hi Greg, greg r soapy-sm...@comcast.net writes: I compared a computer set up with the latest of everything (org/emacs /CIDER) and compared to an older computer still using nrepl-jack-in and older versions of everything else. The behavior is definitely different with the newer system, and can be seen with a very simple case: Can you report this to the org-mode mailing list? https://lists.gnu.org/mailman/listinfo/emacs-orgmode Thanks, -- Bastien -- -- 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/groups/opt_out.
Re: Help about using clojure in org mode in Emacs with CIDER
Hi Rui, Rui Yang ryang@gmail.com writes: Any suggestions on fixing this or it is by design ob-clojure only evaluate one statement? What version of Emacs/Org are you using? C-h v emacs-version RET C-h v org-version RET ob-clojure.el in latest stable release of Org works fine. The one bundled with current Emacs stable version is not. HTH, -- Bastien -- -- 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/groups/opt_out.
Re: trouble with setting up cider within org mode
Rui Yang ryang@gmail.com writes: I tried to setup cider to use within org mode. I managed to evaluate single clojure statement but not multiple. See my reply in the other group where you posted this. This works fine with latest stable Org-mode version, which is not the one that comes with latest stable Emacs version. -- Bastien -- -- 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/groups/opt_out.
Re: Help about using clojure in org mode in Emacs with CIDER
Rui Yang ryang@gmail.com writes: Sorry if missed sth. No, my bad: cider is supported in the master (development)* branch, not in the latest stable Org release. I will try to install org from master and have a try. ~$ git clone git://orgmode.org/org-mode.git ~$ make autoloads and update your load-path in Emacs. HTH, -- Bastien -- -- 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/groups/opt_out.
Re: Help about using clojure in org mode in Emacs with CIDER
Hi Greg, greg r soapy-sm...@comcast.net writes: I would like to edit this page to bring it up to date with Cider, and I would like to help as soon as I figure out the process with keys and git! Great -- the steps 1. Create your public key if needed: ~$ ssh-keygen 2. Send ~/.ssh/id_rsa.pub to me 3. Wait for my confirmation that I added you to Worg 4. Clone Worg: ~$ git clone w...@orgmode.org:worg.git 5. Edit... commit... push! That's it. Let me know if I can help a bit more, I'm glad some more people take care of Worg! Best, -- Bastien -- -- 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/groups/opt_out.
Re: RESTful API Auth with Friend and Liberator
Sam Ritchie sritchi...@gmail.com writes: The code for that tutorial is all here: https://github.com/paddleguru/liberator-friend Yes, thanks. PaddleGuru.com isn't open source, so I can't share any of the dashboards, unfortunately. Maybe some examples down the road. Looking forward! -- Bastien -- -- 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/groups/opt_out.
Re: RESTful API Auth with Friend and Liberator
Hi Sam, Sam Ritchie sritchi...@gmail.com writes: FWIW We currently use ClojureScript with template sharing between Enfocus on the client and Enlive on the server. For a new payments dashboard I'm going to try out Om. Can we see the code, by any chance? It would be great -- tutorials are fun to read, but real-world examples with well commented code is even better IMHO. -- Bastien -- -- 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/groups/opt_out.
Re: Who is doing something worthwhile in Clojure?
Samuel Aaron samaa...@gmail.com writes: To me at least, this is a worthwhile endeavour. It certainly is! Here is a quick intro to Overtone with Emacs and Org: http://bzg.fr/emacs-org-babel-overtone-intro.html ... as a thank you for this great expression medium. -- Bastien -- -- 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/groups/opt_out.
Re: [ANN] projars.com
Hi Stanislav, Stanislav Yurin jusk...@gmail.com writes: In short, on top of every open greatness, it is good to have options. Indeed. The last thing I am willing to do is to build something no one needs, so I have decided to evaluate an idea. The idea is simple: introducing the commercial option to the great ecosystem we already have. Proposed http://projars.com concept is similar to well-organised clojars/leiningen/maven content delivery system but with commercial products in mind. I've nothing against such a move, as long as it does not swallow some of the free software code out there. But I guess it won't. I'm working on a website where people will be able to ask donations more easily for their FLOSS achievements and future projects, I'd love to see both directions (more commercial options and more crowdfunded FLOSS libraries) encouraged at the same time. 2 cents, -- Bastien -- -- 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/groups/opt_out.
Re: [ANN] projars.com
Hi Stanislav, just to clarify my position: I'm fine with diversity, and I don't expect any FLOSS clojure project to be swallowed. I just wanted to mention my hope of more donation-supported libraries. But that's a different issue and I don't want to hijack this thread (more than I already did... sorry!) Good luck, -- Bastien -- -- 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/groups/opt_out.
Re: [ANN] Major update of modern-cljs
Hi Mimmo, Mimmo Cosenza mimmo.cose...@gmail.com writes: it has been a true PITA, because in few weeks a lot of libs/plugins used in the modern-cljs series of tutorials on ClojureScript have been considerably updated (and I had to update all the branches, one for each of the current 22 tutorials). I know it won't be a huge relief, but I must say those tutorials are *really* a big help! So *thanks* a lot for the bug PITA work :) -- Bastien -- -- 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/groups/opt_out.
Re: Do web apps need Clojure?
Marcus Blankenship mar...@creoagency.com writes: Brian, that’s really interesting. I think we’re seeing something similar, and are going to look at Pedestal and Caribou as options for a project we’re working on. Are their others we should consider? Perhaps you should consider starting from scratch, in parallel. Maybe that's because I'm a beginner in both the language and in web development, but so far I've found it's the best way to understand the choices behind framaworks. Otherwise I would confuse web development with those choices, and I feel the richness of the Clojure ecosystem is precisely to open your mind about web development. 2 cents, -- Bastien -- -- 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/groups/opt_out.
Re: Step by step debugging
Hi Ryan, Ryan Spangler ryan.spang...@gmail.com writes: I'll have an official announcement once it is ready to be released, but until then I welcome any feedback. I don't have time to test experimental stuff right now but I'm very much looking forward to reading your announcement! Thanks to tacking this. Best, -- Bastien -- -- 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/groups/opt_out.
Re: Do web apps need Clojure?
Hi Marcus, Marcus Blankenship mar...@creoagency.com writes: Thanks, Justin. These are great points! I especially like the simplicity of deployment. Do you folks use Heroku, AWS, or some other hosting service? I started with Heroku but then switched to using a VM with Immutant. Immutant is great, you should have a look! -- Bastien -- -- 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/groups/opt_out.
Step by step debugging
I'm a big fan of edebug, the Emacs debugger, which allows step through debugging (and breakpoints, and some more fun.) Is there anything similar for Clojure? For example, from an Emacs (cider) REPL, I'd evaluate some Clojure expression, then a window would let me go through a buffer containing a copy of the function being evaluated, while allowing me to stop at any step, and to show the result of each step in the minibuffer. (I'm aware of LightTable live REPL, but this is not exactly what I describe above.) Thanks for any hints/pointers, -- Bastien -- -- 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/groups/opt_out.
Re: Step by step debugging
Hi Juan, juan.facorro juan.faco...@gmail.com writes: I think Ritz [1] might be what you are looking for. Although I haven't tried it myself yet, I recently saw the presentation Ritz, The Missing Clojure Tooling and really liked what I saw. This seems great indeed, I'll watch the presentation carefully. Thanks! -- Bastien -- -- 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/groups/opt_out.
Re: Step by step debugging
phillip.l...@newcastle.ac.uk (Phillip Lord) writes: Ritz does some things, but it doesn't do step through like edebug. I've never found anything as nice as edebug in any language; I guess, it's the big advantage of running your editor and whatever you are debugging in the environment. Well, I suspect this -- but I'll see what comes close enough. Best, -- Bastien -- -- 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/groups/opt_out.
Re: Step by step debugging
Hi Alex, Alex Miller a...@puredanger.com writes: If you're willing to look outside of Emacs *shock* *horror*, both Eclipse CCW and IntelliJ Cursive have debuggers that work to some degree with Clojure. I love testing new tools, I did not sign a life-time contract with any software ;) Is there a video somewhere where I can see this debugging tools in action? Thanks! -- Bastien -- -- 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/groups/opt_out.
Clojure(script) countdown like the one on clojurecup.com?
I'm trying to implement a countdown like the one there was on clojurecup.com: is there a way to access to the website code, or is there any pointer where I could learn how to do this? Thanks in advance for your help! -- Bastien -- -- 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/groups/opt_out.
Re: Clojure(script) countdown like the one on clojurecup.com?
Hi Cedric, Cedric Greevey cgree...@gmail.com writes: Why the hell did this message just mark itself as unread in my gmail inbox? I read it hours ago and I'm quite certain I didn't subsequently take any action to unmark it as read...yet here it is, suddenly showing as new again. My bad -- I wasn't sure my first email made it through the list (couldn't find it sent in my gmail sent box), so I resent it. Sorry for the noise, -- Bastien -- -- 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/groups/opt_out.
KickHub from ClojureCup
ClojureCup was fun! Here is a post-mortem: http://bzg.fr/clojurecup-2013-post-mortem.html The problem I want to solve is the lack of transparency and easy-to-grok incentives to make donations to free software/content contributors. I will on this project after the ClojureCup, so I'm interested in any input (is it a problem? what does KickHub really should do?) -- I'm sure you have some. You can also vote for the project here: http://clojurecup.com/app.html?app=kickhub Thanks to the ClojureCup organizers! That was fun. -- Bastien -- -- 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/groups/opt_out.
Heroku app using core.async?
Hi, I just managed to use core.async for the need I described in my previous email and tried to push this to heroku, but git bitten: Could not find artifact core.async:core.async:jar:0.1.0-SNAPSHOT in clojars (https://clojars.org/repo/) Could not find artifact core.async:core.async:jar:0.1.0-SNAPSHOT in sonatype-oss-public (https://oss.sonatype.org/content/groups/public/) Am I guessing right that heroku prevents downloading libraries from external repositories listed in :repositories? Is anyone using core.async on heroku? Thanks! -- Bastien -- -- 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/groups/opt_out.
Re: Heroku app using core.async?
Hi Shaun, Shaun Gilchrist shaunxc...@gmail.com writes: Hey, I encountered late one night but it was because oss.sonatype.org was temporarily down for scheduled maintenance. Are you still seeing this now? I just pushed to heroku and saw it pull the core.async dep as expected: Retrieving org/clojure/core.async/0.1.0-SNAPSHOT/ core.async-0.1.0-20130827.050117-78.pom from sonatype-oss-public Was a typo on my side, I used [core.async 0.1.0...] instead of [org.clojure/core.async 0.1.0...] -- sorry for the noise and thanks for replying. -- Bastien -- -- 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/groups/opt_out.
Async loading of a big set of entries from a redis database?
Hi all, I'm playing with http://www.mapbox.com to build a map with 1.3M markers. The markers are stored in a redis database on heroku. I'm learning Clojure, so my first attempt has been to use Carmine for loading the entries and creating the javascript variable on the fly. This works ok for a small (1) number of markers: http://wlmmap.herokuapp.com/ But of course this does not scale well. My next step is to make the process asynchronous so that an nearly empty map displays immediately, and markers are progressively added to the map. I'm a bit lost where to start: - shall I try to use a nodejs redis client then handle the async loading of markers (stored in the javascript variable) with core.async? - shall I try to use the aleph library to create a channel where I collect the entries, then use shoreleave to create a defremote returning this channel? - ... ? As you guess from all the library-name-dropping, I've been traveling around the web quite far but my overall knowledge of Clojure(Script) is too weak at the moment to know the best direction. If anyone can put me on the right track, or even show me some code that solves this problem of loading a big database asynchronously into a javascript variable, I'd appreciate this a lot! Thanks in advance, -- Bastien -- -- 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/groups/opt_out.
Re: Interest in a commercial IDE for Clojure?
john john.vie...@gmail.com writes: And at first I really thought it looked promising. But then as I started to work seriously it would very often crash or freeze the UI. So I switched back to emacs. Your ability to become an inhabitant of Emacs is gated by how stable it is. -- Steve Yegge http://steve-yegge.blogspot.fr/2008/04/xemacs-is-dead-long-live-xemacs.html -- Bastien -- -- 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/groups/opt_out.
Re: Interest in a commercial IDE for Clojure?
Hi Steven, Steven Degutis sbdegu...@gmail.com writes: * ST2-quality fuzzy matching at every completionable prompt (emacs's ido-mode is alright but ST2's is way better) Just out of curiosity, why ST2 is better than Emacs on this? Not a rhetorical question: I only use ido-mode from time to time, and I've never used ST2 at all. A few hints (or more) would be welcome, as it may be possible to hence completion in Emacs. Thanks! -- Bastien -- -- 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/groups/opt_out.
Re: OAuth2
Hi Plínio, Plínio Balduino pbaldu...@gmail.com writes: What are you using to authenticate with Google, Facebook, GitHub or Twitter? I'm experimenting with friend: https://github.com/cemerick/friend http://friend-demo.herokuapp.com/ HTH, -- Bastien -- -- 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/groups/opt_out.
Re: OAuth2
Hi all, Dave Della Costa ddellaco...@gmail.com writes: Here are some more in-depth examples: https://github.com/ddellacosta/friend-oauth2-examples Thanks for this examples, very useful! I'm trying to finish integrating friend within a Luminus-based webapp project, but I'm stuck, I'd glad to get some help. Using handler/site for the auth routes (as demonstrated in the github repo above) works fine. I can point to http://localhost:3000/repos, it asks for my github authorization and returns the list of my repos. Now if I use lib-noir middleware like this: (defn my-friend [handler] (friend/authenticate handler {:allow-anon? true :workflows [(oauth2/workflow {:client-config client-config :uri-config uri-config :access-token-parsefn access-token-parsefn :config-auth config-auth})]})) (def app (middleware/app-handler [auth-routes home-routes app-routes] :middleware [my-friend] ;; Added :access-rules [])) (def war-handler (middleware/war-handler app)) ... then there is an infinite redirect to github (error 403.) Where should I wrap the friend/authenticate middleware when using lib-noir's war-handler? Thanks in advance for any pointer! -- Bastien -- -- 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/groups/opt_out.
Re: [ANN] CHP Web Framework Documentation Update
Hi Kelker, thanks for the explanations. I will have a closer look to get a better understanding. It's nice to see the diversity of the various approaches. All best, -- Bastien -- -- 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/groups/opt_out.
Re: [ANN] CHP Web Framework Documentation Update
Hi Kelker, thanks for your work on CHP. I've not tested it yet, because I'm right now into learning Luminus. Could you explicit the differences between the two frameworks? Thanks in advance, -- Bastien -- -- 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/groups/opt_out.
Re: Doc about auto-namespaced keywords (e.g. ::user)?
Hi Chas, Chas Emerick c...@cemerick.com writes: We talked about namespaced keywords in 'Clojure Programming'. A brief introduction to them can be found on page 14, which you can get for free @ http://clojurebook.com (look for the first chapter link on the right). They're used for more than e.g. unambiguously keying slots in a map, but those cases are described later in the book. Great, I didn't expect this example chapter to be so detailed and informative. Thanks for the pointer! -- Bastien -- -- 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/groups/opt_out.
Re: Doc about auto-namespaced keywords (e.g. ::user)?
Hi John, John Gabriele jmg3...@gmail.com writes: They're mentioned in http://clojure.org/reader, though that doesn't say anything about why or in what cases you'd use them. Thanks for the pointer. In the meantime I found this (quite old) blog post: http://kotka.de/blog/2010/05/Did_you_know_III.html and I understood my error: I was using ::keyword in two different namespaces, hence the error I got. So I'm about to make friend work with my Luminus template, it feels good :) Best, -- Bastien -- -- 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/groups/opt_out.
Doc about auto-namespaced keywords (e.g. ::user)?
Hi all, while reading the documentation for friend, I stumbled upon auto-namespaced keywords -- how can I find more doc about them? I'm trying to use friend within a luminus templated webapp, and lein ring server returns this error when I use ::user: CompilerException: java.lang.RuntimeException: Invalid token: ::users/user, compiling:(kickhub/routes/auth.clj:141:37) Thanks in advance for any pointer! -- Bastien -- -- 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/groups/opt_out.