Q for Mortals


Book Description

Learn the powerful q programming language used in the kdb+ database system developed by Kx Systems, Inc. Based on courses taught by the author at major financial institutions, this tutorial is a tested way to learn the features of q. It assumes no specific programming knowledge and presents this complex language with understandable explanations and many hands-on examples. You will be able to read and write q programs when you finish this book.The q language is both a functional programming language and a vector programming language derived from APL. It is particularly well suited to processing very large time series data.Topics covered include: data types; operations and functions; the basic data structures, lists and dictionaries; tables and keyed tables; joins and queries; commands. There is a special section demonstrating typical queries against trade data. There is also a complete reference to all the built-in functions.




Q for Mortals Version 3


Book Description




Machine Learning and Big Data with kdb+/q


Book Description

Upgrade your programming language to more effectively handle high-frequency data Machine Learning and Big Data with KDB+/Q offers quants, programmers and algorithmic traders a practical entry into the powerful but non-intuitive kdb+ database and q programming language. Ideally designed to handle the speed and volume of high-frequency financial data at sell- and buy-side institutions, these tools have become the de facto standard; this book provides the foundational knowledge practitioners need to work effectively with this rapidly-evolving approach to analytical trading. The discussion follows the natural progression of working strategy development to allow hands-on learning in a familiar sphere, illustrating the contrast of efficiency and capability between the q language and other programming approaches. Rather than an all-encompassing “bible”-type reference, this book is designed with a focus on real-world practicality ­to help you quickly get up to speed and become productive with the language. Understand why kdb+/q is the ideal solution for high-frequency data Delve into “meat” of q programming to solve practical economic problems Perform everyday operations including basic regressions, cointegration, volatility estimation, modelling and more Learn advanced techniques from market impact and microstructure analyses to machine learning techniques including neural networks The kdb+ database and its underlying programming language q offer unprecedented speed and capability. As trading algorithms and financial models grow ever more complex against the markets they seek to predict, they encompass an ever-larger swath of data ­– more variables, more metrics, more responsiveness and altogether more “moving parts.” Traditional programming languages are increasingly failing to accommodate the growing speed and volume of data, and lack the necessary flexibility that cutting-edge financial modelling demands. Machine Learning and Big Data with KDB+/Q opens up the technology and flattens the learning curve to help you quickly adopt a more effective set of tools.




Q Tips


Book Description

Learn q by building a real life application. Q Tips teaches you everything you need to know to build a fully functional CEP engine. Advanced topics include profiling an active kdb+ server, derivatives pricing and histogram charting. As each new topic is introduced, tips are highlighted to help you write better q.




Star Trek: Destiny #2: Mere Mortals


Book Description

The second novel in an epic crossover trilogy uniting characters from every corner of the Star Trek universe, revealing the shocking origin and final fate of the Federation's most dangerous enemy—the Borg. On Earth, Federation President Nanietta Bacco gathers allies and adversaries to form a desperate last line of defense against an impending Borg invasion. In deep space, Captain Jean-Luc Picard and Captain Ezri Dax join together to cut off the Collective’s route to the Alpha Quadrant. Half a galaxy away, Captain William Riker and the crew of the Starship Titan have made contact with the reclusive Caeliar—survivors of a stellar cataclysm that, two hundred years ago, drove fissures through the structure of space and time, creating a loop of inevitability and consigning another captain and crew to a purgatory from which they could never escape. Now the supremely advanced Caeliar will brook no further intrusion upon their isolation, or against the sanctity of their Great Work. For the small, finite lives of mere mortals carry little weight in the calculations of gods. But even gods may come to understand that they underestimate humans at their peril.




Four Thousand Weeks


Book Description

AN INSTANT NEW YORK TIMES BESTSELLER "Provocative and appealing . . . well worth your extremely limited time." —Barbara Spindel, The Wall Street Journal The average human lifespan is absurdly, insultingly brief. Assuming you live to be eighty, you have just over four thousand weeks. Nobody needs telling there isn’t enough time. We’re obsessed with our lengthening to-do lists, our overfilled inboxes, work-life balance, and the ceaseless battle against distraction; and we’re deluged with advice on becoming more productive and efficient, and “life hacks” to optimize our days. But such techniques often end up making things worse. The sense of anxious hurry grows more intense, and still the most meaningful parts of life seem to lie just beyond the horizon. Still, we rarely make the connection between our daily struggles with time and the ultimate time management problem: the challenge of how best to use our four thousand weeks. Drawing on the insights of both ancient and contemporary philosophers, psychologists, and spiritual teachers, Oliver Burkeman delivers an entertaining, humorous, practical, and ultimately profound guide to time and time management. Rejecting the futile modern fixation on “getting everything done,” Four Thousand Weeks introduces readers to tools for constructing a meaningful life by embracing finitude, showing how many of the unhelpful ways we’ve come to think about time aren’t inescapable, unchanging truths, but choices we’ve made as individuals and as a society—and that we could do things differently.




SQL Queries for Mere Mortals


Book Description

The #1 Easy, Common-Sense Guide to SQL Queries--Updated for Today's Databases, Standards, and Challenges SQL Queries for Mere Mortals ® has earned worldwide praise as the clearest, simplest tutorial on writing effective SQL queries. The authors have updated this hands-on classic to reflect new SQL standards and database applications and teach valuable new techniques. Step by step, John L. Viescas and Michael J. Hernandez guide you through creating reliable queries for virtually any modern SQL-based database. They demystify all aspects of SQL query writing, from simple data selection and filtering to joining multiple tables and modifying sets of data. Three brand-new chapters teach you how to solve a wide range of challenging SQL problems. You'll learn how to write queries that apply multiple complex conditions on one table, perform sophisticated logical evaluations, and think "outside the box" using unlinked tables. Coverage includes -- Getting started: understanding what relational databases are, and ensuring that your database structures are sound -- SQL basics: using SELECT statements, creating expressions, sorting information with ORDER BY, and filtering data using WHERE -- Summarizing and grouping data with GROUP BY and HAVING clauses -- Drawing data from multiple tables: using INNER JOIN, OUTER JOIN, and UNION operators, and working with subqueries -- Modifying data sets with UPDATE, INSERT, and DELETE statements Advanced queries: complex NOT and AND, conditions, if-then-else using CASE, unlinked tables, driver tables, and more Practice all you want with downloadable sample databases for today's versions of Microsoft Office Access, Microsoft SQL Server, and the open source MySQL database. Whether you're a DBA, developer, user, or student, there's no better way to master SQL. informit.com/aw forMereMortals.com




The Type Astronaut's Guide to Shapeless


Book Description

The best guide to programming in Shapeless to be found anywhere in the galaxy. Learn how to write code that operates across different types and runs entirely at compile-time using the Shapeless library in Scala. This book demystifies Shapeless, unleashing its power to Scala programmers everywhere.




Accidental Gods


Book Description

NAMED A BEST BOOK OF THE YEAR BY ESQUIRE, THE IRISH TIMES AND THE TIMES LITERARY SUPPLEMENT A provocative history of men who were worshipped as gods that illuminates the connection between power and religion and the role of divinity in a secular age Ever since 1492, when Christopher Columbus made landfall in the New World and was hailed as a heavenly being, the accidental god has haunted the modern age. From Haile Selassie, acclaimed as the Living God in Jamaica, to Britain’s Prince Philip, who became the unlikely center of a new religion on a South Pacific island, men made divine—always men—have appeared on every continent. And because these deifications always emerge at moments of turbulence—civil wars, imperial conquest, revolutions—they have much to teach us. In a revelatory history spanning five centuries, a cast of surprising deities helps to shed light on the thorny questions of how our modern concept of “religion” was invented; why religion and politics are perpetually entangled in our supposedly secular age; and how the power to call someone divine has been used and abused by both oppressors and the oppressed. From nationalist uprisings in India to Nigerien spirit possession cults, Anna Della Subin explores how deification has been a means of defiance for colonized peoples. Conversely, we see how Columbus, Cortés, and other white explorers amplified stories of their godhood to justify their dominion over native peoples, setting into motion the currents of racism and exclusion that have plagued the New World ever since they touched its shores. At once deeply learned and delightfully antic, Accidental Gods offers an unusual keyhole through which to observe the creation of our modern world. It is that rare thing: a lyrical, entertaining work of ideas, one that marks the debut of a remarkable literary career.




The Lincoln Highway


Book Description

#1 NEW YORK TIMES BESTSELLER More than ONE MILLION copies sold A TODAY Show Read with Jenna Book Club Pick A New York Times Notable Book, and Chosen by Oprah Daily, Time, NPR, The Washington Post, Bill Gates and Barack Obama as a Best Book of the Year “Wise and wildly entertaining . . . permeated with light, wit, youth.” —The New York Times Book Review “A classic that we will read for years to come.” —Jenna Bush Hager, Read with Jenna book club “Fantastic. Set in 1954, Towles uses the story of two brothers to show that our personal journeys are never as linear or predictable as we might hope.” —Bill Gates “A real joyride . . . elegantly constructed and compulsively readable.” —NPR The bestselling author of A Gentleman in Moscow and Rules of Civility and master of absorbing, sophisticated fiction returns with a stylish and propulsive novel set in 1950s America In June, 1954, eighteen-year-old Emmett Watson is driven home to Nebraska by the warden of the juvenile work farm where he has just served fifteen months for involuntary manslaughter. His mother long gone, his father recently deceased, and the family farm foreclosed upon by the bank, Emmett's intention is to pick up his eight-year-old brother, Billy, and head to California where they can start their lives anew. But when the warden drives away, Emmett discovers that two friends from the work farm have hidden themselves in the trunk of the warden's car. Together, they have hatched an altogether different plan for Emmett's future, one that will take them all on a fateful journey in the opposite direction—to the City of New York. Spanning just ten days and told from multiple points of view, Towles's third novel will satisfy fans of his multi-layered literary styling while providing them an array of new and richly imagined settings, characters, and themes. “Once again, I was wowed by Towles’s writing—especially because The Lincoln Highway is so different from A Gentleman in Moscow in terms of setting, plot, and themes. Towles is not a one-trick pony. Like all the best storytellers, he has range. He takes inspiration from famous hero’s journeys, including The Iliad, The Odyssey, Hamlet, Huckleberry Finn, and Of Mice and Men. He seems to be saying that our personal journeys are never as linear or predictable as an interstate highway. But, he suggests, when something (or someone) tries to steer us off course, it is possible to take the wheel.” – Bill Gates