Easy: synchronize with a time server periodically.
-
-
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 -
Replying to @johanatan @Ngnghm
Scala is a JVM lang with many complaints. "low abstraction ceiling" is not among them.
2 replies 0 retweets 2 likes
Has the macro story been fixed for Scala at long last? Last I touched it, it was a radioactive mess. "Low syntactic abstraction ceiling"
-
-
Replying to @Ngnghm @johanatan
I can't say for sure, because I removed the one macro I had in my project because I found a better way to derive the code with types (shapeless.LabelledGeneric.Aux ftw as usual). True, shapeless relies on macros - but shapeless does much of what you'd want macros for.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
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!