Thread View: news.software.nntp
16 messages
16 total messages
Started by ��w� ��t ����
Thu, 21 Mar 2002 01:19
How to post yEnc? PowerPost2000 no good??
Author: ��w� ��t ����
Date: Thu, 21 Mar 2002 01:19
Date: Thu, 21 Mar 2002 01:19
3 lines
1152 bytes
1152 bytes
Hi I like PowerPost2000 but got the new version to post with yEnc, and have been told it doesn't actually post yEnc and that I shouldn't use it. Well what should I use?
Re: How to post yEnc? PowerPost2000 no good??
Author: Joe Newsreader
Date: Thu, 21 Mar 2002 11:36
Date: Thu, 21 Mar 2002 11:36
20 lines
2085 bytes
2085 bytes
On Thu, 21 Mar 2002 06:01:26 GMT, lordsnow@home.nl (=-lordsnow-=) wrote: > >> Hi I like PowerPost2000 but got the new version to post with yEnc, and have been told it doesn't actually post yEnc and that I shouldn't use it. >> Well what should I use? > >The first verson of PP2000 released with yEnc support was broken. > >If you inspect any files it encodes you'll see that it calculates >wrong crc32 values. > >I think the latest version fixes this? It still seems to have (at least) one questionable behviour: It generates the extra yenc info for multipart, even if the attachment is being posted in a single part. Joe
Re: How to post yEnc? PowerPost2000 no good??
Author: Joe Newsreader
Date: Fri, 22 Mar 2002 00:48
Date: Fri, 22 Mar 2002 00:48
33 lines
2395 bytes
2395 bytes
On Thu, 21 Mar 2002 22:03:25 GMT, lordsnow@home.nl (=-lordsnow-=) wrote: > >> >The first verson of PP2000 released with yEnc support was broken. >> > >> >If you inspect any files it encodes you'll see that it calculates >> >wrong crc32 values. >> > >> >I think the latest version fixes this? > >> It still seems to have (at least) one questionable behviour: >> It generates the extra yenc info for multipart, even if the >> attachment is being posted in a single part. >> >> Joe > >That's right. > >The latest yEnc draft (v1.3) permits this though. > >Kinda makes sense to allow this (read, encourage it) - that way all >parts are equal, and can be treated the same way. (Instead of a whole >load of IF ... THEN ... ). > > > Bas Ruiter OK, I see the logic of that. Too bad we ended up with two yenc "header" lines and two "trailer" lines. Joe
Re: How to post yEnc? PowerPost2000 no good??
Author: bill davidsen
Date: Tue, 30 Jul 2002 20:17
Date: Tue, 30 Jul 2002 20:17
23 lines
2337 bytes
2337 bytes
In article <3c9d57fa.2809690@news>, =-lordsnow-= <lordsnow@home.nl> wrote: | Kinda makes sense to allow this (read, encourage it) - that way all | parts are equal, and can be treated the same way. (Instead of a whole | load of IF ... THEN ... ). Unfortunately not all parts are equal, at least in size. why anyone would write a file in N parts and not make them each 1/Nth of the data escapes me. Having N-1 max size posts and one little one, which is common, seems to be a great way to either have sites drop the big ones for oversize, or apply different expiry policies to the odd part. That's not limited to yEnc, just a common problem I've seen. I wrote a little poster in perl once, and it addressed this, in all of one line of code as I recall. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Programming without software engineering is like sculpting with a chain saw. The very talented can produce a work of art, the mediocre wind up with a misshapen lump in a pile of rubble, and in neither case does the end result have more than a passing resemblance to the original intent.
Re: How to post yEnc? PowerPost2000 no good??
Author: Juergen Helbing
Date: Wed, 31 Jul 2002 07:57
Date: Wed, 31 Jul 2002 07:57
27 lines
1768 bytes
1768 bytes
davidsen@tmr.com (bill davidsen) wrote: >Unfortunately not all parts are equal, at least in size. why anyone >would write a file in N parts and not make them each 1/Nth of the data >escapes me. In case of yEnc it is hard to determine the size of parts without making two passes. This is negligable on small binaries (pics) but slow on huge movies (500 MB). >Having N-1 max size posts and one little one, which is >common, seems to be a great way to either have sites drop the big ones >for oversize, or apply different expiry policies to the odd part. If you are posting 1000 parts with each 500 kB then the difference to have "all same size parts" would result in ~ 498 kB. And a news-server which is treating messages differently by "size" instead of detecting that a "small last part" belongs to a huge multipart message has a design problem. HTH -- Juergen
Re: How to post yEnc? PowerPost2000 no good??
Author: Joe Greco
Date: Wed, 31 Jul 2002 20:05
Date: Wed, 31 Jul 2002 20:05
43 lines
2865 bytes
2865 bytes
In news.software.nntp article <42579.v72201@archiver.winews.net>, archiver@i3w.com (Juergen Helbing) wrote: :And a news-server which is treating messages differently by "size" :instead of detecting that a "small last part" belongs to a huge multipart :message has a design problem. I would have to agree that a news server that accepts yEnc posted crap has a design problem. <FLAME> I would further have to submit that any idiot who designs an encoding protocol and fails to consider that most news servers and admins attempt to manage traffic by article size just deserves a Inept Software Designer Of The Year award. And when said stupid software author then attempts to blame the result of this design deficiency on the servers which existed long before his crap protocol, well, said software author deserves to be run over by Gene Spafford's Herd of Elephants. It is NOT hard to determine the size of a file prior to splitting it. In UNIX, it's stat. In DOS, it's something else I think. The algorithm is REAL simple: Find file size Divide by maximum component part size This gives you N Divide file size by N I've seen first year CS students who write more complex code than that. Come to think of it, I've seen first year CS students who write better code than you. And speaking of which, I would fire anyone who used goto in C code without a Really Damn Good Reason. Have a great day. Your protocol sucks, your attitude sucks, your coding skills suggest you are not even competent to use an adding machine, and you have unleashed a blight on USENET worse than anything else I can think of, so you suck too. </FLAME> Definitely speaking for the company, ... JG
Re: How to post yEnc? PowerPost2000 no good??
Author: Juergen Helbing
Date: Thu, 01 Aug 2002 07:46
Date: Thu, 01 Aug 2002 07:46
47 lines
2719 bytes
2719 bytes
jgreco@ns.sol.net (Joe Greco) wrote: >I would further have to submit that any idiot who designs an encoding >protocol and fails to consider that most news servers and admins attempt >to manage traffic by article size just deserves a Inept Software Designer >Of The Year award. This is not a question of encoding protocols - but the basic design how to split a message into multiparts. You might consider that >90% of all splitted messages (UUenc/Base64/yEnc) are encoded the way that a constant amount of source data is encoded per part - and the rest is sent out as the final part. There are news-server which detect multiparts - and expire them differently. For yEnc the multipart detection is easy because (similar to MIME+Base64) it specifies the number of part in each message. Just a handful of clients is calculating the size of the parts "to equal part size". Most posting software permits the user to set the "segment size" per message. You have a lot of fun explaining a user why you are sending out 4950 lines per part when he specified 5000. btw.: The question of "equal size parts" is AFAIR discussed in the yEnc-implementation notes. And it is not the job of yEnc to specify a general "how to post binaries to Usenet". >Have a great day. Your protocol sucks, your attitude sucks, your coding >skills suggest you are not even competent to use an adding machine, and >you have unleashed a blight on USENET worse than anything else I can >think of, so you suck too. Thanks for these fine compliments. I've got a lot of such comments in the last year. :-) There is no "yEnc-RFC" yet. There are people who want a "better method". Join them - and make it better. Proof that your flames are based on knowledge and ability. Until then: yEnc rules the Usenet. -- Juergen
Re: How to post yEnc? PowerPost2000 no good??
Author: Goran Larsson
Date: Thu, 01 Aug 2002 13:46
Date: Thu, 01 Aug 2002 13:46
12 lines
1444 bytes
1444 bytes
In article <10469.182201@archiver.winews.net>, Juergen Helbing <archiver@i3w.com> wrote: > Until then: yEnc rules the Usenet. You can also say: SPAM rules the Usenet. Both are bad ideas, popular with few, and annoying for most. -- G�ran Larsson http://www.mitt-eget.com
Re: How to post yEnc? PowerPost2000 no good??
Author: Joe Greco
Date: Thu, 01 Aug 2002 14:35
Date: Thu, 01 Aug 2002 14:35
80 lines
4546 bytes
4546 bytes
In news.software.nntp article <10469.182201@archiver.winews.net>, archiver@i3w.com (Juergen Helbing) wrote: :jgreco@ns.sol.net (Joe Greco) wrote: : :>I would further have to submit that any idiot who designs an encoding :>protocol and fails to consider that most news servers and admins attempt :>to manage traffic by article size just deserves a Inept Software Designer :>Of The Year award. : :This is not a question of encoding protocols - but the basic design :how to split a message into multiparts. Yeah. It's simple. An idiot could do it. You didn't do it. Which puts you at lower-than-idiot on the scale. :You might consider that >90% of all splitted messages :(UUenc/Base64/yEnc) are encoded the way that a constant amount :of source data is encoded per part - and the rest is sent out :as the final part. And it's just stupid, because of the well known problem we're discussing. Regardless, rather than try to actually do something to fix the problem, you followed the crowd. :There are news-server which detect multiparts - and expire them :differently. For yEnc the multipart detection is easy because :(similar to MIME+Base64) it specifies the number of part :in each message. Oh, that's dandy. Do you have any idea just how busy a large server is? My transit servers are busy pushing around a few hundred megabits of traffic. They're NOT going to be trying to play "assemble-the- multipart-so-we-can-decide-that-these-parts-all-go-together". You're trying to claim that it's the server's fault for not doing this. Well, I'm not aware of ANY full feed transit server that does, and whatever crap news-server you're referring to doesn't impress me. Note that I'm a principal developer behind Diablo so watch your mouth before you shoot it off. :Just a handful of clients is calculating the size of the parts :"to equal part size". Just proves that there are smart people in the world. :Most posting software permits the user to set the "segment size" :per message. You have a lot of fun explaining a user why you :are sending out 4950 lines per part when he specified 5000. One paragraph of explanation. :btw.: The question of "equal size parts" is AFAIR discussed :in the yEnc-implementation notes. And it is not the job of yEnc :to specify a general "how to post binaries to Usenet". Oh, it isn't? I thought that's what yEnc was all about. Because it sure sounds to me like yEnc is "Screw you all, I'm not going to listen to any advice, and I'm just going to create a new defacto standard for posting binaries to USENET without any regard for the consequences." :>Have a great day. Your protocol sucks, your attitude sucks, your coding :>skills suggest you are not even competent to use an adding machine, and :>you have unleashed a blight on USENET worse than anything else I can :>think of, so you suck too. : :Thanks for these fine compliments. :I've got a lot of such comments in the last year. :-) It's refreshing to know others think you're an idiot too. :There is no "yEnc-RFC" yet. :There are people who want a "better method". :Join them - and make it better. :Proof that your flames are based on knowledge and ability. :Until then: yEnc rules the Usenet. Wow. You're worse scum than Karl Denninger. You'd probably get along fabulously with him though. ... JG
Re: How to post yEnc? PowerPost2000 no good??
Author: Juergen Helbing
Date: Fri, 02 Aug 2002 04:38
Date: Fri, 02 Aug 2002 04:38
72 lines
3426 bytes
3426 bytes
jgreco@ns.sol.net (Joe Greco) wrote: >:There are news-server which detect multiparts - and expire them >:differently. For yEnc the multipart detection is easy because >:(similar to MIME+Base64) it specifies the number of part >:in each message. > >Oh, that's dandy. Do you have any idea just how busy a large server >is? Yes. >My transit servers are busy pushing around a few hundred megabits >of traffic. They're NOT going to be trying to play "assemble-the- >multipart-so-we-can-decide-that-these-parts-all-go-together". So you are looking for a proper method how to find out multiparts on a transit server. You want to remove them from spools which dont want multiparts - or long binaries. For yEncoded messages you can execute a simply job: The "=ybegin" line contains the size=<numeric filesize> This size (in bytes) permits you to detect properly how large the entire binary message is - splitted or unsplitted. This size value is identical in all parts of a splitted yEnc message - even in the last (smaller) part. So yEnc permits to find out _easily_ how large a splitted message would be in total. For UUenc and MIME/Base64 this is far more difficult. But attacking yEnc for being a poor encoding when it even offers a solution for your problem is hard to understand. >You're >trying to claim that it's the server's fault for not doing this. Well, >I'm not aware of ANY full feed transit server that does, and whatever >crap news-server you're referring to doesn't impress me. AFAIR the supernews.com server is one of those who expires multiparts earlier than other messages. I'm sure that Jeremy Nixon has an efficient way to detect mutliparts properly. Perhaps he has some ideas for you - for UU/Base64. >Note that I'm a principal developer behind Diablo so watch your mouth >before you shoot it off. Pleased to meet you. I am the creator of MyNews. But your aggressivity is hard to understand. If you have new requirements to binary postings - and using "same size" for all parts of a multipart is a new requirement - then feel free to make a regular proposal. Tell us why you need such a feature - and ask the writers of posting software to implement your feature. As I said before: There is yet no "RFC" for yEnc - and there is no official "How to post Binaries to Usenet". Your proposal could be added to both docs. But a flame wont find its way into them. -- Juergen ---------------------------- Next reply takes 9 days.
Re: How to post yEnc? PowerPost2000 no good??
Author: Wolfgang Schelongowski
Date: Fri, 02 Aug 2002 16:09
Date: Fri, 02 Aug 2002 16:09
19 lines
1674 bytes
1674 bytes
In <3d48431b$0$1427$39de8f09@news.sol.net> jgreco@ns.sol.net (Joe Greco) writes: ><FLAME> ... > And speaking of which, I would fire anyone who used >goto in C code without a Really Damn Good Reason. ... </FLAME> Thanks a lot. You see, it's been horribly amazing to see all those young whippersnappers making the same mistakes pointed out thirty years ago in the only important book about programming, Weinberg's "The Psychology of Computer Programming", again, and again, and again, ..., like a needle stuck in a vinyl record. -- "Some people are heroes. And some people jot down notes." -- Terry Pratchett, The Truth
Re: How to post yEnc? PowerPost2000 no good??
Author: Simon Lyall
Date: Sun, 04 Aug 2002 08:29
Date: Sun, 04 Aug 2002 08:29
26 lines
2534 bytes
2534 bytes
Juergen Helbing <archiver@i3w.com> wrote: > jgreco@ns.sol.net (Joe Greco) wrote: >>My transit servers are busy pushing around a few hundred megabits >>of traffic. They're NOT going to be trying to play "assemble-the- >>multipart-so-we-can-decide-that-these-parts-all-go-together". > So you are looking for a proper method how to find out > multiparts on a transit server. You want to remove them > from spools which dont want multiparts - or long binaries. You seem a little confused. A Transit server is used to exchange feeds between other servers, it commonly has very little spool. One of my transit servers (nntp-relay.ihug.net) has just two 70MB RAMdisks for it's spool. These keep news only for around 5 minutes and I don't have large binaries on this machine. I'm amazed that you say your posting software can't find the overall size for the binary when you post it but you expect every news server in the world to open up every small article on the offchance they might be part of some multipart binary. -- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz Senior Network/System Admin | Postmaster | Home: simon@darkmere.gen.nz ihug, Auckland, NZ | Asst Doorman | Web: http://www.darkmere.gen.nz
Re: How to post yEnc? PowerPost2000 no good??
Author: Joe Greco
Date: Sun, 04 Aug 2002 18:42
Date: Sun, 04 Aug 2002 18:42
110 lines
5530 bytes
5530 bytes
In news.software.nntp article <41386.282200@archiver.winews.net>, archiver@i3w.com (Juergen Helbing) wrote: :jgreco@ns.sol.net (Joe Greco) wrote: :>Oh, that's dandy. Do you have any idea just how busy a large server :>is? : :Yes. I don't think you do. :>My transit servers are busy pushing around a few hundred megabits :>of traffic. They're NOT going to be trying to play "assemble-the- :>multipart-so-we-can-decide-that-these-parts-all-go-together". : :So you are looking for a proper method how to find out :multiparts on a transit server. You want to remove them :from spools which dont want multiparts - or long binaries. Transit servers have nothing to do with spools. You don't have any idea how this all works, do you. :For yEncoded messages you can execute a simply job: : :The "=ybegin" line contains the size=<numeric filesize> :This size (in bytes) permits you to detect properly :how large the entire binary message is - splitted :or unsplitted. This size value is identical in all parts :of a splitted yEnc message - even in the last (smaller) :part. : :So yEnc permits to find out _easily_ how large a splitted :message would be in total. : :For UUenc and MIME/Base64 this is far more difficult. : :But attacking yEnc for being a poor encoding when it even :offers a solution for your problem is hard to understand. Actually, again, you have no clue. The fact is, most of the major transit platforms don't have ANY code to do any sort of analysis of message contents as they are shoved around the globe. The one that I know of that does is Diablo, and it is there /because/I/put/it/there/. Again, though, you're trying to shovel off your own stupidity on transit admins. Break files up into equal sized chunks and the commonly enforced administrative policy works. Don't go expecting transit policies and software to change just because you're a wanker who can't code worth crap. :>You're :>trying to claim that it's the server's fault for not doing this. Well, :>I'm not aware of ANY full feed transit server that does, and whatever :>crap news-server you're referring to doesn't impress me. : :AFAIR the supernews.com server is one of those who expires :multiparts earlier than other messages. I'm sure that Jeremy :Nixon has an efficient way to detect mutliparts properly. :Perhaps he has some ideas for you - for UU/Base64. Perhaps he took the code I wrote for Diablo many years ago. Go stuff your foot in your mouth some more. :>Note that I'm a principal developer behind Diablo so watch your mouth :>before you shoot it off. : :Pleased to meet you. I am the creator of MyNews. :But your aggressivity is hard to understand. Oh, no it's not. You're despised by the community for being a damn antisocial retard with no idea how to work well with the community when making changes that affect the fundamental operations of many sites. I'm a well known hothead who is well known for making his opinion known. :If you have new requirements to binary postings - and using :"same size" for all parts of a multipart is a new requirement :- then feel free to make a regular proposal. :Tell us why you need such a feature - and ask the writers of :posting software to implement your feature. Hell, *I* don't need it. I just said you're a rube for trying to direct the blame away from yourself and expecting others to work around your shortcomings. As the author of the crapware in question, it was YOUR responsibility to figure out a set of requirements that would make things work better and eliminate existing problems. You clearly didn't bother. :As I said before: There is yet no "RFC" for yEnc - and there is :no official "How to post Binaries to Usenet". :Your proposal could be added to both docs. :But a flame wont find its way into them. I highly doubt there'll be an actual RFC for yEnc. The whole concept behind RFC's is the solicitation of comments, so that a protocol can be made more robust and better serve the community. You're clearly not interested in either aspect, so I am going to laugh at the suggestion that you're actually going to post an RFC. :-- :Juergen :---------------------------- :Next reply takes 9 days. Make it 4e4 days. ... JG
Re: How to post yEnc? PowerPost2000 no good??
Author: Jeffrey M. Vinocur
Date: Mon, 05 Aug 2002 01:27
Date: Mon, 05 Aug 2002 01:27
36 lines
2590 bytes
2590 bytes
In article <3hfrkuc774pd7jg1hncgm07okgigvd9tru@4ax.com>, > >I don't want to get in the middle of a flame-war, but I *am* curious, so >could someone please tell me what the advantages are of having all the >parts exactly the same size? Consider a server which does not carry a full feed, and in fact the admin has asked his peers not to relay articles greater than some size limit. If a binary is posted with most of the parts are some fixed maximum size, and the last part sized as whatever remains, then there's a chance that last part will make it onto the server in question even though the other parts were too large. But without all of the other parts, the last part is useless. So it would be nice not to waste effort on that last part. There are two ways for this to happen: - Every server can attempt an analysis of the content of all posts to determine which are parts of a larger binary, and only send one part if all of the parts are eligible. This is, in my opinion, crazy. For one thing, it requires waiting for all of the parts to arrive before making the decision, ignoring the computational requirements that a fullfeed server doesn't have time for. - If a binary is posted with all parts the same size, then either all of them will make it to the server, or none will. This requires trivial effort from the posting software, and no effort at all from the server. -- Jeffrey M. Vinocur jeff@litech.org
Re: How to post yEnc? PowerPost2000 no good??
Author: Joe Greco
Date: Tue, 06 Aug 2002 02:10
Date: Tue, 06 Aug 2002 02:10
94 lines
5311 bytes
5311 bytes
In news.software.nntp article <aikkad$q9u$1@puck.litech.org>, jeff@litech.org (Jeffrey M. Vinocur) wrote: :- If a binary is posted with all parts the same size, then either : all of them will make it to the server, or none will. This : requires trivial effort from the posting software, and no : effort at all from the server. It may even be somewhat more than trivial effort from the posting software, but the key concept here is that it is better to have one machine (the source) pay the price and not have all the servers on the planet trying to duplicate the effort after the fact. The task of trying to track binary parts after the fact would be a HUGE computational challenge, and require VAST amounts of CPU time, compared to the relatively simple act of breaking it up up-front when the size is easy for the posting software to determine. The parts may not even be *exactly* the same size, but ideally you want to fluctuate by only a few bytes at the most (encoding noise). This is trivial to do, too (unlike having all the servers on the planet try to figure it out after the fact). That's why Numbnuts Helbing is getting the crap flamed out of him. The algorithm is simply: Get a desired part size from the user (let's say 500,000 bytes). Take the result data, that is, to say, the data in its encoded form, and look at its size (let's say this is 34,713,221 bytes). Divide the data size and divide by the part size (34,713,221 / 500,000 = 70, rounded up) Divide the data size by THAT number, which is 495,903. Post all parts using that size. If there's a leftover byte or two, shove it in the last part. Now, here's how this differs from what Numbnuts has blessed us with: If you do a simple-split into 500,000 byte chunks, you get 69 chunks of 500,000 bytes and a remaining last chunk of 213,221 bytes. MANY news admins tell their upstreams something like "Do not feed me posts larger than 250KB". For those sites, the site will receive the last part of the post, but none of the other parts, because of the size restriction. For those same sites, if the data had been equally split, no parts would show up - no waste. Now, perhaps this concept really _is_ as difficult to grasp as Numbnuts would have us believe, but I'm guessing that this is not the case. Now, looking at this from an efficiency point of view: For the news transit software, if the data is split into equal sizes, the decision to send is a simple integer numeric comparison. Your modern machine can do a billion of these every second, or thereabouts. All modern news software supports this. It requires a little extra work from the posting software and a few additions, divisions, etc on top of that. If we were to implement Helbing's Vision, it would require that each transit server build up correlations between articles and keep a complex database about what had and had not been seen. This is further complicated by the fact that many transit servers have small spools, and may not _ever_ have all the parts on the spool simultaneously - my own transit servers have perhaps 100GB of spool space, and so if one part arrives half a day late, our buddy Helbing would have me discard the post as incomplete, because by the time the straggler arrives, the others are gone already. But it makes it easier for the posting software. This is clearly a case where a little work up front is the best possible option. It makes things work right, it works with our existing software and infrastructure, and there's no reason that a NEWLY INTRODUCED protocol like yEnc couldn't have taken this into consideration. I have no problem with the idea of a new way to post binaries. I'm happy to give some good advice, as someone who's been doing this on a large scale for quite some time. But Helbing is doing more damage than good, because he's not receptive to feedback, and just Went And Did His Own Thing. Jeremy Nixon has tackled the problem and has reached some useful and interesting conclusions. ... JG
Re: How to post yEnc? PowerPost2000 no good??
Author: Juergen Helbing
Date: Mon, 12 Aug 2002 07:08
Date: Mon, 12 Aug 2002 07:08
32 lines
1660 bytes
1660 bytes
jgreco@ns.sol.net (Joe Greco) wrote: >Break files up into equal sized chunks >and the commonly enforced administrative policy works. Breaking up files into equal sized chucks is a new requirement to all posting programs and most newsreader which permit sending multipart binaries. This does not only apply to yEnc but also to all other (3) commonly used encodings. So a more general approach is necessary to fulfill your requirement. I've sent a proposal for "equal size parts" to USEFOR. Perhaps that issue is important for the admins. >:Next reply takes 9 days. Well, I was on vacation for some days. >Make it 4e4 days. Nice idea. Its not easy to answer you. -- Juergen
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