The Little Book on CoffeeScript


Alex MacCaw - 2012
    Through example code, this guide demonstrates how CoffeeScript abstracts JavaScript, providing syntactical sugar and preventing many common errors. You’ll learn CoffeeScript’s syntax and idioms step by step, from basic variables and functions to complex comprehensions and classes.Written by Alex MacCaw, author of JavaScript Web Applications (O’Reilly), with contributions from CoffeeScript creator Jeremy Ashkenas, this book quickly teaches you best practices for using this language—not just on the client side, but for server-side applications as well. It’s time to take a ride with the little language that could.Discover how CoffeeScript’s syntax differs from JavaScriptLearn about features such as array comprehensions, destructuring assignments, and classesExplore CoffeeScript idioms and compare them to their JavaScript counterpartsCompile CoffeeScript files in static sites with the Cake build systemUse CommonJS modules to structure and deploy CoffeeScript client-side applicationsExamine JavaScript’s bad parts—including features CoffeeScript was able to fix

HTML, XHTML & CSS for Dummies


Ed Tittel - 2008
    Now featuring more than 250 color illustrations throughout, this perennially popular guide is a must for novices who want to work with HTML or XHTML, which continue to be the foundation for any Web site The new edition features nearly 50 percent new and updated content, including expanded coverage of CSS and scripting, new coverage of syndication and podcasting, and new sample HTML projects, including a personal Web page, an eBay auction page, a company Web site, and an online product catalog The companion Web site features an eight-page expanded Cheat Sheet with ready-reference information on commands, syntax, colors, CSS elements, and more Covers planning a Web site, formatting Web pages, using CSS, getting creative with colors and fonts, managing layouts, and integrating scripts

Programming Pearls


Jon L. Bentley - 1986
    Jon has done a wonderful job of updating the material. I am very impressed at how fresh the new examples seem." - Steve McConnell, author, Code CompleteWhen programmers list their favorite books, Jon Bentley's collection of programming pearls is commonly included among the classics. Just as natural pearls grow from grains of sand that irritate oysters, programming pearls have grown from real problems that have irritated real programmers. With origins beyond solid engineering, in the realm of insight and creativity, Bentley's pearls offer unique and clever solutions to those nagging problems. Illustrated by programs designed as much for fun as for instruction, the book is filled with lucid and witty descriptions of practical programming techniques and fundamental design principles. It is not at all surprising that Programming Pearls has been so highly valued by programmers at every level of experience. In this revision, the first in 14 years, Bentley has substantially updated his essays to reflect current programming methods and environments. In addition, there are three new essays on (1) testing, debugging, and timing; (2) set representations; and (3) string problems. All the original programs have been rewritten, and an equal amount of new code has been generated. Implementations of all the programs, in C or C++, are now available on the Web.What remains the same in this new edition is Bentley's focus on the hard core of programming problems and his delivery of workable solutions to those problems. Whether you are new to Bentley's classic or are revisiting his work for some fresh insight, this book is sure to make your own list of favorites.

Coders at Work: Reflections on the Craft of Programming


Peter Seibel - 2009
    As the words "at work" suggest, Peter Seibel focuses on how his interviewees tackle the day–to–day work of programming, while revealing much more, like how they became great programmers, how they recognize programming talent in others, and what kinds of problems they find most interesting. Hundreds of people have suggested names of programmers to interview on the Coders at Work web site: http://www.codersatwork.com. The complete list was 284 names. Having digested everyone’s feedback, we selected 16 folks who’ve been kind enough to agree to be interviewed:- Frances Allen: Pioneer in optimizing compilers, first woman to win the Turing Award (2006) and first female IBM fellow- Joe Armstrong: Inventor of Erlang- Joshua Bloch: Author of the Java collections framework, now at Google- Bernie Cosell: One of the main software guys behind the original ARPANET IMPs and a master debugger- Douglas Crockford: JSON founder, JavaScript architect at Yahoo!- L. Peter Deutsch: Author of Ghostscript, implementer of Smalltalk-80 at Xerox PARC and Lisp 1.5 on PDP-1- Brendan Eich: Inventor of JavaScript, CTO of the Mozilla Corporation - Brad Fitzpatrick: Writer of LiveJournal, OpenID, memcached, and Perlbal - Dan Ingalls: Smalltalk implementor and designer- Simon Peyton Jones: Coinventor of Haskell and lead designer of Glasgow Haskell Compiler- Donald Knuth: Author of The Art of Computer Programming and creator of TeX- Peter Norvig: Director of Research at Google and author of the standard text on AI- Guy Steele: Coinventor of Scheme and part of the Common Lisp Gang of Five, currently working on Fortress- Ken Thompson: Inventor of UNIX- Jamie Zawinski: Author of XEmacs and early Netscape/Mozilla hackerWhat you’ll learn:How the best programmers in the world do their jobWho is this book for?Programmers interested in the point of view of leaders in the field. Programmers looking for approaches that work for some of these outstanding programmers.

One Day University Presents: Positive Psychology: The Science of Happiness


One Day University - 2010
    He is also the Head Teaching Fellow for the most popular course at Harvard, “Positive Psychology,” which is taken by more than 1,000 students per semester and led by Professor Tal Ben-Shahar.  Shawn received his B.A. in English from Harvard and a Master’s from Harvard Divinity School in Christian and Buddhist Ethics. Part of his interest in positive psychology stems from a troubling fact: studies have shown that many of Harvard’s undergraduates suffer from depression at some point in their college careers. One Day University is a unique educational experience  that brings intellectuals together to learn from top rated professors at Yale, Harvard, Stanford, Columbia and other prestigious universities. Chosen for their excellent teaching abilities as rated by their students, these great thinkers represent a wide variety of academic disciplines and share their knowledge in 60 minute, highly entertaining lectures. Offering the ability to learn the highlights of academic thought in world affairs, politics, history, science, art, and more; One Day University is a way to truly enjoy the thrill of learning without the pressures of tests and the high price tag of college tuition. Once reserved only for students who could attend the lectures in New York and other major cities, One Day University courses are now available to everyone from the comfort of their own homes in Kindle format.

The Bride of Science: Romance, Reason, and Byron's Daughter


Benjamin Woolley - 1999
    Ada's life spanned the years 1815 to 1852, during which the newly introduced rail lines and telegraph access made the power of technology a reality in people's lives. The Romantic movement was the backlash against those who would attempt to apply "scientific" thinking to every aspect of the human experience. As one of the Romantic movement's greatest prophets, Lord Byron's excessive indulgence of various illicit desires (one being particularly dangerous) led him to marry a woman who deluded herself into believing she could save him. Ada's mother, Annabella, was the dominant force in her life -- a self-righteous and self-serving woman who embraced the new virtues of rationality.The marriage lasted barely long enough for Annabella to become pregnant, and she spent the rest of her life justifying the infamous separation from her celebrity husband. Annabella barred Byron from any contact with his daughter and put Ada on a strict regimen of moral and mathematical study to suppress any Byronic tendencies Ada may have inherited. To the public eye, Ada was a curiosity. Put upon in an entirely modern way, Ada was famous from the day she was born. Although Ada took up science with enthusiasm, her Byronic eccentricities and passions were not extinguished by logic. Like her father, Ada looked to marriage to save her, but her husband, the future Earl of Lovelace, was not able to control her in the end. As an adult, Ada set out to find her mission, which she hoped would combine her two halves, and prove that the product of science and poetry would produce genius, not a monstrosity. Her work with Babbage was one attempt at a "poetical science" requiring imagination and rigor. She also indulged in many of the other popular ideas of the day, such as phrenology and mesmerism, with a more discerning eye than most. At the end of her life, she turned to the new work being done with that mysterious force, electricity, in the hopes of finding a molecular basis in the human nervous system to explain emotions. She was plagued by this time with both physical and mental disorders, and so also hoped to find some personal salvation in this quest. But her Byronic nature was getting stronger in the form of an affair and gambling addiction (there is an interesting speculation that she tried to develop a mathematical formula to beat the odds), and she finally succumbed to illness. In the end she requested to be buried next to the father she never knew in life. The Bride of Science is a wonderful portrait of the struggle between reason and passion. --Laura Wood, Science & Nature Editor

