Skip to content

Commit

Permalink
Build website (automatic)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesroutley authored and github-actions[bot] committed Dec 26, 2024
1 parent 8f91da9 commit d82def3
Show file tree
Hide file tree
Showing 13 changed files with 489 additions and 187 deletions.
20 changes: 10 additions & 10 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ <h1>News</h1>



<li>
<a href="posts/server-sent-events-sse-are-underrated.html">Server-Sent Events (SSE) Are Underrated</a> (igorstechnoclub.com)
</li>






<li>
<a href="posts/i-thought-i-found-a-bug.html">I thought I found a bug</a> (www.os2museum.com)
</li>
Expand Down Expand Up @@ -153,7 +162,7 @@ <h1>News</h1>


<li>
<a href="posts/macos-menu-bar-app-that-shows-how-full-the-iss-urine-tank-is-in-real-time.html">macOS menu bar app that shows how full the ISS urine tank is in real time</a> (github.com)
<a href="posts/crt-simulation-in-a-gpu-shader-looks-better-than-black-frame-insertion.html">CRT Simulation in a GPU Shader, Looks Better Than Black Frame Insertion</a> (blurbusters.com)
</li>


Expand Down Expand Up @@ -224,15 +233,6 @@ <h1>News</h1>



<li>
<a href="posts/a-new-learning-experience-on-mdn.html">A new learning experience on MDN</a> (developer.mozilla.org)
</li>






