Code to Joy


Book Description

“Code to Joy offers a simple, powerful, and brilliant method for experiencing authentic happiness from the inside out . . . the basis of outer success.” —Marci Shimoff, New York Times-bestselling author of Happy for No Reason We are meant to be happy. Instinctively, we all know this, somewhere deep inside. We all know what it’s like to feel a burst of delight. Every one of us has at some point in our lives experienced a sense of ecstatic joy, of euphoria at the sheer sensation of being alive. Have you ever wondered why that experience has to be so rare and fleeting? The answer is, it doesn’t. —from Code to Joy All the positive thinking, affirmations, talk therapy, and pharmaceuticals in the world will never be enough to make us as happy as we were designed to be, according to acclaimed clinical psychologists George Pratt, PhD, and Peter Lambrou, PhD. That’s because those approaches fail to address a third aspect of the human organism, one that bridges the gap between mind and body: the biofield. Combining six decades of clinical experience with cutting-edge research, Drs. Pratt and Lambrou have developed a revolutionary program for rediscovering (and then never again letting go of) your innate happiness in four simple, proven steps. Pratt and Lambrou’s program has already transformed the lives of more than 45,000 clients, including professional athletes, top executives, and celebrities. Code to Joy can transform yours, too, with all the science-based tools and guidance you need to complete the process of becoming a more focused, more powerful, and more deeply joyful you. “Drs. Lambrou and Pratt’s work has had a fabulous impact on my life.” —Ken Blanchard, Ph.D., #1 New York Times–bestselling author




The Joy of Clojure


Book Description

Summary The Joy of Clojure, Second Edition is a deep look at the Clojure language. Fully updated for Clojure 1.6, this new edition goes beyond just syntax to show you the "why" of Clojure and how to write fluent Clojure code. You'll learn functional and declarative approaches to programming and will master the techniques that make Clojure so elegant and efficient. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology The Clojure programming language is a dialect of Lisp that runs on the Java Virtual Machine and JavaScript runtimes. It is a functional programming language that offers great performance, expressive power, and stability by design. It gives you built-in concurrency and the predictable precision of immutable and persistent data structures. And it's really, really fast. The instant you see long blocks of Java or Ruby dissolve into a few lines of Clojure, you'll know why the authors of this book call it a "joyful language." It's no wonder that enterprises like Staples are betting their infrastructure on Clojure. About the Book The Joy of Clojure, Second Edition is a deep account of the Clojure language. Fully updated for Clojure 1.6, this new edition goes beyond the syntax to show you how to write fluent Clojure code. You'll learn functional and declarative approaches to programming and will master techniques that make Clojure elegant and efficient. The book shows you how to solve hard problems related to concurrency, interoperability, and performance, and how great it can be to think in the Clojure way. Appropriate for readers with some experience using Clojure or common Lisp. What's Inside Build web apps using ClojureScript Master functional programming techniques Simplify concurrency Covers Clojure 1.6 About the Authors Michael Fogus and Chris Houser are contributors to the Clojure and ClojureScript programming languages and the authors of various Clojure libraries and language features. Table of Contents PART 1 FOUNDATIONS Clojure philosophy Drinking from the Clojure fire hose Dipping your toes in the pool PART 2 DATA TYPES On scalars Collection types PART 3 FUNCTIONAL PROGRAMMING Being lazy and set in your ways Functional programming PART 4 LARGE-SCALE DESIGN Macros Combining data and code Mutation and concurrency Parallelism PART 5 HOST SYMBIOSIS Java.next Why ClojureScript? PART 6 TANGENTIAL CONSIDERATIONS Data-oriented programming Performance Thinking programs Clojure changes the way you think




The Book of (More) Delights


Book Description

From bestselling author of The Book of Delights and award-winning poet, a book of lyrical mini-essays celebrating the everyday that will inspire readers to rediscover the joys in the world around us. In Ross Gay’s new collection of small, daily wonders, again written over the course of a year, one of America’s most original voices continues his ongoing investigation of delight. For Gay, what delights us is what connects us, what gives us meaning, from the joy of hearing a nostalgic song blasting from a passing car to the pleasure of refusing the “nefarious” scannable QR code menus, from the tiny dog he fell hard for to his mother baking a dozen kinds of cookies for her grandchildren. As always, Gay revels in the natural world—sweet potatoes being harvested, a hummingbird carousing in the beebalm, a sunflower growing out of a wall around the cemetery, the shared bounty from a neighbor’s fig tree—and the trillion mysterious ways this glorious earth delights us. The Book of (More) Delights is a volume to savor and share.




Solve for Happy


Book Description

In this “powerful personal story woven with a rich analysis of what we all seek” (Sergey Brin, cofounder of Google), Mo Gawdat, Chief Business Officer at Google’s [X], applies his superior logic and problem solving skills to understand how the brain processes joy and sadness—and then he solves for happy. In 2001 Mo Gawdat realized that despite his incredible success, he was desperately unhappy. A lifelong learner, he attacked the problem as an engineer would: examining all the provable facts and scrupulously applying logic. Eventually, his countless hours of research and science proved successful, and he discovered the equation for permanent happiness. Thirteen years later, Mo’s algorithm would be put to the ultimate test. After the sudden death of his son, Ali, Mo and his family turned to his equation—and it saved them from despair. In dealing with the horrible loss, Mo found his mission: he would pull off the type of “moonshot” goal that he and his colleagues were always aiming for—he would share his equation with the world and help as many people as possible become happier. In Solve for Happy Mo questions some of the most fundamental aspects of our existence, shares the underlying reasons for suffering, and plots out a step-by-step process for achieving lifelong happiness and enduring contentment. He shows us how to view life through a clear lens, teaching us how to dispel the illusions that cloud our thinking; overcome the brain’s blind spots; and embrace five ultimate truths. No matter what obstacles we face, what burdens we bear, what trials we’ve experienced, we can all be content with our present situation and optimistic about the future.




The Joy of JavaScript


Book Description

The Joy of JavaScript introduces techniques that turn JavaScript programmers into JavaScript pros. Summary Whether building interactive browser-based applications or creating server-side applications in Node, JavaScript is the most widely used language for web programming. With new features, language improvements, paradigms, and potential use cases appearing regularly, there’s never been a more exciting time to be a JavaScript developer. In The Joy of JavaScript, author and JavaScript expert Luis Atencio teaches you key design concepts that lead to clean, lean, modular, and easy-to-maintain code. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology JavaScript is at the heart of web applications on the browser side and, via the popular Node.js runtime, it often powers the server side too. Simply put, the web runs on JavaScript. About the book The Joy of JavaScript introduces techniques that turn JavaScript programmers into JavaScript pros. You’ll work with cutting edge APIs, language features, and coding styles to tackle tricky problems in an elegant manner. Along the way, you’ll practice good object design, drive business logic with functional thinking, and untangle complex data flows. What's inside JavaScript’s objects and module system Working with higher order functions Identifying and creating composable software Preparing for upcoming JavaScript features About the reader Written for experienced and passionate JavaScript developers. About the author Luis Atencio is a software engineer for Citrix Systems, author of Manning’s Functional Programming in JavaScript, and co-author of Manning’s RxJS in Action. Table of Contents 1 JavaScript reloaded PART 1 - OBJECTS 2 Inheritance-based object modeling 3 Linked, compositional object models PART 2 - FUNCTIONS 4 Writing composable, pure code 5 Higher-kinded composition PART 3 - CODE 6 ECMAScript Modules 7 Hooked on metaprogramming PART 4 - DATA 8 Linear async flows 9 Stream programming




Purpose Code


Book Description

In a world obsessed with goal-setting and accomplishment, there is a secret to success, which very few people realize is the key to unlocking your greatest gifts from inside. In the revolutionary new book, Purpose Code, the authors demystify ancient wisdom and modern truths to reveal the most effective step-by-step system of discovering your real purpose. Finally, you will let go of negative beliefs and outdated programming that has taken you down a path where you may find monetary success but are lacking in total fulfillment. When you discover your unique code, your purpose will be the true north to navigate toward your most significant opportunities for life, business, and fulfillment on every level. To get your free gift, go to PurposeCode.com




Code


Book Description

The classic guide to how computers work, updated with new chapters and interactive graphics "For me, Code was a revelation. It was the first book about programming that spoke to me. It started with a story, and it built up, layer by layer, analogy by analogy, until I understood not just the Code, but the System. Code is a book that is as much about Systems Thinking and abstractions as it is about code and programming. Code teaches us how many unseen layers there are between the computer systems that we as users look at every day and the magical silicon rocks that we infused with lightning and taught to think." - Scott Hanselman, Partner Program Director, Microsoft, and host of Hanselminutes Computers are everywhere, most obviously in our laptops and smartphones, but also our cars, televisions, microwave ovens, alarm clocks, robot vacuum cleaners, and other smart appliances. Have you ever wondered what goes on inside these devices to make our lives easier but occasionally more infuriating? For more than 20 years, readers have delighted in Charles Petzold's illuminating story of the secret inner life of computers, and now he has revised it for this new age of computing. Cleverly illustrated and easy to understand, this is the book that cracks the mystery. You'll discover what flashlights, black cats, seesaws, and the ride of Paul Revere can teach you about computing, and how human ingenuity and our compulsion to communicate have shaped every electronic device we use. This new expanded edition explores more deeply the bit-by-bit and gate-by-gate construction of the heart of every smart device, the central processing unit that combines the simplest of basic operations to perform the most complex of feats. Petzold's companion website, CodeHiddenLanguage.com, uses animated graphics of key circuits in the book to make computers even easier to comprehend. In addition to substantially revised and updated content, new chapters include: Chapter 18: Let's Build a Clock! Chapter 21: The Arithmetic Logic Unit Chapter 22: Registers and Busses Chapter 23: CPU Control Signals Chapter 24: Jumps, Loops, and Calls Chapter 28: The World Brain From the simple ticking of clocks to the worldwide hum of the internet, Code reveals the essence of the digital revolution.




The Joy of Search


Book Description

How to be a great online searcher, demonstrated with step-by-step searches for answers to a series of intriguing questions (for example, “Is that plant poisonous?”). We all know how to look up something online by typing words into a search engine. We do this so often that we have made the most famous search engine a verb: we Google it—“Japan population” or “Nobel Peace Prize” or “poison ivy” or whatever we want to know. But knowing how to Google something doesn't make us search experts; there's much more we can do to access the massive collective knowledge available online. In The Joy of Search, Daniel Russell shows us how to be great online researchers. We don't have to be computer geeks or a scholar searching out obscure facts; we just need to know some basic methods. Russell demonstrates these methods with step-by-step searches for answers to a series of intriguing questions—from “what is the wrong side of a towel?” to “what is the most likely way you will die?” Along the way, readers will discover essential tools for effective online searches—and learn some fascinating facts and interesting stories. Russell explains how to frame search queries so they will yield information and describes the best ways to use such resources as Google Earth, Google Scholar, Wikipedia, and Wikimedia. He shows when to put search terms in double quotes, how to use the operator (*), why metadata is important, and how to triangulate information from multiple sources. By the end of this engaging journey of discovering, readers will have the definitive answer to why the best online searches involve more than typing a few words into Google.




The Book of Joy


Book Description

An instant New York Times bestseller. Over 1 million copies sold! Two spiritual giants. Five days. One timeless question. Nobel Peace Prize Laureates His Holiness the Dalai Lama and Archbishop Desmond Tutu have survived more than fifty years of exile and the soul-crushing violence of oppression. Despite their hardships—or, as they would say, because of them—they are two of the most joyful people on the planet. In April 2015, Archbishop Tutu traveled to the Dalai Lama's home in Dharamsala, India, to celebrate His Holiness's eightieth birthday and to create what they hoped would be a gift for others. They looked back on their long lives to answer a single burning question: How do we find joy in the face of life's inevitable suffering? They traded intimate stories, teased each other continually, and shared their spiritual practices. By the end of a week filled with laughter and punctuated with tears, these two global heroes had stared into the abyss and despair of our time and revealed how to live a life brimming with joy. This book offers us a rare opportunity to experience their astonishing and unprecedented week together, from the first embrace to the final good-bye. We get to listen as they explore the Nature of True Joy and confront each of the Obstacles of Joy—from fear, stress, and anger to grief, illness, and death. They then offer us the Eight Pillars of Joy, which provide the foundation for lasting happiness. Throughout, they include stories, wisdom, and science. Finally, they share their daily Joy Practices that anchor their own emotional and spiritual lives. The Archbishop has never claimed sainthood, and the Dalai Lama considers himself a simple monk. In this unique collaboration, they offer us the reflection of real lives filled with pain and turmoil in the midst of which they have been able to discover a level of peace, of courage, and of joy to which we can all aspire in our own lives.




The Nature of Code


Book Description

All aboard The Coding Train! This beginner-friendly creative coding tutorial is designed to grow your skills in a fun, hands-on way as you build simulations of real-world phenomena with “The Coding Train” YouTube star Daniel Shiffman. What if you could re-create the awe-inspiring flocking patterns of birds or the hypnotic dance of fireflies—with code? For over a decade, The Nature of Code has empowered countless readers to do just that, bridging the gap between creative expression and programming. This innovative guide by Daniel Shiffman, creator of the beloved Coding Train, welcomes budding and seasoned programmers alike into a world where code meets playful creativity. This JavaScript-based edition of Shiffman’s groundbreaking work gently unfolds the mysteries of the natural world, turning complex topics like genetic algorithms, physics-based simulations, and neural networks into accessible and visually stunning creations. Embark on this extraordinary adventure with projects involving: A physics engine: Simulate the push and pull of gravitational attraction. Flocking birds: Choreograph the mesmerizing dance of a flock. Branching trees: Grow lifelike and organic tree structures. Neural networks: Craft intelligent systems that learn and adapt. Cellular automata: Uncover the magic of self-organizing patterns. Evolutionary algorithms: Play witness to natural selection in your code. Shiffman’s work has transformed thousands of curious minds into creators, breaking down barriers between science, art, and technology, and inviting readers to see code not just as a tool for tasks but as a canvas for boundless creativity. Whether you’re deciphering the elegant patterns of natural phenomena or crafting your own digital ecosystems, Shiffman’s guidance is sure to inform and inspire. The Nature of Code is not just about coding; it’s about looking at the natural world in a new way and letting its wonders inspire your next creation. Dive in and discover the joy of turning code into art—all while mastering coding fundamentals along the way. NOTE: All examples are written with p5.js, a JavaScript library for creative coding, and are available on the book's website.