~nytpu

Colorado

https://nytpu.com/

Hi! I'm Alex (a.k.a. nytpu), and I do some programming and rarely electronics projects.

Larger Projects | All Repos

~nytpu/public-inbox

Last active 3 months ago
View more

Recent activity

Re: [PATCH tlsada 0/2] Retrieve and show client certificate. 2 years ago

From Alex // nytpu to ~nytpu/public-inbox

Hi!

Thanks so much for the contributions!  Both patches are now applied,
although I took the liberty of modifying them to remove the sweeping
whitespace changes and to clean up some stuff.

First commit: https://git.sr.ht/~nytpu/tlsada/commit/0a63fe01c9ee34495ef9689b0b71a774dd71fc56
- Removed unrelated whitespace changes
- Reworded commit message because I'm very particular about them
- Forced handshakes for Client_Contexts as well as Server_Contexts, for
  similar reasons
- Factored out duplicate code in exception messages

Second commit: https://git.sr.ht/~nytpu/tlsada/commit/134db3791ae3e412d0d4be7ae30b129c5b11d850

Re: Wikimedia User-Agent Policy 2 years ago

From Alex // nytpu to ~nytpu/public-inbox

Fixed in e688c31 (https://git.sr.ht/~nytpu/commons-downloader/commit/e688c306c53fc617a9648b606f6dc9ea2bacf9ac)

Thanks!

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
gpg --locate-external-key alex@nytpu.com

Re: Downloading Metadata 2 years ago

From Alex // nytpu to ~nytpu/public-inbox

Hi!

On 2022-09-29 01:39PM, Wyatt Avery wrote:
> This project is a huge time saver for me. Simple and effective. So
> thanks to any and all who have worked on it thus far.
Thanks!

> In my use, there is a lot of metadata that's been added to Wikimedia
> Commons that is not embedded within the file, such as date, credit,
> notes, source, and rights (permission).
> 
> When scraping a collection of images it would be invaluable to have
> recorded that information as it came in.
> 

Re: [PATCH] Trim newlines and CRs in get_post_title 2 years ago

From Alex // nytpu to ~nytpu/public-inbox

Thanks!

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
gpg --locate-external-key alex@nytpu.com

Re: [PATCH] Update indentation of closing entry tag 2 years ago

From Alex // nytpu to ~nytpu/public-inbox

Thanks!

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
gpg --locate-external-key alex@nytpu.com

Re: [PATCH v2] Make the script POSIX-compliant (or at least functional in dash on Debian and ksh on OpenBSD), fix the ':z'-in-updated-tags bug, remove name collision with the toot utility, and submit the user's gemlog's URL to Atenna rather than nytpu's gemlog URL. 2 years ago

From Alex // nytpu to ~nytpu/public-inbox

I've been meaning to update it myself for some time but knowing how
personal projects go it probably would've been far into the future, so
this is much appreciated!  Thanks so much!

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
gpg --locate-external-key alex@nytpu.com

[PATCH kineto] Generate anchor links for headings 3 years ago

From nytpu to ~sircmpwn/gmni-devel

This will generate `id` attributes for all heading levels.  The labels
are generated using steps 1-4 of the gitlab flavored markdown algorithm
which seems to be pretty standard for generating anchors:
https://docs.gitlab.com/ee/user/markdown.html#header-ids-and-links

A unique ID isn't appended to avoid having to store a list of previous
headers to compare against.
---
This has been tested locally and on my capsule's public kineto proxy.

Would it be good to also add a link enclosing the header to allow for
clicking on the header to get the full url with the fragment?  Or do
something like the Sourcehut markdown converter does and add an icon
next to the headers that'll link to the header?  I could send a
[message trimmed]

Re: jq: command not found 3 years ago

From Alex // nytpu to ~nytpu/public-inbox

Hi!

On 2021-10-12 11:56PM, JACOB, KD9LWR wrote:
> ./commons-downloader: line 79: jq: command not found
I state that jq is a dependency in the README; to your credit I had the
README organized horribly and the dependencies list ended up near the
bottom.  I just pushed a patch rearranging it.
=> https://sr.ht/~nytpu/commons-downloader/#requirements

Given that your showing MinGW output I assume you're on Windows, jq
should be available natively but if you'd prefer it's also very easy to
compile from source on all platforms since it has no dependencies and is
written portably.
=> https://stedolan.github.io/jq/download/  jq installation directions

Re: xim 3 years ago

From Alex // nytpu to ~kota/public-inbox

Hi!

That's a pretty neat idea!

I don't know about XBPS but Pacman on Artix lets you mark packages as
dependencies with `--asdeps` which will be marked for uninstalling once
the parent package is removed.  What I currently do in a similar way to
xim is make a dummy PKGBUILD where I list all the dependencies and
install that (which doesn't actually install anything, just the
dependencies), so I can then just do `pacman -Rns <project>-meta` when
I'm done to remove all the dependencies and crap I installed for it.  I
wonder if it'd be possible to do something like that for XBPS?  Or if
one could write a wrapper script like xim for Pacman using the dummy
PKGBUILD idea?

Re: Minor note on SSH Apps 3 years ago

From Alex // nytpu to ~kota/public-inbox

Correction: "30-40 year old clients" should be "20-30 year old clients"

~nytpu

-- 
Alex // nytpu
alex@nytpu.com
gpg --locate-external-key alex@nytpu.com
https://useplaintext.email/