1. Trang chủ
  2. » Thể loại khác

Break your addiction to negative thinking

2 45 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 2
Dung lượng 68,98 KB

Nội dung

Break your addiction to negative thinking tài liệu, giáo án, bài giảng , luận văn, luận án, đồ án, bài tập lớn về tất cả...

Break your addiction to negative thinking Break your addiction to negative thinking Bởi: Joe Tye “Negative thinking must be treated like any addiction – with commitment to life, patience, discipline, a will to get better, forgiveness, self-love, and the knowledge that recovery is not just possible, but, following certain guidelines, inevitable.” Peter McWilliams: You Can’t Afford the Luxury of a Negative Thought Psychologists tell us that the human mind will automatically gravitate toward negative, frightening, and depressing thoughts unless a conscious effort is made to steer thinking in a more positive direction Compounding this hardwired predisposition, from a very early age we are subjected to negative messages from parents (the first word a toddler learns is “no”), teachers, schoolyard bullies, and abusive bosses (which is what schoolyard bullies often become when they grow up) Negative thinking actually does share many characteristics with substance addiction It starts with a small dose – usually with someone else giving you the first one free (the parent, the teacher, the schoolyard bully) You grow tolerant to it over time and so the dose increases “Look at that pimple” over time becomes “You’re ugly” which in turn transmogrifies into “You’re unlovable.” Like any gateway drug, one negative thought opens the door to other forms of negative thinking The suspicion that you’re unlovable leads to increasingly desperate attempts to get other people to prove you wrong, and to increasingly intense fear of rejection – both of which lead to behaviors that are almost guaranteed to eventually bring about the feared result As with any addictive substance, you develop a tolerance for negative thinking You get to the point where you hardly notice that it’s going on, and when you it doesn’t strike you as being a problem (Me? No, I don’t have a drinking problem! Me? No, I don’t have a negative thinking problem!) And as with any addiction, you are aided and abetted by co-conspirators – the people who don’t want you to stop listening to their whining and being in on their gossip 1/2 Break your addiction to negative thinking sessions; well-intentioned friends and relatives who discourage you from quitting the day job you hate, and that is the source of much of your inner negativity, so you can start a business doing something you love; the shrink who assures you that it’s all your parents’ fault And as with any addiction, nobody can break you free until you take complete and total personal responsibility for yourself 2/2 Mapping Your Objects to Database Tables with LINQ to SQL Microsoft ® Virtual Labs Mapping Your Objects to Database Tables with LINQ to SQL Table of Contents Mapping Your Objects to Database Tables with LINQ to SQL 1 Exercise 1 Creating Your First LINQ TO SQL Application . 2 Exercise 2 Creating an Object Model 7 Exercise 3 Using Code Generation to Create the Object Model 11 Exercise 4 Modifying Database Data 17 Exercise 5 Working with Advanced Features 22 Lab Summary 27 Mapping Your Objects to Database Tables with LINQ to SQL Page 1 of 27 Mapping Your Objects to Database Tables with LINQ to SQL Objectives After completing this lab, you will be better able to:  Create an object model from the database and customization of mapping between objects and tables; and  Utilize data access tasks often called CRUD operations – an acronym for Create, Retrieve, Update, and Delete operations. These tasks can be performed with a simple API without creating explicit SQL insert/update/delete commands. Scenario This lab shows how to access relational data using LINQ to SQL. You will start by creating an object model for the Northwind database, and then use the object model to access the database using the new C# 3.0 query expressions and LINQ to SQL APIs. You will next create an object model from an existing database using the LINQ to SQL Designer. This part covers mapping relationships across tables and using Create, Update, and Delete operations. Use of the object model covers the use of transactions, object loading options, stored procedure integration and object identity with LINQ to SQL. LINQ to SQL is a language-agnostic component of the LINQ Project. This is C# version of the lab but LINQ to SQL can be used just as well with the LINQ- enabled version of the Visual Basic compiler. The LINQ Project relies on new keywords and syntax introduced with C# 3.0available in Beta 1 of Visual Studio ”Orcas”. This gives us the opportunity to use new IDE features like the integrated debugger, IntelliSense™, and instant syntax check. Estimated Time to Complete This Lab 60 Minutes Mapping Your Objects to Database Tables with LINQ to SQL Page 2 of 27 Exercise 1 Creating Your First LINQ TO SQL Application Scenario In this exercise, you will learn how to map a class to a database table, and how to retrieve objects from the underlying table using LINQ. Note: When starting Visual Studio you will be prompted to choose your default environment, choose General Development Settings. Tasks Detailed Steps 1. Creating a LINQ Project a. Click the Start | Programs | Microsoft Visual Studio 9 | Microsoft Visual Codename Orcas menu command. b. In Microsoft Visual Studio, click the File | New | Project… menu command c. In the New Project dialog, in Visual C# |Templates, click Console Application d. Provide a name for the new THE DO-IT-YOURSELF LOBOTOMY Open Your Mind to Greater Creative Thinking Tom Monahan John Wiley & Sons, Inc. THE DO-IT-YOURSELF LOBOTOMY Adweek Books is designed to present interesting, insightful books for the general business reader and for professionals in the worlds of media, marketing, and advertising. These are innovative, creative books that address the challenges and opportunities of these industries, written by leaders in the business. Some of our writers head their own companies, others have worked their way up to the top of their field in large multinationals. But they share a knowledge of their craft and a desire to enlighten others. We hope readers will find these books as helpful and inspiring as Adweek, Brandweek, and Mediaweek magazines. Published Disruption: Overturning Conventions and Shaking Up the Marketplace, Jean-Marie Dru Under the Radar: Talking to Today’s Cynical Consumer, Jonathan Bond and Richard Kirshenbaum Truth, Lies and Advertising: The Art of Account Planning, Jon Steel Hey, Whipple, Squeeze This: A Guide to Creating Great Ads, Luke Sullivan Eating the Big Fish: How Challenger Brands Can Compete Against Brand Leaders, Adam Morgan Warp-Speed Branding: The Impact of Technology on Marketing, Agnieszka Winkler Creative Company: How St. Luke’s Became “the Ad Agency to End All Ad Agencies,” Andy Law Another One Bites the Grass: Making Sense of International Advertising, Simon Anholt Attention! How to Interrupt, Yell, Whisper and Touch Consumers, Ken Sacharin The Peaceable Kingdom: Building a Company without Factionalism, Fiefdoms, Fear, and Other Staples of Modern Business, Stan Richards with David Culp Getting the Bugs Out: The Rise, Fall, and Comeback of Volkswagen in America, by David Kiley Forthcoming Beyond Disruption: Changing the Rules in the Marketplace by Jean-Marie Dru And Now a Few Laughs From Our Sponsor by Larry Oakner THE DO-IT-YOURSELF LOBOTOMY Open Your Mind to Greater Creative Thinking Tom Monahan John Wiley & Sons, Inc. Copyright © 2002 by Tom Monahan. All rights reserved. Published by John Wiley & Sons, Inc., New York. No part of this publication may be reproduced, stored in a retrieval system or trans- mitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Pub- lisher, or authorization through payment of the appropriate per-copy fee to the Copy- right Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4744. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, (212) 850-6011, fax (212) 850-6008, E-Mail: PERMREQ@ WILEY.COM. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in rendering professional services. If professional advice or other expert assis- tance is required, the services of a competent professional person should be sought. This title is also available in print as ISBN 0-471-41742-4. Some content that appears in the print version of this book may not be available in this electronic edition. For more information about Wiley products, visit our web site at www.Wiley.com This book is dedicated to the five most important people in my life: my wife, my best friend, my honey, my partner, and my soul mate. Of course, that would be Audrey. PART I. What Do Great Ideas Do? 1 Introduction THE DO-IT-YOURSELF LOBOTOMY Open Your Mind to Greater Creative Thinking Tom Monahan John Wiley & Sons, Inc. THE DO-IT-YOURSELF LOBOTOMY Adweek Books is designed to present interesting, insightful books for the general business reader and for professionals in the worlds of media, marketing, and advertising. These are innovative, creative books that address the challenges and opportunities of these industries, written by leaders in the business. Some of our writers head their own companies, others have worked their way up to the top of their field in large multinationals. But they share a knowledge of their craft and a desire to enlighten others. We hope readers will find these books as helpful and inspiring as Adweek, Brandweek, and Mediaweek magazines. Published Disruption: Overturning Conventions and Shaking Up the Marketplace, Jean-Marie Dru Under the Radar: Talking to Today’s Cynical Consumer, Jonathan Bond and Richard Kirshenbaum Truth, Lies and Advertising: The Art of Account Planning, Jon Steel Hey, Whipple, Squeeze This: A Guide to Creating Great Ads, Luke Sullivan Eating the Big Fish: How Challenger Brands Can Compete Against Brand Leaders, Adam Morgan Warp-Speed Branding: The Impact of Technology on Marketing, Agnieszka Winkler Creative Company: How St. Luke’s Became “the Ad Agency to End All Ad Agencies,” Andy Law Another One Bites the Grass: Making Sense of International Advertising, Simon Anholt Attention! How to Interrupt, Yell, Whisper and Touch Consumers, Ken Sacharin The Peaceable Kingdom: Building a Company without Factionalism, Fiefdoms, Fear, and Other Staples of Modern Business, Stan Richards with David Culp Getting the Bugs Out: The Rise, Fall, and Comeback of Volkswagen in America, by David Kiley Forthcoming Beyond Disruption: Changing the Rules in the Marketplace by Jean-Marie Dru And Now a Few Laughs From Our Sponsor by Larry Oakner THE DO-IT-YOURSELF LOBOTOMY Open Your Mind to Greater Creative Thinking Tom Monahan John Wiley & Sons, Inc. Copyright © 2002 by Tom Monahan. All rights reserved. Published by John Wiley & Sons, Inc., New York. No part of this publication may be reproduced, stored in a retrieval system or trans- mitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Pub- lisher, or authorization through payment of the appropriate per-copy fee to the Copy- right Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4744. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, (212) 850-6011, fax (212) 850-6008, E-Mail: PERMREQ@ WILEY.COM. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in rendering professional services. If professional advice or other expert assis- tance is required, the services of a competent professional person should be sought. This title is also available in print as ISBN 0-471-41742-4. Some content that appears in the print version of this book may not be available in this electronic edition. For more information about Wiley products, visit our web site at www.Wiley.com This book is dedicated to the five most important people in my life: my wife, my best friend, my honey, my partner, and my soul mate. Of course, that would be Audrey. PART I. What Do Great Ideas Do? 1 Introduction Topic Professional “Pure intellectual stimulation that can be popped into the [audio or video player] anytime.” —Harvard Magazine Your Deceptive Mind “Passionate, erudite, living legend lecturers Academia’s best lecturers are being captured on tape.” —The Los Angeles Times “A serious force in American education.” —The Wall Street Journal Your Deceptive Mind: A Scientific Guide to Critical Thinking Skills Course Guidebook Professor Steven Novella Yale School of Medicine Professor Steven Novella is an Academic Neurologist at Yale School of Medicine and is a leading force in medical education for patients, the public, medical students, and medical professionals He earned his M.D from Georgetown University and completed his residency training at Yale School of Medicine Dr Novella is the founder and senior editor of Science-Based Medicine—a popular blog dedicated to promoting the highest standards of science in medical practice Cover Image: © iStockphoto/Thinkstock Course No 9344 © 2012 The Teaching Company PB9344A Guidebook THE GREAT COURSES ® Corporate Headquarters 4840 Westfields Boulevard, Suite 500 Chantilly, VA 20151-2299 USA Phone: 1-800-832-2412 www.thegreatcourses.com Subtopic Thinking Skills PUBLISHED BY: THE GREAT COURSES Corporate Headquarters 4840 Westfields Boulevard, Suite 500 Chantilly, Virginia 20151-2299 Phone: 1-800-832-2412 Fax: 703-378-3819 www.thegreatcourses.com Copyright © The Teaching Company, 2012 Printed in the United States of America This book is in copyright All rights reserved Without limiting the rights under copyright reserved above, no part of this publication may be reproduced, stored in or introduced into a retrieval system, or transmitted, in any form, or by any means (electronic, mechanical, photocopying, recording, or otherwise), without the prior written permission of The Teaching Company Steven Novella, M.D Academic Neurologist Yale School of Medicine P rofessor Steven Novella is an Academic Neurologist at Yale School of Medicine He is active in medical education at every level of experience, including patients, the public, medical students, and continuing education for medical professionals He also performs clinical research in his specialty area, publishing on amyotrophic lateral sclerosis, myasthenia gravis, and neuropathy Dr Novella received his M.D from Georgetown University and went on to complete residency training in neurology at Yale School of Medicine He is also trained and board certi¿ed in the subspecialty of neuromuscular disorders, which continues to be a focus of his practice Although he treats all types of neurological disorders, his clinical focus includes headaches and diseases of nerves and muscles Dr Novella is the president and cofounder of the New England Skeptical Society, a nonpro¿t educational organization dedicated to promoting the public understanding of science He is also the host and producer of their popular weekly science podcast, The Skeptics’ Guide to the Universe This award-winning science show (winner of the People’s Choice Podcast Award in education for 2009 and in science for 2010–2011) explores the latest science discoveries, the presentation of science in the mainstream media, public understanding and attitudes toward science, philosophy of science, and critical thinking Dr Novella has also recorded Medical Myths, Lies, and Half-Truths: What We Think We Know May Be Hurting Us with The Great Courses Dr Novella was appointed in 2009 as a fellow of the Committee for Skeptical Inquiry, an international organization dedicated to the promotion of science and reason; he writes a regular column for their publication, the Skeptical Inquirer Dr Novella was also appointed in 2011 as the senior fellow of the i James Randi Educational Foundation and director of their Science-Based Medicine project Dr Novella maintains a .. .Break your addiction to negative thinking sessions; well-intentioned friends and relatives who discourage you from quitting the day job you hate, and that is the source of much of your inner... who assures you that it’s all your parents’ fault And as with any addiction, nobody can break you free until you take complete and total personal responsibility for yourself 2/2

Ngày đăng: 31/10/2017, 05:22