I finished my script in the daily job as a project build master, then went out for a smoke. Dog is with me, happy.
I came back and my landlord shook his head… right…
Years ago, when he's young,
He got infected with a virus, which unfortunately reached his heart, and spread to his joints.
Over years he's been suffered and suffered.
Couple of years ago an unexpected heart attack almost took his life when he's on his way delivering tons of industrial materials.
Last year, he finally scheduled his heart surgery, and lost his job.
He hoped to be healthy than anyone else in the world...
He said, “Yudi, stop smoking”
..
Yes, time to stop.
Even my simple reasoning of human logic can be expressed with a few prolog statements:
1 2 3 4 5 6 7 8 9 10 |
suffered(he, disease). suffered(he, years). suffered(he, job). suffered(he, surgery). cares(he, me, stop). therefore(me, ANSWER) :- suffered(he, _), cares(he, me, ANSWER). |
And Prolog says:
1 2 3 4 5 6 7 8 9 10 11 |
GNU Prolog 1.3.0 By Daniel Diaz Copyright (C) 1999-2007 Daniel Diaz compiling /Users/Yudi/Desktop/1.pl for byte code... /Users/Yudi/Desktop/1.pl compiled, 10 lines read - 1060 bytes written, 16 ms | ?- therefore(me, ANSWER). ANSWER = stop ? yes | ?- |
- I become healthier.
- The dog has less chance to hang out and pee. (And I’m not sorry for that)




代码啊,咋整这复杂啊,升级了….当初给我的贺卡上那段还能看懂,这个就不行了。
Hi, I was curiously searching my name on google, by coincident, these is guy with the same first name with me. simple introduction about myself, a chinese girl in New Zealand. Just want to say hi to ya. By the way, you have a nice blog!
Hi, I was curiously searching my name on google, by coincident, these is guy with the same first name with me. simple introduction about myself, a chinese girl in New Zealand. Just want to say hi to ya. By the way, you have a nice blog!
hah, thanks ;-)
zhe ge….................. yao jie yan.
After all, I just feel bad smoking in front of him. It’s basically on and off for some good behaviors.