19 ms·
German parliament votes as a Git contribution graph
- qrush 2y agoOof. Did the Bundestag recently get promoted to be a manager?
- mxschll 2y agoGetting actionable insights.
- notTooFarGone 2y agoThey get promotions based on LoL (lines of laws)
- eru 2y agoThey certainly have more lawyers and administrators than engineers.
- flobosg 2y ago> a Git contribution graph Aka a heatmap.
- mxschll 2y agoI learned early on it doesn't matter what's inside, but how you present it ;)
- notpushkin 2y agoFrom the title, I expected anything but the heatmap to be honest!
- mxschll 2y agoYea, I learned my lesson!
- zaik 2y agoAlso contains some "git = GitHub"
- n2d4 2y agoI wish there were more beautiful government data aggregators like this one — most people don't even know how much stuff the gov makes publicly accessible (voluntarily or by means of FOIA), probably because it's all buried in 20-year-old Java applets. What similar resources are out there? Any favorites?
- mxschll 2y agoI would also like to know. The German government actually has a decent API for accessing countless parliamentary documents, but it doesn't make the data very accessible to normal people...
- deleted 2y ago[deleted]
- Terr_ 2y agoWashington DC's laws are in git. https://arstechnica.com/tech-policy/2018/11/how-i-changed-the-law-with-a-github-pull-request/ https://arstechnica.com/tech-policy/2018/11/how-i-changed-th...
- jbaber 2y agoThis is wonderful.
- CivBase 2y agoMore of this please.
- neuronexmachina 2y agoDirect link to the repo for DC's laws: https://github.com/DCCouncil/law-xml https://github.com/DCCouncil/law-xml
- KennyBlanken 2y agoGithub, not "git." They don't appear to publish the XML formats they're using. There's no description of their fees/pricing. None of the software is open-source. There's barely any details about how the software even works. It's about as opaque as they seem to feel they can get away with. "Email us for pricing" is not how a service like that should work.
- outside1234 2y agoWas thinking I was going to see a Merkle Tree here :)
- YmiYugy 2y agoThis is nice, but it would be great to see some more features from VCS applied to laws, e.g. git blame and git log.
- deleted 2y ago[deleted]
- bjourne 2y agoIt exists. The "commits" to the legal code is published in a government gazette: https://en.wikipedia.org/wiki/Government_gazette https://en.wikipedia.org/wiki/Government_gazette The current laws are just the tip of the main branch. In theory you could run a git blame and find out exactly which update inserted which specific words into the code. There is even branches in case of state succession, like the breakup of the USSR.
- throw310822 2y ago> The "commits" to the legal code is published in a government gazette ... The current laws are just the tip of the main branch Unfortunately I think those commits are the laws (depending on the country, of course, speaking for the cases I know). There isn't, except in a few cases, a notion of documents those commits are applied to -the commits are applied to previous commits. It doesn't make a difference functionally, but makes the system incredibly messy, hard to maintain and to navigate.
- kuschku 2y agoThat's the primary difference between common law and civil law countries. In Germany for example, there are regular laws (if you need to know what's legal and what not, these are the ones you read) and change laws (Änderungsgesetze), which usually read like "Law XYZ, Paragraph 5a, Sentence 3 is changed to read as follows: '...', Sentence 7 is appended with '...', Sentence 8 is removed" So at any time, you've got a clear set of laws that apply.
- adastra22 2y ago
- nikeee 2y agoThere are also a repository containing some laws in markdown format on GitHub. They even used PRs for actual changes proposed by the parties in the parliament. Also, the commits have their proper date, so you can `git blame` on the laws and even see which president signed-off that change. Sadly, it is unmaintained. https://github.com/bundestag/gesetze https://github.com/bundestag/gesetze
- bilekas 2y agoI do think you're putting the horse before the carriage here.. It's just info, which is public .. What are you worried about ? Edit : I see you're focus is on another thing completely. Share it, could be a great topic also.
- LorenDB 2y agoSee also the US Constitution in GitHub: https://github.com/JesseKPhillips/USA-Constitution https://github.com/JesseKPhillips/USA-Constitution
- fashion-at-cost 2y agoNice. I kinda wish they went all the way and modified the commit details to have the actual authoring dates for each amendment/etc. Anyone know how well git plays with pre-epoch timestamps?
- eru 2y agoI just poked around a bit. So git was first created with u32 time in mind only. However because of the looming year-2038 problem, they are working on expanding that. Apparently git internals are almost ready to support more interesting timestamps. However, much of the git tooling and UI (like command line parsing and output) refuses to deal with pre-epoch timestamps. I briefly tried with git 'porcelain' and also via libgit2, but it's all a bit annoying. In summary, I think you'd need to hack up at least some of git's tooling to make everything work, but it wouldn't be heart surgery, because the internals are already nearly ready for this kind of change.
- unit149 2y ago[dead]
- bilekas 2y agoThis is great. No maybe everyone wont see it, but making it visual, it hits harder these days. I love this.
- slt2021 2y agoI would love to see more governments operate on a Git-first basis, so that each and every decision/contribution can be tracked online for transparency. For example in USA we would have budget ceiling crisis, and both parties try to ram through a law to bump up the debt ceiling "to prevent government shutdown". It is being sold as a measure to keep government afloat and running, and is usually ran through pre-holiday like Christmas. But what actually happens, is thousands and thousands of pages of various pork is rammed through with various cutouts and carveouts for special interest groups due to lobbying. Public needs to know who when and how is adding these lines and how is bipartisan consensus is being achieved in real-time, not post-factum.
- refulgentis 2y agoI don't want to be mean or assert without evidence, but, I'm not really sure how to respond: #2 simply doesn't happen, or even close, and it's also not a common partisan interpretation I'm being smug about. It's just flat out wrong, both parties don't try to ram a bill through, the government actually does shut down, and there's no calendar association.
- dh5 2y agoI believe there actually often is a calendar association but only because the US fiscal year starts October 1st, and funding legislation needs to be enacted before then.
- refulgentis 2y agoYour'e right. Raising the debt limit is a separate event, in theory there could be a shutdown if no appropriations are passed October 1st, and that was the flavor through 2000. The idea that there's some sort of forced budgetary event on the calendar, related to the debt limit, that's then raced through to have competing solutions, then laden down with pork is Not Even Wrong, i.e. in the Pauli sense, and plainly wrong. You raising the October date does leave open that maybe they're thinking of budgets and think the minority party in Congress has peer footing as a solution / is required to make a budget. That, at least, would explain the pork mention.
- codedokode 2y agoI remember reading about someone simply adding legal texts to git. This is pretty much useless. I think that people who do this never saw a commercial legal database (or how it is called). What one usually need, is for example, to have cross-references, i.e. when a law contains phrase like "the certification is issued by a relevant authority", you want to have the "relevant authority" wrapped in a hyperlink pointing to an government order that designates that authority. Also, you typically want to have links to court cases related to some paragraph near it etc. If some change is planned to the law you want to have a note in the text like "this is going to change on September, 1", etc. Given that many countries have local laws, you might want to be able to filter by a place. Github might be used for storing raw documents as some weird kind of a database, but it is useless for actually trying to find out the answers to legal questions. To make an analogy, reading laws on Github is like reading source code without syntax highlighting and navigation.
- adastra22 2y agoIsn’t that a different concern?
- codedokode 2y agoTechnically yes, but you can see below that there are several comments about exactly this, i.e. adding raw legal texts into git.
- eru 2y agoCode bases have a lot of cross-references as well. Perhaps the most easily described is 'jump to definition'. But that's handled by your IDE/editor together with language specific tooling, and has nothing to do with git. Why should legal texts be any different as far as git is concerned?
- codedokode 2y agoGit/github doesn' provide "Go to definition" and original post was about uselessness of committing law texts into git.
- yallpendantools 2y agoSorry it might be my turn on the Dunce hat but what is so "Git" here other than the contribution calendar popularized by Github then copied by Gitlab?
- trashchomper 2y agoI feel like you answered your own question... Like I get it, but English is fluid and is it really that far to make the assumptive leap from "git" to "github/lab/service", seems pretty clear what they meant (even if it's not completely/technically/um-actually correct because git != github).
- yallpendantools 2y agoYay it seems I don't have to wear the Dunce hat but also, honestly, I'm not even trying to be pedantic on what counts as "git" here. I'm more annoyed that the contribution calendar is considered inherently "git". I doubt Github can even patent that---it's more a habit-tracker thing. (Okay there's also `git` in the URL, I noticed, which means whoever made the page had that mental mapping in mind but still...) I just feel clickbaited that this item is at the top of this forum. I'll stop engaging with this now. Nothing of interest for me here.
- deleted 2y ago[deleted]
- nyanpasu64 2y agoWhen I read contribution graph I assumed it would be a revision history graph of commits and authors.
- account42 2y agoYeah I expected something like https://gource.io/ https://gource.io/
- mseepgood 2y ago
- NooneAtAll3 2y agoas Github* contribution graph
- rwoerz 2y agoSome of the voting results on https://abstimmung.eu/git/2024 https://abstimmung.eu/git/2024 are misleading. Votings are about a decision recommendation (Beschlussempfehlung) which sometimes negates the original request (Antrag), e.g., https://abstimmung.eu/votes/55 https://abstimmung.eu/votes/55
- Hackbraten 2y agoI agree. In the example you quoted, it’s entirely unclear what Yes and No even refers to. It doesn’t help that the summary appears to be generated by an LLM. This needs human curation to be useful.
- werzum 2y agoPerfect, thanks for pointing that out - I was just starting to think it inverted votes, since all major parties except AFD were in favor, which contradicted what the text implied to me at first glance.
- mcintyre1994 2y agoInteresting visualisation! On mobile there seems to be an issue with the months where they all display as one word instead of being spaced out: JanFebMarAprMayJunJulAugSepOctNovDec
- littlecranky67 2y agoIf my graph at work looked like this, you could derive from it I would hardly be working.
- mcintyre1994 2y agoI guess it’d be like if you only committed once when you release a new product.
- littlecranky67 2y agoDon't forget that GitHub also shows interactions (comments on MRs etc., creating documentation) in the Graph.
- sam_lowry_ 2y agoLet us not confuse git and Github, the later belonging to a reviled US monopoly.
- rob74 2y agoI used to revile (can you use this verb this way?) M$ in the 1980s/1990s as well, but at the moment I could think of several tech companies that I like even less. And yes, technically they can still be considered a monopolist because of Windows, but it has lost a lot of its significance...
- pbmonster 2y agoWindows 11 hardware requirements alone top most things the other corps have done over the last decade.
- jampekka 2y agoThe monopoly is live and well with Office, which is their real money maker.
- msk-lywenn 2y agoI thought it was Azure now.
- jampekka 2y agoAzure is the biggest revenue source, but my guess is (didn't find data) that Office is more profitable. Although Microsoft is especially good/evil at getting Azure lock-ins and overpriced exclusive deals from e.g. governments.
- high_na_euv 2y agoIndeed, Github is high quality, software engineering enablement platform And git is letter management engine
- rozab 2y ago
- agnishom 2y agoI first parsed this as [(German parliament) votes as a (Git contribution graph)]. But now I realize that the intended tree is [(German parliament votes) as a (Git contribution graph)]
- xyzsparetimexyz 2y agoHave you been tested for dyslexia?
- mvdtnz 2y agoGitHub is not git.
- ThinkBeat 2y agoThat should probably be "Github" contribution graph.
- throwaway290 2y agoThis is not a Git contribution graph.
- 6510 2y agoIt would be fascinating to have side by side comparison for all countries and history. It would be full of brilliant and stupid solutions. It should really be convenient enough that law makers cant continue to pretend to be the first one to address a topic.
- maxekman 2y agoAwesome! I was thinking about implementing something similar for the Swedish government APIs to improve transparency and knowledge of the democratic processes. I wonder how easy it is to adopt this project to that?
- AlexChalakov 2y agoI've been wanting to do smth similar for the Bulgarian government for some time now. Let us know if you try to undertake this project
- maxekman 2y agoGood idea! I’ll look into the code and check how extendable it is.
- zoobab 2y agoSoon we will be able to replace politicians by citizens. And everybody should be able to submit improvements to the law.
- lucb1e 2y agoSomehow I expected something about merges and branches when reading git contributions graph. The missing keyword is hub
- a3w 2y agoWäre cool, wenn man die Boxen klicken könnte, ohne gegen das Popup der Box eins drunter zu kämpfen.
- pragmatick 2y agoWorks fine for me on Firefox.
- Prunkton 2y agolink to the repo, init commit is like 3w old, last commit <1h ago https://github.com/abstimmung-eu/abstimmung.eu https://github.com/abstimmung-eu/abstimmung.eu
- blablabla123 2y agoThis is IMHO a very problematic take. This suggests the more votes, the more initiatives, the better. But this is very obviously wrong. Generally most industry nations have "only" a handful of large problems. (Something along climate, pensions, health care, housing and economy) What happens when these get solved in a Stakkato timeframe shows the current US government which at this point even fails to fulfill basic needs of supermarkets. Proper laws/initiatives aren't created/fleshed out by actual politicians but by a whole army of employees of the related institutions. Everything else is pure populism.
- pcdavid 2y agohttps://git.tricoteuses.fr/tricoteuses/a_propos https://git.tricoteuses.fr/tricoteuses/a_propos has the French constitution and others (e.g. "Code Pénal": https://git.tricoteuses.fr/codes/code_penal/commits/branch/main https://git.tricoteuses.fr/codes/code_penal/commits/branch/m...) under git too. They have developed a custom tool to automate this: https://git.tricoteuses.fr/logiciels/tricoteuses-legifrance https://git.tricoteuses.fr/logiciels/tricoteuses-legifrance
- _7acn 2y agoThis is great, but I think blockchain would be even better
- RKFADU_UOFCCLEL 2y ago[flagged]
- no-reply 2y agoLooks like some version of this is being implemented with the US Congress. https://xcential.com/blog/version-control-for-law-tracking-changes-in-the-u-s-congress/ https://xcential.com/blog/version-control-for-law-tracking-c...
- JanSchu 2y agolove it. Will be bookmarking this page