This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-02
Channels
- # 100-days-of-code (1)
- # announcements (2)
- # beginners (122)
- # boot (5)
- # calva (5)
- # cider (54)
- # cljdoc (1)
- # clojure (132)
- # clojure-brasil (1)
- # clojure-italy (4)
- # clojure-nl (6)
- # clojure-uk (105)
- # clojurescript (43)
- # core-async (17)
- # cursive (14)
- # datomic (60)
- # emacs (35)
- # figwheel-main (44)
- # fulcro (70)
- # graphql (1)
- # jobs (19)
- # jobs-discuss (5)
- # leiningen (5)
- # luminus (2)
- # off-topic (40)
- # onyx (2)
- # overtone (5)
- # re-frame (36)
- # reagent (29)
- # ring-swagger (20)
- # rum (13)
- # shadow-cljs (19)
- # testing (5)
- # tools-deps (25)
- # vim (5)
@azzurite if you are using windows, you need to not use trampoline, which means you can’t use rebel-readline
not sure what the Compile exception is but it seems like its getting truncated by some output race condition
I have to fix the figwheel-main template so that windows is setup without rebel-readline
@tmarble you diagnosed that correctly, this does seem like a situation where the repl-eval-timeout exists to assist you during interactive development but the default should probably be higher for non-interactive REPL use
@dimovich I’m sorry you are still having problems with this I do notice in your config that if you are working on your local machine you don’t need the :connect-url
config key
java.util.UUID can represent all uuid versions, though, it's not a matter of needing a different type
Cool. It's this lib https://github.com/danlentz/clj-uuid/blob/master/README.md
I agree with Francis, v5 UUIDs are great. I use them when I need a to map something like user ID to UUID so that the same ID always maps to same UUID.
That is a good tip. I can imagine some use cases e.g. saving a lookup by name for entities from a db when the name is immutable. Are there other less obvious scenarios where it's handy?
This is not relevant to datomic, but I used it when I generated a test fixture to MongoDB, basically exactly what temp-id's are in Datomic.
Good point. I'll stick http://to.my txn fns for that
But yeah it happens inside intellij and with the default "lein fig:build" from the template as well
I’m not sure what is happening but it looks like there is an error when loading some clojure code
I will take a look with that and if it happens with just a manual install of figwheel.main instead of using the template
IDK if it really has those issues as I use the same lein sh script as Linux, not the Windows install
So one thing I found, Compile Exception: C
only happens when the /target directory is not empty
okay I can do it even more specifically: if the file target/public/cljs-out/<projectname>/test_runner.js.map
already exists when running lein fig:build
, then it shows Compile Exception: C
@azzurite If you want to put your project up somewhere (or give me a set of commands to try) I can see if I can replicate it - I might not be able to get to it today though. A few things that might help (or you've tried them already and they didn't) - see if the problem exists using leiningen from the regular windows command prompt, without using the alias or Cursive at all - Avoid anything related to clojure.main - it's still early access in Cursive and has a figwheel specific bug right now - Try following the instructions at https://figwheel.org/docs/cursive.html - I haven't tested them against Windows, but there's no reason I can think of that they shouldn't work
@shaun-mahood it's just the default figwheel-main lein template, and it happens everywhere, but only if the test-runner source map exists already
but yeah, idk can I enable some more debug logging? or do some other debugging with this? I have no idea as I just picked up clojure a few days ago
@azzurite That really sucks - I hate it when newcomers to Clojure hit these kinds of problems. Windows support has improved significantly but with both clojure.main and figwheel-main being reasonably new you're hitting some of the growing pains, I think. Is there something specific that you are trying to get working with figwheel, or are you mainly trying to get things setup so that you can start playing with ClojureScript?