This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-16
Channels
- # announcements (11)
- # beginners (184)
- # calva (91)
- # cider (68)
- # cljdoc (42)
- # cljs-dev (44)
- # clojure (228)
- # clojure-dev (1)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-losangeles (6)
- # clojure-nl (9)
- # clojure-spec (73)
- # clojure-uk (19)
- # clojurescript (61)
- # core-async (6)
- # cursive (2)
- # datomic (11)
- # fulcro (28)
- # hyperfiddle (16)
- # leiningen (2)
- # luminus (3)
- # off-topic (19)
- # om-next (1)
- # re-frame (2)
- # reagent (12)
- # reitit (4)
- # ring-swagger (5)
- # shadow-cljs (14)
- # slack-help (6)
- # spacemacs (2)
- # tools-deps (40)
- # vim (15)
- # yada (4)
We complain about Clojure error stacktraces — here’s something I have to debug today:
MongoError: Model#_modifyAndLogDocument on create: Document failed validation
at Function.create (node_modules/mongodb-core/lib/error.js:43:12)
at toError (node_modules/mongodb/lib/utils.js:149:22)
at coll.s.topology.insert (node_modules/mongodb/lib/operations/collection_ops.js:827:39)
at /www/my-app/node_modules/mongodb-core/lib/connection/pool.js:532:18
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
@orestis yeah but the errors obvious..... your document failed validation... what more do u want? 👿
I am old and once upon a time programmed in COBOL which had no error messages at the time, just status codes you had to look up. My favourite was 30
which, if you looked it up in the COBOL manual said: Status 30: OTHER
!
I'm not old, so i know almost nothing about the COBOL days. I don't have a specific question just... can you tell me the tale?
The BLISS-10 compiler (from CMU, used inside DEC when 36 bits walked the earth) would on occasion emit a bunch of linefeeds, the word Punt!
centered on a blank line, and six or twelve more linefeeds, leaving a cleared screen with the compiler’s admission of defeat. Now that’s an error message!
If anyone has access to IE11 I'd appreciate if they could quickly test if they can scroll on this page: https://cljdoc.org/d/integrant/integrant/0.8.0-alpha2/doc/readme
Awesome, thanks @U1YPTG4UF
I went back to Ruby for a bit, I couldn’t figure why [[:a :b :c] [:d :e :f]]
wasn’t valid…
It also has a bit of a silly way of saying “you are missing either a comma or a square bracket”.
Especially curious in a language that prides itself that you can omit braces in function calls…
Oh ofcourse that would be ambigous
I just can't deal with commas in any other language anymore 😛 Can't believe ow many commas I used to ave to write. Don't even understand why, its not like they accept whitespace in symbols either
Ocaml on wasm: https://medium.com/@sanderspies/a-webassembly-backend-for-ocaml-b78e7eeea9d5
Using WebAssembly and Threads: https://youtu.be/zgOGZgAPUjQ