Fork me on GitHub
#off-topic
<
2017-02-01
>
emccue05:02:32

I'll confess that I don't fully understand what the newest clojurescript/closure updates mean in the big picture

emccue05:02:43

Are we getting to the point where we can go (:require [node.react :refer [something]])

emccue05:02:35

Is the task of writing externs ultimately automatible with more work?

emccue05:02:58

Are we still going to have to access js via the window object?

eslachance10:02:39

me > Boss, I can't come in today
boss > Why? 
me > Gitlab is down
boss > We don't use gitlab
me > I know
boss > so why aren't you coming in
me > I have to spend the day memeing at gitlab about how they failed to make any of their 5 backup solutions work
boss > Take all the time you need.

ejelome10:02:21

lol, painful

sveri10:02:15

How to figure out you have become to old: Read some joke about memeing, wondering what that exactly is and what it has to do with gitlab failing to do backups and why some guy cannot come for work in the joke because of that memeing thingy. Check - Achievement reached 😄

ejelome10:02:07

so we either just use an isolated gitlab or move to bitbucket

ejelome10:02:28

for private repos ...

jstaffans11:02:33

do you guys have good managers? What does it mean for a manager to be good?

jstaffans11:02:20

I just got a new manager who does a caricature version of scrum, and can’t provide any arguments as to why we should do things the way he wants. Except for arguments from authority — “I’m the manager, do as I say"

jstaffans11:02:07

I have heard about this kind of manager species, but this is the first one I ever see live 🙂

schmee11:02:37

jstaffans run, run as fast as you can

jstaffans11:02:03

yes indeed, I

jstaffans11:02:35

I’d be voting with my feet right away but I’m going on extended parental leave soon, so I won’t bother

arnaud_bos11:02:24

I've never really had a manager before but I've had one here, really pushing things forward, providing good arguments about why things were going the way they went, what was going on, with a great capacity to listen and being empathic, I think those a key caracteristics on the other hand the new one seems to have less ability to listen, and shows the typical "new manager doesn't want to play with his predecessor's toys" behavior I've heard about but never witnessed before, which is annoying, but I guess he wants to move things forward too, so he need to be given a chance, I'm leaving but it's not because of that. Maybe give him a chance, he may be facing new challenges and needs some time to get back on his feet and if you can't discuss because "he's the manager", you won't be able to do much 🙂

jstaffans12:02:22

I think it’s telling how a manager responds to “why” types of questions, if it causes him or her to try to discover the need I have that I’m trying resolve or if the question is just brushed off with some appeal to authority or irrelevant statement

ejelome12:02:38

imho, good managers do coaching, they're like those good teachers, they don't see you as their student, but their children.

ejelome12:02:50

I think Bob Taylor of Xerox PARC is a great example of what managers should be like

sveri12:02:00

While I also voted for the "run fast" approach, if you want to go anyway, you might want to take the chance to practice a new approach. For instance you could try to get into a chat with him. Where chat means you listen and ask honest questions. Questions that make him feel safe, questions directed into his interest. Try to view everything from his side of things. Be as empathic as you can. Try to understand his goals, his personal goals (not a general managers goals that you think every manager has). Try to understand him as a person. There are many different types a person can be and there are only a view types that are really hard to handle (like the narcistic ones for instance). Try to get into his brain as best as you can. Not to manipulate him, but to understand him.

sveri12:02:37

If you understand someones needs, you will mostly find a way to align his needs with your needs. And if not, at least it makes things clearer.

ejelome12:02:38

sveri basically means, do the Dale Carnegie approach 🙂

sveri12:02:29

Well, it boils down to it. If you know who Dale Carnegie is 😉

jstaffans12:02:27

Very good advice sveri! I think the Dale Carnegie approach (I’ve read the book as well) is easy to understand but takes a lot of practice to do right, this is a good opportunity for that

sveri13:02:10

