changeset 67:b1982e401900

security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 08:09:27 -0600
parents 4b68d7e43726
children 32be9862e1cc
files src/about.html.luan src/discussion.html.luan src/existing.html.luan src/init.luan src/java.html.luan src/java_fork.html.luan src/learn.html.luan src/learn_bash.html.luan src/needed.html.luan src/this.html.luan
diffstat 10 files changed, 20 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/about.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/about.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -27,7 +27,7 @@
 
 			<p>This <a href="https://youtu.be/PCRx78Zhj7s">funny video</a> exemplifies modern design.  Over-engineered, over-complicated, inflexible, and cumbersome.  All modern software is like this.  Of course it wasn't always like this.  Most programming in the last century was good.  Serious deterioration started around 2000 and by 2010 all software developed by modern culture was horrible.  This reflects the general decline of modern culture.</p>
 
-			<p>I have written numerous posts over the years complaining about modern software.  Here is <a href="http://mikraite.arkian.net/Modern-Software-Layers-of-Junk-tp747.html">one</a> from 2016 complaining about DNS caching.  It goes into detail about the particular issue I was dealing with at the time, but I am only posting a link because the details aren't important.  The important point is that all modern software written by modern programmers is like this, all horrible unusable crap.  And this is why reasonable people need reactionary software.</p>
+			<p>I have written numerous posts over the years complaining about modern software.  Here is <a href="https://mikraite.arkian.net/Modern-Software-Layers-of-Junk-tp747.html">one</a> from 2016 complaining about DNS caching.  It goes into detail about the particular issue I was dealing with at the time, but I am only posting a link because the details aren't important.  The important point is that all modern software written by modern programmers is like this, all horrible unusable crap.  And this is why reasonable people need reactionary software.</p>
 
 			<p>This website is about software, but the principle applies to everything.  Here is <a href="https://youtu.be/p5qVxAoKwbE">a video about brick walls</a>.  Same basic story.  So where will this decay of software and everything else lead?</p>
 
@@ -49,7 +49,7 @@
 
 			<h2>What is good?</h2>
 
-			<p>The short answer is that everything that modern culture hates is good, and everything that modern culture loves is bad.  But we need more details than that.  You can find good values in scripture or in good traditional culture.  These values should be applied to programming and to everything else in life.  I wrote <a href="http://mikraite.arkian.net/The-Old-Testament-on-Programming-tp1923.html">an Old Testament guide to programming</a>.  I also discussed <a href="http://mikraite.arkian.net/Core-Programming-Principles-tp1237.html">applying traditional Japanese culture to programming</a>.  These are just two examples.  Any other scripture like the Quran or any traditional culture should work fine to give you good values, in contrast to the horrible values of modern culture, and these good values can guide you to writing good reactionary software.</p>
+			<p>The short answer is that everything that modern culture hates is good, and everything that modern culture loves is bad.  But we need more details than that.  You can find good values in scripture or in good traditional culture.  These values should be applied to programming and to everything else in life.  I wrote <a href="https://mikraite.arkian.net/The-Old-Testament-on-Programming-tp1923.html">an Old Testament guide to programming</a>.  I also discussed <a href="https://mikraite.arkian.net/Core-Programming-Principles-tp1237.html">applying traditional Japanese culture to programming</a>.  These are just two examples.  Any other scripture like the Quran or any traditional culture should work fine to give you good values, in contrast to the horrible values of modern culture, and these good values can guide you to writing good reactionary software.</p>
 
 			<h2>What about alt-tech?</h2>
 
@@ -77,7 +77,7 @@
 
 			<p>Do you want to support reactionary software as an alternative to horrible modern software?  If yes, then join our <a href="/discussion.html">discussions</a> and consider working on <a href="/needed.html">needed reactionary software</a>.</p>
 
-			<p>You also should consider the fact that if humanity itself becomes worthless, then good software no longer has any value.  To fight the degeneration of humanity, you might also consider my <a href="http://www.arkian.net/">Arkian project</a>.</p>
+			<p>You also should consider the fact that if humanity itself becomes worthless, then good software no longer has any value.  To fight the degeneration of humanity, you might also consider my <a href="https://www.arkian.net/">Arkian project</a>.</p>
 		</div>
 	</body>
 </html>
--- a/src/discussion.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/discussion.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -22,7 +22,7 @@
 			<h1>Discussion</h1>
 			<ul links>
 				<li><a href="https://discord.gg/R6A3kaAJwj">Discord</a></li>
-				<li><a href="http://mikraite.arkian.net/Reactionary-Software-f1999.html">Forum on Mikraite</a></li>
+				<li><a href="https://mikraite.arkian.net/Reactionary-Software-f1999.html">Forum on Mikraite</a></li>
 			</ul>
 		</div>
 	</body>
