Programming In Prolog Part 3 - Scope, Structures and Arithmetic Operations

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 46

  • @TheSimpleEngineer
    @TheSimpleEngineer  10 лет назад +10

    Thanks! I plan on releasing a video series dealing with HTML/CSS/Javascript and hopefully JQuery in the future afterwards. Subscribe and keep your eyes peeled.

  • @Raging.Geekazoid
    @Raging.Geekazoid 3 года назад +2

    Just to repeat what someone said in the previous video, "and only if" isn't implied by horn clauses. A :- B means A if B.

  • @bigMax1337
    @bigMax1337 8 лет назад +17

    07:24 poor Johnny he was so young.

  • @lukaz
    @lukaz 9 лет назад +1

    Alright this is the best programming lecture i've seen on youtube!
    Thank you for this
    keep up the good work

  • @thecuriousone12
    @thecuriousone12 9 лет назад

    Thank you soo much for these videos! I just stumbled upon your tutorials in the hopes that I would find some easy, beginner examples in Prolog. I have my exam in two days and your videos saved me!!

  • @joaoigor453
    @joaoigor453 6 лет назад

    Hello my friend, thanks to did this series. This series stay really helping me. Really thanks

  • @aureliacarisssaaa
    @aureliacarisssaaa 6 лет назад

    I want to ask whether you can make a query or rule that can take the first name of the instructor. So instead of outputing `instructor(bryce, holton)`, it outputs `bryce` to the console.

  • @TheLekmann
    @TheLekmann 9 лет назад +1

    When i run a query and hit ENTER it doesn't print true or false. What i do wrong?

  • @muhammadasadullah9581
    @muhammadasadullah9581 8 лет назад

    which song did you use in starting?

  • @BlazingTyphlosion
    @BlazingTyphlosion 3 года назад

    What is the blackboard called, that you use to write and draw?
    This tutorial is gold! Thank you!

  • @dostoguven
    @dostoguven 6 лет назад +1

    smarter to do normal division and take all into parentheses then integer divide with 1 since if we do just integer division somewhere else 5//9 might get you just 0 and multiply it, you have a nice 0. this did not happen here thanks to left associativity.

  • @yoann5268
    @yoann5268 10 лет назад

    Swish don't existe now... so what can we use to edit & compil in same software ?
    thanks.

    • @TheSimpleEngineer
      @TheSimpleEngineer  10 лет назад +1

      It still exists
      swish.swi-prolog.org/

    • @yoann5268
      @yoann5268 10 лет назад

      The Simple Engineer *o* thanks !

  • @mitrathakker
    @mitrathakker 9 лет назад +8

    Hey bro, great videos and efforts!
    I see that u have used the word "instructor" twice, once as a fact and once as a relationship
    Is it similar to method overloading or something?
    Don't u think that the compiler may get confused due to this redundancy?

  • @ildisiri
    @ildisiri 9 лет назад +13

    OMG got so sad when he said: That person DIEEEED. :( R.I.P. hungry person.

    • @RamaRama-et7iq
      @RamaRama-et7iq 7 лет назад +1

      ildisiri so do I.. 😀😀

    • @ildisiri
      @ildisiri 7 лет назад +1

      Haha I don't even remember what I was talking about, it's been 2 years =) Be well friend.

    • @GiorgiGvimradze1
      @GiorgiGvimradze1 7 лет назад

      he said dies :D

  • @shubhampatel7277
    @shubhampatel7277 8 лет назад

    What is that music in the beginning of the video ?

    • @IVIose
      @IVIose 7 лет назад +1

      Holiest - Glass Animals

  • @cxzm3395
    @cxzm3395 8 лет назад

    How did you start the rules for your weather program? Like what you showed with compound statements would be helpful for what I'm trying to do(school project: pharmacy software showing drug interactions), but I think I'm missing how the program started.

  • @nicolasjimenezgarcia9560
    @nicolasjimenezgarcia9560 9 лет назад +1

    Great, thanks for your help! I have a question: How do you eliminate the background noise?

  • @S88168
    @S88168 9 лет назад

    Hello Mr, Engineering. I am interested in how did you do to make your safari new tab shows an o'clock?

  • @derekfrost8991
    @derekfrost8991 9 лет назад

    great stuff, also helped me with datalog. where is part 5???

  • @kahnfatman
    @kahnfatman 3 года назад

    "This Person died after this period" -- Johnny's Epitaph

  • @saim944
    @saim944 10 лет назад +1

    Tnx for the vid. Please can u say me the name of intro song name?

  • @daminduliyanage
    @daminduliyanage 7 лет назад +1

    Nice tutorial! At 10:29 it 3*2 not 3.2

  • @wongsathorncharoenkul8
    @wongsathorncharoenkul8 7 лет назад

    Easy to understand :)

  • @abdorap
    @abdorap 9 лет назад

    thx it was very usful for me!

  • @theincredibleschalk
    @theincredibleschalk 10 лет назад +1

    dankeschön!

  • @David-bu2mw
    @David-bu2mw 10 лет назад

    awesome vid :), shud do one on java (eclipse),html ,css etc and the other programming language you know

  • @CherryPauper
    @CherryPauper 10 лет назад +1

    I'm getting a predicate is not called error. Not sure what I am doing wrong because I literally wrote what he wrote:
    course(
    cse340,
    day(tues,thurs),
    time(1200, 1300),
    instructor(bryce, holton),
    coor300
    ).
    course(
    cse340,
    day(tues,thurs),
    time(1200, 1300),
    instructor(ivan, anderson),
    coor500
    ).
    instructor(Instructor, Class) :-
    course(Class,
    _,
    _,
    Instructor,
    _
    ).

    • @TheSimpleEngineer
      @TheSimpleEngineer  10 лет назад

      I copied the code you pasted in the box and queried the rule. Seems to work fine for me. Maybe try renaming the predicate and re-query. Could be a compiler read issue.

    • @CherryPauper
      @CherryPauper 10 лет назад

      The Simple Engineer Yeah, idk, still won't work. Whatever, I still learned the concepts. I hope you will continue these tutorials. I found them helpful, as did my friends.

    • @TheSimpleEngineer
      @TheSimpleEngineer  10 лет назад +3

      Cherry Pauper
      Not a problem. Might delve into some more advanced topics soon such as algorithms and data structures along with computational architecture. Thinking about doing a web series as well (html, css, javascript, jquery, ajax)

    • @majoro7251
      @majoro7251 9 лет назад

      The Simple Engineer i really wish you would man, i could use your explanations on recursion. Just had some recursion action today with Breadth-First-Search.

  • @PavanSinghAneja
    @PavanSinghAneja 10 лет назад

    Can you do a video on accumulators?

  • @lemiaabdalraheem2647
    @lemiaabdalraheem2647 10 лет назад

    Great..

  • @abbsm7320
    @abbsm7320 9 лет назад

    You should delete that into its awful and annoying

    • @BrandNewByxor
      @BrandNewByxor 8 лет назад

      Yes Abdullah, the *into* *its* awful and annoying.