Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I particularly enjoyed the memory part - where they mention a venus fly trap remembers the contact with one leg of the insect then confirms that another leg has touched, and then the trap closes. Then 15-20 mins later it'd open again. This eliminates false positives, conserves energy!

while(1): if (get_count_contact()!=2) continue; else close_trap(); sleep(15); set_count_contact(0);

If nature wrote this kinda code, Evolution is like debugging! But this is really really oversimplified ...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: