From a1eda32d9856e3ed5e06de73c9bc194f81891697 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 23 May 2021 21:52:56 -0400 Subject: added a bunch and published bad animated page titles --- Makefile | 6 +- cv.pdf | Bin 549655 -> 549659 bytes drafts/html-for-docs-2020.html | 74 ++++++++++-- drafts/it's not rust vs go.html | 46 ++++++++ ... happens when you remove js from your site.html | 0 ...es everyone insist on using adobe acrobat?.html | 69 ------------ index.html | 1 + posts/2020-12-29-antivirus-software-is-a-hack.html | 6 +- ...designers-please-don-t-animate-page-titles.html | 125 +++++++++++++++++++++ rss.xml | 1 + 10 files changed, 241 insertions(+), 87 deletions(-) delete mode 100644 drafts/what happens when you remove js from your site.html delete mode 100644 drafts/why does everyone insist on using adobe acrobat?.html create mode 100644 posts/2021-05-23-web-designers-please-don-t-animate-page-titles.html diff --git a/Makefile b/Makefile index b306956..3f7c13c 100644 --- a/Makefile +++ b/Makefile @@ -25,13 +25,11 @@ serve: post: @read -p "Title: " TITLE; \ - read -p "Category: " CATEGORY; \ SHORT_DATE=`date +"%Y-%m-%d"`; \ - mkdir -p posts/$$CATEGORY; \ - FILENAME=posts/$$CATEGORY/$$SHORT_DATE-`printf "$$TITLE" | tr -Cs "[:alnum:]" '-' | tr "[:upper:]" "[:lower:]"`.html; \ + FILENAME=posts/$$SHORT_DATE-`printf "$$TITLE" | tr -Cs "[:alnum:]" '-' | tr "[:upper:]" "[:lower:]"`.html; \ cp $(POST_T) $$FILENAME; \ sed -i '' "s/{{ title }}/$$TITLE/g" $$FILENAME; \ - $EDITOR $$FILENAME + $$EDITOR $$FILENAME clean: rm -f index.html rss.xml diff --git a/cv.pdf b/cv.pdf index 2470030..5df32c7 100644 Binary files a/cv.pdf and b/cv.pdf differ diff --git a/drafts/html-for-docs-2020.html b/drafts/html-for-docs-2020.html index a33bb51..8b5462e 100644 --- a/drafts/html-for-docs-2020.html +++ b/drafts/html-for-docs-2020.html @@ -1,20 +1,72 @@ -

Document Writing: MD? LaTeX? WINWORD.EXE? Nope, just HTML

+

Writing Documents: Markdown? LaTeX? WINWORD.EXE? Nope, just HTML

-

The year is 2020 and I write the majority of my documents in HTML.

+

+ I've been without MS Word for quite a few years since I switched away from + Windows and honestly I haven't needed it. I took notes and wrote documents in + Markdown for a while. That was alright because the syntax is easy and any text + editor can read a Markdown file. Sometimes I need shareable formatting, so + recently I started using HTML for all documents I intend to share, upload, or + print. +

+ +

+ The year is 2021 and I write all my formatted documents in HTML. It sounds + needless but if you think about it it makes a lot of sense. HTML after all was + designed to be the streaming document of choice when the web was introduced to + the world. So it's tailor-made for shareable, digital documents. + Over the years the specification has gotten larger, and most of the syntax required by a typical user is present. +

+ +

+ But why bother? What are the "benefits"? Well, HTML is ubiquitous. And by that + I mean literally everyone can read an HTML document because literally + everyone has a web browser installed. Friends don't have Word? Use Google + Docs? Use Apple Pages? Forget it. I bet you all of those folks have a web + browser that was made after 1999. That means they can all read your document, + either by visiting it on your site or receiving it in an email. +

+ +

+ What's easier than reading HTML is writing it. Anyone with a text editor can + do it. Heck, even those folks with Word installed can save their documents as + [reasonable] HTML. And the tags aren't that hard to learn. I don't think that + Markdown is an easier syntax to learn and understand. HTML's tags are only + slightly more verbose and the structure is a pro, not a con. It's certainly + easier than writing a document in LaTeX. I would even argue in some ways it's + easier than working with a WYSIWYG editor. At least the formatting you're + looking for isn't getting shuffled from menu to sub-menu. +

-- Literally everyone can read an HTML document because literally everyone has a -web browser installed - Anyone can print out an HTML document - Anyone can edit -an HTML document - Writing a document in HTML is easier than writing one in Word -or Latex +

+ Sometimes folks want a PDF instead. Okay, fine. For whatever reason PDFs are + the reigning document of the land. That doesn't mean you need Adobe Acrobat or + some custom setup involving + wkhtmltopdf. Or even worse, some strange LaTeX middleware via + pandoc. You don't need any of that! The best PDF reader in the + world, MuPDF, also comes with mutool. + mutool convert [options] file [pages] will convert a variety of + formats to or from a PDF. And the results look terrific going from an HTML to + a PDF. If you want, you can customize the results by writing CSS into + @media print queries. Automate the creation with a script when + you safe the underlying document. Sky's the limit! +

- I've been without Word for a few years since I switched away from Windows and - honestly I haven't needed it. I took notes and wrote documents in Markdown for - a while. That was alright because the syntax is easy and any text editor can - read a Markdown file. Recently however, I've started using HTML for writing - documents that I intend to upload, print, or send to other users. Here's why. + But what about presentations or slideshows? Surely, the "minimal" solution is + to use something like Suckless' sent right? Well, you can also do + slideshows in HTML! Just a little CSS and some section and + a tags and you've got a click-able, full-browser slideshow with + images, links, titles, icons, flowcharts, embedded videos, and a printable + slide deck. And the best part is that you can instantly share online by + dropping it into a public web root. You don't have to use Google Slides or + some other third-party slide creator online that none of your friends use. + Heck, Suckless sent is just that: yet another slideshow tool that + does one thing and nobody but you has it installed. Your HTML slides are + just as plain text as a sent deck.

diff --git a/drafts/it's not rust vs go.html b/drafts/it's not rust vs go.html index 6826d55..c9273ff 100644 --- a/drafts/it's not rust vs go.html +++ b/drafts/it's not rust vs go.html @@ -1,5 +1,6 @@

"Rust or Go?" is not the question

Part 2: (But Rust is definitely the answer)

+

Part 3: Rust is definitely production ready

-> part 2 include coworker conversation tidbits draft notes: