[12/11/23] Removing site directory

This commit is contained in:
Andrew Conlin 2023-11-12 17:37:44 +00:00
parent 059878220a
commit 7f8ee1eafd
14 changed files with 424 additions and 174 deletions

View File

@ -94,3 +94,8 @@ img.letterboxd {
background-color: gold;
color: black;
}
table, th, td {
border: 1px solid;
padding: 5px;
}|

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
Musings on the power of cinema
<h1 style="font-family: Geist Bold;">
Musings on the power of cinema
</h1>
<p>
</p>
</p>
<p style="font-family:Geist;font-style:italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;14 Jan 2023
&nbsp;
@ -129,4 +130,4 @@
</body>
</html>
</html>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
Yuri Felsen on love
<h1 style="font-family: Geist Bold;">
Yuri Felsen on love
</h1>
<p>
</p>
</p>
<p style="font-family:Geist;font-style:italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;05 Mar 2023
&nbsp;
@ -133,4 +134,4 @@
</body>
</html>
</html>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
A measure of how easily thoughts can be translated to action
<h1 style="font-family: Geist Bold;">
A measure of how easily thoughts can be translated to action
</h1>
<p>
</p>
</p>
<p style="font-family:Geist;font-style:italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;10 Mar 2023
&nbsp;
@ -149,4 +150,4 @@
</body>
</html>
</html>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
Links aren't performances
<h1 style="font-family: Geist Bold;">
Links aren't performances
</h1>
<p>
</p>
</p>
<p style="font-family:Geist;font-style:italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;29 Apr 2023
&nbsp;
@ -133,4 +134,4 @@
</body>
</html>
</html>

View File

@ -1,4 +1,207 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-11-06T13:57:50+00:00</updated><id>http://localhost:4000/feed.xml</id><author><name>Andrew Conlin</name></author><entry><title type="html">Links arent performances</title><link href="http://localhost:4000/blog/2023/04/29/links-arent-performances/" rel="alternate" type="text/html" title="Links arent performances" /><published>2023-04-29T00:00:00+01:00</published><updated>2023-04-29T00:00:00+01:00</updated><id>http://localhost:4000/blog/2023/04/29/links-arent-performances</id><content type="html" xml:base="http://localhost:4000/blog/2023/04/29/links-arent-performances/"><![CDATA[<p><em>“For starters, it finds that publishing a link can be a “performance” of a copyrighted work, which meant that when Linkletter linked to the world-viewable Youtube files that Proctorio had posted, he infringed on copyright.</em></p>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-11-12T17:37:09+00:00</updated><id>http://localhost:4000/feed.xml</id><author><name>Andrew Conlin</name></author><entry><title type="html">Enhancing Rock Paper Scissors</title><link href="http://localhost:4000/blog/2023/11/12/rock-paper-scissors/" rel="alternate" type="text/html" title="Enhancing Rock Paper Scissors" /><published>2023-11-12T17:27:35+00:00</published><updated>2023-11-12T17:27:35+00:00</updated><id>http://localhost:4000/blog/2023/11/12/rock-paper-scissors</id><content type="html" xml:base="http://localhost:4000/blog/2023/11/12/rock-paper-scissors/"><![CDATA[<p>At least where I live, Rock Paper Scissors (henceforth referred to as RPS) is still the dominant way of quickly making a decision between friends. However, it is in desperate need of an update.</p>
<p>In this post, I will set out the existing problems with the game, then how I aim to resolve them, and conclude with a summary of the amazing of the brand-spanking new edition.</p>
<p>For the record, I am writing this post because the game is bad, not because I always lose to my girlfriend and have decided to change the rules rather than accept defeat<sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">1</a></sup>.</p>
<h1 id="1-the-problems">1. The problems</h1>
<ol>
<li>Lack of options</li>
<li>Scissors picked disproportionately</li>
<li>General lack of whimsy</li>
</ol>
<h1 id="2-fixing-the-problems">2. Fixing the problems</h1>
<h2 id="how-many-extra-options-should-we-add">How many extra options should we add?</h2>
<h3 id="graph-theory">Graph theory</h3>
<p>Before we dive in, let me give you some Graph Theory 101. First some terms:</p>
<ul>
<li>vertex: a point in space</li>
<li>edge: connects any two points</li>
<li>vertices are joined with edges to create graphs</li>
<li>to begin with, we will have undirected graphs, where edges have no direction associated with them</li>
</ul>
<p>Therefore, to represent the current setup for RPS, we can have the following</p>
<script src="/assets/js/typograms.js"></script>
<script type="text/typogram">
.
o rock
/ \
/ \
/ \
paper o-------o scissors
.
</script>
<p>Each possible hand is a vertex, and each edge is a game. In graph theory, a complete graph is one where every pair of vertices is connected by a unique edge. Intuitively you can see that rock, paper scissors is complete, otherwise there would be combinations that couldnt be played against each other.</p>
<p>Another concept that I now need to introduce is that of degree. The degree of a vertex is the total number of edges it is connected to. This is the second criterion that we need to fulfill: Every vertex must have the same degree. This is known as a regular graph. The exisiting RPS graph is also regular, with degree 2 (2-regular). We need to satisfy this with our new graph.</p>
<p>It is now time to introduce direction to our graph, used to represent winners and losers. Here is the RPS graph with directions representing who will win each game, also known as a digraph.</p>
<script type="text/typogram">
.
o rock
^ \
/ \
/ v
paper o <-----o scissors
.
</script>
<p>Rock beats scissors etc. etc.</p>
<p>More specifically, we want an oriented graph. There shouldnt be any bidirectionality between vertices, which would indicate a draw.</p>
<p>A complete, oriented graph is called a tournament.</p>
<p>Buidling on out definition of regularity from the non-directed graphs, we have directional regularity (indegree = outdegree). A tournament where each of the vertices is regular is called a “regular tournament”. This specific type of digraph satisfies all our criteria, and any new game that we create must be regular tournament.</p>
<ol>
<li>complete (every hand can play every hand)</li>
<li>regular (every hand can participate in the same number of possible games)</li>
<li>oriented (every game results in a winner)</li>
<li>indegree = outdegree for all vertices (each hand wins as many as it loses)</li>
</ol>
<p>Number of regular tournaments for numbers of nodes (even no. of nodes excluded because they have an odd degree, and therefore no regular tournaments):</p>
<table>
<thead>
<tr>
<th style="text-align: center">Nodes</th>
<th style="text-align: center">Degree</th>
<th style="text-align: center">Regular Tournaments</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center">1</td>
<td style="text-align: center">0</td>
<td style="text-align: center">1</td>
</tr>
<tr>
<td style="text-align: center">3</td>
<td style="text-align: center">2</td>
<td style="text-align: center">2</td>
</tr>
<tr>
<td style="text-align: center">5</td>
<td style="text-align: center">4</td>
<td style="text-align: center">24</td>
</tr>
<tr>
<td style="text-align: center">7</td>
<td style="text-align: center">6</td>
<td style="text-align: center">2640</td>
</tr>
<tr>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
</tr>
<tr>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
</tr>
</tbody>
</table>
<p>as much as I would love to look at all of the possible 2640 combinations for a 7 player tournament, 5 possible hands looks like our sweetspot here, both in terms of the possible winner/loser combinations and in terms of the brain capacity of people playing the game.</p>
<script type="text/typogram">
.
"rock"
+------>o-------+
| ^ \ v
o-----/---\---->o
"new #1" ^^ / \ /|"new #2"
| \ / \ / |
| \ / |
"paper"| / \ / \ |"scissors"
|/ \ / vv
o<----\---/-----o
^ \ / /
\ / /
\___/ \___/
.
</script>
<p>This took me so long to figure out<sup id="fnref:2" role="doc-noteref"><a href="#fn:2" class="footnote" rel="footnote">2</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<ol>
<li id="fn:1" role="doc-endnote">
<p>Its like shes in my head its crazy <a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
</li>
<li id="fn:2" role="doc-endnote">
<p>The notebook of a crazed madman <a href="#fnref:2" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
</li>
</ol>
</div>]]></content><author><name>Andrew Conlin</name></author><category term="blog" /><summary type="html"><![CDATA[At least where I live, Rock Paper Scissors (henceforth referred to as RPS) is still the dominant way of quickly making a decision between friends. However, it is in desperate need of an update.]]></summary></entry><entry><title type="html">Rock Paper Scissors</title><link href="http://localhost:4000/2023/11/08/rock-paper-scissors/" rel="alternate" type="text/html" title="Rock Paper Scissors" /><published>2023-11-08T18:36:46+00:00</published><updated>2023-11-08T18:36:46+00:00</updated><id>http://localhost:4000/2023/11/08/rock-paper-scissors</id><content type="html" xml:base="http://localhost:4000/2023/11/08/rock-paper-scissors/"><![CDATA[<h1 id="intro">Intro</h1>
<h2 id="background">Background</h2>
<p>Rock, Paper, Scissors needs an update.
In this post I will set out the threory behind</p>
<h2 id="how-many-extra-options-should-we-add">How many extra options should we add?</h2>
<h3 id="graph-theory">Graph theory</h3>
<p>Before we dive in, let me give you some Graph Theory 101. FIrst some terms:</p>
<ul>
<li>vertex: a point in space</li>
<li>edge: connects any two points</li>
<li>vertices are joined with edges to create graphs</li>
<li>to begin with, we will have undirected graphs, where edges have no direction associated with them</li>
</ul>
<p>Therefore, to represent the current setup for RPS, we can have the following
“rock”
o
/ <br />
/ <br />
/ <br />
paper o——-o scissors</p>
<p>Each possible hand is a vertex, and each edge is a game. In graph theory, a complete graph is one where every pair of vertices is connected by a unique edge. Intuitively you can see that rock, paper scissors is complete, otherwise there would be combinations that couldnt be played against each other.</p>
<p>Another concept that I now need to introduce is that of degree. The degree of a vertex is the total number of edges it is connected to. This is the second criterion that we need to fulfill: Every vertex must have the same degree. This is known as a regular graph. The exisiting RPS graph is also regular, with degree 2 (2-regular). We need to satisfy this with our new graph.</p>
<p>It is now time to introduce direction to our graph, used to represent winners and losers. Here is the RPS graph with directions representing who will win each game, also known as a digraph.</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> "rock"
o
^ \
/ \
/ v paper o &lt;------o scissors
</code></pre></div></div>
<p>Rock beats scissors etc. etc.</p>
<p>More specifically, we want an oriented graph. There shouldnt be any bidirectionality between vertices, which would indicate a draw.</p>
<p>A complete, oriented graph is called a tournament.</p>
<p>Buidling on out definition of regularity from the non-directed graphs, we have directional regularity (indegree = outdegree). A tournament where each of the vertices is regular is called a “regular tournament”. This specific type of digraph satisfies all our criteria, and any new game that we create must be regular tournament.</p>
<ol>
<li>complete (every hand can play every hand)</li>
<li>regular (every hand can participate in the same number of possible games)</li>
<li>oriented (every game results in a winner)</li>
<li>indegree = outdegree for all vertices (each hand wins as many as it loses)</li>
</ol>
<p>Number of regular tournaments for numbers of nodes (even no. of nodes excluded because they have an odd degree, and therefore no regular tournaments):
| Nodes | Degree | Regular Tournaments |
|—————- | ————— | ————— |
| 1 | 0 | 1 |
| 3 | 2 | 2 |
| 5 | 4 | 24 |
| 7 | 6 | 2640 |
and so on…</p>
<p>as much as I would love to look at all of the possible 2640 combinations for a 7 player tournament, 5 possible hands looks like our sweetspot here, both in terms of the possble winner/loser combinations and in terms of the brain capacity of people playing the game.</p>]]></content><author><name>Andrew Conlin</name></author><summary type="html"><![CDATA[Intro Background Rock, Paper, Scissors needs an update. In this post I will set out the threory behind How many extra options should we add? Graph theory Before we dive in, let me give you some Graph Theory 101. FIrst some terms: vertex: a point in space edge: connects any two points vertices are joined with edges to create graphs to begin with, we will have undirected graphs, where edges have no direction associated with them]]></summary></entry><entry><title type="html">Links arent performances</title><link href="http://localhost:4000/blog/2023/04/29/links-arent-performances/" rel="alternate" type="text/html" title="Links arent performances" /><published>2023-04-29T00:00:00+01:00</published><updated>2023-04-29T00:00:00+01:00</updated><id>http://localhost:4000/blog/2023/04/29/links-arent-performances</id><content type="html" xml:base="http://localhost:4000/blog/2023/04/29/links-arent-performances/"><![CDATA[<p><em>“For starters, it finds that publishing a link can be a “performance” of a copyrighted work, which meant that when Linkletter linked to the world-viewable Youtube files that Proctorio had posted, he infringed on copyright.</em></p>
<p><em>This is a perverse, even surreal take on copyright. The court rejects Linkletters argument that even Youtubes terms of service warned Proctorio that publishing world-viewable material on its site constituted permission for people to link to and watch that material.”</em></p>

