blog/post/phil.html
2018-06-18 02:16:33 -07:00

37 lines
2.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title></title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="bstyle.css" type="text/css" />
</head>
<body>
<p><a href="../index.html"><img src="../img/heart.png" alt="Homepage" /></a></p>
<h1 id="no-non-free-js-here">No Non-free JS here</h1>
<p>To explain succintly, I don't like Javascript, especially considering how much power it has on a user's browser. Namely the issue being that while it used to mainly be focused around making websites look pretty it now also serves to execute malicious code; luckily I don't think that is too common but that fact alone makes JS for me, something which should be avoided.</p>
<p>It's JS's non-free abilities which I don't like and is why I am not going to be using it for any of my projects, unless it is a client-side only project where it is running on some local server.</p>
<p>There are of course a few <em>tangent</em> reasons why I decided to fully make the switch from using the Hugo static site generator:</p>
<ul>
<li>Performace</li>
</ul>
<p>Loading a bunch of JS/php is rather cumbersome at time which can often be tracked down to the js being obfuscatedpoorly, creating a file which is sometimes hundreds of times larger than normal. I'll show by example - namely using <em>r-markdown</em> and then my own technique to make a page with identical content:</p>
<pre><code># This is an example header
With a small paragraph
* a
* List
&gt; and a quote</code></pre>
<ul>
<li>Dev time/ Convenience</li>
</ul>
<p>To be completely honest I'm reall not interested by web-development much at all, so finding a flow to make creating content easier is just perfect for me. <em>Also I dont have to deal with running wine/windows or dealing with hundreds of dependencies with <strong>Hugo</strong>.</em></p>
<p>Hopefully this explains some of my thought process behind this site's design, and if you like, check out some of my other stuff that I post here.</p>
</body>
</html>