--- a/src/existing.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/existing.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -21,7 +21,7 @@
 		<div content>
 			<h1>Existing Reactionary Software</h1>
 			<ul links>
-				<li><a href="http://dad.reactionary.software/">JavaScript Drag and Drop</a> <img src="external_link.svg"></li>
+				<li><a href="https://dad.reactionary.software/">JavaScript Drag and Drop</a> <img src="external_link.svg"></li>
 				<li><a href="/mercurial.html">Mercurial</a></li>
 				<li><a href="/bash.html">Bash</a></li>
 				<li><a href="/java.html">Java 8</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/init.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -0,0 +1,5 @@
+local Hosted = require "luan:host/Hosted.luan"
+
+Hosted.set_https and Hosted.set_https(true)
+
+return true
--- a/src/java.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/java.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -34,7 +34,7 @@
 
 			<ul history>
 				<li>Java 1.0 was release in 1995.</li>
-				<li>Java 1.1 (1997) added reflection which was good. It also added inner classes which had problems as I discussed <a href="http://mikraite.arkian.net/Jave-inner-classes-tp3503.html">here</a>.</li>
+				<li>Java 1.1 (1997) added reflection which was good. It also added inner classes which had problems as I discussed <a href="https://mikraite.arkian.net/Jave-inner-classes-tp3503.html">here</a>.</li>
 				<li>Java 1.2 (1998) didn't change the language.</li>
 				<li>Java 1.4 (2002) added "assert" which is harmless though I don't use it.</li>
 				<li>
--- a/src/java_fork.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/java_fork.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -29,7 +29,7 @@
 			<p><a href="/java.html">Java 8</a> is good reactionary software but is essentially unsupported.  So someone should fork it and maintain and improve it.  I suggest these improvements:</p>
 
 			<ul>
-				<li>Fix inner classes as described <a href="http://mikraite.arkian.net/Jave-inner-classes-tp3503.html">here</a>.</li>
+				<li>Fix inner classes as described <a href="https://mikraite.arkian.net/Jave-inner-classes-tp3503.html">here</a>.</li>
 				<li>Replace generics with a cleaner solution.</li>
 				<li>Remove static imports.</li>
 				<li>Remove lambda expressions.</li>
--- a/src/learn.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/learn.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -33,7 +33,7 @@
 		title = [[Text Editor and JSON]]
 		content = function()
 %>
-<p>A text editor is a basic tool for reactionary programmers.  We use simple flexible tools.  Modern scum use an <a href="https://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> which is big, <a href="http://mikraite.arkian.net/Changed-my-mind-about-IDE-s-tp2769.html">complicated</a>, and inflexible.  We don't use such tools.</p>
+<p>A text editor is a basic tool for reactionary programmers.  We use simple flexible tools.  Modern scum use an <a href="https://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> which is big, <a href="https://mikraite.arkian.net/Changed-my-mind-about-IDE-s-tp2769.html">complicated</a>, and inflexible.  We don't use such tools.</p>
 
 <p>I reviewed the available text editors and I think <a href="https://www.sublimetext.com/">Sublime Text</a> is the best one available.  So please download it and learn how it works.</p>
 
@@ -75,7 +75,7 @@
 		title = [[Mercurial - Source Control]]
 		content = function()
 %>
-<p>Thankfully <a href="mercurial.html">Mercurial</a> is well documented.  Read <a href="http://hgbook.red-bean.com/">Mercurial: The Definitive Guide</a> up to (and including) chapter 9.</p>
+<p>Thankfully <a href="mercurial.html">Mercurial</a> is well documented.  Read <a href="https://hgbook.red-bean.com/">Mercurial: The Definitive Guide</a> up to (and including) chapter 9.</p>
 
 <p>To get started with Mercurial, download Mercurial from <a href="https://www.mercurial-scm.org/">their website</a> and install it.  Then do:</p>
 
@@ -90,7 +90,7 @@
 ~/learn $ 
 </code>
 
-<p>If this works, it is installed properly.  Next <a href="http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#sec:tour-basic:username">set up your Mercurial configuration file</a> which is <code>~/.hgrc</code> on a Mac or <code>/c/Users/$(whoami)/mercurial.ini</code> on Windows <a href="https://www.msys2.org/">MSYS2</a>.  My <a href="https://www.mercurial-scm.org/doc/hgrc.5.html">hgrc</a> file looks like this:
+<p>If this works, it is installed properly.  Next <a href="https://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#sec:tour-basic:username">set up your Mercurial configuration file</a> which is <code>~/.hgrc</code> on a Mac or <code>/c/Users/$(whoami)/mercurial.ini</code> on Windows <a href="https://www.msys2.org/">MSYS2</a>.  My <a href="https://www.mercurial-scm.org/doc/hgrc.5.html">hgrc</a> file looks like this:
 
 <code block>
 [ui]
