Fork me on GitHub
#clojure-europe
<
2020-12-07
>
dharrigan06:12:12

Good Morning!

slipset07:12:34

@dharrigan seeing your avatar and your exclamation mark really makes me think you’re a morning person :)

dharrigan08:12:59

I am. 4:30 this morning.

dominicm08:12:01

I woke up blurry eyed today. Not very often that happens.

orestis08:12:42

Is it common in Northern Europe to just accept that you’ll have a sore throat for the winter or was my doctor messing with me? (They mentioned Danish winter cough, that was before COVID but now I have it again!)

ordnungswidrig09:12:45

Does anybody know about a tool (lein plugin, kondo, whatever) that would report using a namespace (e.g. require it) from a library which is only a transitive dependency?

otfrom09:12:55

I don't have a sore throat all winter (live in Scotland have lived in Chicago and Philadelphia where the winters were harder)

borkdude09:12:03

@ordnungswidrig kondo can do this using its analysis output

borkdude09:12:13

But you can also use (binding [clojure.core/*loading-verbosely* true] (require 'something)) and it will print on every require

borkdude09:12:33

e.g.:

user=> (binding [clojure.core/*loading-verbosely* true] (require '[babashka.impl.cheshire]))
(clojure.core/load "/babashka/impl/cheshire")
(clojure.core/load "/cheshire/core")
(clojure.core/load "/cheshire/factory")
(clojure.core/in-ns 'cheshire.core)
(clojure.core/alias 'factory 'cheshire.factory)
(clojure.core/load "/cheshire/generate")
(clojure.core/in-ns 'cheshire.core)
(clojure.core/alias 'gen 'cheshire.generate)
(clojure.core/load "/cheshire/generate_seq")
(clojure.core/in-ns 'cheshire.generate-seq)
(clojure.core/refer 'cheshire.generate :only '[tag JSONable to-json i? number-dispatch write-string fail])

ordnungswidrig09:12:41

oh nice. thanks a lot

thomas10:12:54

aaarrrrgghhhhh I had some untracked files... and lost them with git stash 😠 😠 😠 😠 😠 😠 😠 😠

dominicm11:12:30

git stash pop?

ordnungswidrig13:12:34

also git stash list (I often have so many stashes that I need to clean up regularely)

thomas14:12:31

my understanding is that untracked files are not stashed.

ordnungswidrig14:12:44

Unless you do a -f command git won’t touch any unstracked file anyways.

borkdude14:12:02

I develop a lot of my open source projects on Dropbox. It sounds crazy, but I always have an extra backup. It has served me well when I deleted an entire .git folder while having in progress work only locally...

borkdude14:12:18

Btw if you're on a mac, Time Machine might also still have it somewhere

ordnungswidrig14:12:53

Yes, Time Machine has save my butt ac couple of times, when I accidently delete an uncommitted file or git -f-ed over my changes.

genRaiy17:12:12

@slipset isn't it a truism that people held up as heros in productivity books, and this author has produced many, suffer from survival bias? Quite literally for groups of elite military kill teams. In other words, I really don't care what they say cos it's highly unlikely to be useful in my situation

genRaiy17:12:29

and that's not say that I don't think that they can make for interesting reads - but just not as something which I would treat as a model for my organisation / life

genRaiy17:12:06

ie how many TODO apps are we currently using ... at least 10 for me and they're all terrible 🙂

slipset17:12:07

I would argue that “The culture code” seems to have done some sort of research. Its main finding is that psychological safety seems to be very important if you want to create a winning organization.

slipset17:12:28

I’m sure there are other findings as well, but that was my main take-away.

slipset17:12:30

As in, if you feel that you’re allowed to say “stupid” things within your group, that’s a good thing. Much like I feel in this channel.

👍 3
genRaiy17:12:44

ok ... not sure how that [ can we agree somewhat ineffable? ] concept is related to learning how to organize coders better from people operating in the Iraqi kill zones

slipset17:12:21

I’ll try. People operating effectively in Iraqi kill zones seem to form groups in which it is psychologically safe to ask the stupid questions/make “honest” mistakes. The same people have debriefs after missions to make sure they learn from any mistakes done during the missions. I know that I work better in orgs where I feel safe enough to ask the stupid questions. I also really enjoy working in orgs which are constantly trying to get better. To pull in another one from the killing fields, “Extreme Ownership” by, wait for it, Jocko Willinck. Basically, the main idea in that book is that everyone on a team (of killers) take total ownership, basically, the buck stops here. You could look at the from a devops perspective: You write the code, you deploy it, and you fix it when it breaks production. Also the kind of org I want to work in.

slipset17:12:58

But, as I think the Culture Code says, these are traits of highly efficient teams, of actors, thieves, sports people, and Iraqi killer squads.

genRaiy18:12:24

Organisations that contain such teams have many gatekeepers to ensure entry to those teams fit certain profiles. What we are learning is that those functions often serve to limit diversity of people and thinking. I prefer putting risk on diversity than alignment

otfrom21:12:35

Diversity requires a lot of psychological safety as well (tho I don't have a citation to hand)