Fork me on GitHub
#tools-deps
<
2018-11-15
>
avi16:11:19

Just wondering if anyone’s figured out a way to get tools.deps to use a http proxy when downloading Maven deps, other than applying the patch in https://dev.clojure.org/jira/browse/TDEPS-20 ? I’m just being lazy I guess, putting off learning how to patch tools.deps and install and use the patched version…

alexmiller16:11:27

I don’t think there is any way to do it but to fix that (and would be happy to see a patch for it)

alexmiller16:11:41

oh, there is a patch for it, sorry

alexmiller16:11:51

well, then you just have to wait :)

alexmiller16:11:03

I’m probably not going to have much time to look at tools.deps stuff until post-conj

avi16:11:19

totally understandable, no worries! Thanks for the clear and helpful response!

martinklepsch17:11:55

Is there any documentation on how tools.deps resolves deps? Specifically wondering what happens when two dependencies depend on 'A but in different versions

alexmiller17:11:16

the general idea is to always take the newest

martinklepsch17:11:14

Ok, that's great. Does that "general idea" imply any exceptions to that rule where the older artifact would be chosen?

alexmiller17:11:59

the complexities come when you consider the full graph

alexmiller17:11:22

A -> B1 -> C2 -> B2 -> C1

alexmiller17:11:52

do you get {A, B1, C2} or {A, B2, C1} or {A, B2, C2}

timgilbert17:11:25

I'm glad I'm not the one who needs to figure that out 😉

alexmiller17:11:01

it’s actually NP-complete I believe

alexmiller17:11:14

in the general case

alexmiller17:11:14

fortunately most actual cases are pretty “easy”

timgilbert17:11:52

...unless they involve jackson, I'm guessing

alexmiller18:11:06

yes, that is the exception :)

alexmiller18:11:26

and unfortunately, every dependency set includes at least 9 versions of jackson

picard-facepalm 2
andy.fingerhut18:11:20

A new complexity class: jackson-complete

😆 1
andy.fingerhut18:11:59

Although that might be equivalent to: undecidable 🙂

mfikes18:11:52

Entjaksonsproblem

😂 1
andy.fingerhut19:11:23

Oh, that is good. You even Deutsch-ified the spelling of Jackson. Love the attention to detail there 🙂

alexmiller19:11:28

now that’s a t-shirt with sufficiently small audience

andy.fingerhut19:11:02

A sufficiently small audience to .... not make it?

alexmiller19:11:46

to be fun :)

alexmiller19:11:06

a joke t-shirt with an audience of 1 is not fun, because you can’t share it. And a joke t-shirt with an audience of large N, is cliche. So you have to find that sweet spot in the middle. :)

alexmiller19:11:53

this is bigger than 1, but not by much :)

andy.fingerhut19:11:48

Got it. It is pretty easily explained to anyone at the Conj, if they don't get it immediately (I wouldn't without this conversation)

andy.fingerhut19:11:44

As a reminder, if you think Rich would see a "channeling Rich sayings" T-shirt as a tribute (as it is intended), not a weirdness or offensive, I would be happy to bring some to the Conj 🙂

alexmiller19:11:40

prob not the best idea

andy.fingerhut19:11:48

But also happy to never bring it up again if he doesn't want to see such things.

alexmiller19:11:59

for someone with such great care for words, I hate to ascribe any words to him

andy.fingerhut19:11:27

Understood. He isn't the only person like that, and such people should get to be upset with people that misquote them, especially if the meaning is changed. FYI, I do take pretty significant care in transcribing his talks. I think I've listened to the ones I have transcribed at least 4 times each now.

seancorfield19:11:46

Maybe we should make some

(rich (comment forms))
T shirts? off-topic

alexmiller19:11:04

I don’t get that

alexmiller19:11:22

I appreciate the care in the transcripts - he’s never complained about those

seancorfield19:11:47

Stu talked about Rich Comment Forms in his "Running With Scissors" talk.

alexmiller19:11:48

and I know he appreciates having slides+text together for context

alexmiller19:11:57

oh, I haven’t watched it yet :)

seancorfield19:11:29

And observing it was a pun on the (comment ...) forms being "rich" with exploratory code and it also being a habit of Rich to use comment that way.

alexmiller19:11:08

clearly the circle is too small for a t-shirt :)

alexmiller19:11:49

fwiw, I made a custom “O(log32 n) is good enough” t-shirt for Conj 1 :)

😄 1
dpsutton19:11:05

if you donated that design to clojurist together i bet they could raise some money for projects by selling the t shirt. i would for sure get one

alexmiller20:11:17

well feel free to make one yourself, mine was certainly nothing special and I don’t have it

andy.fingerhut20:11:31

http://customink.com makes it really easy to create T-shirt designs, I found out recently

andy.fingerhut20:11:25

I have never bought anything from them, so don't have knowledge of the full experience front to back.

dpsutton20:11:37

i made some tshirts for my team at my last company through them. I still get emails to make mouse pads and other things with that design 2.5 years later

dpsutton20:11:42

but the shirts were/are great

gfredericks01:11:20

...mouse...pads?

gfredericks01:11:53

I don't think I've even seen a mause pad for at least fifteen years

andy.fingerhut19:11:18

I guess we'll have to live with these continuing to be the only Rich-approved fan club T-shirts: https://clojure.org/community/swag

alexmiller19:11:12

well, all the conference t-shirts too :)

cfleming20:11:17

I still love my conj 2014 t-shirt.

dpsutton20:11:48

my clojure west 2016 and strangeloop 2016 are my two favorite shirts

cfleming20:11:50

Not many other conference t-shirts stick around for long.

andy.fingerhut20:11:31

And here I thought the biggest benefit of the conferences was listening to the talks, and the hallway track 🙂

cfleming20:11:06

No, listening to the talks is totally overrated, it’s only the hallway track 🙂

cfleming20:11:56

At least for me, since I can watch talks online, but seldom get to chat with others who understand what I’m talking about.

andy.fingerhut20:11:19

But clearly I have missed out on some great T-shirt buying opportunities that are not available elsewhere. This should be in the conference advertisements!