Last active 24 days ago


Last active a month ago


Last active a month ago


Last active a month ago
View more

Recent activity

Normalizing content format 24 days ago

From Ngô Ngọc Đức Huy to ~vpzom/lotide


I'm messing with lotide's API to write a client[0], and find out that
posts with content_text do not generate content in HTML format, which
caused plain text posts to be not rendered on my client.

I think it'd be nice if content_text also generates content_html
(by e.g. replace one new line with <br> and ≥two new lines with </p><p>)

Is this considered or planned for development?  Or it's a deliberate
decision to not generate HTML from plain text?  Should I create a ticket
for this?

[0]: https://sr.ht/~huyngo/luna/

Release 0.5.0: You can now create posts! 24 days ago

From Ngô Ngọc Đức Huy to ~huyngo/luna-announce

Luna is still early in development, and there's no public instance yet
because I'm broke.  But it kinds of work now, as you can read and create
posts from Luna.

What works:

- read posts
- read comments
- create posts
- setting light/dark theme

What doesn't work:

- viewing plain text posts

Re: Talk at PackagingCon 2021 30 days ago

From Huy Ngo to ~cnx/ipwhl-announce

Dear patrons,

If you missed our talk, you can find the record here:

[PATCH] Documentation: Fix typo in OpenAPI spec a month ago

From Ngô Ngọc Đức Huy to ~vpzom/lotide

has_unread_notification -> has_unread_notifications
 openapi/openapi.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openapi/openapi.json b/openapi/openapi.json
index dabfadd..881f931 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -18,12 +18,12 @@
			"LoginUserInfo": {
				"type": "object",
				"required": ["id", "username", "is_site_admin", "has_unread_notification"],
[message trimmed]

Re: Paste causing 502 Bad Gateway errors a month ago

From Ngô Ngọc Đức Huy to ~sircmpwn/sr.ht-discuss

On 15.10.2021 09:24, Euan Torano wrote:
>It's an unlisted paste and is 230.3 KiB according to the list of pastes for my account. Not sure if the size would be causing the problem.
>I intend to delete the paste as it's no longer needed, but can't get to the right page to do that right now.
Are you sure the paste wasn't deleted, or wasn't set private?  I get a
404 from the link.

[Bug] Editing does not start at the end of the line a month ago

From Ngô Ngọc Đức Huy to ~arivigo/cras-devel


I've recently noticed that when I edit a task, the cursor is not where
it is supposed to be.  It appears at the end of the line, while the
cursor is actually at the beginning of the line.

I feel like I'm not explaining it well enough, so I added an example at
the bottom of the mail.

I'm not sure if it's a cras's problem or a sline's problem, so I flip a
coin and posted here.

cras version: 2.1.0
sline version: 0.6.1

[PULL ipwhl-data] Package Twisted a month ago

From Ngô Ngọc Đức Huy to ~cnx/ipwhl-devel

The following changes since commit 6cac2eeaa9bfb0252ab385835407228208a9e934:

   check-manifest: init at 0.47 (2021-10-03 20:47:01 +0700)

are available in the Git repository at:

   https://git.sr.ht/~cnx/ipwhl-data twisted

for you to fetch changes up to 8819905569e332ce4a1dd7eb344862607f21a8fd:

   twisted-iocpsupport: init at 1.0.2 (2021-10-04 09:42:52 +0700)

Ngô Ngọc Đức Huy (9):

Re: Proposal: self environment markers a month ago

From Ngô Ngọc Đức Huy to ~cnx/ipwhl-discuss

I don't have any opposition to the change (Other than that, it'd be such
a chore), but how about using key-value, which (probably) is easier to

python_version = ">=3.7"
platform_system = "Windows"

[PATCH 3/3] Make the design more responsive for small screens 2 months ago

From Ngô Ngọc Đức Huy to ~metalune/porninvidous-devel

With responsive columns, text and thumbnails are enlarged, which make it
less a torture to read video titles on mobile devices.
 res/css.css | 44 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 41 insertions(+), 3 deletions(-)

diff --git a/res/css.css b/res/css.css
index 9bafef4..270d222 100644
--- a/res/css.css
+++ b/res/css.css
@@ -15,6 +15,11 @@ a {
  color: white;
  text-decoration: none;
[message trimmed]

[PATCH 2/3] Remove HTML tag from CSS file 2 months ago

From Ngô Ngọc Đức Huy to ~metalune/porninvidous-devel

 gen.sh      |  4 ++++
 res/css.css | 46 ++++++++++++++++++++++------------------------
 2 files changed, 26 insertions(+), 24 deletions(-)

diff --git a/gen.sh b/gen.sh
index 80f753d..f600871 100755
--- a/gen.sh
+++ b/gen.sh
@@ -49,6 +49,7 @@ echo "$urls" > urls.txt

echo "$HTML_START" >> output.html
echo "$HTML_VIDEO" >> output.html
echo "<section>" >> output.html
[message trimmed]