annotate src/mercurial.html.luan @ 54:50db01566278

learn mercurial
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 14 Jan 2024 20:46:18 -0700
parents d84e76175dd5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local head = Shared.head or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local existing_header = Shared.existing_header or error()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 return function()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <!doctype html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <head>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 <% head() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 <title>Reactionary Software - Mercurial</title>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
18 </head>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 <body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 <% existing_header() %>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <div content>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <h1>Mercurial</h1>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 <p><a href="https://git-scm.com/">Git</a> and <a href="https://www.mercurial-scm.org/">Mercurial</a> provide roughly the same functionality and were developed at around the same time (2005), yet Git is clearly horrible modern software while Mercurial is good reactionary software. So what is the difference? The difference is in the design which reflects completely different values. Git reflects modern values, so it is a disgusting bloated overcomplicated unreliable mess. Mercurial reflects reactionary (older) values, so it is simple, clean, and reliable. Naturally, modern programmers overwhelmingly prefer Git.</p>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 <p>I only played with Git briefly before I recognized it as an unacceptable horror, so I will refer to others to describe these horrors in detail - <a href="http://jordi.inversethought.com/blog/enough-git/">here</a>, <a href="http://jordi.inversethought.com/blog/on-gitology/">here</a>, and <a href="https://stevebennett.me/2012/02/24/10-things-i-hate-about-git/">here</a>. I then looked for an alternative and found Mercurial which is good. There may also be other good alternatives but I haven't researched this, so I am only posting about Mercurial.</p>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27
32
d84e76175dd5 add dad
Franklin Schmidt <fschmidt@gmail.com>
parents: 19
diff changeset
28 <p>The distinction between Git and Mercurial makes it trivial to distinguish between horrible modern software and good reactionary software. The simple rule is that <b>all software whose source code is in Git is horrible modern software</b>. This eliminates 99% of current open source software, so this saves an incredible amount of time for those of us who want good reactionary software. All good software will be in Mercurial or some other Git alternative.</p>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29
19
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
30 <p>It should go without saying that anyone who is developing reactionary software should use Mercurial for source control. Since there were no good hosting solutions, we developed a <a href="https://hg.reactionary.software/">free Mercurial hosting service</a>.</p>
1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 </div>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 </body>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 </html>
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
34 <%
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
35 end