How is long-running software supposed to deal with leap seconds that are decreed after the software was started, or even built?
-
Show this thread
-
-
Replying to @johanatan
Does the time-server tell me what the current TAI-UTC adjustment? NTP doesn't seem to do it, although NTPsec seems to have a separate utility to download updates to the leap-seconds file. Sigh.
1 reply 0 retweets 2 likes -
Replying to @Ngnghm @johanatan
if you're in java there are apparently some solutions - go to the very end of this stackoverflow post and yes you just went to twitter to be sent to stackoverflow lolhttps://stackoverflow.com/questions/20746740/how-to-get-international-atomic-time-in-java-7 …
1 reply 0 retweets 2 likes -
Replying to @ndwpdx @johanatan
No Java for me, thanks. Using it is self-lobotomy, or chemical castration, or programming on valium:https://fare.livejournal.com/183297.html
1 reply 0 retweets 2 likes -
Clojure is a great way to participate in the Java ecosystem.
1 reply 0 retweets 0 likes -
Replying to @johanatan @ndwpdx
I like Clojure, and Rich Hickey made a lot of great innovations with it. But it is still a language with a low abstraction ceiling as far as Lisps go, and a rather poor debugging experience, too (unless this has improved since). Frankly the Java ecosystem can die for all I care.
1 reply 0 retweets 2 likes -
Are you referring to lack of support for first-class macros and multi-stage programming using such? I agree it’s a pity that it’s absent but it very rarely matters all that much in practice. That’s the only such limitation I’m aware of: everything else can be easily made. 1/2
1 reply 0 retweets 0 likes -
2/2 and if that really is your only gripe, pretty easy to do codegen to essentially the same effect.
1 reply 0 retweets 0 likes -
And yes debugging is quite nice actually. You have both line-stepper and hot-reload/REPL styles (I mostly use the latter).
2 replies 0 retweets 0 likes
Oh, so can Clojure now let you display backtrace bindings from the REPL, maybe even evaluate code in a frame's environment? I missed that a lot, way back when I used it. But yeah, the macro system has low syntactic abstraction ceiling, compared to say Racket (or even CL?)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!