clojure-europe

For people in Europe... or elsewhere... UGT https://indieweb.org/Universal_Greeting_Time
dharrigan 2020-12-07T06:51:12.058800Z

Good Morning!

slipset 2020-12-07T07:48:34.060100Z

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

dharrigan 2020-12-07T08:12:59.060400Z

I am. 4:30 this morning.

dominicm 2020-12-07T08:13:31.060600Z

Morning :)

dominicm 2020-12-07T08:14:01.061500Z

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

plexus 2020-12-07T08:15:36.061800Z

Morning!

thomas 2020-12-07T08:16:19.062Z

morning

borkdude 2020-12-07T08:32:30.062200Z

morning

orestis 2020-12-07T08:34:24.062400Z

Morning

jasonbell 2020-12-07T08:35:34.064Z

Morning

orestis 2020-12-07T08:35:42.064300Z

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!)

ordnungswidrig 2020-12-07T09:05:06.064500Z

Good morning!

ordnungswidrig 2020-12-07T09:05:45.065300Z

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?

2020-12-07T09:12:07.065500Z

morning

2020-12-07T09:12:55.066Z

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

borkdude 2020-12-07T09:16:03.066300Z

@ordnungswidrig kondo can do this using its analysis output

borkdude 2020-12-07T09:17:13.067500Z

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

borkdude 2020-12-07T09:19:33.067700Z

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])

dominicm 2020-12-07T09:24:51.068300Z

@ordnungswidrig I have a thing for that.vizns. https://github.com/SevereOverfl0w/vizns

ordnungswidrig 2020-12-07T09:42:41.068600Z

oh nice. thanks a lot

thomas 2020-12-07T10:21:54.069400Z

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

dominicm 2020-12-07T11:48:30.069600Z

git stash pop?

dominicm 2020-12-07T11:49:24.069700Z

https://youtu.be/9QkRznlJiek?t=17

ordnungswidrig 2020-12-07T13:41:34.070600Z

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

thomas 2020-12-07T14:15:31.071200Z

my understanding is that untracked files are not stashed.

ordnungswidrig 2020-12-07T14:24:22.071500Z

exactly.

ordnungswidrig 2020-12-07T14:24:44.072100Z

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

borkdude 2020-12-07T14:44:02.073Z

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...

borkdude 2020-12-07T14:45:18.073400Z

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

ordnungswidrig 2020-12-07T14:51:53.074200Z

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.

raymcdermott 2020-12-07T17:34:12.077500Z

@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

raymcdermott 2020-12-07T17:35:29.078900Z

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

raymcdermott 2020-12-07T17:36:06.079700Z

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

slipset 2020-12-07T17:38:07.081800Z

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.

slipset 2020-12-07T17:38:28.082200Z

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

slipset 2020-12-07T17:39:30.083700Z

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.

👍 1
raymcdermott 2020-12-07T17:40:44.084800Z

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

slipset 2020-12-07T17:47:21.090500Z

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.

slipset 2020-12-07T17:54:58.092700Z

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

raymcdermott 2020-12-07T18:01:24.096800Z

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

2020-12-07T21:22:35.099900Z

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