Search found 374 matches

by sarf
2003-03-05 17:20
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 45730

[snip] Hmm. Well, we definitely need to be able to return hashes with $Search results sometime, to get the hash to passive clients. Or do we? I suppose a passive user might be the only one of many sources of a specific file online at a given time, and you need the hash from him/her to add it to you...
by sarf
2003-03-05 16:41
Forum: Programmer's Help
Topic: Search Question
Replies: 8
Views: 4027

Ok I found where theproblem is: if(aResults.size() >= maxResults) { where maxResult is what i was looking for; BUT i still cannot understand where maxResult is inizialized... This is where arnes code gets a wee bit cryptic... you see, maxResults is a parameter to the method in which the code you sp...
by sarf
2003-03-05 08:28
Forum: Programmer's Help
Topic: Does this feature exsist?
Replies: 5
Views: 2984

Yilard, I think he was talking about the feature that (among other apps) the Explorer uses to update its file/directory window when files/directories are created... but perhaps you did, too? Anyhow, WhosYourDaddy, this functionality is not used by DC++ AFAIK (at least not in DC++ v0.232 which is the...
by sarf
2003-03-04 06:44
Forum: Feature Discussion (Archived)
Topic: dollar sign and ignore feature
Replies: 27
Views: 10182

Oh. Alright. Well, the ip command is needed for those with pesky ISPs who change their IPs/force them to change their own IPs (by force reconnect every 24 hours or whatever).

Sarf
---
Submitting to the will of a higher power has never appealed to me
by sarf
2003-03-04 05:08
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 45730

While complete file hashing has to be done before you start to share (at least in my opinion) file-segment hashing can (and should) be done on the fly, while the user is downloading the file. My reasons for this is that the amount of data that can be saved increases quite rapidly when we start to do...
by sarf
2003-03-04 04:18
Forum: Feature Discussion (Archived)
Topic: How to add feature request for ED2K Link support
Replies: 10
Views: 5122

But the filename/size part can still be used by DC++ as it is and it will be useful since most people who download stuff use the same name. I just meant that we can use the links as things stand, and if people get used to using DC++ to download their ShareReactor files, so much the better. Sarf --- ...
by sarf
2003-03-04 04:15
Forum: Feature Discussion (Archived)
Topic: dollar sign and ignore feature
Replies: 27
Views: 10182

[snip] Opera, I admire your work on your oDC++, are we going to see more bug fixes and features making their way into DC++? (The same question goes out to cologic and sarf, too. :)) Well, as I've released the source code to my latest client (unlike some people :)) it's just for arne to cut'n'paste ...
by sarf
2003-03-03 12:08
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Well the major problem with this is that ratings should only be considered if they are from the same server (or a trusted one), or else a user could set up his own fake ratings server. The Advogato stuff could be used in the scope of measuring trust of external ratings servers, and therefore extern...
by sarf
2003-03-03 12:03
Forum: Protocol Alley
Topic: Time to write a complete RFC.
Replies: 28
Views: 12881

Well I talk about the hypothetical layout of a new protocol not the [implementation] of it. And I [don't] think it is significant to argue about what brand of a solution is implanted in the final product when we talk about a theoretical layout. To be quite frank, yes, you are right - it should not ...
by sarf
2003-03-03 11:39
Forum: Feature Discussion (Archived)
Topic: How to add feature request for ED2K Link support
Replies: 10
Views: 5122

phazer wrote:[snip]
I meant while you're at it you might as well go with support for the kazaa quick links as well, not go straight away and implement the hashes.
Oh. Ah... I see what you mean. Yeah, there's no reason not to add them too.

Sarf
---
He who marries the Spirit of his Age, soon becomes a widower.
by sarf
2003-02-28 11:11
Forum: Developer's resort
Topic: Ditch the slots...
Replies: 15
Views: 7194

Re: Ditch the slots...

Leave an option to report a certain number of slots, or people will never get into a hub at all (since they have no transfers going, they have no "slots free/used"). I am all in favor for ditching the slots, but then again, I usually have negative three to five with nine slots normal, so... Sarf ---...
by sarf
2003-02-28 11:05
Forum: Programmer's Help
Topic: compiling problems
Replies: 13
Views: 6629

Make sure you are using the "right" versions of STLport and WTL. I've used files put on the DC++ SourceForge download page, but other people have had issues with this... search for STLport on the forums if you think this may help you.

Sarf
---
If your face were a tree, it would be different.
by sarf
2003-02-28 11:03
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

[snipped Avogato text] As to the other problems, I finally remembered an old but powerful solution: weight reports based on reporters' scores (and perhaps reporters' rates of reporting). Honestly, if the top sharer in a hub wants to screw with the system I don't mind too too much :) Agree. We do ne...
by sarf
2003-02-28 10:44
Forum: Feature Discussion (Archived)
Topic: How to add feature request for ED2K Link support
Replies: 10
Views: 5122

While you are talking about hashes, why not add support for sig2dat at the same time ? (the hashes used by kazaa etc). [snip] Because adding immediate support for ED2K links would be useful in and of itself. The code for supporting hashes and such could be put in later on, but the ability to click ...
by sarf
2003-02-28 10:29
Forum: Feature Discussion (Archived)
Topic: Download from multiple users
Replies: 14
Views: 11516

Yeah, it's a pretty big thint to hide in this "segmented downloading" thread.

Sarf
---
He sells contact lenses for a cubist world
by sarf
2003-02-25 07:18
Forum: Programmer's Help
Topic: compiling problems
Replies: 13
Views: 6629

OK, then. This is how you do it (quickie version, not too much explaining). Find the "include file"-directory list box in the GUI of your IDE. Make sure to move the STLport directory so that it is FIRST in the listbox. Make sure to mvoe the WTL directory so that it is SECOND in the listbox. Putting ...
by sarf
2003-02-25 07:08
Forum: Feature Discussion (Archived)
Topic: GetFileList bypasses download-que
Replies: 6
Views: 3529

Re: GetFileList bypasses download-que

"Force attempt" does not have an effect (as far as I know) if you already have a connection to someone. As to what could be done, either an extension to the protocol (bad sarf!) or you could automate the whole cancel connection/reconnect thing to reduce chance that you lose your slot. No guarantees ...
by sarf
2003-02-24 15:24
Forum: Programmer's Help
Topic: compiling problems
Replies: 13
Views: 6629

Look here for info about this problem and how to fix it.

Sarf
---
And the Lord spake unto Elvis, "Thou hast spoken against me Elvis, and I curse thee to have thy blue suede shoes trod upon for all time..."
by sarf
2003-02-24 15:22
Forum: Developer's resort
Topic: some ideas (not mine!) to discuss ...
Replies: 10
Views: 5790

[snipped quote] But it doesn't work very well in the VGM hub I'm a part of, at least not for MP3s. There are ~ 60 - 80 people with ~ 1.5 - 3.5 tb of music, and you're lucky if there are three sources for the same file. Everyone has their own styles of tagging, and, quite honestly, since some of the...
by sarf
2003-02-24 14:49
Forum: Feature Discussion (Archived)
Topic: GetFileList bypasses download-que
Replies: 6
Views: 3529

Re: GetFileList bypasses download-que

I do understand you - what you mean is that you should be able to download a filelist from someone even if you are already downloading from him/her/it. Currently, this is not supported and it would require a change in the access code (which currently is geared to limit each user to one slot, no matt...
by sarf
2003-02-23 09:38
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Well, I had written something verbose and informative on this subject, but Internet Explorer lost it. I swear, I don't know how you guys can stand that browser. It's like going back to a mouse without a wheel. It's uncivilized! :) Hey, watch your mouth - I have a mouse without a wheel and only Micr...
by sarf
2003-02-23 09:22
Forum: Protocol Alley
Topic: Propose $Supports SHA1
Replies: 6
Views: 3390

Re: Propose $Supports SHA1

This issue has been discussed before (and is being discussed on the board, I think). [snip] Multiple downloads is good, but how do we know if two files are equal? 1) File size doen't mean anything 2) File name doesn't mean anything 3) File size + file name, doesn't neccesarily mean anything either (...
by sarf
2003-02-23 09:05
Forum: Developer's resort
Topic: some ideas (not mine!) to discuss ...
Replies: 10
Views: 5790

