Conversation
Notices
-
Embed this notice
aetios (aetios@ak.kawen.space)'s status on Tuesday, 06-Dec-2022 23:37:48 JST aetios @FloatingGhost
Can you ask chatgpt something?
"write a simple python program that, given a python function as input, will output whether the given function will return, if at all"
(yes, we are asking it for a solution to the halting problem, no, I'm not certain if it will find a loophole of some kind in my input, if you can make it more water tight without telling it directly to solve the halting problem, feel free to do so)- Puniko ? repeated this.
-
Embed this notice
Volpeon :drgn_fire::drgn_scream: (volpeon@mk.vulpes.one)'s status on Tuesday, 06-Dec-2022 23:37:47 JST Volpeon :drgn_fire::drgn_scream: @aetios@ak.kawen.space @FloatingGhost@ihatebeinga.live You did it Aety, the halting problem has been solved ?
Puniko ? likes this. -
Embed this notice
Volpeon :drgn_fire::drgn_scream: (volpeon@mk.vulpes.one)'s status on Tuesday, 06-Dec-2022 23:38:24 JST Volpeon :drgn_fire::drgn_scream: @aetios@ak.kawen.space @FloatingGhost@ihatebeinga.live
Note that this program only checks if the function has a return statement in its source code. It does not guarantee that the function will actually return a value in all cases. For example, the function could have a conditional return statement that is never executed, or it could raise an exception before reaching the return statement. It is always best to test your functions thoroughly to ensure that they behave as expected.Baa, a generic disclaimer at the end :baa:Puniko ? likes this. -
Embed this notice
Puniko ? (puniko@mk.absturztau.be)'s status on Tuesday, 06-Dec-2022 23:39:12 JST Puniko ? @volpeon@mk.vulpes.one @aetios@ak.kawen.space @FloatingGhost@ihatebeinga.live i guess it found a loop hole in some way :akko_giggle: