Fork me on GitHub
#off-topic
<
2018-06-28
>
dpsutton01:06:14

Walking the dog and then going for a run. Does anyone have some good audio to recommend? Clojure lisp programming related? (Any, all, none, whatever)

burke05:06:23

Maybe "Apropos #clojure" fits your description? Discussions about clojure features, libs etc. http://feeds.soundcloud.com/users/soundcloud:users:392838957/sounds.rss (also available as podcast)

dpsutton12:06:25

Can't remember if Ive done this one or not but I'll make sure to try. Thanks so much

šŸ‘ 4
eggsyntax16:06:24

I usually do conference talks. I find that 80-90% of them are understandable without the video.

eggsyntax16:06:15

If you haven't dug into Ions yet, there's an RH interview on Cognicast and a Stu Halloway talk on youtube. I've only heard the former at this point, but it was quite intriguing.

dpsutton01:06:58

Prefer to learn and not just an interview. Not sure how possible that is though

Alex Miller (Clojure team)02:06:11

ā€œthis is a burning priority for several production apps I developed and operateā€, really? why?

deactivateduser02:06:43

I have been a huge fan of Clojure for close to 6 years now, and an active advocate for it in my workplace and beyond. But exchanges such as this one, with one of the core team members no less, leaves me very cold.

Alex Miller (Clojure team)02:06:15

I am juggling 10000 things and deciding where I spend my time is critical

deactivateduser02:06:44

@alexmiller this question was not directed towards you - I suspect I can tell what your answer would be.

Alex Miller (Clojure team)02:06:45

it was not my impression from the ticket that this was anything above ā€œnice to haveā€

deactivateduser02:06:00

Why would anyone provide patches for something that was "nice to have"?

deactivateduser02:06:22

I mean I guess that happens sometimes, but I don't have time for that kind of thing (sadly).

Alex Miller (Clojure team)02:06:41

the vastness in perspective between that and what is in the tracker is hard for me to bridge

deactivateduser02:06:36

I think my months-long advocacy for merging this patch and fixing this bug speaks volumes. But I understand how juggling 10000 things may have meant you missed that.

Alex Miller (Clojure team)02:06:46

going back to my prior question - Iā€™m open to having misjudged this. I am surprised to hear this is a burning priority

deactivateduser02:06:24

I'm sure you are. I'm usually surprised by the kinds of things users ask for of the software I develop too. But I don't for a moment question that this is indeed important from their perspective.

Alex Miller (Clojure team)02:06:32

there are no comments on that ticket indicating that this is an obstacle in a production app

deactivateduser02:06:44

Again, I have monitored the ticket for months, and advocated for merging of the provided patches (or a variant thereof - I'm not in it for the glory); this was not simply a flyby PR. I'm not sure how else that could be interpreted.

Alex Miller (Clojure team)02:06:46

my job is to gather the burning needs of 1000s of people and decide what to do. everyone has an issue that they feel is neglected (I have mine!)

dpsutton02:06:32

and then be nice enough to discuss it at 10pm on a wednesday

Alex Miller (Clojure team)02:06:43

so again, Iā€™ll ask for the 3rd time - why is this a burning issue in multiple production apps for you?

dpsutton02:06:50

(not part of job. just super awesome)

āž• 8
deactivateduser02:06:54

It's not 10pm where I am.

Alex Miller (Clojure team)02:06:37

you can override the protocol extension from outside core, so I donā€™t see how this is blocking anything?

Alex Miller (Clojure team)02:06:51

the whole point of open extensions is to let you play too

deactivateduser02:06:17

This isn't related to the logic in any of my apps, and I would have expected slurp to take care of this for me if (as advertised) it claims to support URIs as well as file paths.

deactivateduser02:06:33

Violating the URI spec simply because Java does is a rather weak argument.

deactivateduser02:06:57

I would almost prefer slurp to not support URIs - at least that's an unambiguous contract.

Alex Miller (Clojure team)02:06:05

I would prefer that as well :)

deactivateduser02:06:16

Partially supporting them with some weird Java-historical-oddity subset of URIs is lame.

Alex Miller (Clojure team)02:06:31

but we make a habit of not taking things away. which is why Iā€™m so wary of adding more stuff here.

