Fork me on GitHub
#beginners
<
2017-03-12
>
lepistane16:03:17

are there any libraries for data visualization in cljs? i was thinking of making site that takes input from user plays with that data on backend and returns something like % to front end so cljs can fill column cart for that % maybe even have radial chart (radial progress or something) are there any tutorials, blogs or books about this?

dominicm19:03:54

Mostly it's hooking into js libs. Check out cljsjs: https://cljsjs.github.io/

alexis17:03:04

@kauko the newspaper library does scraping of news articles, makes it easy to extracts things like the article's title, author, date, excerpt, etc.

swizzard19:03:42

are there builtins to decompose namespaced keywords besides namespace?

swizzard19:03:35

what i’d really like is, given :foo.bar/baz, functions to get me :foo and :baz

swizzard19:03:45

they’re not hard to write, necessarily, but i’d greatly like to avoid the overhead of casting keywords to strings and back

yonatanel22:03:44

@swizzard There probably isn't. Namespaces are not really hierarchical. The dot notation is just a convenience.

lucianboboc22:03:45

Hi, i’m an iOS developer and i want to learn a new programming language this year, after reading some articles i thought i should learn Lisp because of the unique concepts it provides. I would like to know how different is Clojure from Lisp and if it will offer the same “unique concepts”? Thanks

seancorfield23:03:33

@lucianboboc Lisp is a whole family of languages. Clojure is a Lisp.

lucianboboc23:03:52

@seancorfield i know that, but my questions is if it has some features missing from the Common Lisp for example

seancorfield23:03:26

I'm really not sure how to answer your question. They're different languages in the Lisp family.

seancorfield23:03:57

There's some commonality between them, just as there is between all of the Lisp languages.

seancorfield23:03:29

But there are differences too, even in syntax...

seancorfield23:03:52

What "unique concepts" attract you to Lisp? Then I'll know whether Clojure has those or not.

seancorfield23:03:45

Code as data? Macros? Yes, Clojure has those.

seancorfield23:03:13

But Clojure is a functional programming language, based on immutable data structures and a set of abstractions (sequences etc).

seancorfield23:03:31

Does that help at all @lucianboboc ?

lucianboboc23:03:44

@seancorfield i think code as data and macros yes. i don’t care about syntax

lucianboboc23:03:11

what i care is to improve as a developer and learn new concepts and i understood lisp can help

seancorfield23:03:26

Yes, many people say learning a Lisp will make you a better developer. I think immutable, persistent data structures and functional programming are the main things about Clojure that will make you a better developer.

seancorfield23:03:09

In real world Clojure, macros aren't used all that much (because they don't compose like functions do).

seancorfield23:03:15

Learning a new language every year or two is a good goal. Have you read the two "Seven (More) Languages in Seven Weeks" books? They're a great way to get a sense of some very different languages.

shaun-mahood23:03:24

@lucianboboc: one thing I think a more traditional lisp may give you that I haven't picked up in Clojure as much is a good handle on recursion - it's not necessary as often in Clojure. Clojure is awesome though, and you should totally learn it :) Completely changed the way I think about programming.