Re: Tables in Gemini

Liste des GroupesRevenir à ci gemini 
Sujet : Re: Tables in Gemini
De : not (at) *nospam* telling.you.invalid (Computer Nerd Kev)
Groupes : comp.infosystems.gemini
Date : 24. Jul 2024, 00:03:26
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <66a036be@news.ausics.net>
References : 1 2
User-Agent : tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
sean@conman.org wrote:
 Here's an entry of mine with several tables:
 
       gemini://gemini.conman.org/boston/2024/06/23.2
 
 I'm using a pre-text block to display the table, each row is one line,
each column separated by a TAB.  The first line, starting with "Table:", is
a table description.  The header and footer is separated by a line of
'----'.  Easy to hand write, and even easier to generate.

Not to argue against that being a better format (I like TSV data
too), but if it's supposed to be readable without special handling
by the client already, that isn't working for me. My tab spacing is
set to, I think a fairly typical, eight character width. As such it
looks like the second column heading is "cumulative" and the third
is "seconds", since the column below is most closely aligned with
that word.

 But an even easier format:  I'll make a copy of one of the tables in a
possible Gemini table format:
 
``` Table: port70 (gopher server)???Each sample counts as 0.01 seconds.
*% time *cumulative seconds     *self seconds   *calls  *self seconds   *ms/call        *total ms/call  *name
13.79   0.04    0.04    185781  0.00    0.00    luaV_execute
10.34   0.07    0.03    734588  0.00    0.00    index2value
[snip]

Though the '*' characters now inadvertently make headings clearer
to a human reader, you can see the issue now that tabs in your
table have been converted to eight-character spacing. I'd suggest
that for display in clients that don't understand TSV tables, you
also convert tabs to space-aligned text using your preferred tab
width before posting them.

--
__          __
#_ < |\| |< _#

Date Sujet#  Auteur
19 Jul 24 * Tables in Gemini19Namno
19 Jul 24 +* Re: Tables in Gemini11John McCue
20 Jul 24 i+- Re: Tables in Gemini1Ivan Farlenkov
21 Jul 24 i`* Re: Tables in Gemini9Rene Kita
21 Jul 24 i +* Re: Tables in Gemini7John McCue
22 Jul 24 i i+* Re: Tables in Gemini5rek2 hispagatos
22 Jul 24 i ii+* Re: Tables in Gemini2yeti
24 Aug 24 i iii`- Re: Tables in Gemini1Davinci
24 Jul 24 i ii+- Re: Tables in Gemini1John McCue
31 Jul 24 i ii`- Re: Tables in Gemini1Chris Narkiewicz
23 Jul 24 i i`- Re: Tables in Gemini1oldernow
7 Aug 24 i `- Re: Tables in Gemini1jmcbray
23 Jul 24 +* Re: Tables in Gemini2sean
24 Jul 24 i`- Re: Tables in Gemini1Computer Nerd Kev
30 Jul 24 +* Re: Tables in Gemini4news
7 Aug 24 i+- Re: Tables in Gemini1jmcbray
17 Aug 24 i`* Re: Tables in Gemini2Ivan Farlenkov
17 Aug 24 i `- Re: Tables in Gemini1jmcbray
6 Dec 24 `- Re: Tables in Gemini1Christopher Howard

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal