DEV
Java Puzzlers 豆瓣
作者: Joshua Bloch / Neal Gafter Addison-Wesley Professional 2005
"Every programming language has its quirks. 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(t) Language Specification "I laughed, I cried, I threw up (my hands in admiration)." --Tim Peierls, president, Prior Artisans LLC, and member of the JSR 166 Expert Group How 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(t), Bloch and Gafter dive deep into the subtleties of the Java programming language and its core libraries. Illustrated with visually stunning optical illusions, Java(t) 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.
2018年12月23日 已读
章节碎片化,每个都很小。很多章节五分钟就读完。适合茶歇,乘车挤地铁时拿了看看。
DEV
图解性能优化 豆瓣
絵で見てわかるシステムパフォーマンスの仕組み
作者: [ 日] 小田圭二 / [ 日] 榑松谷仁 译者: 苏祎 人民邮电出版社 2017 - 1
本书由有着丰富的系统开发和运维经验的Oracle高级顾问执笔,详细解说了系统性能的相关知识。从性能的概念讲起,由浅入深,全面介绍了性能分析的基础知识、实际系统的性能分析、性能调优、性能测试、虚拟化环境下的性能分析、云计算环境下的性能分析等内容。书中列举了丰富的实例,并结合直观的插图,向读者传授了有用的实战技巧。另外,因为系统性能和系统架构密切相关,所以读者在学习系统性能的过程中还能有效地学到系统架构的相关知识。
2019年3月19日 已读
DEV
Java 9 Programming By Example 豆瓣
作者: Peter Verhas Packt Publishing 2017 - 4
Key Features
We bridge the gap between "learning" and "doing" by providing real-world examples that will improve your software developmentOur example-based approach will get you started quickly with software programming, get you up-to-speed with Java 9, and improve your Java skillsThis book will show you the best practices of Java coding and improve your productivity
Book Description
This book gets you started with essential software development easily and quickly, guiding you through Java's different facets. By adopting this approach, you can bridge the gap between learning and doing immediately. You will learn the new features of Java 9 quickly and experience a simple and powerful approach to software development. You will be able to use the Java runtime tools, understand the Java environment, and create Java programs.
We then cover more simple examples to build your foundation before diving to some complex data structure problems that will solidify your Java 9 skills. With a special focus on modularity and HTTP 2.0, this book will guide you to get employed as a top notch Java developer.
By the end of the book, you will have a firm foundation to continue your journey towards becoming a professional Java developer.
What you will learn
Compile, package and run a trivial program using a build management toolGet to know the principles of test-driven development and dependency managementSeparate the wiring of multiple modules from the application logic into an application using dependency injectionBenchmark Java execution using Java 9 microbenchmarkingSee the workings of the Spring framework and use Java annotations for the configurationMaster the scripting API built into the Java language and use the built-in JavaScript interpreterUnderstand static versus dynamic implementation of code and high-order reactive programming in Java
About the Author
Peter Verhas is a senior software engineer and software architect having electrical engineering and economics background from TU Budapest (MsC) and PTE Hungary (MBA), and also studied at TU Delft and TU Vienna. He created his first programs in 1979, and since then he has authored several open source programs. He has worked in several positions in the telecommunications and finance industries and was the CIO of the Hungarian start-up index.hu during its early days.
Peter works for EPAM Systems in Switzerland, participating in software development projects at various customer sites, and he supports talent acquisition by interviewing candidates, training programs for developers, and internal mentoring programs.
You can follow Peter on Twitter at @verhas, LinkedIn, and GitHub.
Table of Contents
Getting Started with Java 9The First Real Java Program - Sorting NamesOptimizing the Sort - Making Code ProfessionalMastermind - Creating a GameExtending the Game - Run Parallel, Run FasterMaking Our Game Professional - Do it as a WebappBuilding a Commercial Web Application Using RESTExtending Our E-Commerce ApplicationBuilding an Accounting Application Using Reactive ProgrammingFinalizing Java Knowledge to a Professional Level
2019年3月31日 已读
DEV
KVM虚拟化技术 豆瓣
作者: 任永杰 / 单海涛 2013 - 9
首本Linux KVM虚拟化技术专著,由Intel虚拟化技术部门资深虚拟化技术专家和国内KVM技术的先驱者撰写,权威性毋庸置疑。在具体内容上,本书不仅系统介绍了KVM虚拟机的功能、特性和使用方法,而且还深入地剖析了KVM虚拟机的核心技术和工作原理,对KVM做了全面而透彻的讲解。
全书一共9章:第1章介绍了云计算和虚拟化的概念,并对KVM等几种流行的虚拟化技术做了比较;第2章介绍了KVM的基本架构、QEMU的作用以及Intel的硬件虚拟化技术;第3章详细讲解了KVM依赖的硬件环境配置,编译和安装KVM和QEMU的步骤与方法,以及KVM客户机的启动;第4章深入讲解了KVM的基础功能,包括虚拟的CPU、内存、存储、网络、图形显示等的配置和基本原理,以及CPU和内存的过载使用;第5章讲解了KVM的高级功能,包括半虚拟化驱动virtio、设备直接分配VT-d、热插拔、动态迁移、嵌套虚拟化、KSM、透明大页、KVM安全技术、QEMU监控器、QEMU命令行参数以及从物理机或其他虚拟机迁移到KVM的方法;第6章介绍了管理KVM虚拟化的上层软件;第7章介绍了RHEL等所有流行的Linux发行版中的KVM虚拟化功能的使用;第8章首先介绍了虚拟化性能测试,然后详细介绍了对KVM虚拟化的CPU、内存、网络、磁盘I/O等重要组件进行性能测试的方法、工具和步骤;第9章介绍了Linux、KVM、QEMU等开源社区的情况,KVM、QEMU和KVM单元测试代码的基本结构,以及如何向QEMU/KVM开源社区贡献自己的代码和如何提交KVM相关的bug。
2019年5月3日 已读
DEV
Spring Boot 2.0 Cookbook - Second Edition 豆瓣
作者: Alex Antonov 2018 - 2
Take your application development skills to the next level by implementing Spring Boot features effectively
About This Book
This collection of effective recipes serves as guidelines for Spring Boot application development
Get up to date with features of the latest version of Spring Boot 2.0
Tips and tricks to improve your efficiency through the stages of software development
Who This Book Is For
This book is for Java Developers who have good knowledge and understanding of Spring and Java application development.
What You Will Learn
Get to know Spring Boot Starters and create custom auto-configurations
Work with custom annotations that enable bean activation
Use DevTools to easily develop and debug applications
Learn the effective testing techniques by integrating Cucumber and Spock
Observe an eternal application configuration using Consul
Move your existing Spring Boot applications to the cloud
Use Hashicorp Consul and Netflix Eureka for dynamic Service Discovery
Understand the various mechanisms that Spring Boot provides to examine an application's health
In Detail
The Spring framework provides great flexibility for Java development, which also results in tedious configuration work. Spring Boot addresses the configuration difficulties of Spring and makes it easy to create standalone, production-grade Spring-based applications.
This practical guide makes the existing development process more efficient. Spring Boot Cookbook 2.0 Second Edition smartly combines all the skills and expertise to efficiently develop, test, deploy, and monitor applications using Spring Boot on premise and in the cloud. We start with an overview of the important Spring Boot features you will learn to create a web application for a RESTful service. Learn to fine-tune the behavior of a web application by learning about custom routes and asset paths and how to modify routing patterns. Address the requirements of a complex enterprise application and cover the creation of custom Spring Boot starters.
This book also includes examples of the new and improved facilities available to create various kinds of tests introduced in Spring Boot 1.4 and 2.0, and gain insights into Spring Boot DevTools. Explore the basics of Spring Boot Cloud modules and various Cloud starters to make applications in “Cloud Native” and take advantage of Service Discovery and Circuit Breakers.
Style and approach
This practical guide follows a recipe-based approach and provides extremely helpful guidelines to build, configure, and customize your Spring Boot applications.
Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
2019年8月12日 已读
DEV
Spring 5核心原理与30个类手写实战 豆瓣
作者: 谭勇德(Tom) 电子工业出版社 2019 - 7
《Spring 5核心原理与30个类手写实战》基于编程开发实践,不仅深度解析Spring 5的原理与新特性,更从环境准备、顶层结构设计、数据访问等方面一步步地推导出Spring的设计原理。在每个知识点上,均以大量的经典代码案例辅助讲解,使理论紧密联系实际。最后手写30个类,以体会Spring作者的创作过程,让每一位读者学以致用。
对于立志成为Java架构师的技术人员,以及对以Spring为核心的Java Web开发感兴趣的计算机专业高校生、在职Java开发人员来说,本书是一本具备超强实战意义的技术升级指南。读者通过本书可以看源码不再“晕车”,轻松找到入口;系统学习设计思想,提高解决问题的效率;培养架构思维能力,以及自驱学习能力。
2020年6月20日 已读
DEV
饮食术 豆瓣
作者: [日] 牧田善二 译者: 肖爽 / 梁永宣 中国中医药出版社 2020 - 10
您知道吗?许多身体不适都和不健康的饮食方式有关——不断悄悄增加的体重减不下来、血压过高、容易疲劳、工作中容易犯困、注意力不能持续集中……这些困扰我们的疾病和身体不适,九成以上都是由“血糖值”过高或数值的急剧升降造成的。
不科学的饮食方式,正在让越来越多的人陷入“肥胖→衰老→患病”的怪圈。那么,正确的饮食方式是什么?如何科学地控糖、减肥,从而保持健康、延缓衰老、远离疾病呢?
这本风靡日本的科学饮食教科书将给你答案——从医38年的医学博士牧田善二先生基于多年的深耕研究、丰富的临床经验和最新的统计数据,揭开了造成肥胖、衰老和疾病的秘密,总结出了68项健康饮食的具体措施,帮助我们科学管理饮食、改善生活习惯、守护好自己和家人的身体健康,调整身心,找回活力!
2021年3月15日 已读
DEV
编写可读代码的艺术 豆瓣
The Art of Readable Code: Simple and Practical Techniques for Writing Better Code
8.5 (22 个评分) 作者: [美] Dustin Boswell / [美] Trevor Foucher 译者: 尹哲 / 郑秀雯 机械工业出版社 2012 - 7
细节决定成败,思路清晰、言简意赅的代码让程序员一目了然;而格式凌乱、拖沓冗长的代码让程序员一头雾水。除了可以正确运行以外,优秀的代码必须具备良好的可读性,编写的代码要使其他人能在最短的时间内理解才行。本书旨在强调代码对人的友好性和可读性。
本书关注编码的细节,总结了很多提高代码可读性的小技巧,看似都微不足道,但是对于整个软件系统的开发而言,它们与宏观的架构决策、设计思想、指导原则同样重要。编码不仅仅只是一种技术,也是一门艺术,编写可读性高的代码尤其如此。如果你要成为一位优秀的程序员,要想开发出高质量的软件系统,必须从细处着手,做到内外兼修,本书将为你提供有效的指导。
2021年6月16日 已读
DEV
Hackers and Painters 豆瓣 谷歌图书 Goodreads
8.8 (12 个评分) 作者: 保罗·格雷厄姆 O'Reilly Media 2004 - 5
"In most fields the great work is done early on. The paintings made between 1430 and 1500 are still unsurpassed. Shakespeare appeared just as professional theater was being born, and pushed the medium so far that every playwright since has had to live in his shadow. Albrecht Durer did the same thing with engraving, and Jane Austen with the novel.
2008年9月21日 想读
DEV
The TeXbook 豆瓣
作者: [美国] Donald Knuth Addison-Wesley Professional 1984 - 1
TeX 排版系统的权威指南。
2008年10月7日 想读
DEV
Free As In Freedom 豆瓣
作者: Sam Williams 清华大学出版社 2003 - 9
为什么微软公司的管理层晚上睡觉的时候会担心一个长发的、名叫Richard Stallman的反叛高手?为什么世界最聪明的程序员都尊敬地将此人称为“St.Ignucius”?这样一个倔强的、少年老成的男孩是如何迷恋于开发出能打败软件巨人的优秀产品的?本书就将跟随着这位古怪天才的革命之路,看看他如何从一个孤僻的开才到流浪十年,最终成为受人尊敬又饱受非议的改革者。通过全方位地接触Stallman、他的家庭、追随他的程序高手和业界勾勒了了一位改变了世界的自由斗士的肖像。没有人会对这位备受争议的自由软件基金会的创始人无动于衷。作为优秀的程序员,MacArthur天才奖获得者,自称自闭症边缘人士,Stallman是这场通过彻底改变软件游戏规则来击败微软件的斗争中的开路先锋。对于Stallman来说,自由软件只是一种精神上的需要。自从1980年遇到非免费的打印机软件开始,他就将自己的一生投入到消灭私有代码的斗争中去。在救世主意愿的驱使下,再加上他世界级的编程水准,以及不可思议的号召力,Stallman的自由运动获得了每一位程序员的支持。1983年,Stallman发布了GNU Maniffesto,发起了一个大胆的项目,目的是开发出一种免费的用于替代Unix操作系统的产品。而且他在他自己的软件许可(即GPL,General Public License)中插入copyleft一词,从而他向传统的知识产权系统发起了挑战。微软公司的首席技术官员Craig Mundie称此举是“对独立商用软件构成的根本性破坏。”这本煽动性的编年史以一种新的视角让其崇拜者和反对者重新认识这位神秘的高科技罗宾汉,让读者重新理解他当初要重塑软件产业未来的诺言。资深自由作者Sam Williams花了很多年的时间来研究高技术产业的未来,特别关注了软件开发问题。他为Upside Today和BeOpen.com等出版物撰写固定的专栏。他还是Arguing A.I.:The Battle for Twenty-First Century Science一书的作者。
Creating Applications with Mozilla 豆瓣
作者: David Boswell / Brian King O'Reilly Media 2002 - 10
Mozilla is not just a browser. Mozilla is also a framework that allows developers to create cross-platform applications. This framework is made up of JavaScript, CSS (Cascading Style Sheets), and Mozilla's XUL (XML-based User-interface Language) as well as the Gecko rendering engine, XBL (eXtensible Binding Language), XPCOM (Mozilla's component model), and several other components. This volume explains how applications are created with Mozilla and provides step-by-step information about how you can create your own programs using Mozilla's powerful cross-platform development framework. This book also shows examples of many different types of existing applications to demonstrate some of the possibilities of Mozilla application development. One of Mozilla's biggest advantages for a developer is that Mozilla-based applications are cross-platform, meaning programs work the same on Windows as they do on Linux or the Mac OS. Working through the book, you are introduced to the Mozilla development environment and after installing Mozilla, you quickly learn to create simple applications. After the initial satisfaction of developing your own portable applications, the book branches into topics on modular development and packaging your application. In order to build more complex applications, coverage of XUL, JavaScript, and CSS allow you to discover how to customize and build out your application shell. The second half of the book explores more advanced topics including UI enhancement, localization, and remote distribution. Mozilla 1.0 was released on June 5th, 2002, after more than four years of development as an open source project. This book has been written so that all of the information and examples will work with this release and any of the 1.0.x maintenance releases. In addition to Netscape's Mozilla-based browsers (Netscape 6.x and 7.x), the Mozilla framework has been used to create other browsers such as Galeon and Chimera, and chat clients such as ChatZilla and JabberZilla. Developers have also used Mozilla to create games, development tools, browser enhancements, as well as all sorts of other types of applications.
2008年10月18日 想读 Mozilla 竟然也出书骗钱了...
DEV ENU
Why Programs Fail 豆瓣
Why Programs Fail: A Guide to Systematic Debugging
作者: 泽勒 译者: 王咏武 / 王咏刚 电子工业出版社 2007 - 3
2008年11月14日 想读
DEV
P2P网络技术原理与C++开发案例 豆瓣
2008 - 8
《P2P网络技术原理与C++开发案例》通过基础理论篇与C++开发案例篇两个部分的讲解,使读者对P2P网络技术有全面的理解。随着P2P网络的飞速发展,P2P网络技术已经成为当今IT技术领域研究与应用的热点。基础理论篇对P2P网络的定义、典型的网络拓扑结构、应用与研究现状以及当今5种主流的P2P系统分别进行了介绍;通过与传统的搜索技术相比较,分析了P2P搜索技术的原理;对P2P技术所涉及的安全问题逐一进行了分析;对P2P应用的相关技术进行了深入剖析。C++开发案例篇介绍了P2P应用开发的两个平台,然后针对5个具体的P2P系统进行了详细的系统介绍和源码分析,包括P2P文件共享系统、P2P即时通信系统、P2P流媒体系统和P2P视频点播系统。
2008年11月16日 想读
DEV
Windows核心编程 豆瓣
Windows via C/C++
作者: Jeffrey Richter / Christophe Nasarre 人民邮电出版社 2008 - 8
【内容简介】
本书是Windows 程序设计领域的名著,涵盖了Windows 的最新版本Vista 以及Windows XP 的最新内容。书中全面深入地介绍了Windows 的各种基本要素,如进程、线程池、虚拟内存、DLL、设备I/O 和SEH 等,并列举了大量应用程序,精辟地分析了要素的使用方法。.
本书适于各层次Windows 编程人员阅读。 ...
【目录信息】
Acknowledgments . xxi
Introduction xxiii
64-Bit Windows xxiii
What’s New in the Fifth Edition xxiv
Code Samples and System Requirements xxvi
Support for This Book xxvi
Questions and Comments xxvi
Part I Required Reading
1 Error Handling 3
Defining Your Own Error Codes 7
The ErrorShow Sample Application 7
2 Working with Characters and Strings 11
Character Encodings 12
ANSI and Unicode Character and String Data Types 13
Unicode and ANSI Functions in Windows 15
Unicode and ANSI Functions in the C Run-Time Library 17
Secure String Functions in the C Run-Time Library 18
Introducing the New Secure String Functions 19
How to Get More Control When Performing String Operations 22
<< 查看详细目录
Windows核心编程(第5版) 豆瓣
Windows via C/C++
作者: Jeffrey Richter / Christophe Nasarre 译者: 葛子昂 / 周靖 清华大学出版社 2008 - 9
这是一本经典的Windows核心编程指南,从第1版到第5版,引领着数十万程序员走入Windows开发阵营,培养了大批精英。.
作为Windows开发人员的必备参考,本书是为打算理解Windows的C和C++程序员精心设计的。第5版全面覆盖Windows XP,Windows Vista和Windows Server 2008中的170个新增函数和Windows特性。书中还讲解了Windows系统如何使用这些特性,我们开发的应用程序又如何充分使用这些特性,如何自行创建新的特性。...
Web Caching 豆瓣
作者: Duane Wessels O'Reilly Media, Inc. 2001 - 6
On the World Wide Web, speed and efficiency are vital. Users have little patience for slow web pages, while network administrators want to make the most of their available bandwidth. A properly designed web cache reduces network traffic and improves access times to popular web sites--a boon to network administrators and web users alike. Web Caching hands you all the technical information you need to design, deploy, and operate an effective web caching service. It starts with the basics of how web caching works, from the HTTP headers that govern cachability to cache validation and replacement algorithms. Topics covered in this book include:
Designing an effective cache solution
Configuring web browsers to use a cache
Setting up a collection of caches that can talk to each other
Configuring an interception cache or proxy
Monitoring and fine-tuning the performance of a cache
Configuring web servers to cooperate with web caches
Benchmarking cache products
The book also covers the important political aspects of web caching, including privacy, intellectual property, and security issues. Internet service providers, large corporations, or educational institutions--in short, any network that provides connectivity to a wide variety of users--can reap enormous benefit from running a well-tuned web caching service. Web Caching shows you how to do it right.
Building Scalable Web Sites 豆瓣
作者: Cal Henderson O'Reilly Media 2006 - 5
Slow websites infuriate users. Lots of people can visit your web site or use your web application - but you have to be prepared for those visitors, or they won't come back. Your sites need to be built to withstand the problems success creates. "Building Scalable Web Sites" looks at a variety of techniques for creating sites which can keep users cheerful even when there are thousands or millions of them. Flickr.com developer, Cal Henderson, explains how to build sites so that large numbers of visitors can enjoy them. Henderson examines techniques that go beyond sheer speed, exploring how to coordinate developers, support international users, and integrate with other services from email to SOAP to RSS to the APIs exposed by many Ajax-based web applications. This book uncovers the secrets that you need to know for back-end scaling, architecture and failover so your websites can handle countless requests. You'll learn how to take the "poor man's web technologies" - Linux, Apache, MySQL and PHP or other scripting languages - and scale them to compete with established "store bought" enterprise web technologies. Toward the end of the book, you'll discover techniques for keeping web applications running with event monitoring and long-term statistical tracking for capacity planning. If you're about to build your first dynamic website, then "Building Scalable Web Sites" isn't for you. But if you're an advanced developer who's ready to realize the cost and performance benefits of a comprehensive approach to scalable applications, then let your fingers do the walking through this convenient guide.