Vanabode: Travel and Live Forever on $20 a Day


Jason Odom - 2009
    Author Jason Odom and his wife Kelly have traveled over 700,000 miles in 15 years enjoying the sumptuous beauty of pristine national parks and the exciting nightlife of big cities like San Francisco and Las Vegas. Vanabode shows you how to earn a living working in some of the most exciting places in the United States like national parks and state recreational areas, how to sleep safely and comfortably in your own bed every night; how to eat better than you ever have, how to cook for free without electricity, fire or fuel; how to get rid of all our current debt and regain your freedom; and most importantly - how you can do it forever if you want. Do you want to travel for 3 months? How about 3 years? Vanabode shows you how down to the tiniest detail and you do NOT need to make any expensive purchases to make it happen. The Vanabode sales page states "I will show you how to safely travel ANYWHERE in the United States, sleep in your own luxurious clean bed every night, have a hot bath every day, eat fresh delicious meals, and experience incredible adventures for $20 a day. You will never feel neglected, bored or uncomfortable. I promise to show you how to sleep better than you ever have, how to get the time you want and need to relax or pursue your favorite hobby, how to eat healthier, and how to travel to new exciting destinations of your choosing forever. For those that don't have any savings or retirement income I include a list of more than 30 legitimate easy ways to earn money while traveling all over the country. You need this book if any of the following apply to you: if you are so bored with your lifestyle that you don't feel like you're living at all, if you have household expenses so great that you never get ahead or get to do anything fun, if you would like to happily camp, travel or live anywhere on $20 a day, if you are retired and want to keep a house but still travel cheaply, if you would like to downsize from a large RV to save money and time while adding destinations, if you have children you would like to travel and camp easily and cheaply with, if you would like to take time off work to write a book, recover from a tragedy, or change your life, if you are a foreign tourist coming to the U.S. for a long holiday, if are you a survivalist who wants to live off the grid, if you want to disappear and leave your past behind, becoming invisible escaping creditors or stalkers, if you are heading for divorce, blaming your marriage instead of your life, for the boredom killing you, if you want to run your own mobile business? Readers thoughts on Vanabode follow: "I've been motorhome traveling for 14 years and I've never seen anything like this" Brandon in Florida; "If you want to travel a lot, and do it cheaply, this is the only way I see to do it", Percy; "This is absolutely the best money I have ever spent on a practical show me how to do it book" Maggie, professor at a Florida Community College; "If enough people get a grasp on this book the housing recovery will really be far off. I mean after reading Vanabode who needs a house?" Donald; "I was stunned when I saw his list of all the places I could work, without experience, while camping." Sandra; "Lots of pictures that show you exactly what he is talking about. Love it!" Wayn; "If you believe life is more than a 2 week vacation once a year then this book is your ticket out, at least it was for me". NEW THIRD EDITION! Contains 60% more pictures and 22% more content. More on these subjects vandweller, vehicle dwelling, van dwelling, living in vehicle, living in van, rv, travel, camp, explore, road, adventure, fun, offgrid, cheap, live, retire, early, quit, work, travel, vacation, van, motorhome, camper, travel trailer, disappear,

Beginning iPhone 3 Development: Exploring the iPhone SDK


Dave Mark - 2009
    Updated and revised for iPhone SDK 3, many of the discussions in the original book have been clarified to make some of the more complex topics easier to understand. In addition, all of the projects have been rebuilt from scratch using the SDK 3 templates.Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, this book offers a complete soup-to-nuts course in iPhone and iPod touch programming. The book starts with the basics, walking you through the process of downloading and installing Apple's free iPhone SDK, and then stepping you though the creation of your first simple iPhone application. From there, you'll learn to integrate all the interface elements iPhone users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. You'll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The confusing art of table building will be demystified, and you'll see how to save your data using the iPhone file system. You'll also learn how to save and retrieve your data using SQLite, iPhone's built-in database management system. In addition, you'll also learn about Core Data, an important persistence mechanism that has just been added with SDK 3.And there's much more! You'll learn to draw using Quartz 2D and OpenGL ES, add multitouch gestural support (pinches and swipes) to your applications, and work with the camera, photo library, accelerometer, and built-in GPS. You'll discover the fine points of application preferences and learn how to localize your apps for multiple languages. You can discover more about this book, download source code, and find support forums at the book's companion site, at www.iphonedevbook.com.The iPhone 3 update to the best-selling and most recommended book for iPhone developers Packed full of tricks, techniques, and enthusiasm for the new SDK from a developer perspective The most complete, useful, and up-to-date guide to all things having to do with Apple's iPhone SDK

RabbitMQ in Action: Distributed Messaging for Everyone


Alvaro Videla - 2012
    It starts by explaining how message queuing works, its history, and how RabbitMQ fits in. Then it shows you real-world examples you can apply to your own scalability and interoperability challenges.About the TechnologyThere's a virtual switchboard at the core of most large applications where messages race between servers, programs, and services. RabbitMQ is an efficient and easy-to-deploy queue that handles this message traffic effortlessly in all situations, from web startups to massive enterprise systems.About the BookRabbitMQ in Action teaches you to build and manage scalable applications in multiple languages using the RabbitMQ messaging server. It's a snap to get started. You'll learn how message queuing works and how RabbitMQ fits in. Then, you'll explore practical scalability and interoperability issues through many examples. By the end, you'll know how to make Rabbit run like a well-oiled machine in a 24 x 7 x 365 environment.Written for developers familiar with Python, PHP, Java, .NET, or any other modern programming language. No RabbitMQ experience required. 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 InsideLearn fundamental messaging design patternsUse patterns for on-demand scalabilityGlue a PHP frontend to a backend written in anythingImplement a PubSub-alerting service in 30 minutes flatConfigure RabbitMQ's built-in clusteringMonitor, manage, extend, and tune RabbitMQ========================================​====Table of ContentsPulling RabbitMQ out of the hatUnderstanding messagingRunning and administering RabbitSolving problems with Rabbit: coding and patternsClustering and dealing with failureWriting code that survives failureWarrens and Shovels: failover and replicationAdministering RabbitMQ from the WebControlling Rabbit with the REST APIMonitoring: Houston, we have a problemSupercharging and securing your RabbitSmart Rabbits: extending RabbitMQ

99 Bottles of OOP


Sandi Metz - 2016
    This book fills that gap. It explains the process of writing good code, and teaches you to achieve beautifully programmed ends by way of extremely practical means. What It's About99 Bottles of OOP is a practical guide to writing cost-effective, maintainable, and pleasing object-oriented code. It explores: Recognizing when code is "good enough"Getting the best value from Test-Driven Development (TDD)Doing proper refactoring, not random "rehacktoring"Locating concepts buried in codeFinding names that convey deeper meaning Safely altering code by following the "Flocking Rules" Simplifying new additions with the Open/Closed PrincipleAvoiding conditionals by obeying the Liskov Substitution PrincipleMaking targeted improvements by reducing Code SmellsWhat Makes It Unique?We are practical people. We love beautiful code but we're committed to getting things done. 99 Bottles of OOP enables both of these desires. It teaches a practical technique for getting things done that leads, naturally and inevitably, to beautiful code.This book contains an extended refactoring, and it details the rationale behind every change. It is a hands-on workbook rather than a list of theoretical ideas. It explains how to use the principles of object-oriented design to guide, not just the final arrangement of code, but each decision about what line of code to write next.It teaches the theory of what good OO looks like, but even better, it supplies step-by-step guidance about how to achieve it.Who Should Read It?The lessons work for programmers with a broad range of experience, from rank novice to grizzled veteran. The code examples are written in Ruby, but this book is not about Ruby--it's about object-oriented programming and design. Regardless of your background, applying these techniques will make your code easier to understand, simpler to change, and more satisfying to contemplate.