off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
seancorfield 2021-05-09T00:32:26.120100Z

I am still in a CFML community (for historical reasons), and one guy there was talking about their 40 server cluster the other day and I was thinking “sheesh, what kind of scale do you have to be to have 40 app servers?” — but I strongly suspect if he was using a more efficient language, he’d have a smaller cluster.

bartuka 2021-05-09T00:48:55.120300Z

Yeah, exactly. I worked in a place where we switch a whole python service to golang and it made an astonish difference in allocated resources. Maybe if this was well understood we could use as a selling point to languages more efficient.

seancorfield 2021-05-09T00:49:16.120500Z

I would expect that even if you fixed the language variable, how you actually code in that language is going to introduce variability into scaling.

seancorfield 2021-05-09T00:49:44.120700Z

But your “selling point” might be a black mark against Clojure 🙂

mauricio.szabo 2021-05-09T00:51:42.120900Z

I once used this setup. I used the faster computer as my primary coding machine, and the slower as browser, document viewer, and slack. To change between then I used a software keyboard/mouse multiplexer (I believe it was synergy)

mauricio.szabo 2021-05-09T00:52:08.121100Z

Sometimes I had to SSH between machines, but it was quite rare...

bartuka 2021-05-09T00:52:12.121300Z

Possibly, but at least you could make more informed decisions. I might be in a bubble that thinks python is the way to go. 1) easy to learn and to build. So it is difficult to discuss against it with business people too but the compromise of choosing it is not well understood at all

bartuka 2021-05-09T00:53:49.121500Z

And the language of money has more attention. Often the cost of "rewrite" after the prototype is done is taken into account. But these rewrites are very difficult to actually happen

seancorfield 2021-05-09T00:54:23.121800Z

Yeah, I’ve been very lucky to have worked at companies where “rewrite” is fine but most folks are not.

bartuka 2021-05-09T01:00:29.122Z

About the selling point against clojure.. let's take the grpc benchmark as a proxy. Do I prefer a very expressive and easy to learn language like python that will cost 20x more over time or a very expressive but not so easy to learn language like clojure with 2x more cost over time when compared to pure java or rust. (Or even higher discrepancy)

bartuka 2021-05-09T01:00:51.122200Z

I think the business have no idea of how huge these costs can add up

bartuka 2021-05-09T01:03:39.122400Z

Studies like this would be very valuable to discussions like this with management sector

bartuka 2021-05-09T01:06:03.122600Z

A study trying to identify what languages you are more prone to poor implementations. For example, I had an experience with PHP and it is incredible how much content is out there in the web... And how much bad advices are out there too. Looking at my teams working with python and clojure I would say that you are more prone to silly errors in python because of the amount of bad advices around the web when you search for basic stuff

borkdude 2021-05-09T04:10:18.122900Z

Correct

raspasov 2021-05-09T04:24:48.123100Z

Yes, good point. I guess the definition of a “classic” unit test is a test that indeed only tests one function/method.

raspasov 2021-05-09T04:32:01.123400Z

@iagwanderson “hard” and “easy” are very relative. I’ve had a much easier time learning Clojure (coming from PHP) than Python. And I had “tried” learning Python before Clojure, but I had zero motivation because I never saw any benefit. It’s 95% the same language as PHP, just slower. So I never “learned” it. I have a basic understanding of it, 3/10. But I can’t write a correct line in it without Google. The syntax makes zero sense (to me). If you’re saying “easy” as in “a bigger pool of people to hire from”, there’s no contest there, I agree.

yuhan 2021-05-09T07:01:28.124Z

For anyone using a Mac, this QuickLook extension recently added Clojure support: https://github.com/sbarex/SourceCodeSyntaxHighlight I found it really useful for quickly browsing source files in unfamiliar projects :)

6👍2🎉
Oliver 2021-05-09T13:33:48.124700Z

Excellent talk. 👍:skin-tone-3:

pithyless 2021-05-09T14:32:29.124900Z

@sova it's not exactly meant for this use-case, but maybe you can take a look at https://mob.sh/ It's some bash tooling to enable making temporary git branches and WIP commits and push/pulling them between different computers. Primarily meant for quick handoffs between several people that are coding together, but I don't see why you couldn't use it to push/pull when switching computers :)

pithyless 2021-05-09T14:34:13.125200Z

I'd be worried about using dropbox as my source-of-truth for git repos after seeing John Hughe's talk about quickchecking Dropbox (and also thinking back to all the Jepsen post-mortem posts). Distributed systems are hard when they want to auto-merge conflicts :)

1👍
pithyless 2021-05-09T14:36:27.125500Z

^ to be fair, someone has pointed out to me in the past (can't recall who), that Dropbox had fixed those bugs found by Hughes when they released a new sync engine sometime ago.

borkdude 2021-05-09T14:57:48.127500Z

I’ve been using Dropbox for years and years, all my oss repos are in there so I can work on them from anywhere although Github generally has all my code as well at the end of the day

1👍
borkdude 2021-05-09T14:58:39.128600Z

My only gripe with Dropbox is that they still don’t have a thing like gitignore

craftybones 2021-05-09T15:18:56.128800Z

A “unit” in a language that has immutable constructs and for the most part relies on pure functions is not the same as a “unit” in a language that does PLOP.

craftybones 2021-05-09T15:19:28.129Z

Having said that, there are times when you would possibly write tests that focus on smaller parts, not just the whole thing since it might be a little easier to focus and setup

sova-soars-the-sora 2021-05-09T15:53:26.129400Z

Probably by design. Simplicity for most users

sova-soars-the-sora 2021-05-09T15:57:10.130Z

One thing in French a Day and Coffee Break French might be up your alley

hindol 2021-05-09T16:16:33.130200Z

Looks like they are. Thanks for the links.