RE: [Ircleech-devel] A few things...
Brought to you by:
ralinx
From: Jasmeet S. <JS...@lo...> - 2004-11-11 19:17:33
|
I was looking into the prioritizing the downloads. How does this sound: Add a new column to the ListView on the downloads page. This column will display the global priority number. Every package that has not started to download will have a number from 0...n. The mechanism will involve a method, something like GetNextPackageForDownload(), which will always be called when IrcLeech is ready to request download a file. This method will be incharge of respecting the priority system. Whenever we need to start a new download, we will request it from this method. Which will go and look at the priority queue and return the package with the highest priority. If the current number of downloads in progress is less than the number allowed, the system should get another package from the above mentioned method and so on.. We need to decide how to handle failures. Lets say a package has a priority 1. We request the download, and for some reason, bot down?, it fails. What do we do with that priority? Force it back to #1? Or RoundRobin style which will push it back to the last order?? If we force it back to the same priority.. Then we are gonna keep retrying the same pack that failed.. If a bot went down, then it may stay down for an unknown amount of time. It may never come back. If we limit the number of concurrent downloads to, say, 5. And five of my downloads are from different bots and they all went down. Then I will not download any new packs and keep trying to download from those 5.. This is a deadlock.. How do we handle this? RoundRobin? Then priority is useless because IRC is inherently unpredictable. The bot could be busy...or slow...then the package with the highest priority will drop down to the last priority incase the first attempt to download fails.. Am I making sense? After that, the Priority queue must be managed. We can accomplish this by adding another column to the ListView for the Downloads page. By selecting a package right clicking, a menu similar to the one which allows the removal of packages will appear. This new menu will be a submenu titled "Priority" which will have the following menu items: 1) Highest -> priority = 1 2) Higher -> priority = priority + 1 3) Other -> specify priority 4) Lower -> priority = priority -1 5) Lowest -> priority = n -----Original Message----- From: Davy Brion [mailto:ra...@gm...] Sent: Thursday, November 11, 2004 6:14 AM To: irc...@li... Subject: Re: [Ircleech-devel] A few things... no need to ease up as far as i'm concerned... if you can improve the UI, by all means go for it. i can understand that Duncan might go crazy trying to do the same things in his wxnet version, but the two versions don't _have_ to look identical :) On Thu, 11 Nov 2004 06:01:04 -0800, Jacob Slusser <jac...@ho...> wrote: > > > > > Doh! it's there now. > > I'm so retentive about UI's... I'm going to drive you all crazy. I'll > easy up a little. :) > > > >From: Davy Brion <ra...@gm...> > >Reply-To: irc...@li... > >To: irc...@li... > >Subject: Re: [Ircleech-devel] A few things... > >Date: Thu, 11 Nov 2004 10:29:12 +0100 > > > > > >you forgot to add the ErrorReportDialog.cs file to CVS :) > > > >On Wed, 10 Nov 2004 15:09:56 -0800, Jacob Slusser > ><jac...@ho...> wrote: > > > > > > > > > > > > > > > I have commited a few changes to the UI (including not maximizing > > > at startup). Also I've commited the "error report dialog" for you > > > all to > check > > > out. The actuall reporting part still has to be implemented and so > > > it is disabled on the form. Throw an exception and give it a try. > > > Feeback is welcome. > > > > > > I'm anxious to redo some of our main UI but I would like to get > > > the > input of > > > the group. The last thing we want is to go down the wrong rode > > > with the > UI. > > > What do you think needs to be done? Any applications that you > > > would > suggest > > > we model it after? Speak up. > > > > > > > > > > > > Jacob > > > > > > > > > >From: Jasmeet Sidhu <JS...@lo...> > > > >Reply-To: irc...@li... > > > >To: irc...@li... > > > >Subject: [Ircleech-devel] A few things... > > > >Date: Wed, 10 Nov 2004 13:29:26 -0800 > > > > > > > > > > > > > >First of all, I think adding comments is an excellent idea. > > > > > > > >A couple of things jumped right out at me: > > > > > > > >1) When IRCLeech starts, please don't force it into Maximized > > > >mode, > Normal > > > >is fine. How about a configurable option? > > > >2) Configurable parameters such as: > > > > a) Max # of concurrent downloads per bot > > > > b) Max # concurrent downloads at any given time > > > >3) Output from IRC Servers...Can we somehow display the > > > >communication between > > > > a) IrcLeech <-> IRC Server > > > > b) IrcLeech <-> XDCC Bot > > > >Maybe we can add something to the Status and Download forms? > > > >Clicking > on a > > > >server will open up a giant textbox that shows maybe the last 500 > > > >lines > or > > > >so? And clicking on a bot in the downloads queue should show the > > > >communication that has taken place between the XDCC bot and IRCLeech? > What > > > >do you guys think? I feel this is the biggest thing missing... I > > > >don't > want > > > >a complete irc interface.. Or what about simply logging to a text > file... > > > > > > > >Anyways, from the 2.0 TODO list, I've decided on the following: > > > >03) improved downloads functionality: > > > > 03.1) pausing downloads > > > > 03.2) prioritized downloads > > > > 03.3) opening completed downloads from within the > > > >application > > > > > > > >I'll be giving these three a lot of attention in the next few > > > >days, so > feel > > > >free to throw some ideas at me. > > > > > > > >Jasmeet > > > > > > > >-----Original Message----- > > > >From: Davy Brion [mailto:ra...@gm...] > > > >Sent: Wednesday, November 10, 2004 12:40 PM > > > >To: irc...@li... > > > >Subject: [Ircleech-devel] documentation > > > > > > > >Jasmeet brought up the issue of documentation, but unfortunately > > > >we > don't > > > >have any. If you guys want, i'd be willing to write XML comments > > > >in > the > > > >IrcLeechCore code so we can generate some nice technical > > > >documentation > from > > > >it. I guess it would definitely be usefull to all of us. > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.Net email is sponsored by: > > > >Sybase ASE Linux Express Edition - download now for FREE > > > >LinuxWorld > > > Reader's > > > >Choice Award Winner for best database on Linux. > > > >http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > > >_______________________________________________ > > > >Ircleech-devel mailing list > > > >Irc...@li... > > > >https://lists.sourceforge.net/lists/listinfo/ircleech-devel > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.Net email is sponsored by: > > > >Sybase ASE Linux Express Edition - download now for FREE > > > >LinuxWorld Reader's Choice Award Winner for best database on Linux. > > > >http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > > >_______________________________________________ > > > >Ircleech-devel mailing list > > > >Irc...@li... > > > >https://lists.sourceforge.net/lists/listinfo/ircleech-devel > > > > > > > > > ------------------------------------------------------- This SF.Net > email > > > is sponsored by: Sybase ASE Linux Express Edition - download now for > FREE > > > LinuxWorld Reader's Choice Award Winner for best database on Linux. > > > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > > > _______________________________________________ Ircleech-devel mailing > list > > > Irc...@li... > > > https://lists.sourceforge.net/lists/listinfo/ircleech-devel > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: > >Sybase ASE Linux Express Edition - download now for FREE > >LinuxWorld Reader's Choice Award Winner for best database on Linux. > >http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > >_______________________________________________ > >Ircleech-devel mailing list > >Irc...@li... > >https://lists.sourceforge.net/lists/listinfo/ircleech-devel > > > ------------------------------------------------------- This SF.Net email > is sponsored by: Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ Ircleech-devel mailing list > Irc...@li... > https://lists.sourceforge.net/lists/listinfo/ircleech-devel ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Ircleech-devel mailing list Irc...@li... https://lists.sourceforge.net/lists/listinfo/ircleech-devel |