Orientation Program Quotes

We've searched our database for all the quotes and captions related to Orientation Program. Here they are! All 100 of them:

But today’s society is characterized by achievement orientation, and consequently it adores people who are successful and happy and, in particular, it adores the young. It virtually ignores the value of all those who are otherwise, and in so doing blurs the decisive difference between being valuable in the sense of dignity and being valuable in the sense of usefulness. If one is not cognizant of this difference and holds that an individual’s value stems only from his present usefulness, then, believe me, one owes it only to personal inconsistency not to plead for euthanasia along the lines of Hitler’s program, that is to say, ‘mercy’ killing of all those who have lost their social usefulness, be it because of old age, incurable illness, mental deterioration, or whatever handicap they may suffer. Confounding the dignity of man with mere usefulness arises from conceptual confusion that in turn may be traced back to the contemporary nihilism transmitted on many an academic campus and many an analytical couch.
Viktor E. Frankl (Man’s Search for Meaning)
Some people majored in English to prepare for law school. Others became journalists. The smartest guy in the honors program, Adam Vogel, a child of academics, was planning on getting a Ph.D. and becoming an academic himself. That left a large contingent of people majoring in English by default. Because they weren't left-brained enough for science, because history was too try, philosophy too difficult, geology too petroleum-oriented, and math too mathematical - because they weren't musical, artistic, financially motivated, or really all that smart, these people were pursuing university degrees doing something no different from what they'd done in first grade: reading stories. English was what people who didn't know what to major in majored in.
Jeffrey Eugenides (The Marriage Plot)
Object-oriented programming offers a sustainable way to write spaghetti code. It lets you accrete programs as a series of patches.
Paul Graham (Hackers & Painters: Big Ideas from the Computer Age)
Code without tests is bad code. It doesn't matter how well written it is; it doesn't matter how pretty or object-oriented or well-encapsulated it is. With tests, we can change the behavior of our code quickly and verifiably. Without them, we really don't know if our code is getting better or worse.
Michael C. Feathers (Working Effectively with Legacy Code)
The battle rages eternal, though the race, religion, gender or sexual orientation of those discriminated against changes regularly. Maybe man’s need for a scapegoat is genetically programmed into him.
Josh Lanyon (A Dangerous Thing (The Adrien English Mysteries, #2))
All race conditions, deadlock conditions, and concurrent update problems are due to mutable variables.
Robert C. Martin (Clean Architecture)
Armstrong: I think the lack of reusability comes in object-oriented languages, not in functional languages. Because the problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
Peter Seibel (Coders at Work: Reflections on the Craft of Programming)
As children grow, they have an increasing need to orient: to have a sense of who they are, of what is real, why things happen, what is good, what things mean. To fail to orient is to suffer disorientation, to be lost psychologically—a state our brains are programmed to do almost anything to avoid. Children are utterly incapable of orienting by themselves. They need help. Attachment provides that help. The first business
Gordon Neufeld (Hold On to Your Kids: Why Parents Need to Matter More Than Peers)
PHP as an object oriented programming language should be judged by how well it does the job, not on a preconceived notion of what a scripting language should or shouldn't do.
Peter Lavin (Object-Oriented PHP: Concepts, Techniques, and Code)
The spectacle of the shooting suggest an event out of time, as if the killing of black people with white-supremacist justification interrupts anything other than regular television programming. But Dylan Storm Roof did not create himself from nothing. He as grown up with the rhetoric and orientation of racism.
Jesmyn Ward (The Fire This Time: A New Generation Speaks About Race)
Here is a minimal list of the things that every software professional should be conversant with: • Design patterns. You ought to be able to describe all 24 patterns in the GOF book and have a working knowledge of many of the patterns in the POSA books. • Design principles. You should know the SOLID principles and have a good understanding of the component principles. • Methods. You should understand XP, Scrum, Lean, Kanban, Waterfall, Structured Analysis, and Structured Design. • Disciplines. You should practice TDD, Object-Oriented design, Structured Programming, Continuous Integration, and Pair Programming. • Artifacts: You should know how to use: UML, DFDs, Structure Charts, Petri Nets, State Transition Diagrams and Tables, flow charts, and decision tables. Continuous
Robert C. Martin (Clean Coder, The: A Code of Conduct for Professional Programmers (Robert C. Martin Series))
And yet sometimes she worried about what those musty old books were doing to her. Some people majored in English to prepare for law school. Others became journalists. The smartest guy in the honors program, Adam Vogel, a child of academics, was planning on getting a Ph.D. and becoming an academic himself. That left a large contingent of people majoring in English by default. Because they weren't left-brained enough for science, because history was too dry, philosophy too difficult, geology too petroleum-oriented, and math too mathematical--because they weren't musical, artistic, financially motivated, or really all that smart, these people were pursuing university degrees doing something no different from what they'd done in first grade: reading stories. English was what people who didn't know what to major in majored in.
Jeffrey Eugenides
As usual, though, if you find yourself running into a wall, stop running into a wall!
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
One was how computers could be networked; the second was how object-oriented programming worked.
Walter Isaacson (Steve Jobs)
But while you can always write 'spaghetti code' in a procedural language, object-oriented languages used poorly can add meatballs to your spaghetti.
Andrew Hunt
Sometimes we get locked into a program and it becomes our habitual way of interacting with the world around us. The man who sees every situation as a challenge to his power orients from his third chakra.
Anodea Judith (Wheels of Life: A User's Guide to the Chakra System (Llewellyn's New Age Series))
var person = {name: "John",                surname: "Smith",                address: {                  street: "13 Duncannon Street",                  city: "London",                  country: "United Kingdom"                }};
Andrea Chiarelli (Mastering JavaScript Object-Oriented Programming)
The most powerful kind of code constructs other code that has been bundled with just the right amount of curated data; such a bundle is not just a “function pointer” but a closure (in a functional language) or an object (in an object-oriented language).
Chris Hanson (Software Design for Flexibility: How to Avoid Programming Yourself into a Corner)
Trance helps depotentiate our old programs and gives us an opportunity to learn something new. The only reason why we cannot produce an anesthesia at will, for example, is because we don’t know how to give up our habitual generalized reality orientation that emphasizes the importance of pain and gives it primacy in consciousness. But if we allowed young children to experiment with their sensory perceptual processes in a fun way, they might easily develop skills with anaesthesia that could be very useful when they needed it. This would be an interesting piece of research, indeed.
Milton H. Erickson (The Collected Works of Milton H. Erickson, MD: Volume 1: The Nature of Therapeutic Hypnosis)
In view of the possibility of finding meaning in suffering, life's meaning is an unconditional one, at least potentially. That unconditional meaning, however, is paralleled by the unconditional value of each and every person. It is that which warrants the indelible quality of the dignity of man. Just as life remains potentially meaningful under any conditions, even those which are most miserable, so too does the value of each and every person stay with him or her, and it does so because it is based on the values that he or she has realized in the past, and is not contingent on the usefulness that he or she may or may not retain in the present. More specifically, this usefulness is usually defined in terms of functioning for the benefit of society. But today's society is characterized by achievement orientation, and consequently it adores people who are successful and happy and, in particular, it adores the young. It virtually ignores the value of those who are otherwise, and in so doing blurs the decisive difference between being valuable in the sense of dignity and being valuable in the sense of usefulness. If one is not cognizant of this difference and holds that na individual's value stems only from his present usefulness, then, believe me, one owes it only to personal inconsistency not to plead for euthanasia along the lines of Hitler's program, that is to say, "mercy" killing of all those who have lost their social usefulness, be it because of old age, incurable illness, mental deterioration, or whatever handicap they may suffer. Confounding the dignity of man with mere usefulness arises from a conceptual confusion that in turn may be traced back to the contemporary nihilism transmitted on many an academic campus and many an analytical couch. Even in the setting of training analyses such an indoctrination may take place. Nihilism does not contend that there is nothing, but it states that everything is meaningless. And George A. Sargent was right when he promulgated the concept of "learned meaninglessness." He himself remembered a therapist who said, "George, you must realize that the world is a joke. There is no justice, everything is random. Only when you realize this will you understand how silly it is to take yourself seriously. There is no grand purpose in the universe. It just is. There's no particular meaning in what decision you make today about how to act." One must generalize such a criticism. In principle, training is indispensable, but if so, therapists should see their task in immunizing the trainee against nihilism rather than inoculating him with the cynicism that is a defense mechanism against their own nihilism.
Viktor E. Frankl (Man’s Search for Meaning)
The principle of treating others the same way one would like to be treated is echoed in at least twelve religions of the world. “Others” transcend gender, race, class, sexual orientation or caste. Whoever and whatever the “other” is, she has to be treated with dignity, kindness, love, and respect. In African communitarian spirituality, this is well expressed in the Ubuntu religious and ethical ideal of “I am because you are, and since we are, therefore I am”—a mandate based on the reality of our being interconnected and interdependent as creation. Therefore pain caused to one is pain shared by all. FULATA MOYO, PROGRAM EXECUTIVE, WOMEN IN CHURCH AND SOCIETY, WORLD COUNCIL OF CHURCHES
Jimmy Carter (A Call To Action: Women, Religion, Violence, and Power)
The gathering of information to control people is fundamental to any ruling power. As resistance to land acquisition and the new economic policies spreads across India, in the shadow of outright war in Central India, as a containment technique, India’s government has embarked on a massive biometrics program, perhaps one of the most ambitious and expensive information gathering projects in the world—the Unique Identification Number (UID). People don’t have clean drinking water, or toilets, or food, or money, but they will have election cards and UID numbers. Is it a coincidence that the UID project run by Nandan Nilekani, former CEO of Infosys, ostensibly meant to “deliver services to the poor,” will inject massive amounts of money into a slightly beleaguered IT industry?50 To digitize a country with such a large population of the illegitimate and “illegible”—people who are for the most part slum dwellers, hawkers, Adivasis without land records—will criminalize them, turning them from illegitimate to illegal. The idea is to pull off a digital version of the Enclosure of the Commons and put huge powers into the hands of an increasingly hardening police state. Nilekani’s technocratic obsession with gathering data is consistent with Bill Gates’s obsession with digital databases, numerical targets, and “scorecards of progress” as though it were a lack of information that is the cause of world hunger, and not colonialism, debt, and skewed profit-oriented corporate policy.51
Arundhati Roy (Capitalism: A Ghost Story)
So why aren’t more marketing companies targeting our age group? Why are there so many youth-oriented programs and advertisements on television today? Why are we being ignored? Don’t companies realize they are missing a huge market? Now granted, a visit to the local mall will show you there are a lot of teenagers hanging out there these days. But are they shopping? Are they spending money? No. They’re “hanging.” Contrary to what our skin might be doing, we members of the over-forty crowd don’t “hang.” We shop, and not just window shop either. We’re serious buyers. When we pick up an item and turn it over to see the price, we often carry it right on over to the checkout counter and pay for it. Why? Because we know the energy involved with picking up items. We don’t do it unless we’re committed.
Martha Bolton (Cooking With Hot Flashes: And Other Ways to Make Middle Age Profitable)
Early on December 25, Houston time, Lovell missed a step. He meant to enter Program 23 and then select Star 01. Instead, he entered Program 01 into his computer. An alarm rang out. Suddenly, Apollo 8’s guidance system reset itself, losing all memory of how the ship was oriented in space. As a result of Lovell’s mistake, the guidance system now believed Apollo 8 to be back on the launchpad at Cape Kennedy.
Robert Kurson (Rocket Men: The Daring Odyssey of Apollo 8 and the Astronauts Who Made Man's First Journey to the Moon)
Bohm has avoided speculating about this parallel between his math and ancient Oriental mysticism, but others have not. Dr. Capra in The Tao of Physics uses a Bohmian non-local model of quantum theory as the "true" model (ignoring the physicists who prefer EWG or Copenhagenism) and then points out, quite correctly, that (if we accept this as "the only true quantum model") quantum theory says the same things Taoism has always said.
Robert Anton Wilson (Quantum Psychology: How Brain Software Programs You and Your World)
More specifically, this usefulness is usually defined in terms of functioning for the benefit of society. But today's society is characterized by achievement orientation, and consequently it adores people who are successful and happy and, in particular, it adores the young. It virtually ignores the value of all those who are otherwise, and in so doing blurs the decisive difference between being valuable in the sense of dignity and being valuable in the sense of usefulness. If one is not cognizant of this difference and holds that an individual's value stems only from his present usefulness, then, believe me, one owes it only to personal inconsistency not to plead for euthanasia along the lines of Hitler's program, that is to say, "mercy" killing of all those who have lost their social usefulness, be it because of old age, incurable illness, mental deterioration, or whatever handicap they may suffer.
Viktor E. Frankl (Man’s Search for Meaning)
Our subconscious world hides the patterns and attitudes that we’ve learned, copied, or absorbed in our childhood. It automatically runs this old default program until we decide to change it. That’s why it’s our primordial task to gain self-knowledge, instead of repeating on autopilot the default patterns stored in our subconscious. We must learn to make choices that are in harmony with our natural truth which is always oriented towards more love, joy, and self-awareness.
Laura van den Berg Sekac (Get Unstuck Now: How Smart People Gain Clarity and Solve Problems Fast, And How You Can Too)
Here’s a simple definition of ideology: “A set of beliefs about the proper order of society and how it can be achieved.”8 And here’s the most basic of all ideological questions: Preserve the present order, or change it? At the French Assembly of 1789, the delegates who favored preservation sat on the right side of the chamber, while those who favored change sat on the left. The terms right and left have stood for conservatism and liberalism ever since. Political theorists since Marx had long assumed that people chose ideologies to further their self-interest. The rich and powerful want to preserve and conserve; the peasants and workers want to change things (or at least they would if their consciousness could be raised and they could see their self-interest properly, said the Marxists). But even though social class may once have been a good predictor of ideology, that link has been largely broken in modern times, when the rich go both ways (industrialists mostly right, tech billionaires mostly left) and so do the poor (rural poor mostly right, urban poor mostly left). And when political scientists looked into it, they found that self-interest does a remarkably poor job of predicting political attitudes.9 So for most of the late twentieth century, political scientists embraced blank-slate theories in which people soaked up the ideology of their parents or the TV programs they watched.10 Some political scientists even said that most people were so confused about political issues that they had no real ideology at all.11 But then came the studies of twins. In the 1980s, when scientists began analyzing large databases that allowed them to compare identical twins (who share all of their genes, plus, usually, their prenatal and childhood environments) to same-sex fraternal twins (who share half of their genes, plus their prenatal and childhood environments), they found that the identical twins were more similar on just about everything.12 And what’s more, identical twins reared in separate households (because of adoption) usually turn out to be very similar, whereas unrelated children reared together (because of adoption) rarely turn out similar to each other, or to their adoptive parents; they tend to be more similar to their genetic parents. Genes contribute, somehow, to just about every aspect of our personalities.13 We’re not just talking about IQ, mental illness, and basic personality traits such as shyness. We’re talking about the degree to which you like jazz, spicy foods, and abstract art; your likelihood of getting a divorce or dying in a car crash; your degree of religiosity, and your political orientation as an adult. Whether you end up on the right or the left of the political spectrum turns out to be just as heritable as most other traits: genetics explains between a third and a half of the variability among people on their political attitudes.14 Being raised in a liberal or conservative household accounts for much less. How can that be? How can there be a genetic basis for attitudes about nuclear power, progressive taxation, and foreign aid when these issues only emerged in the last century or two? And how can there be a genetic basis for ideology when people sometimes change their political parties as adults? To answer these questions it helps to return to the definition of innate that I gave in chapter 7. Innate does not mean unmalleable; it means organized in advance of experience. The genes guide the construction of the brain in the uterus, but that’s only the first draft, so to speak. The draft gets revised by childhood experiences. To understand the origins of ideology you have to take a developmental perspective, starting with the genes and ending with an adult voting for a particular candidate or joining a political protest. There are three major steps in the process. Step
Jonathan Haidt (The Righteous Mind: Why Good People are Divided by Politics and Religion)
I grow little of the food I eat, and of the little I do grow I did not breed or perfect the seeds. I do not make any of my own clothing. I speak a language I did not invent or refine. I did not discover the mathematics I use. I am protected by freedoms and laws I did not conceive of or legislate, and do not enforce or adjudicate. I am moved by music I did not create myself. When I needed medical attention, I was helpless to help myself survive. I did not invent the transistor, the microprocessor, object oriented programming, or most of the technology I work with. I love and admire my species, living and dead, and am totally dependent on them for my life and well being.
Steve Jobs (Make Something Wonderful: Steve Jobs in his own words)
Every night, millions of Americans spend their free hours watching television rather than engaging in any form of social interaction. What are they watching? In recent years we have seen reality television become the most popular form of television programming. To discover the nature of our current “reality,” we might consider examples such as Survivor, the series that helped spawn the reality TV revolution. Every week tens of millions of viewers watched as a group of ordinary people stranded in some isolated place struggled to meet various challenges and endure harsh conditions. Ah, one might think, here we will see people working cooperatively, like our ancient ancestors, working cooperatively in order to “win”! But the “reality” was very different. The conditions of the game were arranged so that, yes, they had to work cooperatively, but the alliances by nature were only temporary and conditional, as the contestants plotted and schemed against one another to win the game and walk off with the Grand Prize: a million dollars! The objective was to banish contestants one by one from the deserted island through a group vote, eliminating every other contestant until only a lone individual remained—the “sole survivor.” The end game was the ultimate American fantasy in our Age of Individualism: to be left completely alone, sitting on a mountain of cash!   While Survivor was an overt example of our individualistic orientation, it certainly was not unique in its glorification of rugged individualists on American television. Even commercial breaks provide equally compelling examples, with advertisers such as Burger King, proclaiming, HAVE IT YOUR WAY! The message? America, the land where not only every man and every woman is an individual but also where every hamburger is an individual!   Human beings do not live in a vacuum; we live in a society. Thus it is important to look at the values promoted and celebrated in a given society and measure what effect this conditioning has on our sense of independence or of interdependence
Dalai Lama XIV (The Art of Happiness in a Troubled World)
Finally, we arrive at the question of the so-called nonpolitical man. Hitler not only established his power from the very beginning with masses of people who were until then essentially nonpolitical; he also accomplished his last step to victory in March of 1933 in a "legal" manner, by mobilizing no less than five million nonvoters, that is to say, nonpolitical people. The Left parties had made every effort to win over the indifferent masses, without posing the question as to what it means "to be indifferent or nonpolitical." If an industrialist and large estate owner champions a rightist party, this is easily understood in terms of his immediate economic interests. In his case a leftist orientation would be at variance with his social situation and would, for that reason, point to irrational motives. If an industrial worker has a leftist orientation, this too is by all mean rationally consistent—it derives from his economic and social position in industry. If, however, a worker, an employee, or an official has a rightist orientation, this must be ascribed to a lack of political clarity, i.e., he is ignorant of his social position. The more a man who belongs to the broad working masses is nonpolitical, the more susceptible he is to the ideology of political reaction. To be nonpolitical is not, as one might suppose, evidence of a passive psychic condition, but of a highly active attitude, a defense against the awareness of social responsibility. The analysis of this defense against consciousness of one's social responsibility yields clear insights into a number of dark questions concerning the behavior of the broad nonpolitical strata. In the case of the average intellectual "who wants nothing to do with politics," it can easily be shown that immediate economic interests and fears related to his social position, which is dependent upon public opinion, lie at the basis of his noninvolvement. These fears cause him to make the most grotesque sacrifices with respect to his knowledge and convictions. Those people who are engaged in the production process in one way or another and are nonetheless socially irresponsible can be divided into two major groups. In the case of the one group the concept of politics is unconsciously associated with the idea of violence and physical danger, i.e., with an intense fear, which prevents them from facing life realistically. In the case of the other group, which undoubtedly constitutes the majority, social irresponsibility is based on personal conflicts and anxieties, of which the sexual anxiety is the predominant one. […] Until now the revolutionary movement has misunderstood this situation. It attempted to awaken the "nonpolitical" man by making him conscious solely of his unfulfilled economic interests. Experience teaches that the majority of these "nonpolitical" people can hardly be made to listen to anything about their socio-economic situation, whereas they are very accessible to the mystical claptrap of a National Socialist, despite the fact that the latter makes very little mention of economic interests. [This] is explained by the fact that severe sexual conflicts (in the broadest sense of the word), whether conscious or unconscious, inhibit rational thinking and the development of social responsibility. They make a person afraid and force him into a shell. If, now, such a self-encapsulated person meets a propagandist who works with faith and mysticism, meets, in other words, a fascist who works with sexual, libidinous methods, he turns his complete attention to him. This is not because the fascist program makes a greater impression on him than the liberal program, but because in his devotion to the führer and the führer's ideology, he experiences a momentary release from his unrelenting inner tension. Unconsciously, he is able to give his conflicts a different form and in this way to "solve" them.
Wilhelm Reich (The Mass Psychology of Fascism)
She zips out the Congressional Record from February 24, 1972, and reads the testimony of Dr. Jose Delgado from Yale University, who was arguing against the proposed discontinuation of research into psychosurgery:            We need a program of psychosurgery for political control of our society. The purpose is physical control of the mind. Everyone who deviates from the given norm can be surgically mutilated. The individual may think that the most important reality is his own existence, but this is only his personal view. This lacks historical perspective. Man does not have the right to develop his own mind. This kind of liberal orientation has great appeal. We must electrically control the brain. Someday armies and generals will be controlled by electric stimulation of the brain.
Mae Brussell (The Essential Mae Brussell: Investigations of Fascism in America)
today’s society is characterized by achievement orientation, and consequently it adores people who are successful and happy and, in particular, it adores the young. It virtually ignores the value of all those who are otherwise, and in so doing blurs the decisive difference between being valuable in the sense of dignity and being valuable in the sense of usefulness. If one is not cognizant of this difference and holds that an individual’s value stems only from his present usefulness, then, believe me, one owes it only to personal inconsistency not to plead for euthanasia along the lines of Hitler’s program, that is to say, “mercy” killing of all those who have lost their social usefulness, be it because of old age, incurable illness, mental deterioration, or whatever handicap they may suffer.
Viktor E. Frankl (Man's Search for Meaning)
Why did Cold War Washington let Western Europe “get away” with all this light socialism when similar policy orientations led to violent intervention in the Third World? Was it only that, as Francisca said, Americans simply trusted their European cousins—who were white, and therefore responsible—to handle the task of managing democracy? A complementary explanation might be that these countries, some still overseeing remnants of colonial empire, were incredibly rich and powerful. They were much harder to push around, even if Washington had wanted to, and—perhaps more importantly—they sat at the top of the world economy. They were being fully integrated into the US-led system, and so there was much less of a risk they would try to radically reshape the global order, because it had served them quite well.
Vincent Bevins (The Jakarta Method: Washington's Anticommunist Crusade and the Mass Murder Program that Shaped Our World)
More specifically, this usefulness is usually defined in terms of functioning for the benefit of society. But today’s society is characterized by achievement orientation, and consequently it adores people who are successful and happy and, in particular, it adores the young. It virtually ignores the value of all those who are otherwise, and in so doing blurs the decisive difference between being valuable in the sense of dignity and being valuable in the sense of usefulness. If one is not cognizant of this difference and holds that an individual’s value stems only from his present usefulness, then, believe me, one owes it only to personal inconsistency not to plead for euthanasia along the lines of Hitler’s program, that is to say, “mercy” killing of all those who have lost their social usefulness, be it because of old age, incurable illness, mental deterioration, or whatever handicap they may suffer.
Viktor E. Frankl (Man's Search for Meaning)
Precollege program orientation was scheduled for two days after Watson arrived, and I discovered a few things in the meantime. 1. My uncle Leander has a memory like a steel trap. He took Watson and I to the all-you-can-eat Indian buffet around the corner from our flat, to the antiquarian bookshop to look at first editions of Faulkner, to the teahouse painted to look like a starry night, all of which Watson had mentioned in passing that he loved, and whose repetition now left Watson in a state of expansive joy. 2. I should have found this delightful. I did not. As, throughout all of this, Leander referred to Watson as my boyfriend. 2b. Loudly. 2c. He did this as often as he could. 2d. To wit: "A latte for my niece and her young man"; "Charlotte, wasn't that your Jamie's favorite, A Light in August? Faulkner's later work -"; "Child, go and get your boyfriend another napkin, we aren't barbarians/" And then that smile Leander had, something like a wolf after eating a fat peasant child.
Brittany Cavallaro (A Question of Holmes (Charlotte Holmes, #4))
Today’s society is characterized by achievement orientation, and consequently it adores people who are successful and happy and, in particular, it adores the young. It virtually ignores the value of all those who are otherwise, and in so doing blurs the decisive difference between being valuable in the sense of dignity and being valuable in the sense of usefulness. If one is not cognizant of this difference and holds that an individual’s value stems only from his present usefulness, then, believe me, one owes it only to personal inconsistency not to plead for euthanasia along the lines of Hitler’s program, that is to say, ‘mercy’ killing of all those who have lost their social usefulness, be it because of old age, incurable illness, mental deterioration, or whatever handicap they may suffer. Confounding the dignity of man with mere usefulness arises from conceptual confusion that in turn may be traced back to the contemporary nihilism transmitted on many an academic campus and many an analytical couch.
Viktor E. Frankl (Man’s Search for Meaning)
The areas of the cortex responsible for attention and self-regulation develop in response to the emotional interaction with the person whom we may call the mothering figure. Usually this is the birth mother, but it may be another person, male or female, depending on circumstances. The right hemisphere of the mother’s brain, the side where our unconscious emotions reside, programs the infant’s right hemisphere. In the early months, the most important communications between mother and infant are unconscious ones. Incapable of deciphering the meaning of words, the infant receives messages that are purely emotional. They are conveyed by the mother’s gaze, her tone of voice and her body language, all of which reflect her unconscious internal emotional environment. Anything that threatens the mother’s emotional security may disrupt the developing electrical wiring and chemical supplies of the infant brain’s emotion-regulating and attention-allocating systems. Within minutes following birth, the mother’s odors stimulate the branching of millions of nerve cells in the newborn’s brain. A six-day-old infant can already distinguish the scent of his mother from that of other women. Later on, visual inputs associated with emotions gradually take over as the major influences. By two to seven weeks, the infant will orient toward the mother’s face in preference to a stranger‘s — and also in preference to the father’s, unless the father is the mothering adult. At seventeen weeks, the infant’s gaze follows the mother’s eyes more closely than her mouth movements, thus fixating on what has been called “the visible portion of the mother’s central nervous system.” The infant’s right brain reads the mother’s right brain during intense eye-to-eye mutual gaze interactions. As an article in Scientific American expressed it, “Embryologically and anatomically the eye is an extension of the brain; it is almost as if a portion of the brain were in plain sight.” The eyes communicate eloquently the mother’s unconscious emotional states.
Gabor Maté (Scattered: How Attention Deficit Disorder Originates and What You Can Do About It)
Liberals stand up for victims of oppression and exclusion. They fight to break down arbitrary barriers (such as those based on race, and more recently on sexual orientation). But their zeal to help victims, combined with their low scores on the Loyalty, Authority, and Sanctity foundations, often lead them to push for changes that weaken groups, traditions, institutions, and moral capital. For example, the urge to help the inner-city poor led to welfare programs in the 1960s that reduced the value of marriage, increased out-of-wedlock births, and weakened African American families.72 The urge to empower students by giving them the right to sue their teachers and schools in the 1970s has eroded authority and moral capital in schools, creating disorderly environments that harm the poor above all.73 The urge to help Hispanic immigrants in the 1980s led to multicultural education programs that emphasized the differences among Americans rather than their shared values and identity. Emphasizing differences makes many people more racist, not less.
Jonathan Haidt (The Righteous Mind: Why Good People are Divided by Politics and Religion)
The "hidden aspects" of the economy. That would be all the hidden things we don't know. But the hidden things are not part of the "rhetorical" side so no one knows about it. Humans are cultural animals. They go where their culture tells them to go. They are not truly creative. I don't think it is really that they are so creative or that they are constantly going where they want to go. I do not think that life works that way. In the field of economics there has been a capture of the human thought system. The practice of creative thought has been captured and tamed. There is a specific program of economic disinformation. It is "specific" because this has all been worked out, quite well, and with many economists intentionally contributing their shovel of dirt. You can be very sure you will therefore end up being oriented towards the accepted norm, the approved norm, which is some kind of establishment or right-wing view. Well, usually. Or neo-liberal, or conformist or whatever you call it --- the norm, the normal position. You might call that the missionary position in economics. The result? Well. We are unfamiliar with "hidden aspects.
jack silverman
Liberals stand up for victims of oppression and exclusion. They fight to break down arbitrary barriers (such as those based on race, and more recently on sexual orientation). But their zeal to help victims, combined with their low scores on the Loyalty, Authority, and Sanctity foundations, often lead them to push for changes that weaken groups, traditions, institutions, and moral capital. For example, the urge to help the inner-city poor led to welfare programs in the 1960s that reduced the value of marriage, increased out-of-wedlock births, and weakened African American families.72 The urge to empower students by giving them the right to sue their teachers and schools in the 1970s has eroded authority and moral capital in schools, creating disorderly environments that harm the poor above all.73 The urge to help Hispanic immigrants in the 1980s led to multicultural education programs that emphasized the differences among Americans rather than their shared values and identity. Emphasizing differences makes many people more racist, not less.74 On issue after issue, it’s as though liberals are trying to help a subset of bees (which really does need help) even if doing so damages the hive. Such “reforms” may lower the overall welfare of a society, and sometimes they even hurt the very victims liberals were trying to help.
Jonathan Haidt (The Righteous Mind: Why Good People are Divided by Politics and Religion)
I believe reincarnation is fundamentally true, even though most of these religions taught it in a metaphorical and popular form called metempsychosis. This is the belief that the soul, the supposed (but false) unity of will and intellect, is fully reborn. This is false. The intellect is a merely physical quality like muscular strength and can’t be “reborn” any more than your muscles are literally reborn. You are not at bottom your intellect, this is impossible, although this is the assumption of almost all modern people even when they claim otherwise. They pay lip service to “supremacy of the desires,” or to biological determinism, but they still believe they are their intellects, just imprisoned by flesh and matter and genes and a biological “programming.” This is wrong! And it’s not the intellect that is reborn, I will tell you what is. Take a fruitfly, or a worker ant. This type of being is very close to plant-life in some ways. It has very primitive intellect, very primitive nervous system. There are inborn ways of behaving, of reacting to certain stimuli, inborn desires and orientations “in the blood,” and when you kill one ant, the next one over will be identical in this regard. Its rebirth is “instantaneous” because the ant has a will that is shared uniformly across its type in the hive, and is therefore persistent and enduring. Once the queen dies, the next queen is indistinguishable from it in that thing that Schopenhauer calls the will, what he says is inborn way of wanting, and is in a very literal sense a “reincarnation” of this same thing.
Bronze Age Pervert (Bronze Age Mindset)
So for most of the late twentieth century, political scientists embraced blank-slate theories in which people soaked up the ideology of their parents or the TV programs they watched. Some political scientists even said that most people were so confused about political issues that they had no real ideology at all. But then came the studies of twins. In the 1980s, when scientists began analyzing large databases that allowed them to compare identical twins (who share all of their genes, plus, usually, their prenatal and childhood environments) to same-sex fraternal twins (who share half of their genes, plus their prenatal and childhood environments), they found that the identical twins were more similar on just about everything. And what’s more, identical twins reared in separate households (because of adoption) usually turn out to be very similar, whereas unrelated children reared together (because of adoption) rarely turn out similar to each other, or to their adoptive parents; they tend to be more similar to their genetic parents. Genes contribute, somehow, to just about every aspect of our personalities. We’re not just talking about IQ, mental illness, and basic personality traits such as shyness. We’re talking about the degree to which you like jazz, spicy foods, and abstract art; your likelihood of getting a divorce or dying in a car crash; your degree of religiosity, and your political orientation as an adult. Whether you end up on the right or the left of the political spectrum turns out to be just as heritable as most other traits: genetics explains between a third and a half of the variability among people on their political attitudes. Being raised in a liberal or conservative household accounts for much less.
Jonathan Haidt (The Righteous Mind: Why Good People Are Divided by Politics and Religion)
You were taught that even when the charism of celibacy and chastity is present and embraced, the attractions, the impulses, the desires will still be present. So the first thing you need to do is be aware that you are a human being, and no matter how saintly or holy you are, you will never remove yourself from those passions. But the idea was making prudent choices. You just walk away. Celibacy is a radical call, and you’ve made a decision not to act on your desire.” Today, seminaries say they screen applicants rigorously. In Boston, for example, a young man must begin conversations with the vocations director a year before applying for admissions, and then the application process takes at least four months. Most seminaries require that applicants be celibate for as long as five years before starting the program, just to test out the practice, and students are expected to remain celibate throughout seminary as they continue to discern whether they are cut out to lead the sexless life of an ordained priest. Some seminaries screen out applicants who say they are sexually attracted to other men, but most do not, arguing that there is no evidence linking sexual orientation to one’s ability to lead a celibate life. The seminaries attempt to weed out potential child abusers, running federal and local criminal background checks, but there is currently no psychological test that can accurately predict whether a man who has never sexually abused a child is likely to do so in the future. So seminary officials say that in the screening process, and throughout seminary training, they are alert to any sign that a man is not forming normal relationships with adults, or seems abnormally interested in children. Many potential applicants are turned away from seminaries, and every year some students are forced out. “Just because there’s a shortage doesn’t mean we should lessen our standards,” said Rev. Edward J. Burns,
The Boston Globe (Betrayal: The Crisis in the Catholic Church: The findings of the investigation that inspired the major motion picture Spotlight)
The emphasis was on “soft.” No matter what else happened, the wranglers were to stay soft while riding the horses. Soft hands, soft seat, and soft legs. There was to be absolutely no hitting, kicking, slapping, or yelling at any time for any reason. The penalty for doing such things was to be placed on a two-day suspension. A second offense would lead to termination. Neither penalty was ever needed. At times it wasn’t easy to stay quiet with the horses because so many of them had been “used up” over the years, dulled to any form of cue. However, we remained consistent in our focus and the horses responded. The wranglers were instructed to ride the horses with the softest cues possible, often using nothing more than a light squeeze to get forward movement and a shift of weight in the saddle, along with light pressure on the reins, for a stop. They were also instructed to look for, find, and then release their cues at the slightest try from the horse—something they all became very adept at doing. With everyone riding in the same manner from one day to the next, all the horses began to respond within a few weeks. Before we knew it, all of our horses, including the very old ones that had been in the program for years and years, became responsive to the lightest of cues. We’d taught our horses to be responsive to these light cues, but a question remained. How could we keep them that way, particularly with the hundreds of different people who would be riding each horse over the summer? The answer was simple. Everyone needed to remain consistent. So, instead of expecting our horses to respond to the conflicting cues that each new rider was bound to give, we taught each rider how to communicate with our horses. Each week when a new batch of guests arrived at the ranch, we held an orientation in the riding arena. During this orientation, we explained how our horses were trained and what was expected of them as a rider of one of our horses. We gave them a demonstration in the saddle of proper seat and hand position, so they could keep their balance. We showed them the cues for walk, stop, trot, lope, and turn, using a horse right out of the string. Once we had demonstrated how our horses worked, we got everyone on horseback in the arena and helped them to practice giving the cues, allowing the horse to respond, and releasing the cues so that the horse would remain responsive. Of note is the fact that after
Mark Rashid (Horses Never Lie: The Heart of Passive Leadership)
Wake up every day, expecting not to know what's going to happen, and look for the events to unfold with curiosity. Instead of stressing and managing, just be present at anything that pops up with the intention of approaching it with your best efforts. Whatever happens in the process of spiritual awakening is going to be unpredictable and moving forward, if you're just the one who notices it, not fighting or making a big project out there. •       You may have emotional swings, energetic swings, psychic openings, and other unwanted shifts that, as you knew, feel unfamiliar to your personality. Be the beholder. Don't feel like you have something to fix or alter. They're going to pass. •       If you have severe trauma in your history and have never had therapy, it might be very useful to release the pains of memories that arise around the events. Therapy teaches you how to express, bear witness, release, and move forward. Your therapist needn't know much about kundalini as long as he or she doesn't discount that part of your process. What you want to focus on is the release of trauma-related issues, and you want an experienced and compassionate therapist who sees your spiritual orientation as a motivation and support for the healing process. •       This process represents your chance to wake up to your true nature. Some people wake up first, and then experience the emergence of a kundalini; others have the kundalini process going through as a preparation for the emergence. The appearance happens to do the job of wiping out, so is part of either pattern. Waking up means realizing that whoever looks through your eyes, lives through your senses, listens to your thoughts, and is present at every moment of your experience, whether good or bad, is recognized or remembered. This is a bright, conscious, detached and unconditionally loving presence that is universal and eternal and is totally free from all the conditions and memories you associate with as a personal identity. But as long as you believe in all of your personal conditions and stories, emotions, and thoughts, you have to experience life filtered by them. This programmed mind is what makes the game of life to be varied and suspense-filled but it also causes suffering and fear of death. When we are in Samadhi and Satori encounters, we glimpse the Truth about the vast, limitless space that is the foundation for our being. It is called gnosis (knowledge) or the One by the early Gnostics. Some spiritual teachings like Advaita Vedanta and Zen go straight for realization, while others see it as a gradual path through years of spiritual practices. Anyway, the ending is the same. As Shakespeare said, when you know who you are, the world becomes a stage and you the player, and life is more light and thoughts less intrusive, and the kundalini process settles down into a mellow pleasantness. •       Give up places to go and to be with people that cause you discomfort.
Adrian Satyam (Energy Healing: 6 in 1: Medicine for Body, Mind and Spirit. An extraordinary guide to Chakra and Quantum Healing, Kundalini and Third Eye Awakening, Reiki and Meditation and Mindfulness.)
We tend to be unaware that stars rise and set at all. This is not entirely due to our living in cities ablaze with electric lights which reflect back at us from our fumes, smoke, and artificial haze. When I discussed the stars with a well-known naturalist, I was surprised to learn that even a man such as he, who has spent his entire lifetime observing wildlife and nature, was totally unaware of the movements of the stars. And he is no prisoner of smog-bound cities. He had no inkling, for instance, that the Little Bear could serve as a reliable night clock as it revolves in tight circles around the Pole Star (and acts as a celestial hour-hand at half speed - that is, it takes 24 hours rather than 12 for a single revolution). I wondered what could be wrong. Our modern civilization does not ignore the stars only because most of us can no longer see them. There are definitely deeper reasons. For even if we leave the sulphurous vapours of our Gomorrahs to venture into a natural landscape, the stars do not enter into any of our back-to-nature schemes. They simply have no place in our outlook any more. We look at them, our heads flung back in awe and wonder that they can exist in such profusion. But that is as far as it goes, except for the poets. This is simply a 'gee whiz' reaction. The rise in interest in astrology today does not result in much actual star-gazing. And as for the space programme's impact on our view of the sky, many people will attentively follow the motions of a visible satellite against a backdrop of stars whose positions are absolutely meaningless to them. The ancient mythological figures sketched in the sky were taught us as children to be quaint 'shepherds' fantasies' unworthy of the attention of adult minds. We are interested in the satellite because we made it, but the stars are alien and untouched by human hands - therefore vapid. To such a level has our technological mania, like a bacterial solution in which we have been stewed from birth, reduced us. It is only the integral part of the landscape which can relate to the stars. Man has ceased to be that. He inhabits a world which is more and more his own fantasy. Farmers relate to the skies, as well as sailors, camel caravans, and aerial navigators. For theirs are all integral functions involving the fundamental principle - now all but forgotten - of orientation. But in an almost totally secular and artificial world, orientation is thought to be un- necessary. And the numbers of people in insane asylums or living at home doped on tranquilizers testifies to our aimless, drifting metaphysic. And to our having forgotten orientation either to seasons (except to turn on the air- conditioning if we sweat or the heating system if we shiver) or to direction (our one token acceptance of cosmic direction being the wearing of sun-glasses because the sun is 'over there'). We have debased what was once the integral nature of life channelled by cosmic orientations - a wholeness - to the ennervated tepidity of skin sensations and retinal discomfort. Our interior body clocks, known as circadian rhythms, continue to operate inside us, but find no contact with the outside world. They therefore become ingrown and frustrated cycles which never interlock with our environment. We are causing ourselves to become meaningless body machines programmed to what looks, in its isolation, to be an arbitrary set of cycles. But by tearing ourselves from our context, like the still-beating heart ripped out of the body of an Aztec victim, we inevitably do violence to our psyches. I would call the new disease, with its side effect of 'alienation of the young', dementia temporalis.
Robert K.G. Temple (The Sirius Mystery: New Scientific Evidence of Alien Contact 5,000 Years Ago)
For example, consider a stack (which is a first-in, last-out list). You might have a program that requires three different types of stacks. One stack is used for integer values, one for floating-point values, and one for characters. In this case, the algorithm that implements each stack is the same, even though the data being stored differs. In a non-object-oriented language, you would be required to create three different sets of stack routines, with each set using different names. However, because of polymorphism, in Java you can create one general set of stack routines that works for all three specific situations. This way, once you know how to use one stack, you can use them all. More generally, the concept of polymorphism is often expressed by the phrase “one interface, multiple methods.” This means that it is possible to design a generic interface to a group of related activities. Polymorphism helps reduce complexity by allowing the same interface to be used to specify a general class of action.
Herbert Schildt (Java: A Beginner's Guide)
You normally shouldn’t do this, though — it’s not the Python way.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Cohesion: each function should have a single, unified purpose. When designed well, each of your functions should do one thing — something you can summarize in a simple declarative sentence. If that sentence is very broad (e.g., “this function implements my whole program”), or contains lots of conjunctions (e.g., “this function gives employee raises and submits a pizza order”), you might want to think about splitting it into separate and simpler functions.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
getattr employs the inheritance search protocol, and some of the names we’re listing here are not stored on the instance itself.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Python programmers are able to write large OOP frameworks and applications without private declarations — an interesting finding about access controls in general that is beyond the scope of our purposes here.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
This method is a bit trickier to use, though, because assigning to any self attributes within __setattr__ calls __setattr__ again, potentially causing an infinite recursion loop (and a fairly quick stack overflow exception!).
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
If you wish to use this method, you can avoid loops by coding instance attribute assignments as assignments to attribute dictionary keys. That is, use self.__dict__['name'] = x, not self.name = x; because you’re not assigning to __dict__ itself, this avoids the loop:
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Third, and perhaps most subtle, the display methods also have the potential to trigger infinite recursion loops in rare contexts — because some objects’ displays include displays of other objects, it’s not impossible that a display may trigger a display of an object being displayed, and thus loop. This is rare and obscure enough to skip here, but watch for an example of this looping potential to appear for these methods in a note near the end of the next chapter in its listinherited.py example’s class, where __repr__ can loop.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Of course, as I’ve pointed out numerous times in this book, type checking is usually the wrong thing to do in Python programs (we code to object interfaces, not object types), and the more general isinstance built-in is more likely what you’ll want to use in the rare cases where instance class types must be queried.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
In fact, type itself derives from object, and object derives from type, even though the two are different objects — a circular relationship that caps the object model and stems from the fact that types are classes that generate classes:
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
This search order is called the new-style MRO for “method resolution order” (and often just MRO for short when used in contrast with the DFLR order). Despite the name, this is used for all attributes in Python, not just methods.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
within a class statement only, any names that start with two underscores but don’t end with two underscores are automatically expanded to include the name of the enclosing class at their front.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Technically speaking, classes belong in the callable objects category too, but we normally call them to generate instances rather than to do actual work —
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Factories can be a major undertaking in a strongly typed language such as C++ but are almost trivial to implement in Python.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
everything is a “first class” object in Python —
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
In new-style classes (optional in 2.X and standard in 3.X), the attribute search is usually as before, but in diamond patterns proceeds across by tree levels before moving up, in a more breadth-first fashion. This order is usually called the new-style MRO, for method resolution order, though it’s used for all attributes, not just methods.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
In a sense, mix-in classes are similar to modules: they provide packages of methods for use in their client subclasses.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Although it’s possible to emulate true access controls in Python classes, this is rarely done in practice, even for large systems.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
I took 17 computer science classes and made an A in 11 of them. 1 point away from an A in 3 of them and the rest of them didn't matter. Math is a tool for physics,chemistry,biology/basic computation and nothing else. CS I(Pascal Vax), CS II(Pascal Vax), Sr. Software Engineering, Sr. Distributed Systems, Sr. Research, Sr. Operating Systems, Sr. Unix Operating Systems, Data Structures, Sr. Object Oriented A&D, CS (perl/linux), Sr. Java Programming, Information Systems Design, Jr. Unix Operating Systems, Microprocessors, Programming Algorithms, Calculus I,II,III, B Differential Equations, TI-89 Mathematical Reasoning, 92 C++ Programming, Assembly 8086, Digital Computer Organization, Discrete Math I,II, B Statistics for the Engineering & Sciences (w/permutations & combinatorics) -- A-American Literature A-United States History 1865 CLEP-full year english CLEP-full year biology A-Psychology A-Environmental Ethics
Michael Gitabaum
Gud Mould Industry Co., Ltd. is a professional manufacturer of plastic injection moulds and die-casting moulds. Founded in 2007, Gud Mould Industry Co., Ltd. covers an area of 7000 square meters and has more than 100 experienced staffs, of which more than 30 with years of experience in plastic engineering and die-casting. To meet customers' higher requirements for product quality and greater demand for mould production, we constantly introduce advanced equipment, technology and talents at home and abroad to enhance our production means and technical support, constantly expand processing area to increase our production capacity. At present, Gud Mould has a large number of international advanced CNC machining centers, EDM, WEDM, milling machines, tool grinders and other precision die and mould processing equipment; imported spectrometers, metallographic analyzers, water capacity detectors, coordinate detectors, gauges and other international advanced detection equipment and instruments. Gud Mould's die design and production all realize computerization, apply International advanced AutoCAD, Pro/E, UG, Cimatron, MASTERCAM, etc. File of IGS, DXF, STP, PORASLD and so on are acceptable here. After receiving drawings and data from customers, engineers of Gud Mould design and program first. Manufacture, produce and inspect them strictly according to the drawings of mould engineering. All manufacturing processes realize digitalization of drawings, so as to ensure stability of high precision and high quality of dies. All materials of die are made of high quality steel and precision standard die base, which ensures service performance and life of die. In line with principle of customer first, we provide the best quality, delivery date, quality service and reasonable price, absolutely guarantee interests of customers, and provide confidentiality commitment to all technical information of customers. Gud Mould Industry Co., Ltd. has always adhered to business philosophy of "people-oriented, quality first", and has been making progress and developing steadily. Although Gud Mould is medium-sized, it has been recognized by well-known domestic enterprises such as Chang'an, Changfei, Hafei, Lifan, Ford in China, and has established a good reputation among domestic customers. In 2018, we set up overseas department, which mainly develops overseas markets. We sincerely welcome you to visit our company and expand your business!
Jackie Lee
There was, finally, the critical question of how to define the program’s borders. To exclude the East was to invite blame for creating the iron curtain; to include it was to invite Soviet sabotage. The solution, Kennan argued, was to advance the project as a “general European (not just western European)” one, but in a manner ensuring that “the Russian satellite countries would either exclude themselves by unwillingness to accept the proposed conditions or agree to abandon the exclusive orientation of their economies.” Either way the satellites chose, the United States would win diplomatically
Benn Steil (The Marshall Plan: Dawn of the Cold War)
PYTHONPATH and .pth files offer more permanent ways to modify the path — the first per user, and the second per installation.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
The five most highly correlated factors are: Organizational culture. Strong feelings of burnout are found in organizations with a pathological, power-oriented culture. Managers are ultimately responsible for fostering a supportive and respectful work environment, and they can do so by creating a blame-free environment, striving to learn from failures, and communicating a shared sense of purpose. Managers should also watch for other contributing factors and remember that human error is never the root cause of failure in systems. Deployment pain. Complex, painful deployments that must be performed outside of business hours contribute to high stress and feelings of lack of control.4 With the right practices in place, deployments don’t have to be painful events. Managers and leaders should ask their teams how painful their deployments are and fix the things that hurt the most. Effectiveness of leaders. Responsibilities of a team leader include limiting work in process and eliminating roadblocks for the team so they can get their work done. It’s not surprising that respondents with effective team leaders reported lower levels of burnout. Organizational investments in DevOps. Organizations that invest in developing the skills and capabilities of their teams get better outcomes. Investing in training and providing people with the necessary support and resources (including time) to acquire new skills are critical to the successful adoption of DevOps. Organizational performance. Our data shows that Lean management and continuous delivery practices help improve software delivery performance, which in turn improves organizational performance. At the heart of Lean management is giving employees the necessary time and resources to improve their own work. This means creating a work environment that supports experimentation, failure, and learning, and allows employees to make decisions that affect their jobs. This also means creating space for employees to do new, creative, value-add work during the work week—and not just expecting them to devote extra time after hours. A good example of this is Google’s 20% time policy, where the company allows employees 20% of their week to work on new projects, or IBM’s “THINK Friday” program, where Friday afternoons are designated for time without meetings and employees are encouraged to work on new and exciting projects they normally don’t have time for.
Nicole Forsgren (Accelerate: The Science of Lean Software and DevOps: Building and Scaling High Performing Technology Organizations)
Common practice dictates that overloaded operators should work the same way that built-in operator implementations do.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
On the other hand, you might decide to use operator overloading if you need to pass a user-defined object to a function that was coded to expect the operators available on a built-in type like a list or a dictionary.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
the attributes of a namespace object are usually implemented as dictionaries, and class inheritance trees are (generally speaking) just dictionaries with links to other dictionaries.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
but slots — and other “virtual” attributes — won’t be reported as instance data.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Because shelves are Python objects containing Python objects, we can process them with normal Python syntax and development modes. Here, the interactive prompt effectively becomes a database client:
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
ZODB, for example, is similar to Python’s shelve but addresses many of its limitations, better supporting larger databases, concurrent updates, transaction processing, and automatic write-through on in-memory changes (shelves can cache objects and flush to disk at close time with their writeback option, but this has limitations: see other resources).
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Although we can store functions in dictionaries, too, using them to process implied instances is nowhere near as natural and structured as it is in classes.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
In a sense, a module is like a single-instance class, without inheritance, which corresponds to an entire file of code.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Class attributes can also be created, though, by assigning attributes to the class anywhere a reference to the class object exists — even outside the class statement.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Again, though, they may be created by assignment anywhere a reference to the instance appears, even outside the class statement. Normally, all instance attributes are initialized in the __init__ constructor method; that way, later method calls can assume the attributes already exist.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Operator overloading is coded in a Python class with specially named methods; they all begin and end with double underscores to make them unique. These are not built-in or reserved names; Python just runs them automatically when an instance appears in the corresponding operation.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Despite its syntax details, Python’s class system really is largely just a matter of searching for an attribute in a tree of objects, along with a special first argument for functions.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Although other techniques (such as enclosing scope reference closures) can save details, too, instance attributes make this very explicit and easy to understand.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Inheritance is best at coding extensions based on direct customization (like our Manager specialization of Person). Composition is well suited to scenarios where multiple objects are aggregated into a whole and directed by a controller layer class. Inheritance passes calls up to reuse, and composition passes down to delegate.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
On a related note, you can also code multiple __init__ methods within the same class, but only the last definition will be used; see Chapter 31 for more details on multiple method definitions.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Like a def, a class statement is an object builder, and an implicit assignment — when run, it generates a class object and stores a reference to it in the name used in the header.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Every time you use an expression of the form object.attr where object is an instance or class object, Python searches the namespace tree from bottom to top, beginning with object, looking for the first attr it can find.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
In other words, the age-old acronym KISS still applies: Keep It Simple — followed either by a word that is today too sexist (Sir), or another that is too colorful for a family-oriented book like this...
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
As the prior section suggested, these classes usually return their objects directly for single-iteration behavior, or a supplemental object with scan-specific state for multiple-scan support.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
remember that generator functions simply return objects with methods that handle next operations run by for loops at each level, and don’t produce any results until iterated; and
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
that’s why we need recursion here: the number of nested loops is arbitrary, and depends on the length of the sequence permuted:
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
By yielding results as it goes, the walker does not require its clients to wait for an entire tree to be scanned.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Notice that compilation happens when a file is being imported. Because of this, you will not usually see a .pyc byte code file for the top-level file of your program, unless it is also imported elsewhere — only imported files leave behind .pyc files on your machine.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
Best practice in all Pythons recommends listing all your imports at the top of a module file; it’s not required, but makes them easier to spot.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
To minimize the chances of name collisions like this, Python programmers often prefix methods not meant for external use with a single underscore: _gatherAttrs in our case.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
A better and less commonly used solution would be to use two underscores at the front of the method name only: __gatherAttrs for us. Python automatically expands such names to include the enclosing class’s name, which makes them truly unique when looked up by the inheritance search. This is a feature usually called pseudoprivate class attributes, which we’ll expand on in Chapter 31 and deploy in an expanded version of this class there.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
By coding functions and classes in module files, we’ve ensured that they naturally support reuse. And by coding our software as classes, we’ve ensured that it naturally supports extension.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
We’ll use from to load in our script, just because it’s a bit less to type.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
All the statements inside the class statement run when the class statement itself runs (not when the class is later called to make an instance).
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)
In general, though, any type of name assignment at the top level of a class statement creates a same-named attribute of the resulting class object.
Mark Lutz (Learning Python: Powerful Object-Oriented Programming)