<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Webdev on Andrew Quinn&#39;s TILs</title>
    <link>https://til.andrew-quinn.me/tags/webdev/</link>
    <description>Recent content in Webdev on Andrew Quinn&#39;s TILs</description>
    <image>
      <title>Andrew Quinn&#39;s TILs</title>
      <url>https://til.andrew-quinn.me/papermod-cover.png</url>
      <link>https://til.andrew-quinn.me/papermod-cover.png</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 03 Sep 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://til.andrew-quinn.me/tags/webdev/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PHP and Web Dev Phobia</title>
      <link>https://til.andrew-quinn.me/posts/php-and-web-dev-phobia/</link>
      <pubDate>Tue, 03 Sep 2024 00:00:00 +0000</pubDate>
      
      <guid>https://til.andrew-quinn.me/posts/php-and-web-dev-phobia/</guid>
      <description>&lt;p&gt;PHP is, for better and for worse, the Python of web dev
in my eyes. It is exceptionally easy to get started, in
a way which I think younger developers may not be fully
aware of.&lt;/p&gt;
&lt;p&gt;So here I&amp;rsquo;d like to make them aware of it!
That&amp;rsquo;s right, this is a
&lt;a href=&#34;https://til.andrew-quinn.me/posts/quickstarts-and-slowstarts/&#34;&gt;Slowstart&lt;/a&gt;
for people who have never touched PHP or web dev before.&lt;/p&gt;
&lt;p&gt;Start
&lt;a href=&#34;../the-unreasonable-effectiveness-of-vms-in-hacker-pedagogy/&#34;&gt;the way we usually do&lt;/a&gt; on this blog,
with the &amp;ldquo;tutorial-in-a-box&amp;rdquo;
by installing
&lt;a href=&#34;https://www.vagrantup.com/&#34;&gt;Vagrant&lt;/a&gt;
and
&lt;a href=&#34;https://www.virtualbox.org/&#34;&gt;Virtualbox&lt;/a&gt;
so you can create a disposable virtual machine with
just a few commands.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Things Word has that SSGs, by and large, don&#39;t</title>
      <link>https://til.andrew-quinn.me/posts/things-word-has-that-ssgs-by-and-large-don-t/</link>
      <pubDate>Thu, 30 Nov 2023 00:00:00 +0000</pubDate>
      
      <guid>https://til.andrew-quinn.me/posts/things-word-has-that-ssgs-by-and-large-don-t/</guid>
      <description>&lt;p&gt;Recommendations appreciated.&lt;/p&gt;
&lt;p&gt;Disclaimer: Most of these make little sense in an Internet medium anyway.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An &lt;em&gt;index&lt;/em&gt;. An index simply lists the terms and topics discussed in a document, along with the pages they are listed on.&lt;/li&gt;
&lt;li&gt;A &lt;em&gt;glossary&lt;/em&gt;. Could be as simple as a CSV file of terms and definitions, or as complex as a whole extra &lt;code&gt;glossary/&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;Related: A &amp;ldquo;Acronyms and Abbreviations&amp;rdquo; section. Even moreso than the last, this could be a simple CSV.&lt;/li&gt;
&lt;li&gt;A built-in &lt;em&gt;site-wide search&lt;/em&gt; function. Word gets around this by having everything open at once.&lt;/li&gt;
&lt;li&gt;A &lt;em&gt;list of tables&lt;/em&gt;. Huge if you want your dead-trees books to match your shiny new website.&lt;/li&gt;
&lt;li&gt;A &lt;em&gt;list of figures&lt;/em&gt;. Ditto.&lt;/li&gt;
&lt;li&gt;A &lt;em&gt;list of referenced external documents.&lt;/em&gt; CSV! Say it with me!&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The reason I compiled this list was because I decided to investigate whether I could use Hugo at work to generate our client-facing documentation. Currently we are using an unholy combination of Word and Confluence, and I figured that the magic of Git might help us keep our docs updated in a more sane way.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Cloud translation is more expensive than I thought</title>
      <link>https://til.andrew-quinn.me/posts/selkouutiset-archive-now-supports-77-languages/</link>
      <pubDate>Tue, 28 Nov 2023 00:00:00 +0000</pubDate>
      
      <guid>https://til.andrew-quinn.me/posts/selkouutiset-archive-now-supports-77-languages/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://hiandrewquinn.github.io/selkouutiset-archive///2023/11/27/&#34;&gt;Example from yesterday&amp;rsquo;s news.&lt;/a&gt; Count &amp;rsquo;em yourself &amp;ndash; there&amp;rsquo;s 76 of them there.&lt;/p&gt;
&lt;p&gt;Mass i18n efforts like this are I think an underappreciated benefit of what static site generators like Hugo can give you. Actually, &lt;em&gt;especialy&lt;/em&gt; Hugo &amp;ndash; it&amp;rsquo;s multi-language support is very good, like darn near everything about the platform once you get past the initial learning curve.&lt;/p&gt;
&lt;p&gt;Another underappreciated benefit: When building HTML pages is fast, you can afford to build &lt;em&gt;a lot&lt;/em&gt; of them. A quick &lt;code&gt;hugo &amp;amp;&amp;amp; cd public/ &amp;amp;&amp;amp; fd html | wc -l&lt;/code&gt; tells us that there are about 2700 HTML files on the site, which Hugo builds in under 3000 ms on my machine. The &lt;a href=&#34;https://github.com/hiAndrewQuinn/selkouutiset-archive/actions/runs/7009764040/job/19068916472&#34;&gt;Github Action run&lt;/a&gt; which built the site as of today took a glacial 35 seconds by comparison.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Hugo&#39;s Secret RSS Feeds</title>
      <link>https://til.andrew-quinn.me/posts/hugo-s-secret-rss-feeds/</link>
      <pubDate>Thu, 23 Nov 2023 00:00:00 +0000</pubDate>
      
      <guid>https://til.andrew-quinn.me/posts/hugo-s-secret-rss-feeds/</guid>
      <description>&lt;p&gt;This blog now has a swanky new RSS feed button right on the front page, courtesy of the well-designed &lt;a href=&#34;https://github.com/adityatelange/hugo-PaperMod/&#34;&gt;PaperMod theme&lt;/a&gt; powering things on the backend.&lt;/p&gt;
&lt;p&gt;Hugo newbies often don&amp;rsquo;t know that Hugo usually generates these RSS feeds &lt;em&gt;automatically&lt;/em&gt; for new websites. You usually have to go out of your way to turn them off. Example: &lt;a href=&#34;https://andrew-quinn.me/index.xml&#34;&gt;https://andrew-quinn.me/index.xml&lt;/a&gt; exists, and has existed for quite some time, without me needing to lift a finger (although I might want to put a button on my home site too!).&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
