Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   AODb is back!!! (http://www.alice.org/community/showthread.php?t=5999)

arty-fishL 02-18-2011 10:31 AM

AODb is back!!!
 
Some of you may know I created a website called the Alice Online Database (AODb) a while back ( [URL="http://www.alice.org/community/showthread.php?t=4018&highlight=AODb"]thread here[/URL] ), but that failed when the host randomly deleted my site. That site was dull and lacked proper user interaction, so ive tried again from scratch.

Basically it is a new database holding Alice worlds and objects in a simple, easy to view, easy to choose, easy to download, free environment.

Right now I only just made it, so it doesn't have much content.
But, the great new feature is that you can submit your own worlds and objects with no registration etc. . By including this feature I hope that the community can fill the database, so I dont have to spend hours putting it all in myself, ive already done hours of coding thousands of lines (literaly).

There's more features to come. The homepage right now has no content as there isnt enough stuff in the database, so please help me fill it.

Homepage - [URL="http://www.aodb.webeden.co.uk"]www.aodb.webeden.co.uk[/URL]
Submit your own stuff - [URL="http://www.aodb.webeden.co.uk/submit-an-item"]www.aodb.webeden.co.uk/submit-an-item[/URL]

:D:D:D

arty-fishL 02-19-2011 04:47 PM

Nothing, no feedback??
 
No replies?? :(:(
Ive put a lot of work into this, I put in 4310 lines of python alone, that doesnt include the html, the images, setting up all the websites, getting it to all fit together, overcoming numerous bugs etc.
Its no burden on you, just view, download and you can also upload if you want.

All feedback accepted, even negative feedback to help me improve.

room14 02-19-2011 09:36 PM

I had a quick look, and I am already very impressed.
I think I'll have a more closer look tomorrow, but I have one question. Is there a limit to how big the file can be?:)

arty-fishL 02-20-2011 08:07 AM

The files uploaded to my site are limited to 8MB, as ive only got 250MB in total. I can put that higher and I can upload larger files if you ask me. You can also use filechimp.net for uploading larger files (up to 100MB) and put the direct link to the file in the submission form.

David B 02-20-2011 02:07 PM

How exactly to you create an automated upload system without needing to do it manually? I would like to try that for Scratch. You can learn more about Scratch at [url]www.scratch.mit.edu[/url].

x2495iiii 02-20-2011 03:20 PM

I plan to use it to hold all the most modern versions of my projects, both for display and for offsite backup purposes. So thanks for all your work arty.

zonedabone 02-20-2011 05:26 PM

RAWR!

[url]http://alice.org/community/showpost.php?p=30915&postcount=6[/url]

zonedabone 02-20-2011 05:41 PM

Also, it's not the best idea to go with CGI for your system, because it's easy to hack:

[url]http://www.arty-fishl.heliohost.org/aodb/aodb.py[/url] without any arguments

I also noticed that you put parentheses around your print statements. It's not proper to do that unless you're using python 3.x. You're using 2.4.3.

If you're going to write a win website, use WSGI with django.

arty-fishL 02-21-2011 12:05 PM

[QUOTE=David B;31209]How exactly to you create an automated upload system without needing to do it manually? I would like to try that for Scratch. You can learn more about Scratch at [URL="http://www.scratch.mit.edu"]www.scratch.mit.edu[/URL].[/QUOTE]I used an html form with parameter - enctype='multipart/form-data' - and a file upload field and submitted it to a python cgi script that handles the upload.

[QUOTE=x2495iiii;31215]I plan to use it to hold all the most modern versions of my projects, both for display and for offsite backup purposes. So thanks for all your work arty.[/QUOTE]Thankyou for planning to do so. The general idea of this site is that it is not a replacement for the Alice community, but instead it runs nicely alongside it.

[QUOTE=zonedabone;31221]RAWR!

[URL]http://alice.org/community/showpost.php?p=30915&postcount=6[/URL][/QUOTE]Sorry. I did come up with this idea a while ago and implement it, but the host deleted my site, so I decided to start again. I forgot about your plan.

[QUOTE=zonedabone;31223]Also, it's not the best idea to go with CGI for your system, because it's easy to hack:

[URL]http://www.arty-fishl.heliohost.org/aodb/aodb.py[/URL] without any arguments[/QUOTE]Ahhh, I forgot about that error, I will fix it today. CGI isnt easy to hack, all I need to do is patch that error and disable traceback, then you will never get the traceback printed out. Also I dont expect anybody to try to hack it (except evidently you), and there is no personal or private data stored within the python scripts, all passwords are stored as MD5 hashes and are locked to server side permissions only. Anyway, i plan on making a gateway module for all which imports the other ones I have made now.

[QUOTE=zonedabone;31223]
I also noticed that you put parentheses around your print statements. It's not proper to do that unless you're using python 3.x. You're using 2.4.3.[/QUOTE]Pahh, its not exactly breaking it. I think its neater to use parentheses with print, if/else, while, return, and, or, but not with for iterations.

[QUOTE=zonedabone;31223]
If you're going to write a win website, use WSGI with django.[/QUOTE]I noticed a lot about that when I was googling some stuff for the AODb, but I never followed through, I decided to stick with what I knew. There's no real security threats on my system right now anyway.

arty-fishL 02-21-2011 12:53 PM

Sorry, just a note for you. The upload form doesnt yet directly upload into the submission form. When you are submiting something and you wish to also upload it to my server you must get the link from the end of the upload form and paste it into the download link for the submission form.
Sorry if this is confusing, I will try and join the two together soon, its just I noticed somebody had uploaded a model incorrectly and I havent got time to fix it right now.


All times are GMT -5. The time now is 11:12 AM.

Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.