aboutsummaryrefslogtreecommitdiff
path: root/blog/content/notes/tech
diff options
context:
space:
mode:
Diffstat (limited to 'blog/content/notes/tech')
-rw-r--r--blog/content/notes/tech/about-relational-databases.gmi2
-rw-r--r--blog/content/notes/tech/about-web-development.gmi5
-rw-r--r--blog/content/notes/tech/misc-python-stuff.gmi2
-rw-r--r--blog/content/notes/tech/motivating-example-for-logical-replication-for-dynamic-ui.gmi2
4 files changed, 8 insertions, 3 deletions
diff --git a/blog/content/notes/tech/about-relational-databases.gmi b/blog/content/notes/tech/about-relational-databases.gmi
index c66a530f..d08071ac 100644
--- a/blog/content/notes/tech/about-relational-databases.gmi
+++ b/blog/content/notes/tech/about-relational-databases.gmi
@@ -21,7 +21,7 @@ Many computer languages have similar concepts:
* C++ std::map
* Java java.util.Map
* C# System.Collections.Generic.Dictionary
-* Javascript Object
+* JavaScript Object
* PHP arrays
Relations are a natural concept, so although non-relational data systems exist, most data can be stored as relations.
diff --git a/blog/content/notes/tech/about-web-development.gmi b/blog/content/notes/tech/about-web-development.gmi
new file mode 100644
index 00000000..bcc54cb8
--- /dev/null
+++ b/blog/content/notes/tech/about-web-development.gmi
@@ -0,0 +1,5 @@
+# About web development
+
+* Ensure that the website is as functional as possible using limited browsers such as Lynx, ELinks, w3m, or Dillo. (If you use a browser that can display images, ensure that the website is as functional as possible with images disabled too.)
+* Make sure all content in the website has a URL that can be shared conveniently.
+* If website users would benefit from learning about updates to your website, then provide well-visible open ways to follow updates, such as RSS/Atom feeds, email subscriptions, or ActivityPub feeds.
diff --git a/blog/content/notes/tech/misc-python-stuff.gmi b/blog/content/notes/tech/misc-python-stuff.gmi
index 6672e021..f7cc33e7 100644
--- a/blog/content/notes/tech/misc-python-stuff.gmi
+++ b/blog/content/notes/tech/misc-python-stuff.gmi
@@ -39,7 +39,7 @@ The standard library still includes a lot of batteries:
* textwrap.dedent and str.[lr]strip for embedding multiline strings in code.
* urllib.request is clunkier than third-party libraries, but it's usable.
-(Also for very simple stuff, tkinter can implement simple graphical tools.)
+For very simple stuff, tkinter can implement simple graphical tools and wsgiref can implement simple web apps (that you can even deploy with CGI).
### Subprocess
diff --git a/blog/content/notes/tech/motivating-example-for-logical-replication-for-dynamic-ui.gmi b/blog/content/notes/tech/motivating-example-for-logical-replication-for-dynamic-ui.gmi
index daf5329e..01fc5fae 100644
--- a/blog/content/notes/tech/motivating-example-for-logical-replication-for-dynamic-ui.gmi
+++ b/blog/content/notes/tech/motivating-example-for-logical-replication-for-dynamic-ui.gmi
@@ -20,7 +20,7 @@ Imagine you could write an UI element that subscribed to the following publicati
create publication foo for table chat_messages where (channel in :list_of_channels_user_is_in and posted > :some_time_ago);
```
-Without writing any additional code, the UI element would get instantly notified not only of all new messages, but also of editions, deletions, or messages moved in or out of the subscribed channels. I believe you could write a real-time UI element with much shorter and safer code than any alternative I can think of that only uses OSS code. (As far as I know, [ksqlDB](https://github.com/confluentinc/ksql) does a similar thing, but has non-OSS bits and seems much harder to deploy than PostgreSQL, besides you would also need to deploy PostgreSQL.)
+Without writing any additional code, the UI element would get instantly notified not only of all new messages, but also of editions, deletions, or messages moved in or out of the subscribed channels. I believe you could write a real-time UI element with much shorter and safer code than any alternative I can think of that only uses OSS code. (As far as I know, ksqlDB does a similar thing, but has non-OSS bits and seems much harder to deploy than PostgreSQL, besides you would also need to deploy PostgreSQL.)
This has some caveats: