This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-09
Channels
- # admin-announcements (5)
- # architecture (8)
- # beginners (7)
- # boot (41)
- # braveandtrue (1)
- # cider (77)
- # clara (3)
- # cljs-dev (56)
- # cljsjs (7)
- # cljsrn (7)
- # clojure (44)
- # clojure-austin (3)
- # clojure-brasil (1)
- # clojure-hk (3)
- # clojure-russia (137)
- # clojure-spec (14)
- # clojure-uk (44)
- # clojurescript (33)
- # cloverage (3)
- # core-async (10)
- # css (1)
- # cursive (16)
- # datomic (116)
- # devcards (14)
- # emacs (1)
- # events (1)
- # funcool (2)
- # functionalprogramming (1)
- # hammock-driven-dev (1)
- # jobs-rus (124)
- # lein-figwheel (1)
- # leiningen (1)
- # liberator (4)
- # melbourne (3)
- # mount (73)
- # off-topic (3)
- # om (4)
- # om-next (15)
- # onyx (38)
- # other-languages (4)
- # perun (2)
- # proton (36)
- # protorepl (2)
- # random (1)
- # re-frame (56)
- # reagent (7)
- # specter (4)
- # testing (1)
- # untangled (13)
- # yada (18)
Morning
It's not really- just late start for most of the team.
I always have my laptop on public wifi just once things 'kick off' I don't get to use it much.
morning
netty continues to make me 😢 every project which directly depends on it should use a shaded version
@otfrom: currently i have a version 3.7.0
pulled in by onyx through ZK, and a 4.1.0.CR3
by aleph... they actually seem to work together, so i'm tempted to leave it, because afaics i can't solve it without removing the aleph dependency (which is only for an http client in this case, so doable if really necessary)
also netty changed their "all" dep from io.netty/netty
to io.netty/netty-all
which is the only reason i could have two versions around since i always use :pedantic? :abort
whatever the weaknesses of node's archive or package deduping or lockfile, their runtime solution is so much better than this "find the golden version combination" hunt which java/mvn forces on you
@otfrom: datastax do the right thing with the cassandra java-driver - they provide a version with a "shaded" netty i.e. a netty which has been re-written to a private package https://github.com/datastax/java-driver/tree/3.0/manual/shaded_jar
but the smell of eau de hack is very strong
I don’t think I’ve yet seen a package manager that contains all the best features around
allowing differently versioned dupes in subtrees, allowing parents to substitute, providing lockfiles for the whole tree are the big ones imo
@mccraigmccraig: wondering if you have any views on what the best way is to talk to cassandra using components (session components) - we (Mastodon C) have an old project lying around which uses a protocol on the component itself for execute, prepare-statement, execute-prepared and a with-session wrapper which does some clever things to pass in the session object, but not sure what the best practice is nowadays (first messy bits of our project here https://github.com/MastodonC/kixi.heimdall/pull/1)
@elise_huard: we use this https://github.com/employeerepublic/er-cassandra/ for all our cassandra interactions ... there's a high-level session protocol, and a low-level session protocol
we don't really use prepared statements - there's only really an advantage if you are doing boatloads of the same statement (and then there is a massive advantage) but our statements are very mixed
mccraigmccraig: I think this auth(n|z) service will hit the same query reasonably frequently.
we pass the session explicitly - our system is entirely async, so with-x doesn't work so well
mccraigmccraig: thank you, I'll have a look at the code! inspiration is welcome
yw @elise_huard - it's very much a work in progress, and the testing stuff isn't really there yet... soon though 🙂
oh, and the README is radically out of date 😊
feel free to ask questions... the general idea is that the model level stuff allows you to automatically maintain a primary table, secondary tables, lookup tables and unique-key tables (lookups with a unique constraint) for a model entity type - you get select/upsert/delete for entity maps, and the lib does all the required inserts/updates/deletes of all the different tables (including unrolling collections for lookup tables), runs LWTs for the unique keys etc
uh i got a (っ⌒‿⌒)っ @otfrom - looks like it's working
@quentin: erc is an emacs irc client
Oh it really does! I need to recompile though: M-x xwidget-webkit-browse-url: user-error: Your Emacs was not compiled with xwidgets support
https://github.com/rhysd/NyaoVim someone came up with this for vim, which works nicely