This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-06-11
Channels
- # admin-announcements (96)
- # beginners (102)
- # boot (51)
- # clojure (234)
- # clojure-art (1)
- # clojure-berlin (6)
- # clojure-brasil (1)
- # clojure-china (1)
- # clojure-germany (24)
- # clojure-italy (25)
- # clojure-japan (22)
- # clojure-russia (85)
- # clojure-sg (3)
- # clojure-spain (6)
- # clojure-uk (7)
- # clojure-ukraine (3)
- # clojurescript (108)
- # code-reviews (11)
- # core-typed (3)
- # datomic (6)
- # docs (13)
- # editors (121)
- # euroclojure (10)
- # events (2)
- # jobs (7)
- # ldnclj (77)
- # off-topic (27)
- # reading-clojure (8)
- # reagent (27)
- # robots (2)
- # slack-help (22)
@gjnoonan: you might want to tweet that the archive can be found at http://clojurians-log.mantike.pro/
(defn state-machine* [initial-state function events-in] "Returns a channel that accepts other channels as taps for this state machine in a way similar to clojure.core.async/tap. Reduces initial-state applying (function state event) to each event from the events-in channel and puts each resulting state onto the tap channels." (let [taps-in (chan) states-out (chan) mult (mult states-out)] (go-trace (loop [state initial-state] (alt! :priority true taps-in ([tap] (when (some? tap) (>! tap state) (async/tap mult tap) (recur state))) events-in ([event] (when (some? event) (let [state' (function state event)] (>! states-out state') (recur state')))))) (close! taps-in) (close! states-out)) taps-in))
A useful snippet. Any better channel?
So, Slack archives up to 10000 messages. We have Clojure IRC archive that goes back to 2008. Is it possible to start archiving clojure slack in a similar way?
i've added sitemap today and tried to force him from search console earlier, but i guess we should just wait
@wagjo I can download all the messages ever sent, and should Slack then open up their restrictions a bit more they will be back and visible
How does one add the #C03S1KBA2.de channel (German Clojure users channel) to the clojurians team?
@ul: I'm very new to slack so maybe I'm just confused. Isn't #C03S1KBA2 actually the same thing as the IRC channel #C03S1KBA2 on http://irc.freenode.org?
@ul: Ah, http://irc.freenode.net, of course.
i prefer to think about slack as irc on steroids. i don't know actually if #C03S1KBA2 here could substitute IRC channel in terms of people presence
@ul: Ah, so they are separate? I've thought the channels here on slack were just gateways to the public IRC channels of the same names with some fancy added for registered users.
what is the most mature web framework for clojure?
ok, I mean a skeleton or a set of libraries for building web services that are run one some remote server and have access to configured database, expose RESTful endpoints with JSON for frontend applications, can handle incoming requests, are testable
Thanks. I was going to say Ring+Compojure, but those are really the low level stuff. You would probably benefit from reading the docs for Luminus (http://luminusweb.net/docs).
that is what I found, I just don't need a view part and I was wondering if there's something without it or should I just skip the view part
nope, there's no HTML at all
it's only JSON what is exposed
I'd encourage you to check out the wrap-json middleware if you're always using json, too
@robert-stuttaford: Will the hangout tomorrow be suitable for people new to Datomic?
but I need a solid database layer implementation as well
just not to reinvent the wheel
actually I don't have any requirements
it can be a regular database without any fancy distributed systems
yep, I've found that as well
soundls like Rails
since you can choose what you want. Clojure devs aren't really into monolithic frameworks
+postgres - adds db.core namespace and add PostreSQL dependencies
- this one seems interesting
like a composable framework build of different components tight together?
can I throw away templating?
good enough
@andrevdm: if you’re completely unfamiliar, then it might not be suitable. based on the feedback i’ve gotten, it’s going to focus on how to model with datomic. i’ll do a quick overview of the data model and how schema works, and then dive into some gotchas based on questions i’ve received
@robert-stuttaford: is there much different there from normal relational modeling? Apart from multi-valued attributes killing join tables?
guess you’ll have to watch and see
in seriousness, though, as i said, i’ve gotten great questions, and i have a couple gotchas to talk about
@kamillelonek: I also built a template on top of luminus and chestnut with a few more features, but not so much choices than luminus: https://github.com/sveri/closp
I'll definitely check that out! thanks
https://github.com/sveri/closp#differences-to-luminus links are not working
@robert-stuttaford: guess I'll watch the recording 😉
@kamillelonek: thanks, I will fix that
@kamillelonek: fixed
@kamillelonek: btw, it is fairly easy to switch templating in luminus and closp, like with most things, as, all you get are some source files to start with. Apart from that, there is no automatic upgrade path provided by both. But instead, you can update the deps you need yourselt
I see
@kamillelonek: And, you don't even need to switch but can use multiple engines at the same time
actually I don't need any
templating on server is kinda old school these days
well, twitter made a step back and generates templates for more things than they did last year
yes, there are definitely cases when this is required
I cannot imagine, for example, banks having completely Single Page Apps
without any server side work
cough http://hiccup.space has some hiccup examples
@kamillelonek: with closp I provide a very basic user administration, I made this server side generated because I find it more pluggable to SPA and SS solutions, of course, this is just an opinion, but it served me well so far
Fantastic article about code and programming for non-programmers: http://www.bloomberg.com/graphics/2015-paul-ford-what-is-code/ even has a good clojure section!!
Hi, anyone here currently taking “Big Data with Apache Spark” on edx and trying examples and labs with Sparkling - http://gorillalabs.github.io/sparkling/ ?
How is this different from https://github.com/yieldbot/flambo?
@barton: It’s successor to clj-spark & flambo, refer to 1.0.0 release section - https://github.com/gorillalabs/sparkling. I tried the first lab exercise - https://github.com/tilakthapa/berkeley-spark/blob/master/src/berkeley_spark/spark_tut_stu.clj . And I’m planning to do all exercises and labs using Sparkling if I got time.