From ceaf24acd391d392e43177cfac1c10f8992ec699 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 16 Aug 2021 16:03:14 +0700 Subject: Add webp alternative to reduce loading time Also, edit CSS version to clear cache --- content/posts/2021-05-30-css-stylus.md | 5 +- content/posts/2021-06-21-ipwhl-update.md | 65 ++++++++++++--------- content/posts/2021-07-03-decentral-contribution.md | 6 +- content/posts/badwolf-ish.png | Bin 97272 -> 0 bytes 4 files changed, 46 insertions(+), 30 deletions(-) delete mode 100644 content/posts/badwolf-ish.png (limited to 'content/posts') diff --git a/content/posts/2021-05-30-css-stylus.md b/content/posts/2021-05-30-css-stylus.md index 65a9e8f..b5206ae 100644 --- a/content/posts/2021-05-30-css-stylus.md +++ b/content/posts/2021-05-30-css-stylus.md @@ -29,7 +29,10 @@ privacy policy: I've customized my theme to look a bit like my vim theme, badwolf, but with a lighter background: -![badwolf-ish](/posts/badwolf-ish.png) + + + badwolf-ish theme + Here is the CSS I used: diff --git a/content/posts/2021-06-21-ipwhl-update.md b/content/posts/2021-06-21-ipwhl-update.md index 342dd34..c431561 100644 --- a/content/posts/2021-06-21-ipwhl-update.md +++ b/content/posts/2021-06-21-ipwhl-update.md @@ -76,37 +76,59 @@ programming meme groups. It represents an underlying problem of having too many packages depending on each other. PyPI is saner, I would say, but it does have that problem. -![xkcd comics "Dependency": -A tower of blocks is shown. The upper half consists of many tiny blocks -balanced on top of one another to form smaller towers, labeled: -"All modern digital infrastructure" -The blocks rest on larger blocks lower down in the image, finally on a -single large block. This is balanced on top of a set of blocks on the left, -and on the right, a single tiny block placed on its side. This one is -labeled: A project some random person in Nebraska has been thanklessly -maintaining since 2003](/images/xkcd-dependency.png "Such dependency, wow") -*(Image Attribution[^0])* +
+ + + xkcd comics "Dependency":
+  A tower of blocks is shown. The upper half consists of many tiny blocks
+  balanced on top of one another to form smaller towers, labeled:
+  "All modern digital infrastructure"
+  The blocks rest on larger blocks lower down in the image, finally on a
+  single large block. This is balanced on top of a set of blocks on the left,
+  and on the right, a single tiny block placed on its side. This one is
+  labeled: A project some random person in Nebraska has been thanklessly
+  maintaining since 2003 + +
+ Original XKCD comics shared under a + CC-BY-NC 2.5 License.
Transcript retrieved (with some edits) from + + ExplainXKCD shared under a CC-BY-SA 3.0 License. +
+
I would even say if the package dependency were like the above illustration, it would be simple. In reality, *circular dependency* makes it impossible to declare one package without declaring the other, which can be demonstrated by this tensegrity shape: -![A tensegrity structure](/images/tensegrity.png -"Remove any part and it's broken") -*(I drew this!)* +
+ + + a tensegrity structure + +
+ A tensegrity structure, drawn by me +
+
Or, in some cases, such as for `tox`, it can even be like this: -![A tensegrity icosahedron made from straws and string](https://upload.wikimedia.org/wikipedia/commons/5/5d/Icosahedral_tensegrity_structure.png "I don't even know how this work") -*(Image attribution[^3])* +
+ A tensegrity icosahedron made from straws and string +
+ Icosahedral tensegrity structure, retrieved from + WikiMedia, authored by QuarterNotes, + shared under a CC-BY-SA 4.0 License. +
+
# How to help ![Rick from *Rick and Morty* dancing and singing "I'm begging for help"](/images/begging-for-help.png "I hope adult swim don't sue me for this.") -*(Image Attribution[^1])* Due to mentioned problems, it is critical for the project to have contribution. To start, please take a look at [the manual page][ipwhl-man] @@ -142,14 +164,3 @@ Therefore, you can help developing and packaging [docutils-stubs][stub] so we can have newer packages on IPWHL [stub]: https://github.com/tk0miya/docutils-stubs - -[^0]: Original XKCD comics: , shared under a CC-BY-NC - 2.5 License. - Transcript retrieved (with some edits) from ExplainXKCD: - , shared under a - CC-BY-SA 3.0 License. -[^1]: Scene cropped from *Rick and Morty*, a show by *Adult Swim*: - -[^3]: Image retrieved from WikiMedia, authored by QuarterNotes: - , - shared under a CC-BY-SA 4.0 License diff --git a/content/posts/2021-07-03-decentral-contribution.md b/content/posts/2021-07-03-decentral-contribution.md index 854a320..b3cade5 100644 --- a/content/posts/2021-07-03-decentral-contribution.md +++ b/content/posts/2021-07-03-decentral-contribution.md @@ -50,7 +50,10 @@ clicked on the link above, you can see how: 4. feedback/discussion continues out of band, contributor can push updates to the branch, you can pull them down to review -![Illustration of how it works][git-pr-il] + + + Illustration of how it works + In fact, this is described as [one of the common workflows][git-workflow] for git and is what happens behind the scene in GitHub pull request (except a @@ -96,7 +99,6 @@ Disclaimer: I'm not affiliated with codeberg.org, notabug.org, or sr.ht [orig-thread]: https://merveilles.town/@maxc/106502916709836497 [git-pr]: https://merveilles.town/@nasser/106504758341988490 [git-workflow]: https://git-scm.com/about/distributed -[git-pr-il]: /images/git-pr.png [sourcehut]: https://sourcehut.org/ [^0]: I know [services can't be free or non-free](https://www.gnu.org/philosophy/network-services-arent-free-or-nonfree.html), diff --git a/content/posts/badwolf-ish.png b/content/posts/badwolf-ish.png deleted file mode 100644 index b65afd9..0000000 Binary files a/content/posts/badwolf-ish.png and /dev/null differ -- cgit 1.4.1