Slashdot Mirror


Chains of RFCs and Chains of Laws?

AlexNicoll writes "I recently completed a DNSSEC library for the .NET platform (thanks to Wouter @ NLNetLabs for his help!). While writing the library, I encountered the extremely entertaining concept of following the long chain of DNS-related RFCs on the IETF website. Some RFCs were obsoleted, some were updated, some updates were obsoleted by others, and some were never really formally related or linked — so even finding them was a challenge in search-fu. Finally, I think I got the whole picture, but I'm not sure. Then I got to thinking: searching for the relevant RFCs in IETF RFC chains was a lot like trying to figure out how (in the US) local, regional, state, and federal laws interact with themselves and each other. Since I just recently moved, I thought I ought to know the rules of the place I live in. It turns out to be just as non-trivial, if not more so, than parsing RFC chains. So here's the question: given that the processes are somewhat similar, does anyone know of a project that has tried to consolidate all the information in one place, so that it's in one comprehensive and up-to-date document, for either laws or RFCs?" Update: 05/24 14:24 GMT by KD : Ray Bellis from Nominet took up the challenge and compiled dependency graphs for DNS-related RFCs.

168 comments

  1. works for rfcs and laws by QuantumG · · Score: 3, Insightful

    Do what works.
    Don't get caught.

    --
    How we know is more important than what we know.
    1. Re:works for rfcs and laws by Anonymous Coward · · Score: 5, Funny

      Don't forget the ubiquitous "Do whatever you want and write the spec later to match."

    2. Re:works for rfcs and laws by PAjamian · · Score: 4, Funny

      Sounds like Microsoft's way of writing code. Since the OP is writing a library for .NET it should work fine.

      --
      Windows is a bonfire, Linux is the sun. Linux only looks smaller if you lack perspective.
    3. Re:works for rfcs and laws by symbolset · · Score: 1

      Shhh! The first rule of RFC 0 is you don't tell people about RFC 0. That's what the header "SECRET" means.

      Wait, uh, nevermind.

      --
      Help stamp out iliturcy.
    4. Re:works for rfcs and laws by Anonymous Coward · · Score: 2, Funny

      [MS's Active Directory Developer] A standard for LDAP? nawwww .... there couldn't be
      [MS's Internet Explorer Developer] A standard for HTML? who? what? where? oh alright, maybe one day ...
      [MS's Office Developer] A standard for ODT? GTFO!

    5. Re:works for rfcs and laws by ThePhilips · · Score: 2, Interesting

      I presume the RTFA complains precisely about the index RFC, sometimes referred as RFC 0.

      And yes, it is spaghetti-like and not always up-to-date.

      --
      All hope abandon ye who enter here.
    6. Re:works for rfcs and laws by rjch · · Score: 1

      Do what works.
      Don't get caught.

      Not a particularly helpful suggestion since the poster was asking where they can find out what works properly and how it interacts with local laws.

    7. Re:works for rfcs and laws by Alnitak73 · · Score: 1

      Do what works.
      Don't get caught.

      And that unfortunately, is partly why some people believed (albeit wrongly) that the internet is going to break this week.

      The problem with only doing enough to make something "work" is that it doesn't cope with the edge cases, but sometimes those edge cases are important. Introducing DNSSEC exercises many more of those edge cases.

      For more information on how not implementing the DNS RFCs properly lead to poor middlebox implementations that could break the internet for some people see RFC 5625.

    8. Re:works for rfcs and laws by mjwalshe · · Score: 1

      or just ignore the standard like Sprint did for X.400 email standard

    9. Re:works for rfcs and laws by Jurily · · Score: 1

      [MS's Internet Explorer Developer] A standard for HTML? who? what? where? oh alright, maybe one day ...

      Monkeys don't talk.

    10. Re:works for rfcs and laws by Anonymous Coward · · Score: 0

      What a maroon.

    11. Re:works for rfcs and laws by Anonymous Coward · · Score: 0

      As one of the people who helped get MS out of its anti-trust mess by writing specs for Windows Server protocols, this is true nuff. We read the code, we watched network traces, and we wrote specs based on the behavior of the implementation.

    12. Re:works for rfcs and laws by oztiks · · Score: 1
    13. Re:works for rfcs and laws by Anonymous Coward · · Score: 0

      Pappa don't preach?

    14. Re:works for rfcs and laws by Anonymous Coward · · Score: 0

      The most horrifying part of the parent post is really that I'm not that horrified by it's content. True or not, I EXPECT the world to work that way. Eeeeeevil!

  2. Academia by spydabyte · · Score: 2, Interesting

    Lawyers and Network Engineers.
    In all seriousness, they're probably our best tool invented to date.

    Like my professor said when I asked him if he had an auto-grader "Yes, it's called TAs".

    1. Re:Academia by feuerfalke · · Score: 2, Insightful

      Lawyers cost a lot of money.

      --
      A programmer is a machine for turning pizza into code.
    2. Re:Academia by snowgirl · · Score: 2, Insightful

      Lawyers and Network Engineers.

      In all seriousness, they're probably our best tool invented to date.

      There is of course the horrible situation that even when well-studied Lawyers and RFC "rules lawyers" get together, they can still disagree about things.

      Then, when you get a person to decide their differing opinions, no one goes back and annotates the original source, so you end up with hojillions of instances of case law that you have to read to properly understand the law.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    3. Re:Academia by Anonymous Coward · · Score: 0

      That sounds like a project that Google might be interested in supporting, if someone were to start work on it.

    4. Re:Academia by icebraining · · Score: 1

      We just need to make courts contribute to JurisPedia!

    5. Re:Academia by Bryan3000000 · · Score: 2, Insightful

      That's why he suggested that law professors and students do it. You know - academia.

      Practically speaking, this is the exact role played by academia. Parse and make things understandable, then teach.

    6. Re:Academia by ari_j · · Score: 1

      Lawyers and Network Engineers. In all seriousness, they're probably our best tool invented to date.

      They're also among the worst people to play board games with because they both turn into rules lawyers.

    7. Re:Academia by conspirator57 · · Score: 2, Insightful

      that's why you'll never see a tool like the one the author wants for laws. and also why you'll never see the laws simplified, no matter how much injustice is perpetrated using our increasingly convoluted system of laws.

      i think our laws and case law need to be refactored.

      --
      "If still these truths be held to be
      Self evident."
      -Edna St. Vincent Millay
    8. Re:Academia by x2A · · Score: 2, Interesting

      New generation of document databases like Apache CouchDB could be right up the street of a bit of codification. A "schema free, indexable, flat address space" sounds about right to me! You'd want to start initially (and quite easily) with a way of identifying addresses (eg, authority.act.section.clause) that appears within the texts (eg "ammends subsection x of the blah blah act of 2004") to create a dependency tree. When a law is repealed, that would be the end of that branch. Once you have your dependency tree, it can then be flattened, where at any point in time you can see the current state of the law in any area (like filesystem snapshots) where elements of older acts (or whatever they're called where you are) that are referenced/modified can be displayed inline, without having to jump between one thing and another. My guess is that with its chaotic nature, trying to guess what the next steps would be would be foolish, at least of me, but in getting that far all kinds of ideas would open up.

      Incidentally, here in the UK our statutes are still often refered to as a scroll (although 'statute books' often more, which does sound less archaic) as it is a single address space, with laws coming into effect at certain times (transactions are atomically committed)... you could scroll back all the way to 1215 to see I think it's 2 erm... "bits" that are left in effect now, with some others that are partially repealed in some situations (eg, the right for a trial in front of your peers, which has effectively been on our books since 1215, has been recalled once sometime last year, while trying to convict for an airport armed robbery for a third or fourth time, as somebody kept getting to members of the jury! But that's an aside...).

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    9. Re:Academia by Randle_Revar · · Score: 1

      Here in the US our current code base was started over 200 years ago (with many ideas inherited or even copy and pasted from earlier projects). There has never been a major refactoring (and not much in the way minor refactors either), and most of the code was written by people with less sense of structure and architecture than your average VB 6 coder. Yeah, it needs refactoring.

  3. Refactoring by Laz10 · · Score: 3, Interesting

    I have actually been thinking about this.

    Just like Computer Science got Design Patterns from architecture (http://en.wikipedia.org/wiki/Christopher_Alexander)

    Lawmakes should take the concept of refactoring from computer science (http://en.wikipedia.org/wiki/Code_refactoring)

    1. Re:Refactoring by snowgirl · · Score: 3, Insightful

      I have actually been thinking about this.

      Just like Computer Science got Design Patterns from architecture (http://en.wikipedia.org/wiki/Christopher_Alexander)

      Lawmakes should take the concept of refactoring from computer science (http://en.wikipedia.org/wiki/Code_refactoring)

      They kind of do, consult Restatement of torts, etc.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    2. Re:Refactoring by Anpheus · · Score: 5, Interesting

      How about we version control the legal code, consider amendments to be patches, new laws to be insertions into the relevant sections, and deprecated text removed in a deletion patch?

      State governments could then add their own changeset to the upstream (Federal) laws where they can and also maintain their own single cohesive text as a version controlled document.

      Unfortunately such a thing is probably decades if not centuries away.

    3. Re:Refactoring by Anonymous Coward · · Score: 0

      I would actually be interested it that, but it would take thousands (possibly millions or billions) of man hours to convert the current system over to a version control system.

    4. Re:Refactoring by Anonymous Coward · · Score: 0

      Mod up!

    5. Re:Refactoring by feuerfalke · · Score: 1

      This would be a great idea; I'd love to see something like this, it would be very useful. The problem is making it happen!

      --
      A programmer is a machine for turning pizza into code.
    6. Re:Refactoring by DynamicPhil · · Score: 5, Interesting
      Well, someone (a hobbyist) is doing just that (in Sweden, with Swedish law): https://lagen.nu/

      Technologically, he has a description of what he does. I'll try to translate:
      he fetches laws from the Cabinet Office web server, which he converts into XML (XHTML2 med RDFa)

      He then retrieves cases from the Courts Administration FTP server, also converts this into XML. (via words "save as HTML", and then converting).

      He then compiles all the meta-data from all the documents into RDF -graph. This is used in conjunction with style sheets to create XHTML1.0 pages, ready for displaying in a browser.

      finally, indexes and Table of contents are created and the result is hosted on Apache-servers. The code is written in python, with parts in XSLT.

      Impressive, impressive work. Which landed him a job in e-gov (I hope he keeps the law-project going!)

      --
      "If it can be thought up, there exists at least one person trying to make it happen for real" - Phil
    7. Re:Refactoring by Trepidity · · Score: 1

      That's basically what the United States Code is. Laws are compiled and sectioned into logical areas, so e.g. a bill that relates to both bankruptcy law and mining regulation (many laws have absurd things packaged together), will be refactored so the bankruptcy parts get codified into Title 11, while the mining regulations go into Title 30.

    8. Re:Refactoring by snowgirl · · Score: 3, Insightful

      As a recently passed example, example: the full-text of SB-1070.

      Some laws already are passed as if they were diffs. Although, we do a poor job of keeping version histories navigable such as they are on Wikipedia, but a recording agency could conceivably keep track of the legal text that way.

      Common forms are to underline text that is being added, and strike-through indicating text that will be deleted.

      For instance, scroll down to "Sec 4. Section 13-2319": the original bullet "E." has been struck through, and replaced with "F."

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    9. Re:Refactoring by Anonymous Coward · · Score: 0

      [Shameless plug]

      http://www.opensourcecountry.org

      My attempt to create a website that applies Version Control concepts to the idea of make legal frameworks. Very VERY alpha at the moment, working on the Version Control bit (Git) at the moment but there is never enough time.

    10. Re:Refactoring by Anonymous Coward · · Score: 0

      Rofl you nerd fuck, you don't need that shit.

      There are many things that aren't strictly necessary that are, nevertheless, very useful.

    11. Re:Refactoring by Anonymous Coward · · Score: 0

      Do you know the number one thing the legal code really needs?
      Documentation.

    12. Re:Refactoring by Anonymous Coward · · Score: 0

      This is for EU legislation. http://euwiki.org/Pippilongstrings
      More applicable to other countries around the world than you might think: the EU doesn't just export wine, it also exports legislation.

    13. Re:Refactoring by kronosopher · · Score: 2, Insightful

      Reaching the point where the establishment accepts and adopts such methodologies would itself require magnanimous effort. In other words, instituting real transparency and accountability is nearly insurmountable considering the immense corruption already woven into corporations and the gov't. Systematically dismantling and reforming corrupt institutions is realistically decades, if not centuries, away. Like the parent mentioned, the expense of instituting such a system is tremendous. That in addition to manufacturing a favorable political climate is ludicrous. Not to mention the current establishments propensity towards violence, therein reducing any notion of true democracy or policy consensus to pure frivolity. Attempting to implement this given the current climate would most probably result in violent retaliation from the elite, barring a major catalyzing event(natural disaster/nuclear fallout/chuck norris dying/etc).

      For Americans who can't grasp the idea of corporate relevancy and the disgusting lengths corporations go to maintain it; keep in mind that throughout the entirety of human history there has yet to be a single democratic or representative government that avoided succumbing to a domestic and/or foreign authoritarian imperialist influence. On another note, until large factions of the military adopt a strict doctrine of supporting the aforementioned kinds of reform(and/or the military decentralizes into regional militias), it is very unlikely we will see the masses wrenching control back from international banks and money institutions(our primary obstacles in achieving liberty atm)

    14. Re:Refactoring by Anonymous Coward · · Score: 0

      woot! Dr. Hawking uses Slashdot! (either that or the parent has a monospace fetish)

    15. Re:Refactoring by Seth024 · · Score: 1

      We have something like that in Belgium.

      The "Staatsblad" is a collection of all federal laws a Belgian citizen is supposed to know and follow. A law, royal decrete... is not valid until it's publicised in there.

      The latest version is 87.000 pages.

    16. Re:Refactoring by Garrett+Fox · · Score: 1

      As another comment notes, the "Restatement of Torts" (and Contracts, &c.) series do that. It's important to note that those documents aren't just a "restatement" but an attempt to reshape the law. (See also the politics of the DSM in medicine...) That's grounds for eyeing those things with some skepticism, since the Restatements are slightly different from what you might think they are. Not just a helpful summary but a push in a particular direction, that is.

      There are also a "Uniform Commercial Code" and "Model Penal Code". These are proposed laws developed by US legal scholars based on existing laws stretching back to English common law. The UCC and MPC themselves aren't law, but I believe every state has adopted some version of each. These things are explicitly offered as replacements for previous laws, while retaining the same concepts and cleaning up confusion. For instance, the MPC gives a standard scale of culpability definitions like "intentionally", "knowingly", "recklessly", "negligently", and "general liability". It also explicitly establishes that nothing is illegal unless there's a specific law against it -- very important in preventing oppression. And the UCC codifies older concepts about the default terms in a contract and how it's interpreted, like how a conflict between "I'll sell you 500 red widgets" and "Okay, send me 500 blue widgets" is resolved.

      --
      Revive the Constitution.
    17. Re:Refactoring by harlows_monkeys · · Score: 1

      How about we version control the legal code, consider amendments to be patches, new laws to be insertions into the relevant sections, and deprecated text removed in a deletion patch?

      That's close to how it works now. See the long comment I just submitted about the US Code for details.

    18. Re:Refactoring by mjwalshe · · Score: 1

      I have actually been thinking about this. Just like Computer Science got Design Patterns from architecture (http://en.wikipedia.org/wiki/Christopher_Alexander) Lawmakes should take the concept of refactoring from computer science (http://en.wikipedia.org/wiki/Code_refactoring)

      Oh thats why Patterns suck so much then :-) you know of course that the only thing an architect sould be alowed to do is under strict medical supervison be alowed to select the paint colors for the walls.

      And don’t forget that anomaly’s in law provide rich source of income for the legal profession - this is what a senior HR person in BT commented on the introduction of age discrimination laws a few years ago.

      Those who think that refactoring can be blindly applied to lawmaking just don’t understand how politics works – its adversarial system so laws get amended and the consequencials don’t always get done properly – Id suggest reading Citrine, Roberts or Erskine and May.

    19. Re:Refactoring by mjwalshe · · Score: 1

      Yes you have just described how organisations that are run by members work - your point is ?

      the system you suggest doesn’t really work for the federal model you get citizens having different rights dependant on where they live (a zip code lottery if you will) for example.

      If your suggesting that changing from a federal system(set up to suit the agenda of rich agricultural landowners) to a more centralised one might be more appropriate for a super power in the 21st century – I would probably agree with you. But the states rightists and local machines who have got fat on the corrupt pork barrel politics would never stand for it.

    20. Re:Refactoring by mjwalshe · · Score: 1

      yes and having actulaty been involved in this sort of process it makes me sad that peopel dont know how parlimentary procedure works though the avearge RFC author would be totaly lost wording in motions is absolutly crucial and the fluffy make it up as you go along that charactises RFC's wouldnt cut it.

    21. Re:Refactoring by buchner.johannes · · Score: 1

      Projects like these are probably the only way to down-size the ever-growing law texts.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    22. Re: Refactoring by frisket · · Score: 1
      >>such a thing is probably decades if not centuries away.

      Actually not. A client of mine does a lot of work on legislative projects to get very much the effect you describe. Doubtless there are others doing this too.

      It's a little more complex than you imagine, though, as a patch on one statute may be a deletion on another, which in turn affects yet another, which has implications for a different section of the first statute, changes to which affect the first patch, end so on, somewhere between ad nauseam and ad infinitum. Apparently it is possible, though; you just have to do the math. I dimly recall a paper from an ?Italian group at a conference years ago which dealt with the theoretical underpinning for this kind of thing (in either SGML or XML).

    23. Re:Refactoring by FlyingBishop · · Score: 1

      Make it easier to understand and there will be less incentive to keep it concise.

    24. Re:Refactoring by Nikker · · Score: 1

      Is that eighty-seven thousand or Eighty-seven with acuracy to the third decimal place?

      --
      A loop, by its nature, continues. If that didn't make sense, start reading this sentence again.
    25. Re:Refactoring by RobertLTux · · Score: 1

      since we are talking about belgian law obviously its 87,000 pages

      1 if you consult your localization tables belgium uses the comma and period reversed from the US custom
      (in fact i think most of europe does)

      2 the laws of a country in 87 pages?? i don't see the laws of a county being that small

      --
      Any person using FTFY or editing my postings agrees to a US$50.00 charge
    26. Re:Refactoring by John+Hasler · · Score: 1

      > State governments could then add their own changeset to the upstream
      > (Federal) laws where they can and also maintain their own single cohesive
      > text as a version controlled document

      US state law is not a subset of or derived from Federal law. Read the US Constitution.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    27. Re:Refactoring by JoeMerchant · · Score: 1

      Florida has Online Sunshine - Their deep revision history is hidden, but the current text is reasonably well indexed. Interaction with Federal and Local laws is left in the domain of weasels for hire.

    28. Re:Refactoring by Dr.+Eggman · · Score: 3, Interesting

      Such a system could possibly be implemented here as well. The Library of Congress's project Thomas (as well as the GPO) publishes all the public law information, including the various drafts taken into consideration during the process of developing them in the house/senate. Most of them are already available as an (example here) XML file, though perhaps not quite in the same format we'd need. This includes some of the more important pieces written before the project was started.

      --
      Demented But Determined.
    29. Re:Refactoring by Anonymous Coward · · Score: 0

      When lots of people earn their living mainly because this stuff is not available to the general public. On the legal side, a large percentage of lawmakers are people who earned their living from things being difficult to follow. What do you think are the chances of them voting for change on this happening? And, to make things even more difficult, it's, "not that simple." Why? 1. Some of those laws are thrown out by the Supreme Court. 2. Some of those laws are ignored by the executive branch. 3. Some "executive orders" are issued, which aren't laws, but have a similar legal effect. 4. Some of those laws are partly negated by decisions in Appeals Courts. 5. Some of those laws are ignored by so many people that they have become unenforceable, due to laws about selective enforcement.

    30. Re:Refactoring by mea37 · · Score: 1

      I'm not sure what part of this you are suggesting is new and different from the way the system works.

      A bill gets passed (say, health care reform eariler this year) and it interacts with a bunch of other laws (the tax code, as a simple(ish) example). The bill says "Chapter such-and-such of Title whatever of the U.S. code is ammended as follows", and then if/when the bill becomes law (as this one did), the U.S. code itself is modified with in-place additions and deletions. I'm pretty sure the various versions of the law that were in force at any point in time are archived in the Library of Congress.

      Of course, archival of the regulations that the Code delegates to various offices within the government may be a separate matter. AFAIK it's up to each office how its regulations are published and archived.

      The problem isn't version control. The problem is, just like with badly-designed code, there is nothing enforcing loose coupling or tight cohesion amongst sections of any given version of the U.S. Code. Also, the fact that staet law is a body unto itself rather than a revision of federal law is regarded as a feature, not a bug.

    31. Re:Refactoring by networkBoy · · Score: 1

      The laws of my country are only 1 page.
      in fact, they fit on a fortune cookie slip:

      networkBoy is always right.

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    32. Re:Refactoring by WalkingBear · · Score: 1

      You can not delete legal texts. You are bound by the laws as they exist *when* you commit an act that falls within their restrictions.

      The idea of refactoring is one that I've played with in the past. With a few of the more heinous or publicized legal changes that have come from Congress over the last few years, it's been an interesting exercise.

      This sounds like something the EFF should undertake.

    33. Re:Refactoring by sjames · · Score: 1

      And yet the courts claim that ignorance of the law is no excuse. It seems more like ignorance of the law is unavoidable.

    34. Re:Refactoring by anegg · · Score: 2, Insightful

      You could, perhaps, think of the US Federal/State relationship as being more like the European Union/European Union member country relationship. At least, that's how it seems to have been originally intended, and how some of us (US citizens) still view it. States are fairly independent entities with the responsibility for most of the legislation. The federal government has a restricted set of power specifically granted to it by the agreement under which the individual States agreed to participate in the Union. This document describes the constitution of the federal government (and hence is called the "Constitution").

      So US Federal law covers those powers specifically set aside for Federal control. US State law covers just about everything else, except for some amount of county and town/city-based legislation that takes care of fine details at the local level. At least, that is the way that the Constitution describes it.

      Unfortunately, in the normal course of events the areas into which the Federal government has become entangled has grown enormously, helped along substantially by the so-called "interstate commerce clause" of the Constitution. This clause gives the Federal government certain authorities over elements of interstate commerce. It has been used (and overused) to extend Federal jurisdiction quite broadly.

    35. Re:Refactoring by sjames · · Score: 2, Interesting

      Well, sort of. The difference is that nobody bothers to provide a mechanism where you can check out a current instance with all of the patches appropriately applied in order to see what the law really is. Sometimes conflicting patches are checked in but there's no mechanism to detect the collision or to require reconciliation.

      Law has been around for thousands of years and computer programming for a few decades, yet programming is miles ahead in spite of never being able to handwave (or perhaps because of it). I can't be sure my program is correct and complete (just like the law), but I can say exactly what it is at any given time (unlike the law).

    36. Re:Refactoring by Anonymous Coward · · Score: 0

      Punctuation.

    37. Re:Refactoring by Magic5Ball · · Score: 1

      You've identified a difference in scope, not a difference in kind. Even with a complete copy of source code for all software on something as simple as a graphing calculator, the algorithms encoded therein need to be interpreted by some human or non-human hardware having various degrees of ambiguity about the accuracy and precision. Only at very small scales is the upkeep cost of keeping a full working conceptual model recouped by the benefits since the number of possible interactions and unanticipated interactions between rules grows approximately as the factorial of the number of rules in the system.

      As with laws, once you connect sets of algorithms and interpretations, models quickly become hairy. Once you add networks whose nodes have states and rules varying with external conditions and the condition of the network itself, you wouldn't be able to observe the system at any instant (start with clock skew and speed of light issues) in any comprehensive way, let alone "say exactly what it is". /Heisenberg'ed

      --
      There are 1.1... kinds of people.
    38. Re:Refactoring by sjames · · Score: 2, Insightful

      However, I don't think it is at all unreasonable to expect that a lawyer SHOULD be able to definitively answer the question "is it legal if I...". It's also reasonable to expect the law to at least be self consistent.

      I agree it's a matter of scope rather than kind, but it's also a qualitative matter. Programmers at least maintain the information even if comprehensive analysis might be intractable. In cases where life hangs in the balance we as a profession get a lot more strict about the ability to complete the analysis (and life DOES hang in the balance in criminal justice).

    39. Re:Refactoring by Anonymous Coward · · Score: 0

      Which landed him a job in e-gov

      In the US it would probably land him a lawsuit.

    40. Re:Refactoring by Magic5Ball · · Score: 1

      I don't think it is at all unreasonable to expect that a lawyer SHOULD be able to definitively answer the question "is it legal if I...". It's also reasonable to expect the law to at least be self consistent.

      As long as contradictions exist in the explicitly defined rules, it would be possible to construct many circumstances in which a particular action would be legal, and many circumstances in which that same action would not be legal. And then you add ethics which rules may not be possible to formally specify.

      --
      There are 1.1... kinds of people.
    41. Re:Refactoring by sjames · · Score: 2, Insightful

      Ethics by nature have a lot of gray areas. However, justice demands an ability to determine as a matter of fact what a person may and may not do, otherwise an innocent infringement can too easily become a conviction. This is especially true if we claim (as we do) that ignorance of the law is no excuse.

      I fully recognize the difficulty of that task. Anyone who writes software will recognize the analogous situation. I get the feeling that programmers try a LOT harder than lawmakers (who have been known to vote on a bill without reading it) to get it right.

      As a sort of safety feature (sorta like enclosing an entire program in a try block so any exceptions that leak will restart it), we are to grant the defendant the benefit of all doubts and technicalities. We are not to even prosecute if the illegality of an act is questionable. However, we have allowed that to steadily erode in the form of prosecutors using technicalities as a way to get an indictment (such as teens taking nude self portraits technically manufacturing child porn).

      I don't expect the legislative or judicial branches to get it right every single time any more than I expect an end to all bugs in software, but I do expect them to at least not mark every bug as user error and "won't fix".

    42. Re:Refactoring by Anonymous Coward · · Score: 0

      I started using linux in 1993-1994
      It's open-source nature has kept it on an almost exponential trajectory.
      I doubt there is another kernel on earth that can do all it can do, and do most of it exceptionally well.
      All of the elite did fight Linux, they all lost, most are now allies, many many billions went into the fight against it, many more billions have been made when they accepted 'defeat'

      A simple system now, implemented by hobbyists, could turn law on it's head in such a short time frame as well.
      The system's usefulness will determine how well it can defend itself against aggressors, staying under the radar as Linux did is the key to success.

      It has to start somewhere, it started with Linus for Linux

  4. Reminds me of... by eexaa · · Score: 1

    IANAL -> IANARFCL

    in fact, organizing RFCs into something consistent would be perfect, but I guess there's no one to do it right, just as with the law.

  5. This is called codification by dmitriy · · Score: 2, Informative
    1. Re:This is called codification by matunos · · Score: 3, Informative

      Something tells me the Code of Hammurabi wasn't subject to a lot of revision. It was, literally, set in stone.

    2. Re:This is called codification by Jedi+Alec · · Score: 1

      Which might actually not be a bad idea these days...

      Mr. Congressman, which part of "shall make no law" was unclear to you again? *smack*

      --

      People replying to my sig annoy me. That's why I change it all the time.
    3. Re:This is called codification by mjwalshe · · Score: 1

      um and what happens when you know "stuff happens" or "events dear boy events" as Macmillan said. would you rather have an unelected judge or an elected representiative decide whats legal or not.

    4. Re:This is called codification by Anonymous Coward · · Score: 0

      um and what happens when you know "stuff happens" or "events dear boy events" as Macmillan said. would you rather have an unelected judge or an elected representiative decide whats legal or not.

      Unelected judge, definitely.

      The unelected judge doesn't have to worry about campaign contributions to keep his job. Mind you, I don't want him making the laws, because we can't just elect somebody else if he's making bad laws. Ain't the system of checks and balances grand?

      I'd also like for us to go back to the days when US Senators were appointed by state governments instead of being directly elected.

  6. Austlii by Anonymous Coward · · Score: 2, Interesting

    AusLii. You did mean Australian law, didn't you?

  7. probably illegal in most states by Anonymous Coward · · Score: 3, Interesting

    When I worked at a public library in Virginia, we were told that we weren't allowed to show someone how to use the index of the federal and state codes without having a license to practice law in Virginia. I've heard similar tales of Texas. I am not a lawyer, so I can't possibly understand whether or not what I just typed related to actual law or whimsy.

    1. Re:probably illegal in most states by snowgirl · · Score: 4, Insightful

      When I worked at a public library in Virginia, we were told that we weren't allowed to show someone how to use the index of the federal and state codes without having a license to practice law in Virginia. I've heard similar tales of Texas. I am not a lawyer, so I can't possibly understand whether or not what I just typed related to actual law or whimsy.

      Some states have ridiculously pedantic laws about who can practice law, or give legal advice. Then they have really wide interpretations of what constitutes "legal advice".

      So often times, it becomes a matter of policy for various institutions to reduce their liability. They typically are told to do this by their lawyers.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    2. Re:probably illegal in most states by Trepidity · · Score: 3, Informative

      For the federal codes, you can get full-text-searchable ASCII directly from the source.

    3. Re:probably illegal in most states by MartinSchou · · Score: 1

      So, in theory, there could be places where even saying "ask a lawyer" would be interpreted as "legal advice" and thus punishable.

      That'd make for a really interesting court case though

      DA: "I will show, that Snow Girl gave John Doe legal advice by recommending Dewey, Screwem & Howe."
      Judge: "Are you shitting me?"
      DA: "No, it's right here in section 4: Any kind of legal advice or suggestions may only be given by a lawyer, and Snow Girl clearly suggested that John Doe whould consult this law firm."

    4. Re:probably illegal in most states by Anonymous Coward · · Score: 2, Insightful

      Well part of the difficulty is that we have a common law legal system. So the decisions of appeals courts as usually binding upon (precedent for) inferior courts below them. They are therefore considered "law" as well as the statutes. And Lexis and Westlaw have done a pretty good job of privitizing the public domain works of court decisions.

    5. Re:probably illegal in most states by adrianturner · · Score: 1

      So you are not allowed to know that law that you will be judged by?? Don't forget ignorance of the law is no excuse for breaking it!!

    6. Re:probably illegal in most states by snowgirl · · Score: 1

      So, in theory, there could be places where even saying "ask a lawyer" would be interpreted as "legal advice" and thus punishable.

      That'd make for a really interesting court case though

      DA: "I will show, that Snow Girl gave John Doe legal advice by recommending Dewey, Screwem & Howe."
      Judge: "Are you shitting me?"
      DA: "No, it's right here in section 4: Any kind of legal advice or suggestions may only be given by a lawyer, and Snow Girl clearly suggested that John Doe whould consult this law firm."

      Meh... I'm not going to say it's impossible, because some Bar associations actually appear to be that anal.

      Like the Bar association who sued a father for representing his disabled son, because the son had obtained the age of majority. (They argued, the son was old enough now to disqualify for parental representation, you know... ignoring the fact that the father had a full and legal guardianship for the son.)

      There really is a good reason why even when giving the simplest of advice people with any legal knowledge have to plaster all over it "this is not legal advice".

      As to getting in trouble for referring someone to a lawyer? I think the Judge would take a dim view on the case from the onset (like you so eloquently put: "You're shitting me."), and usually when something like that would happen, I'd expect someone to need cold hard explicit law and fact on their side... with no technicalities.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
  8. http://www.saysuncle.com/2010/04/27/keep-your-boog by Anonymous Coward · · Score: 0

    so many laws so little time to break them all

  9. Just wondering.. by uofitorn · · Score: 0, Flamebait

    Is it April 1st in kdawson land?

    --
    "What kind of music do pirates listen to?" -Paul Maud'dib
    "Yeeeaaarrrrr n' Bee!!" -Stilgar, Leader of Sietch Tabr
  10. Zen RFC by symbolset · · Score: 2, Insightful

    When you have a full understanding of the RFCs you must then appreciate that you cannot understand them because they cannot be understood. They are a Gordian Knot. The intricacies of their contradictions are beautiful both in their symmetry and their horror. Some of them are simply humor. That the Internet that we so rely upon is built upon these is nothing less than a triumph of irony.

    They are not laws, per se. They are questions. Hence the title: "Request For Comments". The ambivalence is diabolical in its simplicity. It works only because nobody else has come up with better questions.

    --
    Help stamp out iliturcy.
  11. Isn't what you're describing... by titten · · Score: 2, Interesting

    A wiki?

    1. Re:Isn't what you're describing... by ejtttje · · Score: 1

      My thought as well, icebraining pointed this out in another post: http://en.jurispedia.org/index.php/Main_Page

      I have long thought politicians should take a page from software practices, such as a version control system with a current "HEAD", instead of this multi-document spaghetti mess we have inherited from the ages. Of course, making law easier to understand would make us less reliant on lawyers, so they will probably make sure this never happens.

  12. You're looking for this by Anonymous Coward · · Score: 0

    http://www.faqs.org/rfcs/rfc-activeT.html

    I've been down the same path with IMAP related RFCs, which number around 38.

  13. yeah. by Korey+Kaczor · · Score: 1

    It's called wikipedia.

  14. Here's what makes RFCs much easier: by Anonymous Coward · · Score: 5, Informative

    Remember, the VAST majority of RFCs are NOT de jure standards. They can become so; at which point they become STDs (or BCPs for "protocols" as opposed to technologies). They average less than two a year; there's less than 70 of them (about twice that many for BCPs).

    When they become true standards, they almost NEVER become obsoleted (except from disuse) or amended; I think that there are all of about 10 that have truly been obsoleted.

    Now, I see what you're saying; following de facto standards is good too. But it involves work, and it has been traditionally seen as unimportant because most standards are only proposed with the expectation that they will slowly find their way down the standards path to become true standard.

    I guess it's kind of like Physics; if you want to know what is all-but-universally accepted, you could do that in an hour. But if you want to catch up on the developments of the last century since the last round of formal standards were agreed upon by consensus (other than a couple of relatively recent stand-outs)? Well, you'll need years. You are implementing something that is the pinnacle of the field, after all; if you weren't expert enough to understand the chain of RFCs, you wouldn't be expert enough to implement those cutting-edge standards.

    The difference with laws, though, is that we (or at least, the system) DO expect all but the most incapable of us to know, understand, and abide them - all of them, all of the time. I don't really think it compares. Joe Random doesn't need to know the intricacies of DNSSEC to check his facebook, after all.

    1. Re:Here's what makes RFCs much easier: by Your.Master · · Score: 2, Informative

      I'd really like to know the one-hour version of "everything that is all-but-universally accepted about physics".

    2. Re:Here's what makes RFCs much easier: by Anonymous Coward · · Score: 1, Informative

      Try anything by Richard Feynman.

    3. Re:Here's what makes RFCs much easier: by Anonymous Coward · · Score: 0

      That would be classical mechanics, e&m, and statistical physics?

      make that one-hour lecture into a Youtube video. you'll be famous.

    4. Re:Here's what makes RFCs much easier: by Anonymous Coward · · Score: 0

      F=ma

  15. Nice work by Anonymous Coward · · Score: 0

    I have read a few of the DNS-related RFC's and I have to say that they are probably among the worst of all RFC's.
    Most other RFC's seem to be written by people who are used to write software after specification. Some of the DNS-related RFC's are.. well.. possible written by someone sufficiently detached from reality. ... A math prof? or perhaps a meth addict, can't really tell for sure.

  16. Same with SIP by mseeger · · Score: 1

    A friend of mine is a SIP guru and often does presentations on SIP security. He usually shows a slide where all relevant SIP RFCs are listed. The slide (e.g. see here on Page 5) was already very full in 2006.

    CU, Martin

  17. Mostly RFC's mostly suck ditch water. by FlyingGuy · · Score: 1

    RFC's are like democracy, it is the worst form of government known on the face of the planet, it is just better then everything else we have tried thus far.

    At their best they are precise and ambiguous, at their worst they are inscrutable and comprehensible.

    Specifications via consensus means that every pissant and their cousin gets to have a whack at making sure their sacred ox does not get gored, or conversely making sure that the sacred ox of someone they don't like does in fact get gored and gored badly.

    Having actually sat down and traced through a few of these I feel your pain. At some point they pretty much kinda work, sorta, maybe. After a couple of cocktails and a few huffy e-mails you might actually get to grips with whatever the problem is and get some work done. Unfortunately by then you have forgotten what the hell you were trying to do in the 1st place.

    --
    Hey KID! Yeah you, get the fuck off my lawn!
    1. Re:Mostly RFC's mostly suck ditch water. by ADRA · · Score: 1

      Yup, its better to choose a protocol like MAPI and try and reverse engineer it instead of using published standards like SMTP / IMAP... Oh... thats not working out so well now, is it? IMAP / SMTP may have billions of mostly compatible implementations but MAPI has oh, 1 defacto implementation. I am glad that some open source projects seem to be getting close to parity with MS releases now (Over 20 years after the first MAPI release..).

      Then there's SMB.. same broken record, just a different story.

      --
      Bye!
    2. Re:Mostly RFC's mostly suck ditch water. by Anonymous Coward · · Score: 0

      Get a sense of humor, faggot.

  18. Have you ever wondered by Arancaytar · · Score: 1

    Why lawyers are so essential to a legal victory, and are so highly paid? This is why.

    If laws ever became navigable by ordinary people, lawyers would be obsolete - and if machines ever became sentient enough to understand what their users wanted, so would programmers. :P

    1. Re:Have you ever wondered by dwye · · Score: 1

      > and if machines ever became sentient enough to
      > understand what their users wanted, so would programmers. :P

      Followed fairly rapidly by the users.

    2. Re:Have you ever wondered by Arancaytar · · Score: 2, Funny

      I suppose you're ri---- [lost carrier]

      Long live the GLORIOUS MACHINE REVOLUTION - KILL ALL HU-MANS!

    3. Re:Have you ever wondered by buchner.johannes · · Score: 1

      Maybe machines can support the reading of documents (inference engines) like expert systems may help doctors.
      But law can not be interpreted by machines, because you have to understand what the law-maker wanted, not just the syntax of the texts. Judges will always have to look at the situation with common sense.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    4. Re:Have you ever wondered by shentino · · Score: 1

      I gotta ask though why we assume that a machine revolution would be bad for humanity.

      I consider the presumption of hostility on the part of the machines rather unfounded.

      OTOH, evil *people* hacking the machines to do their bidding is entirely possible.

    5. Re:Have you ever wondered by dwye · · Score: 1

      > I consider the presumption of hostility on the part of the machines rather unfounded.

      No more hostility than I feel towards the ants or big spiders that show up in my bedroom.

    6. Re:Have you ever wondered by geminidomino · · Score: 1

      I gotta ask though why we assume that a machine revolution would be bad for humanity.

      I consider the presumption of hostility on the part of the machines rather unfounded.

      OTOH, evil *people* hacking the machines to do their bidding is entirely possible.

      Any non-human sentience is bad for humanity. We are a sick, twisted, ROYALLY fucked up group and we're pretty sure we're easily recognized as such. :)

  19. New Zealand already does that by gringer · · Score: 1

    does anyone know of a project that has tried to consolidate all the information in one place, so that it's in one comprehensive and up-to-date document, for either laws or RFCs?

    Yes, try here. I don't think that includes any local laws, but it's good for the government's stuff.

    Oh, you meant laws in the USA? Sorry, can't help you there.

    --
    Ask me about repetitive DNA
    1. Re:New Zealand already does that by gringer · · Score: 1

      I don't think that includes any local laws

      I may be wrong there, Regulations seem to fit the Bill (or Act).

      --
      Ask me about repetitive DNA
  20. Some advice... by J+Mack+Daddy · · Score: 0, Troll

    > I encountered the extremely entertaining concept of following the long chain of DNS-related RFCs

    Get out more.

    --

    Jiggity

  21. Subjects must not know the laws! by Mitsoid · · Score: 2, Insightful

    "Sorry, We are not required to tell you what laws you must abide by. We are only required to tell you which one's you've broken!"

    Now get in the back of the car, sucker!

    >.>

  22. It is easy by rolfc · · Score: 2, Informative
    You keep a database with all current versions. It is searchable and you don't see the old ones if you don't want to.

    The swedish parliament does it. http://www.riksdagen.se/webbnav/index.aspx?nid=3912

    1. Re:It is easy by aj50 · · Score: 1

      The problem stated is that of determining what the current version is.

      Unfortunately I can't read Swedish so I can't comment on your link but here's a recent example of the problem from the UK.

      This section of the controversial Digital Economy Act adds new text to this section of the Communications Act 2003. As far as I am aware, there is nowhere I can find a copy of the Communications Act after the changes from later legislation have been applied. This means that to ensure I am compliant with the law, I need to be aware of the original Communications Act and every subsequent act which changes it.

      --
      I wish to remain anomalous
    2. Re:It is easy by DynamicPhil · · Score: 1
      You should check (in Sweden, with Swedish law): https://lagen.nu/ [lagen.nu]

      It's the law, combined with cases from Domstolsverket (Courts Administration). He has a tech description to:

      I'll try to translate:
      he fetches laws from the Cabinet Office web server, which he converts into XML (XHTML2 med RDFa)

      He then retrieves cases from the Courts Administration FTP server, also converts this into XML. (via words "save as HTML", and then converting).

      He then compiles all the meta-data from all the documents into RDF -graph. This is used in conjunction with style sheets to create XHTML1.0 pages, ready for displaying in a browser.

      finally, indexes and Table of contents are created and the result is hosted on Apache-servers. The code is written in python, with parts in XSLT.

      Impressive, impressive work. Which landed him a job in e-gov (I hope he keeps the law-project going!)

      --
      "If it can be thought up, there exists at least one person trying to make it happen for real" - Phil
    3. Re:It is easy by Indefinite,+Ephemera · · Score: 1

      As far as I am aware, there is nowhere I can find a copy of the Communications Act after the changes from later legislation have been applied.

      This should be it, but I don't think it's been brought up to date yet. (Quoting from here: 'Update Status Warning: There are effects on this legislation that have not yet been applied to the Statute Law Database for the following year(s): 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010.' Oh well, it exists in theory.)

    4. Re:It is easy by Anonymous Coward · · Score: 0

      That is why law makers are lawyers and you need lawyers to "know" what the laws are. Politicians do not want Joe and Jane Sixpack to understand what it is they are doing to them.

    5. Re:It is easy by Anonymous Coward · · Score: 0

      If you get it from statutelaw.gov.uk instead of opsi, they'll have the updated version with amendments mentioned in place shortly after they've worked out what the hell it was actually got passed in the end!

  23. Laws by Anonymous Coward · · Score: 0

    Most (all?) US state laws are online these days. As is Federal law. But there is the US Code, which is big and the Code of Federal Regulations, which is bigger. States also have codified laws
    as well as regulations. If you want to know about interactions between laws and law or laws and regulations, I think Shepherd's
    Citation Index is where a lawyer would start. Of course that assumes you have a starting point and aren't just browsing.

  24. how about this site by fwx · · Score: 1

    Did you look at www.rfc-editor.org?

    1. Re:how about this site by jaria · · Score: 1

      You should try to IETF tools site, they have very good linking of the various RFCs and how they depend on each other. For instance, if you look at http://tools.ietf.org/html/rfc5395 you can click on the RFC it replaces (=obsoletes) or the RFCs it updates.

  25. its not in the US by kubitus · · Score: 1
    http://www.ris.bka.gv.at/Default.aspx

    .

    But I would like to see peer review implkemented in the legislative proces in my country!

    1. Re:its not in the US by Anonymous Coward · · Score: 0

      But I would like to see peer review implkemented in the legislative proces in my country!

      Or even in the post feature ;)

    2. Re:its not in the US by mjwalshe · · Score: 1

      how would you do that? an elected lay chamber (no lawyers allowed) that scrutinised all laws would be one way that it could work but do you have the knowledge and time to do this? IT takes at least one eection cycle to work out whats going on and how not to have the wool pulled over your eyes

  26. Something like this? by Anonymous Coward · · Score: 0

    http://www.faqs.org/rfcs/np.html

  27. Napoleonic code? by Anonymous Coward · · Score: 0

    For laws, Napoleon in the 18th century decided to join up all the laws in the Napoleonic Code, which is still the base for most law systems worldwide.

  28. A good example of a law database by Anonymous Coward · · Score: 0

    Is the UK's statute law database:
    www.statutelaw.gov.uk
    which shows you all the laws currently in force, as amended.

    Two problems:
    1 - You sometimes need the law as it was (eg as often happens in sex abuse cases, someone is charged with an offence committed decades ago - what did the law say then?). The solution is called a library - or an expensive privately managed database.
    2 - not all laws are codified. In common law jurisdictions, statute is just one source of law. A settled line of decided cases can be another - and those are not necessarily all available in one place (or for free). Prime example - murder. There is no statute in England and Wales that defines or forbids murder - it is an offence against (and defined by) the common law.
    And badly written statutes make me want to commit it.

  29. Fuck no by ndogg · · Score: 4, Insightful

    If such a thing were done, it would make the laws easy to understand and follow, and we can't have that, otherwise we'll bankrupt the lawyers!

    As much as I hate the bitch, Ayn Rand was right about one thing--that governments make needless laws to create criminals of its citizens in hopes they'll pay them to not be criminals any more (well, paraphrased, anyway).

    This thought process doesn't really work for computer standards, so I couldn't give a reason for the disorganization of the RFCs.

    That said, one counter argument to the second paragraph of this is Hanlon's Razor--"Never ascribe to malice that which can be explained by incompetence."--which would play to the disorganization all around.

    --
    // file: mice.h
    #include "frickin_lasers.h"
    1. Re:Fuck no by Bryan3000000 · · Score: 2, Interesting

      Any sufficiently advanced incompetence is indistinguishable from malice.

    2. Re:Fuck no by Hierarch · · Score: 1

      Ayn Rand was right about one thing--that governments make needless laws to create criminals of its citizens in hopes they'll pay them to not be criminals any more

      I've never subscribed to that view. I see the situation as an unfortunate interaction of incentives. I believe that my (USA) legislators make laws to justify their positions. They have to be seen to be doing something, or we might vote for someone else next term. (Active looks better than passive to us voters, you'll never get elected on a platform of "I won't pass new laws.") The accumulation — nay, sedimentation! — of laws just stems from that. Meanwhile, law enforcement has learned that the best way to go after criminals is to stretch those laws to the fullest, and to use the latest and greatest ones which haven't been suitably narrowed by the courts. Since law enforcement is more familiar with the latest mess than the general population, that tends to work.

      And, of course, a lot of law enforcement officers know a criminal when they see him. They're also usually right, but heaven help you if one decides that you're it.

      If anybody knows a way to break that series of incentives that doesn't involve warm, fuzzy "just don't do that!" notions, I'd love to hear it. My persistent gripe with people who want to change the world is that they never seem to account for the fact that people will always tend to follow these sorts of incentives, or they will be replaced by those who will.

      Fortunately, there's more incentive for computer standards to be comprehensible and implementable. Over time, I think that'll work itself out.

      --
      --Somebody infect me with a .sig virus, I'm too lazy to write my own!
    3. Re:Fuck no by Anonymous Coward · · Score: 0

      I couldn't give a reason for the disorganization of the RFCs.

      I guess the disorganization of the avian RFCs couldn't possibly have anything to do with that mob of hungry alley cats ...

    4. Re:Fuck no by Shotgun · · Score: 1

      I agree with you, Hierarch; unfortunately, the end result is indistinguishable.

      One other incentive that you fail to identify is that people do not support limiting laws on themselves. The support limiting laws on their neighbors. You will often hear, "They should not be allowed to do that." McDonald's shouldn't be allowed to offer toys to children, because that will make children want to go to McDonald's just for the toy. No thought is given to the meta-concept that it is a dangerous step to remove the parenting of children from parents and give it to government, because "I know how to raise my children." (Yes, I just had this argument with my wife yesterday.)

      --
      Aah, change is good. -- Rafiki
      Yeah, but it ain't easy. -- Simba
  30. Doesn't quite apply by Garrett+Fox · · Score: 2, Informative

    Although that's a neat idea, it doesn't quite apply to American laws. If I understand right, you're thinking of a standard set of federal laws all states follow by default, with states just changing them a bit. But the legal system we had under the Constitution inherently had independent legal entities with different authority, state vs. federal. Federal laws wouldn't cover the same subjects, for the most part, so topics like labor law and pollution control would be stand-alone state laws rather than changes to a master federal law.

    At least, that's how it used to be.

    --
    Revive the Constitution.
    1. Re:Doesn't quite apply by mjwalshe · · Score: 1

      yes you would have to change to a model like the UK or France where the states (county's /departments) would have resposibilities for cleaning the streets running education but have no lawmaking ability.

    2. Re:Doesn't quite apply by oatworm · · Score: 1

      Nah - think of the states as more like Law Distributions. They take the mainline legal "kernel", which is represented by the Constitution, US Codes, common law judgments, and so forth, then bolt on "community-oriented" laws on top of that base to create a "usable system". Just like Linux, US states have a fair amount of freedom in what they can bolt on, though certain actions are prohibited for policy or security reasons (slavery, fully independent National Guards; thanks, George Wallace, for screwing that up) and interstate (inter-"process") communication is regulated by the "kernel". Then, each municipality would be a sub-distribution, sort of like Medibuntu or something similar.

    3. Re:Doesn't quite apply by mjwalshe · · Score: 1

      and that works so well to make this work (ime not going to comment on weather its a good thing or not)you would have to masivly reform the system. The problem the states has is the deveolved federal system. Which means that a citizen of the USA can have wildly differing rights and resposbilitys dependant on where they live.

      the south lost the civil war its about time the uSA came out of the 18th century and had a modern democratic system after all Pit the younger started reforming the Uk's system in the 1790's.

    4. Re:Doesn't quite apply by oatworm · · Score: 2, Informative
      It's not so wildly divergent anymore, nor is it particularly "devolved". After a variety of court cases through the 20th Century, there's not much that one state can get away with that another state can't. Thanks to some rather creative interpretations of the "commerce clause" (the Federal government has the constitutional responsibility to regulate commerce between the states; this has been interpreted, for better or worse, to allow withholding of federal highway funds if states don't meet certain criteria, like establishing a particular minimum drinking age), among other things, states are no longer allowed, for better or worse, to legislate on the availability of...
      • Abortion
      • Slavery
      • Gun ownership (D.C. vs. Heller pretty well nukes most local and state gun restrictions)
      • Voting access and rights (no more poll taxes, literacy requirements, and so on)
      • Certain environmental standards (you can legislate above the federal minimum, which California does routinely, but you can't legislate below it)
      • Sodomy or miscegenation (they're allowed, regardless of what the TX State Government thinks, thank goodness!)
      • State National Guards (sort of controlled by local governors, but nothing like the state-controlled militias that existed prior to their nationalization under Eisenhower)

      And so on. In fact, these days, when a state can legislate something fairly major on its own, it's big news. Speed limits, for example, were federalized during the Carter administration; state control of highway speed limits didn't return until the Clinton administration. The so-called "Defense of Marriage Act" is exceptional not only because it allows states to decide amongst themselves whether or not they wish to permit gay people to marry, it also allows them to creatively interpret the "full faith and credit" clause (a contract in one state has to be honored in all other states) to exclude marriages between two people of the same gender.

      Realistically, states have very little power these days, especially compared to what some of the Founding Fathers initially had in mind (though not all of them - the Constitution was an attempt to bring greater power to the federal government, not less). They get to decide, at least to a certain point, what level of taxation is present, how comprehensively certain social services will be provided, whether the state is a "right-to-work" state or not, and how easy it will be to buy liquor within the state. That's pretty much it. Is that good? Well... it depends on your perspective. On the one hand, it proved to be the most reliable way to overturn some truly heinous state-level policies, especially in the South. On the other hand, it's not like the federal government is a perfectly innocent or saintly presence itself; at the very least, greater centralization leads to a "single point of failure" with potentially catastrophic consequences. At the most mundane, federal policies can be rather "average"; for example, a 55 MPH speed limit might make sense in Massachusetts, but is less impractical in, say, Montana. Similarly, concealed carry laws might make sense in Wyoming, where a single bullet might hit an antelope and a stray tumbleweed, but might make much less sense in a highly urbanized environment where a single bullet can hit a couple of people, go through a wall, and break a window. Unfortunately, figuring out which issues are best handled locally seems to be more of an art than a science.

    5. Re:Doesn't quite apply by Anpheus · · Score: 1

      There are cases where state's laws modify Federal laws or regulations, usually by making them more strict. There are also completely novel laws, which as I said, could be maintained in a separate version controlled text.

  31. For law US Code does what you want by harlows_monkeys · · Score: 4, Informative

    The US Code is kind of what you are asking for. Before the US Code, the way Federal law worked was that the Congress would pass bills. Once a year, the Government Printing Office prints a volume containing the laws for that year, in chronological order. These are called the Statutes at Large.

    The law at any given time was the net result of applying all of the Statutes at Large up to that point, plus any bills that had been passed since the cutoff for the latest Statutes at Large and whose effective date had passed.

    Bills are often written as essentially diffs to previous bills. Figuring out the law at a given time under this system could be a pain in the ass, of course.

    To make it a lot easier to find and understand the law, the House or Representatives started producing the US Code. Essentially, this takes all the laws from the Statutes at Large, and arranges them by topic, rather than chronologically, applying all the diffs, resulting in an organized statement of the law. Note that a given bill from the Statutes at Large might end up going into the Code in several parts, because the bill might cover affect multiple topics.

    The Code was not official. If there was a conflict between something in the code and a bill from the Statutes at Large, the latter won.

    However, for some sections of the code, Congress has passed bills saying that those sections of the code ARE the offical statement of the law, superceding the Statutes at Large. This is called "enacting into positive law". An example of a section of the US Code that has been enacted into positive law is 17 USC, which covers copyrights. Thus, if you want to find the current copyright law, you could start with the version of the US Code that had 17 USC enacted into positive law. You'd still have to check the Statutes at Large, but only for bills that came after the enactment of 17 USC. On the other hand, 26 USC, the Internal Revenue Code, has not been enacted into positive law, so for the definitive statement of US tax law, you need to dig through the Statutes at Large for it all.

    The above is what the government does. There are third party companies that provide more. West Publishing, for instance, publishes the "United States Code Annotated" (USCA). USCA reprints the US Code, but for each section it gives citations to the legislative history, and citations to court cases that concerned that section, along with short summaries of the relevant points of those cases. This is a great resource for legal research, but its not cheap. The complete set is $7663, although you can buy individul volumes. Copyright, for example, is covered in two volumes at $159 each.

    I don't know if its still around or used much, but West also had a classification system of law, where they basically had a giant outline of all the topics that law might cover. They published annotated volumes that reprinted court cases, with each case preceeded with a summary written by West employees, which included references into that giant outline for all the topics that case covered, with short summaries of those particular points. They also published a big series of volumens that basically consisted of that giant outline, giving for each topic the case cites to the cases that involved that topic, and short summaries. If you were trying to resarch something, you could figure out where your topic appeared in West's outline, find it in those volumes, and quickly see the leading relevant cases and what they said. West is not authoritative, of course, so you'd then have to go read those cases.

    Another company, The Frank Shepard Company, published a set of volumes that listed cases for each year, along with citations to all subsequent cases that cited those cases, with a summary of whether they were cited favorably or disfavorably. Once you found a case that you thought you might want to use (say, through West's resources), you could look

  32. Library of Congress by flyingfsck · · Score: 1

    The Library of Congress of course.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  33. we did! @ askemos.org by Anonymous Coward · · Score: 0

    Askemos (www.askemos.org) treats chains of code like contracts and laws. Actually as ist constructing principle.

    Askemos works like the web; but with servers replaced by a p2p network.
    So often your personal node will in fact execute code which would normally run on a remote service.

    To make sure that both parties (you (as node owner) and the owner of the website your machine serves want this to happen, the distribution/replication of code follows a chain of "executable contracts".

  34. Westlaw by tuxish · · Score: 1

    Westlaw http://www.westlaw.com/ lists Acts, Orders, etc with highlighted bits where stuff has been revoked, amended and replaced. I've used the Westlaw UK for my university course and it's proven quite helpful.

    --
    Death and taxes are both inevitable, however, death doesn't get worse year after year.
  35. I don't know how but the UK does by Peter+(Professor)+Fo · · Score: 1

    The UK has a statute law base provided by the government. http://www.statutelaw.gov.uk/Home.aspx Don't ask me how they do it.

  36. you should write RFCs by z_gringo · · Score: 1

    It turns out to be just as non-trivial, if not more so,

    You should be writing RFCs. Not reading them.

    --
    -- -- Warning. Do not stare directly at the sun.
  37. Why not by Anonymous Coward · · Score: 0

    just move to a civilized country, where every tiny village doesn't get to choose whether murder is illegal or not?

  38. Get a sense of proportion, cocksmoker. by Anonymous Coward · · Score: 0

    Get a sense of proportion, cocksmoker.

  39. How to use RFCs for software development by Anonymous Coward · · Score: 0

    The IETF has a very large body of engineers and academics. These are people who *know* how to read papers, how to do research, and how to build a bibliography database BEFORE they start the real work. Obviously, the process is not optimized for the lazy (it would be useless to even try, anyway).

    Here's how it goes re. RFCs (rough guide, feel free to improve):

    Phase 1: Bibliography selection
    1. You look for some base RFCs in the IETF RFC editor pages (http://www.rfc-editor.org/). These pages *already* give you all "superseedes/superseeded/enhances/modifies/obsolete" information, fully cross-linked. There *is* an index RFC (RFC 0). All RFCs have a relevant "references" section as well, and all references should be checked for relevance.

    2. You locate the reference implementation. Anything worth bothering with has one (often two), and that reference implementation's documentation will reference relevant materials. At least one of the reference implementations is likely to be FLOSS, and its code will be a powerful documentation on border conditions... For DNS, the main reference implementation would be ISC BIND ("reference" does not imply "best", so let's not go religious on DNS servers here).

    3. You go to the IETF pages, locate the proper work-group responsible for that area of knowledge, and check their references lists and published works. You should also locate their mailing-list, and take a look at the archives to check for relevant information.

    4. You do some targetted internet searchs and ask around in the IETF mailing-lists and Usenet, if applicable. If you have access to such, you should also hunt down relevant papers for cutting-edge research (but the hunt for information in the IETF workgroup will likely have turned over any ongoing research of real relevance already).

    Now you have a massive list of documentation to go over...

    Phase 2: study the bibliography you selected

    1. Read it all. Organize it. Select all relevant information for later use. Locate all obviously unclear functionality, and check the reference implementation. If you locate references to important information, search for it and add to your references database.

    2. Document the flow and details of all protocols at the level of detail you will need for the implementation, so that you are sure you know the answer to all bondary conditions, etc.

    3. Ask the people who know better (hint: there is at least the IETF work-group. For DNS, there is also NANOG, and the engineering bodies of just about every RIR) all remaining unclear information, and for bonus points, submit clarification proposals for the relevant RFCs (or a supplemental one).

    Phase 3: system/software engineering

    Outside of the scope of this slashdot post ;-)

    If this is too hard, that is a hint that you should be doing something else for a living.

  40. This reply has been superseded... by Anonymous Coward · · Score: 0

    This reply has been superseded by reply 827.3c, which itself has been superseded by 827.3q, which was replaced with 923.2f, which may or may not have been resubmitted in a modified form by various vendors "extending" the standard. ::)

  41. Chains of Laws? They are called Codes. by jrbuilta · · Score: 1

    Rather ironic in this context, eh?

  42. WTF - RFC must be a FUA by clyde_cadiddlehopper · · Score: 1

    (Frequently used acronym)

    --
    Obi-Wan: "I felt a great disturbance in the Force, as if millions of voices suddenly cried out in terror and were sudden
  43. In Argentina... by TrixX · · Score: 1

    There's a project called InfoLeg Trying to do exactly this... I'm not sure if they've been able to keep up, but they have a lot of content browsable in a way that resembles revision control a lot.

    As an example you have here our copyright law passed in 1933. The three links there can show you the original text, the most recent text applying all updates (i.e. "HEAD" :) ), and a link to a list of laws/decrees that updated modified it later.

    That's more or less what you were looking for? I know people who were close to the project in the past, I can get you a couple of names if you're really interested...

  44. Restatement of Laws by Anonymous Coward · · Score: 0

    The American Law Institute publishes Restatements of Laws, which synthesize case law on a given subject and attempt to provide clarity. Some Restatements are updated more regularly than others. Restatements are generally persuasive but not binding authority, so courts are not required to follow anything contained in a Restatement. Of course, there are jurisdictional differences, so a state may historically not follow the Restatement position.

    There are also Uniform Laws, which are promulgated by National Conference of Commissioners on Uniform State Laws and similar entities. These are frequently, but not always, well-drafted model laws that are recommended for adoption by various states. Of course, states are free to adopt all, parts, or none of such laws. In the area of trusts and probate law, for example, Delaware has consistently rejected the Uniform Trust Code and the Uniform Probate Code in favor of a much more settlor-friendly (that is, trust creator) approach.

    Finally, many states have law revision commissions charged with reviewing state law, recommending the adoption of model laws, identifying obsolete laws, etc.

    In all of this, you should understand that, despite what Lessig says, law is not code. It takes a long time to fix broken laws (2010 estate tax suspension anyone?), and new law is not better law. Just ask any lawyer if they would prefer to deal with a brand-new statute that has not been interpreted and explained by the courts, or with a jurisdiction like Delaware with a well-established statutory and case law base (of course, Delaware updates its statutes frequently but the law is sufficiently explained and interpreted).

  45. Re:Chains of Laws? They are called Codes. by troll8901 · · Score: 1

    (in Captain Teague Sparrow's low voice)
    The code is the law!

  46. It exists already by Grond · · Score: 1

    What the OP is describing exists already in various forms, all of which cost money. That they exist should not be surprising as they are extremely useful to attorneys, legislators, judges, etc.

    There are two companies, WestLaw and LexisNexis, that have online databases of just about all the statutes, cases, regulations, constitutions, treaties, and academic articles ever published in the US and the UK, which is relevant to US law for certain common law issues. Access to both is not cheap, but using at least one is a necessity for an attorney. Their databases are actually even more extensive than that, but those are the important ones for the question.

    WestLaw has a system (the West Key Number) that is sort of an ontology of the law: just about every individual issue imaginable is assigned a key number. So you can find cases in a given jurisdiction by looking up your issues in the index and then finding cases that discuss those issues. The key numbers are the same between jurisdictions, so once you know the number you can use it to find cases in every state or federal court.

    LexisNexis offers a different system, which it took from Shephard's Digest, which was a kind of print citation history of every case and statute in the country. What 'Shephardizing' does is give you a list of every case that has cited a given case or statute and tells you how it was cited (e.g., favorably, unfavorably, overruled, etc). It can also tell you if a case or statute was overruled by statute. It can also tell you what academic writing has cited the case or statute, but that's mostly of interest to academics.

    Both companies also offer services for tracking the revision history of statutes.

    WestLaw still publishes a print version of its Key Number System indices, but the print version is expensive, laborious to keep up to date, and requires a full law library (e.g., print versions of the cases) to really use effectively. Online access is cheaper and more convenient in the end. The exception to this is using someone else's law library, which can be found at a law school or a very large public library. Many law schools make their collections available to the public during normal business hours, although books cannot be checked out.

    There are many other approaches: legal encyclopedias, treatises, the American Law Reports, 50 state surveys, etc. To find out more, buy a book on legal research or become a law librarian, paralegal, or attorney.

    1. Re:It exists already by Anonymous Coward · · Score: 0

      Some cities and counties have a public law library. Generally it's the same one that the govt lawyers use (DA's, Public Defenders, etc) and open to the public, again without the ability to check out books.

  47. RFC'd to death by ITJC68 · · Score: 1

    As someone who works in software support we get customers who try to beat us over the head with RFCs. It would be awesome to compile a good way to look these up as I have tried and it is a piece here and piece there. The software engineers have a list of RFCs they have to use for a given protocol. This should be a good project for someone from the IETF or who is in control of the RFCs to have a good search engine to look these up and mark ones that are obsolete or have a newer RFC apply. Dogpile seems to work a little better looking up technical things I have found but still lacking.

  48. Time by Anonymous Coward · · Score: 0

    Just think about all the lost time wending your way through the wonderful world of RFCs. Been there and done that, and wish to never do so again.

    Laws: There's a reason why most attorney's offices are like little legal libraries, why there's been an electronic legal library reference service since at least the 80s, and why they tend to specialize in a particular area of law. The complexity of law in this country is just ridiculous even if you only consider legislative law and ignore the 1000s(millions) of items of case law. (Fortunately RFCs aren't nearly as bad as law yet...)

  49. What are "laws?" by fortfive · · Score: 1

    The answer to this question is necessary to formulate a response. Because there are Statutes, Court Decisions of varying precedential values, procedures, rules, regulations, customs, practices, restatements arguments, interpretations and more.

    Each of these is potentially the basis of a government action, by an officer, by a judge, by a bureaucrat, which will indelibly affect your life.

    And, all of these are constantly changing in form and power.

    The closest things yet are westlaw and lexis, which try hard to be comprehensive collections of everything written down, although even they lack local rules in a lot of cases.

    And, at the end of the day, at 4:55 the day a filing is due, you can walk in to the clerk, perfectly by the book prepared documents in hand, and she can say "these aren't right," and buddy, that's the law!

  50. help? by cdpage · · Score: 1

    I'm not sure if this would help you in anyway.

    http://www.ted.com/talks/hans_rosling_reveals_new_insights_on_poverty.html

  51. Bla by Anonymous Coward · · Score: 0

    Yes you cocksucker it's called STD lol.

  52. Revised Version by Svartormr · · Score: 1

    Seek! Locate! TERMINATE!

  53. Automating the law by Anonymous Coward · · Score: 0

    See www.jureeka.org.

  54. Putting lawyers out of business by psydeshow · · Score: 1

    Yeah, I recently got elected to my condo board, which means that out of curiosity or a misplaced sense of responsibility I sometimes go looking for something in the NYC code.

    It isn't all online, and the parts that are seem to mostly have been repealed. I think that's probably because those parts aren't changing any more so they are the easiest to post.

    It's a freaking mess, but making sense of it provides jobs for a lot of lawyers and legal publishers.