ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: New File Upload Form

New File Upload Form
Posted by Magnus on 10 March 2002, 17:54 GMT

A new handling of file uploads have been installed on ticalc.org. The process looks pretty much the same to the end user - most of the changes are "under the hood". However, the following user visible changes have been made:

  • A ticalc.org user account is now required to upload files. Files are automatically tied to this account.
  • If you are updating a file that already exists in the archives, you will be requested to confirm that this is actually an update.
  • If you are uploading a separate file that conflicts in name with a file already in our archives (in the same directory, of course) or the pending queue you will be asked to rename the file on upload.
  • It will now be possible to have more than one file with the same name in the pending queue at the same time - as long as they are in different directories. This makes it possible to upload the same program for multiple calculators with the same name.
These changes were made both to make the process for our file archiver easier and faster, and to add features for our users. By changing most of the infrastructure behind the upload process, we have also prepared for further feature additions in the future.

If you have any problems uploading files, please contact filearchive@ticalc.org.

Update (Magnus): Another new field has been added to the update form - "Comment to file archiver". That way you won't have to accompany your upload with a mail telling our archiver what you want done, if you want something non-standard.

 


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: New File Upload Form
Sebastian Reichelt  Account Info
(Web Page)

Congratulations on this! I like the fact that you are becoming even more professional and more automated.

     10 March 2002, 20:34 GMT


Re: Re: New File Upload Form
no_one_2000_  Account Info

Yeah, they must be really good at PERL.

HIP HIP HOORAY! LET'S START A PARADE! (That almost rhymes)

     11 March 2002, 01:05 GMT


Re: Re: Re: New File Upload Form
lord_nightrose Account Info
(Web Page)

Well, it's not *all* PERL. They've got a bunch of SQL and PHP and other stuff there, too. They deserve a lot of credit for their work. I had to work on an online registration page for a spring retreat for a group I'm helping with up at Michigan Tech and it took us at least a total of 40 hours to put together. FOUR WEB PAGES, 40 HOURS. It was nuts. All together, all the code we had to write was about 100-150KB. It was farking HUGE. I almost missed a plane the day after we finished it because I was up all night coding like a madman (because we told people it would be working at 8 AM).

In other words, don't take this work too lightly. Even something as simple as this probably cost the TIcalc coders at *least* a couple nights' sleep.

Congrats, and keep up the good hard work.

     11 March 2002, 02:58 GMT


PHP
Phil Genera  Account Info
(Web Page)

Shhh, there's no PHP on ticalc.org. Henrik and Magnus would be disowned by each other if there were.

--
Phil

     11 March 2002, 04:40 GMT

Re: PHP
MathJMendl  Account Info
(Web Page)

Why? PHP4 is faster than most Perl scripts.

     11 March 2002, 23:57 GMT


Re: Re: PHP
Magnus Hagander  Account Info
(Web Page)

Let's not get into a religious war, but it has to do with language "cleanness" and consistensy.

It definitly is faster, though, I give you that :-) That usually just means you have to think a bit further to do it in others...

     12 March 2002, 19:59 GMT


Re: PHP
lord_nightrose Account Info
(Web Page)

oh, whoops. for a second I thought the file upload thing was PHP... then I noticed the ".pl" extension and the whole "cgi-bin" thing. gack.

     12 March 2002, 17:35 GMT

Re: New File Upload Form
no_one_2000_  Account Info

TI-89 TIGCC Question:

How do you display a substring of a string?

Example.

char *pi[100];
sprintf(pi, "3.1415926535... (pretend I have 100 digits here)");

Then, how would I display the 3, or pi[0]? I confused!

(I'm comfwoosed)

     11 March 2002, 01:58 GMT

Re: Re: New File Upload Form
lord_nightrose Account Info
(Web Page)

um... whuh? Why are you doing a pointer to an array of characters instead of an array of characters?

     11 March 2002, 03:01 GMT


Re: Re: Re: New File Upload Form
no_one_2000_  Account Info

Who knows :) I'm not very good at programming :)

     11 March 2002, 22:43 GMT


Re: Re: New File Upload Form
Carl N Account Info

Not that that has ANYTHING to do with the topic but...

you prob meant this:
char pi[100];

instead of this:
char *pi[100];

but that's ok, there's no debugger here to catch ya.

Anyhow back on the off-topic...

if you want to display one particular digit, you can't just do this:

printf(pi[0]) because printf is expecting a pointer, not the actual character '3' which pi[0] equals.

there are some fun ways to get around this, but just to be simple you could do something like this:

char pi[100] = "3.14153.......";
//(or pi[100]; sprintf(pi, "3.1425..."); if you want)
char pieceofpi[2];

pieceofpi[0] = pi[0]; //The char 3
pieceofpi[1] = 0; //The Null terminator to make it a valid string for printf or whatever string functions you want to use

printf(pieceofpi);

mmmmmm, pi

     11 March 2002, 05:29 GMT


Re: Re: Re: New File Upload Form
no_one_2000_  Account Info
(Web Page)

Kay thanks, I'm gonna play around with that, hoping it works.

I'm making a geeky screen saver-type program that will display, digit by digit, the first 100 digits of pi. :)

     11 March 2002, 22:44 GMT


Re: Re: Re: Re: New File Upload Form
Chickendude  Account Info

that's cool! I saw this website that said out loud the digits of for... for... forever?!?!?!?!?!?!?!?!?!?!

     11 March 2002, 23:33 GMT

Re: New File Upload Form
DWedit  Account Info
(Web Page)

Alright! Kill the IRC chat logs directory already!

     11 March 2002, 05:15 GMT


Re: Re: New File Upload Form
no_one_2000_  Account Info
(Web Page)

Aren't you the one who made bubble bobble?

Got a suggestion: a level editor.

     11 March 2002, 22:45 GMT


Re: Re: Re: New File Upload Form
Chickendude  Account Info

bubble bobble is my favorite game! (one of them, atleast. Asteroids just worked it's way up)

     11 March 2002, 23:34 GMT


Re: Re: Re: Re: New File Upload Form
no_one_2000_  Account Info
(Web Page)

I was at round 70-something, and then my calc crashed. (No, the crash wasn't related to bubble bobble. It was because I tried to romdump and my calc locked up. :-( )

     12 March 2002, 00:08 GMT


Re: Re: Re: Re: Re: New File Upload Form
Chickendude  Account Info

I was at round sixty and one of my teachers took my calculator away and cleared all the memory. Now I have to start all over.

     12 March 2002, 01:10 GMT

Re: New File Upload Form
Chivo  Account Info
(Web Page)

Has anyone noticed it says "Implemented new file upload hangling system." on the front page in the Updates box (at least on 12 Mar 02)? How do you "hangle" file uploads?

     12 March 2002, 16:34 GMT


Re: Re: New File Upload Form
Magnus Hagander  Account Info
(Web Page)

That is not for you mere mortals to understand. It requires a much higher level of existence.

     12 March 2002, 20:02 GMT

Re: Re: Re: New File Upload Form
Ryan Pohlner  Account Info

Any comment on my rating/reviewing files idea? :/

     12 March 2002, 21:39 GMT


Re: Re: Re: New File Upload Form
shakey_snake  Account Info
(Web Page)

no wonder none of this crap gets deleted, Magnus is crazy too!

     12 March 2002, 22:05 GMT

1  2  3  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer