• Married Bob

    From RiPuk@21:1/136 to All on Friday, November 03, 2017 20:09:38
    Hi all,

    Did anyone ever create a Married Bob downloader for Mystic - as in, a native plugin rather than a shell script that downloads the ANSIs?

    If so, would you mind sharing?

    Cheers
    Dave


    --- ENiGMA 1/2 v0.0.7-alpha (linux; arm; 6.11.3)
    * Origin: fORCE9 BBS - London, UK - bbs.force9.org (21:1/136)
  • From xqtr@21:1/111 to RiPuk on Monday, November 06, 2017 17:50:15
    Did anyone ever create a Married Bob downloader for Mystic - as in, a native plugin rather than a shell script that downloads the ANSIs?

    Mystic MPL doesn't provide a way to get/download files. Even if we make a MPL script, still we should use external apps like (curl, wget, git) to get the files... so the only difference from making a Python/BASH script would be to use some ANSI graphics/commands from MPL just to beautify the download process... except if i didn't get the question correct :)

    BTW, a Git repo from where i get the ANSIs of Married Bob, has a lot time to update. Is there another source for the ANSIs?

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From g00r00@21:1/108 to xqtr on Monday, November 06, 2017 11:59:39
    Mystic MPL doesn't provide a way to get/download files. Even if we make

    Can you not use the file download command? Menu command F3?

    You can access it from menus, Python, MPL, etc.

    --- Mystic BBS v1.12 A36 2017/11/06 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From xqtr@21:1/111 to g00r00 on Tuesday, November 07, 2017 20:06:51
    Can you not use the file download command? Menu command F3?
    You can access it from menus, Python, MPL, etc.

    Yes but this command is to get a file from the BBS only. There is not a command in MPL, to get a file from Internet... from what i know.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From g00r00@21:1/108 to xqtr on Tuesday, November 07, 2017 22:13:11
    Yes but this command is to get a file from the BBS only. There is not a command in MPL, to get a file from Internet... from what i know.

    Gotcha. Sorry I didn't really have context to the issue so I was thinking
    like a Zmodem transfer or something is what you needed.

    There are plenty for Python though and usually its only a line or two of code to do it, if there is a specific method you need I bet we could find a Python package for it.

    --- Mystic BBS v1.12 A36 2017/11/06 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Gryphon@21:1/120 to g00r00 on Wednesday, November 08, 2017 09:23:08
    On 11/07/17, g00r00 said the following...

    Yes but this command is to get a file from the BBS only. There is not command in MPL, to get a file from Internet... from what i know.

    Gotcha. Sorry I didn't really have context to the issue so I was
    thinking like a Zmodem transfer or something is what you needed.

    There are plenty for Python though and usually its only a line or two of code to do it, if there is a specific method you need I bet we could
    find a Python package for it.

    Agreed. One could always use the menucmd() function to call a DD menu option to run a python (or other script) to pull down files when needed.

    --- Mystic BBS v1.12 A35 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From xqtr@21:1/111 to g00r00 on Wednesday, November 08, 2017 21:22:36
    Gotcha. Sorry I didn't really have context to the issue so I was
    thinking like a Zmodem transfer or something is what you needed.
    There are plenty for Python though and usually its only a line or two of code to do it, if there is a specific method you need I bet we could
    find a Python package for it.

    Actually it was a question of RiPuk and i gave the same answer :)

    BTW i would love to see an MPL command like get(url,filename:string) which
    will natively get a file from the Net. :) Also a RegEx object would be much appreciated... :)

    I know that all this can be done externally with a DD command, but by supporting them natively, its a more cross platform way. For example, in Windows there are not any grep, wget, sed commands, which in linux are a standard.

    Maybe in a future release? plz... :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From g00r00@21:1/108 to xqtr on Wednesday, November 08, 2017 19:23:15
    BTW i would love to see an MPL command like get(url,filename:string)
    which will natively get a file from the Net. :) Also a RegEx object
    would be much appreciated... :)

    I think this can probably be done with a line or two of code in Mystic's Python which also has regex. Python is embedded into Mystic for things like this.

    Maybe someday I will add that stuff in MPL; I am certainly not against it. Before I do any more TCP/IP work I need to get MIS replaced and everything using my newer socket engine. Then I can build things on top of that.

    I really do have almost endless ideas for Mystic - its just a matter of what I should do when. In this case, I don't know how much I want to work on adding MPL capabilities if it can already be done in Mythic Python because there are so many other things that most people would consider more important.

    Have you considered Python at all?

    --- Mystic BBS v1.12 A36 2017/11/08 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From xqtr@21:1/111 to g00r00 on Thursday, November 09, 2017 17:02:40
    what I should do when. In this case, I don't know how much I want to
    work on adding MPL capabilities if it can already be done in Mythic
    Python because there are so many other things that most people would consider more important.
    Have you considered Python at all?

    I do some stuff in Python, but i find my self always frustrated at the end.
    The whole indentation thing as long with the many forms of "arrays" (tuples, dictionaries etc.) and other stuff, are confusing. I do prefer Pascal in many ways, but unfortunately, because of the lack of general support it has many limitations.

    So i try first to do things in Pascal/MPL and if it doesn't work then a give
    a chance to Python.

    I am speaking generally for Pascal and Python, and not specific for Mystic Python or MPL. :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Gryphon@21:1/120 to g00r00 on Thursday, November 09, 2017 09:51:18
    On 11/08/17, g00r00 said the following...

    BTW i would love to see an MPL command like get(url,filename:string) which will natively get a file from the Net. :) Also a RegEx object would be much appreciated... :)

    I think this can probably be done with a line or two of code in Mystic's Python which also has regex. Python is embedded into Mystic for things like this.

    Maybe someday I will add that stuff in MPL; I am certainly not against
    it. Before I do any more TCP/IP work I need to get MIS replaced and everything using my newer socket engine. Then I can build things on top of that.

    I really do have almost endless ideas for Mystic - its just a matter of what I should do when. In this case, I don't know how much I want to
    work on adding MPL capabilities if it can already be done in Mythic
    Python because there are so many other things that most people would consider more important.

    Is there a python library that can be used to read JAM message bases?

    --- Mystic BBS v1.12 A35 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From g00r00@21:1/108 to xqtr on Thursday, November 09, 2017 20:14:16
    (tuples, dictionaries etc.) and other stuff, are confusing. I do prefer Pascal in many ways, but unfortunately, because of the lack of general support it has many limitations.

    What limitations are you finding? Free Pascal is active, and just as capable as any other lower level language.

    --- Mystic BBS v1.12 A36 2017/11/08 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From g00r00@21:1/108 to Gryphon on Thursday, November 09, 2017 20:18:46
    Is there a python library that can be used to read JAM message bases?

    No idea, but if I had to guess I would say no since JAM is something from
    1992, long before Python.

    --- Mystic BBS v1.12 A36 2017/11/08 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From xqtr@21:1/111 to g00r00 on Friday, November 10, 2017 20:40:48
    What limitations are you finding? Free Pascal is active, and just as capable as any other lower level language.

    Mostly in packages and support to modern APIs... For example there all ready packages for controlling LCDs, APIs (wordpress, twitter etc.). You can't find those in FreePascal, maybe by luck if someone with the knowledge have made something for his hobby... but this the exception of the rule. Also the documentation for packages that exist even for years, is limited and there
    are not so many examples with source code for them.

    Also, the Net is full with snippets and code for Python, C etc. but for
    Pascal you have to look/search deeper to find a solution in a problem. But i have to say that Lazarus and FreePascal are the best IDE and cross compile solution by far.

    I found your code very helpful and made me understand some things, by
    studying it. I am sure you have your reasons for making Mystic, closed source code, but even those older versions are pretty awesome in code and it is very interesting studying it.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From g00r00@21:1/108 to xqtr on Friday, November 10, 2017 13:56:42
    Mostly in packages and support to modern APIs... For example there all

    Free Pascal can use any C-based library and it can also compile C-based API. If you notice, Mystic uses Python, CryptLib, and Hunspell, which are all written in C. You are right that sometimes you'll have to translate the headers from C to Pascal though, if someone else hasn't already.

    As far as other things like Twitter, sure packages exist for high level package-based scripting languages to do those things in a couple lines of code, but Pascal isn't one of those types of languages. Its not any easier in C either which would be a similar comparison.

    In the case of a Lib or DLL, those are usable in Pascal just as they are in C and the code to do so is pretty much the same. I agree there are probably more examples of how to do things in C via Google searches, but the trade off is also that C is harder to learn because Pascal has such strict type checking.

    Anyway I'm rambling lol

    --- Mystic BBS v1.12 A36 2017/11/10 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From xqtr@21:1/111 to g00r00 on Saturday, November 11, 2017 17:47:58
    In the case of a Lib or DLL, those are usable in Pascal just as they are in C and the code to do so is pretty much the same. I agree there are probably more examples of how to do things in C via Google searches, but the trade off is also that C is harder to learn because Pascal has such strict type checking.
    Anyway I'm rambling lol

    Yes i know all this, but because i never got into programming professionally,
    i didn't give too much attention. Also because i am always in a harry, i
    prefer to take the "shortest" path... so if some headers need translation, i prefer to do something ex. in Python, which may have a complete package
    ready, all ready.

    I am a (Free)Pascal fanatic... pascal is my first programming language and whenever i tried to learn another one, i was disgusted by their structure, syntax etc. Pascal is so easy readable, structured and straight forward...
    for me programming in Python for example, is something like taking a
    Democracy and making it complete Anarchy :)

    I also rumble a lot about my hobbies and Pascal is one of them. :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr.xqtr@gmail.com

    --- Mystic BBS v1.12 A34 (Raspberry Pi/32)
    * Origin: Another Droid BBS (21:1/111)
  • From Gryphon@21:1/120 to g00r00 on Saturday, November 11, 2017 13:02:38
    On 11/09/17, g00r00 said the following...

    Is there a python library that can be used to read JAM message bases?

    No idea, but if I had to guess I would say no since JAM is something from 1992, long before Python.

    Agreed. Maybe I should hit up Jame Clay to see if he can make one. He did a perl library to read/write JAM messages.

    But if only MPL could read mystic messages..... :P

    --- Mystic BBS v1.12 A35 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Pequito@21:1/126 to Gryphon on Saturday, November 11, 2017 15:17:44
    On 11/11/17, Gryphon said the following...

    On 11/09/17, g00r00 said the following...

    Is there a python library that can be used to read JAM message b

    No idea, but if I had to guess I would say no since JAM is something 1992, long before Python.

    Agreed. Maybe I should hit up Jame Clay to see if he can make one. He did a perl library to read/write JAM messages.

    But if only MPL could read mystic messages..... :P

    I agree with the MPL reading of mail bases! :)

    --- Mystic BBS v1.12 A36 2017/11/09 (Linux/32)
    * Origin: Twinkle BBS # (21:1/126)
  • From Tony Langdon@21:1/143 to xqtr on Monday, November 13, 2017 06:55:32
    xqtr wrote to g00r00 <=-

    I am a (Free)Pascal fanatic... pascal is my first programming language
    and whenever i tried to learn another one, i was disgusted by their structure, syntax etc. Pascal is so easy readable, structured and
    straight forward... for me programming in Python for example, is
    something like taking a Democracy and making it complete Anarchy :)

    I'm a bit rusty now, but I do like Pascal, and Free Pascal is a breath of fresh (recycled? ;) ) air in a sea of C, C++, Javascript and other languages. :)


    ... Where quality is just a word we like to use.
    ___ MultiMail/Win32 v0.49

    --- Mystic BBS/QWK v1.12 A35 (Raspberry Pi/32)
    * Origin: The Bridge - bridge.vkradio.com (21:1/143)