diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-04-24 22:47:23 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-04-24 22:47:23 +0700 |
commit | 94f18e532f73ea80076953daf9b3a616378e91eb (patch) | |
tree | 4aa60463401a5e80a8ebcd4adebc3ce56960929d | |
parent | c52bb322b353c38e9ad12c5b1034d36441beb2b9 (diff) | |
download | blog-94f18e532f73ea80076953daf9b3a616378e91eb.tar.gz |
Update categories
42 files changed, 68 insertions, 235 deletions
diff --git a/content/posts/2021-01-02-wordpress.fr.md b/content/posts/2021-01-02-wordpress.fr.md index 209355a..d5ee26a 100644 --- a/content/posts/2021-01-02-wordpress.fr.md +++ b/content/posts/2021-01-02-wordpress.fr.md @@ -1,8 +1,8 @@ --- -categories: [blog] date: 2021-01-02 14:44:00 +0700 lang: fr -tags: [[blog], wordpress, writing, selfhost] +categories: [blog, meta, rant] +tags: [blog, wordpress, writing, selfhost] title: "Je quitte WordPress" translationKey: "give-up-wp" --- diff --git a/content/posts/2021-01-02-wordpress.md b/content/posts/2021-01-02-wordpress.md index 4d36d06..7a8c355 100644 --- a/content/posts/2021-01-02-wordpress.md +++ b/content/posts/2021-01-02-wordpress.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, meta, rant] date: 2021-01-02 14:44:00 +0700 lang: en translationKey: "give-up-wp" @@ -8,15 +8,15 @@ title: "Giving up on WordPress!" --- For the last week, I was trying to setting up my own WordPress instance, since I have access to a server and use a free domain name. It was such a hassle. <!--more--> -## Why I want to start a [blog] +## Why I want to start a blog Writing is a way of polishing my writing skills. For so long, all what I write has been only code. Now that I'm close to my graduation, writing long text suddenly becomes important to me - I need to write reports and after that my thesis. -It is also a way of expressing myself. Social media is a shorter version for this, and they may attract more interactions from people you know, but [blog] on the other hand helps you express your idea and opinion publicly. They're also much more organized in the sense that my list of posts does not contain shares from other users, or that I can use hashtags to categorize my posts. +It is also a way of expressing myself. Social media is a shorter version for this, and they may attract more interactions from people you know, but blog on the other hand helps you express your idea and opinion publicly. They're also much more organized in the sense that my list of posts does not contain shares from other users, or that I can use hashtags to categorize my posts. ## Choosing WordPress -At first I was thinking of using wordpress.com, since it's already hosted, but then I realized they can put ads on my [blog]s without my consent (well, technically, they would have my consent if I used their service). On top of that, I always prefer self-hosting whenever possible: I have all control (doubt) over what is running and what not. I would not what a third party to track my readers or showing them ads on my blog. +At first I was thinking of using wordpress.com, since it's already hosted, but then I realized they can put ads on my blogs without my consent (well, technically, they would have my consent if I used their service). On top of that, I always prefer self-hosting whenever possible: I have all control (doubt) over what is running and what not. I would not what a third party to track my readers or showing them ads on my blog. The server was running on Ubuntu 16.04. That is a rather old one, so it doesn't support latest packages, including Apache, PHP, and WordPress (they do have WordPress in the Ubuntu repo), and I dare not upgrade it. @@ -32,7 +32,7 @@ I have recently been using docker quite regularly, e.g. for CouchDB and RethinkD And nice, it did run. -Now I need to set up a domain name for the [blog]. +Now I need to set up a domain name for the blog. ## Port forwarding @@ -48,7 +48,7 @@ After I fixed that, it worked nicely. ## Different name == broken website -WordPress uses absolute path (`example.com/[blog]/something`) rather than relative path (`/blog/something`). This leads to a problem: if I want to migrate to another domain name (guaranteed to happen, since I use a free domain name that will expire eventually). I discovered this when I moved from a port to different port, and from host IP to domain name. It frustrates me, but it isn't a big problem for now. +WordPress uses absolute path (`example.com/blog/something`) rather than relative path (`/blog/something`). This leads to a problem: if I want to migrate to another domain name (guaranteed to happen, since I use a free domain name that will expire eventually). I discovered this when I moved from a port to different port, and from host IP to domain name. It frustrates me, but it isn't a big problem for now. ## Disappointing experience @@ -70,4 +70,4 @@ Fortunately, write.as already feels right to me - no ads, and tracking is easily Well, I just installed (it was actually easy!), and now I've moved to divers.ml -New update: I just tried jekyll, and it's awesome. Now my [blog] is hosted on [GitHub](https://huy-ngo.github.io). I guess I will leave the domain unused. +New update: I just tried jekyll, and it's awesome. Now my blog is hosted on [GitHub](https://huy-ngo.github.io). I guess I will leave the domain unused. diff --git a/content/posts/2021-01-09-big-tech.md b/content/posts/2021-01-09-big-tech.md index 800cb22..7d86020 100644 --- a/content/posts/2021-01-09-big-tech.md +++ b/content/posts/2021-01-09-big-tech.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, personal, rant] date: 2021-01-09 14:44:00 +0700 lang: en translationKey: "big-bros" diff --git a/content/posts/2021-01-11-openring.fr.md b/content/posts/2021-01-11-openring.fr.md index 7a9508f..34a1ece 100644 --- a/content/posts/2021-01-11-openring.fr.md +++ b/content/posts/2021-01-11-openring.fr.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, meta] date: 2021-01-11 15:51:31 +0700 lang: fr tags: [rss, blog, openring, tutorial] diff --git a/content/posts/2021-01-11-openring.md b/content/posts/2021-01-11-openring.md index 993ea5c..fcd5df4 100644 --- a/content/posts/2021-01-11-openring.md +++ b/content/posts/2021-01-11-openring.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, meta] date: 2021-01-11 15:51:31 +0700 lang: en translationKey: "openring-tutor" diff --git a/content/posts/2021-02-08-naming.md b/content/posts/2021-02-08-naming.md index 2d35199..b25b962 100644 --- a/content/posts/2021-02-08-naming.md +++ b/content/posts/2021-02-08-naming.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, language, personal] date: 2021-02-08 17:14:08 +0700 lang: en translationKey: "first-name-last-name" diff --git a/content/posts/2021-04-12-interjection.md b/content/posts/2021-04-12-interjection.md index 6b3a672..25bb6fa 100644 --- a/content/posts/2021-04-12-interjection.md +++ b/content/posts/2021-04-12-interjection.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, humor] title: "I'd just like to interject for a moment" lang: en translationKey: interjection diff --git a/content/posts/2021-05-01-accessible-web.md b/content/posts/2021-05-01-accessible-web.md index a1489ae..41be525 100644 --- a/content/posts/2021-05-01-accessible-web.md +++ b/content/posts/2021-05-01-accessible-web.md @@ -1,5 +1,5 @@ --- -categories: [blog] +categories: [blog, dev] title: "Designing web for accessibility" date: 2021-05-01T19:16:41+07:00 tags: [web, accessibility] diff --git a/content/posts/2021-05-29-move-site.md b/content/posts/2021-05-29-move-site.md index edcf3e2..d5ff67a 100644 --- a/content/posts/2021-05-29-move-site.md +++ b/content/posts/2021-05-29-move-site.md @@ -1,7 +1,7 @@ --- title: "[Announcement] This site is moved to huyngo.envs.net" date: 2021-05-29T11:03:22+07:00 -categories: [blog] +categories: [blog, meta] tags: [announcement, blog, finance, payment] --- diff --git a/content/posts/2021-05-30-css-stylus.md b/content/posts/2021-05-30-css-stylus.md index 81a3839..6046ab2 100644 --- a/content/posts/2021-05-30-css-stylus.md +++ b/content/posts/2021-05-30-css-stylus.md @@ -1,7 +1,7 @@ --- title: "App Recommendation: Stylus" date: 2021-05-30T21:17:55+07:00 -categories: [blog] +categories: [blog, software, guide] tags: [recommendation, css, custom, stylus, "browser addon"] --- diff --git a/content/posts/2021-06-06-paperwork.md b/content/posts/2021-06-06-paperwork.md index e07c857..1b10a21 100644 --- a/content/posts/2021-06-06-paperwork.md +++ b/content/posts/2021-06-06-paperwork.md @@ -1,7 +1,7 @@ --- title: "Paperwork" date: 2021-06-06T22:14:12+07:00 -categories: [ blog ] +categories: [ blog, personal ] tags: [ personal, life, paperwork, struggle] --- diff --git a/content/posts/2021-06-13-jq.md b/content/posts/2021-06-13-jq.md index 2d416cf..3867f3f 100644 --- a/content/posts/2021-06-13-jq.md +++ b/content/posts/2021-06-13-jq.md @@ -1,7 +1,7 @@ --- title: "jq is a powerful JSON processor" date: 2021-06-13 -categories: [ blog ] +categories: [ blog, software ] tags: [unix, jq, json, cli, guide, tinker] --- diff --git a/content/posts/2021-06-21-ipwhl-update.md b/content/posts/2021-06-21-ipwhl-update.md index a4af78f..1ed80f7 100644 --- a/content/posts/2021-06-21-ipwhl-update.md +++ b/content/posts/2021-06-21-ipwhl-update.md @@ -2,7 +2,7 @@ title: "[Update] IPWHL: Maybe the real cheeses are the packages we helped along the way" date: 2021-06-21 -categories: [blog, update] +categories: [blog, project] tags: [update, ipwhl, python, packaging] --- diff --git a/content/posts/2021-07-03-decentral-contribution.md b/content/posts/2021-07-03-decentral-contribution.md index d747afd..56b0a79 100644 --- a/content/posts/2021-07-03-decentral-contribution.md +++ b/content/posts/2021-07-03-decentral-contribution.md @@ -2,7 +2,7 @@ title: "Contribute to decentralized hosting service" date: 2021-07-03 lang: en -categories: [ blog ] +categories: [ blog, dev, software ] tags: [tech, foss, git, hosting, contribution, decentralization, "pull request"] translationKey: "decentral-contribution" --- diff --git a/content/posts/2021-08-26-ipwhl-update.md b/content/posts/2021-08-26-ipwhl-update.md index 2911eaf..20ec7d2 100644 --- a/content/posts/2021-08-26-ipwhl-update.md +++ b/content/posts/2021-08-26-ipwhl-update.md @@ -2,7 +2,7 @@ title: "[IPWHL] August update" date: 2021-08-26 lang: en -categories: [ "project update" ] +categories: [ blog, project ] tags: [ipwhl, project, update] translationKey: "ipwhl-update" --- diff --git a/content/posts/2021-09-12-facebook-censoring-mastodon.md b/content/posts/2021-09-12-facebook-censoring-mastodon.md index a05083e..c75c63d 100644 --- a/content/posts/2021-09-12-facebook-censoring-mastodon.md +++ b/content/posts/2021-09-12-facebook-censoring-mastodon.md @@ -2,7 +2,7 @@ title: Facebook censors links to Mastodon date: 2021-09-12 lang: en -categories: [ blog, censorship ] +categories: [ blog, rant ] tags: [ facebook, censor, mastodon ] translationKey: "facebook-censoring-mastodon" --- diff --git a/content/posts/2021-09-21-background-image.md b/content/posts/2021-09-21-background-image.md index 361f580..d501a34 100644 --- a/content/posts/2021-09-21-background-image.md +++ b/content/posts/2021-09-21-background-image.md @@ -2,8 +2,8 @@ title: "[Web Horror] Background Image" date: 2021-09-21 lang: en -categories: [ blog, "web horror" ] -tags: [css, background, image] +categories: [ blog, rant ] +tags: [css, background, image, "web horror"] translationKey: bg-img --- diff --git a/content/posts/2021-10-16-how-to-hide-decorative-anchor.md b/content/posts/2021-10-16-how-to-hide-decorative-anchor.md index cd20e9b..570d38e 100644 --- a/content/posts/2021-10-16-how-to-hide-decorative-anchor.md +++ b/content/posts/2021-10-16-how-to-hide-decorative-anchor.md @@ -2,7 +2,7 @@ title: "How to hide decorative anchor" date: 2021-10-16 lang: en -categories: [ blog, how-to ] +ategories: [ blog, guide ] tags: [ heading, anchor, accessibility, decorative] translationKey: "hide-anchor" --- diff --git a/content/posts/2021-11-16-cars-vs-bikes.md b/content/posts/2021-11-16-cars-vs-bikes.md index c3cd775..16ebbb3 100644 --- a/content/posts/2021-11-16-cars-vs-bikes.md +++ b/content/posts/2021-11-16-cars-vs-bikes.md @@ -2,7 +2,7 @@ title: "Cars vs Bikes: The space efficiency" date: 2021-11-16 lang: en -categories: [ blog, miscellaneous, calculation ] +categories: [ blog, rant ] tags: [ vehicle, car, bike, space ] translationKey: "car-vs-bikes-space" --- diff --git a/content/posts/2021-12-31-year-end.md b/content/posts/2021-12-31-year-end.md index 4ccbd45..ce0adf3 100644 --- a/content/posts/2021-12-31-year-end.md +++ b/content/posts/2021-12-31-year-end.md @@ -2,8 +2,9 @@ title: "2021: End of year sum up" date: 2021-12-31 lang: en -categories: [ blog ] -tags: [] +categories: [ blog, personal ] +tags: + - year end translationKey: "2021-12-31-year-end" --- diff --git a/content/posts/2022-01-01-new-year.fr.md b/content/posts/2022-01-01-new-year.fr.md index 7fc66d1..0094670 100644 --- a/content/posts/2022-01-01-new-year.fr.md +++ b/content/posts/2022-01-01-new-year.fr.md @@ -2,8 +2,12 @@ title: "Les bonnes résolutions d'année 2022" date: 2022-01-01 lang: fr -categories: [ blog ] -tags: [ resolution, 2022 ] +categories: + - blog + - personal +tags: + - 2022 + - resolution translationKey: "2022-01-01-new-year" --- diff --git a/content/posts/2022-01-16-dict-1.md b/content/posts/2022-01-16-dict-1.md index 0cb5390..87685b5 100644 --- a/content/posts/2022-01-16-dict-1.md +++ b/content/posts/2022-01-16-dict-1.md @@ -2,9 +2,8 @@ title: "Implementing DICT protocol: Part 1" date: 2022-01-16 lang: en -categories: [ blog ] +categories: [ blog, dev, guide ] tags: [dict, dictionary, go, golang, rfc2229, tcp ] -draft: true translationKey: "2022-01-16-Dict-1" --- diff --git a/content/posts/2022-01-31-luna-django.md b/content/posts/2022-01-31-luna-django.md index dfa3817..fda85bd 100644 --- a/content/posts/2022-01-31-luna-django.md +++ b/content/posts/2022-01-31-luna-django.md @@ -2,7 +2,7 @@ title: "Using tools with appropriate ability" date: 2022-01-31 lang: en -categories: [ blog ] +categories: [ blog, project ] tags: [luna, django, decision, tools, "use cases"] translationKey: "luna-django" --- diff --git a/content/posts/2022-05-29-un-site-ancien.fr.md b/content/posts/2022-05-29-un-site-ancien.fr.md index f9a1e7b..8d584db 100644 --- a/content/posts/2022-05-29-un-site-ancien.fr.md +++ b/content/posts/2022-05-29-un-site-ancien.fr.md @@ -3,7 +3,9 @@ title: "Comment calculer le calendrier lunaire et la découverte d'un site web a date: 2022-05-29 lang: fr categories: [ blog ] -tags: [] +tags: + - calendrier + - calendrier lunaire translationKey: "2022-05-15-un-site-ancien" --- diff --git a/content/posts/2022-06-19-announce-ipwhl.md b/content/posts/2022-06-19-announce-ipwhl.md index 412f7bd..e4180d6 100644 --- a/content/posts/2022-06-19-announce-ipwhl.md +++ b/content/posts/2022-06-19-announce-ipwhl.md @@ -2,8 +2,8 @@ title: "Introducing IPWHL: an alternative Python packaging" date: 2022-06-19 lang: en -categories: [ announcement ] -tags: [] +categories: [ blog, project ] +tags: [ipwhl] translationKey: "announce-ipwhl" --- diff --git a/content/posts/2022-07-31-trying-openbsd.md b/content/posts/2022-07-31-trying-openbsd.md index 69c83e7..67a5a87 100644 --- a/content/posts/2022-07-31-trying-openbsd.md +++ b/content/posts/2022-07-31-trying-openbsd.md @@ -2,8 +2,8 @@ title: "Friendship ended with GNU/Linux, OpenBSD is my new best friend" date: 2022-07-31 lang: en -categories: [ blog ] -tags: [] +categories: [ blog, project ] +tags: [openbsd] translationKey: "2022-07-31-trying-openbsd" --- diff --git a/content/posts/2022-08-15-switch-from-openbsd.md b/content/posts/2022-08-15-switch-from-openbsd.md index 59068aa..edf5e64 100644 --- a/content/posts/2022-08-15-switch-from-openbsd.md +++ b/content/posts/2022-08-15-switch-from-openbsd.md @@ -2,7 +2,7 @@ title: "Ending my short-lived experiment with OpenBSD" date: 2022-08-15 lang: en -categories: [ blog ] +categories: [ blog, personal ] tags: [] translationKey: "2022-08-15-switch-from-openbsd" --- diff --git a/content/posts/2022-10-15-remote-work.md b/content/posts/2022-10-15-remote-work.md index c2c368d..4008aea 100644 --- a/content/posts/2022-10-15-remote-work.md +++ b/content/posts/2022-10-15-remote-work.md @@ -2,7 +2,7 @@ title: "Why I prefer remote work" date: 2022-10-15 lang: en -categories: [ blog ] +categories: [ blog, personal ] tags: [work, remote] translationKey: "2022-10-15-remote-work" --- diff --git a/content/posts/2022-10-23-bcrypt-hashing-time.md b/content/posts/2022-10-23-bcrypt-hashing-time.md index a77ed72..2a7bd80 100644 --- a/content/posts/2022-10-23-bcrypt-hashing-time.md +++ b/content/posts/2022-10-23-bcrypt-hashing-time.md @@ -2,7 +2,7 @@ title: "Bcrypt hashing time" date: 2022-10-23 lang: en -categories: [ blog ] +categories: [ blog, software ] tags: [miscellaneous, bcrypt, hashing, measurement] translationKey: "2022-10-23-bcrypt-hashing-time" --- diff --git a/content/posts/2022-11-06-against-duolingo.md b/content/posts/2022-11-06-against-duolingo.md index fd36dbe..0ae647d 100644 --- a/content/posts/2022-11-06-against-duolingo.md +++ b/content/posts/2022-11-06-against-duolingo.md @@ -2,7 +2,7 @@ title: "Against Duolingo as a language learning platform" date: 2022-11-06 lang: en -categories: [ blog, language ] +categories: [ blog, software, language ] tags: [duolingo, language, learning, software, rant] translationKey: "2022-11-06-against-duolingo" --- diff --git a/content/posts/2023-01-01-2022-in-review.md b/content/posts/2023-01-01-2022-in-review.md index a988f60..838f897 100644 --- a/content/posts/2023-01-01-2022-in-review.md +++ b/content/posts/2023-01-01-2022-in-review.md @@ -2,8 +2,11 @@ title: "2022 in Review" date: 2023-01-01 lang: en -categories: [ blog ] -tags: [ "new year", "2023" ] +categories: [ blog, personal ] +tags: + - "new year" + - "2023" + - year end translationKey: "2023-01-01-2022-in-Review" --- diff --git a/content/posts/2023-04-11-dict-server.md b/content/posts/2023-04-11-dict-server.md index 6b0e851..5b6a29e 100644 --- a/content/posts/2023-04-11-dict-server.md +++ b/content/posts/2023-04-11-dict-server.md @@ -2,8 +2,8 @@ title: "Writing a DICT (RFC 2229) server" date: 2023-04-11 lang: en -categories: [ blog, development, hacking ] -tags: [dict] +categories: [ blog, dev, guide ] +tags: [dict, development, hacking] translationKey: "2023-04-11-dict-server" --- diff --git a/content/posts/2023-06-05-socks-proxy.md b/content/posts/2023-06-05-socks-proxy.md deleted file mode 100644 index 6826ae8..0000000 --- a/content/posts/2023-06-05-socks-proxy.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: "SOCKS Proxy via SSH" -date: 2023-06-05 -lang: en -categories: [ blog ] -tags: [tips, guide, "SOCKS proxy"] -translationKey: "2023-06-05-socks-proxy" ---- - -[SOCKS (RFC 1928)][socks] is a protocol that can be, as said in the -RFC itself, used for firewall traversal, or some other types of network -blocking. - -If you have a remote server that you can <abbr>SSH</abbr> to, setting up a -SOCKS connection is dead simple: - -```sh -ssh -D [port] [host] -``` - -where `[host]` is the host name you specified in the <abbr>SSH</abbr> config -file. - -How to get your software to direct its connection through this proxy depends on -the program. For example, in Firefox, you have to go to the setting and set it -in the network settings---use your server's address and the port you used -earlier. In Chromium and similar forks, add -`--proxy-server="socks5://host:port"` to the parameter in the command line. -Read more on the instruction for [Firefox][guide-fox] and -[Chromium][guide-chrom] on their respective websites. - -[socks]: https://www.rfc-editor.org/rfc/rfc1928 -[guide-fox]: https://support.mozilla.org/en-US/kb/connection-settings-firefox -[guide-chrom]: https://www.chromium.org/developers/design-documents/network-stack/socks-proxy/ diff --git a/content/posts/2023-06-12-reddit-alt-communities.md b/content/posts/2023-06-12-reddit-alt-communities.md index 6d1c9ea..61e3202 100644 --- a/content/posts/2023-06-12-reddit-alt-communities.md +++ b/content/posts/2023-06-12-reddit-alt-communities.md @@ -2,7 +2,7 @@ title: "Alternative Communities for Reddit on Fediverse" date: 2023-06-12 lang: en -categories: [ blog, links ] +categories: [ blog, software ] tags: [alternative, reddit, fediverse] translationKey: "2023-06-12-reddit-alt-communities" --- diff --git a/content/posts/2023-08-28-cleaning-keyboard.md b/content/posts/2023-08-28-cleaning-keyboard.md index 989fa30..72b7fb5 100644 --- a/content/posts/2023-08-28-cleaning-keyboard.md +++ b/content/posts/2023-08-28-cleaning-keyboard.md @@ -2,7 +2,7 @@ title: "Cleaning my keyboard" date: 2023-08-29 lang: en -categories: [ blog ] +categories: [ blog, personal ] tags: [ keyboard, cleaning, hygiene] translationKey: "2023-08-29-cleaning-keyboard" --- diff --git a/content/posts/2023-09-02-site-update.md b/content/posts/2023-09-02-site-update.md index ac387fc..c915325 100644 --- a/content/posts/2023-09-02-site-update.md +++ b/content/posts/2023-09-02-site-update.md @@ -2,7 +2,7 @@ title: "Site update" date: 2023-09-02 lang: en -categories: [ blog ] +categories: [ blog, meta ] tags: [site, blog, announcement] translationKey: "2023-09-02-site-update" --- diff --git a/content/posts/2023-10-29-setup-external-backup.md b/content/posts/2023-10-29-setup-external-backup.md index 4044715..d2963ba 100644 --- a/content/posts/2023-10-29-setup-external-backup.md +++ b/content/posts/2023-10-29-setup-external-backup.md @@ -2,8 +2,11 @@ title: "Setup backup on external disk" date: 2023-10-29 lang: en -categories: [ blog ] -tags: [] +categories: [ blog, guide, sysadmin ] +tags: + - sysadmin + - backup + - mess up translationKey: "2023-10-29-setup-external-backup" --- diff --git a/content/posts/2024-01-05-mayim-sqlite.md b/content/posts/2024-01-05-mayim-sqlite.md index d20c1f0..b12663d 100644 --- a/content/posts/2024-01-05-mayim-sqlite.md +++ b/content/posts/2024-01-05-mayim-sqlite.md @@ -2,8 +2,8 @@ title: "Querying data from SQLite with Mayim" date: 2024-01-05 lang: en -categories: [ blog ] -tags: [mayim, sqlite, python] +categories: [ blog, dev ] +tags: [mayim, sqlite, async, python] translationKey: "2024-01-05-mayim-sqlite" --- diff --git a/content/posts/_index.fr.md b/content/posts/_index.fr.md index 4e472e7..58a13ab 100644 --- a/content/posts/_index.fr.md +++ b/content/posts/_index.fr.md @@ -4,4 +4,4 @@ lang: fr translationKey: posts --- -Voici mon blog +Voici mon blog, c'est-à-dire, mes notes infréquentes diff --git a/content/posts/_index.md b/content/posts/_index.md index 88529cd..c0611cd 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -5,4 +5,4 @@ translationKey: posts reversed: true --- -Here are my blog posts! +My infrequent notes on the web, also called "web log" or "blog" diff --git a/content/posts/collective-ownership.md b/content/posts/collective-ownership.md deleted file mode 100644 index 7f344d5..0000000 --- a/content/posts/collective-ownership.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: "Collective Ownership" -date: 2022-11-08 -draft: true -lang: en -categories: [ blog ] -tags: [] -translationKey: "Collective-Ownership" ---- - -so a few weeks back i heard of this term "collective land ownership" and i -think y'all might be interested in how it's different from or similar to law -wherever you are - -## LAW - -in vietnamese civil law, land (along with water, sea, sky, and other natural -resources) is a property collectively owned by the people (Article 197, Civil -Law 2015) - -because if *everyone* collectively uses that however they want, as they can -with personal properties, it would be messy and chaotic, the law also states -that the State is the one and only representative owner and can exercises -ownership on these properties. (Article 198, Civil Law 2015) - -ok so how do you get some land to build houses or grow a farm? the State will -assign the *permission to use* to the users of the land (Article 4, Land on Law -2013). this permission to use can be revoked at any time for various reasons, -one of which is "to improve economy and society for the national and public -benefits" (Article 16, Land on Law 2013). to my understanding, this means the -State can take your land, where you are living, to build a road or a factory or -a farm, because that is "public benefits", or even [golf courts][golf], because -it "improves economy". you will be compensated for that or assigned another -piece of land (relocation), though (Clause 3, Article 26, Land on Law 2013) but -in reality it's not always that smooth - -[golf]: https://vietnamnet.vn/vuong-san-golf-dan-bo-hoang-ruong-vuon-36343.html - -"this is putting too much power to the state", you're probably thinking, and i -would agree. i sure hope they don't abuse that power. - ---- - -## HISTORY - -in the 1950s, the vietnamese communist party (VCP) did a radical land reform, -taking land from landlords and assign it to the people. it is probably one of -the biggest part of the communist revolution. finally gaining ~~ownership~~^W -permission to use a piece of land of their own, people were happy, especially -farmers, who had worked like slave for landlords at insignificant wage. -however, many of them ended up selling back lands to landlords because they're -not hard-working enough (?) (according to some old people who witnessed this -era) - -nowadays, it may be better than before land reform, we still have people who -don't own any land, and corporations and conglomerates that own a lot of land. -there are landlords (but we don't call them landlords) whose main income is -monthly rent, and there are workers who work on pieces of land where they do -not ~~own~~^W have permission to use - ---- - -note that i am not a lawyer so the legal terms as well as the deduction might -be inaccurate. this post is not an opposition to VCP or a suggestion to change -the law diff --git a/content/posts/mastodon.md b/content/posts/mastodon.md deleted file mode 100644 index edf144f..0000000 --- a/content/posts/mastodon.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: Mastodon -language: en -translationKey: projects-mastodon -disable_feed: true -date: 2021-09-02 -layout: project -name: Mastodon -author: Gargron -authorURL: https://zeonfederated.com/ -maintainers: - - name: Mastodon gGmbH - URL: https://joinmastodon.org/ -projectURL: https://github.com/mastodon/mastodon -projectStatus: active -categories: ["software", "social network"] -tags: ["social network", "federation", "fediverse"] ---- - -*Mastodon* is a [federated][fedi] social network, with a Twitter-like -<abbr title="user interface">UI</abbr>. - -[fedi]: https://en.wikipedia.org/wiki/Fediverse - -## Features - -- Content feeds: **home** (posts from accounts you follow), **local** (public - posts from accounts on the same instance), and **federated** (public posts - from connected servers) -- Character limit: 500, which is much longer than Twitter - <abbr title="for what it's worth">fwiw</abbr> -- Customizable web UI -- Various available clients on all platforms -- Instance custom emojis -- Moderation - - Instance admins are capable of blocking contents from other servers on - different levels - - Normal members are capable of mute and block other users or instances, and - filter words -- Accounts can be exported and migrated to another server (posts are not - migrated, however) - -## Forks - -Mastodon has a few forks, the most two popular ones are [Mastodon Glitch -Edition][gs] and [hometown][ht], which provides some extra features. - -[gs]: https://github.com/glitch-soc/mastodon -[ht]: https://github.com/hometown-fork/hometown/ - -## Personal opinions - -Overall, Mastodon gives a nice and intuitive user interface. It also provides -quite flexible tools for moderating your timeline. However, this can be abused -by some instance admins who would block other instances without specific -reason, which pretty much defeats the purpose of federation. - -Mastodon doesn't support markups (the [glitch-soc][gs] fork does, -<abbr title="as far as I know">afaik</abbr>). This can be limiting if you like -embedding links into the text. For this reason, I prefer -[Pleroma][pleroma]. - -## See also - -- Guides: - - [Kev's guide][kevq] - - [joyeusenoelle's guide](https://github.com/joyeusenoelle/GuideToMastodon) - - [Göktuǧ's tips on federated social networks][cadadr] -- Mastodon instance lists: - - [joinmastodon.org endorsed list][mastodon.org] - - [instances.noct.zone](https://instances.noct.zone/) -- Other microblogging social networks: - - [Pleroma][pleroma] - - [Misskey][misskey] - -[kevq]: https://kevq.uk/how-does-mastodon-work/ -[mastodon.org]: https://joinmastodon.org/communities -[cadadr]: https://toot.cat/@cadadr/106561338340521311 -[pleroma]: /projects/pleroma/ -[misskey]: /projects/misskey/ |