deactivateduser02:06:14

It barely adds anything.

Alex Miller (Clojure team)02:06:17

if I say yes, then I consider that signing up to support it forever

Alex Miller (Clojure team)02:06:29

I donā€™t necessarily want to do that

deactivateduser02:06:32

Right. But as you say that ship has already sailed - slurp already claims to support URIs.

deactivateduser02:06:35

Even a warning in the docstring for would be an improvement.

deactivateduser02:06:39

(albeit a workaround, not a fix)

Alex Miller (Clojure team)02:06:47

that would be a fine ticket

deactivateduser03:06:01

So back to my original question of the broader group - am I wrong to feel incredibly sad about this kind of interaction? I see lots of complaints on reddit and elsewhere about this (i.e. that the core Clojure team are unresponsive to reasonable patches & improvements to core), and to date I've always chalked it up to sour grapes. But seeing it first hand makes me wonder if these commenters are onto something and whether my time would be better spent in a more open language community.

Alex Miller (Clojure team)03:06:19

Iā€™ve been quite responsive. I understand this is a thing thatā€™s important to you. Iā€™m not going to agree with the prioritization of every person for every ticket. That is not unique to Clojure, itā€™s common to every oss project with a large user base.

āž• 16
Alex Miller (Clojure team)03:06:43

This ticket has 0 votes. As far as I know right now, there is 1 person that thinks itā€™s important. The issue has multiple workarounds (extend protocol in your app, talk to Java directly, use an http lib).

Alex Miller (Clojure team)03:06:48

Saying yes to this means a lifetime of support and opening the door to more http or whatever needs. Will you do that work? Probably not.

deactivateduser03:06:27

@alexmiller I would appreciate it if you wouldn't rathole on the ticket at the expense of the broader question I'm asking of the wider group. Thank you.

Alex Miller (Clojure team)03:06:17

well, then no, I donā€™t think you should feel sad about people making critical judgements about how itā€™s important to spend their time.

Alex Miller (Clojure team)03:06:31

everyone should do more of that imo.

Alex Miller (Clojure team)03:06:07

how would you feel if you made a decision in your job, then someone went on a public forum and asked 11,000 people if it made them sad?

deactivateduser03:06:23

I've worked in open source full time since 2007 - transparency is assumed.

deactivateduser03:06:49

(and have participated in one form or another of what we now call "open source" since 1987 or so)

deactivateduser03:06:41

A large part of the value of open source is that decisions can't just be made in private, unilaterally, without ramifications.

šŸ‘ 4
Alex Miller (Clojure team)03:06:29

well it wasnā€™t private :)

deactivateduser03:06:44

No, which is partly why your question is quite confusing to me.

deactivateduser03:06:46

Because public decision making is (or seems to be) a large part of your job, you should welcome people critiquing those decisions in public forums. That's kind of the point.

deactivateduser03:06:44

If you don't like public critique, I would encourage you to not work in a public role. At a minimum for the sake of your own emotional health.

Alex Miller (Clojure team)03:06:55

Iā€™m not concerned about the public part. I have really tried to be pretty long-winded here about the dimensions along which I consider these things and how I came to the decision.

deactivateduser03:06:43

And yet I came away feeling sad about this, as a proxy for a malaise I have seen reported elsewhere but had previously brushed off...

deactivateduser03:06:49

And youā€™ve made it worse by responding in a defensive way, instead of letting the broader community talk me off the ledge...

mg03:06:11

I'd be happy to offer a reaction that is less professionally constrained than Alex if you'd like

mg03:06:57

You say you're feeling sad and ask if that's wrong. This isn't group therapy. You've got a quibble with some edge case of slurp. I've always been amazed and somewhat baffled at all the things slurp does. But we must keep reasonable expectations. I don't think it's necessarily good to bake in these kind of supertools to the language core. I've certainly never relied on slurp for network calls in production code. So maybe just take it easy. There's more important stuff that's way more central (hello docs on specs in the registry) and even that is not worthy of this level of emotional involvement. Zach Tellman is maybe a guy who has some right to be upset over the way Clojure development works. This is not close to that

ā˜ļø 12
deactivateduser03:06:04

