This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-07
Channels
- # announcements (3)
- # beginners (124)
- # calva (60)
- # cider (81)
- # cljs-dev (65)
- # cljsrn (1)
- # clojure (268)
- # clojure-dusseldorf (2)
- # clojure-europe (3)
- # clojure-italy (9)
- # clojure-losangeles (1)
- # clojure-nl (22)
- # clojure-russia (3)
- # clojure-spec (24)
- # clojure-uk (34)
- # clojurescript (72)
- # code-reviews (8)
- # cursive (20)
- # datomic (32)
- # fulcro (49)
- # jobs (1)
- # jobs-discuss (15)
- # juxt (10)
- # lein-figwheel (10)
- # nrepl (4)
- # off-topic (37)
- # overtone (1)
- # portkey (2)
- # protorepl (8)
- # random (1)
- # re-frame (1)
- # reagent (43)
- # reitit (8)
- # ring (16)
- # ring-swagger (2)
- # rum (6)
- # shadow-cljs (63)
- # specter (2)
- # testing (32)
- # tools-deps (32)
- # unrepl (1)
- # vim (3)
Request for comment! I'm soon going to be giving a talk on declarative UI. I want to express how React has moved us forward in this realm, so I've written a tiny implementation of what I understand to be the essence of React. I'd appreciate comments on the following: - Is it clear and easy to follow? - Does it actually capture the core of what React is about? - Is it correct? - Is the demo enough? https://stackblitz.com/edit/pico-react
the React reconciliation docs are really good, if you haven’t read them already: https://reactjs.org/docs/reconciliation.html
Cool to see and sounds like a good book. I wonder how much overlap the book’s content would have with Clojure concepts?
No idea... yet! But I'd love to see a Clojure equivalent for the Little / Reasoned / Seasoned Schemer
Anyone with some good tutorial for learning Clojure/Getting interested in Clojure as a beginner? I want to introduce a friend to Clojure (actually using it, not Rich's videos), but to throw setting up Emacs in his face together with https://www.braveclojure.com/introduction/ feels a bit too much. Even if I went that path.
So far I had a look at https://www.clojurenewbieguide.com/
I recommended Cursive, but not sure if Light table is easier.. would be nice with a all-in-one Tutorial.
he is not. I guess Cursive would work since he uses IntelliJ on a daily basis
I’ve recently revieweed a few books for intro material — Getting Clojure seemed to be the most gentle, no-fluff approach.
I second @U7PBP4UVA with Getting Clojure.
The downside of that book is that it doesn’t have exercises. My plan so far is to use the 2015 AoC puzzles, as the first 5-6 are very easy to solve.
I'm a perpetual newbie in many respects. I use Atom with parinfer, previously with proto-repl, but I'm trying out Chlorine. I'm impressed by all popular options, at a distance. I gravitate towards Atom because: fewer bells and whistles than Cursive, more modern UI sensibilities than vim and emacs. Parinfer, because paredit makes me feel that a past as a professional piano player would have been useful (vim and emacs induce this sensation as well). Having at least tried my hand at all other options known to me, Atom is what I would recommend someone completely new to Clojure.
This guide is still largely relevant: https://gist.github.com/jasongilman/d1f70507bed021b48625
Note that Chlorine only supports socket repl. If nrepl is desired, proto-repl is the alternative.
That is a benefit of Chlorine in my opinion: it requires less of your Clojure app/REPL.
Thoughts on Udemy as a resource? Our company migrated from a limited number of Pluralsight licenses to a per-employee Udemy license, but I know there's been major issues with course piracy in the past on that platform.
You mean people pirating other folk’s course and putting them on Udemy?
What do these two python lines do?
def tokenizeWords(s) :
global words # clip comments, split to list of words
words += re.sub("#.*\n","\n",s+"\n").lower().split() # Use "#" for comment to end of line
*/
The re.sub()
part removes the portion of each line s
that contains #
, from the #
to the end of the line.
Then converts what's left of the string to lower case and splits that (into words -- so presumably split
splits on whitespace? maybe whitespace and punctuation?)
So "Hello World # say hello\n"
=> "Hello World "
=> "hello world "
=> ["hello", "world"]
(I feel tempted to spin up a Python REPL and just try it out...)
(also, global
is realy really really frowned upon in Python)
Split indeed splits on consecutive whitespace, so "abc def".split()
=> ["abc", "def"]
so its not equal to "abc def".split(" ")