Messages - CodeTRUCKER [ switch to compact view ]

Pages: prev1 2 3 [4] 5 6 7 8 9 ... 215next
16
4wd,

Thank you for such a comprehensive response. I don't pretend to understand it all at first blush, but I will study, try it and report back if I have any specific questions or (hopefully) to report success. I sometimes have seasons where simple coding is almost incomprehensible and my gimpy noodle has been acting up lately. LOL

Thanks again,
Calvin

17
General Software Discussion / Best Advice for New Python Programmers
« on: January 23, 2019, 01:41 AM »
Hi,

Like the subject says, I am beginning to learn Python. I tried some years ago but got pretty sick and now that I seem to be doing much better I want to try again. I used to be a pretty good COBOL/DB2?CICS and VB4 programmer (read: dinosaur), so I can kind of grasp most of what's going on, but I've forgotten a bunch (probably more than I could relearn). Anyway, if anyone has any specific advice about Python or programming, in general, please share it with me. I know I have to get my own "bloody nose," but I don't want to reinvent the wheel if I can help it.

FYI - I am searching the Internet and other forums for tips, tricks and cautions too, but I like DC. I always have. :)

Thanks for reading,
Calvin

18
No that is not the latest lousy cryptogram. It is kind of a description of what I am looking for.

Here's the deal... I have amassed a huge number (1+TBs) of archive files (zip, rar, 7z, etc.) which I expanded into folders, but failed to properly delete the temporary folders of the same names. Each time I upgraded my offline storage and computers I always said to myself I'd clean up the mess later. Well, I didn't and it's some years since 1996. Yeah, I know a bunch of them won't even work these days, but that is beside the point.

Can anyone direct me to a special duplicate file/folder finder which will ignore the extension? One which will find the folder name which matches the archive name? Once I can make sure I have the archive file then I can delete the expanded folder. I'm anticipating it will reduce my volume by 60-80 percent (best guess) which will also greatly reduce my disk maintenance and defrag time.

Any ideas?

Thanks for reading. :)
Calvin

 

19
The good news is your flight simulator mathematics will be fast, and c++ would be the language of choice for doing hardcore simulations where mathematical calculations need to be done as quickly as possible.
The bad news is you've made your job a lot harder, and you've already bitten off more than almost anyone can chew.
I agree this is a tough road and I am over my head, but C++ is the tool my mentor wants to use to program the DLLs/apps to use with the Microsoft Flight Simulator X.  With his help and a template he has helped me code a function which holds a floatplane/seaplane/amphibian locked in one position next to a dock (docking) and pivoting like when a floatplane/seaplane/amphibian is anchored offshore.  He did most of the coding for locking to a location, but left me to take a crack at coding locking the heading as well and it worked!  There is A LOT I don't know, but at least I have had a successful start.  FWIW - I won't be coding any 3D graphics, so at least it will be a little less complicated.  We'll see?  In the meantime, I have not done any coding on my text-based flightsim.  I have only been planning, per your encouragement.  Based on that rough sketch I will probably not have any kind of real prototype until next summer, but I should have a simple, linear, basic alpha before the end of the year.  Here's hoping!  :)

20
Thanks for the links Wraith!  They look pretty good.  :Thmbsup:

Pages: prev1 2 3 [4] 5 6 7 8 9 ... 215next
Go to full version