but rating must be by community, all comunity don't have same rules and hubs aren't interessed by the same quality of client No. The rating server stores all information about a transfer. You, as a client, then selects what parts you wish to mark as important. There is thought to allow OPs to artif...
by sarf
2003-02-23 08:49
Forum: Feature Discussion (Archived)
Topic: Upload Speed Limiting
Replies: 187
Views: 90899

why not use the same method eMule uses and just take 25% off both Upload and Download leaving some bandwidth free for surfing the net/checking email etc, as for how to secure it, theres lots of ways but all (that i can think of) would only work with a new Hub-soft or perhaps NM-Hub with a Script as...
by sarf
2003-02-23 08:46
Forum: Feature Discussion (Archived)
Topic: always on top
Replies: 5
Views: 3134

Re: always on top

Well... as you can't connect to more than one hub at a time using the normal DC++ client and its public hub list window, I fail to see how this could be relevant for DC++. An always on top feature for any window (including the favorite hubs window) would be good, though. Or was this what you really ...
by sarf
2003-02-21 15:30
Forum: Protocol Alley
Topic: Question to Arne about original design of DC
Replies: 25
Views: 14178

How about $LogedIn? :)

Sarf
---
Prudence is a rich, ugly old maid courted by incapacity.
by sarf
2003-02-21 15:20
Forum: Developer's resort
Topic: some ideas (not mine!) to discuss ...
Replies: 10
Views: 5790