🙂 thank you jstaffans. Actually I read many more books abount negotiations and similar stuff, all younger than the Carnegie books. But most of them boil down to what Carnegie wrote back then, which I find very interesting.

sveri13:02:50

Also I try to practice this all the time whenever I have the patience. And I remember when I started with it my girlfriend was half angry, half laughing because it was so obvious. But over the years it has become better and while she mostly recognizes it, it works pretty good. Also with my little one, most of the times he becomes very easy to handle if you treat him with respect and listen to him, ask honest questions and care about his problems no matter how urgent your own ones are. That said, patience is the key, its not always easy to discuss things like sleeping time after a long and stressfull day 😄

schmee13:02:08

sveri what book are you referring to?

sveri13:02:52

@schmee https://www.amazon.de/dp/B01N1F24U7/ref=dp-kindle-redirect?_encoding=UTF8&amp;btkr=1 I cannot remember the other books I have read by name, but in general, the "non violent communication" topic goes into the same direction.

schmee13:02:14

ahh, I’ve seen that book crop up in a couple of places

schmee13:02:24

I’m gonna give in and order it!

sveri13:02:10

I can only recommend that. I read it like over 10 years ago and still find my self benefit from it.

sveri13:02:38

Also I would bet you can find a pdf version of that for giving it a trial 😉

jstaffans13:02:53

I’d recommend that one as well and another one called “The skilled facilitator” by Roger Schwarz

jstaffans13:02:22

I found that one much more approachable than the NVC book

sveri13:02:30

@jstaffans Is that only useful in a business context or more general?

ejelome13:02:07

after reading Dale's book, go read Sun Tzu's, it will be hilarious 😄

jstaffans13:02:59

@sveri, the examples are all very business-oriented but the content is more general than that

jstaffans13:02:54

It’s written from a facilitator’s point of view, but the ideas around what constitutes a productive meeting/conversation are universally applicable, I'd say

sveri13:02:30

Cool, thank you very much 🙂

ejelome13:02:04

@sveri do you have a good reference where it's specified those types of people where Dale's book is ineffective? or at least something that discusses the exceptions

sveri13:02:22

@ejelome Nope, I dont have a written one. Its more based on my experience with people close to me or that I interact with regularly. Like my wifes father for instance is narcistic (its diagnosed and not some made up stuff) and listening to him will not achieve anything, neither for him nor for you. Dealing with narcisistc people basically means, take them as they are or dont interact with them.

ejelome14:02:16

thanks @sveri, being an introvert, it's kinda makes the practice more challenging, in a sense that it's more difficult since the mind prompts more warnings before you even begin talking

pesterhazy14:02:23

I highly recommend it

sveri14:02:01

@pesterhazy There are several books about NVC, but yes, that is one of these I read and yes, I would also recommend it 🙂

pesterhazy14:02:20

and it's directly relevant to his (good) advice about communicating with empathy with people, including those who are hostile towards you

pesterhazy14:02:40

this video shows the author to have a sense of humor: https://www.youtube.com/watch?v=YwXH4hNfgPg

sveri14:02:54

@ejelome It must be pretty hard to have this internal barrier that keeps you from doint what you want to do

ejelome14:02:53

it's not really that bad, although probably it's also my fault for not exploring outside its zone, to each his own I guess XD ... now watching NVC 😄

sveri14:02:54

I also find the concept of believe systems very interesting, which might apply in your case ejelome. If you believe its hard for you to approach people it will be hard. If you believe its easy, it will be easy.

sveri14:02:38

Most beliefs are manifested in your childhood and often you are not even aware of a certain believe, or know why you believe.

ejelome14:02:27

hmmm, interesting, I think that's also a factor, childhood is a great factor in adulthood, esp. the culture where you grew, so belief system ...

sveri14:02:58

