http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Site \ file database [page 4]

Click here to log in (you must be logged in to post comments).

AuthorComment
zkostik
Carrier
avatar
Posted: 26 Oct 2002
16:56 GMT
Total Posts: 2486
continue discussion of 'file database'

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 26 Oct 2002
17:18 GMT
Total Posts: 1676
it says like ->expires (+10y) or something.. check tzlogin.cgi

---
-Barrett A
zkostik
Carrier
avatar
Posted: 26 Oct 2002
21:13 GMT
Total Posts: 2486
i know, i saw that. but how would you get that property? this is the place where it writes cookie. i can't seem to find where it reads this info.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
zkostik
Carrier
avatar
Posted: 26 Oct 2002
21:14 GMT
Total Posts: 2486
btw, sorry about that "forbidden" error when trying to access our files and search. for some reason the permissions of the script that manages files got reset and hence spat out that error. all fixed now. i hope it didn't stay too long.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 26 Oct 2002
22:08 GMT
Total Posts: 1676
several things i did today Z:

1: made all files appear in files.cgi?action=stats and added the sum of all downloads to the bottom...

2: fixed review submission to translate /n's as br's (someone used normal line breaks and it messed up the database; lucky this person was smart and emailed me)

and i think that's it... GO ANGELS!!

[Edited by Barrett on 27-Oct-02 01:09]

---
-Barrett A
Barrett
Administrator
avatar
Posted: 26 Oct 2002
22:15 GMT
Total Posts: 1676
Z, i think we might have a problem.... i was just messing around with file stats and stuff (not actually editing scripts or anything, just downloading certain titles and seeing what rank they come at and stuff) and the entire file_db database got erased down to 0 bytes. lucky i had a somewhat recent copy... but i think the problem is that it's opening the file database, erasing it for rewrite, and then a different user opens the filedatabase, the 1st one rewrites the whole thing, but then the 2nd user rewrites the database with nothing in it.... therefore i think it needs to be locked. teemz locks all of its files when it's writing... so that shouldn't be too hard to do

---
-Barrett A
Barrett
Administrator
avatar
Posted: 27 Oct 2002
10:33 GMT
Total Posts: 1676
and Z, you've gotta add 68k to those dropdown menu's... Tankers needs to be 68k since it also works on the voyage 200 and 92+... and there are a few others like duke nukem...

---
-Barrett A
zkostik
Carrier
avatar
Posted: 27 Oct 2002
20:39 GMT
Total Posts: 2486
ahh, i see B. i'd need to implemet a file lock to fix that db deletion problem. (in other workds, when script accesses the db, it locks it for other requests. it unlocks it when done). oh lol, you did mention file locks. you use somehting like flock(); see how teemz does that or wait till i get a day off and work on that. thanks for noticing this, this is a very important bug. i also thought that maybe the script should write a backup copy of file database as well...

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 27 Oct 2002
20:51 GMT
Total Posts: 1676
yes, a backup would be good, BUT keep in mind that it might make a backup of the empty one! so i don't know...

---
-Barrett A
Barrett
Administrator
avatar
Posted: 28 Oct 2002
19:54 GMT
Total Posts: 1676
oh Z, just remember that the title of the file upload page is CalcGmes.org (without the 'a' in Games)... i might change that if i figure out what's going on... but if i don't and you're changing that html anyway... that'd be a good change...

---
-Barrett A
Digital
Guardian
avatar
Posted: 7 Nov 2002
11:37 GMT
Total Posts: 1051
Relating to the oganization of files: could you make a like to go directly to takers maps like the links to the games. When even I check it at home it takes FOREVER because I have to go to games/tankers/tankers maps.
sort of OT: how many users/mambers belong to this site. The participation in the forums seems like it is almost always the same group of people.
Barrett
Administrator
avatar
Posted: 7 Nov 2002
14:51 GMT
Total Posts: 1676
there are about 60 members signed up with a username... about 2/3 of them have actually posted messages in the forum... and about 5 different people regularly post messages... we're hoping to get a link from TI to boost those numbers up a little bit.

