This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-22
Channels
- # 100-days-of-code (3)
- # announcements (7)
- # beginners (147)
- # cider (22)
- # cljdoc (24)
- # cljs-dev (71)
- # cljsrn (8)
- # clojars (3)
- # clojure (45)
- # clojure-conj (11)
- # clojure-dev (1)
- # clojure-italy (21)
- # clojure-nl (2)
- # clojure-spec (76)
- # clojure-sweden (2)
- # clojure-uk (100)
- # clojurebridge (3)
- # clojurescript (15)
- # cursive (7)
- # data-science (2)
- # datomic (7)
- # emacs (9)
- # events (2)
- # figwheel-main (4)
- # fulcro (117)
- # jobs (2)
- # jobs-discuss (21)
- # leiningen (184)
- # nyc (4)
- # off-topic (50)
- # planck (6)
- # re-frame (14)
- # reagent (25)
- # ring-swagger (5)
- # shadow-cljs (96)
- # spacemacs (5)
- # sql (26)
- # tools-deps (12)
- # uncomplicate (1)
- # yada (3)
does anyone know a someone with a good emacs setup for clojure? ideally, one which has it all organized in a org file... thanks!
Not an org file but the author and maintainer of cider has prelude which is a great init
is it a bit outdated? I am running into issues with emacs --daemon
, i get prompted an error
emacsclient: unrecognized option '--daemon'
Try 'emacsclient --help' for more information
What OS? If Linux, killall -9 emacs
. Might work for Mac, too.
Sorry, I forgot a part of the command: killall -s 9 emacs
Beware that although that command works, if you have multiple processes with the same name, it will kill them all. Hence the 'all' in the name.
yes MacOS, does not work tho 😕 says that no matching process exists... but when I try to run emacs --daemon
again to see if it restarts again, I get an error saying that there is already a running emacs server..
should I export the EDITOR
and set to emacs if I'm running server? I guess I can do it and insert --daemon
when I call it
kinda broad question but I have a "mess around" project in clojure that I want to add some Elm to
Does anyone know the difference between :refer
and :only
when using it in a namespace declaration, for example
(ns foo
(:require [clojure.set :refer [rename-keys]
[clojure.pprint :only [write]))
Hello all! Back with Clojure after a while... So what is up with Leiningen and Java 11? Seems like the only version of Java I can run is 8?
Already tried: Figwheel: Cutting some fruit, just a sec ... Error occurred during initialization of boot layer java.lang.module.FindException: Module java.xml.bind not found Subprocess failed
java.xml.bind removed from java 11, you may use 3rd party replacement such as [javax.xml.bind/jaxb-api "2.3.0"]
I had to struggle with this as well. Was not able to find the solution on google and ended up asking here
Works like a charm. Thank you @pradyumna
How are people consuming valuehash in their projects? https://github.com/arachne-framework/valuehash I tried to add it in boot, but I get java.lang.Exception: Tried to use insecure HTTP repository.
Is this the Clojurians discord or a new one?
Hello everyone! I'm struggling to get the ResultsetMetadata for a given query using clojure.java.jdbc... there is a way to do that?
@gleisonsilva Happy to try to help (you may want to continue this conversation in #sql) if you can explain a bit more about what you've tried and what doesn't work?
One question I have for anyone who has a bit more experience with the internals of Clojure, I've been working a lot with transducers lately, and they've proven incredibly useful. One question that I do have however is with the sequence
transducible context. I've used it on several occasions where I want to compute as little data as possible in an expensive process, and one thing that I've noticed is that when you use any given value in it, it will realize at least one additional value past what I was looking for. Now I understand that the reason for this is that it uses chunking under the hood, however I've run into several situations so far where I get the first item from a heavily filtered sequence and have to sit and wait for it to spin through a large quantity of additional data before I can get my result, or in some cases it has simply hung because it attempted to fully realize an infinite sequence because it could not find an additional item which met the filter.
I've solved this problem in my own work by writing a sequence*
function which is a pure-clojure reimplementation of what sequence
is supposed to do, but without chunking. Is there any other, better, or more idiomatic solution to this problem?
as a general statement, I’d say that if you care (much) about pre-realization, you probably shouldn’t use seqs
but it sounds like you want delayed, partial evaluation?
if this is a single-pass kind of operation, using an eduction and consuming it in a loop is one option
That would be an accurate assessment. The main use cases are single-pass, so perhaps an eduction could be a good fit. I'll take a look to see what it's like from a code standpoint. Thanks for pointing me in that direction!