Exactly. Children believe in god because they are taught so. The same goes for Allah, Buddha, whatever religion there is. And the same is true for atheism, agnosticism or whatever the parents think is true or correct. Its the same for the whole life you live as a children and the teaching happens when you, as a child, have no influence in it at all. So its up to you as a later adult, to reflect about your beliefs.

ejelome14:02:07

now it gets more challenging, or in other terms, difficult 😄

ejelome14:02:56

I like this actually, to keep on questioning one's self

sveri14:02:15

From my experience, it makes my life more interesting. Because it opens possibilities for myself. I can change myself if I want to. Although I also understand people that say they are happy the way they are and just stick with what they learned. To each his own 🙂

ejelome14:02:12

thanks @sveri, glad to discuss a very interesting topic, thumbsup_all relationships are really one of life's greatest challenges 😄

sveri14:02:48

Yea 🙂 I totally agree. Relationships are what make your life worth living or not. If you decide so 😄 True freedom is hard to achieve. May I ask how old you are ejelome?

ejelome14:02:03

could not agree more, I'm still 28, not sure if still is the right prefix, hahaha

sveri14:02:37

Thats the age where I learnt most about these topics, I started around 25, I had a severe depression back then and basically had to relearn to live. Very interesting times, if you are into this kind of stuff 🙂

ejelome14:02:51

I don't think I can even survive a depression, so I try every way to avoid getting one, although tbh, I'm a bit the defensive pessimist type, though I'm pretty sure you're tougher now, that's one of the things I admire from those who suffer from problems like that (and survived), then after that, they suddenly become like SSJs 😄

ejelome15:02:38

oh wait, this is much better 🙂 https://25.media.tumblr.com/tumblr_m7t567LdAO1ryf7dio1_500.gif SSJ = Super Saiyajin (not sure if you like/watched DBz XD)

ejelome15:02:28

so yeah, after that life challenge, you guys basically become more powerful (than your former self at least :D)

ejelome15:02:11

... I'm kind of bad at giving examples like this

sveri15:02:19

Ah, never heard of that one. For me its not like that. I am different now, very different, from my former self. In good and bad ways. Like in everything, there are always tradoffs 😄

sveri15:02:19

Also, after 3 years getting a worse and worse depression without knowing I had one I was relieved to hear what actually happened to me. It gave me something to work on 🙂 But yea, not everybody is lucky, 17%suicidal rate is pretty bad. Not talking about about the side effects your medication might have.

ejelome16:02:48

ooopps, sorry @sveri, currently working; still congratulations on that new life, hope all the best to come your way 🙂

sveri16:02:52

@ejelome Thank you, the same to you, no matter what. Everyone deserves a good life 🙂

7h3kk1d21:02:24

I have a problem I’m solving and it’s not in clojure but I just want to figure out the functional way to look at it. I have a list of hashes that I’m transforming. I’m running a map on it and extracting some of the values out. I then want to deduplicate the list for hashes that have a certain key/value. I tried doing it using a reducer(transducer style). The only issue is I’d have to scan the entire reduced list every time to see if the added hash has that key value to see whether or not to add it again. I realize that the functional approach is sometimes less performant but is there some way to keep state in the reducer that would short circuit this case?

tokenshift21:02:50

Not sure I completely understand what you’re trying to do, but you may be able to pass both the final list (the thing you’re actually trying to reduce to) and a set of keys to check against as the aggregator.

7h3kk1d22:02:20

@tokenshift yeah, that actually makes a lot of sense!

7h3kk1d22:02:29

I could just pass [list flag]

tokenshift22:02:12

I often use a wrapping map instead of a list/tuple, just so I can give each of the pieces a name; that can make the reduce fn clearer. But either way works.

7h3kk1d22:02:37

I think it makes sense now that you’d have to carry the state forward throughout the transducing process or else it would be lost during some composition.

7h3kk1d22:02:53

Albeit a bit heavier.

qqq23:02:19

anyone here used both re-frame and om and can comment on the two?