This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-04
Channels
- # aleph (1)
- # aws-lambda (2)
- # beginners (30)
- # boot (2)
- # cider (7)
- # cljs-dev (65)
- # clojure (130)
- # clojure-denmark (1)
- # clojure-france (1)
- # clojure-germany (2)
- # clojure-greece (1)
- # clojure-italy (19)
- # clojure-kc (2)
- # clojure-nl (12)
- # clojure-poland (1)
- # clojure-russia (11)
- # clojure-spain (1)
- # clojure-spec (20)
- # clojure-uk (176)
- # clojurescript (65)
- # css (3)
- # cursive (8)
- # datomic (26)
- # editors (94)
- # emacs (10)
- # fulcro (66)
- # graphql (5)
- # midje (1)
- # off-topic (48)
- # om-next (2)
- # overtone (1)
- # re-frame (15)
- # reagent (6)
- # reitit (10)
- # shadow-cljs (68)
- # sql (3)
Morning.
Morning o/
How's Sven doing @dominicm?
@yogidevbear not bad. He's pretty tired by the heat, we haven't been walking him because of the heat. He has had two seizures within a week of each other which is worrying. His new medication seems to have helped with the pain, we're noticing little things like him letting us cuddle him, where he would normally growl. How's your pair?
Sorry to hear that 🙁 Hopefully the new meds will with the seizures in the long run
My pair are as silly as always (and I don't necessarily mean that in a good way 😆)
I'm surprised that's not overheating them. Sven is spending most of his day moving between shade and heat.
Yesterday I walked then at 7am. Made a big difference
Morning o/
For clojurescript repls, what are people using these days for non-browser projects? My piggyback and nashorn setup seems more unstable than I remember so thinking of just using figwheel instead
@alex.lynham I think figwheel has been getting a lot of love lately
it seems to be the standard, and it's what I used for re-frame/reagent stuff, so in a template for quickstart I'd be inclined to just bundle it in an opinionated way
or maybe just add it as a +figwheel
option
@alex.lynham boot-cljs-repl
has been straightforward since i started using it a couple of years ago... we use it with re-frame/reagent and have it working nicely on all of browser, ios/android simulators and ios/android devices
Bore da
normings!
It would appear that by my studiously avoiding the football last night we had a pleasing result..?
@maleghast I'm told we won on penalties
I am also hearing from some quarters that the Columbian team were "less than sporting" throughout the match.
@mccraigmccraig I'm still on lein... but could be convinced by alt approaches
we're actually on a mix of lein and boot... a top-level lein-modules project, with mostly lein modules but boot modules for the cljs bits... the boot modules have a project.clj and use lein-as-a-lib to parse deps from it, which means we get both the advantages of boot (for cljs it makes it really easy to run less-compile, cljs-compile, http-serve at the same time) and we can still use lein tooling like lein ancient
but boot is quite different from lein, and it took me a while to grok its model
boot is great for web projects tbh. Being able to live reload sass compiled in the jvm without a second jvm is just the best.
Did none of you actually see the penalty shootout?
The first penalty shootout that we've won in 24 years!
(Disclaimer: I missed everything else of that match and happened to catch the shootout as they were lining up the first ball to be kicked)
FYI: I started #clojure-europe as mentioned by @otfrom recently... feel free to come over and say good morning.
@lady3janepl NO! it is a European channel... not an EU channel. And as Boris says... we are not leaving Europe.
doggerland forever!
I thought there were plans to put people on benefits to work at pushing the island off the continent?
@djtango I would suspect you're either: - using a version that doesn't have it - using it from cljs - not on the version you think you are
blah.core=> (require '[clj-time.spec])
FileNotFoundException Could not locate clj_time/spec__init.class or clj_time/spec.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name. clojure.lang.RT.load (RT.java:463)
am definitely on 1.9 and have recompiled the project with lein repl a couple of times
dumb question but have you got it in ur deps? and are u requiring the right file? And did u restart ur repl?
I failed to spot there were two clj projects in the root and ctrl-p vim went to the wrong project clj 😭
to be fair, it did tell me there were two and even was polite enough to show that one was nested in a subdirectory
@djtango way OT, how do you manage your plugins? I've been searching for the holy grail of:
load#plugin('tpope/vim-eunuch')
let g:vim_eunuch = 'blah'
load#plugin('blahblah/gruvbox')
colorscheme gruvbox
minpac comes close, but doesn't support local paths which is key as I develop my own plugins.I use vundle and do it really primitively: https://github.com/djtango/dotfiles/blob/p50/vimrc 🙈
(as in press the tab key). Also ctrl-p doesn't have a problem opening the same file in two golden view splits/tabs in my setup
It's worth a try, I think some people hate that moving between panes can make the code move slightly
(My current setup involves using https://github.com/zyedidia/Literate to tangle a vimrc back together, not very pretty)
I can't seem to figure out from the docs whether or not it will be "easy" to connect to a Datomic Cloud instance from an EKS environment, or whether or not I will be able to connect to my existing RDS cluster from a new EKS environment...
@maleghast I'm not, but why wouldn't you be able to?
Well... I tried to build a K8s cluster when I was in the Philippines, and I built it in its own, new VPC (as recommended at the time) and that was all fine, but when we deployed Containers into it, they could not "see" or connect to the RDS instance we were using, which was (clearly) on a different VPC.
https://docs.aws.amazon.com/eks/latest/userguide/IAM_policies.html my initial thought is that the eks would need policies
EKS builds in its own VPC. Datomic Cloud builds in its own VPC. I have an existing RDS Cluster in another VPC. I want them all to talk to one another.
I was probably "doing it wrong" and if I can figure that out and "do it right" then I will be all golden..?
ooo @maleghast i hadn't seen EKS - that looks very interesting
@mccraigmccraig - I hear good things from non-Clojure friends who are using it...
@maleghast lambdas which are clojure-start-time friendly, with all the automatic blue-green love you'd otherwise build yourself.
when i've used some AWS managed services (CloudFormation based DC/OS iirc) i've had to do some manual VPC changes to get things talking to each other
@dominicm - They will certainly be a part of the overall platform if they deliver what you say, but there are things we are doing what need to go beyond the serverless paradigm (I think at this stage)
@maleghast just wondering, what? 😄
@mccraigmccraig - Yeah, I figure that I may need to do some tinkering...
Given that Datomic Ions plugins into AWS Lambda, you can potentially lean on Lambda a lot for handling things that normally wouldn't fit in Serverless.
we have potential issues about tenancy and privacy and shared infra with some of the clients we are chasing, but I'd like to explore doing more this way if we can...
i took the view that clients who require unshared infrastructure are clients who we can't service for some time @maleghast ... which seems a reasonable view to take given our market, but i guess might not be reasonable in other markets
Sadly it came up in early meetings with beta partners - it’s something we are going to have to live with... :-(
anybody got figwheel working with 1.9? did you have to pin a particular version to get around the core.async
CompilerException clojure.lang.ExceptionInfo: Call to clojure.core/refer-clojure did not conform to spec:
error?
@mccraigmccraig what is that market?
@alex.lynham it uses 1.9 by default it looks like
my bad
looks like it yeah
this is why coding after work on yr own is the hardest work. tired plus alone. thx for the assist ^_^
This is my trouble with home projects, i get home my brain is toast and i just want to chill
mmmm toast
@alex.lynham medium to large companies with lots of deskless workers, initially in retail & hospitality. turns out that none of them have been too bothered about multi-tenant so far anyway
ah cool
the funny thing is, my code is already in prod, I’m just going back to get repls and a nice dev workflow going for further functions and the dependencies are messing with my cool
0->prod: 30 mins 0->repl: 3 hrs
yeah you really get spoiled by how easy the nrepl experience in jvm clojure is
I think this is actually working, it’s just that I don’t have an actual web stack as part of this project
does figwheel require a stub web page just to run the cljs repl?
ah yeah you’re right
well it bundles a 404 at least
because normally I’d hit localhost:3449 say, and then I’d watch the repl go from user=>
to cljs=>
ah, without a webserver might have to do this https://github.com/bhauman/lein-figwheel/wiki/Node.js-development-with-figwheel#nodejs-standalone-application-development-with-figwheel
b/c we’ve not got the stuff it exposes I think we have to shift that task onto node… I think, anyway
okay, that works to trick figwheel into running a repl…
I AM INVINCIBLE
when I’ve finished it I’ll write a post and try and get the changes added back into the upstream template as a +figwheel
flag or something so we can dev nice n’ easily