This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-24
Channels
- # admin-announcements (16)
- # announcements (2)
- # beginners (12)
- # boot (92)
- # cider (1)
- # clojure (149)
- # clojure-argentina (1)
- # clojure-australia (3)
- # clojure-dev (2)
- # clojure-italy (2)
- # clojure-japan (1)
- # clojure-russia (9)
- # clojurescript (48)
- # clojutre (2)
- # core-logic (18)
- # datomic (48)
- # editors (43)
- # emacs (11)
- # funcool (12)
- # hoplon (11)
- # ldnclj (30)
- # ldnproclodo (1)
- # rdf (6)
- # re-frame (13)
- # reagent (10)
- # testing (1)
- # yada (1)
@nblumoe: It is VERY bad etiquette to use (AT)channel. Everyone in channel gets notified!
yes you are right @dmich, sorry. it's just annoying that we run into the 10k message limit so quickly. so if no one reads it on time, it's lost. also I think who does not want to be pinged would disable it. but to be sure: I fully understand, won't ping the channel anymore
I do have another question though. how can I simplify the following small logic program?
(def talents
[{:email ""
:candidates [{:applications [{:status :active}
{:status :rejected}]}]}
{:email ""
:candidates [{:applications [{:status :hired}
{:status :rejected}]}]}])
(defn active-talents
[talents]
(l/run* [q]
(l/fresh [candidate application]
(l/membero q talents)
(l/project [q] (l/membero candidate (:candidates q)))
(l/project [candidate] (l/membero application (:applications candidate)))
(l/featurec application {:status :active}))))
(active-talents talents)
;=> ({:email "", :candidates [{:applications [{:status :active} {:status :rejected}]}]})
The logic seems to be right, I want to get all talents, that have at least one application with status :active
. But the usage of project
is quite verbose. Is there a way to make this whole thing more concise?Okay, I got this now. Already a bit better:
(defn active-talents
[talents]
(l/run* [q]
(l/fresh [candidate candidates application applications]
(l/membero q talents)
(l/featurec q {:candidates candidates})
(l/membero candidate candidates)
(l/featurec candidate {:applications applications})
(l/membero application applications)
(l/featurec application {:status :active}))))
@nblumoe: There are actually logs for this entire Slack team. See http://clojurians-log.mantike.pro/
@dmich, true. But I would assume no one goes to the logs to check if there were any missed questions, but only if one already knows that there is something on the logs one would like to pick up.
Also, some people (not me), are set up to have a text message sent to their phone when notified in a Slack channel. And on more popular channels you can really see the hate that is invoked when someone abuses the here
command let alone the channel
command 😛
yeah, yeah. I know. It's an recurring issue with the notifications. I am good in ignoring selectively, but I understand others like to use this differently. I think flowdock's (at)team mentions are a good idea. As I would never expect anything urgent to happen on the Clojurians slack channels (like "WTF, were did production go?") I don't see a need for this here though. But anyways, sorry again and back to topic. Maybe you have an idea about my too verbose code above?