9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] ndb doc patch
@ 2024-06-18 17:35 Romano
  2024-06-19 21:28 ` Jacob Moody
  0 siblings, 1 reply; 3+ messages in thread
From: Romano @ 2024-06-18 17:35 UTC (permalink / raw)
  To: 9front

Hello list,

At the end of last year I had a small patch
for ndb's man page. There was a bit of
discussion re: it in January ( https://inbox.vuxu.org/9front/39A39E500516DB6E2B4CE0BC27677DEF@eigenstate.org/ )
and I have tried to address Ori's suggestion
here: http://okturing.com/src/20100/body

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] ndb doc patch
  2024-06-18 17:35 [9front] ndb doc patch Romano
@ 2024-06-19 21:28 ` Jacob Moody
  2024-06-20  5:00   ` Romano
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob Moody @ 2024-06-19 21:28 UTC (permalink / raw)
  To: 9front

On 6/18/24 12:35, Romano wrote:
> Hello list,
> 
> At the end of last year I had a small patch
> for ndb's man page. There was a bit of
> discussion re: it in January ( https://inbox.vuxu.org/9front/39A39E500516DB6E2B4CE0BC27677DEF@eigenstate.org/ )
> and I have tried to address Ori's suggestion
> here: http://okturing.com/src/20100/body

I would probably much prefer to fix this than to document a bug.
If anything should change regarding this, it should be picking a
sensible maximum and then documenting it in ndb(6) as part of the
file specification. Not in ndb(8) as a bug of the implementation.

Thanks,
moody


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] ndb doc patch
  2024-06-19 21:28 ` Jacob Moody
@ 2024-06-20  5:00   ` Romano
  0 siblings, 0 replies; 3+ messages in thread
From: Romano @ 2024-06-20  5:00 UTC (permalink / raw)
  To: 9front

On Wed Jun 19 14:30:21 -0700 2024, moody@posixcafe.org wrote:
> On 6/18/24 12:35, Romano wrote:
> > Hello list,
> > 
> > At the end of last year I had a small patch
> > for ndb's man page. There was a bit of
> > discussion re: it in January ( https://inbox.vuxu.org/9front/39A39E500516DB6E2B4CE0BC27677DEF@eigenstate.org/ )
> > and I have tried to address Ori's suggestion
> > here: http://okturing.com/src/20100/body
> 
> I would probably much prefer to fix this than to document a bug.
> If anything should change regarding this, it should be picking a
> sensible maximum and then documenting it in ndb(6) as part of the
> file specification. Not in ndb(8) as a bug of the implementation.

Yeah, I that would be preferable but I thought at least documenting
the known behavior that could trip someone else would would be okay.

Instead of documenting tho', the attribute name should not be limited
to 32 bytes (and not silently truncated) but I'm not sure what a
sensible maximum is. The attribute values as far as I can tell will
happily consume as much memory as possible, and Ndbvlen (as Ori
pointed out) is just a starting default.

For the line parsing limitation of 8K, do you think that is
also something that should be fixed or something that is OK to
document as a limitation?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-20  5:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-18 17:35 [9front] ndb doc patch Romano
2024-06-19 21:28 ` Jacob Moody
2024-06-20  5:00   ` Romano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).