View File

@ -1,4 +1,148 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed/blog.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-11-06T13:57:50+00:00</updated><id>http://localhost:4000/feed/blog.xml</id><title type="html"> | Blog</title><author><name>Andrew Conlin</name></author><entry><title type="html">Links arent performances</title><link href="http://localhost:4000/blog/2023/04/29/links-arent-performances/" rel="alternate" type="text/html" title="Links arent performances" /><published>2023-04-29T00:00:00+01:00</published><updated>2023-04-29T00:00:00+01:00</updated><id>http://localhost:4000/blog/2023/04/29/links-arent-performances</id><content type="html" xml:base="http://localhost:4000/blog/2023/04/29/links-arent-performances/"><![CDATA[<p><em>“For starters, it finds that publishing a link can be a “performance” of a copyrighted work, which meant that when Linkletter linked to the world-viewable Youtube files that Proctorio had posted, he infringed on copyright.</em></p>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed/blog.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-11-12T17:37:09+00:00</updated><id>http://localhost:4000/feed/blog.xml</id><title type="html"> | Blog</title><author><name>Andrew Conlin</name></author><entry><title type="html">Enhancing Rock Paper Scissors</title><link href="http://localhost:4000/blog/2023/11/12/rock-paper-scissors/" rel="alternate" type="text/html" title="Enhancing Rock Paper Scissors" /><published>2023-11-12T17:27:35+00:00</published><updated>2023-11-12T17:27:35+00:00</updated><id>http://localhost:4000/blog/2023/11/12/rock-paper-scissors</id><content type="html" xml:base="http://localhost:4000/blog/2023/11/12/rock-paper-scissors/"><![CDATA[<p>At least where I live, Rock Paper Scissors (henceforth referred to as RPS) is still the dominant way of quickly making a decision between friends. However, it is in desperate need of an update.</p>
<p>In this post, I will set out the existing problems with the game, then how I aim to resolve them, and conclude with a summary of the amazing of the brand-spanking new edition.</p>
<p>For the record, I am writing this post because the game is bad, not because I always lose to my girlfriend and have decided to change the rules rather than accept defeat<sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">1</a></sup>.</p>
<h1 id="1-the-problems">1. The problems</h1>
<ol>
<li>Lack of options</li>
<li>Scissors picked disproportionately</li>
<li>General lack of whimsy</li>
</ol>
<h1 id="2-fixing-the-problems">2. Fixing the problems</h1>
<h2 id="how-many-extra-options-should-we-add">How many extra options should we add?</h2>
<h3 id="graph-theory">Graph theory</h3>
<p>Before we dive in, let me give you some Graph Theory 101. First some terms:</p>
<ul>
<li>vertex: a point in space</li>
<li>edge: connects any two points</li>
<li>vertices are joined with edges to create graphs</li>
<li>to begin with, we will have undirected graphs, where edges have no direction associated with them</li>
</ul>
<p>Therefore, to represent the current setup for RPS, we can have the following</p>
<script src="/assets/js/typograms.js"></script>
<script type="text/typogram">
.
o rock
/ \
/ \
/ \
paper o-------o scissors
.
</script>
<p>Each possible hand is a vertex, and each edge is a game. In graph theory, a complete graph is one where every pair of vertices is connected by a unique edge. Intuitively you can see that rock, paper scissors is complete, otherwise there would be combinations that couldnt be played against each other.</p>
<p>Another concept that I now need to introduce is that of degree. The degree of a vertex is the total number of edges it is connected to. This is the second criterion that we need to fulfill: Every vertex must have the same degree. This is known as a regular graph. The exisiting RPS graph is also regular, with degree 2 (2-regular). We need to satisfy this with our new graph.</p>
<p>It is now time to introduce direction to our graph, used to represent winners and losers. Here is the RPS graph with directions representing who will win each game, also known as a digraph.</p>
<script type="text/typogram">
.
o rock
^ \
/ \
/ v
paper o <-----o scissors
.
</script>
<p>Rock beats scissors etc. etc.</p>
<p>More specifically, we want an oriented graph. There shouldnt be any bidirectionality between vertices, which would indicate a draw.</p>
<p>A complete, oriented graph is called a tournament.</p>
<p>Buidling on out definition of regularity from the non-directed graphs, we have directional regularity (indegree = outdegree). A tournament where each of the vertices is regular is called a “regular tournament”. This specific type of digraph satisfies all our criteria, and any new game that we create must be regular tournament.</p>
<ol>
<li>complete (every hand can play every hand)</li>
<li>regular (every hand can participate in the same number of possible games)</li>
<li>oriented (every game results in a winner)</li>
<li>indegree = outdegree for all vertices (each hand wins as many as it loses)</li>
</ol>
<p>Number of regular tournaments for numbers of nodes (even no. of nodes excluded because they have an odd degree, and therefore no regular tournaments):</p>
<table>
<thead>
<tr>
<th style="text-align: center">Nodes</th>
<th style="text-align: center">Degree</th>
<th style="text-align: center">Regular Tournaments</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center">1</td>
<td style="text-align: center">0</td>
<td style="text-align: center">1</td>
</tr>
<tr>
<td style="text-align: center">3</td>
<td style="text-align: center">2</td>
<td style="text-align: center">2</td>
</tr>
<tr>
<td style="text-align: center">5</td>
<td style="text-align: center">4</td>
<td style="text-align: center">24</td>
</tr>
<tr>
<td style="text-align: center">7</td>
<td style="text-align: center">6</td>
<td style="text-align: center">2640</td>
</tr>
<tr>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
</tr>
<tr>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
<td style="text-align: center">.</td>
</tr>
</tbody>
</table>
<p>as much as I would love to look at all of the possible 2640 combinations for a 7 player tournament, 5 possible hands looks like our sweetspot here, both in terms of the possible winner/loser combinations and in terms of the brain capacity of people playing the game.</p>
<script type="text/typogram">
.
"rock"
+------>o-------+
| ^ \ v
o-----/---\---->o
"new #1" ^^ / \ /|"new #2"
| \ / \ / |
| \ / |
"paper"| / \ / \ |"scissors"
|/ \ / vv
o<----\---/-----o
^ \ / /
\ / /
\___/ \___/
.
</script>
<p>This took me so long to figure out<sup id="fnref:2" role="doc-noteref"><a href="#fn:2" class="footnote" rel="footnote">2</a></sup></p>
<div class="footnotes" role="doc-endnotes">
<ol>
<li id="fn:1" role="doc-endnote">
<p>Its like shes in my head its crazy <a href="#fnref:1" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
</li>
<li id="fn:2" role="doc-endnote">
<p>The notebook of a crazed madman <a href="#fnref:2" class="reversefootnote" role="doc-backlink">&#8617;</a></p>
</li>
</ol>
</div>]]></content><author><name>Andrew Conlin</name></author><category term="blog" /><summary type="html"><![CDATA[At least where I live, Rock Paper Scissors (henceforth referred to as RPS) is still the dominant way of quickly making a decision between friends. However, it is in desperate need of an update.]]></summary></entry><entry><title type="html">Links arent performances</title><link href="http://localhost:4000/blog/2023/04/29/links-arent-performances/" rel="alternate" type="text/html" title="Links arent performances" /><published>2023-04-29T00:00:00+01:00</published><updated>2023-04-29T00:00:00+01:00</updated><id>http://localhost:4000/blog/2023/04/29/links-arent-performances</id><content type="html" xml:base="http://localhost:4000/blog/2023/04/29/links-arent-performances/"><![CDATA[<p><em>“For starters, it finds that publishing a link can be a “performance” of a copyrighted work, which meant that when Linkletter linked to the world-viewable Youtube files that Proctorio had posted, he infringed on copyright.</em></p>
<p><em>This is a perverse, even surreal take on copyright. The court rejects Linkletters argument that even Youtubes terms of service warned Proctorio that publishing world-viewable material on its site constituted permission for people to link to and watch that material.”</em></p>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed/til.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-11-06T13:57:50+00:00</updated><id>http://localhost:4000/feed/til.xml</id><title type="html"> | Til</title><author><name>Andrew Conlin</name></author><entry><title type="html">Running a Python script periodically in a Docker container using cron</title><link href="http://localhost:4000/til/running-python-in-cron-in-docker/" rel="alternate" type="text/html" title="Running a Python script periodically in a Docker container using cron" /><published>2023-04-19T00:00:00+01:00</published><updated>2023-04-19T00:00:00+01:00</updated><id>http://localhost:4000/til/running-python-in-cron-in-docker</id><content type="html" xml:base="http://localhost:4000/til/running-python-in-cron-in-docker/"><![CDATA[<p>Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).</p>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://localhost:4000/feed/til.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-11-12T17:37:09+00:00</updated><id>http://localhost:4000/feed/til.xml</id><title type="html"> | Til</title><author><name>Andrew Conlin</name></author><entry><title type="html">Running a Python script periodically in a Docker container using cron</title><link href="http://localhost:4000/til/running-python-in-cron-in-docker/" rel="alternate" type="text/html" title="Running a Python script periodically in a Docker container using cron" /><published>2023-04-19T00:00:00+01:00</published><updated>2023-04-19T00:00:00+01:00</updated><id>http://localhost:4000/til/running-python-in-cron-in-docker</id><content type="html" xml:base="http://localhost:4000/til/running-python-in-cron-in-docker/"><![CDATA[<p>Recently, my partner gave a great idea for utilising my old Kindle: generate a “newspaper” each morning from a bunch of RSS feeds, and email it to the Kindle using “Send-to-Kindle” feature (a blog post about this project is in the works).</p>
<p>I loved this idea, and thought it would be no problem to get a Python script up and running periodically on my Raspberry Pi home server using <code class="language-plaintext highlighter-rouge">cron</code>. However, I ran into various issues along the way (some of which were not so easy to resolve), so Im collating all the configuration changes I made in the hopes that it will be useful to someone one day. You can find the full repo for this project <a href="https://github.com/andrwcnln/watchman">here</a>, and I have also included my Dockerfile, docker-compose.yml and crontab at the end of this TIL.</p>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,17 +107,33 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
latest posts <span style="font-size:20px;"><a href="/feed/blog.xml"><i class="fas fa-rss-square"></i></a></span>
<h1 style="font-family: Geist Bold;">
latest posts <span style="font-size:20px;"><a href="/feed/blog.xml"><i class="fas fa-rss-square"></i></a></span>
</h1>
<p>
all the posts, in reverse chronological. there is an atom feed above.
</p>
</p>
<hr>
<ul style="list-style-type:none;margin:0;padding:0;">
<li>
<h4><a href="/blog/2023/11/12/rock-paper-scissors/">Enhancing Rock Paper Scissors</a></h4>
<div style="font-style: italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;12 Nov 2023
</div>
At least where I live, Rock Paper Scissors (henceforth referred to as RPS) is still the dominant way of quickly making a decision between friends. However, it is in desperate...
<br>
<br>
</li>
<li>
<h4><a href="/blog/2023/04/29/links-arent-performances/">Links aren't performances</a></h4>
<div style="font-style: italic;">
@ -181,4 +198,4 @@
</body>
</html>
</html>

