This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-13
Channels
- # announcements (5)
- # babashka (35)
- # beginners (65)
- # braveandtrue (3)
- # calva (20)
- # cider (6)
- # clara (11)
- # cljs-dev (36)
- # cljsrn (64)
- # clojure (65)
- # clojure-europe (6)
- # clojure-germany (13)
- # clojure-italy (14)
- # clojure-nl (22)
- # clojure-spec (16)
- # clojure-sweden (6)
- # clojure-uk (81)
- # clojurescript (71)
- # conjure (120)
- # cursive (3)
- # datomic (10)
- # events (4)
- # figwheel (4)
- # figwheel-main (5)
- # fulcro (36)
- # ghostwheel (1)
- # graalvm (8)
- # helix (9)
- # jobs (4)
- # jobs-discuss (12)
- # kaocha (33)
- # leiningen (5)
- # luminus (1)
- # off-topic (24)
- # pathom (7)
- # rdf (4)
- # re-frame (3)
- # reagent (15)
- # reitit (11)
- # remote-jobs (1)
- # shadow-cljs (97)
- # slack-help (3)
- # spacemacs (23)
- # vim (15)
- # xtdb (35)
Completions were not working for CLJS because I wasn't providing the session š should work a lot better now
I'd argue that this works better than most JS tools since we're getting live completions from real objects in the browser / node, not just static analysis.
I managed to improve a bunch of things in piggieback connections too, they send stdout to the wrong place which I can't do anything about, but I've added mitigations. So hopefully I've closed the gap between clj and cljs UX even more!
Shadow continues to be the smoothest cljs experience for me in testing. It just works so well.
thanks for always including detailed release notes, i find that really helpful! when i'm excited about a project, i like to keep up with what new features are available and try them out
uh-oh, looks like something is broken for me after updating. i'm putting an issue together
yeap eval from file is not working for me anymore on v3.1.0
Clojure, it's return always nil
That's correct though? Evaluating a file should return nil? Or you mean it's not actually loading it and it's returning nil?
no loading just returning instant nil
in 3.0 it process and then return the evaluation
Yeah just updated and is working again
thanks man
you are incredible
So glad it's fixed! I'm sorry I broke it in the first place. And thank you very much, I think I'm just persistent and can't let bugs sit around š
Hey, the nil
thing is still happening to cljs
got it, I don't have much experience on cljs, but when I do a eval buffer or eval root I have something different from eval file, like I was having on clj
yeap 3.1.1
Yeah, CLJS eval buffer will show you EVERY result from every form, CLJ eval buffer will only show you the last thing.
; --------------------------------------------------------------------------------
; eval (file): ...ank/shuffle/modules/fraud/alert_bars/blocked_transfers_out/dictionary.cljs
nil
; --------------------------------------------------------------------------------
; eval (buf): ...ank/shuffle/modules/fraud/alert_bars/blocked_transfers_out/dictionary.cljs
nil
{:huge :map}
; --------------------------------------------------------------------------------
; eval (root-form): (i18n/add! {:en {::blocked-transfers-out-alert "Bypass Rule: " ::transfers...
{:huge :map}
Yep that seems about right to me, if your buffer is a ns form and something that generates a large map?
ah ok then
I was just testing the behavior on cljs
the issue i mentioned above appears to be related to not having XDG_CONFIG_HOME set in your shell
applications/tools like conjure should default to ~/.config if XDG_CONFIG_HOME is not set
when i echo $XDG_CONFIG_HOME
, i get nothing, and when i try to tab-complete from $XDG_
, XDG_CONFIG_HOME is not one of the options, so it's not set, for whatever definition of "not set" that means for fish shell
Hmm I deliberately put in defaults to handle XDG_CONFIG_HOME not existing, it's clearly not working properly, I'll fix it ASAP!
defaulting to clojure syntax for fennel worked, btw! i like the warning message that includes a link to fennel.vim
Hmm, I've just pushed a change to develop that might fix the XDG_CONFIG_HOME issue? I'm being a bit more careful with the value I extract from the environment. I wonder if it's an OSX thing?
Okay, eval-file was broken in my attempt to make it better for ClojureScript, that's sorted now. I've made the environment variable sniffing slightly safer which will hopefully fix the XDG_CONFIG_HOME error some were seeing.
I'm on Ubuntu 16.04, for what it's worth. Thanks for looking into this, I'll give the develop branch a try soon!
Ah okay, we're both on Ubuntu then, super weird! I literally check if it's defined and use a default if not. It's not defined on my machine either but I don't see that error, I have no idea how to reproduce it :thinking_face:
Too many things tend to break when you upgrade your OS. I'd rather defer the pain as long as possible š
I did try Arch a long time ago, but found it too bleeding-edge for my tastes. I do like the idea in theory though
There are a handful of things that I prefer to follow development on, like Neovim. I'm not 100% sure why
I guess the difference is that I have a good understanding of Neovim and tmux, so when something breaks, I feel comfortable enough looking into it
I'd prefer not to be on the bleeding edge of all the system packages, though, like xorg and systemd and whatnot. I find that a bit scary!
I used to run Mint before that (before that was Ubuntu, before that was FreeBSD, before that was Debian)
(I would choose FreeBSD for a server at a drop of a hat if it only did lxd...esp as they are now using ZFS On Linux as their base source)
maybe i'll give arch another try sometime. i'm hesitant to make the jump at the moment because a bunch of my coworkers also use ubuntu, and it's nice to be able to troubleshoot together when things go awry
Thanks for the reports! It was quite a big update so there was a few things that could slip through the net, hopefully the next release will be a smaller chunk of new stuff and fixes! I may well create a "next" or "pre-release" branch that's merged to when I have a candidate for release. That way you intrepid explorers can get the new things early without getting burned by me pushing a bad commit to develop at 1am.
when you're sipping pina coladas on a beach somewhere on a tropical island after making your millions?
I'm sure the investors will roll in any day now once the gold rush of interactive evaluation tooling takes off.
@olical question, which file in the repo is a good example for "the Conjure API interaction"
There's no external systems that hook into Conjure yet but you can always browse the Fennel source, anything that's public is near enough fair game right now.
You can just require the modules and call any function you want, although I may want to enshrine some as part of a stable API soon or wrap them up in a conjure.api
module that will be safe for plugins to rely on.
So right now you can just delve into the source and call whatever you want, there's just a slight risk I change things that break it in future versions.
Got it, Iām just trying to figure out how to hang a plug to conjure jajaja