As Iā€™ve said several times now, Iā€™m not sad about slurp sucking. Iā€™m not even especially sad about that particular issue being closed/wontfix. Iā€™m sad about what the handling of this issue implies about the stewardship of Clojure.

deactivateduser03:06:40

Many / most open source communities go above and beyond when a first-time contributor contributes something, since that experience has an outsize influence on that personā€™s attitude from that point onward.

dpsutton03:06:10

you got careful consideration, long explanations on jira and slack. the issue was considered and ruminated over. it was ultimately declined with a personal conversation with alex at 10pm his time when he could have been doing anything else. If that's not a shining example of fantastic stewardship I don't know what is. He was also discussing a bug in the latest clojure alpha while talking to you about slurp

āž• 28
šŸ‘ 24
ā˜ļø 4
deactivateduser03:06:25

The Linux Foundation has staff dedicated to this. People like Jono Bacon have built entire careers providing this kind of guidance to open source communities. Itā€™s not trivial.

deactivateduser03:06:05

(and by that I mean ā€œitā€™s not of trivial importanceā€)

deactivateduser03:06:51

This is point #3 in the ā€œOk, Now What?ā€ section of this post, which (until now) I had lumped into the ā€œsour grapesā€ basket: http://ashtonkemerling.com/blog/2016/06/11/my-increasing-frustration-with-clojure/

deactivateduser03:06:53

Perhaps I just needed to heed this advice: ā€œA better way to treat Clojure is closer to a project at Apple (except for Swift). You can submit bugs, and make suggestions for future improvements, and if you really want to provide a patch. But go into it realising that it's not a community project, and you're much less likely to get frustrated.ā€ Source: https://news.ycombinator.com/item?id=11883579

dpsutton03:06:14

i think you should just make a lib that is slurp on steroids. And say "it doesn't just slurp, it sucks!" And it would be perfect for people who just need a tool like this that does a bit more auth and such. And then alex wouldn't have to maintain it because it's sucks, not clojure. (it would be insanely popular just for the puns)

āž• 4
šŸ˜‚ 8
deactivateduser03:06:11

@dpsutton I provided my patch (and then others riffed off it, and I happily consumed their improved variants) in the JIRA.

dpsutton03:06:26

awesome. sucks is almost out of alpha then

mg03:06:04

In situations where reality does not line up with one's expectations, the choices are to adjust expectations or make quite a large effort to move reality.

deactivateduser03:06:06

That code has been in production for almost 2 years.

deactivateduser04:06:55

@mg thatā€™s not how open source works. But then as several commenters state in that Y Combinator thread I posted above (and Iā€™m paraphrasing), Clojure isnā€™t an open source community, and a lot of frustration can be saved by going into it knowing that.

deactivateduser04:06:25

My lengthy involvement in open source certainly doesnā€™t help adjust that expectation! šŸ˜‰

mg04:06:38

"that's not how open source works" sounds like enshrining one's expectations by an appeal to authority

ā˜ļø 4
deactivateduser04:06:09

Not at all. Just a reflection that Clojure isnā€™t an open source community. A later poster summed it up better than I can: ā€œThe moment you get over expecting Clojure to behave like a typical "open source" project and understand it is Rich Hickey's personal project (+ Cognitect's), which happens to also be available to you, if you want to use it, then the whole thing makes more sense. Some frustration disappears. You know where you stand, and what to expect. [snip] Use it if it works for you. Otherwise don't. Don't expect to have a voice, and don't expect you'll be able to contribute much, and don't expect that something will be fixed unless it suits Hickey's Cognitect's agenda.ā€

deactivateduser04:06:47

I think my best bet is to print this out and stick it on my office wall. šŸ˜‰

deactivateduser04:06:25

Because I do (mostly) enjoy developing code in Clojure.

deactivateduser04:06:41

It was certainly a breath of fresh air after a decade and a half of Java.

sundarj04:06:16

@deactivateduser10790 this is another useful take on it: https://lispcast.com/cognitect-clojure/

šŸ‘ 4
4
8
clj 8
deactivateduser04:06:52

Thanks @sundarj - Iā€™ll give that a read shortly!

deactivateduser04:06:14

