Fork me on GitHub
#clojure-uk
<
2017-01-20
>
maleghast03:01:10

@otfrom - Oh my God, man! You'll still be awesome you, stop fretting!

dominicm09:01:59

All my slacks are now threaded

thomas09:01:55

nothing here (yet)

thomas09:01:13

did you have to do a client upgrade @dominicm ?

dominicm09:01:50

@thomas no, just happened. In fact some were threaded before others (48h gaps). Though I think @agile_geek implied desktop apps aren't automatic. Clojurians is threaded now, so you should see it.

thomas09:01:30

ok, I use the app. maybe that is why

peterwestmacott09:01:40

you might need to re-start the app

agile_geek09:01:49

Can't talk about anything except the Linux client..which is what I have.

peterwestmacott09:01:07

it should be identical - aren't they all just web pages in a frame?

thomas09:01:11

clients should be very very similar as it is Electron based I think

dominicm09:01:14

I found the Android app didn't need to do anything.

thomas09:01:28

let me restart...

dominicm09:01:33

Just mid chat it would appear on the UI

dominicm09:01:52

I still don't really see the advantage of the desktop apps over running a browser window.

thomas09:01:01

restarted... but no change (yet)

thomas09:01:42

and now I have threads!

thomas09:01:16

this is intereting

thomas09:01:26

I can see threads... yeah

mccraigmccraig09:01:26

will this appear twice?

peterwestmacott09:01:14

I think only if you tick the check box below. ("Also send to #channel")

agile_geek09:01:48

@dominicm I often accidently close the browser tab...I suppose I could just open it in a new window instead.

dominicm09:01:40

agile_geek: I use tab groups to have a communications group which contains slack. I used to have the important ones pinned.

agile_geek09:01:51

I can see threads in desktop client now so may have just needed a restart

thomas09:01:06

so how do you start a thread?

mccraigmccraig09:01:24

hover over a messaage @thomas

thomas09:01:29

aah ok.... mouse over and there is thingy at the end

mccraigmccraig09:01:03

weirdly i could see your last thread twice tho @thomas

thomas09:01:11

yes I can see that as well

thomas09:01:28

maybe because I copied it to the channel

mccraigmccraig09:01:17

ah, perhaps... looks like a bug tho

thomas09:01:39

maybe... not sure how this is all intended to work yet....

yogidevbear10:01:29

Morning. I'm using the mobile app and the desktop client. Mobile app you need to click on a message to see the thread option. Desktop client, I had to reload the view (top-most left menu on Windows) and then when you hover over a message you see the icons on the right (emoji, thread, share, ellipses)

yogidevbear10:01:16

If you tick the "Also send to #channelname" checkbox, it posts it again into the channel as opposed to just keeping it inside the initial post

dominicm12:01:10

Sorry, that was supposed to be me supporting symlinks. I just murmured it like a chant

otfrom14:01:54

mmm.... symlinks....

thomas14:01:38

(or something like that)

minimal14:01:37

hard links, soft links, or red white and blue links?

otfrom14:01:09

minimal I think they are calling it "clean links" now

minimal14:01:22

ah yes, of course

jasonbell14:01:28

Oh it’s a long while since I played with Neo4J, I need to get back into it again.

mccraigmccraig14:01:06

these days, don't you want titan instead @jasonbell ?

jasonbell14:01:43

Never tried titan?

mccraigmccraig14:01:43

aurelius got acquired by datastax last year and titan rolled into DSE i think

mccraigmccraig14:01:37

i think those last two will work against titan

tcoupland14:01:41

this is abit embarrassing, but has anyone, please, got a better way of doing this:

(defn vec-if-not
  [x]
  (if (or (nil? x)
          (vector? x))
    x
    (vector x)))

peterwestmacott15:01:46

tcoupland: (and x (if (vector? x) x (vector x))) ?

tcoupland14:01:08

end up with this function all over the flipping place and there just has to be a better way

otfrom14:01:48

mccraigmccraig looks like titan is datastax enterprise only 😕

mccraigmccraig14:01:54

i have a very similar fn

(ns er-model.util.vector)

(defn coerce
  ([obj] (coerce obj []))
  ([obj default]
   (cond
     (nil? obj) default
     (vector? obj) obj
     (sequential? obj) (vec obj)
     :else [obj])))

mccraigmccraig14:01:43

yes @otfrom titan is DSE only

mccraigmccraig14:01:14

but DSE is free until you have $5M revenues or $50M in raises, which is quite nice

otfrom14:01:21

mccraigmccraig I'd have to go back and look at my stuff for conforming

tcoupland14:01:33

stay away from conforming!

otfrom14:01:43

yeah, but old titan was open source

otfrom14:01:54

tcoupland y u no like conforming?

tcoupland14:01:57

you cld drive yourself mad doing it like that!

mccraigmccraig14:01:00

oh, god, are you suggesting scala implicits ?

peterwestmacott14:01:50

would a multi-method be nicer?

tcoupland14:01:05

i think your 'conformer' would just be the same crummy method when you got down to it anyway 😉

otfrom14:01:17

I suppose I've only really had a play in my spark code (conforming strings to vectors of stuff)

otfrom14:01:30

tcoupland yeah, it does end up looking pretty similar 🙂

peterwestmacott14:01:40

@mccraigmccraig surely whatever happens, at least you still have to explicitly call a function or macro

otfrom14:01:50

and again. I don't code any more. You get that fun. Most I've done today is a really ganky shell script

mccraigmccraig14:01:54

@peterwestmacott i dunno - i haven't played with spec yet, so i have only the vaguest notion of how it pans out in practice

jasonbell15:01:10

did someone say “conforming”?

peterwestmacott15:01:14

if it pans out like scala implicits, then I'll eat my hat

peterwestmacott15:01:39

surely Rich wouldn't do that to us!

tcoupland15:01:33

you'd always have to call something, i just wish it looked a bit nicer really

tcoupland15:01:24

something like ensure-seq maybe

tcoupland15:01:32

i might start calling it that...

yogidevbear16:01:10

O'Reilly have 50% early release deal of the day on an Erlang book if anyone is interested http://shop.oreilly.com/product/mobile/0636920056690.do?code=DEAL

yogidevbear16:01:28

I think it applies the discount at checkout

mccraigmccraig17:01:18

docker cloud is pretty cool - i've just set up CI+CD on it and it was v easy - using docker-compose to run the test environment is just awesome

mccraigmccraig18:01:13

refheap replacement anyone ? refheap's login no longer works...

glenjamin19:01:41

that’s a shame, I always liked refheap

mccraigmccraig19:01:59

who did refheap ? its login has stopped working because mozilla-persona has been killed off... it's possible whoever did refheap doesn't even know...

gjnoonan19:01:39

I don't know if anyone has Taken on Refheap

mccraigmccraig19:01:42

oh, that's saddening 😞

gjnoonan19:01:29

The source code is on his github, I'd be happy to move the service onto clojurians

gjnoonan19:01:49

Just need to find out whom to speak to

dominicm20:01:15

I feel a little sad each time I see his name on something. Kinda makes me feel like I should be more prepared

glenjamin20:01:46

Oh shit, I forgot about that :’(