Mercurial Hosting > arkian
comparison src/computer_literacy/computer_literacy.html @ 27:9134d56639ae default tip
finish computer_literacy
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 09 Oct 2025 19:15:03 -0600 |
parents | fb87f762847e |
children |
comparison
equal
deleted
inserted
replaced
26:fb87f762847e | 27:9134d56639ae |
---|---|
9 | 9 |
10 let content = { | 10 let content = { |
11 intro: { | 11 intro: { |
12 title: 'Introduction', | 12 title: 'Introduction', |
13 content: `\ | 13 content: `\ |
14 <p>Learning reactionary programming will give you a deep understanding of programming and will enable to you to write your own programs and websites. However this is not enough to get a job in depraved modern culture. Modern culture will expect you to use tools popular with them, so you would have to learn one of those. Probably the least horrible programming tool used by modern culture is <a href="python.html">Python</a>, so I would recommend learning that if you want a job.</p> | 14 <p>Computer literacy is a generally useful skill, and it helps with maintaining this website. Learning the basic skills taught here will give you a better understanding of your computer and will help you use it more effectively.</p> |
15 | 15 |
16 <p>The next 4 lessons are basic computer literacy. Even if you are not interested in programming, these would be useful skills.</p> | 16 <p>I will often say "Do X" without saying how to do X. A big part of computer literacy is figuring out how to do things. Your two main resources are Google and AI's like ChatGPT and Claude.</p> |
17 | |
18 <p>I will develop this course incrementally based on demand. Whenever anyone completes the content here, I will add another lesson/section. This way I won't waste my time writing content that no one will use.</p> | |
19 | |
20 <p>This course will be designed for you to learn reactionary programming in a logical sequence. I will focus on finding relevant resources, and I will only write explanations when nothing else is available on the subject. I will focus on web development since that is what I know best.</p> | |
21 | |
22 <p>I will often say "Do X" without saying how to do X. A big part of programming is figuring out how to do things. Your two main resources are Google and ChatGPT. If you get stuck, you can ask me.</p> | |
23 | |
24 <p>ChatGPT has become an essential programming tool. So the only task for this lesson is to play with ChatGPT. Later you can ask it technical questions.</p> | |
25 | |
26 <p>If you have any questions, you can ask me on <a href="https://mikraite.arkian.net/Reactionary-Software-f1999.html">my forum</a>.</p> | |
27 ` , | 17 ` , |
28 }, | 18 }, |
29 editor: { | 19 editor: { |
30 title: 'Text Editor and JSON', | 20 title: 'Text Editor and JSON', |
31 content: `\ | 21 content: `\ |
32 <p>A text editor is a basic tool for reactionary programmers. We use simple flexible tools. Modern culture uses 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> | 22 <p>Many files on your computer are text files. These files contain simple text. You edit these files with a <a href="https://en.wikipedia.org/wiki/Text_editor">text editor</a>. |
33 | 23 |
34 <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> | 24 <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> |
35 | 25 |
36 <p><a href="https://en.wikipedia.org/wiki/JSON">JSON</a> is the most popular text data format. I think JSON was the last good programming idea from modern culture, developed around 2001, before modern culture became fully depraved. Do your own research on JSON to understand it. It is fairly simple.</p> | 26 <p><a href="https://en.wikipedia.org/wiki/JSON">JSON</a> is the most popular text data format. Do your own research on JSON to understand it. It is fairly simple.</p> |
37 | 27 |
38 <p>I paired Sublime Text with JSON because Sublime Text uses JSON files for its <a href="https://www.sublimetext.com/docs/settings.html">settings</a>. (Actually not quite pure JSON because it includes comments which are lines starting with <code>//</code>.) Experiment with Sublime Text settings to learn more about both Sublime Text and JSON.</p> | 28 <p>I paired Sublime Text with JSON because Sublime Text uses JSON files for its <a href="https://www.sublimetext.com/docs/settings.html">settings</a>. (Actually not quite pure JSON because it includes comments which are lines starting with <code>//</code>.) Experiment with Sublime Text settings to learn more about both Sublime Text and JSON.</p> |
39 ` , | 29 ` , |
40 }, | 30 }, |
41 bash: { | 31 bash: { |
42 title: 'Bash - Command Line Shell', | 32 title: 'Bash - Command Line Shell', |
43 content: `\ | 33 content: `\ |
44 <p><a href="bash.html">Bash</a> is the other basic tool for reactionary programmers. I was hoping to just reference existing Bash tutorials in this lesson, but they are all horrible, so I am writing my own. So for this lesson, please read <a href="bash.html">my tutorial</a>.</p> | 34 <p><a href="https://www.gnu.org/software/bash/">Bash</a> is a <a href="https://en.wikipedia.org/wiki/Unix_shell">Unix shell</a> or <a href="https://en.wikipedia.org/wiki/Command-line_interface">command line</a>. Using the command line is like having a conversation with one's computer. Bash deals with basic concepts like files and directories. Using Bash will give you a much deeper understanding of your computer.</p> |
35 | |
36 <p>There are many shells available but Bash is old and standard. None of the alternatives are better, so stick with Bash. For this lesson, please read <a href="bash.html">my tutorial</a>.</p> | |
45 ` , | 37 ` , |
46 }, | 38 }, |
47 regex: { | 39 regex: { |
48 title: 'Regular Expressions', | 40 title: 'Regular Expressions', |
49 content: `\ | 41 content: `\ |
50 <p><a href="https://en.wikipedia.org/wiki/Regular_expression">Regular expressions</a>, or regex for short, are used for searching or matching text. Since this is such a common need, regex are found everywhere in programming. Since you just learned Bash, you can learn regex with the <a href="https://en.wikipedia.org/wiki/Grep">grep</a> command that uses regex.</p> | 42 <p><a href="https://en.wikipedia.org/wiki/Regular_expression">Regular expressions</a>, or regex for short, are used for searching or matching text. This is a common need in programming, but is also useful for Bash which uses it in the <a href="https://en.wikipedia.org/wiki/Grep">grep</a> command.</p> |
51 | 43 |
52 <p>Unlike with Bash, there are a few decent grep tutorials, so I don't have to write my own. Here they are:</p> | 44 <p>There are a few decent grep tutorials, so I don't have to write my own. Here they are:</p> |
53 | 45 |
54 <ul> | 46 <ul> |
55 <li><a href="https://vegastack.com/tutorials/regular-expressions-in-grep/">Regular Expressions in Grep</a></li> | 47 <li><a href="https://vegastack.com/tutorials/regular-expressions-in-grep/">Regular Expressions in Grep</a></li> |
56 <li><a href="https://cs.nyu.edu/~mohri/unix08/lect4">Regular Expressions</a></li> | 48 <li><a href="https://cs.nyu.edu/~mohri/unix08/lect4">Regular Expressions</a></li> |
57 <li><a href="https://www.gnu.org/software/grep/manual/grep.html">GNU Grep</a></li> | 49 <li><a href="https://www.gnu.org/software/grep/manual/grep.html">GNU Grep</a></li> |
58 </ul> | 50 </ul> |
59 | 51 |
60 <p>I suggest that you just read through these tutorials so that you get a sense for how regex and grep work. You don't need to practice anything here. You can come back to these tutorials later when you have a real need for regex or grep.</p> | 52 <p>I suggest that you just read through these tutorials so that you get a sense for how regex and grep work. You don't need to practice anything here. You can come back to these tutorials later when you have a real need for regex or grep.</p> |
61 | |
62 <p>The details of regex vary by implementation. Luan uses <a href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/package-summary.html">Java regex</a>. | |
63 | |
64 <p>If you become a serious programmer, then you should have a deeper understanding of regex. In that case I recommend the book <a href="https://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/">Mastering Regular Expressions</a>.</p> | |
65 ` , | 53 ` , |
66 }, | 54 }, |
67 hg: { | 55 hg: { |
68 title: 'Mercurial - Source Control', | 56 title: 'Mercurial - Source Control', |
69 content: `\ | 57 content: `\ |
70 <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> | 58 <p><a href="https://en.wikipedia.org/wiki/Version_control">Source control</a> tracks changes to files. It is mostly used by programmers but is useful for anyone who wants to track changes in files. This website is in source control.</p> |
59 | |
60 <p>The most popular source control software is <a href="https://git-scm.com/">Git</a>. Of course it is horrible since modern programmers only like horrible things. We use the less popular software <a href="https://www.mercurial-scm.org/">Mercurial</a>.</p> | |
61 | |
62 <p>Thankfully Mercurial is well documented. Read <a href="https://hgbook.red-bean.com/">Mercurial: The Definitive Guide</a> up to (and including) chapter 9.</p> | |
71 | 63 |
72 <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> | 64 <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> |
73 | 65 |
74 <code block> | 66 <code block> |
75 ~/learn $ hg version | 67 ~/learn $ hg version |
171 remote: adding file changes | 163 remote: adding file changes |
172 remote: added 1 changesets with 1 changes to 1 files | 164 remote: added 1 changesets with 1 changes to 1 files |
173 </code> | 165 </code> |
174 ` , | 166 ` , |
175 }, | 167 }, |
176 qqq: { | 168 programming: { |
177 title: 'qqq', | 169 title: 'Programming', |
178 content: `\ | 170 content: `\ |
171 <p>If you are interested in learning programming, you can continue with my <a href="https://www.reactionary.software/learn.html">reactionary programming course</a>.</p> | |
179 ` , | 172 ` , |
180 }, | 173 }, |
181 }; | 174 }; |
182 </script> | 175 </script> |
183 </head> | 176 </head> |