![]() |
|
IMP - Not this old chestnut again - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: IMP - Not this old chestnut again (/showthread.php?tid=3127) Pages:
1
2
|
RE: IMP - Not this old chestnut again - Dimster - 10-19-2024 Well Tempodi, seems Gossip IMP Nudity. Takes my Girl/Boy IMP Pink/Blue to a new level. Did you notice how many males in that video wore blue? I liked that Wikipedia article as well. Seems to agree that IMP works better with numeric than normal language logic. I gather you are not a fan of Gemini?? RE: IMP - Not this old chestnut again - TempodiBasic - 10-21-2024 (10-19-2024, 08:21 PM)Dimster Wrote: Well Tempodi, seems Gossip IMP Nudity. Takes my Girl/Boy IMP Pink/Blue to a new level. Did you notice how many males in that video wore blue? yeah (Gossip = true) IMP (Nudity = true) --> IsAGirl = ( (Girl = Pink) IMP (gender = Pink)) XOR IsABoy = ((Boy = Blue) IMP (gender = Blue)) here a simple example Code: (Select All)
please copy, paste, save and then run it. About AI, I cannot say more about them because I haven't ever used them (Chatgpt, Gemini, Aria and others). It is a sentiment and not a rational think my position for now. Thinking in general lines: AI is all you put into it and you can fall in the mistake of sillogism, a wrong hypothesis generates a wrong deduction. This lead the thinking from Aristotele to Hume and then to Kant and Wittingstein, ending with Popper. Who don't know the tell of the turkey?. A coscient and thinking turkey was born in a farm, and day after day it get the truth that the farmer was a good man and he was loving it. The rule got by deduction method was every day the sun goes up in the sky and the farmer loves it giving it food. This rule was true for all the days of its life until the thanksgiving day! Aristotele (Aristotle english) Hume Kant Wittgenstein Popper RE: IMP - Not this old chestnut again - Dimster - 10-22-2024 I appreciate the IMP code, I have added it to my collection of IMP sample codes. By the way, do you recall this one? Code: (Select All) 'IMP demo in multiple casesIn terms of using AI, I'm afraid that train has left the station, we are going to be inundated with it. Interesting you have mentioned Popper, it is his falsification theory that I find my computer understands the most ( ie A theory is Valid Until Proven False). Trouble is my computer is suggesting more of my theories are proven false than true. New Theory, I think my computer has a drinking problem. RE: IMP - Not this old chestnut again - TempodiBasic - 10-22-2024 (10-22-2024, 04:51 PM)Dimster Wrote: I appreciate the IMP code, I have added it to my collection of IMP sample codes. By the way, do you recall this one?Hey Boy do you bring me a code that is familiar to me! ![]() You get error after pasting this code into QB64peIDE because it had been written when there was an issue about Function parsing. After correction of that issue the line of code Code: (Select All)
activates an error warning of calling InTheRange without parameters.So to use NOT on the result of IMP operator we must use a TeMPorary variable tmp and then assign to the function InTheRange the correct result. here code: Code: (Select All)
So do you like my little IMProbable IMP library? Thanks Dear Dimster about Karl Popper he said that a theory is true if you can falsificate it! So it is true when you prove that it is false. Falsification by Popper these ideas are born for correcting the affirmations of the Vienna Circle, that starting from Wittgenstein's Tractatus, about the verification (finding proves to confirm a theory) is at the root of the scientific research. Vienna Circle Neopositivism Fine to talk about phylosophy in an ocean of bits 0/1! Thanks moreover to let me correct my IMProbale IMP library. RE: IMP - Not this old chestnut again - TDarcos - 10-23-2024 (10-16-2024, 02:57 PM)Dimster Wrote: While Gemini was thinking the above was an issue for IMP dealing with string values it told me QB64PE could have a bug in its application of IMP after the following code using IMP was tested :And even that doesn't require IMP: Code: (Select All)
This also works and requires no "unusual" features. Unusual in that I've never needed an "implies" operator.
RE: IMP - Not this old chestnut again - Dimster - 10-23-2024 When it comes to a Logical approach for code to solve a problem it's uncanny how the use of a "Logical Operator" .. IMP... becomes so redundant as you have demonstrated TDarcos. Do you feel however that there is a subtle difference between IMPLYING someone's age from a given statement v's a concrete IF/Else choice of two outcomes? Tempodibasic replies here have introduced Popper's Falisification Theory. I'm looking at it as that which appears to the left side of an IMP statement. Popper would Falsify the left side of IMP if there is a logical chance that the unlaying theory/math of the left side might be false. But the only way to find out if the left side is False would be to act like it is True until your program hits a scenario where the Left side is indeed False. This is the point where your program actually becomes better or more advanced (also according to Popper). This implies (IMP) you really only learn by your mistakes. Especially believing a Boy has 3 knees. Thanks for the discussion (again). RE: IMP - Not this old chestnut again - TempodiBasic - 10-24-2024 @TDarcos IMP has its range of action and utility, surely this range is different from AND, OR, XOR, NOT let's think like we are comparing multiplication with elevation to power, how many times do you use the first operation towards how many times you use the second operation? My little IMProbable IMP library has the goal to show that it is possible using IMP if you understand its way to work. Not that the use of IMP is common. @TDarcos, @Pete @AllReaders pay attention! in this code made by Gemini Code: (Select All)
the use of IMP is fake! Let's remember the truth table of IMP Boolean1 IMP boolean2 IMP returns False only IF boolean2 is False! So boolean1 IMP True = True also when boolean1 is False run this to verify Code: (Select All)
in the sum it is clear because IMP is unuseful in the previous code and we get better results using only IsAdult in the IF statement. @Dimster yeah True IMP True = True --> Verification False IMP True = True --> Falsification maybe here Popper enter in the coding world. |