Re: DIS: Rules Viewer Fixed

2020-08-09 Thread Gaelan Steele via agora-discussion


> On Jul 20, 2020, at 11:36 PM, Gaelan Steele via agora-discussion 
>  wrote:
> 
> Hey all,
> 
> I just fixed ruleset-viewer.gaelan.me, which appears to have gotten broken by 
> some reorganization of the ruleset repo. It looks like it might be 
> intermittently running into some GitHub API bug (possibly because you're not 
> supposed to download as much as I am with a single request)—I'll monitor that 
> and look into alternate solutions (like using a git clone instead of their 
> API). Anyway, for the time being, it works.
> 
> Gaelan

This now caches the generated page, so it should be a lot faster and reliable. 
It invalidates the cache in the background if it receives a request more than 
an hour after the last update, so you may need to reload a few times to get the 
latest page if you're the first one to use the viewer after the ruleset gets 
updated.

Gaelan

Re: DIS: Rules Viewer Fixed

2020-07-22 Thread omd via agora-discussion
at 11:36 PM, Gaelan Steele via agora-discussion  
 wrote:



Hey all,

I just fixed ruleset-viewer.gaelan.me, which appears to have gotten  
broken by some reorganization of the ruleset repo. It looks like it might  
be intermittently running into some GitHub API bug (possibly because  
you're not supposed to download as much as I am with a single  
request)—I'll monitor that and look into alternate solutions (like using  
a git clone instead of their API). Anyway, for the time being, it works.


Nice.

In case you have time to develop this further, I’d love to have the ability  
to view old versions of rules and diffs between versions.


Admittedly, that’s a big ask.  Ideally there would be history going back  
further than the current Git repo, but getting that requires parsing  
multiple data sources, which are sometimes fragmentary and even  
contradictory.  I speak from experience: in the past, I worked on two  
different tools for this purpose, but I never really completed either of  
them.  Maybe I should actually finish one of them, rather than hoping  
someone will do the job for me… :)  But I’m suggesting it here because I’m  
it fits well with the idea of a ruleset viewer application.


Re: DIS: Rules Viewer Fixed

2020-07-21 Thread Gaelan Steele via agora-discussion



> On Jul 20, 2020, at 11:36 PM, Gaelan Steele via agora-discussion 
>  wrote:
> 
> Hey all,
> 
> I just fixed ruleset-viewer.gaelan.me, which appears to have gotten broken by 
> some reorganization of the ruleset repo. It looks like it might be 
> intermittently running into some GitHub API bug (possibly because you're not 
> supposed to download as much as I am with a single request)—I'll monitor that 
> and look into alternate solutions (like using a git clone instead of their 
> API). Anyway, for the time being, it works.
> 
> Gaelan

I also just made some CSS updates. It should now be much more usable on a phone 
or other small screen.

Gaelan

Re: DIS: Rules Viewer Fixed

2020-07-21 Thread Gaelan Steele via agora-discussion


> On Jul 21, 2020, at 11:46 AM, Falsifian via agora-discussion 
>  wrote:
> 
> On 2020-07-21 6:37 a.m., Gaelan Steele via agora-discussion wrote:
>> Oops, the link is (and always has been) agora-ruleset.gaelan.me.
>> Gaelan
>>> On Jul 20, 2020, at 11:36 PM, Gaelan Steele via agora-discussion 
>>>  wrote:
>>> 
>>> Hey all,
>>> 
>>> I just fixed ruleset-viewer.gaelan.me, which appears to have gotten broken 
>>> by some reorganization of the ruleset repo. It looks like it might be 
>>> intermittently running into some GitHub API bug (possibly because you're 
>>> not supposed to download as much as I am with a single request)—I'll 
>>> monitor that and look into alternate solutions (like using a git clone 
>>> instead of their API). Anyway, for the time being, it works.
>>> 
>>> Gaelan
> 
> Thanks. Does this generally show the same version of the rules as 
> https://agoranomic.org/ruleset/flr-fresh.txt ?
> 
> — 
> Falsifian

It uses the data in 
https://github.com/AgoraNomic/ruleset/tree/main/rules_data/rules. That's the 
data source used to generate all formats of the ruleset, so it should never be 
*less* up to date than any other ruleset source. If the H. Rulekeepor updates 
flr-fresh.txt whenever e updates the rules, then yes, they'll be identical.

Gaelan

Re: DIS: Rules Viewer Fixed

2020-07-21 Thread Falsifian via agora-discussion

On 2020-07-21 6:37 a.m., Gaelan Steele via agora-discussion wrote:

Oops, the link is (and always has been) agora-ruleset.gaelan.me.

Gaelan


On Jul 20, 2020, at 11:36 PM, Gaelan Steele via agora-discussion 
 wrote:

Hey all,

I just fixed ruleset-viewer.gaelan.me, which appears to have gotten broken by 
some reorganization of the ruleset repo. It looks like it might be 
intermittently running into some GitHub API bug (possibly because you're not 
supposed to download as much as I am with a single request)—I'll monitor that 
and look into alternate solutions (like using a git clone instead of their 
API). Anyway, for the time being, it works.

Gaelan


Thanks. Does this generally show the same version of the rules as 
https://agoranomic.org/ruleset/flr-fresh.txt ?


--
Falsifian


Re: DIS: Rules Viewer Fixed

2020-07-21 Thread Gaelan Steele via agora-discussion
Oops, the link is (and always has been) agora-ruleset.gaelan.me.

Gaelan

> On Jul 20, 2020, at 11:36 PM, Gaelan Steele via agora-discussion 
>  wrote:
> 
> Hey all,
> 
> I just fixed ruleset-viewer.gaelan.me, which appears to have gotten broken by 
> some reorganization of the ruleset repo. It looks like it might be 
> intermittently running into some GitHub API bug (possibly because you're not 
> supposed to download as much as I am with a single request)—I'll monitor that 
> and look into alternate solutions (like using a git clone instead of their 
> API). Anyway, for the time being, it works.
> 
> Gaelan



DIS: Rules Viewer Fixed

2020-07-21 Thread Gaelan Steele via agora-discussion
Hey all,

I just fixed ruleset-viewer.gaelan.me, which appears to have gotten broken by 
some reorganization of the ruleset repo. It looks like it might be 
intermittently running into some GitHub API bug (possibly because you're not 
supposed to download as much as I am with a single request)—I'll monitor that 
and look into alternate solutions (like using a git clone instead of their 
API). Anyway, for the time being, it works.

Gaelan