This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-13
Channels
- # bangalore-clj (5)
- # beginners (94)
- # boot (145)
- # cljs-dev (4)
- # cljsjs (79)
- # cljsrn (18)
- # clojure (343)
- # clojure-dev (21)
- # clojure-dusseldorf (6)
- # clojure-india (1)
- # clojure-italy (2)
- # clojure-nl (4)
- # clojure-russia (62)
- # clojure-sanfrancisco (1)
- # clojure-spec (109)
- # clojure-taiwan (1)
- # clojure-uk (103)
- # clojurescript (102)
- # code-reviews (30)
- # component (1)
- # cursive (39)
- # datascript (7)
- # datomic (68)
- # emacs (11)
- # figwheel (1)
- # gorilla (1)
- # hoplon (234)
- # off-topic (46)
- # om (52)
- # onyx (32)
- # planck (9)
- # proton (4)
- # protorepl (5)
- # random (1)
- # re-frame (36)
- # ring (18)
- # ring-swagger (1)
- # specter (6)
- # untangled (3)
- # vim (56)
Morning
morning.
gmorning
congratulations @korny !
Congratulations!
Congratulations.
Congratulations. Your life long journey of wonder, delight....and absolute frustration begins here 😉
P.S. Cool name!
All well - Becky lost some blood and needed a transfusion, so we're still in hospital, but hopefully going home today.
It gets worse before it gets better...although the delirium that accompanies it can be quite a high!
It took me calling 8 times over a period of 2 weeks to get my account opened. 2 weeks after that they came to install. They seem to have gone to the wrong cabinet, they used that to say that I'm not covered (the cabinet is over the road from my house, and they drove off, definitely gone to the wrong place) Then my account was closed, without me being informed, and wires have been left hanging out my wall. I rang up saying "well, noone has contacted me, what's up?" and they told me the account was closed, and that accounts would call me. Still no call.
Currently getting in touch with our local office, seems that this is a common occurrence in the Coventry area.
Apparently they wired up a house down the road, even though it already had internal wires. So they have black wires running all over the wall/ceiling now.
is it virgin themselves who do it, or contracted out? I know Sky were in-housing these sorts of things to try and avoid such problems
I had an advantage that my area had cable when the houses were built then about 15 years ago virgin put fibre through the whole estate and I wasn't using it for several years so when I started all they had to do was run line from bottom of my garden and tweak cabinet at end of street. Took them about 30 mins.
hmmm my if nil
seems to get evaluated first time round to true... second time round to false... :thinking_face:
@thomas it's literally if nil
?
where's the if
@thomas ?
sorry... update it @mccraigmccraig
I had a if-let before... but trying to get close to the problem I wanted to print out answer
closer to the if.
@agile_geek They've done that in my estate (my house was finished a couple weeks ago!). They just seem deeply confused about it…
when I first load my page (or do a reload) I get the froala editor. I then go somewhere else.. come back and I get the disabled textarea... no change in state though. atoms all stay the same.
and when you come back you get the answer : nil
line in the console ?
I would replace that ^{:key "froala-view"}
line with a div so you can debug
Simplify rendering so you can see what's going on
let me give that a try @agile_geek
good idea @agile_geek it does seem to take the correct branch in the if statement (not really that surprising...) but it renders the wrong html for some reason.
It will be something to do with the froala editor thing bootstrapping itself using js
I've no idea what it does mind
If you're using external js, you sometimes have to have custom componentDidMount lifecycle methods
but thank you lovely people!!! you are all a great help with my adventure as a professional Clojure developer!
anyone have an opinion on current clj kafka clients ? is franzy the way forward @otfrom ?
@mccraigmccraig what version of Kafka?
Only used Kafka from Java...so I'm worse than useless! 😉
@jasonbell we're using kafka 0.10... our onyx is using franzy 0.1 and our api clj-kafka 0.3.4
I did a streaming example on the blog last week for K10 but that was just Java interop
both onyx (consumer) and api (producer) have been working fine for a good while against 10 - we encountered a bug in 9 iirc which went away with 10
packer?
sounds very interesting @jonpither let us know what your experience it.
I've known a project that used packer heavily - all machines were built with puppet + packer into AMIs, and then deployed via terraform. (I wasn't directly involved with that area, but I gather it went quite well)
will do. Will try and blog the final experience of terraform+packer+vagrant (not sure if Puppet will feature)
@mccraigmccraig cool, that’s handy to know on the Kafka10/Onyx front. Thanks for the info.
is it more or less an alternative to docker?
coming from the Java world, I’m not quite sure what the advantage is to containeristion, other than consistency with everyone else
i.e. an uberjar seems to get you 90% of the way there
@peterwestmacott It's basically to minimize dependency version mismatch (e.g. java version) and also global configurations (e.g... some kinda JVM_USER setting?)
The other benefit (though, I think this applies better to AppC format rather than Docker) is that it makes a good portable hosting target.
Re my problem earlier on... something is manipulating the DOM directly (looks like the Froala editor we use, and it in turn messes aroudn with jQuery 😡 ) I can't see the entries in the React DOM, but I can see them in the real DOM. more
@dominicm it is indeed... I am sure one day I'll get to the bottom of this... but probably not today.
@thomas https://github.com/ryanflorence/react-training/blob/gh-pages/lessons/05-wrapping-dom-libs.md as a rule, this man knows his stuff 🙂
most of the time you can use an empty <div>
in render with a callback-ref and sync data in didUpdate and you’ll be fine
Portals are so easy though. And worth it in case 1% of the time it's going to do some DOM manipulation without your awares