Java Puzzlers: Traps, Pitfalls, and Corner Cases


Joshua Bloch - 2005
    This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles.--Guy Steele, Sun Fellow and coauthor of The Java(TM) Language SpecificationI laughed, I cried, I threw up (my hands in admiration).--Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert GroupHow well do you really know Java? Are you a code sleuth? Have you ever spent days chasing a bug caused by a trap or pitfall in Java or its libraries? Do you like brainteasers? Then this is the book for you!In the tradition of Effective Java(TM), Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java(TM) Puzzlers features 95 diabolical puzzles that educate and entertain. Anyone with a working knowledge of Java will understand the puzzles, but even the most seasoned veteran will find them challenging.Most of the puzzles take the form of a short program whose behavior isn't what it seems. Can you figure out what it does? Puzzles are grouped loosely according to the features they use, and detailed solutions follow each puzzle. The solutions go well beyond a simple explanation of the program's behavior--they show you how to avoid the underlying traps and pitfalls for good. A handy catalog of traps and pitfalls at the back of the book provides a concise taxonomy for future reference.Solve these puzzles and you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers.

Clojure Programming


Chas Emerick - 2011
    This book helps you learn the fundamentals of Clojure with examples relating it to the languages you know already, in the domains and topics you work with every day. See how this JVM language can help eliminate unnecessary complexity from your programming practice and open up new options for solving the most challenging problems. Clojure Programming demonstrates the language's flexibility by showing how it can be used for common tasks like web programming and working with databases, up through more demanding applications that require safe, effective concurrency and parallelism, data and statistical analysis, and more. This in-depth look helps tie together the full Clojure development experience, from how to organize your project and an introduction to Clojure build tooling, to a tutorial on how to make the most of Clojure’s REPL during development, and how to deploy your finished application in a cloud environment.Learn how to use Clojure without losing your investment in the Java platform Understand the advantages of Clojure as an efficient Lisp for the JVM See how Clojure is used today in several practical domains Discover how Clojure eliminates the need for many verbose and complicated design patterns Deploy large web applications across tens or hundreds of cloud nodes with Clojure

Pearls of Functional Algorithm Design


Richard S. Bird - 2010
    These 30 short chapters each deal with a particular programming problem drawn from sources as diverse as games and puzzles, intriguing combinatorial tasks, and more familiar areas such as data compression and string matching. Each pearl starts with the statement of the problem expressed using the functional programming language Haskell, a powerful yet succinct language for capturing algorithmic ideas clearly and simply. The novel aspect of the book is that each solution is calculated from an initial formulation of the problem in Haskell by appealing to the laws of functional programming. Pearls of Functional Algorithm Design will appeal to the aspiring functional programmer, students and teachers interested in the principles of algorithm design, and anyone seeking to master the techniques of reasoning about programs in an equational style.

Algorithms


Robert Sedgewick - 1983
    This book surveys the most important computer algorithms currently in use and provides a full treatment of data structures and algorithms for sorting, searching, graph processing, and string processing -- including fifty algorithms every programmer should know. In this edition, new Java implementations are written in an accessible modular programming style, where all of the code is exposed to the reader and ready to use.The algorithms in this book represent a body of knowledge developed over the last 50 years that has become indispensable, not just for professional programmers and computer science students but for any student with interests in science, mathematics, and engineering, not to mention students who use computation in the liberal arts.The companion web site, algs4.cs.princeton.edu contains An online synopsis Full Java implementations Test data Exercises and answers Dynamic visualizations Lecture slides Programming assignments with checklists Links to related material The MOOC related to this book is accessible via the "Online Course" link at algs4.cs.princeton.edu. The course offers more than 100 video lecture segments that are integrated with the text, extensive online assessments, and the large-scale discussion forums that have proven so valuable. Offered each fall and spring, this course regularly attracts tens of thousands of registrants.Robert Sedgewick and Kevin Wayne are developing a modern approach to disseminating knowledge that fully embraces technology, enabling people all around the world to discover new ways of learning and teaching. By integrating their textbook, online content, and MOOC, all at the state of the art, they have built a unique resource that greatly expands the breadth and depth of the educational experience.

JavaScript Allongé: A strong cup of functions, objects, combinators, and decorators


Reginald Braithwaite - 2012
    JavaScript Allongé is for:-- Programmers learning JavaScript who want a thorough grounding in its fundamentals rather than a cursory treatment of its syntax.-- Programmers already using JavaScript who want to go back and take a deep dive into programming with functions and combinators.-- Any programmer curious about programming with functions.JavaScript Allongé's primary focus is functions as first-class values and topics built on those fundamentals such as objects, prototypes, "classes," combinators, method decorators, and fluent APIs.

Metaprogramming Elixir


