Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / CodeBase Phase 1 is Live

Author
Message
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 30th Aug 2003 07:08
Hi all,

Well after a bit of tweaking tonight I have finished off phase 1 of the CodeBase and uploaded it all for testing.

You can now create CodeBase entries, modify your Profile, upload file and generally test things out.

When I am happy you're not all breaking it I will open up Phase 2 of the CodeBase which is allowing people to search the CodeBase and listing the current entries on the Developer Network site. I don't want to do that until you all confirm it works the way you expected it to.

The "View" button within the CodeBase list page shows you how the entry will look to everyone else. Click the title of an entry to edit it.

Here's an example entry:

http://darkbasicpro.thegamecreators.com/?m=codebase_view&i=c5b5ad1927b4f14711602fa9ada30ab5

So there we go.. almost made the deadline, just 4 hours late I'll sticky this thread until feedback has finished.

Oh and I also made a significant change to the rest of the site today that should stop all of the header graphics from reloading. They should now all cache properly in your browser and thus make page rendering a hell of a lot faster.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
Eric T
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: My location is where I am at this time.
Posted: 30th Aug 2003 07:18
good job rich.. this'll be a real useful utility..

Working on 4 projects 2 RPG(programming texturing and 3d map), 1 3rd person shooter (Programming), and a special project.
Falelorn
21
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 30th Aug 2003 07:44
ohh I like it I like it.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 30th Aug 2003 08:25
umm, i may sound dumb but i cannot find the "View" button

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
Eric T
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: My location is where I am at this time.
Posted: 30th Aug 2003 08:40 Edited at: 30th Aug 2003 08:42
Quote: "When I am happy you're not all breaking it I will open up Phase 2 of the CodeBase which is allowing people to search the CodeBase and listing the current entries on the Developer Network site. I don't want to do that until you all confirm it works the way you expected it to.
"


reading is a good thing

the view button is for veiwing the way your entry will look not the other code....lol

(if your all wondering... he had came into the irc channel asking...)

Working on 4 projects 2 RPG(programming texturing and 3d map), 1 3rd person shooter (Programming), and a special project.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 30th Aug 2003 13:10
I could only seem to add 2 items - when adding a third, it seemed to add, but doesn't appear on the list.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 30th Aug 2003 13:59
A slight problem on my part, I've added an entry but the 'Long Description' doesn't appear when you click on the View button, Is this something I've done or is it not working yet?


Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 30th Aug 2003 14:25
Yet to test it out but your one looks great Rich

On a different note, has the bug that just shows the first download you've downloaded instead of all of them been fixed yet?

"Computers are useless they can only give you answers."
Preston C
21
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 30th Aug 2003 16:51
I've uploaded a collision function I created this morning. I also entered a long description and it didnt show up.



Hell Begins September 2nd at 7:30 AM. Yep, schools starting soon.
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 30th Aug 2003 17:05
It looks cool Rich!

B-e-a-utiful... Visit my site: www.cuso.tk
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 30th Aug 2003 18:10
I've posted my Alien code there. It's excellent .

--Mouse

Famous (Avatarless) Fighting Furball
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Aug 2003 18:15
@Rich,

I've spotted a few problems, mostly to do with the fact that I have scripting error detection enabled. I've sent shots of the errors to you via email.

4 pieces of code added correctly, one with an attachment, all with no problems. Editing works well too
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 30th Aug 2003 18:41 Edited at: 30th Aug 2003 18:45
Still cant add a third bit of code unfortunately - unless the other two are taking up all the space.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 30th Aug 2003 18:50
There is no space limit, you can add as many as you like. I currently have 6 saved.

TCA - Does your third code entry have a unique title? The titles need to be unique although it should give you an error message if you don't do this.

Ian - I'll disable the Javascript sorting of columns, it's a damn shame because it works bloody well.

The "Long Description" doesn't appear on the View page yet. I'm thinking I'll make the view page have 3 tabs - one being the code + summary, one being the screen shot and the final tab being the long description - what do you all reckon?

Re: The downloads list only showing one item. It doesn't, it shows all unique downloads, at least for me anyway. I'll have to look at your download logs to see what you've actually downloaded to see why it doesn't display them for you.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Aug 2003 18:59
I presume it was trying to sort an empty list. Can't you just check before sorting?
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 30th Aug 2003 19:27
Personally I'd like the long description to be part of the code viewer, but I don't know how 'long' the descriptions are going to be, so...

--Mouse

Famous (Avatarless) Fighting Furball
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 30th Aug 2003 23:19
The JS sorting code came from some site I found, it could well error on there too. I'll just disable it, it's not that useful on the codebase anyway.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
UberTuba
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Brittania
Posted: 31st Aug 2003 00:44
a list of all code in the codebase would be useful rather than just
a search

the artist formally known as darkfluff
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Aug 2003 01:14
Yes, the code I'm trying to add has a unique name - no error appears unfortunately.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 31st Aug 2003 02:01
'just a search'? After a couple months, 'all the code in the codebase' will no doubt be tens of pages long. It might be useful, but a search would also be neccessary.

--Mouse: Famous (Avatarless) Fighting Furball
Read It: http://www.angryflower.com/itsits.gif
Learn It: http://www.angryflower.com/bobsqu.gif
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 31st Aug 2003 07:36 Edited at: 31st Aug 2003 07:36
Quote: "Re: The downloads list only showing one item. It doesn't, it shows all unique downloads, at least for me anyway. I'll have to look at your download logs to see what you've actually downloaded to see why it doesn't display them for you.
"


Yep, I just downloaded another thing from the showcase and although when I check my Profile it says:

Quote: " Downloads
We keep track of the files you download incase you need one again.

9 files downloaded "


But now when I click the link it shows only 2 of these 9 downloads: Update 5 and Sync to the Music (from the showcase):

Quote: "You have downloaded 2 unique files from our server
File Size First Downloaded Grab It
Sync to the Music 0.84MB 30th Aug 03 11:23pm
DarkBASIC Professional Upgrade 5 8.98MB 22nd Aug 03 9:35am


You have downloaded 9.82 MB worth of files from our server"


Note it says I've downloaded 2 on this page. Mind you I can't even remember downloading 9 files, it may actually be a counting error of some sort. Wait let me check something.

"Computers are useless they can only give you answers."
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 31st Aug 2003 07:39
Ahh, I see the problem now, it counts Cancelled downloads as downloads also. Not sure if this is a bug or the way it's meant to be.

"Computers are useless they can only give you answers."
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 31st Aug 2003 08:49
I added one but my profile would not update so its an anon. user.
Ill try again later tonight

http://www.lunarpixel.com
It's already tomorrow in Australia
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 31st Aug 2003 13:41
Quote: "a list of all code in the codebase would be useful"


Try reading my original post?

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 31st Aug 2003 18:53
Exeat, I'm not sure it would be possible for it to track that. It'd have to update the list every time you got more data from a file you were downloading... very very slow!

--Mouse: Famous (Avatarless) Fighting Furball
Read It: http://www.angryflower.com/itsits.gif
Learn It: http://www.angryflower.com/bobsqu.gif
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 31st Aug 2003 19:46
I agree, and I think that most other forum download systems use the same method. Once you click, it's incremented.


Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st Sep 2003 08:50
Yeah, I mean it's counting downloads of the same file. I wasn't sure if it was meant to be unique or not.

"Computers are useless they can only give you answers."
Eric T
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: My location is where I am at this time.
Posted: 1st Sep 2003 11:35
Quote: "a list of all code in the codebase would be useful"
"


if you look up at the quote the 5th post, you'd see that i bolded and underlined it... lmao....

how blind can some people be..

Working on 4 projects 2 RPG(programming texturing and 3d map), 1 3rd person shooter (Programming), and a special project.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Sep 2003 14:43
Exeat - the totals should count unique downloads, I'll sort that out. The downloads page itself does this correctly, but the main welcome page might not.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Sep 2003 15:15
it updates ok tonight, must have been a glitch or fixed in the meantime.

http://www.lunarpixel.com
It's already tomorrow in Australia
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 1st Sep 2003 15:17 Edited at: 1st Sep 2003 15:17
TCA - Do you still have problems adding more than 2 codebase entries? If so can you grab me on MSN some time so I can check some things out please?

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Sep 2003 17:18 Edited at: 1st Sep 2003 23:06
I'll try again tonight - and let you know.

