wowana.me

website source


commit 2cfc68682da17f48068a1260ca6dcbe18fb9db16
parent 15bba1934fe4c5cc2035cc2560e3f9bc6b9edee0
Author: opal hart <opal@wowana.me>
Date:   Wed,  5 Jun 2019 03:43:30 +0000

fix blog article formatting

perl's Text::Markdown doesn't seem to support definition lists anymore;
now I have to use plain HTML to get the same effect

Diffstat:
Mout/blog/feed.atom | 119++++++++++++++++++++++++++++++++++++++++---------------------------------------
Mout/blog/index.xht | 2+-
Mout/blog/why-program-efficiency-and-usability-matters.xht | 17++++++++++-------
Msrc/blog/why-program-efficiency-and-usability-matters.md | 29+++++++++++++++++------------
4 files changed, 89 insertions(+), 78 deletions(-)

diff --git a/out/blog/feed.atom b/out/blog/feed.atom @@ -4,7 +4,7 @@ <link href="/blog/" rel="alternate"/> <link href="/blog/feed.atom" rel="self"/> <id>/blog/</id> - <updated>2019-06-05T03:15:52+0000</updated> + <updated>2019-06-05T03:41:19+0000</updated> <entry> <title>a musing on sharing and receiving opinions</title> <link href="/blog/a-musing-on-sharing-and-receiving-opinions.xht" rel="alternate" type="application/xhtml+xml" /> @@ -505,63 +505,6 @@ mechanism.</p> </content> </entry> <entry> - <title>why program efficiency [and usability] matters</title> - <link href="/blog/why-program-efficiency-and-usability-matters.xht" rel="alternate" type="application/xhtml+xml" /> - <id>/blog/why-program-efficiency-and-usability-matters.xht</id> - <published>2017-11-24T14:26:09+0000</published> - <updated>2017-11-24T14:26:09+0000</updated> - <author><name>opal hart</name></author> - <content type="xhtml"> - <div xmlns="http://www.w3.org/1999/xhtml"> -<p>in 2016 I wrote a small rant about the current downward trend of software and web development, entitled <q>Why program efficiency matters</q>:</p> - -<blockquote> - <p>Computer hardware has become faster, more efficient, and more powerful in recent years, which means programmers are not constrained as much by memory and CPU cycles. But does that mean programmers should just give up trying to make their code more efficient?</p> - -<p>It doesn't matter if our programs are bigger! -: I don't know about you, but I enjoy extra disk space for movies and music. Just because disk space is affordable doesn't mean programmers can excuse themselves for adding unnecessary fluff to their projects.</p> - -<p>It doesn't matter if our code takes up more memory! -: Multitasking computers have been a thing for a while now. With that said, I would like my computer to actually multitask. I shouldn't have to constantly worry about how many programs I have running in the background and how much memory they consume. Also, there are plenty of older systems running in corporate and educational environments that simply cannot handle modern (and memory-hungry) software without constantly locking up.</p> - -<p>It doesn't matter if our code is slower! -: Speed is always a value to strive for. Any sensible person would choose "faster" if presented with two programs that perform the exact same tasks but at different speeds.</p> - -<p>That said, if you have to sacrifice any of the above for security, please do so. Otherwise, if there is any way to make a program smaller or faster or more efficient, without changing the core functionality of the program, then take the time to improve in those aspects. Laziness is no excuse for a slow, fat program. At the same time, don't let yourself be consumed by trying to make your code perform better before you have even finished writing the program.</p> -</blockquote> - -<p>this applies to desktop, server, mobile, and Web software all alike:</p> - -<ul> -<li>desktop operating systems are gradually becoming more bloated and new features are half-baked (such as later versions of Windows), people using Electron to develop fucking everything now (and I'll talk about Electron on its own in a bit).</li> -<li>server software dependent on weightier languages such as node and python (<a href="https://matrix.org/">matrix.org</a> for instance). this is very problematic because servers have much more stressful demands and none of us wish to spend resources we can better use to serve end-users. every bit of RAM and every CPU cycle counts under high load.</li> -<li>mobile phones are mad useful for on-the-go matters (I'll have a blog post later, describing a smartphone's exact use compared to laptops and desktops) but they're becoming more powerful than most laptops now. many apps are Web-centric and it's quite possible that a lot of the mobile ecosystem is unoptimised: not just the apps but also the operating system and the virtual environments under which apps are designed to run.</li> -<li>the Web used to have one thing: static content. then forms were introduced, allowing for greater user interaction and ease of use. after that, javascript, and now we have full-blown HTML5+javascript applications that run in your browser. and believe me, I understand the desire to have this capability: it's cross-platform and any device with a modern browser can use your app. however, there are a few things wrong with this: HTML was not really designed to represent full-blown applications, and web developers don't pay a thought to efficiency/accessibility and they will normally take the path of least resistance to deploy their applications. I'll talk more about what I believe the Web should be used for in a later post.</li> -</ul> - -<p>I'm making this post today because someone sent me a link to a post Casper Beyer made regarding Electron, entitled <q><a href="https://medium.com/@caspervonb/electron-is-cancer-b066108e6c32">Electron is Cancer</a></q>. I'll quote some notable passages from the post:</p> - -<blockquote> - <p><q>Well, it works fine on my machine, and I only have 32 gigabytes of ram.</q> - Silicon Valley Developer, 2017</p> - -<p>If that’s you, well then that’s good for you, but just because something performs <q>well enough</q> on your machine doesn’t mean there are not any performance problems. You are not your end-users, and you if you are a developer most likely do not run average hardware.</p> -</blockquote> - -<p>^ I made this point in my 2016 rant -- people have different hardware and developers need to keep this in mind, lest they want their programs only to run on a small set of machines in the world.</p> - -<blockquote> - <p><q>Electron is so great, we did not have to hire new people we can just use your web designers that we already have in-house and it is so easy!</q> - Someone Actually Said That</p> - -<p>Okay, sure having a plumber cut out a square wheel from a plank is also a lot easier to do than having a woodworker carve a perfectly round wooden wheel, but it is gonna be one hell of a bumpy ride, and square wheels are actually fine, right?</p> -</blockquote> - -<p>^ I've seen this a lot too; people have derived from <q>do one thing and do it right</q> philosophy, both in software and in expertise (although on the expertise side of things, it helps to be well-versed in several areas so you're more valuable in a job, but usually those areas are close enough together that they complement each other. you wouldn't want that plumber performing heart surgery on you, would you?)</p> - -<p>if you have time, read Beyer's full post because it covers a lot of good points about Electron and about modern software developers as a whole. it's a rarity to find a decent dev nowadays who cares about efficiency, usability, and accessibility; and that certainly affects where technology is going as a whole. as we depend more on technology in our everyday lives (mobile, IoT, business) there is really no room for sloppy code to run in banks, hospitals, vehicles, and other mission-critical devices.</p> - </div> - </content> - </entry> - <entry> <title>wowana.me now on git (and hosted on my laptop)</title> <link href="/blog/wowaname-now-on-git-and-hosted-on-my-laptop.xht" rel="alternate" type="application/xhtml+xml" /> <id>/blog/wowaname-now-on-git-and-hosted-on-my-laptop.xht</id> @@ -667,4 +610,64 @@ of its generation. it certainly beats writing all that HTML manually.</p> </div> </content> </entry> + <entry> + <title>why program efficiency [and usability] matters</title> + <link href="/blog/why-program-efficiency-and-usability-matters.xht" rel="alternate" type="application/xhtml+xml" /> + <id>/blog/why-program-efficiency-and-usability-matters.xht</id> + <published>2017-11-24T14:26:09+0000</published> + <updated>2019-06-05T03:41:13+0000</updated> + <author><name>opal hart</name></author> + <content type="xhtml"> + <div xmlns="http://www.w3.org/1999/xhtml"> +<p>in 2016 I wrote a small rant about the current downward trend of software and web development, entitled <q>Why program efficiency matters</q>:</p> + +<blockquote> +<p>Computer hardware has become faster, more efficient, and more powerful in recent years, which means programmers are not constrained as much by memory and CPU cycles. But does that mean programmers should just give up trying to make their code more efficient?</p> + +<dl> +<dt>It doesn't matter if our programs are bigger!</dt> +<dd>I don't know about you, but I enjoy extra disk space for movies and music. Just because disk space is affordable doesn't mean programmers can excuse themselves for adding unnecessary fluff to their projects.</dd> + +<dt>It doesn't matter if our code takes up more memory!</dt> +<dd>Multitasking computers have been a thing for a while now. With that said, I would like my computer to actually multitask. I shouldn't have to constantly worry about how many programs I have running in the background and how much memory they consume. Also, there are plenty of older systems running in corporate and educational environments that simply cannot handle modern (and memory-hungry) software without constantly locking up.</dd> + +<dt>It doesn't matter if our code is slower!</dt> +<dd>Speed is always a value to strive for. Any sensible person would choose "faster" if presented with two programs that perform the exact same tasks but at different speeds. +</dd> +</dl> + +<p>That said, if you have to sacrifice any of the above for security, please do so. Otherwise, if there is any way to make a program smaller or faster or more efficient, without changing the core functionality of the program, then take the time to improve in those aspects. Laziness is no excuse for a slow, fat program. At the same time, don't let yourself be consumed by trying to make your code perform better before you have even finished writing the program.</p> +</blockquote> + +<p>this applies to desktop, server, mobile, and Web software all alike:</p> + +<ul> +<li>desktop operating systems are gradually becoming more bloated and new features are half-baked (such as later versions of Windows), people using Electron to develop fucking everything now (and I'll talk about Electron on its own in a bit).</li> +<li>server software dependent on weightier languages such as node and python (<a href="https://matrix.org/">matrix.org</a> for instance). this is very problematic because servers have much more stressful demands and none of us wish to spend resources we can better use to serve end-users. every bit of RAM and every CPU cycle counts under high load.</li> +<li>mobile phones are mad useful for on-the-go matters (I'll have a blog post later, describing a smartphone's exact use compared to laptops and desktops) but they're becoming more powerful than most laptops now. many apps are Web-centric and it's quite possible that a lot of the mobile ecosystem is unoptimised: not just the apps but also the operating system and the virtual environments under which apps are designed to run.</li> +<li>the Web used to have one thing: static content. then forms were introduced, allowing for greater user interaction and ease of use. after that, javascript, and now we have full-blown HTML5+javascript applications that run in your browser. and believe me, I understand the desire to have this capability: it's cross-platform and any device with a modern browser can use your app. however, there are a few things wrong with this: HTML was not really designed to represent full-blown applications, and web developers don't pay a thought to efficiency/accessibility and they will normally take the path of least resistance to deploy their applications. I'll talk more about what I believe the Web should be used for in a later post.</li> +</ul> + +<p>I'm making this post today because someone sent me a link to a post Casper Beyer made regarding Electron, entitled <q><a href="https://medium.com/@caspervonb/electron-is-cancer-b066108e6c32">Electron is Cancer</a></q>. I'll quote some notable passages from the post:</p> + +<blockquote> + <p><q>Well, it works fine on my machine, and I only have 32 gigabytes of ram.</q> - Silicon Valley Developer, 2017</p> + +<p>If that’s you, well then that’s good for you, but just because something performs <q>well enough</q> on your machine doesn’t mean there are not any performance problems. You are not your end-users, and you if you are a developer most likely do not run average hardware.</p> +</blockquote> + +<p>^ I made this point in my 2016 rant -- people have different hardware and developers need to keep this in mind, lest they want their programs only to run on a small set of machines in the world.</p> + +<blockquote> + <p><q>Electron is so great, we did not have to hire new people we can just use your web designers that we already have in-house and it is so easy!</q> - Someone Actually Said That</p> + +<p>Okay, sure having a plumber cut out a square wheel from a plank is also a lot easier to do than having a woodworker carve a perfectly round wooden wheel, but it is gonna be one hell of a bumpy ride, and square wheels are actually fine, right?</p> +</blockquote> + +<p>^ I've seen this a lot too; people have derived from <q>do one thing and do it right</q> philosophy, both in software and in expertise (although on the expertise side of things, it helps to be well-versed in several areas so you're more valuable in a job, but usually those areas are close enough together that they complement each other. you wouldn't want that plumber performing heart surgery on you, would you?)</p> + +<p>if you have time, read Beyer's full post because it covers a lot of good points about Electron and about modern software developers as a whole. it's a rarity to find a decent dev nowadays who cares about efficiency, usability, and accessibility; and that certainly affects where technology is going as a whole. as we depend more on technology in our everyday lives (mobile, IoT, business) there is really no room for sloppy code to run in banks, hospitals, vehicles, and other mission-critical devices.</p> + </div> + </content> + </entry> </feed> diff --git a/out/blog/index.xht b/out/blog/index.xht @@ -32,6 +32,7 @@ <p><a href="/blog/feed.atom">atom feed</a></p> <ul> +<li><a href="why-program-efficiency-and-usability-matters.xht">why program efficiency [and usability] matters</a> <em>last updated <time datetime='2019-06-05T03:41:13+0000' title='2019-06-05T03:41:13+0000'>2019 Jun 05</time></em></li> <li><a href="wowaname-now-on-git-and-hosted-on-my-laptop.xht">wowana.me now on git (and hosted on my laptop)</a> <em>last updated <time datetime='2019-06-05T03:15:47+0000' title='2019-06-05T03:15:47+0000'>2019 Jun 05</time></em></li> <li><a href="a-new-era-for-hidden-answers.xht">a new era for Hidden Answers</a> <em>last updated <time datetime='2019-05-11T03:38:03+0000' title='2019-05-11T03:38:03+0000'>2019 May 11</time></em></li> <li><a href="a-musing-on-sharing-and-receiving-opinions.xht">a musing on sharing and receiving opinions</a> <em>last updated <time datetime='2018-09-24T11:40:36+0000' title='2018-09-24T11:40:36+0000'>2018 Sep 24</time></em></li> @@ -46,7 +47,6 @@ <li><a href="learning-how-to-learn.xht">"Learning how to learn"</a> <em>last updated <time datetime='2018-01-23T18:42:19+0000' title='2018-01-23T18:42:19+0000'>2018 Jan 23</time></em></li> <li><a href="are-passwords-the-right-solution.xht">are passwords the right solution?</a> <em>last updated <time datetime='2018-01-09T10:51:38+0000' title='2018-01-09T10:51:38+0000'>2018 Jan 09</time></em></li> <li><a href="testing-patches-made-to-bashblog-script.xht">testing patches made to bashblog script</a> <em>last updated <time datetime='2017-12-21T21:08:11+0000' title='2017-12-21T21:08:11+0000'>2017 Dec 21</time></em></li> -<li><a href="why-program-efficiency-and-usability-matters.xht">why program efficiency [and usability] matters</a> <em>last updated <time datetime='2017-11-24T14:26:09+0000' title='2017-11-24T14:26:09+0000'>2017 Nov 24</time></em></li> </ul> </article> </body> diff --git a/out/blog/why-program-efficiency-and-usability-matters.xht b/out/blog/why-program-efficiency-and-usability-matters.xht @@ -34,16 +34,19 @@ <p>in 2016 I wrote a small rant about the current downward trend of software and web development, entitled <q>Why program efficiency matters</q>:</p> <blockquote> - <p>Computer hardware has become faster, more efficient, and more powerful in recent years, which means programmers are not constrained as much by memory and CPU cycles. But does that mean programmers should just give up trying to make their code more efficient?</p> +<p>Computer hardware has become faster, more efficient, and more powerful in recent years, which means programmers are not constrained as much by memory and CPU cycles. But does that mean programmers should just give up trying to make their code more efficient?</p> -<p>It doesn't matter if our programs are bigger! -: I don't know about you, but I enjoy extra disk space for movies and music. Just because disk space is affordable doesn't mean programmers can excuse themselves for adding unnecessary fluff to their projects.</p> +<dl> +<dt>It doesn't matter if our programs are bigger!</dt> +<dd>I don't know about you, but I enjoy extra disk space for movies and music. Just because disk space is affordable doesn't mean programmers can excuse themselves for adding unnecessary fluff to their projects.</dd> -<p>It doesn't matter if our code takes up more memory! -: Multitasking computers have been a thing for a while now. With that said, I would like my computer to actually multitask. I shouldn't have to constantly worry about how many programs I have running in the background and how much memory they consume. Also, there are plenty of older systems running in corporate and educational environments that simply cannot handle modern (and memory-hungry) software without constantly locking up.</p> +<dt>It doesn't matter if our code takes up more memory!</dt> +<dd>Multitasking computers have been a thing for a while now. With that said, I would like my computer to actually multitask. I shouldn't have to constantly worry about how many programs I have running in the background and how much memory they consume. Also, there are plenty of older systems running in corporate and educational environments that simply cannot handle modern (and memory-hungry) software without constantly locking up.</dd> -<p>It doesn't matter if our code is slower! -: Speed is always a value to strive for. Any sensible person would choose "faster" if presented with two programs that perform the exact same tasks but at different speeds.</p> +<dt>It doesn't matter if our code is slower!</dt> +<dd>Speed is always a value to strive for. Any sensible person would choose "faster" if presented with two programs that perform the exact same tasks but at different speeds. +</dd> +</dl> <p>That said, if you have to sacrifice any of the above for security, please do so. Otherwise, if there is any way to make a program smaller or faster or more efficient, without changing the core functionality of the program, then take the time to improve in those aspects. Laziness is no excuse for a slow, fat program. At the same time, don't let yourself be consumed by trying to make your code perform better before you have even finished writing the program.</p> </blockquote> diff --git a/src/blog/why-program-efficiency-and-usability-matters.md b/src/blog/why-program-efficiency-and-usability-matters.md @@ -3,18 +3,23 @@ in 2016 I wrote a small rant about the current downward trend of software and web development, entitled <q>Why program efficiency matters</q>: -> Computer hardware has become faster, more efficient, and more powerful in recent years, which means programmers are not constrained as much by memory and CPU cycles. But does that mean programmers should just give up trying to make their code more efficient? -> -> It doesn't matter if our programs are bigger! -> : I don't know about you, but I enjoy extra disk space for movies and music. Just because disk space is affordable doesn't mean programmers can excuse themselves for adding unnecessary fluff to their projects. -> -> It doesn't matter if our code takes up more memory! -> : Multitasking computers have been a thing for a while now. With that said, I would like my computer to actually multitask. I shouldn't have to constantly worry about how many programs I have running in the background and how much memory they consume. Also, there are plenty of older systems running in corporate and educational environments that simply cannot handle modern (and memory-hungry) software without constantly locking up. -> -> It doesn't matter if our code is slower! -> : Speed is always a value to strive for. Any sensible person would choose "faster" if presented with two programs that perform the exact same tasks but at different speeds. -> -> That said, if you have to sacrifice any of the above for security, please do so. Otherwise, if there is any way to make a program smaller or faster or more efficient, without changing the core functionality of the program, then take the time to improve in those aspects. Laziness is no excuse for a slow, fat program. At the same time, don't let yourself be consumed by trying to make your code perform better before you have even finished writing the program. +<blockquote> +<p>Computer hardware has become faster, more efficient, and more powerful in recent years, which means programmers are not constrained as much by memory and CPU cycles. But does that mean programmers should just give up trying to make their code more efficient?</p> + +<dl> +<dt>It doesn't matter if our programs are bigger!</dt> +<dd>I don't know about you, but I enjoy extra disk space for movies and music. Just because disk space is affordable doesn't mean programmers can excuse themselves for adding unnecessary fluff to their projects.</dd> + +<dt>It doesn't matter if our code takes up more memory!</dt> +<dd>Multitasking computers have been a thing for a while now. With that said, I would like my computer to actually multitask. I shouldn't have to constantly worry about how many programs I have running in the background and how much memory they consume. Also, there are plenty of older systems running in corporate and educational environments that simply cannot handle modern (and memory-hungry) software without constantly locking up.</dd> + +<dt>It doesn't matter if our code is slower!</dt> +<dd>Speed is always a value to strive for. Any sensible person would choose "faster" if presented with two programs that perform the exact same tasks but at different speeds. +</dd> +</dl> + +<p>That said, if you have to sacrifice any of the above for security, please do so. Otherwise, if there is any way to make a program smaller or faster or more efficient, without changing the core functionality of the program, then take the time to improve in those aspects. Laziness is no excuse for a slow, fat program. At the same time, don't let yourself be consumed by trying to make your code perform better before you have even finished writing the program.</p> +</blockquote> this applies to desktop, server, mobile, and Web software all alike: