For example, is there a ‘laws dot gov’ kinda URL I can go to and type “importing raccoons to Northern Ireland to create a self-sustaining population” into the search bar?

Or maybe something like a multi-volume book series I can check at the library to see if “raccoon husbandry; N. Ireland” is mentioned?

Maybe an AI chatbot on the local council’s website that I can ask “is it legal to raise baby raccoons by feeding them from miniature wheelie bins to teach them where food comes from and how to open the lids”?

I’m not about to do anything [potentially] illegal, I’m just curious.

Cheers! 🦝

  • Caveman@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 hours ago

    In Iceland it’s althingi.is all regulations with specific implementations of the law are also available but they’re not all in the same place.

  • zxqwas@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    12 hours ago

    I know there is a website either government or privately maintained with a reasonably recent law text.

    I’m sure the library could lend me a copy of the laws if I asked.

    • dgdft@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      24 hours ago

      You’re not wrong that most statutory legislation is freely and readily available, but determining if an act is illegal in a practical sense requires looking at case law too.

      Depending on what domain we’re talking about, technical legislation also often references paywalled documents. E.g., I work in biomed R&D, and the FDA regulations for medical devices are tied to pay-to-play ISO standards.

      • gustofwind@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        17 hours ago

        yeah nothing should be paywalled and westlaw/lexis/bloomberg/all of them should be a public service in fact

        This is actually something I think ai will basically solve. Well, not the law as a public service part but the general access to reliable legal information part. I’ve seen the westlaw and lexis lawyer bots and they’re pretty good, a non lawyer could easily rely on it because lawyers already do.

        I can’t imagine it takes more than 5 years before we see tailored compliance bots in various fields. AI mediated society is already here

      • gustofwind@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        24 hours ago

        lawyers use Google before anything else. If you’re wondering if what you’re doing is illegal you probably can just look it up and find a decent enough answer

    • Darkenfolk@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      14 hours ago

      Or:

      “they forgot to make this illegal? Really?diabolical laughter” “Are you ready? from ‘friends on the other side’ starts playing”

  • captaindeank@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    1 day ago

    In the US, no. This is why lawyers get paid so much money to research and analyze whether their clients’ activities may or may not be legal. For many areas of the law, relevant statutes, regulations, and agency interpretations are publicly available and may be compiled and discussed at a high level in a treatise. However, a specific question or set of facts (such as raccoon husbandry in a specific location) would require research or analysis beyond what a treatise might describe. And treatises are expensive, full of legal jargon, and usually not publicly available. Welcome to the Law!

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      Isn’t that partly because the US has like 52 sets of law (50 states, DC, Fed) and maybe more (County/Parish, etc)?

      • compostgoblin@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        24 hours ago

        Yep. But when two laws are in conflict, the higher law wins. So state laws supersede local laws, and federal laws beat state laws. Of course, there is also weirdness where the higher body might just choose not to argue with the lower body over conflicting laws, like with cannabis legalization.

        • higher body might just choose not to argue with the lower body over conflicting laws, like with cannabis legalization

          Reminder that marijuana is still federally illegal.

          If you are a non-citizen, you could get deported for posession of marijuana, even if your state “legalized” it, because it would still be a crime under federal laws.

          So, pro tip: gain citizenship first, then, after you’ve been sworn in and got the citizenship papers, then you can safely smoke weed…

          (Yes, people do get placed into deportation proceedings for possession weed, especially under this current shitty administration)

          • compostgoblin@piefed.blahaj.zone
            link
            fedilink
            English
            arrow-up
            3
            ·
            24 hours ago

            Oh yeah, definitely! Even in legal states, if you’re on federal property (like National Forests), possession is still a crime. Gotta be careful with stuff like that

            I meant that they aren’t arguing over it as in the DOJ isn’t suing states over having legalized it. Although if I recall correctly, the Obama admin DEA did conduct raids on medicinal dispensaries in states where it was legal

            It gets weird and messy fast

  • AbouBenAdhem@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    23 hours ago

    From the wiki article on Public.Resource.Org:

    Malamud called for increased awareness that Westlaw was a commercial broker of the United States Federal Reporter, Federal Supplement, and Federal Appendix. While Westlaw had been adding value to the content by indexing it with their proprietary West American Digest System and accompanying summaries, the purchase of their products was the only way to access much of the public domain material they hosted.

  • Tuukka R@piefed.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    I would be surprised if there was a country that don’t have their all laws set in the paper form.

    But, regarding Finland: You’re thinking of http://finlex.fi/ .

    There’s for example this gem, telling about how you should take care of the hops trellis the law requires you to maintain! :)
    (Please don’t tell anyone, but I do not actually have a hops trellis! I’m breaking the law.)
    It’s also helpful if you want to know how to let your pigs to run in an acorn forest. Or if your bees escape and land inside someone else’s tree.

    Also, the beginning words of our Criminal Code are a bit, well, outdated? Here goes: https://www.finlex.fi/en/legislation/1889/39-001?language=swe&highlightId=798156&highlightParams={"type"%3A"BASIC"%2C"search"%3A"rikoslaki"}

    (I’m linking the Swedish-language versions because I believe a machine translator does a better job translating to European languages from Swedish than from Finnish)

    • Successful_Try543@feddit.org
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      I would be surprised if there was a country that don’t have their all laws set in the paper form.

      The anglosaxon school of law is more case-based than build on written law like e.g. in continental Europe.

    • Hjalmar@feddit.nu
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      This is amazing. Somewhere in the back of my head I knew that you still had the old Criminal Code left, but never had I read it. Here in Sweden we have since swapped that one for a hopefully less outdated law. Here is a English translation for those interested:

      We Alexander the Third, by the Grace of God, Emperor and Autocrat of all Russia, Tsar of Poland, Grand Duke of Finland, etc., etc., etc., do hereby solemnly declare: At the submissive request of the Estates of Finland, We hereby ratify the following penal code for the Grand Duchy of Finland, concerning the introduction of which, as also concerning the execution of punishment, a special decree is issued:

      (That’s a machine translation, I couldn’t be bothered to do it myself. But I must say I’m impressed of how well it handled the very old school Swedish)

      Also, regarding the other law, byggningabalken or Rakennuskaari, we apparently removed the really funny section about the mandatory ownership of a hops trellis in 1860 here in Swede. To bad really. But the rest of that law still applies here. Also, on behalf of the Finnish state I would like to charge you a fine of one riksdal for not maintaining your hops trellis the last year.

      And finally, in regards to OPs question, in Sweden we have the official government site https://www.riksdagen.se/sv/dokument-och-lagar/ and then https://lagen.nu/ which is a bit more user friendly

      • Hjalmar@feddit.nu
        link
        fedilink
        arrow-up
        2
        ·
        24 hours ago

        I fumbles into a rabbit hole. Both of those laws are from 1736, which I have heard before. But apparently, the trade code from that year is also still in effect. It isn’t nearly as funny (although I didn’t check the Finnish version that thoroughly, so there might be some gems there that I missed) but there are some highlights:

        Chapter 14 is titled “About Mercenary” (at least that’s how I interpret “Om legohjon”) but the chapter is left completely empty. They chapter is completely removed in the Finnish version.

        Also, there is chapter 3 about what one shall do to receive the right to trade and become a part of the burgher class. Removed in Finland

        Finally, you may not use boats, shipyards or aircraft in a pledge (is that correct English?). This is revised in the Finnish version, and the same prohibition doesn’t exist there. This is chapter 10 § 7 for those interested

    • nocturne@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      In high school I worked at the police station for one summer. There was a huge book that had a ton of laws in it. I remember me and the other kid who worked there would read through it.

    • Fizz@lemmy.nz
      link
      fedilink
      arrow-up
      3
      ·
      12 hours ago

      We also have the citizens advice bureau. They will help you make sure you’re within the law and not being taken advantage of.

      Love the citizens advice bureau they helped me not get scammed out of a $2000 bond by a cunt of a landlord.

  • BootLoop@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    24 hours ago

    I know Canada has the Canadian Criminal Code. My friend had a copy for college and I leafed through it once to read some laws about weapons. It’s all in one big book so it is relatively accessible to find stuff but it obviously doesn’t cover traffic law, provincial, or municipal laws.

  • litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    24 hours ago

    Directly answering the question: no, not every country has such a consolidated library that enumerates all the laws of that country. And for reasons, I suspect no such library could ever exist in any real-life country.

    I do like this question, and it warrants further discussion about laws (and rules, and norms), how they’re enacted and enforced, and how different jurisdictions apply the procedural machine that is their body of law.

    To start, I will be writing from a California/USA perspective, with side-quests into general Anglo-American concepts. That said, the continental European system of civil law also provides good contrast for how similar yet different the “law” can be. Going further abroad will yield even more distinctions, but I only have so much space in a Lemmy comment.

    The first question to examine is: what is the point of having laws? Some valid (and often overlapping) answers:

    • Laws describe what is/isn’t acceptable to a society, reflecting its moral ideals
    • Laws incentivize or punish certain activities, in pursuit of public policy
    • Laws set the terms for how individuals interact with each other, whether in trade or in personal life
    • Laws establish a procedure machine, so that by turning the crank, the same answer will output consistently

    From these various intentions, we might be inclined to think that “the law” should be some sort of all-encompassing tome that necessarily specifies all aspects of human life, not unlike an ISO standard. But that is only one possible way to meet the goals of “the law”. If instead, we had a book of “principles” and those principles were the law, then applying those principles to scenarios would yield similar result. That said, exactly how a principle like “do no harm” is applied to “whether pineapple belongs on pizza” is not as clear-cut as one might want “the law” to be. Indeed, it is precisely the intersection of all these objectives for “the law” that makes it so complicated. And that’s even before we look at unwritten laws.

    The next question would be: are all laws written down? In the 21st Century, in most jurisdictions, the grand majority of new laws are recorded as written statutes. But just because it’s written down doesn’t mean it’s very specific. This is the same issue from earlier with having “principles” as law: what exactly does the USA Constitution’s First Amendment mean by “respecting an establishment of religion”, to use an example. But by not micromanaging every single detail of daily life, a document that starts with principles and is then refined by statute law, that’s going to be a lot more flexible over the centuries. For better/worse, the USA Constitution encodes mostly principles and some hard rules, but otherwise leaves a lot of details left for Congress to fill in.

    Flexibility is sometimes a benefit for a system of law, although it also opens the door for abuse. For example, I recall a case from the UK many years ago, where crown prosecutors in London had a tough time finding which laws could be used to prosecute a cyclist that injured a pedestrian. As it turned out, because of the way that vehicular laws were passed in the 20th Century, all the laws on “road injuries” basically required the use of an automobile, and so that meant there was a hole in the law, when it came to charging bicyclists. They ended up charging the cyclist with the criminal offense of “furious driving”, which dated back to an 1860s statute, which criminalized operating on the public road with “fury” (aka intense anger).

    One could say that the law was abused, because such an old statute shouldn’t be used to apply to modern-day circumstances. That said, the bicycle was invented in the 1820s or 1830s. But one could also say that having a catch-all law is important to make sure the law doesn’t have any holes.

    Returning to American law, it’s important to note that when there is non-specific law, it is up to the legislative body to fill those gaps. But for the same flexibility reasons, Congress or the state or tribal legislatures might want to confer some flexibility on how certain laws are applied. They can imbue “discretion” upon an agency (eg USA Department of Commerce) or to a court (eg Superior Court of California). At other times, they write the law so that “good judgement” must be exercised.

    As those terms are used, discretion more-or-less means having a free choice, where either is acceptable but try to keep within reasonable guidelines. Whereas “good judgement” means the guidelines are enforced and there’s much less wiggle-room for arbitraryness. And confusingly so, sometimes there’s both a component of discretion and judgment, which usually means Congress really didn’t know what else to write.

    Some examples: a District Attorney anywhere in California has discretion when it comes to filing criminal charges. They could outright choose to not prosecute person A for bank robbery, but proceed with prosecuting person B for bank robbery, even though they were working together on the same robbery. As an elected official, the DA is supposed to weigh the prospects of actually obtaining a guilty verdict, as well as whether such prosecution would be beneficial to the public or a good use of the DA office’s limited time and budget. Is it a bad look when a DA prosecutes one person but not another? Yes. Are there any guardrails? Yes: a DA cannot abuse their discretion by considering disallowed factors, such as a person’s race or other immutable characteristics. But otherwise, the DA has broad discretion, and ultimately it’s the voters that hold the DA to account.

    Another example: the USA Environmental Protection Agency’s Administrator is authorized by the federal Clean Air Act to grant a waiver of the supremacy of federal automobile emissions laws, to the state of California. That is to say, federal law on automobile emissions is normally the law of the land and no US State is allowed to write their own laws on automobile emissions. However, because of the smog crisis in the 70/80s, the feds considered that California was a special basket-case and thus needed their own specific laws that were more stringent than federal emissions laws. Thus, California would need to seek a waiver from the EPA to write these more stringent laws, because the blanket rule was “no state can write such laws”. The federal Clean Air Act explicitly says only California can have this waiver, and it must be renewed regularly by the EPA, and that California cannot dip below the federal standards. The final requirement is that the EPA Administrator shall issue the waiver if California requests it, and if they qualify for it.

    This means the EPA Administrator does not have discretion, but rather is exercising good judgement: does California’s waiver application satisfy the requirements outlined in the Clean Air Act? If so, the Administrator must issue the waiver. There is no allowance of an “i don’t wanna” reason for non-issuance of the waiver. The Administrator could only refuse if they show that California is somehow trying to do an end-run around the EPA, such as by trying to reduce the standards.

    The third question is: do laws encompass all aspects of everything?. No, laws are only what is legally enforced. There are also rules/by-laws and norms. A rule or by-law is often something enforced by something outside the legal system’s purview. For example, the penalty for violating a by-law of the homeowner’s association might be a revocation of access to the common spaces. For a DnD group, the ultimate penalty for violating a rule might be expulsion.

    Meanwhile, there are norms which are things that people generally agree on, but felt were so commonplace that breaking the norm would make everything else nonfunctional. For example, there’s a norm that one does not use all-caps lock when writing an online comment, except to represent emphasis or yelling. One could violate that norm with no real repercussions, but everyone else would dislike you for it, they might not want to engage further with you, they might not give you any benefit of the doubt, they may make adverse inferences about you IRL, or other things.

    TL;DR: there are unwritten principles that form part of the law, and there’s no way to record all the different non-law rules and social norms that might apply to any particular situation.