Writing Solid Code


Steve Maguire - 1993
    Focus is on an in-depth analysis and exposition of not-so-obvious coding errors in the sample code provided. The theme is to answer the questions 'How couild I have automatically detected this bug' and 'How could I have prevented this bug'? Chapters include programmer attitudes, techniques and debugging methodology. A particularly revealing chapter is "Treacheries of the Trade", should be required reading for all C maniacs. The author has been a professional programmer for seventeen years and draws heavily (and candidly) on actual coding problems and practices based on years of experience at Microsoft.

Build Awesome Command-Line Applications in Ruby: Control Your Computer, Simplify Your Life


David B. Copeland - 2012
    With its simple commands, flags, and parameters, a well-formed command-line application is the quickest way to automate a backup, a build, or a deployment and simplify your life. As Ruby pro David Copeland explains, writing a command-line application that is self-documenting, robust, adaptable and forever useful is easier than you might think. Ruby is particularly suited to this task, since it combines high-level abstractions with "close to the metal" system interaction wrapped up in a concise, readable syntax. Moreover, Ruby has the support of a rich ecosystem of open-source tools and libraries. Ten insightful chapters each explain and demonstrate a command-line best practice. You'll see how to use these tools to elevate the lowliest automation script to a maintainable, polished application. You'll learn how to use free, open source parsers to create user-friendly command-line interfaces as well as command suites. You'll see how to use defaults to keep options simple for everyday users, while giving advanced users options for more complex tasks. There's no reason a command-line application should lack documentation, whether it's part of a help command or a man page; you'll find out when and how to use both. Your journey from command-line novice to pro ends with a look at valuable approaches to testing your apps, and includes some fun techniques for outside-the-box, colorful interfaces that will delight your users. With Ruby, the command line is not dead. Long live the command line.What You Need: All you'll need is Ruby, and the ability to install a few gems along the way. Examples written for Ruby 1.9.2, but 1.8.7 should work just as well.

Glastonbury 50: The Official Story of Glastonbury Festival


Emily Eavis - 2019
    the perfect festival experience' THE SUNDAY TIMESGlastonbury 50 is the authorised, behind-the-scenes, inside story of the music festival that has become a true global phenomenon.The story begins in 1970. The day after Jimi Hendrix's death... dairy farmer Michael Eavis invites revellers to his field in Somerset to attend a 'Pop, Folk & Blues' festival. Tickets are £1 each, enticing more than a thousand customers with the promise of music, dance, poetry, theatre, lights and spontaneous entertainment - as well as free milk from his own Worthy Farm cows.Fast forward through five tumultuous decades and the Eavis's vision now encompasses a gigantic 'city in the fields', with a total annual population nearing a quarter of a million. Tickets sell out within minutes, the show is beamed live to more than 40 countries around the globe, and over 3 million people are registered to attend. Meanwhile, the bill has expanded to include big name performers, artists and designers from every branch of the creative arts. Glastonbury Festival is now the largest outdoor green fields event in the world.In their own words, Michael and Emily Eavis reveal the stories behind the headlines, and celebrate 50 years of history in the Vale of Avalon. They're joined by a host of big-name contributors from the world of music - among them Adele, JAY-Z, Dolly Parton, Chris Martin, Noel Gallagher, Lars Ulrich and Guy Garvey. They're joined by artists - Stanley Donwood, Kurt Jackson and many more. Writers - Caitlin Moran, Lauren Laverne, Billy Bragg - and by a host of photographers, from Seventies icon Brian Walker to rock and roll legends Jill Furmanovsky and Greg Williams.Together they bring you the magic that makes Glastonbury, Glastonbury.

Potty Training In One Week


Gina Ford - 2003
    Advice on offer from grandparents, friends and professionals is often conflicting, leaving parents unsure of how and when to potty train their child.In Potty Training in One Week, bestselling author Gina Ford sets out a simple, easy-to-follow programme that works quickly and avoids many of the common pitfalls parents encounter.This clearly organised book makes potty training easy, and even fun. Including updated information on:- How to know when your child is really ready - How to make potty training fun for your child - How to reward - How to deal with accidents - What to do when you go out- What to do at sleep times

Systems Performance: Enterprise and the Cloud


Brendan Gregg - 2013
    Now, internationally renowned performance expert Brendan Gregg has brought together proven methodologies, tools, and metrics for analyzing and tuning even the most complex environments. Systems Performance: Enterprise and the Cloud focuses on Linux(R) and Unix(R) performance, while illuminating performance issues that are relevant to all operating systems. You'll gain deep insight into how systems work and perform, and learn methodologies for analyzing and improving system and application performance. Gregg presents examples from bare-metal systems and virtualized cloud tenants running Linux-based Ubuntu(R), Fedora(R), CentOS, and the illumos-based Joyent(R) SmartOS(TM) and OmniTI OmniOS(R). He systematically covers modern systems performance, including the "traditional" analysis of CPUs, memory, disks, and networks, and new areas including cloud computing and dynamic tracing. This book also helps you identify and fix the "unknown unknowns" of complex performance: bottlenecks that emerge from elements and interactions you were not aware of. The text concludes with a detailed case study, showing how a real cloud customer issue was analyzed from start to finish. Coverage includes - Modern performance analysis and tuning: terminology, concepts, models, methods, and techniques - Dynamic tracing techniques and tools, including examples of DTrace, SystemTap, and perf - Kernel internals: uncovering what the OS is doing - Using system observability tools, interfaces, and frameworks - Understanding and monitoring application performance - Optimizing CPUs: processors, cores, hardware threads, caches, interconnects, and kernel scheduling - Memory optimization: virtual memory, paging, swapping, memory architectures, busses, address spaces, and allocators - File system I/O, including caching - Storage devices/controllers, disk I/O workloads, RAID, and kernel I/O - Network-related performance issues: protocols, sockets, interfaces, and physical connections - Performance implications of OS and hardware-based virtualization, and new issues encountered with cloud computing - Benchmarking: getting accurate results and avoiding common mistakes This guide is indispensable for anyone who operates enterprise or cloud environments: system, network, database, and web admins; developers; and other professionals. For students and others new to optimization, it also provides exercises reflecting Gregg's extensive instructional experience.

Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions


Gregor Hohpe - 2003
    The authors also include examples covering a variety of different integration technologies, such as JMS, MSMQ, TIBCO ActiveEnterprise, Microsoft BizTalk, SOAP, and XSL. A case study describing a bond trading system illustrates the patterns in practice, and the book offers a look at emerging standards, as well as insights into what the future of enterprise integration might hold. This book provides a consistent vocabulary and visual notation framework to describe large-scale integration solutions across many technologies. It also explores in detail the advantages and limitations of asynchronous messaging architectures. The authors present practical advice on designing code that connects an application to a messaging system, and provide extensive information to help you determine when to send a message, how to route it to the proper destination, and how to monitor the health of a messaging system. If you want to know how to manage, monitor, and maintain a messaging system once it is in use, get this book.

The Poor Man's James Bond


Kurt Saxon - 1972
    It embodies all the practical paramilitary knowledge collected and studied by dissident groups through-out America.

Python Testing with Pytest: Simple, Rapid, Effective, and Scalable


Brian Okken - 2017
    The pytest testing framework helps you write tests quickly and keep them readable and maintainable - with no boilerplate code. Using a robust yet simple fixture model, it's just as easy to write small tests with pytest as it is to scale up to complex functional testing for applications, packages, and libraries. This book shows you how.For Python-based projects, pytest is the undeniable choice to test your code if you're looking for a full-featured, API-independent, flexible, and extensible testing framework. With a full-bodied fixture model that is unmatched in any other tool, the pytest framework gives you powerful features such as assert rewriting and plug-in capability - with no boilerplate code.With simple step-by-step instructions and sample code, this book gets you up to speed quickly on this easy-to-learn and robust tool. Write short, maintainable tests that elegantly express what you're testing. Add powerful testing features and still speed up test times by distributing tests across multiple processors and running tests in parallel. Use the built-in assert statements to reduce false test failures by separating setup and test failures. Test error conditions and corner cases with expected exception testing, and use one test to run many test cases with parameterized testing. Extend pytest with plugins, connect it to continuous integration systems, and use it in tandem with tox, mock, coverage, unittest, and doctest.Write simple, maintainable tests that elegantly express what you're testing and why.What You Need: The examples in this book are written using Python 3.6 and pytest 3.0. However, pytest 3.0 supports Python 2.6, 2.7, and Python 3.3-3.6.

