This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-15
Channels
- # admin-announcements (130)
- # alternate-reality (2)
- # aws (20)
- # beginners (49)
- # boot (1)
- # braid-chat (18)
- # cljsrn (54)
- # clojars (1)
- # clojure (70)
- # clojure-art (1)
- # clojure-japan (21)
- # clojure-miami (2)
- # clojure-my (7)
- # clojure-russia (60)
- # clojurescript (75)
- # community-development (12)
- # core-matrix (7)
- # cursive (23)
- # datomic (31)
- # dirac (2)
- # dunaj (3)
- # dysphemism (5)
- # editors-rus (1)
- # emacs (22)
- # events (9)
- # funcool (56)
- # hoplon (63)
- # human (1)
- # jobs (9)
- # ldnclj (7)
- # lein-figwheel (21)
- # leiningen (1)
- # off-topic (2)
- # om (61)
- # onyx (20)
- # other-lisps (2)
- # portland-or (1)
- # proton (26)
- # re-frame (27)
- # reagent (16)
- # ring-swagger (30)
- # spacemacs (6)
- # yada (5)
still need to update the readme file for notify, but otherwise it is ready to be released.
Once released, I'll push the changes to demo for castra-notify-random and castra-notify-chat.
[ANN] Notify release 0.1.0 drops old sessions when the max number of sessions is exceeded. Not backward compatible. 😞
@laforge49: 🍾 !!
The only open issue now for notify is the degrading poll timer. Of course, we still really need long poll and not a degrading poll timer, but at least the degrading poll timer is a quick fix. 😄
Indeed, @micha working on notify 0.1.0 was getting old--it was just taking way too long! Glad to be done with it. 😄
It should have been a trivial rewrite, except for the complexities of having login be event driven. 😞
Even as a non-js dev, this looks helpful: https://github.com/magomimmo/modern-cljs
Wondering about adding a timestamp to notifications. For some things it is important, for other things less so. But there are advantages to doing it uniformly for al notifications.
In a sense, notifications are like a journal of a database, reflecting changes over time. Adding a timestamp opens the door to a number of things. Like activity analysis. But perhaps I'm getting to far ahead, as we do not have any demos yet which include durability.
On the other hand, I want to stabilize things as soon as possible. And as it would be handy in the future, why not add it now?
One thing I was happy to see was js date. It allows us to display a timestamp in local time. Which is way cool. So for example, a chat could not only show who said what, but also when.
hey dudes, I was wondering - in a boot cljs project, is it possible to output two files?
hmm I think I found it, the modules compiler option
whoops, my bad
Looking at a .hl file, I see the alias js being used. Looking at the build.boot file, it is not at all clear what it is aliased to. What is js aliased to??? Thanks!
--the require in the .hl file does not define this. So I'm a bit lost. Convenience and defaults do not always give rise to clarity. 😞
Hmm. It is also aliased in .cljs files. So this is more of a clojurescript thingy than a hoplon thingy.
the js/
namespace is hardcoded into the clojurescript compiler, it's part of the interop mechanism
because there is no namespace concept in javascript the js
namespace is reserved for javascript names
I think the only solution to my thick-headedness is to write a lot more code and to read more too.
I just don't have the deep intuitive grasp yet that I have after working 20 years in Java. Makes me feel dumb.
when the hoplon compiler compiles a .hl file into a html file and a cljs file, it only reads the first form (the page
declaration)