~armaan

https://armaanb.net

me@armaanb.net

I only use sr.ht for issue trackers and mailing lists. Please see https://armaanb.net/projects.html and https://git.armaanb.net .

~armaan/public-inbox

Last active 3 years ago
View more

Recent activity

[PATCH v2 scdoc] Improve Makefile portability 3 years ago

From Armaan Bhojwani to ~sircmpwn/public-inbox

This also modifies the repository structure by moving files out of src/
and include/ and into the project root. Objects are now put into the
project root instead of .build/ and the OUTDIR variable has no effect
anymore.

Uses a somewhat hacky method to deal with HOST_SCDOC that relies on GNU
make's circular dependency checking. GNU make understands out of the box
that "make ./scdoc" should build the scdoc target, however bmake
does not do this, and sees ./scdoc as a seperate target from scdoc. To
get around this, a dummy ./scdoc target is implemented, however as GNU
make sees this as "scdoc: scdoc", it triggers it's circular dependency
warning.

Tested with GNU make and bmake.
[message trimmed]

[PATCH scdoc] Improve Makefile portability 3 years ago

From Armaan Bhojwani to ~sircmpwn/public-inbox

This also modifies the repository structure by moving files out of src/
and include/ and into the project root. Objects are now put into the
project root instead of .build/ and the OUTDIR variable has no effect
anymore.

Tested with GNU make and bmake.
---
 .gitignore                         |  2 +-
 Makefile                           | 81 +++++++++++++++---------------
 src/main.c => main.c               |  0
 include/str.h => str.h             |  0
 src/string.c => string.c           |  0
 include/unicode.h => unicode.h     |  0
 src/utf8_chsize.c => utf8_chsize.c |  0
[message trimmed]

Re: iframes / cross-site embeds in sr.ht pages 3 years ago

From Armaan Bhojwani to ~sircmpwn/sr.ht-discuss

This is intentional: https://srht.site/limitations
> you cannot use a CDN or embed third-party content.

Re: retrieve mailing list stats -- was: display mailing list subscribers 3 years ago

From Armaan Bhojwani to ~sircmpwn/sr.ht-discuss

Everyone here is asking for different levels of list anonymity, which
makes this discussion a bit difficult to have, but re:

On Tue 25 May 2021 at 19:38, Drew DeVault wrote:
> This is a matter of privacy.

I simply don't see how a number of people subscribed is a privacy
issue. A simple, entirely anonymous integer accessible only by
list admins tells much less information than say server access logs that
Sourcehut keeps.

Re: retrieve mailing list stats -- was: display mailing list subscribers 3 years ago

From Armaan Bhojwani to ~sircmpwn/sr.ht-discuss

On Tue 25 May 2021 at 10:38, Drew DeVault wrote:
> We consider this explicitly unwanted by design, similar to GitHub stars.
> SourceHut does not dispense dopamine.

There is a difference between these two examples in my opinion - one is
purely social, and one is administrative with the potential to be social
if misimplemented. This count doesn't need to be advertised in any way,
or used as a measure of inter-project popularity. A good middle ground
could be a way for just project owners to be able to run an API call to
see how many subscribers there are. This way it isn't prominently
displayed, and requires a bit of extra effort before seeing it, although
for when you actually need it for its purely administrative uses, it is
accessible. For example, I don't know if its worth it for me to send out
announce messages to my mailing lists, what is the point if I am the

Re: [PATCH core.sr.ht] Pre-style whitespace in markdown headings 3 years ago

From Armaan Bhojwani to ~sircmpwn/sr.ht-dev

Hi

> Can you share some examples of pages that this fix is meant to
> improve?
Sorry, I forgot to mention those in the original email! This should fix
issue 51 on man.sr.ht[1], and issue 341 on git.sr.ht[2] which I filed.

[1]: https://todo.sr.ht/~sircmpwn/man.sr.ht/51
[2]: https://todo.sr.ht/~sircmpwn/git.sr.ht/341

Armaan

Re: RSS feed for sourcehut.org blog posts? 3 years ago

From Armaan Bhojwani to ~sircmpwn/sr.ht-discuss

You can usually find feeds like this one by searching for a line that
looks like
> <link rel="alternate" type="application/rss+xml" title="RSS" href="/blog/index.xml">
in the website source!

[PATCH] README: remove extra "in" 3 years ago

From Armaan Bhojwani to ~bl4ckb0ne/boson

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4632f06..3223da5 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# boson

`boson` is an implementation of the meson language in written in C11 focusing
on portability and simplicity.
`boson` is an implementation of the meson language written in C11 focusing on
[message trimmed]

[PATCH sr.ht-docs] support.md: fix contradiction with billing faq 3 years ago

From Armaan Bhojwani to ~sircmpwn/sr.ht-dev

---
 support.md | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/support.md b/support.md
index 4ef6387..0b97363 100644
--- a/support.md
+++ b/support.md
@@ -36,10 +36,7 @@ necessary.

# Paid support

Normally, support is provided at the best effort of the sysadmins, which may be
impacted by time and resource constraints. However, paid support options are
[message trimmed]

Re: What C standard is this written in? 3 years ago

From Armaan Bhojwani to ~bl4ckb0ne/boson

On Mon May 3, 2021 at 9:12 PM EDT, Simon Zeni wrote:
> I initially started with C99, and shifted towards C11 halfway through
> because of the anonymous unions.

Ah makes sense, its a nice feature.

> Thanks for the notice, I'll change the description on the hub.
No Problem :)

Armaan