|
Coming soon... |
|
This is a long thread. Click here to view the threaded list. |
|
Ian Cook |
Message #78538, posted by ilcook at 18:15, 8/8/2006, in reply to message #78442 |
Resident idiot
Posts: 1075
|
And it still doesn't work if I don't use a task window! I have been shown the error of my ways. Hurrah! So what was the problem then? |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #78541, posted by Phlamethrower at 18:52, 8/8/2006, in reply to message #78538 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
The documentation was a bit confusing as to what parameters to give the upload function. It made it look like it should take two string parameters (local and remote file name), where the actual function only takes one string. Turns out you need to stick both strings together, with a space in the middle. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #95901, posted by Phlamethrower at 23:07, 16/12/2006, in reply to message #78541 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Anyway...
With the advent of my semi-automagically updated projects page, it's looking like I'm already hitting the limits of what can be done using obeyfiles & BASIC without it all turning into one ugly, ununderstandable, unmaintainable mess. Which it practically is already
So at the moment I'm trying to decide whether it's best to:- Rewrite it in C with a nice GUI
- Shift some of the processing serverside (So the projects page (and similar pages) reads textfiles for each project, rather than being a static page that gets updated and uploaded by ProJect)
- Sort out my local filesystem so it isn't such a mess (some projects on the riscpc; some on the iyonix; some projects on both; local copy of my website on my PC; no guarantees as to which computers are available at any one time)
- Write my magical software schema thing and rework my website to use that
- Or try and bodge whatever functionality I need onto the current system
- Or just don't touch it any further and try to work with it as it is now.
- None of the above
- All of the above
[Edited by Phlamethrower at 23:11, 16/12/2006] |
|
[ Log in to reply ] |
|
Michael Drake |
Message #95902, posted by tlsa at 23:29, 16/12/2006, in reply to message #95901 |
Posts: 1097
|
- Or just don't touch it any further and try to work with it as it is now.
This.
[Edited by tlsa at 23:30, 16/12/2006] |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #95903, posted by Phlamethrower at 00:40, 17/12/2006, in reply to message #95902 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Yes
*tries running it now he's added a load more projects*
Yay! It mostly worked.
ProJect: Processing ADFS::HardDisc4.$.Work.ARM code.1kbefunge.fungus.ProJect ProJect: Compare: Project hasn't changed ProJect: Processing ADFS::HardDisc4.$.Work.ARM code.h11p.ProJect ProJect: Compare: Project hasn't changed ProJect: Processing ADFS::HardDisc4.$.Work.!Bakeout.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!Bakeout.source.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!DeathDawn.ProJect ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!DeathDawn.source.ProJect ProJect: Compare: Project hasn't changed ProJect: Processing ADFS::HardDisc4.$.Work.!GAIO.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!GAIO.source.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!Micron.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!ProJect.MyProJect ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.!SunEd.MyProJect ProJect: Error: Project ADFS::HardDisc4.$.Work.!SunEd.MyProJect not found ProJect: Processing ADFS::HardDisc4.$.Work.!Surgeon.MyProJect ProJect: Error: Project ADFS::HardDisc4.$.Work.!Surgeon.MyProJect not found ProJect: Processing ADFS::HardDisc4.$.Work.!WOUM.ProJect ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.Befunge.!Befunge.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.Befunge.!Befunge.source.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.vnc_serv.ProJect ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: Processing ADFS::HardDisc4.$.Work.PicoDrive.ProJect ProJect: Warning: Status file for project not found ProJect: Compare: Warning: No previous version hash ProJect: Compare: Project has changed, preparing to package ProJect: Zip: Zipping files ProJect: FTP: Waiting for transfer to complete... ProJect: FTP: Completed ProJect: UpdateStatus: Updating status file ProJect: User.egnufeBPrj.Upload: Waiting for transfer to complete... ProJect: User.egnufeBPrj.Upload: Completed ProJect: Shutting down Although, of course, half the projects that it uploaded hadn't actually been changed, they were just new to the system. |
|
[ Log in to reply ] |
|
VinceH |
Message #95911, posted by VincceH at 09:08, 17/12/2006, in reply to message #95901 |
Lowering the tone since the dawn of time
Posts: 1600
|
Rewrite it in C with a nice GUI I'd normally say C is the way to go - but in this case, if it's currently a mess of BASIC and Obey files then I would have thought it easier to rewrite it in BASIC with a nice GUI, since you have some of the code that does the actual grunt already done.
On a not entirely unrelated topic, I have two main choices of stuff to do today:- Some sorting out of accounting records (literally just re-filing) for 2003 for my PITA client
- Power up the RPC and finally get around to shifting everything - most importantly all my dev stuff - onto VRPCSESATLAETC (and then do some coding)
The first obviously earns me real, cold, hard cash - well, okay, a cheque - but not for however many months it takes for the client to pay the money, plus the guy annoyed me the other week (again).
So I think I'll do the second. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #95913, posted by Phlamethrower at 09:49, 17/12/2006, in reply to message #95911 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I'd normally say C is the way to go - but in this case, if it's currently a mess of BASIC and Obey files then I would have thought it easier to rewrite it in BASIC with a nice GUI, since you have some of the code that does the actual grunt already done. It'd be easier for me to do the GUI in C, and most of the 'actual grunt' can easily be translated as it's simple things like comparing timestamps or copying files. C will also make it easier to do other things, e.g. determine whether the directory/filestructure has changed so that it can prompt the user what new files to include/exclude from the archive. And it will allow me to get rid of the dubious Perl code that updates the projects page (Since I was wary of BASIC's string length limit)
So I think I'll do the second. Yay! (ish)
[Edited by Phlamethrower at 09:50, 17/12/2006] |
|
[ Log in to reply ] |
|
VinceH |
Message #95926, posted by VincceH at 15:05, 17/12/2006, in reply to message #95913 |
Lowering the tone since the dawn of time
Posts: 1600
|
So I think I'll do the second. Yay! (ish) Well, the first part of that (transferring all my files etc from the RPC to VRPCSESATLAETC) was relatively painless, just very slow. I had no idea networking between two RISC OS "machines" was so easy! |
|
[ Log in to reply ] |
|
Jason Togneri |
Message #95929, posted by filecore at 18:41, 17/12/2006, in reply to message #95926 |
Posts: 3867
|
Well, the first part of that (transferring all my files etc from the RPC to VRPCSESATLAETC) was relatively painless, just very slow. I had no idea networking between two RISC OS "machines" was so easy! Okay, I'm lazy. Please give step-by-step instructions |
|
[ Log in to reply ] |
|
VinceH |
Message #95936, posted by VincceH at 23:53, 17/12/2006, in reply to message #95929 |
Lowering the tone since the dawn of time
Posts: 1600
|
Well, the first part of that (transferring all my files etc from the RPC to VRPCSESATLAETC) was relatively painless, just very slow. I had no idea networking between two RISC OS "machines" was so easy! Okay, I'm lazy. Please give step-by-step instructions Enable ShareFS via choices. And itrc reboot. bOB is your unclie. Bloody slow copying files theoughj. |
|
[ Log in to reply ] |
|
VinceH |
Message #95937, posted by VincceH at 23:54, 17/12/2006, in reply to message #95936 |
Lowering the tone since the dawn of time
Posts: 1600
|
Well, the first part of that (transferring all my files etc from the RPC to VRPCSESATLAETC) was relatively painless, just very slow. I had no idea networking between two RISC OS "machines" was so easy! Okay, I'm lazy. Please give step-by-step instructions Enable ShareFS via choices. And itrc reboot. bOB is your unclie. Bloody slow copying files theoughj. Being that t's Select on both the RPC and VRPCSESAT:AETC that also might help. |
|
[ Log in to reply ] |
|
Pages (2): |< <
2
|