Thread View: news.software.nntp
15 messages
15 total messages
Started by Marcus Mönnig
Thu, 22 Nov 2001 01:38
Re: Announce: yEncoding - site with info has been created.
Author: Marcus Mönnig
Date: Thu, 22 Nov 2001 01:38
Date: Thu, 22 Nov 2001 01:38
21 lines
1885 bytes
1885 bytes
Eh, Juergen, I just played around with yEnc a bit and had to realize that character 12 (form feed) does not get escaped. This one is widely used as a spoiler character on Usenet, so clients will try to hide in between two of them or after one. I'd strongly suggest to put this one on the list characters to be escaped. Marcus -- Sometimes I lie awake at night, and I ask, "Where have I gone wrong?" Then a voice says to me, "This is going to take more than one night." -- Charlie Brown, "Peanuts" [Charles Schulz] -- A lady came up to me on the street and pointed to my suede jacket. "You know a cow was murdered for that jacket?" she sneered. I replied in a psychotic tone, "I didn't know there were any witnesses. Now I'll have to kill you too." -- Jake Johansen
Re: Announce: yEncoding - site with info has been created.
Author: J.B. Moreno
Date: Thu, 22 Nov 2001 04:41
Date: Thu, 22 Nov 2001 04:41
15 lines
1663 bytes
1663 bytes
In article <68e0b8ceb76a04b9%f2b875d8%dlg@40tude.net>, Marcus M�nnig <minibbjd@gmx.net> wrote: > Eh, Juergen, I just played around with yEnc a bit and had to realize that > character 12 (form feed) does not get escaped. This one is widely used as a > spoiler character on Usenet, so clients will try to hide in between two of > them or after one. I don't see how this is a problem -- if it's being displayed as text it will (as you say) modify what is displayed, but it should be OK when being decoded or saved. -- J.B Moreno
Re: Announce: yEncoding - site with info has been created.
Author: Marcus Mönnig
Date: Thu, 22 Nov 2001 12:40
Date: Thu, 22 Nov 2001 12:40
36 lines
3088 bytes
3088 bytes
On 21.11.01 23:41:05, J.B. Moreno wrote:
>> Eh, Juergen, I just played around with yEnc a bit and had to realize that
>> character 12 (form feed) does not get escaped. This one is widely used as a
>> spoiler character on Usenet, so clients will try to hide in between two of
>> them or after one.
>
> I don't see how this is a problem -- if it's being displayed as text it
> will (as you say) modify what is displayed, but it should be OK when
> being decoded or saved.
There should indeed be no problem with saving/decoding and only with
displaying. However, I don't think it's a good thing to show the user
something different than the original yEnc message. Say, she clipboard
copies the text from the display window of a reader without yEnc support to
somewhere else for decoding. Some readers visibly communicate that something
is hidden, but others don't, e.g. I am turning text ("This" -> "sihT")
embedded in spoiler chars. Easy to notice with real text, but you won't
notice with yEnc messages. Ok, you might say I choose a bad scheme, which
might in fact be true, but I am more referring to all clients here,
especially about those which won't have yEnc support.
A more important prob comes up when you think about how handling spoiler
chars is implemented in clients. A linefeed in an article was an unusual
thing before yEnc. With yEnc message you can expect one every 256 characters
(to be exact something like 265 or so, due to CRLF and escaped characters
with doubled width). For a rather small 32 KB file that makes about 120
spoiler chars. I'd like to see how different clients react to this when they
try to handle these spoiler chars. It might be a noticeable timing issues
for some clients.
Marcus
--
"And then we take the limit as x goes to infinity...AND BEYOND!"
-- Prof. Tom Hunter, Swarthmore Math Dept.
Re: Announce: yEncoding - site with info has been created.
Author: Marcus Mönnig
Date: Thu, 22 Nov 2001 12:53
Date: Thu, 22 Nov 2001 12:53
29 lines
2315 bytes
2315 bytes
On 22.11.01 10:03:28, The Archiver wrote: > I saw also Forte Agent using the FF characters as a delimiter between > messages when storing a bunch of them to disk. Perhaps some > program which read such output are also getting confused. If FF is the delimiter, "real" FF's inside messages must be escaped, so such programs should already handle this. > Could you please try to save the message to disk and check if that is > done properly ? In my reader? Well, I simply manually converted your testfile.txt example from the website to mbox format and imported it, which worked without problems, apart from an unrelated bug in my spoiler char handling, which was why I noticed the issue. > Displaying a yEncoded binary is not very instructive. > Future or update news-clients might want to hide the binary data between > =ybegin and =yend. Sure. Now that I know about yEnc I'll turn off the spoiler char handling, color coding and everything, but all this was a question of how many existing clients you want to break. ;-) Marcus -- Genetics: If your parents didn't have any children, neither will you.
Re: Announce: yEncoding - site with info has been created.
Author: Marcus Mönnig
Date: Thu, 22 Nov 2001 14:34
Date: Thu, 22 Nov 2001 14:34
15 lines
1718 bytes
1718 bytes
Yet another question. Is there any special reason why there are "=n"
expressions in your 00000005.ntx file? That should be a "." (char 46) with
no reason to encode. Or was that just for pointing out that decoding should
unescape all characters, not just the ones that need escaping.
Marcus
--
Future memory technologies:
HRAM (Hearsay RAM) - CPU talks to other CPUs and uses what they
all think the data is, instead of accessing the actual data (which may
be different).
-- bayko@borealis.cs.uregina.ca, in comp.arch
Re: Announce: yEncoding - site with info has been created.
Author: J.B. Moreno
Date: Thu, 22 Nov 2001 20:39
Date: Thu, 22 Nov 2001 20:39
48 lines
3619 bytes
3619 bytes
In article <3b1294e1684db69d%4640ddfc%dlg@40tude.net>,
Marcus M�nnig <minibbjd@gmx.net> wrote:
> On 21.11.01 23:41:05, J.B. Moreno wrote:
>
> >> Eh, Juergen, I just played around with yEnc a bit and had to
> >> realize that character 12 (form feed) does not get escaped. This
> >> one is widely used as a spoiler character on Usenet, so clients
> >> will try to hide in between two of them or after one.
> >
> > I don't see how this is a problem -- if it's being displayed as text it
> > will (as you say) modify what is displayed, but it should be OK when
> > being decoded or saved.
>
> There should indeed be no problem with saving/decoding and only with
> displaying. However, I don't think it's a good thing to show the user
> something different than the original yEnc message. Say, she clipboard
> copies the text from the display window of a reader without yEnc support to
> somewhere else for decoding. Some readers visibly communicate that something
> is hidden, but others don't, e.g. I am turning text ("This" -> "sihT")
> embedded in spoiler chars. Easy to notice with real text, but you won't
> notice with yEnc messages. Ok, you might say I choose a bad scheme, which
> might in fact be true, but I am more referring to all clients here,
> especially about those which won't have yEnc support.
Well, I won't say it's a bad scheme -- but I think it's a bad example.
Not many people will be decoding files by copying the text to the
clipboard instead of saving the text to a file. The only time I would
expect someone to do something like that would be when trying to manual
reassemble a multipart binary.
> A more important prob comes up when you think about how handling spoiler
> chars is implemented in clients. A linefeed in an article was an unusual
> thing before yEnc. With yEnc message you can expect one every 256 characters
> (to be exact something like 265 or so, due to CRLF and escaped characters
> with doubled width). For a rather small 32 KB file that makes about 120
> spoiler chars. I'd like to see how different clients react to this when they
> try to handle these spoiler chars. It might be a noticeable timing issues
> for some clients.
From my experience with malformed articles that contain a lot of FF
characters, I think it's unlikely to be a problem, but of course I
haven't used all of the clients that handle the spoiler char with such
articles.
--
J.B Moreno
Re: Announce: yEncoding - site with info has been created.
Author: Curt Welch
Date: Fri, 23 Nov 2001 04:00
Date: Fri, 23 Nov 2001 04:00
38 lines
3083 bytes
3083 bytes
"Marcus M�nnig" <minibbjd@gmx.net> wrote: > However, I don't think it's a good thing to show the user > something different than the original yEnc message. Say, she clipboard > copies the text from the display window of a reader without yEnc support > to somewhere else for decoding. That's not very likely to work. That's just one of the things you give up when you start sending data that is basically raw 8bit data. You have ^H, and ^G, and ^T (is that escaped in yEnd?) that is very likely to prevent a cut and past from a text window from working correctly on some clients. The whole point of UUENCODE/BASE64 was to convert binary to text so it could be treated like a text message - displyed, copied, edited, etc. If you give up the encoding and go with a raw 8bit format, you can't really expect the stuff to display correctly. > A more important prob comes up when you think about how handling spoiler > chars is implemented in clients. A linefeed in an article was an unusual > thing before yEnc. With yEnc message you can expect one every 256 > characters (to be exact something like 265 or so, due to CRLF and escaped > characters with doubled width). For a rather small 32 KB file that makes > about 120 spoiler chars. I'd like to see how different clients react to > this when they try to handle these spoiler chars. It might be a > noticeable timing issues for some clients. That's an interesting point. Just how do all the major clients react when you display huge yEnc messages? Some might have some real nasty side effects (like crashing, or hanging for hours). Can someone point me to a Message-ID of a large yEnc message that has been posted to Usenet? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Announce: yEncoding - site with info has been created.
Author: J.B. Moreno
Date: Fri, 23 Nov 2001 05:12
Date: Fri, 23 Nov 2001 05:12
48 lines
3226 bytes
3226 bytes
In article <20011122230056.393$fG@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > "Marcus M�nnig" <minibbjd@gmx.net> wrote: > > However, I don't think it's a good thing to show the user > > something different than the original yEnc message. Say, she clipboard > > copies the text from the display window of a reader without yEnc support > > to somewhere else for decoding. > > That's not very likely to work. That's just one of the things you give > up when you start sending data that is basically raw 8bit data. > You have ^H, and ^G, and ^T (is that escaped in yEnd?) that is very likely > to prevent a cut and past from a text window from working correctly on > some clients. The only characters encoded in yEnc are Nul, CR and LF and the equal sign which is used to indicate escaping is taking place. > The whole point of UUENCODE/BASE64 was to convert binary to text so it > could be treated like a text message - displyed, copied, edited, etc. > > If you give up the encoding and go with a raw 8bit format, you can't really > expect the stuff to display correctly. Right. > > A more important prob comes up when you think about how handling spoiler > > chars is implemented in clients. A linefeed in an article was an unusual > > thing before yEnc. [...] It might be a > > noticeable timing issues for some clients. > > That's an interesting point. Just how do all the major clients react when > you display huge yEnc messages? Some might have some real nasty side > effects (like crashing, or hanging for hours). > > Can someone point me to a Message-ID of a large yEnc message that has been > posted to Usenet? Message-ID: <Xns91603395BBF32mobilismobilecom@24.253.156.38> Message-ID: <Xns9160339D32514mobilismobilecom@24.253.156.38> Are the two parts of a 480k yencoded jpeg. As a data point YANW doesn't have any trouble with hundreds of spoiler chars in a text message. -- J.B Moreno
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Fri, 23 Nov 2001 10:36
Date: Fri, 23 Nov 2001 10:36
26 lines
2124 bytes
2124 bytes
"=?ISO-8859-1?Q?Marcus=20M=F6nnig?=" <minibbjd@gmx.net> wrote: >Yet another question. Is there any special reason why there are "=n" >expressions in your 00000005.ntx file? That should be a "." (char 46) with >no reason to encode. Or was that just for pointing out that decoding should >unescape all characters, not just the ones that need escaping. This topic is mentioned in the 'implementation notes'. The example files are older than these notes. I did encode the dot generally because it was very easy todo - and because it permits me to send such messages directly from file to various protocols (NNTP, HTTP, FTP, Databases) without any change. My lastest implementation in MyNews does encode the '.' only in the first column. But I want to keep some notes about the dot in the yEnc spec - simply because newbie programmers will make the same mistakes if they create a yEncoded message and transmit it 1 by 1 over NNTP. -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: Kjetil Torgrim Homme
Date: Sat, 24 Nov 2001 00:51
Date: Sat, 24 Nov 2001 00:51
25 lines
2184 bytes
2184 bytes
[The Archiver] > I did encode the dot generally because it was very easy todo - and > because it permits me to send such messages directly from file to > various protocols (NNTP, HTTP, FTP, Databases) without any change. > My lastest implementation in MyNews does encode the '.' only in > the first column. Instead of escaping it, you can adjust the length of the preceding line :-) It's a win when there are less than 64 dots in a row... You could just as well leave the dot stuffing to the news clients and servers (except when the dot is all alone on a line, of course, but this can only happen when it is the last byte). > But I want to keep some notes about the dot in the yEnc spec - > simply because newbie programmers will make the same mistakes if > they create a yEncoded message and transmit it 1 by 1 over NNTP. Yes. -- Kjetil T. abusing standards for the greater good http://www.microsoft.com:products@3333866552/
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Sat, 24 Nov 2001 09:09
Date: Sat, 24 Nov 2001 09:09
21 lines
1927 bytes
1927 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >> My lastest implementation in MyNews does encode the '.' only in >> the first column. > >Instead of escaping it, you can adjust the length of the preceding >line :-) It's a win when there are less than 64 dots in a row... I dont understand this method. >You could just as well leave the dot stuffing to the news clients and >servers (except when the dot is all alone on a line, of course, but >this can only happen when it is the last byte). I think there is no difference in the handling between a single dot in a line and a dot in the first column of a longer line. -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: Kjetil Torgrim Homme
Date: Sat, 24 Nov 2001 21:38
Date: Sat, 24 Nov 2001 21:38
43 lines
2569 bytes
2569 bytes
[The Archiver] > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > > >> My lastest implementation in MyNews does encode the '.' only in > >> the first column. > > > >Instead of escaping it, you can adjust the length of the preceding > >line :-) It's a win when there are less than 64 dots in a row... > > I dont understand this method. If you have dhdhdhdhdh datatatata .datatatad you can send it as dhdhdhdhdh datatatat a.datatatad This only breaks down when the preceding line has a long sequence of dots. > >You could just as well leave the dot stuffing to the news clients and > >servers (except when the dot is all alone on a line, of course, but > >this can only happen when it is the last byte). > > I think there is no difference in the handling between a single > dot in a line and a dot in the first column of a longer line. I don't understand what you are saying. News servers will only escape dots which occur as the first character of a line. They will do this by doubling it. This expansion is just as efficient as the expansion done by yEnc, unless you use my trick to avoid it. -- Kjetil T. abusing standards for the greater good http://www.microsoft.com:products@3333866552/
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Sun, 25 Nov 2001 08:14
Date: Sun, 25 Nov 2001 08:14
31 lines
2140 bytes
2140 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >> >Instead of escaping it, you can adjust the length of the preceding >> >line :-) It's a win when there are less than 64 dots in a row... >> >> I dont understand this method. > >datatatata >..datatatad > >datatatat >a.datatatad Thanks for the example. I understand this now. yEnc is also operating with a fixed line length - which can be easily checked for corrupt lines. So it does not permit to fold lines at positions depending on content. >I don't understand what you are saying. News servers will only escape >dots which occur as the first character of a line. They will do this >by doubling it. This expansion is just as efficient as the expansion >done by yEnc, unless you use my trick to avoid it. I made a wrong conclusion. You are right. -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: Kjetil Torgrim Homme
Date: Sun, 25 Nov 2001 20:17
Date: Sun, 25 Nov 2001 20:17
18 lines
1999 bytes
1999 bytes
[The Archiver] > yEnc is also operating with a fixed line length - which can be > easily checked for corrupt lines. So it does not permit to fold > lines at positions depending on content. This isn't very clear in the draft: "The CRLF-overhead for every line depends on the (flexible) line size [...]" "yEncode adds ALWAYS the typical size of a line," I really don't think you need this check as well as a CRC check, but then the CRC check is optional. Oh well. -- Kjetil T. abusing standards for the greater good http://www.microsoft.com:products@3333866552/
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Mon, 26 Nov 2001 08:35
Date: Mon, 26 Nov 2001 08:35
51 lines
3341 bytes
3341 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >> yEnc is also operating with a fixed line length - which can be >> easily checked for corrupt lines. So it does not permit to fold >> lines at positions depending on content. > >This isn't very clear in the draft: > >"The CRLF-overhead for every line depends on the (flexible) line size >[...]" "yEncode adds ALWAYS the typical size of a line," Please apologize for my bad English. The '=ybegin' line contains the parameter: line=128 (or 'line=64' or 'line=999'). This is the length of a line in the yEncoded data section. This 'line-length' permits to detect corrupt messages. Th "flexible line size" wanted to say that encoders can choose to create shorter or longer lines. The reason for adding the 'line' parameter has been flexibility, error-detection and future expansion: Today only 80 characters per line are 'standard' on the Usenet. We dont know what line length will be the best for the future. So I made the line length 'flexible' (variable) - but it is still a part of the header. >I really don't think you need this check as well as a CRC check, but >then the CRC check is optional. Oh well. You are right. But there have been two other things in my mind: The CRC check is not (yet) mandantory (and not perfect). The line size permits even to find the defective line - and perhaps the reason _why_ a messages was destroyed. Until yesterday it was nearly impossible to find out which hosts (or transmissions) are responsible for corrupt messages. All standards rely on perfection of hosts and protocols. (LOL - even semiconductors have an error-rate !) yEnc permits the users to _verify_ the correctness. And it would even permit the hosts to find out corrupt messages, reject them and try to receive a good copy from another source. (I know that the host could perhaps not do this itself - because it is very busy - but another computer could do this). -- The Archiver
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads