The Art of Unit Testing: With Examples in .NET


Roy Osherove - 2009
    It guides you step by step from simple tests to tests that are maintainable, readable, and trustworthy. It covers advanced subjects like mocks, stubs, and frameworks such as Typemock Isolator and Rhino Mocks. And you'll learn about advanced test patterns and organization, working with legacy code and even untestable code. The book discusses tools you need when testing databases and other technologies. It's written for .NET developers but others will also benefit from this book.Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.Table of ContentsThe basics of unit testingA first unit testUsing stubs to break dependenciesInteraction testing using mock objectsIsolation (mock object) frameworksTest hierarchies and organizationThe pillars of good testsIntegrating unit testing into the organizationWorking with legacy code

C++ Concurrency in Action: Practical Multithreading


Anthony Williams - 2009
    This book will show you how to write robust multithreaded applications in C++ while avoiding many common pitfalls.About the TechnologyMultiple processors with multiple cores are the norm these days. The C++11 version of the C++ language offers beefed-up support for multithreaded applications, and requires that you master the principles, techniques, and new language features of concurrency to stay ahead of the curve.About the BookWithout assuming you have a background in the subject, CC++ Concurrency in Action gradually enables you to write robust and elegant multithreaded applications in C++11. You'll explore the threading memory model, the new multithreading support library, and basic thread launching and synchronization facilities. Along the way, you'll learn how to navigate the trickier bits of programming for concurrency.Written for C++ programmers who are new to concurrency and others who may have written multithreaded code using other languages, APIs, or platforms.Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.What's InsideWritten for the new C++11 Standard Programming for multiple cores and processors Small examples for learning, big examples for practice====================Table of ContentsHello, world of concurrency in C++! Managing threads Sharing data between threads Synchronizing concurrent operations The C++ memory model and operations on atomic types Designing lock-based concurrent data structures Designing lock-free concurrent data structures Designing concurrent code Advanced thread management Testing and debugging multithreaded applications

Learning Python


Mark Lutz - 2003
    Python is considered easy to learn, but there's no quicker way to mastery of the language than learning from an expert teacher. This edition of "Learning Python" puts you in the hands of two expert teachers, Mark Lutz and David Ascher, whose friendly, well-structured prose has guided many a programmer to proficiency with the language. "Learning Python," Second Edition, offers programmers a comprehensive learning tool for Python and object-oriented programming. Thoroughly updated for the numerous language and class presentation changes that have taken place since the release of the first edition in 1999, this guide introduces the basic elements of the latest release of Python 2.3 and covers new features, such as list comprehensions, nested scopes, and iterators/generators. Beyond language features, this edition of "Learning Python" also includes new context for less-experienced programmers, including fresh overviews of object-oriented programming and dynamic typing, new discussions of program launch and configuration options, new coverage of documentation sources, and more. There are also new use cases throughout to make the application of language features more concrete. The first part of "Learning Python" gives programmers all the information they'll need to understand and construct programs in the Python language, including types, operators, statements, classes, functions, modules and exceptions. The authors then present more advanced material, showing how Python performs common tasks by offering real applications and the libraries available for those applications. Each chapter ends with a series of exercises that will test your Python skills and measure your understanding."Learning Python," Second Edition is a self-paced book that allows readers to focus on the core Python language in depth. As you work through the book, you'll gain a deep and complete understanding of the Python language that will help you to understand the larger application-level examples that you'll encounter on your own. If you're interested in learning Python--and want to do so quickly and efficiently--then "Learning Python," Second Edition is your best choice.

The Big Picture: On the Origins of Life, Meaning, and the Universe Itself


