News for hackers. Stuff that matters.
Re:That Time America Outlawed Pinball by pfgallagher on Friday February 23, 2024 @09:45PM (#39488671)
Did you put this together? It looks great. The site our village uses to host its village code is an atrocity so I’ve been considering rolling my own unofficial version.
Re:That Time America Outlawed Pinball by briandrum on Friday February 23, 2024 @10:00PM (#39488753)
I did, thank you!

Our official code is hosted by American Legal Publishing [1], but it's so bad that I decided to download a copy and try hosting my own.

After I was elected to our village council I started to notice the similarities between legal code and computer code – large amounts of plain text, formatting, and change management.

I ended up using Markdown with some special CSS styling, and the site is generated by Jekyll and hosted on GitHub Pages. BBEdit and regex was a huge help to whip it into shape.

You are welcome to use anything I've done [2]. I would love to see more people doing the same.

[1] https://codelibrary.amlegal.com/codes/chagrinfalls/latest/ov...

[2] https://github.com/briandrum/codes.forchagrin.com

Re:That Time America Outlawed Pinball by IIAOPSW on Friday February 23, 2024 @11:11PM (#39489046)
Lots have heard "code is law".

Fewer have noticed "law is code".

Re:That Time America Outlawed Pinball by pfgallagher on Friday February 23, 2024 @11:29PM (#39489124)
Haha, yep. Ours is American Legal Publishing, too.
Re:That Time America Outlawed Pinball by valleyer on Friday February 23, 2024 @11:14PM (#39489057)
The GitHub repo is 404ing. Maybe it's set to be private?
Re:That Time America Outlawed Pinball by briandrum on Friday February 23, 2024 @11:16PM (#39489069)
Fixed, thank you.