Chris McCord - 2015
    Maybe you’ve played with the basics or written a few macros. Now you want to take it to the next level. This book is a guided series of metaprogramming tutorials that take you step by step to metaprogramming mastery. You’ll extend Elixir with powerful features and write faster, more maintainable programs in ways unmatched by other languages.You’ll start with the basics of Elixir’s metaprogramming system and find out how macros interact with Elixir’s abstract format. Then you’ll extend Elixir with your own first-class features, write a testing framework, and discover how Elixir treats source code as building blocks, rather than rote lines of instructions. You’ll continue your journey by using advanced code generation to create essential libraries in strikingly few lines of code. Finally, you’ll create domain-specific languages and learn when and where to apply your skills effectively.When you’re done, you will have mastered metaprogramming, gained insights into Elixir’s internals, and have the confidence to leverage macros to their full potential in your own projects.

I-SPY : A peep into the world of Spies


Amit Bagaria - 2019
    I am sure you’ve seen at least one, if not more of the 26 films made on fictional British spy 007. You may’ve also seen TV shows like The Americans, Blindspot, Chuck, Covert Affairs, Homeland, Nikita, Quantico, The Blacklist, and/or The Night Manager. I wrote this book after I realised that the average person may not know even one-sixth of what I know about spies and spying. Almost each of the Top 50 nations (by GDP, population or military power) has a spy agency/service. Many countries have more than one ‘secret service’ or ‘intelligence agency’. USA has 16. Some countries’ spy agencies are more powerful than entire smaller nations, with annual budgets larger than their GDPs. This books attempts to tell the story of 20 of the world’s largest and most powerful spy agencies, details their important missions, reveals their darkest secrets, and gives you an inside perspective of the often quite gory but thrilling ‘world of spies’. It gives you a 360º view of those spy agencies you only read about or see in a movie or TV show. With one chapter per agency, you can read only chapters you may be interested in. The life of most spies is not as glamorous as it is made out to be. You may think it is all about high-tech and guns and car chases and ‘hot’ women, but that’s not the case. In the real spy world, the techniques boil down to the interpretation of basic human psychology. Even though a spy learns several action techniques on how to get out of a dangerous situation, including how to withstand torture, if he/she is resorting to car chases, it means they’re doing something wrong. Spies don’t get paid very well. Gambling at a casino or flying on a private jet may be part of the job, but a spy doesn’t get to spend this kind of money on personal expenses. Spies cannot disclose the nature of their work to their family and friends, to maintain secrecy. Many have to live away from home for weeks, months, even years. Married life is a mess, as the spouse starts suspecting the spy of having an affair. Who can become a spy? Do you need a law enforcement (police) or military background? Not really. Spies have degrees as diverse as law, political science, finance, economics – even professional athletes have become successful spies.

Essential Allotment Guide: How To Get The Best Out Of Your Plot


John Harrison - 2009
    In this guide John Harrison shows the reader how to get the most out of their plot, providing a complete introduction to planting and growing your own vegetables and plants.

Greenlights / The Midnight Library


Matthew McConaughey - 2021
    

Messi: More Than a Superstar


Luca Caioli - 2008
    It charts his successful battle to overcome a career-threatening growth hormone deficiency, following which he has proceeded to win almost every award and trophy, including an unprecedented four FIFA Ballons d'Or, the Oscar of world soccer.

The New 8-Week Cholesterol Cure: How to Lower Your Cholesterol by up to 4


Robert E. Kowalski - 2001
    . . now even more effective! Robert Kowalski's personal story is legendary. By the age of forty-one, he had suffered a heart attack and had undergone two coronary bypass surgeries. A traditional dietary approach to lowering his cholesterol failed dismally, and faced with the unpleasant alternative of a lifetime on medication, he created a program that proved astonishingly effective for him -- and legions of others worldwide who used it.Today Kowalski has beaten heart disease, lives an unlimited and vigorous lifestyle, and uses no prescription drugs. Now, with new information about risk factors, exercise, and supplements, The New 8-Week Cholesterol Cure is even more powerful in fighting heart disease. It includes: The facts about homocysteine and the deadly cholesterol Lp(a) A diet that jump-starts cholesterol reduction The heart-healthy secrets of niacin, other B vitamins, and safe supplements The latest findings on exercise New cholesterol-testing methods New heart-healthy products ... and more! Arm yourself against heart disease-America's number-one killer-and increase your chances for a long, healthy life with The New 8-Week Cholesterol Cure.

Core Python Programming


