Just Starting Out (Again) & Need Some Help
Posted: Fri Aug 07, 2015 5:19 am
I'm 74, and used to code a lot in script languages, assembler, and a number of Basics. I quit programming pretty much in 2002, after being forced to retire because of 9/11 and a long expired security clearance that nobody would pay to renew, then suffered a setback with a brain injury in late 2008, right before I first heard Obama speak as he ran for office (turned me off completely, but that's another topic).
What I'm saying is that I know programming in some respects, but now have to learn to do it again in a Linux flavor, as I've dropped Windows in favor of Ubuntu in the last decade. There are only two flavors of Basic that I know of that walk both the Windows and Linux paths, one being PureBasic and the other HotBasic, which you probably never heard of. It's still around, but drastically short on documentation, good example code, and participants. It also depends on one man for any change or improvement, and he isn't giving it his all, since he has other interests that demand his time.
So it looks like it is PureBasic. This is one dialict that I'm noy comfortable with, and it's been uears since I took a fling with it, so it os almost like starting over from scratch. But I am here not to just learn, I have two objectives in mind.
I want a web process that follows designated URLs and checks for new information for me. One goes to specific threads at places like ubuntuforums.org and pulls up the thread in the URL, then follows it to the last post on that thread, and collects the contents of that last post. It checks information in that post against some stored data, and if there is no match, it updates the stored data and notifies the PC user of the new post, it's contents, and provides a link back. The user notice can either be by email or by messaging on the desktop.
The second objective is very similar, but it is to webmail accounts like gmail.com, yahoo.com, and others, where it checks the contents of specific folders, such as the inbox, and reports back if any have new messages in them, or if existing messages meet certain criteria, such as having attachments, or are from certain sources.
So much time is eaten up by trying to keep up manually, and at my age, time is a bit of a luxury item. But it effects everybody. I spent hours writing and testing message filters to get my email client under control, but with that done, I am no longer hampered by too much email to screen at once. I can just see what a difference doing something like that would make to how I deal with forums and locations where I have mailboxes.
Those are my two reasons for getting back into a bit of programming, but now I have to figure out how to do it. I may have to emulate a terminal window to issue commands to the bash shell interpreter, act like a browser in dealing with a URL, anf manage a database when it comes to checking what's there compared to what I find out there now.
Some ideas would be appreciated, and possibly some pointers to existing sample or example code that could serve as a starting point for some of the development needed.
I know rhat with Windows' programming, you have recourse to built-in DLL routines. I imagine there is something similar for most flavors of Linux, but I have absolutely no idea of what is there or how to make use of it. Some ideas along that line could help as well.
This do not have to be GUI applications. They just have to run on schedule and get the job done.
What I'm saying is that I know programming in some respects, but now have to learn to do it again in a Linux flavor, as I've dropped Windows in favor of Ubuntu in the last decade. There are only two flavors of Basic that I know of that walk both the Windows and Linux paths, one being PureBasic and the other HotBasic, which you probably never heard of. It's still around, but drastically short on documentation, good example code, and participants. It also depends on one man for any change or improvement, and he isn't giving it his all, since he has other interests that demand his time.
So it looks like it is PureBasic. This is one dialict that I'm noy comfortable with, and it's been uears since I took a fling with it, so it os almost like starting over from scratch. But I am here not to just learn, I have two objectives in mind.
I want a web process that follows designated URLs and checks for new information for me. One goes to specific threads at places like ubuntuforums.org and pulls up the thread in the URL, then follows it to the last post on that thread, and collects the contents of that last post. It checks information in that post against some stored data, and if there is no match, it updates the stored data and notifies the PC user of the new post, it's contents, and provides a link back. The user notice can either be by email or by messaging on the desktop.
The second objective is very similar, but it is to webmail accounts like gmail.com, yahoo.com, and others, where it checks the contents of specific folders, such as the inbox, and reports back if any have new messages in them, or if existing messages meet certain criteria, such as having attachments, or are from certain sources.
So much time is eaten up by trying to keep up manually, and at my age, time is a bit of a luxury item. But it effects everybody. I spent hours writing and testing message filters to get my email client under control, but with that done, I am no longer hampered by too much email to screen at once. I can just see what a difference doing something like that would make to how I deal with forums and locations where I have mailboxes.
Those are my two reasons for getting back into a bit of programming, but now I have to figure out how to do it. I may have to emulate a terminal window to issue commands to the bash shell interpreter, act like a browser in dealing with a URL, anf manage a database when it comes to checking what's there compared to what I find out there now.
Some ideas would be appreciated, and possibly some pointers to existing sample or example code that could serve as a starting point for some of the development needed.
I know rhat with Windows' programming, you have recourse to built-in DLL routines. I imagine there is something similar for most flavors of Linux, but I have absolutely no idea of what is there or how to make use of it. Some ideas along that line could help as well.
This do not have to be GUI applications. They just have to run on schedule and get the job done.