---
-Barrett A
Digital
Guardian
avatar
Posted: 7 Nov 2002
16:24 GMT
Total Posts: 1051
Good publicity idea.
zkostik
Carrier
avatar
Posted: 7 Nov 2002
23:48 GMT
Total Posts: 2486
as far as participation goes, we're the ones that usually discuss stuff. the rest of members just asked a few questions or wanted to rate/review some files.
i'll add a tankers map link right in our games menu prolly like tomorrow. i wanted to do that for a while actually. that maps link is actually the old version that existed before we got our files script running. thanks for reminding me btw.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Digital
Guardian
avatar
Posted: 8 Nov 2002
08:29 GMT
Total Posts: 1051
no problem
spiral
Wraith
Posted: 8 Nov 2002
20:06 GMT
Total Posts: 958
I think this is my 100th post. Still a long long way from Barrett's like 650. Oh no, digital has almost as many as me, better post a lot.
Barrett
Administrator
avatar
Posted: 8 Nov 2002
20:19 GMT
Total Posts: 1676
well, Z leads it with 659.... i've only got 610... i remember a while back we were racing.... i had like 60 and he had like 59.... that was a long time ago.


611!

---
-Barrett A
Digital
Guardian
avatar
Posted: 10 Nov 2002
12:44 GMT
Total Posts: 1051
How do you know how many post you have? Do you guys actually go through and count them? please tell me you have more of a life than that! LOL
Barrett
Administrator
avatar
Posted: 10 Nov 2002
14:42 GMT
Total Posts: 1676
dlick 'Profile' under your name

---
-Barrett A
spiral
Wraith
Posted: 10 Nov 2002
17:55 GMT
Total Posts: 958
I have a life, doing hw! i wouldn't have enough time to go scanning through all the old topics to see how many comments we've made.
zkostik
Carrier
avatar
Posted: 10 Nov 2002
20:44 GMT
Total Posts: 2486
neither do we! check your own profile to see how many posts you've racked up already! woohoo, another post by me!

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Digital
Guardian
avatar
Posted: 13 Nov 2002
11:28 GMT
Total Posts: 1051
Thanks for the help. I'm gaining on you spiral!
spiral
Wraith
Posted: 13 Nov 2002
20:41 GMT
Total Posts: 958
oh well, keeping my post # up on calcgames.org is not my goal in life :) anyways, these post wars are getting quite boring.
Digital
Guardian
avatar
Posted: 14 Nov 2002
11:39 GMT
Total Posts: 1051
Well since I've only been at this site for about three months, it is rather new to me and it gives an incentive to come up with stuff to write, i.e. this post
Barrett
Administrator
avatar
Posted: 17 Nov 2002
09:44 GMT
Total Posts: 1676
Z, i think that we should switch the places of the number of downloads and the filesize... so filesize should go in the parenthasis and # of downloads should go in that box..... should i just change the template and it'll work?

---
-Barrett A
zkostik
Carrier
avatar
Posted: 17 Nov 2002
17:52 GMT
Total Posts: 2486
as you say. those are templates so they can be modified as we see fit. have a better layout or need a change, you only have one template file to change. go on, try out your ideas.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Digital
Guardian
avatar
Posted: 25 Nov 2002
07:54 GMT
Total Posts: 1051
HEY. Rating files used to work but now I'm getting the error I was complaining about before the switching of the host. I'm logged in I know that, you may just ahve to update the links.
Barrett
Administrator
avatar
Posted: 25 Nov 2002
14:48 GMT
Total Posts: 1676
just wait till your DNS updates.

