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/
lgessler 2020-11-20T01:41:28.085700Z

is there a go-to (cljs) i18n lib (a counterpart to gettext etc.)? seems like https://github.com/ptaoussanis/tempura is popular?

lgessler 2020-11-20T16:06:40.096900Z

thanks all! I'll take a look at tongue too

Asier 2020-11-20T07:01:06.086400Z

we use Tempura in http://magnet.coop projects.

flowthing 2020-11-20T07:01:39.086800Z

I've used https://github.com/tonsky/tongue in a couple of projects. No complaints.

borkdude 2020-11-20T11:50:22.089600Z

@sanjithkanagavel Is this spam, or does this relate to Clojure, coding, or otherwise appropriate for #off-topic somehow?

Sanjith Kanagavel 2020-11-20T11:53:23.089900Z

i thought off topic is to discuss things off the Clojure. I just want to get feedback for the project i worked on. I dint find any side projects channel. Will take down if it looks like spam. Don’t want to spam this. 🙂

borkdude 2020-11-20T11:55:19.090200Z

I'll leave it up for the admins to decide. To me it sounded like you're selling a commercial product, I wasn't clear to me that you were asking for feedback from a Clojure-related point of view.

👍 1
2020-11-20T15:04:32.092900Z

Hope this is the right place to post 😀 I just dressed up this Slack-workspace with Clojure colours, thought others might like it: https://gist.github.com/hkjels/421a41605c7cf0c07ee7295525c35988 Have a nice weekend!

👍 1
alexmiller 2020-11-20T15:45:30.094300Z

@hkjels I think if you actually paste that into the chat, slack lets you click on it to use it

borkdude 2020-11-20T15:46:10.094800Z

Maybe also useful to include instructions how to undo it. I clicked on such a thing once and then wanted to revert but didn't know how ;)

alexmiller 2020-11-20T15:46:27.095100Z

^^ :)

alexmiller 2020-11-20T15:47:08.095600Z

Preferences -> Themes -> "Tried and true" is the default I think

2020-11-20T15:50:14.096200Z

Also if you're planning ahead, go into your private channel and paste your current settings there before trying out new ones.

2020-11-20T15:50:56.096800Z

Then be polite and delete the msg from your private channel when you're done, 'cause I think it counts against the message quota

tvaughan 2020-11-20T16:36:44.097400Z

For those who like the Nord theme, https://www.nordtheme.com/ports/slack

seancorfield 2020-11-20T16:40:59.098Z

I'll try yours for a while and see how I like it 🙂

2020-11-20T17:02:49.098300Z

You’re absolutely correct

nate sire 2020-11-20T17:12:16.099Z

is there a channel I can ask a question about why to use a "circular linked list" ?

2020-11-20T17:14:46.100Z

Here is fine. #clojure is fine if it is related to Clojure, although since a circular linked list must involve mutation, it is kind of a little "on the side" for typical Clojure (although there is the built-in cycle function)

hipster coder 2020-11-20T17:15:26.100400Z

ahh, because Clojure is all about immutable data

hipster coder 2020-11-20T17:15:54.101300Z

just wondering a use case for the circular version… why would I want search from the middle to the tail, to the head and back to the middle

2020-11-20T17:16:25.101900Z

Clojure emphasizes immutable data, encourages it, and makes it easy to be the default. It recognizes that you often want to mutate things, which is why there are refs, atoms, agents, etc.

tvaughan 2020-11-20T17:16:45.102300Z

cycle is my favorite clojure function

hipster coder 2020-11-20T17:17:12.103100Z

yes, I found it fascinating how Clojure stores things in memory… using trees

hipster coder 2020-11-20T17:17:28.103500Z

to build onto the side of the tree

borkdude 2020-11-20T17:17:50.104Z

@nathantech2005 There is a very nice Advent of Code problem where you need a mutable circular list. https://adventofcode.com/2018/day/9 There are Clojure solutions to this, but you won't get good performance with immutable data structures.

hipster coder 2020-11-20T17:17:57.104300Z

wow, that actually just blew my mind

hipster coder 2020-11-20T17:18:26.104800Z

just wondering if, I could build fixed size linked list, onto the side of a tree

hipster coder 2020-11-20T17:18:38.105Z

how Clojure likes to store memory

2020-11-20T17:18:54.105100Z

I have gotten bug reports on the core.rrb-vector library from people using it to solve that problem efficiently. Maybe not as efficiently as a mutable circular list, but better than the built-in Clojure immutable data structures.

hipster coder 2020-11-20T17:19:12.105700Z

ya, I see the advent… code… it doing the same thing, using the tree pyramid

borkdude 2020-11-20T17:19:39.105800Z

and there you go, the fruits of AoC

👍 1
hipster coder 2020-11-20T17:20:09.106300Z

awesome, thank you… I will read that… just prepping for some algo code interviews

lgessler 2020-11-20T20:21:37.107600Z

anybody know of learning resources specifically for experienced python users with no prior lisp/fp experience who want to learn clojure?

2020-11-23T12:43:44.113900Z

@lgessler I can give you a thirty minute video meeting where i try to answer your questions.

lgessler 2020-11-23T20:38:44.116300Z

@drewverlee generous offer, thank you! I'm asking because I have a coworker who's curious about getting into clojure. if he gets more into it i'll mention this to him and see what he says

lgessler 2020-11-20T20:23:25.107700Z

pasting @hkjels’s theme here so you can click the button: #5A80D9,#076570,#62B234,#FFFFFF,#93B3FD,#FFFFFF,#62B234,#F15340,#475FA1,#FFFFFF

walterl 2020-11-20T23:23:50.108Z

Not specific to that situation, but Clojure for the Brave and True got me started on that transition. https://www.braveclojure.com/clojure-for-the-brave-and-true/

👍 2