<li>
<a href="posts/feel-don-t-think.html">Feel, don&#39;t think</a> (ntietz.com)
</li>
Expand Down
82 changes: 41 additions & 41 deletions docs/log.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
2024/12/26 15:16:26 error parsing https://mikehudack.substack.com/feed: http error: 403 Forbidden
2024/12/26 15:16:26 Fetched posts from https://mikehudack.substack.com/feed, took 57.826069ms
2024/12/26 15:16:26 error parsing https://themargins.substack.com/feed.xml: http error: 403 Forbidden
2024/12/26 15:16:26 Fetched posts from https://themargins.substack.com/feed.xml, took 65.915935ms
2024/12/26 15:16:26 error parsing https://highgrowthengineering.substack.com/feed: http error: 403 Forbidden
2024/12/26 15:16:26 Fetched posts from https://highgrowthengineering.substack.com/feed, took 112.270016ms
2024/12/26 15:16:26 Fetched posts from https://www.benkuhn.net/index.xml, took 149.597085ms
2024/12/26 15:16:26 Fetched posts from https://www.slowernews.com/rss.xml, took 153.413776ms
2024/12/26 15:16:26 Fetched posts from https://anewsletter.alisoneroman.com/feed, took 163.512747ms
2024/12/26 15:16:26 Fetched posts from https://macwright.com/rss.xml, took 191.149108ms
2024/12/26 15:16:26 Fetched posts from https://twobithistory.org/feed.xml, took 253.715751ms
2024/12/26 15:16:26 Fetched posts from https://jvns.ca/atom.xml, took 262.082831ms
2024/12/26 15:16:26 Fetched posts from https://blog.golang.org/feed.atom?format=xml, took 263.936447ms
2024/12/26 15:16:26 Fetched posts from https://joy.recurse.com/feed.atom, took 268.279796ms
2024/12/26 15:16:26 Fetched posts from https://www.wildlondon.org.uk/blog/all/rss.xml, took 296.156029ms
2024/12/26 15:16:26 Fetched posts from https://danluu.com/atom.xml, took 305.702537ms
2024/12/26 15:16:26 Fetched posts from https://routley.io/reserialised/great-expectations/2022-08-24/index.xml, took 343.629138ms
2024/12/26 15:16:26 Content still empty after HTML reader: https://pbat.ch/recurse/demos/trio/
2024/12/26 15:16:26 Fetched posts from https://scattered-thoughts.net/rss.xml, took 513.044182ms
2024/12/26 15:16:26 Fetched posts from https://blog.veitheller.de/feed.rss, took 740.406675ms
2024/12/26 15:16:27 Fetched posts from https://solar.lowtechmagazine.com/feeds/all-en.atom.xml, took 1.032738957s
2024/12/26 15:16:27 Fetched posts from http://tonsky.me/blog/atom.xml, took 1.558082597s
2024/12/26 15:16:27 Fetched posts from https://commoncog.com/blog/rss/, took 1.713294999s
2024/12/26 15:16:28 Content still empty after HTML reader: https://todaythings.substack.com/p/to-acquire-a-goshawk-is-a-major-decision
2024/12/26 15:16:28 Fetched posts from https://gochugarugirl.com/feed/, took 2.936738041s
2024/12/26 15:16:29 Content still empty after HTML reader: https://yc-map.vercel.app/
2024/12/26 15:16:30 Content still empty after HTML reader: http://tinylogger.com/max/wnTJ9xu3fw5UiXLp
2024/12/26 15:16:31 Content still empty after HTML reader: https://www.youtube.com/watch?v=IQqtsm-bBRU
2024/12/26 15:16:31 Content still empty after HTML reader: https://papermatch.mitanshu.tech/
2024/12/26 15:16:31 Get "https://www.fixbrowser.org/": tls: failed to verify certificate: x509: certificate signed by unknown authority
2024/12/26 15:16:32 Fetched posts from https://blaggregator.recurse.com/atom.xml?token=4c4c4e40044244aab4a36e681dfb8fb0, took 6.584293795s
2024/12/26 15:16:32 Fetched posts from https://hnrss.org/frontpage?points=50, took 6.66856414s
2024/12/26 15:16:56 error parsing https://rachelbythebay.com/w/atom.xml: Get "https://rachelbythebay.com/w/atom.xml": dial tcp 216.218.228.215:443: i/o timeout
2024/12/26 15:16:56 Fetched posts from https://rachelbythebay.com/w/atom.xml, took 30.001801916s
2024/12/26 15:16:56 Skipping writing post, no content: https://pbat.ch/recurse/demos/trio/
2024/12/26 15:16:56 Skipping writing post, no content: https://yc-map.vercel.app/
2024/12/26 15:16:56 Skipping writing post, no content: https://www.youtube.com/watch?v=IQqtsm-bBRU
2024/12/26 15:16:56 Skipping writing post, no content: https://papermatch.mitanshu.tech/
2024/12/26 15:16:56 Skipping writing post, no content: https://todaythings.substack.com/p/to-acquire-a-goshawk-is-a-major-decision
2024/12/26 15:16:56 Skipping writing post, no content: http://tinylogger.com/max/wnTJ9xu3fw5UiXLp
2024/12/26 15:16:56 Templated 41 posts, took 5.434664ms
2024/12/26 16:20:00 Fetched posts from https://www.slowernews.com/rss.xml, took 34.724119ms
2024/12/26 16:20:00 error parsing https://highgrowthengineering.substack.com/feed: http error: 403 Forbidden
2024/12/26 16:20:00 Fetched posts from https://highgrowthengineering.substack.com/feed, took 40.48465ms
2024/12/26 16:20:00 error parsing https://themargins.substack.com/feed.xml: http error: 403 Forbidden
2024/12/26 16:20:00 Fetched posts from https://themargins.substack.com/feed.xml, took 42.062072ms
2024/12/26 16:20:00 error parsing https://mikehudack.substack.com/feed: http error: 403 Forbidden
2024/12/26 16:20:00 Fetched posts from https://mikehudack.substack.com/feed, took 45.746484ms
2024/12/26 16:20:01 Fetched posts from https://macwright.com/rss.xml, took 80.525753ms
2024/12/26 16:20:01 Fetched posts from https://anewsletter.alisoneroman.com/feed, took 128.778466ms
2024/12/26 16:20:01 Fetched posts from https://www.benkuhn.net/index.xml, took 159.641063ms
2024/12/26 16:20:01 Fetched posts from https://jvns.ca/atom.xml, took 161.336374ms
2024/12/26 16:20:01 Fetched posts from https://twobithistory.org/feed.xml, took 162.985464ms
2024/12/26 16:20:01 Fetched posts from https://joy.recurse.com/feed.atom, took 205.953173ms
2024/12/26 16:20:01 Fetched posts from https://www.wildlondon.org.uk/blog/all/rss.xml, took 230.631267ms
2024/12/26 16:20:01 Fetched posts from https://routley.io/reserialised/great-expectations/2022-08-24/index.xml, took 311.537901ms
2024/12/26 16:20:01 Fetched posts from https://danluu.com/atom.xml, took 323.413862ms
2024/12/26 16:20:01 Fetched posts from https://blog.golang.org/feed.atom?format=xml, took 350.106822ms
2024/12/26 16:20:01 Fetched posts from https://scattered-thoughts.net/rss.xml, took 357.374621ms
2024/12/26 16:20:01 Content still empty after HTML reader: https://pbat.ch/recurse/demos/trio/
2024/12/26 16:20:01 Fetched posts from https://blog.veitheller.de/feed.rss, took 642.68361ms
2024/12/26 16:20:01 Fetched posts from https://solar.lowtechmagazine.com/feeds/all-en.atom.xml, took 997.618397ms
2024/12/26 16:20:02 Fetched posts from http://tonsky.me/blog/atom.xml, took 1.065095493s
2024/12/26 16:20:02 Content still empty after HTML reader: https://todaythings.substack.com/p/to-acquire-a-goshawk-is-a-major-decision
2024/12/26 16:20:02 Content still empty after HTML reader: https://yc-map.vercel.app/
2024/12/26 16:20:03 Fetched posts from https://commoncog.com/blog/rss/, took 2.127563324s
2024/12/26 16:20:03 Content still empty after HTML reader: http://tinylogger.com/max/wnTJ9xu3fw5UiXLp
2024/12/26 16:20:03 Fetched posts from https://gochugarugirl.com/feed/, took 2.716032231s
2024/12/26 16:20:04 Content still empty after HTML reader: https://www.youtube.com/watch?v=IQqtsm-bBRU
2024/12/26 16:20:04 Content still empty after HTML reader: https://papermatch.mitanshu.tech/
2024/12/26 16:20:05 Get "https://www.fixbrowser.org/": tls: failed to verify certificate: x509: certificate signed by unknown authority
2024/12/26 16:20:05 Fetched posts from https://hnrss.org/frontpage?points=50, took 5.030483278s
2024/12/26 16:20:06 Fetched posts from https://blaggregator.recurse.com/atom.xml?token=4c4c4e40044244aab4a36e681dfb8fb0, took 5.826166058s
2024/12/26 16:20:30 error parsing https://rachelbythebay.com/w/atom.xml: Get "https://rachelbythebay.com/w/atom.xml": dial tcp 216.218.228.215:443: i/o timeout
2024/12/26 16:20:30 Fetched posts from https://rachelbythebay.com/w/atom.xml, took 30.003363711s
2024/12/26 16:20:30 Skipping writing post, no content: https://pbat.ch/recurse/demos/trio/
2024/12/26 16:20:30 Skipping writing post, no content: https://yc-map.vercel.app/
2024/12/26 16:20:30 Skipping writing post, no content: https://www.youtube.com/watch?v=IQqtsm-bBRU
2024/12/26 16:20:30 Skipping writing post, no content: https://papermatch.mitanshu.tech/
2024/12/26 16:20:30 Skipping writing post, no content: https://todaythings.substack.com/p/to-acquire-a-goshawk-is-a-major-decision
2024/12/26 16:20:30 Skipping writing post, no content: http://tinylogger.com/max/wnTJ9xu3fw5UiXLp
2024/12/26 16:20:30 Templated 41 posts, took 6.211949ms
41 changes: 35 additions & 6 deletions docs/posts/a-minecraft-server-written-in-cobol.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ <h1>A Minecraft server written in COBOL</h1>
<li> player inventory (limited to creative mode)</li>
<li> chat</li>
<li> commands (in-game and via an interactive console)</li>
<li> whitelist (persistent; stored in <code>whitelist.json</code>)</li>
<li> configuration via server.properties</li>
<li> whitelist (persistent; stored in whitelist.json)</li>
</ul>
<p dir="auto">Note that blocks with multiple states, orientations, or interactive blocks require large amounts of specialized code
to make them behave properly, which is way beyond the scope of this project.
Expand Down Expand Up @@ -64,14 +65,42 @@ <h1>A Minecraft server written in COBOL</h1>
</ul>
<p dir="auto">Then execute <code>make</code> to build, followed by <code>make run</code> to start a server on port 25565.</p>
<p dir="auto">Or, using Docker:</p>
<div dir="auto" data-snippet-clipboard-copy-content="docker build -t cobolcraft .
docker run --rm -p 25565:25565 -it cobolcraft"><pre>docker build -t cobolcraft <span>.</span>
docker run --rm -p 25565:25565 -it cobolcraft</pre></div>
<p dir="auto">To configure the server, edit the variables in <code>main.cob</code> (limited options available).</p>
<div dir="auto" data-snippet-clipboard-copy-content="# pull the image from Docker Hub
docker pull meyfa/cobolcraft:latest
# or build it yourself
git clone https://github.com/meyfa/CobolCraft.git cobolcraft &amp;&amp; cd cobolcraft
docker build --tag meyfa/cobolcraft .
docker run --rm --interactive --tty \
--publish 25565:25565 \
--volume &#34;$(pwd)/server.properties:/app/server.properties&#34; \
--volume &#34;$(pwd)/whitelist.json:/app/whitelist.json&#34; \
--volume &#34;$(pwd)/save:/app/save&#34; \
meyfa/cobolcraft"><pre><span><span>#</span> pull the image from Docker Hub</span>
docker pull meyfa/cobolcraft:latest

