Fork me on GitHub

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)


There’s no reference to my code anywhere there.


@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!

😧 8
😮 4

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:


Microsoft offers virtual machines for testing IE


They're free


I've got IE 11 (I confess my sins! I'm sorry!!) Scrolling works fine.

Lennart Buit20:11:13

I went back to Ruby for a bit, I couldn’t figure why [[:a :b :c] [:d :e :f]] wasn’t valid…

Lennart Buit20:11:05

It also has a bit of a silly way of saying “you are missing either a comma or a square bracket”.


has bit me too 🙂 even worse if you forget the commas in ["a" "b" "c"]

Lennart Buit20:11:05

Especially curious in a language that prides itself that you can omit braces in function calls…

Lennart Buit20:11:24

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


Using WebAssembly and Threads: