Fork me on GitHub
#off-topic
<
2020-11-20
>
lgessler01:11:28

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

Asier07:11:06

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

flowthing07:11:39

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

lgessler16:11:40

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

borkdude11:11:22

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

Sanjith Kanagavel11:11:23

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

borkdude11:11:19

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.

👍 3
hkjels15:11:32

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!

👍 3
seancorfield16:11:44

An alternative Clojure color theme I've been using on Slack for years (and that I share with the Conj Slacks each year as well): #FFFFFF,#90B4FE,#E4EAF7,#4C5770,#C4C4C4,#272727,#91DC47,#63B132,#90B4FE,#272727

3
👍 3
seancorfield16:11:59

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

lgessler20:11:25

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

Alex Miller (Clojure team)15:11:30

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

hkjels17:11:49

You’re absolutely correct

borkdude15:11:10

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

Alex Miller (Clojure team)15:11:08

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

manutter5115:11:14

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

manutter5115:11:56

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

seancorfield16:11:44

An alternative Clojure color theme I've been using on Slack for years (and that I share with the Conj Slacks each year as well): #FFFFFF,#90B4FE,#E4EAF7,#4C5770,#C4C4C4,#272727,#91DC47,#63B132,#90B4FE,#272727

3
👍 3
nate sire17:11:16

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

andy.fingerhut17:11:46

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)

tvaughan17:11:45

cycle is my favorite clojure function

hipster coder17:11:26

ahh, because Clojure is all about immutable data

hipster coder17:11:54

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

andy.fingerhut17:11:25

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.

hipster coder17:11:12

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

hipster coder17:11:28

to build onto the side of the tree

borkdude17:11:50

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

andy.fingerhut17:11:54

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.

borkdude17:11:39

and there you go, the fruits of AoC

👍 3
hipster coder17:11:57

wow, that actually just blew my mind

hipster coder17:11:26

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

hipster coder17:11:38

how Clojure likes to store memory

hipster coder17:11:12

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

hipster coder17:11:09

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

lgessler20:11:37

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

walterl23:11:50

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/

👍 6
Drew Verlee12:11:44

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

lgessler20:11:44

@U0DJ4T5U1 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