This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-28
Channels
- # admin-announcements (1)
- # aleph (3)
- # bangalore-clj (4)
- # beginners (167)
- # boot (14)
- # cider (4)
- # cljs-dev (24)
- # cljsjs (21)
- # cljsrn (33)
- # clojure (214)
- # clojure-greece (2)
- # clojure-italy (2)
- # clojure-korea (16)
- # clojure-russia (29)
- # clojure-spec (31)
- # clojure-uk (86)
- # clojurescript (144)
- # core-matrix (2)
- # cursive (37)
- # datascript (5)
- # datomic (104)
- # devcards (2)
- # events (2)
- # jobs (2)
- # luminus (8)
- # midje (1)
- # nyc (4)
- # off-topic (1)
- # om (39)
- # om-next (1)
- # onyx (47)
- # perun (1)
- # planck (6)
- # proton (2)
- # re-frame (25)
- # reagent (40)
- # spacemacs (9)
- # vim (71)
- # yada (3)
morning.
Morning
Really enjoying Lambda Island. I'd not really played with Luminus but the first part of the intro is great.
Be good to hear how you get on with Luminus @paulspencerwilliams
@paulspencerwilliams what's the date of the next Hydrahack? /lazy
@acron Tuesday, December 13, 2016
Morning....
@ofrom yeah...always been a bit slow đ
Happy holidays.... oh, perhaps a bit too early... just thinking about what pull request I can do for http://24pullrequests.com/
What Clojure projects would you suggest contributing pull requests too... or what clojure projects do you run that have pull requests, especially for those new to your project ?
@jr0cket Iâm intending to help out with clojars, clojars-server-config, cider, and onyx, cljsjs. Perhaps a few others time depending as contributing to a few non clojure projects also
@gjnoonan you have something in the works for the website already? would be happy to collaborate/help
@gjnoonan if you have something in mind for http://londonclojurians.org, lets talk as I was also planning to give it a major overhaul. Or if its a different site, would be interested to see if there are any things we can collaborate on...
@jr0cket I was meaning the http://clojurians.net site, but yes it would be good to collaborate on both đ @martinklepsch I have a few ideas đ
@gjnoonan: tell me more :)
silly question... is it possible for a key in a map to have no value? I wouldn't have thought so...
but I do get this on a println in the browser: ... :question 1, :answer nil, :season-id }
I love the idea of 24 pull requests - but my december is going to be mad busy đ Might see if I can find a few small ones to squeeze some work in on.
@thomas is it not an empty string value?
yeah it could be ""
as that may just render as nothing in js console
note the space after the :season-id
I just tried empty string and it could give you that result
it appears that you can have a nil key, but it will print as nil
(as in :answer
above)
is there a REPL attached to this slack?
Actually it's the value for the key :answer
that's nil
yes, sorry, thatâs what I meant
Same in a CLJS repl BTW
as I just tried it
^ nil keys
Yeah I'd expect nil
keys to print nil
as demonstrated
so style question... This is a reagent app and there is an atom declared in one namespace... (used and updated) but also req in a different namespace where is is also updated.
Not uncommon unless you use re-frame
or petrol
@glenjamin empty strings do prn
with quotes... but they print
blank
what was the problem you had @thomas ?
it started out with me not understanding why a key in my map didn't have a value... turned out to be a "" and println....
but now it looks like I start with a nil ... turned into a "" as per above. and that messes up the logic further down the line
ah, so str
is turning your nil
s into ""
?
yes I believe that is the case... I have a nil as a value in a map... that gets added to a URI as an query-param and then turned into a "" and that is not falsey... while nil is.
@thomas not-empty
is useful for turning empty strings back in to nils
thanks @mccraigmccraig I'll have a look at that
@mccraigmccraig That function did the trick! thank you!!!
that seems ugly to me though - I understand why for consistency, (str nil)
might want to return ââ
- but it feels a bit javascript-y
thatâs true, thatâs worse. And the whole âthrow NullPointerExceptionâ java approach is not something Iâd like to go back to.