658 Matching Annotations
  1. Sep 2015
    1. from the time kids were 15 or 18, being more outgoing, kind, independent, good at sports, and having lots of hobbies—in other words, being more socially connected—was more significant than academic success in predicting later happiness.
    2. experiences that were most highly associated with positive emotion was number one intimaterelations but number two socializing
    3. what they found you know overall was that very happy people tended to haverich and satisfying relationships and the spend little time alonerelative to people with average levels of happinessand what they sort of claim is a social relationships form a necessarybut not sufficient condition for high happiness in other wordsyou can't only have social relationships but if you don't havestrong social relationships you're not likely to end upa person who would be characterized as very happy
    1. The amazing thing here is that noticing your Stress Reaction is all you have to consciously do. The rest mostly takes care of itself. Once you notice it, you’ll automatically start to mitigate it. And you don’t necessarily have to stop the behavior completely. Some of your Stress Reaction may be helpful even if too much is hurtful. It’s useful in turbulent times to manage more closely, withdraw to reflect, and compete a little harder than usual. It helps keep you on track and focused. Just remember to pause. And notice.
    2. Another destructive Stress Reaction is withdrawal. We become uninvolved, aloof, occupied with other things. We hide in our offices. We avoid communicating.
    1. I knew if I took that pill I’d be much too stressed about the possible side effects to ever fall asleep. I realized this was no joke — it was a real ad. And I realized this is exactly how corporate trainings talk about stress at work.

      Reminds me of The I.T. Crowd - Do You Fell Stressed; I think there are similar gems throughout the episode.

    1. before we start our morning, the very first thing we do is think of three things we are grateful for that day. In this TED talk, you will learn the five positive psychology habits that help inoculate your brain against the negative mindsets of others: 1)writing a 2-minute email praising someone you know; 2) writing down three things for which you’re grateful; 3) journaling about a positive experience for two minutes; 4) doing cardio exercise for 30 minutes; or 5) meditating for just two minutes.
    2. One of the greatest buffers against picking up others’ stress is stable and strong self-esteem. The higher your self-esteem, the more likely you will feel that you can deal with whatever situation you face. If you are finding yourself being impacted by others’ moods, stop and remind yourself how things are going well and that you can handle anything that comes your way. Exercise is one of the best ways to build self-esteem, because your brain records a victory every time you exercise, via endorphins.
    3. Instead of returning a harried coworkers’ stressed nonverbals with an equally stressed grimace of your own, return it with a smile or a nod of understanding. Suddenly you have the power. As suggested in the new book Broadcasting Happiness, you can create a “power lead” to short-circuit a negative encounter.
    4. if you create a positive mindset about stress and stop fighting it, you experience a 23% drop in the negative effects of stress. When we see stress as a threat, our bodies and minds miss out on the enhancing effects of stress. (Even at high levels, stress can create greater mental toughness, deeper relationships, heightened awareness, new perspectives, a sense of mastery, a greater appreciation for life, a heightened sense of meaning, and strengthened priorities.)  Instead of fighting and being frustrated at negative people around you, take it as an opportunity to feel compassion or a challenge to help that person become more positive. Our HBR article “Making Stress Work for You” includes more ideas on how to change your stress mindset to a more positive one.
    5. In our highly connected working world, we are hyper-exposed to other people. This means negative emotions and stress become even more contagious as we have high exposure to negative comments on news articles and social media; stressed body language of financial news shows; stressed out people on our subways and planes; and open office plans where you can see everyone’s nonverbals.
    6. New research shows that stress causes people to sweat special stress hormones, which are picked up by the olfactory senses of others. Your brain can even detect whether the “alarm pheromones” were released due to low stress or high stress. Negativity and stress can literally waft into your cubicle.
    7. secondhand stress is a result of our hardwired ability to perceive potential threats in our environment.
    8. Observing someone who is stressed — especially a coworker or family member — can have an immediate effect upon our own nervous systems. A separate group of researchers found that 26% of people showed elevated levels of cortisol just by observing someone who was stressed. Secondhand stress is much more contagious from a romantic partner (40%) than a stranger, but when observers watched a stressful event on video with strangers, 24% still showed a stress response. (This makes us question whether we, as happiness researchers, should watch Breaking Bad before going to sleep.)
    1. The most basic issues are exercise, sleep, and having a senseof achievement,

      The most essential requirements for happiness, along with social connection, which can probably be thought of as the next tier after these basic requirements.

    2. Prioritizing positivity: Deliberately organizing your day-to-day life so that it contains situations that naturally give rise to positive emotional experiences. Laura Catalino, Sara Algoe and Barbara Fredrickson's study compares pursuing happiness to prioritizing positivity, and their results suggest that prioritizing positivity is a more promising approach to boosting happiness. 
    3. Hedonic adaptation (aka the "hedonic treadmill"): Our ability to adapt to changes in our life circumstances or sensory experiences. Research suggests many of us have a remarkable ability to get used to things that might initially bring us pleasure, such as getting married or winning the lottery, and even to eventually return to our happiness set point after a traumatic accident.
    4. Set point theory: The theory that we each have a relatively stable level of happiness that is largely determined by our genes and personality. Though we might experience some fluctuations in happiness due to events big and small, this theory holds that we eventually return to our basic set point of happiness.
    5. Impact bias: The tendency to overestimate how an event or experience in the future will affect our emotional well-being, for better or worse. For instance, we often underestimate our ability to recover from difficult experiences
    6. Affective forecasting: The process of making predictions about how you will feel in the future. According to Daniel Gilbert, who coined the term "affective forecasting" with his colleague Timothy Wilson, affective forecasting is simply "the process by which people look into their future and make predictions about what they’ll like and what they won’t like." However, as Emiliana explained in the previous video, we are often poor judges in the present of what will bring us happiness in the future, causing us to look for happiness in the wrong places.
    1. here are two activities that, research has shown, elicit positive emotions in most people: connecting with a loved one and doing something physically active
    2. Letting go of wanting to feel happy all the time also encourages less self-consciousness about happiness. This may be helpful because many peak, pleasant experiences, characterized by total absorption in an activity, a phenomenon known as “flow,” are marked by a lack of self-awareness.
    3. The “highs” we get from one-time events like going on vacation or winning a prize wear off over time. As a result, effectively pursuing happiness may require engaging regularly in behaviors that promote happiness. By its nature, prioritizing positivity increases the chance that we will weave these positive behaviors into our daily lives rather than just maintaining a general desire for happiness or expecting it to come from a few isolated events.
    1. By remembering and listing three positive things that have happened in your day--and considering what caused them--you tune into the sources of goodness in your life. It's a habit that can change the emotional tone of your life, replacing feelings of disappointment or entitlement with those of gratitude--which may be why this practice is associated with significant increases in happiness.
    1. Mauss shows that the more people strive for happiness, the more likely they will be to set a high standard for happiness—then be disappointed when that standard is not met.  This is especially true when people were in positive contexts, such as listening to an upbeat song or watching a positive film clip. It is as if the harder one tries to experience happiness, the more difficult it is to actually feel happy, even in otherwise pleasant situations. My colleagues and I are are building on this research, which suggests that the pursuit of happiness is also associated with serious mental health problems, such as depression and bipolar disorder. It may be that striving for happiness is actually driving some of us crazy.
    2. As psychologist Charles Carver has argued, positive emotions like happiness signal to us that our goals are being fulfilled, which enables us to slow down, step back, and mentally coast. That’s why happiness can actually hurt us in competition. Illuminating studies done by Maya Tamir found that people in a happy mood performed worse than people in an angry mood when playing a competitive computer game.
    3. Not only does excessive happiness sometimes wipe out its benefits for us—it may actually lead to psychological harm. Why? The answer may lie in the purpose and function of happiness. When we experience happiness, our attention turns toward exciting and positive things in our lives to help sustain the good feeling. When feeling happy, we also tend to feel less inhibited and more likely to explore new possibilities and take risks.
    4. I love this quote from the Tao Te Chingof Lao Tzu that brings into focus the paradoxical nature of happiness and meaning and some counterintuitivenotions. In this quote Lao Tzu writes "When man is born he is tender and weak. At deathhe is stiff and hard. All things, as well as the grass and the trees, tender and subtlewhile alive, when dead, withered and dried. Therefore, the tender and the weak are thecompanions of life and the stiff and the hard are companions of death." It's a littlebit paradoxical: weakness and tenderness may be the pathway to life and the Tao and themysterious force of life. And again, challenging us to put aside preconceptions to find happiness.

      This really reminds me of the struggle of Rand Al'Thor in book 12-13 of The Wheel of Time; perhaps Robert Jordan was influenced by this, as he mentioned sampling many religions for his writings.

    5. seeking happiness without meaning would probably be a stressful, aggravating, and annoying proposition, argues Baumeister. Instead, when aspiring to a well-lived life, it might make more sense to look for things you find meaningful—deep relationships, altruism, and purposeful self-expression, for example—than to look for pleasure alone… even if pleasure augments one’s sense of meaning, as King suggests. “Work toward long-term goals; do things that society holds in high regard—for achievement or moral reasons,” he says. “You draw meaning from a larger context, so you need to look beyond yourself to find the purpose in what you’re doing.”
    6. As University of Pennsylvania psychologist James Coyne—according to Dunn, a statistical “hardhead”—wrote in a 2013 blog post, trying to distinguish eudaimonic well-being by controlling for hedonic well-being and other factors leaves you with something that’s not really eudaimonia at all. He compares it to taking a photo of siblings who look alike, removing everything that makes them resemble each other, and then still calling the photos representative of the siblings.
    7. findings that showed subjects randomly assigned to buy items for charity reported higher levels of positive emotion—a measure of hedonic happiness—than participants assigned to buy the same items for themselves, even when the spending did not build or strengthen social ties. “I think my own work really supports the idea that eudaimonic and hedonic well-being are surprisingly similar and aren’t as different as one might expect,” says Dunn. “To say that there’s one pathway to meaning, and that it’s different than the pathway to pleasure, is false.” Like Lyubomirsky, she insists that meaning and happiness go hand-in-hand. She points to the work of researchers who’ve found that positive emotions can help establish deeper social ties—which many argue is the most meaningful part of life—and to University of Missouri psychologist Laura King’s research, which found that feeling positive emotions helps people see the “big picture” and notice patterns, which can help one aim for more meaningful pursuits and interpret one’s experience as meaningful.

      emphasis on:

      1. charity contributed directly to pleasure, even without social ties.
      2. positive emotions strengthen social ties, which many view to be the most meaningful parts of life.

      Interesting that these are someone disconnected avenues: giving can induce pleasure, without social ties, but social ties are possibly the most meaningful part of life. Perhaps our evolution did not require us to consider the full chain of events, but it is also possible that these are both simply avenues to increase meaning, and in so doing, increase pleasure. Also, the type of happiness received as found by Dunn in each instance contradicts others' findings, so it may be somewhat complex.

    8. Some researchers have taken to doing that by looking at what they call “eudaimonic happiness,” or the happiness that comes from meaningful pursuits, and “hedonic happiness”—the happiness that comes from pleasure or goal fulfillment.

      I would have thought goal fulfillment would be more related to eudaimonic happiness, though on second thought, I could at least seeing it belonging to either category.

    9. “When you feel happy, and you take out the meaning part of happiness, it’s not really happiness,” she says. Yet this is basically how Baumeister and his colleagues defined happiness for the purpose of their study. So although the study referred to “happiness,” says Lyubomirsky, perhaps it was actually looking at something more like “hedonic pleasure”—the part of happiness that involves feeling good without the part that involves deeper life satisfaction.
    10. “If we just look at helping others, the simple effect is that people who help others are happier,” says Baumeister. But when you eliminate the effects of meaning on happiness and vice versa, he says, “then helping makes people less happy, so that all the effect of helping on happiness comes by way of increasing meaningfulness.”
    11. meaning (separate from happiness) is not connected with whether one is healthy, has enough money, or feels comfortable in life, while happiness (separate from meaning) is. More specifically, the researchers identified five major differences between a happy life and a meaningful one. Happy people satisfy their wants and needs, but that seems largely irrelevant to a meaningful life. Therefore, health, wealth, and ease in life were all related to happiness, but not meaning. Happiness involves being focused on the present, whereas meaningfulness involves thinking more about the past, present, and future—and the relationship between them.In addition, happiness was seen as fleeting, while meaningfulness seemed to last longer. Meaningfulness is derived from giving to other people; happiness comes from what they give to you. Although social connections were linked to both happiness and meaning, happiness was connected more to the benefits one receives from social relationships, especially friendships, while meaningfulness was related to what one gives to others—for example, taking care of children. Along these lines, self-described “takers” were happier than self-described “givers,” and spending time with friends was linked to happiness more than meaning, whereas spending more time with loved ones was linked to meaning but not happiness. Meaningful lives involve stress and challenges. Higher levels of worry, stress, and anxiety were linked to higher meaningfulness but lower happiness, which suggests that engaging in challenging or difficult situations that are beyond oneself or one’s pleasures promotes meaningfulness but not happiness. Self-expression is important to meaning but not happiness. Doing things to express oneself and caring about personal and cultural identity were linked to a meaningful life but not a happy one. For example, considering oneself to be wise or creative was associated with meaning but not happiness.

      The five major differences between meaningfulness and happiness.

    12. Indeed, if you think about it, this idea of happiness as a natural state creates a curious problem. What if I’m not happy? Does that mean that I’m unnatural? Am I ill, or bad, or deficient? Is there something wrong with me? Is there something wrong with the society in which I live? These are all symptoms of a condition that I call the unhappiness of not being happy, and it is a peculiarly modern condition. To cure this condition, we might focus less on our own personal happiness and instead on the happiness of those around us, for relentless focus on one’s own happiness has the potential to be self-defeating. The 19th century philosopher John Stuart Mill once said, “Ask yourself whether you are happy, and you cease to be so.” Whether that is really true or not, I don’t know. But given that we live in a world that asks this question of us every day, it is a paradox worth pondering.
    13. Given these presuppositions, the ancients tended to agree that very few would ever succeed in being happy, because happiness takes an incredible amount of work, discipline and devotion, and most people, in the end, are simply not up to the task. The happy are what Aristotle calls “happy few.” They are, if you like, the ethical elite. This is not a democratic conception of happiness.
  2. Aug 2015
  3. Jul 2015
  4. proquest.safaribooksonline.com proquest.safaribooksonline.com
    1. FUNCTIONS WITH SIDE EFFECTS SHOULD USE PARENTHESES

      It would be good if there was a way to do effect-tracking, similar as in ATS, so you could enforce this rather than making it style only. But, not a huge issue either.

    1. Keeping unpure functions clearly named and organized in such a way that they can be easily identified versus pure functions is a common goal of modularizing and organizing Scala applications.
    2. Much like a Unix power user will compose multiple single-purpose tools into a complex piped command, a functional programmer will combine single-purpose function invocations into chains of operations (think Map/Reduce).
    3. Even though the value given to the match expression has the type Any, the data it is storing was created as an Int. The match expression was able to match based on the actual type of the value, not just on the type that it was given. Thus, the integer 12180, even when given as type Any, could be correctly recognized as an integer and formatted as such.

      This is interesting and I believe quite different from how ATS handles types, aside from the fact that it can't match against non-algebraic datatypes. I think this is probably easier to understand as well, since it appears to not rely on constraint solving in order to determine types.

    4. To prevent errors from disrupting your match expression, use a wildcard match-all pattern or else add enough patterns to cover all possible inputs. A wildcard pattern placed as the final pattern in a match expression will match all possible input patterns and prevent a scala.MatchError from occurring.

      In ATS you can specify 'case+' to denote an exhaustive pattern match and have it type checked (though here in Scala it would look more like 'match+'). There are other variations.

    5. | case

      These vertical bars do not seem to work for me, in either the regular input mode or ":paste" mode.

    6. An alternate form of creating a 2-sized tuple is with the relation operator (->). This is a popular shortcut for representing key-value pairs in tuples:

      Also very Perl-like.

    7. the return keyword, which exits a function early with a return value, has a return type of Nothing so it can be used in the middle of initializing a value and not affect the type of that value.

      I don't completely follow this.

    8. val pattern(amountText) = input

      I find this to be slightly strange syntax and non-functional; it is almost as if pattern is applied as if it were pattern-inverse.

  5. May 2015
  6. beb82-dev.library.cornell.edu beb82-dev.library.cornell.edu
    1. information

      [made on mypdfs2.html]

    2. documents

      [made on mypdfs.html]

    3. equality

      define equality

      [made on mypdfs.html]

  7. Mar 2015
    1. Table 1

      There is a missing row: for 85% max growth, Yeast 5 MC. This is due to the Lee method not completing all of the specified runs in the analysis, despite multiple attempts to do so. It could possibly be an issue with MATLAB, or a dependent library, rather than the Lee method itself.