View Full Version : MP3 download system
Weasel
08-10-2002, 05:58 PM
I'm writing a script that will control the high speed mp3 downloads from our new server. There rule for how many mp3s you can download per day is as follows:
Moderators = unlimited.
Users = 10 + int(postcount/100).
So if Bobby were a normal user and had 473 posts, his limit would be 14 mp3s per day.
link: http://almostsmart.com/mp3 :smile:
Weasel
08-11-2002, 03:48 AM
I think the script is as complete as it's going to get. I'm aware that you must refresh the dir listing to see updated stats, but I don't think this can be fixed, or maybe I just don't know jack about http headers. If you encounter any bugs or quirks other than that please document below.
Weasel
09-03-2002, 06:17 PM
OK, it looks like this is what's happening:
People are signing up (from places like chili in fact), downloading one or two mp3s, and dissapearing off the face of the earth. I think I'm going to dig up the code and implement a better function that gives users lots of d/les when they make their first posts, but then tapers off eventually.
The function that I'm considering looks something like this:
21
-------------------------
(1 + 8 e^(-.08 X) )
posts | downloads per day
0 = 2
4 = 3
8 = 4
12 = 5
15 = 6
18 = 7
20 = 8
24 = 9
26 = 10
28 = 11
30 = 12
40 = 15
64 = 20
100 million = 21 d/les per day
That way you will start to gain downloads even if you only make a few posts, but you dont have 3 billion downloads if you have 3 billion posts:
http://www.almostsmart.com/upload/files/2002/Sep/graph.gif
x = number of posts, y = allowed downloads
When this is implemented (when i find time), all counters will be reset and your limit will be re-calculated the next time you vist the script (http://almostsmart.com/mp3.html). Of course, tell me what you think.
SweetSue
09-03-2002, 09:37 PM
Is this what you do all day while im at practice?
Weasel
09-03-2002, 10:20 PM
you know how bored I am without you :depressd:
Weasel
09-09-2002, 08:29 PM
The techno folder should be completely uploaded by tomorrow, the slow server will remain down so the transfer will go as smooth as possible :smile:
Weasel
09-10-2002, 11:22 AM
The transfer went great, everything is back up and the techno folder is complete :smile:
jayhay0
09-22-2002, 12:40 PM
wow, lemme be a mod
Weasel
09-22-2002, 01:57 PM
why would you want to be a mod? :evil:
Weasel
10-15-2002, 11:35 PM
The first phase of this experimental section has gone well, and I'm getting ready to do a re-code to speed things up and address some issues:
1) People have gotten smart and have started to create multiple accounts in order to 'increase' their download limit. I have a few things planned that will prevent this. Basically, the way people act now will help me decide how harsh I should be, so don't do that.
2) The filesizes are often wrong, because the filenames are sorted in a different data structer..DOh! time to combine those..
3) A persons limit may not change for 24 hours even if they start posting, I plan to fix this.
4) I need to create some sort of logging system to see who is downloading what. I have a rudimentary system in place now but its not very fancy.
5) A problem is going to occur once I get all the mp3s uploaded, because each page load will be over 1 MB in size alone!! This needs to be taken care of but I'm not sure how without a rather major change in the code. I think I will parse alphabetical pages if the number of files in a folder gets over a certain number. Or maybe split it into a few pages, im not sure.
6) Note to self: Code when less tired, I can't even read my own program.
Weasel
12-10-2002, 08:48 PM
I've uploaded 12 letters (A-L) so far. That means I have..ummmm..14 letters to go! :wink:
(or 56.34%, depending on how you look at it) :wink:
P.S. this is one boring thread.
<<zeypher>>
12-13-2002, 04:46 AM
hey ya buddy weasel...
when r u gonna up load the rest...uhh... :wink:
Weasel
12-13-2002, 10:59 AM
Originally posted by <<zeypher>>
hey ya buddy weasel...
when r u gonna up load the rest...uhh... :wink:
over xmas break hopefully
<<zeypher>>
12-20-2002, 05:40 AM
Originally posted by Weasel
over xmas break hopefully
Right away...ur doin a helluva uploading...
i think that b4 x'mas...u might finish this off...
btw...i had requested for "Obsession" by "Papa Roach"
plzzzz...upload it to the NEW MP3's dir...okie...???
:smile: :smile: :smile:
Penie
12-20-2002, 11:39 AM
i think zepher is rude an impatient, and should shut up. hes lucky enough he can request stuff like this.
<<zeypher>>
12-21-2002, 10:11 AM
Originally posted by captin kangaroo
i think zepher is rude an impatient, and should shut up. hes lucky enough he can request stuff like this.
dont rely on ur thoughts...Mr.BLUE PHLEM of the kangaroo
whos thoughts are expressed in the above quote.
U knaw what Mr.BLUE PHLEM...this quote above...
just signifies ur CHARECTER...hmmm...i better keep off
this piece o BLUE PHLEM... :scared: :scared: :scared:
and btw...Mr.BLUE PHLEM...ur a fucktard
:laugh: :laugh: :laugh:
Penie
12-21-2002, 03:08 PM
thats me told. i should of never messed with someone with such fantastic control over smilies
:devious: :tongue: :dsppnted: :cry: :angry:
bobthemighty
01-01-2003, 02:40 PM
umm, right. i have a suggestion. any chance of taking off the daily download limit? cause i have gone on in the morning, and already the server is over 100 mb. any chance of changing that? Happy new year! :tongue:
kazza lite (http://www.kazaalite.com)
fucktard.
bobthemighty
01-01-2003, 02:56 PM
Hey, im not quite sure about this, and with the slow pc i use, its hard to figure out. how do i find the new songs?
you down load kazza lite. you install it, you click in the search frame, tick the box marked "Audio", and click search.
a list of songs will appear, its best to sort by speed, and click download on a couple, as one will surely fail.
and you stop pissing us off
BigAppleTV
01-16-2003, 03:48 PM
I personally own over 1500 CDs that I could contribute upon request. All genres.
Weasel
01-22-2003, 09:32 PM
I like to document all my changes to my code, so I guess I will here. Only a slight modification, when I coded in the ~4 minute timer I was nice and only updated it after the mp3 was done. Seems that some people thought they would bypass this by clicking on 10 links, and then hitting "OK" for each of the 10 dialog boxes that popped up. So i've decided to initiate the countdown right when you click on a link. That way people cant cheat, but you have to wait a few minutes if you change your mind or the download screws up. Too bad people have to be dishonest. Sorry.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.