is there a go-to (cljs) i18n lib (a counterpart to gettext etc.)? seems like https://github.com/ptaoussanis/tempura is popular?
thanks all! I'll take a look at tongue too
we use Tempura in http://magnet.coop projects.
I've used https://github.com/tonsky/tongue in a couple of projects. No complaints.
@sanjithkanagavel Is this spam, or does this relate to Clojure, coding, or otherwise appropriate for #off-topic somehow?
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. 🙂
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.
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!
@hkjels I think if you actually paste that into the chat, slack lets you click on it to use it
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 ;)
^^ :)
Preferences -> Themes -> "Tried and true" is the default I think
Also if you're planning ahead, go into your private channel and paste your current settings there before trying out new ones.
Then be polite and delete the msg from your private channel when you're done, 'cause I think it counts against the message quota
For those who like the Nord theme, https://www.nordtheme.com/ports/slack
I'll try yours for a while and see how I like it 🙂
You’re absolutely correct
is there a channel I can ask a question about why to use a "circular linked list" ?
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)
ahh, because Clojure is all about immutable data
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
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.
cycle is my favorite clojure function
yes, I found it fascinating how Clojure stores things in memory… using trees
to build onto the side of the tree
@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.
I think in this case you could get around it, as long you know the next player, https://github.com/gklijs/advent_of_code_2018/blob/master/Gerard/src/main/java/com/gklijs/adventofcode/day9/MarbleGame.java https://github.com/gklijs/advent-of-cljc/blob/master/src/aoc/y2018/d09/gklijs.cljc (been a while).
wow, that actually just blew my mind
just wondering if, I could build fixed size linked list, onto the side of a tree
how Clojure likes to store memory
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.
ya, I see the advent… code… it doing the same thing, using the tree pyramid
and there you go, the fruits of AoC
awesome, thank you… I will read that… just prepping for some algo code interviews
anybody know of learning resources specifically for experienced python users with no prior lisp/fp experience who want to learn clojure?
@lgessler I can give you a thirty minute video meeting where i try to answer your questions.
@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
pasting @hkjels’s theme here so you can click the button: #5A80D9,#076570,#62B234,#FFFFFF,#93B3FD,#FFFFFF,#62B234,#F15340,#475FA1,#FFFFFF
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/