So I get the general argument - it's a variant of the classic (and some might say, passive aggressive) open source response of "thank you for your bug report please provide a fix". šŸ˜‰ I also appreciate that Clojure allows a lot more to be worked around outside of core. But getting concrete for a moment - where should the 16 line fix for CLJ-2253 go? In a dedicated micro-library? In a "slurp-sucks-lets-fix-it" library? In a "this-library-is-a-dumping-ground-of-random-fixes-to-core-that-werent-accepted" library?

deactivateduser04:06:44

Seems like we run headlong into the Lisp Curse. šŸ˜‰

tbaldridge04:06:30

Yes, Iā€™m a lib, IMO

tbaldridge04:06:17

Another problem, is that any new feature added to core, makes porting to other platforms harder.

deactivateduser04:06:53

Right, though I observe that slurp is specific to Clojure (it's not in ClojureScript).

tbaldridge04:06:59

Take a look at regexes, what works on clj may not work on CLJS. Same for anything in http://Clojure.java.io

tbaldridge04:06:25

Clojure also runs on the clr

deactivateduser04:06:39

Right - I have no experience with that, or any easy way to explore it.

deactivateduser04:06:45

So am unable to comment on it.

tbaldridge04:06:05

Personally I wish we could go back and strip a ton out of core.

tbaldridge04:06:54

But, creating libs is easy. So just upload one, and continue writing awesome software:

deactivateduser04:06:33

Ok - which lib? CLJ-2253? slurp++? core++?

deactivateduser04:06:48

Seems like all of these options run into scaling issues...

tbaldridge04:06:26

Because to be honest probably no one will use the lib

deactivateduser04:06:48

Well at least one other person has chimed in on that JIRA, and I'd likely use their patch (since it's better than mine) for the lib.

deactivateduser04:06:51

So assume 2. šŸ˜‰

tbaldridge04:06:06

If I needed this, and I have in the past, Iā€™d just write the 16 lines and stick it in my projects util namespace

deactivateduser04:06:32

Which is exactly where I am right now, and which doesn't scale if I uncover similar issues in core at a similar pace.

deactivateduser04:06:44

(and assuming the same outcome from submitting a patch)

tbaldridge04:06:44

Eh, I doubt you will

tbaldridge04:06:37

People rarely use slurp, instead they want control over buffers, streaming, async io, etc

ā˜ļø 8
deactivateduser04:06:55

"People rarely use slurp" - sources?

tbaldridge04:06:10

Slurp even supports readers iirc, so you can open any stream then hand it to slurp

deactivateduser04:06:17

I'd be genuinely interested if my use case (reading a config file to send to aero) is an outlier.

tbaldridge04:06:43

Iā€™ve been programming Clojure for 8 years, and I see it in use about every 12 months

tbaldridge04:06:01

Itā€™s just a very limited way of reading a file

juhoteperi04:06:11

Most projects will be using lib like clj-http instead

dpsutton04:06:18

i like the idea of a lib named clj-2253 though lol

tbaldridge04:06:43

Or use tools Dept gists lol

juhoteperi04:06:54

I'd only use slurp for classpath URLs and then a lib for all http or others

dpsutton04:06:24

or slurp the gist and eval it

dpsutton04:06:30

really stick it to the man

tbaldridge04:06:48

But even then, waiting for the entire stream to read is a bad idea for large files.

ā˜ļø 4
deactivateduser04:06:56

The ns in my production code is called CLJ-2253, so that isn't as far-fetched a suggestion as you might think. šŸ˜‰

deactivateduser04:06:03

@tbaldridge this is a config file.

csm04:06:06

fwiw I think slurp should never touch the network, unless handed a reader that happens to be connected to the network. Stuff like that easily leads to security bugs, scaling problems, stuff breaking because youā€™ve upgraded firewall rules, and so on.

ā˜ļø 4
deactivateduser04:06:08

It's not war and peace.

csm04:06:15

I almost forbid slurp in production code when I learned it can read from a URL

deactivateduser04:06:51