View File

@ -1,137 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:image" content="https://andrewconl.in/assets/images/og-image-template.jpg">
<link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" />
<title>andrew conlin</title>
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
</head>
<body>
<div class="container text-start">
<div class="row row-cols-1 row-cols-md-3">
<div class="col col-md-3">
<div class="row row-cols-1 g-0 content" id="nav">
<img src="/assets/images/me-square.jpg" class="me" style="height: 40px;width: 40px; border-radius: 20px;border: 2px solid white;"><br>
<b>andrew conlin</b><br>
software engineer @ MathWorks<br>
&nbsp;<br>
<div class="col">
<h4 style="font-family: Geist Bold;">
<a href="/" class="text-decoration-none" style="color: white;">
<img src="/assets/images/book.ico" style="height:30px;width:30px;display: inline;">&nbsp;blog
</a>
</h4>
</div>
<div class="col">
<h4 style="font-family: Geist Bold;">
<a href="/til" class="text-decoration-none" style="color: white;">
<img src="/assets/images/globe.ico" style="height:30px;width:30px;display: inline;">&nbsp;til
</a>
</h4>
</div>
<div class="col">
<h4 style="font-family: Geist Bold;">
<a href="/projects" class="text-decoration-none" style="color: white;">
<img src="/assets/images/computer.ico" style="height:30px;width:30px;display: inline;">&nbsp;projects
</a>
</h4>
</div>
<div class="col">
<h4 style="font-family: Geist Bold;">
<a href="http://andrewconlinphotography.co.uk" class="text-decoration-none" style="color: white;">
<img src="/assets/images/film.ico" style="height:30px;width:30px;display: inline;">&nbsp;photos↗
</a>
</h4>
</div>
&nbsp;<br>
<!--<div class="col gy-2" style="font-family: Arial, Helvetica, sans-serif;">
<h4>
<div>
<span>
<a rel="me" href="https://mastodon.scot/@andrwcnln" target="_blank"><i class="fab fa-mastodon" style="color: white;"></i></a>
<a rel="me" href="https://instagram.com/conlinsta" target="_blank"><i class="fab fa-instagram" style="color: white;"></i></a>
<a rel="me" href="https://github.com/andrwcnln" target="_blank"><i class="fab fa-github" style="color: white;"></i></a>
<a rel="me" href="https://www.strava.com/athletes/57896512" target="_blank"><i class="fab fa-strava" style="color: white;"></i></a>
<a rel="me" href="https://open.spotify.com/user/1135508731?si=61zWbsqmT92LdT0JA5bAKw" target="_blank"><i class="fab fa-spotify" style="color: white;"></i></a>
<a href="https://letterboxd.com/andrewconlin/" target="_blank"><img class="letterboxd" src="/assets/images/letterboxd.png"></a>
<a rel="me" href="mailto:andrew@andrewconl.in" target="_blank"><i class="fas fa-envelope" style="color: white;"></i></a>
<a rel="me" href="/feed.xml" target="_blank"><i class="fas fa-square-rss" style="color: white;"></i></a>
</span>
</div>
</h4>
</div>-->
<hr class="menu">
</div>
</div>
<!--
<h1 class="display-3 logo" style="font-weight:700;" id="logo">
<span style="color:black;background-color:gold;">ac</span>
</h1>
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
about me
</h1>
<p>
</p>
<hr>
<img src="/assets/images/me.jpg">
<br>
Hi! My name is Andrew Conlin. I am a <a href="https://www.linkedin.com/in/andrew-conlin-61320a257/" target="_blank">software engineer</a> and <a href="http://andrewconlinphotography.co.uk" target="_blank">photographer</a>, currently based in Cambridge, England.
<br>
<br>
My main hobbies are film photography and running. I love <a href="https://letterboxd.com/andrewconlin/">watching movies</a>, especially in the cinema. I love post-punk, dreampop and experimental hip hop. I love drinking good coffee, good beer and good whisky. I am also a passionate self-hoster, and like to think that I'm at least somewhat privacy conscious.
<br>
<br>
I mainly use this site as a space for my blog, where I post interesting things I've found, and some of my (not so interesting) thoughts. Inspired by <a href="https://til.simonwillison.net/">Simon Willison</a>, I also post my TIL series here. Any time I run into a weird error while programming, I post the full error message and the fix that I found, to hopefully help someone down the line.
<br>
<br>
<h1> contact </h1>
<hr>
You can <a href="mailto:andrew@andrewconl.in">email me</a>, or use any of the socials in the nav menu.
<br>
<br>
</div>
</div>
</body>
</html>

View File

@ -25,10 +25,15 @@
<lastmod>2023-04-29T00:00:00+01:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/</loc>
<loc>http://localhost:4000/2023/11/08/rock-paper-scissors/</loc>
<lastmod>2023-11-08T18:36:46+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/index_old/</loc>
<loc>http://localhost:4000/blog/2023/11/12/rock-paper-scissors/</loc>
<lastmod>2023-11-12T17:27:35+00:00</lastmod>
</url>
<url>
<loc>http://localhost:4000/</loc>
</url>
<url>
<loc>http://localhost:4000/til/</loc>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
latest tils <span style="font-size:20px;"><a href="/feed/til.xml"><i class="fas fa-rss-square"></i></a></span>
<h1 style="font-family: Geist Bold;">
latest tils <span style="font-size:20px;"><a href="/feed/til.xml"><i class="fas fa-rss-square"></i></a></span>
</h1>
<p>
my collection of tils (today-i-learned). i use this mainly to collect solutions to weird errors i have faced, and detail the little projects that i work on. this has its own atom feed (above) as they are typically very different from my other posts. all tils are blog posts but not all blog posts are tils.
</p>
</p>
<hr>
<ul style="list-style-type:none;margin:0;padding:0;">
@ -120,6 +121,12 @@
<li>
<h4><a href="/til/running-python-in-cron-in-docker/">Running a Python script periodically in a Docker container using cron</a></h4>
<div style="font-family:Geist;font-style: italic;">
@ -161,4 +168,4 @@
</body>
</html>
</html>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
Fixing php errors in a Nextcloud docker-compose configuration
<h1 style="font-family: Geist Bold;">
Fixing php errors in a Nextcloud docker-compose configuration
</h1>
<p>
</p>
</p>
<p style="font-family:Geist;font-style:italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;01 Mar 2023
&nbsp;
@ -171,4 +172,4 @@ This led me to running this command:</p>
</body>
</html>
</html>

View File

@ -10,6 +10,7 @@
<link href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/default.css" rel="stylesheet">
<script async src="https://umami.andrewconl.in/script.js" data-website-id="ba10ad24-2849-4391-ba43-f362ba947bd1"></script>
</head>
<body>
@ -106,12 +107,12 @@
-->
<div class="col col-md-9 content">
<h1 style="font-family: Geist Bold;">
Running a Python script periodically in a Docker container using cron
<h1 style="font-family: Geist Bold;">
Running a Python script periodically in a Docker container using cron
</h1>
<p>
</p>
</p>
<p style="font-family:Geist;font-style:italic;">
<img src="/assets/images/write.ico" style="display: inline;height: 20px;width: 20px;">&nbsp;19 Apr 2023
&nbsp;
@ -225,4 +226,4 @@ PYTHONPATH=/usr/bin/local/python3
</body>
</html>
</html>