This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-24
Channels
- # announcements (2)
- # beginners (22)
- # cider (10)
- # clojure (47)
- # clojure-italy (2)
- # clojure-spec (2)
- # clojure-uk (1)
- # clojurebridge (5)
- # clojurescript (19)
- # cursive (1)
- # data-science (7)
- # datomic (2)
- # duct (18)
- # emacs (6)
- # figwheel-main (2)
- # java (2)
- # luminus (1)
- # nrepl (20)
- # off-topic (69)
- # om (3)
- # pathom (45)
- # quil (2)
- # re-frame (16)
- # reagent (1)
- # reitit (6)
- # ring (2)
- # shadow-cljs (33)
- # tools-deps (9)
- # vim (6)
- # yada (1)
Sounds like the ClojureD conference in Germany was a great time. https://news.ycombinator.com/item?id=19233839 I'm jealous! I'm excited for when I can check out one of these conferences. They almost always post videos of these talks right?
if anyone is super bored I'm trying to implement this function and am having trouble. use whatever language you want
(defn pop-first-non-sequence-value [s]
(let [fst (first s)]
(if (sequential? fst)
(let [[rst fst lvl] (pop-first-non-sequence-value fst)
rst (if (and (sequential? rst) (seq rst))
(cons rst (rest s))
(rest s))]
[rst fst (inc lvl)])
[(rest s) fst 0])))
A bit rough, but that at least solves your examples. Not sure how you'd want it to handle empty lists.
I'll be implementing this in a couple languages, so thats very useful, thank you!
Should I be surprised I don’t see neo4j used a lot in open source Clojure projects? At least that’s my impression
I have used neo4j with Clojure. The cypher query language is decent. Neo4j can be run in embedded mode and has a nice traversal API in Java. It’s also extensible via plugins
are datalog and this cypher query language isomorphic, i.e. would it be possible to write a 1-1 mapping?
This is interesting: https://www.w3.org/Data/events/data-ws-2019/
What is quite limiting about the community edition? The comparison between community and enterprise edition is here: https://neo4j.com/subscriptions/
I just saw this got announced, I think it’s relevant to this discussion? https://github.com/threatgrid/asami/blob/master/README.md
@jayzawrotny That’s what sparked my question: I saw the presentation on ClojureD yesterday 🙂
any recommendation on what to learn after clojure? background: learned java/c/python in school, some js as side projects, then clojure professionally until now. so far i love clojure, and hate those c-like languages. but to be fair, i don't have many enterprise experience with them, plus emacs is not the best editor when it comes to writting java.. now i'm hoping to learn a new language to get out of my comfort zone, and hopefully can get fresh perspectives just like when I first learned clojure. so would it be better to install an IDE and go back to dive deep into c#/java/python? or should I look at scala/f#/haskell instead?
Non functional languages feel a bit clunky to me now. Rust has a good balance and tooling is excellent if you want a bit more algol based languages. Else I would probably look into f#
Haskell seems cool but it seems most people just talk about the types and laws rather than what you can actually do with them. (from my perspective anyways)
I'd recommend F# / Haskell if you want to stretch your mind in terms of fancier type systems, and what they can/cannot do for you. Python is good to dive into given awesome library support available, but as far as overall language features I doubt there is much that any of C# / Java / Python would teach you that the others would not (there are differences between them, but less then their similarities I think)
Agree about python too. I really like it's focus on doing cool things and having libraries to help you do lots of stuff
thanks! so sounds like python is a great productive because of its awesome library, where as f#/haskell is a larger paradigm shift?
f#/haskell is less of a paradigm shift for someone accustomed to immutable data structures, as you are from using Clojure. Still a shift, but not like if you were coming from no use of a language that focused on immutable data.
i'll probably go with haskell then, f# doesn't look like it has much of real world usage:thinking_face:
Every .net job is a potential f# job. Just toss a new assembly in the project. I've had a job exactly like that.
the same can be said for clojure with java right? the hard part is actually convincing people to let you toss a new assembly there
in terms of learning static typing, would i miss much if I pick f# instead of haskell?
Haskell is at the edge of static type system research/exploration while remaining a language that people get real things done with
Lazy is cool but it's not transferable to other languages. 3 years ago I chose clojure and every single algorithm or play around I've done since has been in that language so that I wouldn't be a tourist in a bunch of languages but live in one. I haven't regretted it. I would choose f# and do only f# (outside of work) for at least a year
@blance Have you gone through Seven Languages In Seven Weeks, and the sequel Seven More...?
You’ll learn a lot more about types (and future directions of type systems) in Haskell than you will with F#
My recommendation is whatever language you choose (and it's not very important which) you use it for a year and really learn it rather than looking again in a few months.
Rust seems like a cool complement to Clojure. Get to try out some low level, systems programming! Static typing. It's kind of described as Haskell meets C++. Syntax is a bit much for me and compile times are rough but hey, that'll make you appreciate Clojure's elegance and instant repl feedback even more!
Of the languages I've learned "for fun" over the last decade-ish, Go was the only one I was disappointed with. Elm was a lot of fun. Rust was interesting. Kotlin is nice and practical. F# has typed providers which I don't think has been adapted to any other languages and seems like a very useful and powerful feature. I did the University of Washington online course "Programming Languages" to learn Ruby, Racket, and refresh my Standard ML (last time I used that had been in the 80's at university).
In addition, I've done Java, ColdFusion/CFML, Groovy, Scala in production. And lots of Clojure.
Earlier languages I've worked with include Prolog and APL which are both sufficiently different from mainstream languages that I think everyone would learn new stuff from both of them.
(although I never used those in production, I worked at companies that did use them heavily in production -- APL at an insurance company where I mostly did COBOL and assembler; and Prolog at a firm of actuaries where I did C and Parallel C for the Inmos Transputer).
thanks for all the input! i don't think i'll go wrong with any of the recommendation here. i'll try out each of the recommended one (and probably more), then dive deep into one
Yup, and special golfball print heads on their teletypes.
If I was on the Windows/.NET platform instead of Linux/JVM, I think I'd be a fairly hardcore F# user @blance so I think that's a good option, and fairly practical too.
i read it's possible, but haven't seen anyone mention if it's as good as on windows machine
Yeah, the F# community is excellent in my limited experience. I attended an F# workshop at a conference several years ago to learn it for fun and the F# folks at the community sort of "adopted me" for the week and made sure I always had company for lunch and dinner.
Partly so they could evangelize F#, I will add 🙂
I think we already did? 🙂
Hahaha... yes, all of the above! 🙂