This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-16
Channels
- # aleph (2)
- # announcements (1)
- # aws (2)
- # babashka (5)
- # beginners (122)
- # boot-dev (1)
- # cider (3)
- # clara (7)
- # cljdoc (11)
- # clojure (161)
- # clojure-dev (45)
- # clojure-europe (8)
- # clojure-france (1)
- # clojure-india (1)
- # clojure-italy (3)
- # clojure-nl (11)
- # clojure-uk (34)
- # clojurebridge (2)
- # clojurescript (13)
- # cryogen (10)
- # cursive (13)
- # datomic (25)
- # emacs (8)
- # fulcro (76)
- # graalvm (2)
- # jackdaw (5)
- # jobs-discuss (2)
- # juxt (13)
- # off-topic (13)
- # pathom (5)
- # pedestal (7)
- # quil (2)
- # reitit (9)
- # remote-jobs (4)
- # schema (1)
- # shadow-cljs (33)
- # spacemacs (8)
- # sql (9)
- # vim (2)
- # vrac (2)
måning
Morning.
morning
fwiw we moved away from aleph as a client (but are still using the server). iirc it didn't handle some edge cases as we expected
huh, what were those @peterwestmacott? i've not had any issues with the client, although we don't do any streaming with it or anything beyond simple requests
I decided it was valid by eye. So may not have been. I think I gave up caring, but assumed it was case sensitivity or header ordering.
I don't recall the specifics I'm afraid - it was a while ago. It may well have been to do with a bad interaction with a proxy.
Hey fellas , is there a straight forward way to convert a string of this format 2020-01-16T18:28:00Z
to a timestamp instance for postgres. Right now I am using the clj-time parse and formatter , but I have to remove the T
from the original string since the parsing doesn't like that . Feels like i'm taking the long winded approach.
but is this what you're looking for? https://github.com/clj-time/clj-time/blob/master/src/clj_time/jdbc.clj#L31
(defn timestamp->sql
[timestamp]
(sql/raw (str "timestamp with time zone '" timestamp "'")))
So, I can't for the life of me get this (Thread/setDefaultUncaughtExceptionHandler .....
to fire
I have an empty clj file, with that function in it, I eval it, then below it I do (/ 1 0)
, throws a dividebyzero error, but nothing gets shown in my uncaught exception handler (I have a little log statement)
@dharrigan I'd expect clojure.main
to be catching that, since that's how you're running your code.
So it isn't "uncaught".