sunlightlabs / us-laws

A ticket for every new law of the United States, as of March 12, 2014.
206 stars 27 forks source link

Where is the CODE? #136

Open mnotw opened 9 years ago

mnotw commented 9 years ago
 var a = new Date();// This is what we called code
julianhandl commented 9 years ago

Not one hint that a github repo needs to contain code: https://help.github.com/articles/github-terms-of-service/

nickretallack commented 9 years ago

It would be nice if the text of the laws were contained in an actual git repository so that we could view the diffs.

mahemoff commented 9 years ago

Not only is this kind of repo allowed by GitHub's terms, it's positively encouraged - see https://github.com/showcases/policies and https://github.com/showcases/writing for example. And likely one of the reasons GitHub has been working to make editing documents easier via the website and their desktop clients.

(Admittedly their About page still emphasises it's all about the code! That's where the dollars come from. https://github.com/about).

julianhandl commented 9 years ago

@nickretallack +1

sschengyf commented 9 years ago

+1

g2p commented 9 years ago

It's generated by: https://ifttt.com/recipes/152706-open-a-github-issue-for-every-new-bill-signed-into-law

Not exactly source code, but a form. Here's a screenshot.

I think the notifications come from https://github.com/sunlightlabs/scout. The IFTTT channel definition is opaque (IFTTT doesn't have much of an API, ironically), and in fact creating IFTTT channels requires a partnership. The scrapers doing the heavy lifting are at https://github.com/unitedstates/congress .

mnotw commented 9 years ago

@julianhandl @mahemoff I'm new here, thank you for telling me that :D

shunzh commented 9 years ago

It doesn't harm to have the code right? I want to try to compile it and run on some cases!