<span><span>#</span> or build it yourself</span>
git clone https://github.com/meyfa/CobolCraft.git cobolcraft <span>&amp;&amp;</span> <span>cd</span> cobolcraft
docker build --tag meyfa/cobolcraft <span>.</span>

docker run --rm --interactive --tty \
--publish 25565:25565 \
--volume <span><span>&#34;</span><span><span>$(</span>pwd<span>)</span></span>/server.properties:/app/server.properties<span>&#34;</span></span> \
--volume <span><span>&#34;</span><span><span>$(</span>pwd<span>)</span></span>/whitelist.json:/app/whitelist.json<span>&#34;</span></span> \
--volume <span><span>&#34;</span><span><span>$(</span>pwd<span>)</span></span>/save:/app/save<span>&#34;</span></span> \
meyfa/cobolcraft</pre></div>
<p dir="auto">To configure the server, edit the <code>server.properties</code> file.
This file is generated automatically on first run with default values for all supported options:</p>
<ul dir="auto">
<li><code>server-port</code> (default: 25565)</li>
<li><code>white-list</code> (default: false)</li>
<li><code>motd</code> (default: &#34;CobolCraft&#34;)</li>
</ul>
<p dir="auto">Note: By default, the server is only accessible via localhost (i.e., only on your own system via <code>localhost:25565</code>).
To make it accessible from the outside (your local network, via VPN, port forwarding, on a rented server, ...), you
can start the Docker container like this:</p>
<div dir="auto" data-snippet-clipboard-copy-content="docker run --rm -p 0.0.0.0:25565:25565 -it cobolcraft"><pre>docker run --rm -p 0.0.0.0:25565:25565 -it cobolcraft</pre></div>
<div dir="auto" data-snippet-clipboard-copy-content="docker run --rm -it -p 0.0.0.0:25565:25565 meyfa/cobolcraft"><pre>docker run --rm -it -p 0.0.0.0:25565:25565 meyfa/cobolcraft</pre></div>

<p dir="auto">Well, there are quite a lot of rumors and stigma surrounding COBOL.
This intrigued me to find out more about this language, which is best done with some sort of project, in my opinion.
Expand Down
Loading

0 comments on commit d82def3

Please sign in to comment.