Re: some ideas (not mine!) to discuss ...

Segmented downloads/compression If I have all understand good, it seems when you will implement Zlib compression stuff, you can request a particular part of file and adler32 will be a crc ... so, you have solved correctly segmented downloads and added a on fly compression. No, not directly (but ind...
by sarf
2003-02-21 15:10
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

[snip quote and info about queue] These amount to providing the client a way of restarting the connection protocol. [snip rest of explanation] Ah. Interesting. This way we'd be controlling exactly who gets the slot. I like it. I've vascillated over upload management policy, and I'm still not sure I...
by sarf
2003-02-21 14:44
Forum: Feature Discussion (Archived)
Topic: Multiple Search Results From A Whole Network in DC++ To!!
Replies: 9
Views: 4915

Re: "On Strike" :)

I believe Sarf may have implemented this in DC++k . I'm not sure if it uses the $MultiSearch and $MultiConnectToMe commands in the DC protocol, but it probably does. Yes, it did use the "true" hub-networking commands, and it worked... "somewhat". I merely grafted on the multihub support, but anyone...
by sarf
2003-02-20 14:04
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Well, I thought I'd go and comment Sapporos interesting post, but then the darn volkris beat me to it. Grr. :) It also strikes me that we can't give preferential treatment (ie. better speeds) to people unless we have upload throttling in the code. I sent Sarf a copy of what I'd done based on his mod...
by sarf
2003-02-19 08:17
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

I'm honestly pretty afraid of overbloating this whole ratings thing, it's already heavier than I particularly liked, but I suppose a reference platform is allowed to be bulky. Just look at Freenet :) That's one of the beauties of making a reference implementation... unfortunately some hub owners do...
by sarf
2003-02-19 04:38
Forum: Feature Discussion (Archived)
Topic: Downloads limiter
Replies: 18
Views: 7549

[snipped analogy] I did not intend to attack you with my rant. It was merely a byproduct of having tried to flame fregu334 or whatever its name was. The fact is, that DC++ works fairly well. If the programmer so wants, he could fix the few bugs the program still has, publish it as the final version...
by sarf
2003-02-18 05:50
Forum: Feature Discussion (Archived)
Topic: Search Just for ISO, BIN, CUE, or IMG files
Replies: 16
Views: 7207

just let the users create their own search schemes in XML then you can add your own preferences to DC and that would be enough... Let us just get a few things straight here. Whenever a search is issued in the DC protocol it contains a few things, like whether or not the search is using a constraine...
by sarf
2003-02-18 05:40
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Re: Wait a sec... the beginning first?

[snip]In other words, yes, the download information we get that specifies the source hub can be use to imply that the client is serving query replies :) Well, sure, but, to my knowledge, that means that a hub hash (or something that uniquely identifies a hub anyhow) has to be sent with the rating d...
by sarf
2003-02-18 04:52
Forum: Programmer's Help
Topic: Problem when compiling: second C linkage of overloaded func
Replies: 11
Views: 5869

Make sure that the STLport is highest in the list, ABOVE the WTL. Make sure that the WTL is DIRECTLY below the STLport. Make sure that the SDK directory is DIRECTLY below the WTL. Thus, the lis should look like this: STLport WTL SDK <Some other stuff> Sarf --- I love work. I can just sit and look at...
by sarf
2003-02-18 04:49
Forum: Programmer's Help
Topic: Need help compiling
Replies: 14
Views: 7132

thanks for the info :D You're welcome. Just moving the stlport and wtl paths up, I dropped 8 of te 11 errors :-) Not far enough, it seems. Just one questions, what eactly do you mean by, "Make sure that the SDK directory is just below the wtl. " The SDK should be BELOW the WTL. At least, that's the...
by sarf
2003-02-17 15:19
Forum: Programmer's Help
Topic: More problems compiling
Replies: 1
Views: 1758

Re: More problems compiling

Read this post in your other thread.

Sarf
---
I haven't lost my mind; it's backed up on tape somewhere.
by sarf
2003-02-17 15:17
Forum: Programmer's Help
Topic: Need help compiling
Replies: 14
Views: 7132

Re: Need help compiling