Sean Carroll - 2016
     Where are we? Who are we? Are our emotions, our beliefs, and our hopes and dreams ultimately meaningless out there in the void? Does human purpose and meaning fit into a scientific worldview?In short chapters filled with intriguing historical anecdotes, personal asides, and rigorous exposition, readers learn the difference between how the world works at the quantum level, the cosmic level, and the human level--and then how each connects to the other.  Carroll's presentation of the principles that have guided the scientific revolution from Darwin and Einstein to the origins of life, consciousness, and the universe is dazzlingly unique.Carroll shows how an avalanche of discoveries in the past few hundred years has changed our world and what really matters to us. Our lives are dwarfed like never before by the immensity of space and time, but they are redeemed by our capacity to comprehend it and give it meaning.The Big Picture is an unprecedented scientific worldview, a tour de force that will sit on shelves alongside the works of Stephen Hawking, Carl Sagan, Daniel Dennett, and E. O. Wilson for years to come.

Linux Pocket Guide


Daniel J. Barrett - 2004
    Every page of Linux Pocket Guide lives up to this billing. It clearly explains how to get up to speed quickly on day-to-day Linux use. Once you're up and running, Linux Pocket Guide provides an easy-to-use reference that you can keep by your keyboard for those times when you want a fast, useful answer, not hours in the man pages.Linux Pocket Guide is organized the way you use Linux: by function, not just alphabetically. It's not the 'bible of Linux; it's a practical and concise guide to the options and commands you need most. It starts with general concepts like files and directories, the shell, and X windows, and then presents detailed overviews of the most essential commands, with clear examples. You'll learn each command's purpose, usage, options, location on disk, and even the RPM package that installed it.The Linux Pocket Guide is tailored to Fedora Linux--the latest spin-off of Red Hat Linux--but most of the information applies to any Linux system.Throw in a host of valuable power user tips and a friendly and accessible style, and you'll quickly find this practical, to-the-point book a small but mighty resource for Linux users.

Audio Culture: Readings in Modern Music


Christoph Cox - 2004
    Rather than offering a history of contemporary music, Audio Culture traces the genealogy of current musical practices and theoretical concerns, drawing lines of connection between recent musical production and earlier moments of sonic experimentation. It aims to foreground the various rewirings of musical composition and performance that have taken place in the past few decades and to provide a critical and theoretical language for this new audio culture. Via writings by philosophers, cultural theorists, and composers, Audio Culture explores the interconnections among such forms as minimalism, indeterminacy, musique concrète, free improvisation, experimental music, avant-rock, dub reggae, Ambient music, HipHop, and Techno. Instead of focusing on the putative "crossover" between "high art" and "popular culture," Audio Culture takes all of these musics as experimental practices on par with, and linked to, one another. While cultural studies has tended to look at music (primarily popular music) from a sociological perspective, the concern here is philosophical, musical, and historical. Audio Culture includes writing by some of the most important musical thinkers of the past half-century, among them John Cage, Brian Eno, Glenn Gould, Umberto Eco, Ornette Coleman, Jacques Attali, Simon Reynolds, Pauline Oliveros, Paul D. Miller, David Toop, John Zorn, Karlheinz Stockhausen, and many others. The book is divided into nine thematically-organized sections, each with its own introduction. Section headings include topics such as "Modes of Listening," "Minimalisms," and "DJ Culture." In addition, each essay has its own short introduction, helping the reader to place the essay within musical, historical, and conceptual contexts. The book concludes with a glossary, a timeline, and an extensive discography.

Mastermind: How to Think Like Sherlock Holmes


Maria Konnikova - 2013
    But is his extraordinary intellect merely a gift of fiction, or can we learn to cultivate these abilities ourselves, to improve our lives at work and at home?We can, says psychologist and journalist Maria Konnikova, and in Mastermind she shows us how. Beginning with the "brain attic"--Holmes's metaphor for how we store information and organize knowledge--Konnikova unpacks the mental strategies that lead to clearer thinking and deeper insights. Drawing on twenty-first-century neuroscience and psychology, Mastermind explores Holmes's unique methods of ever-present mindfulness, astute observation, and logical deduction. In doing so, it shows how each of us, with some self-awareness and a little practice, can employ these same methods to sharpen our perceptions, solve difficult problems, and enhance our creative powers. For Holmes aficionados and casual readers alike, Konnikova reveals how the world's most keen-eyed detective can serve as an unparalleled guide to upgrading the mind.

The 48 Laws of Power


Robert Greene - 1998
    Barnum. Some laws teach the need for prudence (“Law 1: Never Outshine the Master”), others teach the value of confidence (“Law 28: Enter Action with Boldness”), and many recommend absolute self-preservation (“Law 15: Crush Your Enemy Totally”). Every law, though, has one thing in common: an interest in total domination. In a bold and arresting two-color package, The 48 Laws of Power is ideal whether your aim is conquest, self-defense, or simply to understand the rules of the game.

Gödel, Escher, Bach: An Eternal Golden Braid


Douglas R. Hofstadter - 1979
    However, according to Hofstadter, the formal system that underlies all mental activity transcends the system that supports it. If life can grow out of the formal chemical substrate of the cell, if consciousness can emerge out of a formal system of firing neurons, then so too will computers attain human intelligence. Gödel, Escher, Bach is a wonderful exploration of fascinating ideas at the heart of cognitive science: meaning, reduction, recursion, and much more.

The Chord Wheel: The Ultimate Tool for All Musicians


Jim Fleser - 2000
    Master chord theory ... in minutes! The Chord Wheel is a revolutionary device that puts the most essential and practical applications of chord theory into your hands. This tool will help you: Improvise and Solo Talk about chops! Comprehend key structure like never before; Transpose Keys Instantly transpose any progression into each and every key; Compose Your Own Music Watch your songwriting blossom! No music reading is necessary. This is the kind of device that players of any instrument can use to enhance their musical understanding. Chord and key relationships are inseparable, and learning these relationships is a must in becoming a successful musician. Alan Remington, Orange Coast College Music Dept.

The World of Robert Jordan's the Wheel of Time


Robert Jordan - 1997
    Legend fades to myth, and even myth is long forgotten when the Age that gave it birth returns again. In the Third Age, an Age of Prophecy, the World and Time themselves hang in the balance. What was, what will be, and what is, may yet fall under the Shadow.In this series companion book, over fourscore full color paintings include stunning new maps of the world, portraits of the central characters, landscapes, objects of Power, and national flags. The reader will learn about the exotic beasts used by the Seanchan and read of the rise and fall of Artur Hawking, peruse the deeper story of the War of the Shadow. Here is the tale of the founding of the White Tower, and the creation of the Ajahs.The inner workings of the closed country, Shara, are revealed, as is the existence of a hitherto unknown continent called The Land of the Madmen. This stunning volume also includes double-page spreads of the seven book jackets by Darrell Sweet so that the art can be enjoyed without type, and all the known maps of the world, including maps of the Seanchan Empire, the nations of the Covenant of the Ten Nations, and the nations as they were when Artur Paendrag Tanreall began his rise to legend.Every Robert Jordan fan needs this book.The Wheel of Time(R)New Spring: The Novel#1 The Eye of the World#2 The Great Hunt#3 The Dragon Reborn#4 The Shadow Rising#5 The Fires of Heaven#6 Lord of Chaos#7 A Crown of Swords#8 The Path of Daggers#9 Winter's Heart#10 Crossroads of Twilight#11 Knife of DreamsBy Robert Jordan and Brandon Sanderson#12 The Gathering Storm#13 Towers of Midnight#14 A Memory of LightBy Robert Jordan and Teresa PattersonThe World of Robert Jordan's The Wheel of TimeBy Robert Jordan, Harriet McDougal, Alan Romanczuk, and Maria SimonsThe Wheel of Time CompanionBy Robert Jordan and Amy RomanczukPatterns of the Wheel: Coloring Art Based on Robert Jordan's The Wheel of Time

CompTIA A+ Certification All-in-One Exam Guide, Exams 220-901 & 220-902


Mike Meyers - 2014
    New topics include managing and maintaining cellular devices, including tablets; configuring operating systems, including Windows 8, Android, and iOS; and enhanced, mobile-centered security and troubleshooting procedures. The All-in-One Exam Guide enables you to take the test with complete confidence. It also serves as a practical reference for IT support and technical personnel. Bonus electronic content includes: Practice exams with hundreds of accurate questions More than an hour of video training featuring Mike Meyers Performance-based simulations that prepare you for the performance-based questions on the exam A collection of Mike's favorite free PC tools Key Features include: Written with the “in the trenches” voice and clarity Mike Meyers is known for Features pre-assessment tests, exam tips, and “Try This!” sections to reinforce difficult topics Includes a coupon for 10% off of the exam fee, a $37 value

The Ode Less Travelled: Unlocking the Poet Within


Stephen Fry - 2005
    I write poetry... I believe poetry is a primal impulse within all of us. I believe we are all capable of it and furthermore that a small, often ignored corner of us positively yearns to try it. —Stephen Fry, The Ode Less Travelled Stephen Fry believes that if one can speak and read English, one can write poetry. Many of us have never been taught to read or write poetry and think of it as a mysterious and intimidating form. Or, if we have been taught, we remember uncomfortable silence when an English teacher invited the class to "respond" to a poem. In The Ode Less Travelled, Fry sets out to correct this problem by giving aspiring poets the tools and confidence they need to write poetry for pleasure. Fry is a wonderfully engaging teacher and writer of poetry himself, and he explains the various elements of poetry in simple terms, without condescension. His enjoyable exercises and witty insights introduce the concepts of Metre, Rhyme, Form, Diction, and Poetics. Aspiring poets will learn to write a sonnet, on ode, a villanelle, a ballad, and a haiku, among others. Along the way, he introduces us to poets we've heard of, but never read. The Ode Less Travelled is a lively celebration of poetry that makes even the most reluctant reader want to pick up a pencil and give it a try. BACKCOVER: Advanced Praise: “Delightfully erudite, charming and soundly pedagogical guide to poetic form… Fry has created an invaluable and highly enjoyable reference book.” —Publishers Weekly “A smart, sane and entertaining return to the basics… If you like Fry’s comic manner… this book has a lot of charm… People entirely fresh to the subject could do worse than stick with his cheerful leadership.” —The Telegraph (UK) “…intelligent and informative, a worthy enterprise well executed.” —Observer (UK) "If you learn how to write a sonnet, and Fry shows you how, you may or may not make a poem. But you will unlock the stored wisdom of the form itself." —Grey Gowrie, The Spectator (UK) “…intelligent and informative, a worthy enterprise well executed.” —Observer (UK)

Fake Law: The Truth About Justice in an Age of Lies


The Secret Barrister - 2020
    But the law touches every area of our lives: from intimate family matters to the biggest issues in our society.Our unfamiliarity is dangerous because it makes us vulnerable to media spin, political lies and the kind of misinformation that frequently comes from other loud-mouthed amateurs and those with vested interests. This 'fake law' allows the powerful and the ignorant to corrupt justice without our knowledge - worse, we risk letting them make us complicit.Thankfully, the Secret Barrister is back to reveal the stupidity, malice and incompetence behind many of the biggest legal stories of recent years. In Fake Law, the Secret Barrister debunks the lies and builds an hilarious, alarming and eye-opening defence against the abuse of our law, our rights and our democracy.

Algorithms


Sanjoy Dasgupta - 2006
    Emphasis is placed on understanding the crisp mathematical idea behind each algorithm, in a manner that is intuitive and rigorous without being unduly formal. Features include: The use of boxes to strengthen the narrative: pieces that provide historical context, descriptions of how the algorithms are used in practice, and excursions for the mathematically sophisticated.Carefully chosen advanced topics that can be skipped in a standard one-semester course, but can be covered in an advanced algorithms course or in a more leisurely two-semester sequence.An accessible treatment of linear programming introduces students to one of the greatest achievements in algorithms. An optional chapter on the quantum algorithm for factoring provides a unique peephole into this exciting topic. In addition to the text, DasGupta also offers a Solutions Manual, which is available on the Online Learning Center.Algorithms is an outstanding undergraduate text, equally informed by the historical roots and contemporary applications of its subject. Like a captivating novel, it is a joy to read. Tim Roughgarden Stanford University