2018-08-29 21:46:46
*https://github.com/snowblossomcoin/snowart/compare/111287dfa204...a1b1566af258*
https://github.com/snowblossomcoin/snowart/commit/a1b1566af2589d8119e96c8bc850d50221a4316d - flower
GitHub
2018-08-29 22:17:29
how'd one use the pool rpc again?
https://github.com/snowblossomcoin/snowblossom/commit/058e11c75f8dbb56844486d133bd0e82802e8e13
Rotonen
2018-08-29 22:17:51
like what port is that on per default, or one has to tell it to open it up and set basic auth credentials etc?
Rotonen
2018-08-29 22:20:22
ha, found it
https://github.com/snowblossomcoin/snowblossom/blob/058e11c75f8dbb56844486d133bd0e82802e8e13/miner/src/MrPlow.java#L140-L145 ```
if (config.isSet("rpc_port"))
{
JsonRpcServer json_server = new JsonRpcServer(config, false);
new MrPlowJsonHandler(this).registerHandlers(json_server);
}
```
Rotonen
2018-08-29 22:51:22
why do you give the rate intervals out in milliseconds? :smile:
Rotonen
2018-08-29 22:51:56
Is there another way to express time?
Fireduck
2018-08-29 22:52:51
that's a barrel of nightmares i'll not visit tonight
Rotonen
2018-08-29 22:56:19
There is probably an EBCIDC time firmat
Fireduck
2018-08-29 22:58:25
well, let's just say sidereal and solar times complicate life a lot vs. just utc leap seconds
Rotonen
2018-08-29 22:58:38
especially solar times can get quite bonkers
Rotonen
2018-08-29 22:59:18
and varieties of sidereal times which account for precessions are also a thing
Rotonen
2018-08-29 22:59:45
so 5th degree tensors instead of scalars would be the most horrifying answer i've so far had the pleasure to do database queries in
Rotonen
2018-08-29 22:59:57
I'm going to pretend that Unix seconds are all anyone ever needs.
Fireduck
2018-08-29 23:00:10
The Earth spins at exact 86400
Fireduck
2018-08-29 23:00:14
no, but if you add `monotonic` there i'll take it
Rotonen
2018-08-29 23:00:51
the answer to the question of "how many degrees does the earth spin in 24h" is actually a good primer for the nonsense involved, and leap seconds introduce the major categories of nonsense
Rotonen
2018-08-29 23:01:36
and if you need to deal with satellites, there's also relativistic effects at play
Rotonen
2018-08-29 23:01:54
stratum, that's a well made protocol
Rotonen
2018-08-29 23:02:36
The one Bitcoin pool miners use?
Fireduck
2018-08-29 23:02:53
yeah, but they do not deal with barycentric dynamical time
Rotonen
2018-08-29 23:03:01
stratum is what NTP runs on
Rotonen
2018-08-29 23:03:09
and it comes as layered tiers of error management
Rotonen
2018-08-29 23:03:17
Ah
Fireduck
2018-08-29 23:04:15
but since you asked https://en.wikipedia.org/wiki/Barycentric_Dynamical_Time Barycentric Dynamical Time (TDB, from the French Temps Dynamique Barycentrique) is a relativistic coordinate time scale, intended for astronomical use as a time standard to take account of time dilation when calculating orbits and astronomical ephemerides of planets, asteroids, comets and interplanetary spacecraft in the Solar System. TDB is now (since 2006) defined as a linear scaling of Barycentric Coordinate Time (TCB). A feature that distinguishes TDB from TCB is that TDB, when observed from the Earth's surface, has a difference from Terrestrial Time (TT) that is about as small as can be practically arranged with consistent definition: the differences are mainly periodic, and overall will remain at less than 2 milliseconds for several millennia.TDB applies to the Solar-System-barycentric reference frame, and was first defined in 1976 as a successor to the (non-relativistic) former standard of ephemeris time (adopted by the IAU in 1952 and superseded 1976). In 2006, after a history of multiple time-scale definitions and deprecation since the 1970s, a redefinition of TDB was approved by the IAU. The 2006 IAU redefinition of TDB as an international standard expressly acknowledged that the long-established JPL ephemeris time argument Teph, as implemented in JPL Development Ephemeris DE405, "is for practical purposes the same as TDB defined in this Resolution" (By 2006, ephemeris DE405 had already been in use for a few years as the official basis for planetary and lunar ephemerides in the Astronomical Almanac; it was the basis for editions for 2003 through 2014; in the edition for 2015 it is superseded by DE430).
Rotonen
2018-08-29 23:04:48
apparently they finally made a simplification to that for the worst parts in 2006, but dunno if they'll have to go out if they want to use known pulsars for positioning down the line
Rotonen
2018-08-29 23:07:28
Oh good
Fireduck
2018-08-29 23:09:03
also universal time comes with different leap second compensations, there's UTC, then there's a tidally compensated UTC and there's also a tidally and seasonally compensated UTC (UT1R, UT2R)
Rotonen
2018-08-29 23:10:09
and the current ocean mass distribution changes on the northern hemisphere are making that fun for people who need to care
Rotonen
2018-08-29 23:10:44
Ok, I'll just have it return Tuesday or not Tuesday
Fireduck
2018-08-29 23:11:02
seems fair
Rotonen
2018-08-29 23:23:53
to whomever may concern
https://pastebin.com/LVti3aX5 Pastebin: [Python] #!/usr/bin/env python3 import json import requests def main(): url = - Pastebin.com
Rotonen