After using DC++ for a few months now I got this crazy notion to download the source and try and compile it! Well, take a hot bath, make sure to get Thai foot massage, eat some cheese and drink some excellent Merlot wine, and you'll notice that these cravings disappear after a while. :) Straight of...
by sarf
2003-02-17 15:09
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Re: Wait a sec... the beginning first?

Ah, good example. I guess my basic intuition is that someone who is always transferring (has overlapping uploads) has more "good stuff" than someone who idles. But that might not be true at all, if the file sizes are large enough and the transfer speeds low enough. What do you think? I think that t...
by sarf
2003-02-17 08:24
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Re: Wait a sec... the beginning first?

It seems that the time period during which users were actively uploading has more weight to it than a period during which they were not. I think for any contributing user, their uptime and their periods of transfers should be identical. Really? What if I upload 900 megs of data to someone in about ...
by sarf
2003-02-17 06:57
Forum: Feature Discussion (Archived)
Topic: User rating system
Replies: 22
Views: 10482

Re: User Rating System

Very well, I think that even a user gets a slot, an algorithm should still apply to see if they should continue to get the slot. Without the rating system, this would have to be pretty simple, as in a time or size limit. I think in any case there should be set a minimun reasonable length of stay in...
by sarf
2003-02-16 17:54
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Re: Wait a sec... the beginning first?

I'd like to keep stats on users' uptimes, but relying on them logging themselves out is dangerous. I was trying to figure out another way. I used to think that cooperating hubs would make sure people were reported as logged out when they were. Hmmm... we could use the facts we do have to make some ...
by sarf
2003-02-16 17:37
Forum: Off Topic
Topic: 0.232
Replies: 82
Views: 38350

Sorry to butt in, but I just had to get my eight and a half cents worth of ideas and concepts into the discussion. Flame away when ready! I'd hardly call ten years of trying through other means "a hurry". Every other solution has been tried. Nobody is proposing any new solutions. Not every solution ...
by sarf
2003-02-16 16:35
Forum: Feature Discussion (Archived)
Topic: Find New Sources needs rate control - It causes search spams
Replies: 15
Views: 7185

Can anyone explain how the "Automatically search for alternative download locations" functionality works? For example, does it go through the download list and the search through the hubs you are on? Is the a priority to the searches? "Auto search for more sources" (my name) works by going through ...
by sarf
2003-02-16 16:18
Forum: Feature Discussion (Archived)
Topic: Downloads limiter
Replies: 18
Views: 7549

SARF! Why are you so mean? I am from Sweden. As someone so eloquently put it, "Swedes - colder than their climate". Also relevant to the issue, my toes itch, and I have a nasty hygiene problem. Does that answer your question, or must I continue explaining why you inferior primates have to die? If y...
by sarf
2003-02-16 16:01
Forum: Feature Discussion (Archived)
Topic: Auto disconnect
Replies: 6
Views: 3452

And how, pray tell, do you tell the client what duration there is on tempbans? This varies from hub to hub, correct?
Or do you mean that the time should be user-definable?

Sarf
---
I came, I saw, she conquered.
by sarf
2003-02-16 15:49
Forum: Feature Discussion (Archived)
Topic: User rating system
Replies: 22
Views: 10482

Re: User Rating System

I agree, I think it's one of the features that people who've tried other P2P applications look for. However, doesn't a queue lose a lot of effectiveness when someone can stay on it for days? You can integrate a ratings system and have people wait based on all sorts of interesting criteria, but if t...
by sarf
2003-02-14 16:40
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Re: Wait a sec... the beginning first?

[snip repository info] Great! I'll check it out as my time allows, sending you scathing comments on your grammar and such highly important issues. :) Sarf, as long as users log on to the ratings server it can check to make sure only one person at a time is using a rating. Yes. Yet another assumptio...
by sarf
2003-02-14 06:50
Forum: Protocol Alley
Topic: Ratings server and protocol
Replies: 84
Views: 46680

Re: Wait a sec... the beginning first?

So part of what eMule does, on a per-client basis, is keep track of who let you download from them (via a userhash, so you can change IPs, names, etc.) and then uses that number, as well as the priority of the file they want to download to determine how to weight them in your upload queue. Clients ...
by sarf
2003-02-13 11:05
Forum: Hubs and scripts
Topic: Looking for a hub 2
Replies: 3
Views: 2421

Re: Looking for a hub 2

Sorry for hub promotion, but here it is:

[BBB] Bootcamp #04 -> bootcamp4.myftp.org

Any other Bootcamp = [BBB] Bootcamp #0X -> bootcampX.myftp.org

Taken from the dcplusplus sourceforge public hub list

Sarf
---
Dead puppies aren't much fun.