@@ -194,8 +194,8 @@
 <p>The next step is to download this website like this:</p>
 
 <code block>
-~/learn $ wget -r -k http://www.reactionary.software/
---2024-01-15 01:31:20--  http://www.reactionary.software/
+~/learn $ wget -r -k https://www.reactionary.software/
+--2024-01-15 01:31:20--  https://www.reactionary.software/
 ...
 ~/learn $ cd www.reactionary.software/
 ~/learn/www.reactionary.software $ ls -F
--- a/src/learn_bash.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/learn_bash.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -13,7 +13,7 @@
 		title = [[Introduction]]
 		content = function()
 %>
-<p>I really don't want to write this tutorial, but all the existing Bash tutorials are so horrible that I have no choice.  I looked at books, websites, and YouTube - all horrible.  They don't start with the basics.  They include all kinds of useless crap.  And they don't explain core concepts.  So I have no choice but to write this for my <a href="http://localhost:8080/learn.html#bash">Learn Reactionary Programming</a> Bash lesson.</p>
+<p>I really don't want to write this tutorial, but all the existing Bash tutorials are so horrible that I have no choice.  I looked at books, websites, and YouTube - all horrible.  They don't start with the basics.  They include all kinds of useless crap.  And they don't explain core concepts.  So I have no choice but to write this for my <a href="/learn.html#bash">Learn Reactionary Programming</a> Bash lesson.</p>
 
 <p><a href="bash.html">Bash</a> is a <a href="https://en.wikipedia.org/wiki/Unix_shell">shell</a>, one of many, but the one I prefer.  I will focus on Mac and Windows.  I don't have Linux, and I hate Linux, so I won't discuss it.  Most of Bash is the same on Mac and Windows, but where they differ, I will discuss both.</p>
 <%
@@ -557,7 +557,7 @@
 ~/learn $ 
 </code>
 
-<p>Here I edit the file <code>file1</code> with <a href="http://localhost:8080/learn.html#editor">Sublime Text</a>, first by using the full path, and then by adding the directory to <code>PATH</code> so that Bash can find <code>subl</code>.</p>
+<p>Here I edit the file <code>file1</code> with <a href="/learn.html#editor">Sublime Text</a>, first by using the full path, and then by adding the directory to <code>PATH</code> so that Bash can find <code>subl</code>.</p>
 
 <p>I have Microsoft Word on Windows.  From the Windows Command Prompt (not Bash):</p>
 
--- a/src/needed.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/needed.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -26,7 +26,7 @@
 				<li><a href="hg_dev.html">Mercurial Development</a></li>
 				<li><a href="/freedit.html">FreedIt - A Reddit Alternative</a></li>
 				<li><a href="/wysiwyg.html">WYSIWYG Web Editor</a></li>
-				<li><a href="http://disearch.reactionary.software/tools/why.html">Disearch - A Disboard Alternative</a> <img src="external_link.svg"></li>
+				<li><a href="https://disearch.reactionary.software/tools/why.html">Disearch - A Disboard Alternative</a> <img src="external_link.svg"></li>
 			</ul>
 		</div>
 	</body>
--- a/src/this.html.luan	Sat Aug 24 22:26:46 2024 -0600
+++ b/src/this.html.luan	Sun Sep 15 08:09:27 2024 -0600
@@ -22,8 +22,6 @@
 			<h1>This Website</h1>
 
 			<p>This website is a tiny example of reactionary software.  The UI is clean and simple, not fashionable.  View the HTML source in the browser.  Unlike all modern websites, the HTML here is readable.  Now look at <a href="https://hg.reactionary.software/repo/reactionary">the source</a> which is in <a href="/mercurial.html">Mercurial</a>.  And the code is written in <a href="http://www.luan.software/">Luan</a> which makes it simple.</p>
-
-			<p>Also note that this website uses <a href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP</a>, not <a href="https://en.wikipedia.org/wiki/HTTPS">HTTPS</a>.  Using HTTPS is completely pointless for an informational site like this one that has no need for security.  Yet all modern browsers complain, warning the user that the site is "Not Secure".  Why do they do this?  Because modern programmers hate simplicity and love complexity, and using HTTPS for a site that doesn't need security just adds complexity, so they complain because they hate the simplicity of HTTP.</p>
 		</div>
 	</body>
 </html>