@csm the URI is passed into the app as a command line arg. The DevOps team happened to send it a URL (rather than a local file, as had been spec'ed), and that URL happened to be to an S3 bucket. None of this was on my radar, but after reading up on slurp the DevOps team made the (not unreasonable) assumption that it would Just Work:tm:.

csm04:06:15

thatā€™s cool, but other people

deactivateduser04:06:48

Yes, developing solely for myself would make a lot of things easier, but unfortunately I live in the real world.

deactivateduser04:06:44

I also didn't think they were deploying to EC2 (we use OpenShift for most of this stuff), but people have a habit of making decisions that optimise their local environment (as they should).

tbaldridge04:06:46

And thatā€™s just a bad idea, IMO. S3 over http isnā€™t a disk. You really want a lot more error handling there

tbaldridge04:06:19

Does slurp even fail on a non 200?

tbaldridge04:06:46

You could end up with slurp handing your app who knows what.

deactivateduser04:06:09

No argument there. I guess the DevOps crew didn't want to provision EBS or EFS simply for a stateless chatbot that only needs storage for one thing: its 3KB config file.

dpsutton04:06:06

what's the pushback against a lib that does this by design?

dpsutton04:06:14

size? not taking another dep?

tbaldridge04:06:18

Nothing wrong with storing the config in S3. It just need some proper handling

deactivateduser04:06:06

No push back from me. I'm just not sure if the lib is literally just "org.clojars.pmonks/CLJ-2253" or something more broad than that (and if so, at what granularity). It's a modularity question.

dpsutton04:06:18

i mean clj-http or similar

deactivateduser04:06:25

@tbaldridge not at all - if the bot doesn't come up in 1 minute, we kill the VM and reprovision.

dpsutton04:06:29

an existing lib who handles all the network stuff

deactivateduser04:06:31

(with red/black deployment, so no downtime)

deactivateduser04:06:03

In fact I think we had to increase the startup timeout to 5 mins due to slow (and variable on AWS) start up times, but I digress...

deactivateduser04:06:00

@dpsutton introducing a dependency (especially clj-http, which has quite a few dependencies of its own) isn't cost-free.

tbaldridge04:06:32

Whatā€™s the cost though?

dpsutton04:06:36

what about having the vm curl for it with an ssh key put in there during vm creation?

tbaldridge04:06:52

Surely Dev time factors into this.

deactivateduser04:06:09

@dpsutton that is an entirely reasonable option. I have no idea why the DevOps crew don't do that.

tbaldridge04:06:13

Devs are way more expensive than servers

deactivateduser04:06:22

As I say, I designed it to load this file from disk, not from HTTP.

deactivateduser04:06:14

The fact that the DevOps team then read up on slurp, assumed it worked with URIs (since the docstring of http://clojure.java.io/reader says it does), and then found it doesn't took everyone by surprise.

seancorfield04:06:51

Bad DevOps! šŸ™‚

deactivateduser04:06:17

No they're actually quite good - I was chuffed that they actually went and read up on this stuff, especially as they're not (or weren't) familiar with Clojure at all.

deactivateduser04:06:47

It's actually a compliment to the docs that they figured all that out.

dpsutton04:06:02

there seem to be quite a few solutions here and most don't involve changes to slurp ĀÆ\(惄)/ĀÆ

dpsutton04:06:41

but i do see why it's appealing

deactivateduser04:06:39

Sure but slurp (or rather reader) says on the tin that it works with URIs. URIs are defined by a well-defined spec (RFC-3986). Slurp doesn't work with some (many) URIs that are legal according to that spec. Ergo, slurp doesn't actually work with URIs. We can argue about whether that's Clojure's fault or Java's (and fwiw I blame Java). What is beyond dispute is that there is a simple fix in Clojure for this, and the core team chose to decline it.

tbaldridge04:06:11

Finally read the ticket,

seancorfield04:06:18

Not all "simple fixes" are accepted.

deactivateduser04:06:31

And keep in mind I wasn't even arguing that slurp should add support for all possible URIs (in the ticket).

seancorfield04:06:33

Because they're usually not as "simple" as they look on the surface.

tbaldridge04:06:56

So...this has been open for 8 months, when a simple usage of a real http client would have fixed it?

deactivateduser04:06:07

No. Slurp has a bug.

tbaldridge04:06:41

So? Use a real http client

tbaldridge04:06:00

Or donā€™t, just use java directly

deactivateduser04:06:03

To my mind it is literally that simple. Either the docs need to be updated to clearly communicate the bug, or the bug should be fixed. I would prefer the latter, but the former at least brings Clojure out of violation with the Principle of Least Surprise.

dpsutton04:06:14

like [clj-2253 "0.1.0-SNAPSHOT"]

deactivateduser04:06:19

(which is what caught the DevOps guys)

seancorfield04:06:47

I think there are lots of edge cases in Clojure that cause surprise. But there are also reasonable arguments for not fixing those edge cases.

deactivateduser04:06:00

@seancorfield I'm open to not fixing it, provided it's documented.

seancorfield04:06:27

I agree that changing the docstring on reader (right?) would probably be appropriate.

deactivateduser04:06:36

If this were my code (and clearly it isn't), leaving a bug both unfixed and unacknowledged would be a serious problem.

deactivateduser05:06:11

@seancorfield yes that's exactly what I proposed to @alexmiller about an hour ago (and yes I realise you probably missed that - I dislike this aspect of chat platforms).

deactivateduser05:06:36

He suggested I raise another JIRA to fix the reader docstring (and I'll do that later).

seancorfield05:06:04

No, I read back over the entire thread before joining in.

tbaldridge05:06:06

Eh, the docs just say it tries to convert strings to readers.

seancorfield05:06:27

Trust me, I've been doing OSS for over 25 years so I've seen all sorts of governance.

tbaldridge05:06:30

It doesnā€™t say what features are or are not supported

sundarj05:06:48

it also never mentions the RFC

seancorfield05:06:26

Looking at the docstring for reader, I'm not sure how to clarify it. It does have implementations for those Java types...

deactivateduser05:06:48

@tbaldridge

user=> (doc )
-------------------------

([x & opts])
  Attempts to coerce its argument into an open java.io.Reader.
   Default implementations always return a java.io.BufferedReader.

   Default implementations are provided for Reader, BufferedReader,
   InputStream, File, URI, URL, Socket, byte arrays, character arrays,
   and String.

   If argument is a String, it tries to resolve it first as a URI, then
   as a local file name.  URIs with a 'file' protocol are converted to
   local file names.

   Should be used inside with-open to ensure the Reader is properly
   closed.
nil

seancorfield05:06:59

As I said @deactivateduser10790 I did not miss any of the conversation. It took me a while to scroll all the way back and read it all.

deactivateduser05:06:13

@tbaldridge that 2nd paragraph certainly implies it works with URIs.

dpsutton05:06:15

Attempts ... Default implementations

deactivateduser05:06:44

@dpsutton and how would a non-Clojure, non-Java person know how to interpret that?

deactivateduser05:06:00

Even as such a person I find that a tad vague.

dpsutton05:06:05

of course. but what level of granularity is expected in a docstring. you're the domain expert. devops read a docstring "attempts" with some "default implementations" and baked their rollout strategy on it unbeknownst to their programmer

seancorfield05:06:33

So it converts URIs to URLs and calls openStream on that, right? And Java has restrictions on what is accepted there I gather...?

slipset05:06:18

And all that for just one little patch.

ā˜ļø 4
šŸ‘ 4
seancorfield05:06:47

@slipset It's easy to be upset when it's your pull request/patch that is rejected. I've seen a lot of folks over the years get pretty worked up about having a contribution rejected. And I've been on both sides of this over the years.

deactivateduser05:06:10

IME it's less about having a PR rejected and mostly about having a problem that's serious to you summarily rejected as "not an issue" or "not important enough" (the latter of which happened in this case). That shows contempt for the contributor and helps create the kind of bad taste for first time contributors that I've seen mentioned in the posts I shared earlier.

seancorfield05:06:57

Oh, I've had absolute critical road block bugs dismissed as unimportant edge cases... It happens.

seancorfield05:06:01

And I'll be honest, one of those situations contributed to my company changing technologies. Or at least a lot faster than we had originally planned... šŸ˜

deactivateduser06:06:09

Right. And that was one of my first comments / questions - am I wasting my time in trying to contribute to Clojure?

seancorfield06:06:23

That's up to you. We've been happily using it in production for seven years and we've always run the alphas and betas in production.

seancorfield06:06:01

We do multi-version testing and today our build broke with Alpha 5 -- because Nippy throws a compilation exception due to the new ASM code.

seancorfield06:06:37

So it's been super-stable for us and enabled us to do things that no other tech has allowed us to do -- we went through a lot of things before we moved to Clojure.

seancorfield06:06:58

Sometimes it breaks our expectations. But it's rare.

seancorfield06:06:28

I've had a number of JIRA tickets rejected over the years.

seancorfield06:06:07

But as maintainer of several Contrib libraries (and quite a few non-Contrib libraries), I've had to reject all sorts of issues and PRs for all sorts of reasons.

seancorfield06:06:48

If you find this interaction -- over this ticket -- so distasteful that you feel you have to change technology... ĀÆ\(惄)/ĀÆ

deactivateduser08:06:28

It's more to do with the general attitude of "we neither acknowledge that your problem is worthy or that your pull request to fix it is worthy" that's troubling. That's not a good way of trying to build an open community, which (ironically) is perhaps exactly what Alex needs when he mentions juggling 10,000 priorities higher than this one...

seancorfield05:06:10

Running OSS projects can be really demoralizing at times. As can contributing to them šŸ™‚

deactivateduser05:06:31

It's certainly not for everyone. Many technologists who are otherwise great at their jobs have low EQ, which is critical for community building. Disclaimer: I include myself in that group.

seancorfield06:06:56

I manage a large number of OSS projects and I long ago lost count of people who got all bent out of shape when I rejected their issue -- even when it was fairly obvious that it only affected a very small number of people.

seancorfield06:06:45

It's tough. When you raise an issue, it's pretty much always important to you, by definition. If it was easily worked around or was just a minor annoyance, you wouldn't have bothered to raise the issue in the first place.

deactivateduser06:06:34

IMO, bothering to raise an issue is nice, but not an especially compelling "vote of confidence". Going to the trouble of submitting a PR for your own issue, on the other hand, is worthy of serious consideration.

seancorfield06:06:46

But when a project has thousands of users and only one or two want a feature it's a big commitment to take it on and support it for everyone for all time.

deactivateduser06:06:54

And I say that as a maintainer of several open source projects, at least one of which is reasonably popular (~400 companies use it).

deactivateduser06:06:16

Features != bugs.

deactivateduser06:06:26

CLJ-2253 is a bug - a spec violation, no less.

seancorfield06:06:09

One man's bug is another man's feature, seriously.

šŸ˜… 8
deactivateduser06:06:19

I'm not sure the W3C would see it that way.

deactivateduser06:06:43

And yes, I get that it's frustrating that the built-in Java HTTP classes suck, and are to blame here.

deactivateduser06:06:54

What I don't get is the reluctance to address it at the Clojure layer.

deactivateduser06:06:08

(especially given the patch is literally 16 lines - 14 additions and 2 deletions)

seancorfield06:06:17

I totally get why the core team don't want to do it: it enshrines an exception to Java behavior in Clojure for all future uses. That becomes a commitment to fix any future bugs in that area, based on deficiencies in the underlying Java classes.

seancorfield06:06:08

Clojure is hosted. If the host is broken, that leaks. Working around that in Clojure (core) isn't necessarily productive. Especially if users can workaround it if they need that.

ā˜ļø 4
seancorfield06:06:33

You're up in my neighborhood, aren't you? Trying to think where we've run across each other... Scala community?

seancorfield06:06:44

Wait, you're originally from Sydney aren't you? If you're the Peter Monks I'm thinking of...

šŸ‘ 4
slipset07:06:22

He is. Of Alfresco fame. At least for me. Heā€™s even been on the Cognicast

deactivateduser08:06:11

My Alfresco days are long behind me (though I still pretend to maintain the bulk import tool, pissing many folks off in the process). šŸ˜‰

seancorfield05:06:10

I've been involved with some projects that make Clojure seem positively rainbows and unicorns šŸŒˆ :unicorn_face:

justinlee05:06:32

in a less contentious topic (hopefully), do people have suggestions on blogging platforms they like? in particular, I was thinking about something that would allow multiple authors to post to the same site instead of strewing little gists around. @pesterhazyā€™s recent ā€œmicro blogpostā€ that he submitted to clojureverse made me thing it might be a nice thing to have.

sundarj05:06:06

don't use wordpress

ā˜ļø 4
seancorfield05:06:34

I use Octopress, built on Jekyll, to publish my blog on GitHub -- http://corfield.org

metacritical06:06:30

Micro blogging as in twitter?

justinlee15:06:34

it really wasnā€™t ā€œmicroā€. it was just a short one off.

seancorfield05:06:38

@U0V4G7AKB I haven't yet done battle with GoDaddy to make http://corfield.org available via GitHub pages as https

metacritical05:06:11

Ohh Godaddy, i get it now. Their interface most definitely is designed by former maze/puzzle designers.

seancorfield05:06:09

Hahaha... yeah, that's a great description of it! To be honest, since it's just a blog, I don't much care about https, but I know Google -- and browsers -- are forcing people that way so, at some point, I'll wrestle GoDaddy to the ground on this.

šŸ˜ƒ 4
4
seancorfield05:06:37

It's a pity GitHub doesn't deal with this automatically...

slipset05:06:24

@seancorfield I came off wrongly. I went to bed asking a small question about wether a patch could be considered since what I understood was the reason for not considering it was gone. I woke up to quite a heated discussion. I have no problem with patches of mine being declined. If anything, Iā€™m happy that the issue at hand has gotten a resolution, and that we can move on. I wish though that more issues in the Clojure back log could get their resolutions earlier. A quick decline stops people from spending time on stuff that will ultimately be declined.

šŸ‘ 12
slipset05:06:55

Now, as for the merits of slurp. If there is one thing Iā€™ve never been able to do in Java, itā€™s to read the contents of a file into a variable. The fact that slurp/spit exists in Clojure makes me super happy. Every time I use them. Which is not often. But I get super happy. I also understand that itā€™s a great way to shoot oneself in the foot. The fact that it also just works on URLs is something that also makes me happy and makes me feel a little smug. ā€œHey guys, look at what I can do directly from my REPL. Do that on one line in Java if you can!ā€ So, slurp handling uname/passwd is just an extension of this.

šŸ‘ 4
slipset06:06:31

But then again, I started out programming Perl. One of the nice things about Perl is that it lets you get sh!t done. Transitioning to Java was a major pain in that way. Everything was possible, but nothing was easy. slurp is a bit of Perl, using streams and stuff is so definitely Java.

deactivateduser06:06:18

@slipset I took the liberty of inviting you as a committer, since you have been very helpful in the issue itself improving (rewriting?) my crappy patches.

deactivateduser06:06:56

Your ongoing contribution to this <font face="sarcasm">substantially important</font> project would be very welcome!

slipset06:06:08

Much honored. Disagree on the naming though. Should have called it sucks :)

deactivateduser06:06:50

Raise an issue. Submit a PR. I'll then reject it, and we'll all be grumpy forever. šŸ˜œ

deactivateduser06:06:29

"clj-sucks" seems wrong somehow... :thinking_face:

slipset06:06:04

Yepp. Anyways, got a shirt to iron before I run off to work.

slipset06:06:41

ā€œThis library sucks, donā€™t use itā€

slipset06:06:28

ā€œCLJ-2253 - the library that sucksā€

burke06:06:53

Hey, what a fantastic library. How can I support this?? Is there a possibility that you create a Patreon account? šŸ˜ :face_with_hand_over_mouth:

šŸ’° 4
šŸ˜€ 8
jjttjj18:06:07

Anyone know if there's anything sort of like "TodoMVC", where the same todo app is implemented in many JS frameworks, but more geared towards comparing performance across the frameworks? I found this one https://github.com/jonmiles/react-performance-tests (live version here: http://jonmiles.github.io/react-performance-tests/angular.html) but i'm wondering if there are more examples like this

jjttjj21:06:13

cool thank you

seancorfield22:06:10

@manas.marthi We're on a free plan with limited file storage -- please do not upload large files. Feel free to post a link to a video, but do not post the video file itself.