Alaska by Cruise Ship: The Complete Guide to Cruising Alaska


Anne Vipond - 1996
    With coverage of ports from Seattle to Anchorage and the Bering Sea, this book is the benchmark of cruise guides to Alaska. The author covers all areas of interest, including new itineraries, port attractions, history, wildlife and native culture. Includes all Alaska cruises, land tours and shore excursions. Detail on Denali Park and tours to far north of Alaska as well as the Yukon. Full-color photos and maps throughout. 368 pp.

Fast Tract Digestion Heartburn


Norman Robillard - 2012
    Fast Tract Digestion Heartburn is the first book to define and address the real cause of acid reflux. Acid reflux occurs as a result of digestive malabsorption of five difficult-to-digest carbohydrates. It leads to the overgrowth of gas-producing bacteria in the small intestine and the gas pressure drives acid reflux. Dropping a Mentos into a bottle of Coke is the perfect illustration of this phenomenon. Unfortunately, PPI drugs do not address the real cause, but also cause serious side effects including vitamin and mineral malabsorption, bone fractures, pneumonia, low blood magnesium levels, bacterial overgrowth, C diff infection and pneumonia as explained in the book.Fast Tract Digestion Heartburn offers science-based food choices and recipes (Fast Tract Diet) to limit the five difficult-to-digest carbohydrates, so that you can feel relief within a few days Also, it enables you to self-manage all of the symptoms of acid reflux going forward. The Fast Tract Diet is based on a scientific formula called Fermentation Potential (FP). FP is the key measure regardless of the carbohydrate count. Limiting foods with high FP will help control the overgrowth of bacteria in the small intestine and, as a result, acid reflux. The Fast Tract Diet was clinically tested on reflux sufferers in the Boston area. The results were overwhelming and proved the effectiveness of the diet as an alternative to proton pump inhibitor drugs.

The Joy of Clojure


Michael Fogus - 2010
    It combines the nice features of a scripting language with the powerful features of a production environment—features like persistent data structures and clean multithreading that you'll need for industrial-strength application development.The Joy of Clojure goes beyond just syntax to show you how to write fluent and idiomatic Clojure code. You'll learn a functional approach to programming and will master Lisp techniques that make Clojure so elegant and efficient. The book gives you easy access to hard soft ware areas like concurrency, interoperability, and performance. And it shows you how great it can be to think about problems the Clojure way. 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 InsideThe what and why of ClojureHow to work with macrosHow to do elegant application designFunctional programming idiomsWritten for programmers coming to Clojure from another programming background—no prior experience with Clojure or Lisp is required.

Java Network Programming


Elliotte Rusty Harold - 1997
    It is a clear, complete introduction to developing network programs (both applets and applications) using Java, covering everything from networking fundamentals to remote method invocation (RMI). Java Network Programming, 3rd Edition includes chapters on TCP and UDP sockets, multicasting protocol and content handlers, servlets, multithreaded network programming, I/O, HTML parsing and display, the Java Mail API, and the Java Secure Sockets Extension. There's also significant information on the New I/O API that was developed in large part because of the needs of network programmers. This invaluable book is a complete, single source guide to writing sophisticated network applications. Packed with useful examples, it is the essential resource for any serious Java developer.

Desperation Dinners


