Fork me on GitHub
#off-topic
<
2018-11-16
>
orestis10:11:21

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)

orestis10:11:34

There’s no reference to my code anywhere there.

agile_geek10:11:38

@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
😮 4
emccue17:11:45

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?

luskwater14:11:42

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!

martinklepsch16:11:17

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

dominicm16:11:22

Microsoft offers virtual machines for testing IE

dominicm16:11:26

They're free

fellshard18:11:08

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”.

vemv20:11:33

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

didibus09:11:38

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

john23:11:03

Using WebAssembly and Threads: https://youtu.be/zgOGZgAPUjQ