~rumpelsepp

Bavaria

https://rumpelsepp.org

I break stuff.

~rumpelsepp/public-inbox

Last active 4 months ago
View more

Recent activity

Re: License for Specifications a month ago

From Stefan Tatschner to ~sircmpwn/free-writers-club

On Tue, 2020-05-19 at 23:09 -0700, Jeremy Jung wrote:
> The docs for .NET use the CC license[1]. You could mirror how they do
> it.
> 
> [1] https://github.com/dotnet/docs/blob/master/LICENSE

Thanks folks for the help. I think it is sane to go with the cc licenses.
For the record, I found out were they host the plaintext versions of the
license text:

https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode

Append .txt and it pops up. :)

DKIM errors a month ago

From Stefan Tatschner to ~sircmpwn/sr.ht-dev

Hey,

my recent emails [1] show DKIM errors on lists.sr.ht. I did a few checks
on my side first:

* DNSSEC is working [2]
* DKIM works [3]
* DKIM keys are avail (use rumpelsepp.org; selector: dkim) [4]
  see also: dig +short dkim._domainkey.rumpelsepp.org TXT
* mail-b.sr.ht reports: 
  Authentication-Results: mail-b.sr.ht;
	dkim=fail reason="key not found in DNS" (0-bit key) header.d=rumpelsepp.org header.i=@rumpelsepp.org header.b=NLWOE1r6

Whats the error here? Is it a bug in the sourcehut mail server, or do I

Re: License for Specifications a month ago

From Stefan Tatschner to ~sircmpwn/free-writers-club

Hey!

Thanks for your answer!

On Wed, 2020-05-20 at 05:20 +0000, Oliver Leaver-Smith wrote:
> Of course, not all CC attributions are equal, so specifically I would
> say
> 
> CC BY-SA 4.0 specifically should be used, which allows people to use
> and remix your doc how they want, even commercially.

This sounds like exactly what I want for my stuff. I thought that CC
licenses are mainly for artists (pictures, drawings, videos, …). I read
that also wikipedia has adopted a CC license for its articles.

Project Hub Sorting Abuse a month ago

From Stefan Tatschner to ~sircmpwn/sr.ht-discuss

Heya,

I have registered my website code [2] to the project hub and I run a
subpage with my bookmarks there [1]. Since I update my bookmarks via a
script, I generate a few commits every day. Because of this automated
updates, I am often number one in the list of public projects [3]. Is
this a problem for the sourcehut project list? I have no intention of
abusing the project list with my personal link collection nonsense.

Stefan

[1]: https://rumpelsepp.org/stuff/bookmarks.html
[2]: https://sr.ht/~rumpelsepp/rumpelsepp.org/
[3]: https://sr.ht/projects

License for Specifications a month ago

From Stefan Tatschner to ~sircmpwn/free-writers-club

Hey folks!

I am currently writing a few technical specifications which I intend to
host on my blog/website. For instance, I am working on a specification
for an http based api for power supplies [1]. I am currently wondering
what's the appropriate license for this. For my code I will just use
GPL. But for the document? These guys come to my mind:

* MIT
* Apache
* Creative Commons
* Public Domain
* GNU FDL

Re: [PATCH v3] Implement "id" 5 months ago

From Stefan Tatschner to ~sircmpwn/ctools

On Thu, 2020-02-06 at 11:59 -0500, Drew DeVault wrote:
> Is it possible to implement this without heap-allocating the strings?

Sure. Will try to implement it until ~mid next week.

[PATCH v3] Implement "id" 5 months ago

From Stefan Tatschner to ~sircmpwn/ctools

---
v2 -> v1: Added implementation of getgrouplist() to comply to POSIX.
v3 -> v2: Style fix


 STATUS          |   2 +-
 doc/id.1.scd    |  50 ++++++
 doc/meson.build |   1 +
 meson.build     |   1 +
 src/id.c        | 454 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 507 insertions(+), 1 deletion(-)
 create mode 100644 doc/id.1.scd
 create mode 100644 src/id.c
[message trimmed]

[PATCH v2] Implement "id" 5 months ago

From Stefan Tatschner to ~sircmpwn/ctools

---
v2 -> v1: Added implementation of getgrouplist() to comply to POSIX.

 STATUS          |   2 +-
 doc/id.1.scd    |  50 ++++++
 doc/meson.build |   1 +
 meson.build     |   1 +
 src/id.c        | 454 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 507 insertions(+), 1 deletion(-)
 create mode 100644 doc/id.1.scd
 create mode 100644 src/id.c

diff --git a/STATUS b/STATUS
index a4069c3..84fb712 100644
[message trimmed]

Re: [PATCH RFC] Implement "id" 5 months ago

From Stefan Tatschner to ~sircmpwn/ctools

On Tue, Jan 28, 2020 at 01:03:22PM -0500, Drew DeVault wrote:
> On Mon Jan 27, 2020 at 9:59 PM, Stefan Tatschner wrote:
> > This should be a complete implementation of the "id" tool. I am not sure
> > what to do with the getgrouplist() function. It is not POSIX, but it
> > seems to be available at most systems (?). I was not able to find a
> > suitable replacement by now. How should I proceed?
> 
> Can we not use getgrent et al from grp.h? These are in POSIX.

I don't think so. getgrouplist() returns a list of all groups a specific
user is member of. getgrent() et al. work the other way round; they
return the members of a group. We must somehow implement the scanning
ourselves.

[PATCH RFC] Implement "id" 5 months ago

From Stefan Tatschner to ~sircmpwn/ctools

---

This should be a complete implementation of the "id" tool. I am not sure
what to do with the getgrouplist() function. It is not POSIX, but it
seems to be available at most systems (?). I was not able to find a
suitable replacement by now. How should I proceed?

 STATUS          |   2 +-
 doc/id.1.scd    |  50 ++++++
 doc/meson.build |   1 +
 meson.build     |   1 +
 src/id.c        | 431 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 484 insertions(+), 1 deletion(-)
 create mode 100644 doc/id.1.scd
[message trimmed]