Beverly Mills - 1997
    Features over 250 tempting, nutritious recipes that take brilliant advantage of convenience foods-from individual quick-frozen chicken breasts to chopped ginger in a jar-plus innovative techniques to cut time and "push" flavor.Desperation Dinners Promise:1. These recipes are not hard.2. These recipes do not require expensive equipment.3. These recipes do not lie-every one can be made in 20 minutes, start to finish.4. Expect to be working, but only for those 20 minutes.5. These recipes taste good.A Slightly Desperate Cook's Answer to "What's for Dinner?"Skillet Shepherd's PieTopsail SpaghettiPork au PoivreChicken Chili QuesadillasGarlic-Roasted SalmonButtered Rum-Glazed HamFish FlorentineConfetti Stuffed PeppersAnd When You're Really DesperateSouthwestern Chicken on the SpotMinute MinestroneTuna and Fusilli AlfrescoMiracle Baked Pork ChopsPractically Perfect Peach Crisp"The dinner dilemma is solved! The Desperation ladies deserve to be stove-side in every busy home." -Nathalie Dupree, author of Nathalie Dupree Cooks Quick Meals for Busy Days

Inclusive Design Patterns - Coding Accessibility Into Web Design


Heydon Pickering - 2016
    Should you wish to adopt a framework or employ a processor to speed up your development process, be our guest. However, this book is not about you; it’s about your audience.The Inclusive Design Patterns book covers all the techniques, gotchas and strategies you need to be aware of when building accessible, inclusive interfaces. We’ll explore the document outline, external links and “skip” links, navigation regions and landmarks, labelling and alternative text for illustrations, buttons, tables of contents, JavaScript patterns, touch targets, filter widgets and infinite scrolling and “load more” button and grid display and dynamic content and tab interfaces and password validation and web forms and error messages — and pretty much anything else you need to know about accessibility, including how to prototype with inclusivity in mind, how to deal with legacy browsers and dozens of practical snippets to use when building inclusive interfaces.

Learning XML


Erik T. Ray - 2001
    Fortunately, there s a solution: Erik T. Ray s Learning XML, Second Edition. This book presents an outstanding birds-eye view of the XML landscape. It s definitely not a programming book (though it does introduce some key XML programming issues). Rather, it s focused on key ideas you need to understand whatever you want to do with XML. That could be document management, web or print content delivery, application integration, B2B commerce, data storage, internationalization -- you name it.Ray s day job is software developer and XML specialist at O Reilly. There, he s helped to implement a complete publishing solution, using DocBook-XML and Perl to produce books in print, on CD-ROM, and for online delivery. So he understands XML from the real-world point of view of someone with a job to do. His first goal is to take on the big questions. First, What is XML? Ray attacks this question from multiple angles, introducing XML as a general-purpose information storage system, a markup language toolkit, and an open standard (or, increasingly, a collection of standards). What can (and can t) you do with XML? What s the history that led us here? And what tools do you need to get started? Next, he introduces the basic building blocks of XML markup and all XML-derived languages: stuff you ll need to know regardless of your goals. Through easy examples, you ll understand elements, attributes, entities, and processing instructions -- and how they fit together in a well-formed XML document. Then, it s on to representing information with XML -- in other words, understanding the nature and planning the structure of the documents you ll be using. Ray starts simply, then builds on his basic examples to discuss narrative documents with text flows, block and inline elements, and titled sections. Once you can handle those, he discusses more complex information modeling, as used in specialized markup languages such as VML. This edition contains an entirely new chapter on XML Schemas -- what he calls the shepherds that keep documents from straying outside of the herd and causing trouble. Schemas, of course, have become hugely important. This is one of the best plain-English introductions to the topic we ve seen. Ray then turns to presentation, introducing CSS stylesheets, basic usage, rule matching, properties, and more. A little later on, he returns to the subject -- this time with a complete introduction to XSL-FO that illuminates two powerful examples. The first is TEI-XML, a markup language for scholarly documents (Ray presents a Shakespearean sonnet, appropriately coded). The second is the immensely powerful DocBook -- which, as we ve observed, Ray knows inside and out. Learning XML is superbly written. Clear explanations. Simple examples. Great metaphors and analogies. And excellent introductions to nearly every topic that matters, from links to presentation, transformation to internationalization. If you re just starting out with XML, you re lucky to have it. Bill CamardaBill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.