Derek Wong's blog. A combination of images and thoughts from a software engineer in southern California.
© 2007 - 2021. All rights reserved.
We should trust people! If only they made it easy.
# trusting_others.py # # How our words affect our interaction with others. You're only as good as your word! # # Psuedocode: # # Maintain list of trust that others have, which is unknown to you # Interact with people each day # Alter trust with your words # Trust quotient is a quantifier for one person's trust for another TRUST_REWARD = 1 TRUST_PENALTY = 15 # Dictionary containing name and trust quotient values that other people have for you trust = {} for day in days: for person in interactions(day): if person not in trust: # Other people's trust depends on some variables trust[person] = default_trust(person.upbringing, person.genes) if speak() == 'TRUTH': trust[person] += TRUST_REWARD; elif speak() == 'FALSEHOOD': trust[person] -= TRUST_PENALTY