by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 30 18:54

    pmoura on master

    Improve linter checks for tauto… (compare)

  • May 30 09:50

    pmoura on master

    Improve linter checks for tauto… (compare)

  • May 29 21:37

    pmoura on master

    Add `process_modeling` parametr… (compare)

  • May 28 19:23

    pmoura on master

    Clarify meaning of "plain Prolo… (compare)

  • May 28 13:44

    pmoura on master

    Fix outdated references to Hand… (compare)

  • May 28 13:23

    pmoura on master

    Update `QUICK_START.md` file to… (compare)

  • May 27 13:17

    pmoura on master

    Fix tests driver file for the `… (compare)

  • May 27 10:03

    pmoura on master

    Update `redis` library to also … (compare)

  • May 26 21:55

    pmoura on master

    Add support for Tau Prolog to t… (compare)

  • May 26 19:13

    pmoura on master

    Update install scripts for Tau … (compare)

  • May 26 19:03

    pmoura on master

    Make Tau Prolog support availab… (compare)

  • May 26 17:57

    pmoura on master

    Update the `random` library for… (compare)

  • May 26 14:44

    pmoura on master

    Update notes on Ciao Prolog sup… (compare)

  • May 25 20:56

    pmoura on master

    Update compiler internal table … (compare)

  • May 25 20:24

    pmoura on master

    Update Ciao adapter file for th… (compare)

  • May 25 18:40

    pmoura on master

    Update Ciao Prolog support for … (compare)

  • May 25 16:51

    pmoura on master

    Improve definition of library p… (compare)

  • May 25 10:58

    pmoura on master

    Fix definition of library predi… (compare)

  • May 25 08:38

    pmoura on master

    Update portable `os` library su… (compare)

  • May 24 20:54

    pmoura on master

    Add API documentation and diagr… (compare)

Paulo Moura
@pmoura
You welcome.
YungTse Technology
@YungTseTech_twitter
If I was really cruel, Paulo, I would point you at Jupyter Notebooks as a Logtalk host. :D
Paulo Moura
@pmoura
YAP have some support for Jupyter notebooks but never played with that feature.
LamentConfiguration
@LamentConfiguration
i've never been able to feel comfortable with the jupyter stuff?
am i just old?
:D
YungTse Technology
@YungTseTech_twitter
@LamentConfiguration : I have looked and looked and looked at the Jupyter site. I still have no idea what it's supposed to be.
LamentConfiguration
@LamentConfiguration
i think they're trying to be like what i'e seen eclipse/ciao/swi offer in terms of an interactive dev environment? along with the ability to display charts and similar easily?
YungTse Technology
@YungTseTech_twitter
It's like my reaction to Maven: "What is this?" "<insert long laundry list>" "Got a summary?" "<insert same long laundry list>" "OK..."
LamentConfiguration
@LamentConfiguration
the java ecosystem and npm-based ecosystems are a fucking mess
CPAN has done it right for a long time :D
YungTse Technology
@YungTseTech_twitter
Except for that "P" part.
They put the kitchen sink there.
LamentConfiguration
@LamentConfiguration
lol
i mean in terms of structure/vetting/peer-review
YungTse Technology
@YungTseTech_twitter
Yeah, if I were going to use Perl (Protip: NEVER!) CPAN would definitely not be the part of the experience that sucks.
LamentConfiguration
@LamentConfiguration
perl is my fallback after lua for quick fixes
i can't stand working with shell scripts personally :D
YungTse Technology
@YungTseTech_twitter
Depending on what I'm doing, I use either Rexx or Awk most times with an occasional dive into SNOBOL4.
It would be cool if I could use something Prologish for scripting, but ... that's not really practical. A lot of the stuff you do in scripting languages is awkward in Prologs.
LamentConfiguration
@LamentConfiguration
yeah, it kinda makes rosetta code feel a bit "meh" as compared to the "ooh and ahhh" the other languages often get from me.
YungTse Technology
@YungTseTech_twitter
Prolog gets "ooh and ah" from me on problems that are difficult in other languages, but generally simple in Prolog.
YungTse Technology
@YungTseTech_twitter
@pmoura So, you like the Rush philosophy of communities? :D
Paul Brown
@PaulBrownMagic
Paulo Moura
@pmoura
Hi. Checking ...
The first works. The second one is incorrect.
How do you get to the second?
Paul Brown
@PaulBrownMagic
Yes, the second is the href to APIs on the first
Under External Contents in the sidebar
Paulo Moura
@pmoura
Looking into it ...
Sorry. Misread your initial message.
I think the bug was introduced when I "fixed" the link from https://logtalk3.readthedocs.io/en/latest/
On the stable version at https://logtalk.org/manuals/index.html the link to the API docs is only correct at the main page.
Paul Brown
@PaulBrownMagic
Ok, well I found the docs I was looking for, thank you!
Paulo Moura
@pmoura
Thanks for reporting! What I'm trying to accomplish with the links as that they work locally whithout requiring an Internet connection.
Paul Brown
@PaulBrownMagic
Nice, that'll be handy when flying becomes a thing again
YungTse Technology
@YungTseTech_twitter
Or here where my Internet is about as trustworthy as a politician.
Paulo Moura
@pmoura
😂
Paulo Moura
@pmoura
Fixed in the git version.
Paulo Moura
@pmoura
Will be fixed in the Logtalk website when I release the next stable version.
Paul Brown
@PaulBrownMagic
Thought I'd share how a category can be useful for testing. So I have an object that's going to have a bunch of messy application data in it with a tiny bit of reasoning to filter out relevant facts. Now I want to test that reasoning but without all the mess and verbosity that'd come from the real, messy data. I could duplicate the object to make a test version, but then I'd have to maintain two versions of the reasoning and that ain't gonna happen. So I put the reasoning into a category, import that into a testing object and actual use object, and load the relevant ones in loader.lgt and tester.lgt. Now I can do TDD with updating the category and know that it'll work in my application.
Paulo Moura
@pmoura
👍
Related, there are two ways of calling a category predicate from an object: ::/1 - which implies dynamic binding and ^^/1 - which enables static binding.
Paul Brown
@PaulBrownMagic
  • goes to check bindings... ah yes static!
Paulo Moura
@pmoura
Static binding optimizations do require compiling with the optimize flag turned on.
But, for testing, debug(on) is usually used instead to allow collecting code coverage data.
::/1 may need to be used when the object can be extended and the predicate being called can be redefined in the descendant object.
Paulo Moura
@pmoura

Gentle reminder. Two Logtalk webinars on May 30th:

  1. Introduction to Logtalk - 14:00 UTC+00:00 (Tea tier)
  2. Parametric objects programming idioms - 19:00 UTC+00:00 (Sushi Tier)

See https://github.com/sponsors/pmoura for sponsorship tier details and additional rewards. See you there!

Paulo Moura
@pmoura
Connections details for the Logtalk webinars tomorrow have now be sent to sponsors and guests. See you there!
LamentConfiguration
@LamentConfiguration
i'll be on-board more hopefully soon, life is a shit-nado right now with how things are going at my "wear a monkey suit, get health insurance" job.