This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-21
Channels
- # arachne (1)
- # aws-lambda (50)
- # beginners (10)
- # boot (59)
- # capetown (4)
- # cider (9)
- # cljsjs (27)
- # clojure (249)
- # clojure-berlin (8)
- # clojure-finland (7)
- # clojure-germany (1)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-russia (91)
- # clojure-spec (100)
- # clojure-uk (61)
- # clojureremote (2)
- # clojurescript (171)
- # core-async (11)
- # cursive (31)
- # data-science (1)
- # datascript (2)
- # datomic (11)
- # dirac (2)
- # emacs (16)
- # events (1)
- # hoplon (142)
- # juxt (4)
- # lein-figwheel (9)
- # leiningen (10)
- # luminus (7)
- # lumo (44)
- # mount (3)
- # off-topic (150)
- # om (18)
- # onyx (5)
- # perun (12)
- # planck (12)
- # protorepl (13)
- # re-frame (28)
- # reagent (8)
- # ring (1)
- # ring-swagger (10)
- # spacemacs (2)
- # specter (11)
- # sql (14)
- # untangled (99)
- # vim (18)
- # yada (2)
Is there a boot ninja that I could pay to get some mentoring on a few things?
How much ninja 😀 ?
@grounded_sage ^ what do you need to accomplish?
@richiardiandrea Just more ninja than me! haha. I'm having an issue with having page routes that has sub routes reloading in the browser. Meaning I have to restart boot to see changes. Super Painful. Secondly it's likely helping me figure out how to develop a solution to develop atomic styles in a way that reloads and has less cruft. Probably less boot related than the reloading issue I have.
The project is the one here: https://github.com/GroundedSage/VeganBN-website
I'm wanting to implement something similar to https://github.com/rtsao/styletron for the atomic styles but a more clojureish. Current solution uses macros which seems to mean using variables is out of the question or just I need to learn more macro stuff. This is something I would like to have a tight integration to work seamlessly with Garden which might involve cross discussions with @noprompt. I have got some other mentors however they have less experience with Boot and some of the libraries I am using. So decided I am probably better finding a mentor with specific skillsets and knowledge.
@grounded_sage I can help you with the issue I think, about the style project, it looks very interesting but I don't think I have the bandwidth for that 🙂
let's move to private
I'm having the following problem: I'm serving via boot-serve. However, when I hit reload in dirac, my *.cljs source mapped files are NOT reloading. So when I make an edit from cljs-v1 to cljs-v2, what I get is: js-v2 is compiled js-v2 is served however, dirac continues to source map[ to cljs-v1, even when I hit alt-R the only way to fix this is to tell chrome to clear it's cache (however this is tedious) yes, I already went to dev tools -> networking -> diable cache but somehow the *.cljs files are not being re-requested
basically same error as: https://bugs.chromium.org/p/chromium/issues/detail?id=508270
but I don't know what I did to fix it -- I just read a bunch of docs about boot-http, then I read a bunch of threads about chrome canary -- and I didn't do anything -- and now I no longer have stale caching issues
curious, can anyone point me to an example of using clojure.spec with boot? i’m currently trying to wire-in clojure.test to invoke clojure.spec test/check… but it just doesn’t seem like the right way
and I can’t find much material on how to actually use clojure.spec when you want to do instrumentation / generative testing, other than the example-based “hey its all in one file / on a repl look how easy it is”
would be nice for someone to lay out pros/cons of flat files, versus separate /src /test files with a tool like boot that does some tdd setup, or how to actually configure spec in dev vs prod setups… but I can’t find anything like this with my googlefoo
https://anmonteiro.com/2017/02/compiling-clojurescript-projects-without-the-jvm/ would be cool to get boot ported to Node.js also
Would need complete rewrite & the result wouldn't be compatible with any existing code
@flyboarder people are moving that way, however, a boot port is tough given all the JVM-related things it contains
Yeah, I just the inception that could be used, like clj boot building cljs boot
there could be a lumo
task at some point maybe
but I don't think that is the big win we are looking for
Not quite, ideally I could call boot from the cmd and not care if it's the clj/cljs version installed
yeah that's the dream 😄
For some maybe. I'd rather uninstall Node than Java.
ideally you would use Java for long running tasks and node for short running tasks/scripting
using the same tool of course, you can basically do that already now
using different tools
@juhoteperi as an Infrastructure tech before a developer, I would never make end users install java
Worst management and user experience ever
Yeah but the problem comes when your IT team gets tickets saying "Java needs and update" from a few hundred users because the company can't afford a real deployment solution, so you have to either script it or touch every client machine
@flyboarder Are end users developers or non-developers?
Non developers, usually non-tech savvy users
Usually end users use the websites and developers create software using Java which serves the web app
@juhoteperi I think the difference is when you software is a server, that's fine and Java is great, it's when you need to run on the client that it's kinda bad
Sure, I wouldn't create desktop apps using Java, but then, is anyone even creating those anymore
RancherOS is a step in that direction
@juhoteperi agreed, move everything to the web!
back to tooling, what if we had a way to materialize clojurescript functions that shell out
kind of like conch
but with also a way to read options, so at the repl I would do (doc npm)
, and I see the options
and then (npm {:install ... })
shells out
where does bash takes info about parameter completion?
ok bash-completion
...uhm
if there was a way to see all the params to shell commands, that data could be use to generate cljs functions
@juhoteperi where you able to trigger a shutdown of a server on boot/cleanup
eventually?
@juhoteperi ok don't worry I found it in boot-reload