This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-21
Channels
- # beginners (82)
- # bitcoin (1)
- # boot (38)
- # cider (6)
- # cljs-dev (13)
- # cljsrn (5)
- # clojure (320)
- # clojure-italy (22)
- # clojure-losangeles (6)
- # clojure-russia (55)
- # clojure-spec (25)
- # clojure-uk (48)
- # clojurescript (64)
- # component (16)
- # core-async (6)
- # cursive (54)
- # data-science (2)
- # datascript (2)
- # datomic (8)
- # docker (1)
- # ethereum (1)
- # fulcro (1)
- # garden (1)
- # graphql (16)
- # heroku (6)
- # hoplon (12)
- # jobs (4)
- # juxt (1)
- # leiningen (9)
- # off-topic (39)
- # om (13)
- # om-next (2)
- # onyx (9)
- # pedestal (2)
- # portkey (12)
- # re-frame (25)
- # reagent (6)
- # ring-swagger (4)
- # schema (1)
- # shadow-cljs (10)
- # spacemacs (11)
- # testing (19)
- # uncomplicate (1)
- # unrepl (6)
- # vim (21)
- # yada (3)
@mccraigmccraig considering you posted that very late at night I suspect you failed š
yep @thomas suddenly there were macros everywhere, and i was having to determine whether the macro environment was for clj or cljs compilation
fortunately the schema guys have been there before me, otherwise it would have been a much later night https://github.com/plumatic/schema/blob/master/src/clj/schema/macros.clj#L21
i think it's all UGT here @reborg
it should really be UTG though, to properly appease the french, shouldn't it ?
Bonjour
@jonpither you're back?
Hi @jonpither - welcome back to Blighty
I was wondering if there was a cron-esque library kicking around that people recommendā¦ Thanks @conan and @dominicm
Anyone got any ideas about this: I am ingesting a CSV file, before I put the data into the SQL table it is going to live in I am converting values from their string representation to numbers Ć la (Double/parseDouble ā25ā). Unfortunately the fields in question can__ be empty strings, and if they are empty I need to not have a NumberFormat errorā¦ Is there a Clojuric / good way to handle this that anyone else has had in the past and that they can share?
Moreover the field being empty is an important distinction from say ā0ā and I want the field to show a NULL in the SQL db, not an empty string or a āplaceholderā
@maleghast (some-> "25" (Double/parseDouble))
Hmmm
user> (some-> "" (Double/parseDouble))
java.lang.NumberFormatException: empty String
put a not-empty
in there after the value @maleghast
@maleghast oops, I thought they were nil on emptiness
@mccraigmccraig Thx š @dominicm - Nope, when you consume a CSV with clojure-csv EVERY FIELD is a string, even the empty ones.
I mean, if you want some other approaches: 1. Do the try/catch, nothing un-clojure about it 2. https://github.com/aphyr/dom-top is quite interesting around errors-as-values
letr
from dom-top looks nice
i use the shortcut let
style all the time with a promise monad, but that would be slow for cpu heavy sync ops... letr
looks good for that case
@dominicm - Thanks I will certainly consider both of those options, but this has done a perfect job for what I need in this instance.
Out of curiosity, what do people here use to plan features to implement in your projects? I'm currently using Trello as a kanban board, but right now I only have an hour or so each night to dev on my own pieces - so not really got a good feel for how it works for someone doing this hours each day. The only other alternative I'm aware of is using Jira with some variation of kanban/scrum/etc.
http://Waffle.io and github tickets make a good match
@chrisjd We're wall-to-wall JIRA at work with some projects using Kanban and some using Scrum (usually maintenance vs new build workflows). For my GitHub stuff I use http://waffle.io which is Kanban-ish.