Wesley J. Chun - 2000
    It turns out that all the buzz is well earned. I think this is the best book currently available for learning Python. I would recommend Chun's book over Learning Python (O'Reilly), Programming Python (O'Reilly), or The Quick Python Book (Manning)." --David Mertz, Ph.D., IBM DeveloperWorks(R) "I have been doing a lot of research [on] Python for the past year and have seen a number of positive reviews of your book. The sentiment expressed confirms the opinion that Core Python Programming is now considered the standard introductory text." --Richard Ozaki, Lockheed Martin "Finally, a book good enough to be both a textbook and a reference on the Python language now exists." --Michael Baxter, Linux Journal "Very well written. It is the clearest, friendliest book I have come across yet for explaining Python, and putting it in a wider context. It does not presume a large amount of other experience. It does go into some important Python topics carefully and in depth. Unlike too many beginner books, it never condescends or tortures the reader with childish hide-and-seek prose games. [It] sticks to gaining a solid grasp of Python syntax and structure." --http: //python.org bookstore Web site "[If ] I could only own one Python book, it would be Core Python Programming by Wesley Chun. This book manages to cover more topics in more depth than Learning Python but includes it all in one book that also more than adequately covers the core language. [If] you are in the market for just one book about Python, I recommend this book. You will enjoy reading it, including its wry programmer's wit. More importantly, you will learn Python. Even more importantly, you will find it invaluable in helping you in your day-to-day Python programming life. Well done, Mr. Chun!" --Ron Stephens, Python Learning Foundation "I think the best language for beginners is Python, without a doubt. My favorite book is Core Python Programming." --s003apr, MP3Car.com Forums "Personally, I really like Python. It's simple to learn, completely intuitive, amazingly flexible, and pretty darned fast. Python has only just started to claim mindshare in the Windows world, but look for it to start gaining lots of support as people discover it. To learn Python, I'd start with Core Python Programming by Wesley Chun." --Bill Boswell, MCSE, Microsoft Certified Professional Magazine Online "If you learn well from books, I suggest Core Python Programming. It is by far the best I've found. I'm a Python newbie as well and in three months time I've been able to implement Python in projects at work (automating MSOffice, SQL DB stuff, etc.)." --ptonman, Dev Shed Forums "Python is simply a beautiful language. It's easy to learn, it's cross-platform, and it works. It has achieved many of the technical goals that Java strives for. A one-sentence description of Python would be: 'All other languages appear to have evolved over time--but Python was designed.' And it was designed well. Unfortunately, there aren't a large number of books for Python. The best one I've run across so far is Core Python Programming." --Chris Timmons, C. R. Timmons Consulting "If you like the Prentice Hall Core series, another good full-blown treatment to consider would be Core Python Programming. It addresses in elaborate concrete detail many practical topics that get little, if any, coverage in other books." --Mitchell L Model, MLM Consulting "Core Python Programming is an amazingly easy read! The liberal use of examples helps clarify some of the more subtle points of the language. And the comparisons to languages with which I'm already familiar (C/C++/Java) get you programming in record speed." --Michael Santos, Ph.D., Green Hills Software The Complete Developer's Guide to Python New to Python? The definitive guide to Python development for experienced programmersCovers core language features thoroughly, including those found in the latest Python releases--learn more than just the syntax!Learn advanced topics such as regular expressions, networking, multithreading, GUI, Web/CGI, and Python extensionsIncludes brand-new material on databases, Internet clients, Java/Jython, and Microsoft Office, plus Python 2.6 and 3Presents hundreds of code snippets, interactive examples, and practical exercises to strengthen your Python skills Python is an agile, robust, expressive, fully object-oriented, extensible, and scalable programming language. It combines the power of compiled languages with the simplicity and rapid development of scripting languages. In Core Python Programming, Second Edition , leading Python developer and trainer Wesley Chun helps you learn Python quickly and comprehensively so that you can immediately succeed with any Python project. Using practical code examples, Chun introduces all the fundamentals of Python programming: syntax, objects and memory management, data types, operators, files and I/O, functions, generators, error handling and exceptions, loops, iterators, functional programming, object-oriented programming and more. After you learn the core fundamentals of Python, he shows you what you can do with your new skills, delving into advanced topics, such as regular expressions, networking programming with sockets, multithreading, GUI development, Web/CGI programming and extending Python in C. This edition reflects major enhancements in the Python 2.x series, including 2.6 and tips for migrating to 3. It contains new chapters on database and Internet client programming, plus coverage of many new topics, including new-style classes, Java and Jython, Microsoft Office (Win32 COM Client) programming, and much more. Learn professional Python style, best practices, and good programming habitsGain a deep understanding of Python's objects and memory model as well as its OOP features, including those found in Python's new-style classesBuild more effective Web, CGI, Internet, and network and other client/server applicationsLearn how to develop your own GUI applications using Tkinter and other toolkits available for PythonImprove the performance of your Python applications by writing extensions in C and other languages, or enhance I/O-bound applications by using multithreadingLearn about Python's database API and how to use a variety of database systems with Python, including MySQL, Postgres, and SQLiteFeatures appendices on Python 2.6 & 3, including tips on migrating to the next generation! Core Python Programming delivers Systematic, expert coverage of Python's core featuresPowerful insights for developing complex applicationsEasy-to-use tables and charts detailing Python modules, operators, functions, and methodsDozens of professional-quality code examples, from quick snippets to full-fledged applications

Professional Wordpress Plugin Development


Brad Williams - 2011
    Now you can extend it for personal, corporate and enterprise use with advanced plugins and this professional development guide. Learn how to create plugins using the WordPress plugin API: utilize hooks, store custom settings, craft translation files, secure your plugins, set custom user roles, integrate widgets, work with JavaScript and AJAX, create custom post types. You'll find a practical, solutions-based approach, lots of helpful examples, and plenty of code you can incorporate!Shows you how to develop advanced plugins for the most popular CMS platform today, WordPress Covers plugin fundamentals, how to create and customize hooks, internationalizing your site with translation files, securing plugins, how to create customer users, and ways to lock down specific areas for use in corporate settings Delves into advanced topics, including creating widgets and metaboxes, debugging, using JavaScript and AJAX, Cron integration, custom post types, short codes, multi site functions, and working with the HTTP API Includes pointers on how to debug, profile and optimize your code, and how to market your custom plugin Learn advanced plugin techniques and extend WordPress into the corporate environment.

One Meal A Day: The Best Way to Fast: Lose Weight Quickly, Rejuvenate, Reduce Inflammation, Fight Diabetes and Improve Your Mental Clarity with One Meal A Day


Rose Heale - 2019
     Yet most of us fail... The problem is that we’re surrounded by tons of food and therefore it's not only your fault! " You don’t need to do anything extra to lose weight. You only need to STOP doing extra things. " If you are also struggling with your wait without getting results, then keep reading... If you have always desired to lose weight and lead a healthy life but all your efforts have disappointed you, then keep reading... If so, KEEP READING because you are just where you need to be! Weight loss is not as difficult as it sounds, our body has the ability to shed the weight it has accumulated. Diets, calorie restriction methods, and exercise routines have hope but they cannot bring consistent results. Let me explain what is the Main Reason: Your body is not really conditioned to lose weight. It doesn’t get the right environment. It is not the failure of the procedures but lack of right internal conditioning. If you have started thinking that nothing could make a difference, think again. One Meal a Day routine can bring the results you have been looking for In fact, it’s easier than you think. This book will help you in understanding the amazing concept of One Meal a Day Intermittent Fasting Routine and the correct way to follow it. Here’s a sneak peek at what you may find useful in your diet journey: The scientific reasons for the failure of most diets The real fat burning mechanism of the body The ways One Meal a Day Intermittent Fasting routine can lead to fat burning The amazing health benefits of One Meal a Day The way to follow the routine The correct way to prepare the body for the routine The things to ex

BRAVE AND FUNNY MEMORIES OF WWII: By a P-38 Fighter Pilot


Lyndon Shubert - 2017
    Always afraid he was about to die, he climbed into the cockpit anyway ... and lived to tell you about it. How would you feel if you were a new guy in the sky ... attacked by four Messerschmitts? Let me tell you, no matter how much you prepare, no matter how much you read, how much you train, no matter how much you think of yourself as a 'Hot Shot Pilot,' you are never ready for life and death combat! How did it feel to say a 'last goodbye' to your bride believing you would never see her again, as you left to fight WWII? Author's Facebook page at: facebook.com/P38Flyer/ As reviewed by A. L. Hanks, Lieutenant Colonel, USAF (Ret) who said it perfectly: In "Brave and Funny Memories of WWII" Lyndon Shubert, to our great benefit, tells us his story, an engaging tale of his WWII experience as a fighter pilot in WWII. A member of the "greatest generation" he recounts his days (and nights) flying P-38 fighters in the wartime skies of Europe. The tale is told in a relaxed, conversational style, honest and personal. The reader will appreciate the authenticity and the easy humor. He tells us a story that is at once delightfully humorous and deadly serious. He shares that unfettered sense of flying a powerful aircraft free in the vast expanse of the sky. The special sense that pilots have when they "can reach out and touch the face of God". Shubert relates the feelings of men in combat, that gripping apprehension in your gut when you know you're going to die, your senses at full maximum intensity, and then that striking after mission fear when you look back and realize that you cheated death once again. Shubert was indeed a special fellow. We are indebted to him for his service and his book. He captures a special piece of the American character and our history that is essential to pass on to our children and grandchildren. Lt Shubert was exceptional, a USAF officer and a fighter pilot who fought the war and earned the Distinguished Flying Cross. The author reminds us once again why fighter pilots are special. Why they are ubiquitously viewed as swaggering "raconteurs", with big egos and big watches who can sometimes be insufferable. But his tale also captures the reality of one-on-one aerial combat, loser goes home.... to God.