---
-Barrett A
Digital
Guardian
avatar
Posted: 26 Nov 2002
07:38 GMT
Total Posts: 1051
FYI B, some time I use three different comps: 2 at school and 1 at home.
Barrett
Administrator
avatar
Posted: 2 Dec 2002
17:01 GMT
Total Posts: 1676
k, all MAIN site links should be relative now... the only non-relative links are those in the forum (well, that's up to whoever posted the link), and those in the file database (also up to whoever posted the screen shots or links)... i suggest you just go to www.calcgames.org... cus it's easier, and we'll all be on the same page.

---
-Barrett A
Barrett
Administrator
avatar
Posted: 2 Dec 2002
17:59 GMT
Total Posts: 1676
lol, out of 76 registerred users on this site (5 or 6 are me), 32 have never posted in the forum. 4 or 5 of those never posted people are me. so i have exactly 2 names that i use, and i'm not tellin' you which one is my fake one (i don't use it very often)... so at least i can say over half of the users have posted in the forum!!! i don't know why these people registered... almost none of them have rated files... oh well... we need threaded forums.. don't you think? especially when ticalc.org dies, that will be very necessary...

anyone know some good free threaded forums? or want to make one?

---
-Barrett A
zkostik
Carrier
avatar
Posted: 2 Dec 2002
19:52 GMT
Total Posts: 2486
you don't even post with that other nick anyway, it was made largely for testing admin system at old days. and yes, most people who registered didn't post anything. some just registered to review/rate stuff. yeah, threaded forums might be nice if we can find a nice free one. hopefully it'll already have all the features we've added to this forum ourselves. also don't forget that our user system hangs off this particular forum.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 7 Dec 2002
15:53 GMT
Total Posts: 1676
i post with it sometimes...

---
-Barrett A
Digital
Guardian
avatar
Posted: 11 Dec 2002
10:08 GMT
Total Posts: 1051
I haven't look at everything that I can do as an admin so I have n't done this yet. I look at TTT's website and the screen shots for CF are the size of the 92 or 92+ but the file dies not exist in the 92+ section of our site.
zkostik
Carrier
avatar
Posted: 11 Dec 2002
15:51 GMT
Total Posts: 2486
it's because its stored under 89. the file was just linked to that location rather than saved in every compatible platform's folder.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Digital
Guardian
avatar
Posted: 12 Dec 2002
07:27 GMT
Total Posts: 1051
I thought you would do something like that to save space and not confus yourselves.
Digital
Guardian
avatar
Posted: 13 Feb 2003
16:48 GMT
Total Posts: 1051
About internal links. I went to the file stats page and you have the catigory of "68K". I think that after you guys had to change severs again you might have removed that link inadventantly (something). It can get a little confusing.
Barrett
Administrator
avatar
Posted: 13 Feb 2003
18:04 GMT
Total Posts: 1676
68K means it's for the TI-89, TI-92+, and V200 (all 3 models in the same zip file). A lot of people don't know what that means, so it kind of sucks that they won't know that it's for their calc unless they go through the top menu.

[Edited by zkostik on 14-Feb-03 19:59]

---
-Barrett A
Digital
Guardian
avatar
Posted: 20 Feb 2003
16:45 GMT
Total Posts: 1051
Yeah 68k is short for MC68000 the proc in all three. Also If it says it works on the 92+, that does not mean it will work on the v200.
Digital
Guardian
avatar
Posted: 20 Feb 2003
16:49 GMT
Total Posts: 1051
I'm sure you guys know about the feature in ticalc.org's server that you can view simple files (txt, doc, etc) in the browser without downloading the entire zip. I think it would be a great addition to the site if you could incoporate something similar here. I usually look at the readme so I can see the changes that have been made in the update.
zkostik
Carrier
avatar
Posted: 20 Feb 2003
23:11 GMT
Total Posts: 2486
Yeah, zip viewer surely wouldn't hurt, only thing is that i couldn't find any. if i do, there's no doubt it'll be added.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Digital
Guardian
avatar
Posted: 22 Feb 2003
17:08 GMT
Total Posts: 1051
ask ticalc.org. I don't think they would mind.
zkostik
Carrier
avatar
Posted: 22 Feb 2003
21:56 GMT
Total Posts: 2486
i already did and they refused. i also asked that guy who made XenoTech site to get a copy of his zip viewer but he said he didn't program it and i forget if he gave me a copy or not. either way, it wasn't in perl.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Digital
Guardian
avatar
Posted: 22 Feb 2003
23:27 GMT
Total Posts: 1051
Whats wrong with ticalc.org. Sounds like they are becoming too much like TI. Even if we state that the code is provided by them under each time it is on a page they won't let us use it?
Barrett
Administrator
avatar
Posted: 8 Mar 2003
19:08 GMT
Total Posts: 1676
Z, i lowered the size of files.cgi about 5k by organizing the tabs a little bit better (replaced every 10 spaces with a tab, but i had to do it manually since it wasn't always 10 spaces)... i actually only did this for about 1/4 of files.cgi, but lowered it about 5k.... so from now on can you use tabs instead of a bunch of spaces?

---
-Barrett A
zkostik
Carrier
avatar
Posted: 8 Mar 2003
20:04 GMT
Total Posts: 2486
actually, that's what i always do. i think your perl editor changed some tabs to spaces. either way, there are some good perl editors that can clean up the code and adjust indentations properly. i'd sure like to get my hands on one of these, usuakky they're not free though. my bro has program like that for Java.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 8 Mar 2003
20:34 GMT
Total Posts: 1676
nope, i use wordpad which keeps tabs every time. the spaces always come from code that you've written, so either they both use different code for tabs or something's weird... oh well, it's not THAT big of a deal

---
-Barrett A
zkostik
Carrier
avatar
Posted: 8 Mar 2003
20:57 GMT
Total Posts: 2486
weird, i use wordpad too! i do sometimes use CuteFTP pro's edit function, but i know 100% it doesn't change tabs. maybe the tab sizes we both have are different so they get replaced by spaces?

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org