Tried it on three different machines now - still cant get the third bit of code in.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 2nd Sep 2003 00:22
Me too, I tried adding a third code, but it didn't work...

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 2nd Sep 2003 13:08
It's not machine specific, I reckon it must be to do with your user account. I'll look into this today.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Sep 2003 17:16
if elevating my user account status solves the problem, I'll be happy...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Sep 2003 20:23
I'm sure you would
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Sep 2003 22:34
Too right!


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Sep 2003 11:24
erm... i'm having that erm problem too then

Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 3rd Sep 2003 13:19
TCA - a number of months ago we emailed you asking if you wanted to be a mod here and never got a reply

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 3rd Sep 2003 13:59
I actually sent quite a few replies back (3 I believe)... I'll have to ferret through my sent items for the exact dates.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 3rd Sep 2003 15:55
Phew, I tought 31 emails lol, and then I read it right, '3 I', instead of 31. I was wondering already...

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Sep 2003 16:08
I would prefer the long description on the first tab displayed. A description will mean far more, far quicker than reading the code.

It will also help establish whether parts of the code may be of assistance, whereas the general purpose of the code may be irrelevant. For example, I don't want a flight navigation system, but that little radar function would be nice. This would be apparent, I hope, by the long description.

Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 4th Sep 2003 03:24
I cannot add a third code - and I'm a mod. So I guess it isn't just user status.

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 4th Sep 2003 15:47
Hope its fixed soon...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 4th Sep 2003 20:46
I've narrowed this down (thanks to IanM) and it will only not add code if you attach something to it. No attachment and it'll add fine. You can then edit it an attach things, so it's purely in the first uploading area that it dies.

I've not had a chance to work on this all week but I'll resolve this bug on Monday, too many other things to finish first.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Sep 2003 01:26
Good-oh.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Sep 2003 15:02
So does it work for you now?

@Rich, the welcome screen shows 8 entries for my codebase, but I have only 7. I did delete that test entry though and that may still be included in the count.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 5th Sep 2003 15:23 Edited at: 5th Sep 2003 15:30
No idea... I'll try now - hang on.

Well, the good news is my computer works...
The bad news is I couldn't add a third piece (I filled in the Code Title, Short Description and Source code, left everything else as default - no attachments), and it didn't add - it just returned back to the add form.

Anyway, I dont think it'll get fixed until Monday.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 6th Sep 2003 13:18
Rich, since the update of the Code Base update, which I think was in the last day or two, I've found a bug, although I'm not sure if it's been mentioned before. If I goto the Profile Edit option on the CodeBase page and modify my profile description, i.e. about myself for other people to see when viewing a codebase entry, the following page errors occur when I hit the update button...


Warning: session_start(): open(/tmp/sess_4b59cf7c4b315addb6f6cd3625288287, O_RDWR) failed: Permission denied (13) in /u2/www/users/pairdoor/tgc/modules/module_common.php on line 75

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /u2/www/users/pairdoor/tgc/modules/module_common.php:75) in /u2/www/users/pairdoor/tgc/modules/module_common.php on line 75

Warning: Cannot modify header information - headers already sent by (output started at /u2/www/users/pairdoor/tgc/modules/module_common.php:75) in /u2/www/users/pairdoor/tgc/xt/xt_codebase_profile.tgc on line 33

Warning: Unknown(): open(/tmp/sess_4b59cf7c4b315addb6f6cd3625288287, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

Thats it really. Also, I've mentioned this before but the detailed project description text entry does not appear on the codebase entry page when you click the View, should it be displayed?

Warm regards,

Paul.


Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 6th Sep 2003 18:22
Apex - yeah I know about this. The error will actually follow you around the site as well (appearing at the bottom of every page). The problem is I'm using a CGI wrapped version of PHP4 in order to upload the images (otherwise they're owned by "nobody" on the server which means we have no access to erase them, etc - it's a Unix thing). The CGI version of PHP doesn't have the ability to pick up the session the Apache compiled version the rest of the site uses. So basically it's getting in a huff because it has no rights to create new sessions. I know exactly how to get around this and will do so next week.

Cheers,

Rich

"Gentlemen, we have short-circuited the Universe!"

Login to post a reply

Server time is: 2024-11-23 20:00:20
Your offset time is: 2024-11-23 20:00:20