Regular Expressions Cookbook

Author: Jan Goyvaerts
Publisher: "O'Reilly Media, Inc."
ISBN: 9781449327484
Release Date: 2012-08-13
Genre: Computers

Take the guesswork out of using regular expressions. With more than 140 practical recipes, this cookbook provides everything you need to solve a wide range of real-world problems. Novices will learn basic skills and tools, and programmers and experienced users will find a wealth of detail. Each recipe provides samples you can use right away. This revised edition covers the regular expression flavors used by C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. You’ll learn powerful new tricks, avoid flavor-specific gotchas, and save valuable time with this huge library of practical solutions. Learn regular expressions basics through a detailed tutorial Use code listings to implement regular expressions with your language of choice Understand how regular expressions differ from language to language Handle common user input with recipes for validation and formatting Find and manipulate words, special characters, and lines of text Detect integers, floating-point numbers, and other numerical formats Parse source code and process log files Use regular expressions in URLs, paths, and IP addresses Manipulate HTML, XML, and data exchange formats Discover little-known regular expression tricks and techniques

The Ruby Programming Language

Author: David Flanagan
Publisher: "O'Reilly Media, Inc."
ISBN: 0596554656
Release Date: 2008-01-25
Genre: Computers

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team: David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository. Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book. why the lucky stiff, artist and Ruby programmer extraordinaire. This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules. The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities. The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

The Ruby Way

Author: Hal Fulton
Publisher: Addison-Wesley Professional
ISBN: 9780132480376
Release Date: 2015-02-11
Genre: Computers

For more than a decade, Ruby developers have turned to The Ruby Way for reliable “how-to” guidance on effective Ruby programming. Now, Hal Fulton and André Arko have thoroughly updated this classic guide to cover new language enhancements and developers’ experiences through Ruby 2.1. The new edition illuminates Ruby 2.1 through 400+ examples, each answering the question: “How do I do this in Ruby?” For each example, they present both a task description and realistic technical constraints. Next, they walk step-by-step through presenting one good solution, offering detailed explanations to promote deeper understanding. Conveniently organized by topic, The Ruby Way, Third Edition makes it easier than ever to find the specific solution you want—and to write better code by reflecting Ruby’s unique philosophy and spirit. Coverage includes Ruby 2.1 overview: terminology, philosophy, and basic principles Best practices for strings and regular expressions Efficiently internationalizing your code Performing calculations (including trigonometry, calculus, statistics, and time/date calculations) Working with “Rubyesque” objects such as symbols and ranges Using arrays, hashes, stacks, queues, trees, graphs, and other data structures Efficiently storing data with YAML, JSON, and SQLite3 Leveraging object-oriented and dynamic features, from multiple constructors to program inspection Building GUIs with Shoes 4, Ruby/Tk, Ruby/GTK3, QtRuby, and other toolkits Improving thread performance by understanding Ruby’s synchronization methods and avoiding its pitfalls Automating system administration with Ruby Data formats: JSON, XML, RSS, Atom, RMagick, PDF, and more Testing and debugging with RSpec, Minitest, Cucumber, byebug, and pry Measuring Ruby program performance Packaging and distributing code, and managing dependencies with Bundler Network programming: clients, time servers, POP, SMTP, IMAP, Open-URI Web applications: HTTP servers, Rails, Sinatra, HTML generation, and more Writing distributed Ruby software with drb Choosing modern development tools that maximize your productivity All source code for this book may be downloaded at www.rubyhacker.com. informit.com/aw informit.com/ruby rubyhacker.com/therubyway therubyway.io

Agile Entwicklung von Web 2 0 Applikationen mit Ruby on Rails

Author: Rico Schulz
Publisher: GRIN Verlag
ISBN: 9783640346004
Release Date: 2009-06-12
Genre: Computers

Diplomarbeit aus dem Jahr 2007 im Fachbereich Medien / Kommunikation - Multimedia, Internet, neue Technologien, Note: 1,3, Hochschule für Technik, Wirtschaft und Kultur Leipzig, Sprache: Deutsch, Abstract: Die vorliegende Arbeit beschäftigt sich mit Web 2.0, Ruby on Rails und der agilen Softwareentwicklung. Es wird zunächst der Begriff „Web 2.0“ anhand dessen Prinzipien vorgestellt. Dabei werden die zentralen Kennzeichen des Web 2.0 herauskristallisiert und anschließend in kurzer ausformulierter Form dargelegt. Desweiteren wird Ruby on Rails vorgestellt. Dieses Framework dient der Entwicklung von datenbankbasierten Webapplikationen. Es soll durch innovative Funktionalitäten die Webentwicklung effizienter gestalten. Im weiteren Verlauf wird geprüft, ob sich Ruby on Rails für die Entwicklung von Web 2.0 Applikationen eignen könnte. Desweiteren wird das Konzept der agilen Softwareentwicklung beschrieben. Es wird dabei in kurzer Form auf die traditionellen Vorgehensweisen der Softwareentwicklung eingegangen. Später wird das Agile Manifest und der populärste agile Vertreter „Extreme Programming“ ausführlich dargestellt. Dies soll vorbereitend für die abschließende Evaluation des Potentials von Ruby on Rails für die agile Softwareentwicklung wirken.

Learn Ruby the Hard Way

Author: Zed A. Shaw
Publisher: Addison-Wesley Professional
ISBN: 9780133135633
Release Date: 2014-12-01
Genre: Computers

You Will Learn Ruby! Zed Shaw has perfected the world’s best system for learning Ruby. Follow it and you will succeed–just like the hundreds of thousands of beginners Zed has taught to date! You bring the discipline, commitment, and persistence; the author supplies everything else. In Learn Ruby the Hard Way, Third Edition , you’ll learn Ruby by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you’ll learn how software works; what good programs look like; how to read, write, and think about code; and how to find and fix your mistakes using tricks professional programmers use. Most importantly, you’ll learn the following, which you need to start writing excellent Ruby software of your own: • Installing your Ruby environment • Organizing and writing code • Ruby symbols and keywords • Basic mathematics • Variables and printing • Strings and text • Interacting with users • Working with files • Using and creating functions • Looping and logic • Arrays and elements • Hashmaps • Program design • Object-oriented programming • Inheritance and composition • Modules, classes, and objects • Project “skeleton” directories • Debugging and automated testing • Advanced user input • Text processing • Basic game development • Basic web development It’ll Be Hard At First. But Soon, You’ll Just Get It–And That Will Feel Great! This tutorial will reward you for every minute you put into it. Soon, you’ll know one of the world’s most powerful, popular programming languages. You’ll be a Ruby programmer. Watch Zed, too! The accompanying DVD contains 5+ hours of passionate, powerful teaching: a complete Ruby video course! Zed Shaw is an avid guitar player, programmer, and writer whose books teach people all over the world how to write software. His book Learn Python the Hard Way has been read by millions of people around the world. His software has been used by many large and small companies. His essays are often quoted and read by members of many geek communities. He is an entertaining and lively writer, who is sure to keep you laughing and make you think.

Ruby on Rails For Dummies

Author: Barry A. Burd
Publisher: John Wiley & Sons
ISBN: 9781118084786
Release Date: 2011-05-09
Genre: Computers

Quickly create Web sites with this poweful tool Use this free and easy programming language for e-commercesites and blogs If you need to build Web and database applications quickly butyou don't dream in computer code, take heart! Ruby on Rails wascreated for you, and this book will have you up and running in notime. The Ruby scripting language and the Rails framework let youcreate full-featured Web applications fast. It's even fun! Discover how to Install and run Ruby and Rails Use the RadRails IDE Create a blog with Ruby Connect your Web site to a database Build a shopping cart Explore Ruby's syntax

Die Programmiersprache Ruby

Author: David Flanagan
Publisher: O'Reilly Germany
ISBN: 9783897218741
Release Date: 2008
Genre: Object-oriented programming (Computer science)

"Die Programmiersprache Ruby" ist das magebliche Handbuch zu Ruby mit einer umfassenden Beschreibung der Sprachversionen 1.8 und 1.9. Es wurde fur erfahrene Programmierer geschrieben, die sich neu in Ruby einarbeiten wollen, und fur Ruby-Programmierer, die ihr Wissen erweitern und Ruby besser beherrschen wollen. Dieses Buch dokumentiert Ruby umfassend, jedoch ohne den Formalismus einer Sprachspezifikation. Ruby vom Feinsten Dieses Handbuch beginnt mit einem Tutorial zum Schnelleinstieg in die Sprache Ruby und erklart sie dann detailliert auf allen Ebenen: Lexikalische und syntaktische Struktur von Ruby-Programmen, Datentypen und Objekte, Ausdrucke und Operatoren, Anweisungen und Kontrollstrukturen, Methoden, Procs, Lambdas und Closures, Klassen und Module, Reflection und Metaprogrammierung und die Ruby-Plattform API der Ruby-Plattform Die Programmiersprache Ruby beinhaltet eine umfassende Einfuhrung in die machtige API der Ruby-Plattform und stellt - mit ausfuhrlich kommentiertem Code - die Moglichkeiten von Ruby in Bezug auf Textbearbeitung, mathematische Berechnungen, Collections, Ein-/Ausgabe, Netzwerkverarbeitung und Concurrency vor. Wenn Sie Ruby wirklich verstehen wollen, ist dies das Buch, das Sie brauchen.

Ruby Programming for the Absolute Beginner

Author: Jerry Lee Ford
Publisher: Course Technology PTR
ISBN: 159863397X
Release Date: 2007
Genre: Computers

A guide to Ruby programming covers such topics as working with objects, strings, and variables; implementing conditional logic; working with Regular Expressions; object-oriented programming; and debugging.

Computer Science Programming Basics in Ruby

Author: Ophir Frieder
Publisher: "O'Reilly Media, Inc."
ISBN: 9781449356859
Release Date: 2013-04-18
Genre: Computers

If you know basic high-school math, you can quickly learn and apply the core concepts of computer science with this concise, hands-on book. Led by a team of experts, you’ll quickly understand the difference between computer science and computer programming, and you’ll learn how algorithms help you solve computing problems. Each chapter builds on material introduced earlier in the book, so you can master one core building block before moving on to the next. You’ll explore fundamental topics such as loops, arrays, objects, and classes, using the easy-to-learn Ruby programming language. Then you’ll put everything together in the last chapter by programming a simple game of tic-tac-toe. Learn how to write algorithms to solve real-world problems Understand the basics of computer architecture Examine the basic tools of a programming language Explore sequential, conditional, and loop programming structures Understand how the array data structure organizes storage Use searching techniques and comparison-based sorting algorithms Learn about objects, including how to build your own Discover how objects can be created from other objects Manipulate files and use their data in your software

Introduction to Matem tical Programming

Author: Wayne L. Winston
Publisher: Duxbury Resource Center
ISBN: 0534230466
Release Date: 1995
Genre: Mathematics

Focusing on deterministic models, this book is designed for the first half of an operations research course. A subset of Winston's best-selling Operations Research, Introduction to Mathematical Programing offers self-contained chapters that make it flexible enough for one- or two-semester courses ranging from advanced beginning to intermediate in level. Appropriate for undergraduate majors, MBAs, and graduate students, it emphasizes model-formulations and model-building skills as well as interpretation of computer software output. LINDO, GINO, and LINGO software packages are available with the book in Windows, Macintosh, or DOS versions. Linear algebra prerequisite.

Ruby on Rails Die bessere Alternative

Author: Gabriele Wichmann
Publisher: GRIN Verlag
ISBN: 9783638797474
Release Date: 2007
Genre:

Masterarbeit aus dem Jahr 2007 im Fachbereich Informatik - Internet, neue Technologien, Note: 1,0, Hochschule Offenburg, 60 Quellen im Literaturverzeichnis, Sprache: Deutsch, Abstract: Diese Master Thesis beschaftigt sich mit Ruby on Rails, einer Technologie bzw. einem Framework zum schnellen und strukturierten Erstellen von datenbankbasierten Webanwendungen. Diese konnen Dank hervorragender Integration von AJAX-Frameworks in Rails zudem interaktiv gestaltet werden. Um Ruby on Rails herrscht momentan ein gewisser Hype, dieser entstand etwa zeitgleich mit dem Hype um Web 2.0. Dies ist jedoch nicht das Einzige, was die Beiden verbindet. Die neuen sozialen"- und Rich User Interface"-Anwendungen lassen sich mit Hilfe von Ruby on Rails hervorragend verwirklichen. Die vorliegende Arbeit soll einen Uberblick uber die Konzepte, Moglichkeiten und auch die Entwicklungen von Ruby on Rails geben. Die Motivation hinter dem Framework ist es die Entwicklung, von Webanwendungen schnell, einfach und doch strukturiert zu gestalten. Die Tatsache, dass es eine Alternative zu Java und PHP, den beiden heute hauptsachlich eingesetzten Technologien, sein soll ist auch Teil dieser Arbeit, ebenso wie die Beschreibung der Arbeit mit Ruby on Rails anhand einer Beispielanwendung.

Regul re Ausdr cke Kochbuch

Author: Jan Goyvaerts
Publisher: O'Reilly Germany
ISBN: 9783897219571
Release Date: 2010
Genre: Computer programming

Fur Entwickler, die regelmaig mit Texten arbeiten, sind regulare Ausdrucke so lebensnotwendig wie die Luft zum Atmen. Doch wer sich nur oberflachlich mit diesem Hilfsmittel auskennt, gerat leicht in unangenehme Situationen. Selbst erfahrene Programmierer haben immer wieder mit schlechter Performance, falsch positiven oder falsch negativen Ergebnissen und unerklarlichen Fehlern zu kampfen. Dieses Kochbuch schafft Abhilfe: Anhand von uber 100 Rezepten fur C#, Java, JavaScript, Perl, PHP, Python, Ruby und VB.NET lernen Sie, wie Sie regulare Ausdrucke gekonnte einsetzen, typische Fallen umgehen und so viel wertvolle Zeit sparen. Mit Tutorial fur Anfanger: Falls Sie noch nicht - oder nur wenig - mit regularen Ausdrucken gearbeitet haben, dienen Ihnen die ersten Kapitel dieses Buchs als Tutorial, das Sie mit den Grundlagen der Regexes und empfehlenswerten Tools vertraut macht. So sind Sie fur die komplexeren Beispiele in den darauf folgenden Kapiteln bestens gerustet. Tricks und Ideen fur Profis: Auch erfahrene Regex-Anwender kommen ganz auf ihre Kosten: Jan Goyvaerts und Steven Levithan, zwei anerkannte Groen im Bereich regulare Ausdrucke, gewahren tiefe Einblicke in ihren Erfahrungsschatz und uberraschen mit eleganten Losungen fur fast jede denkbare Herausforderung. Deckt die unterschiedlichen Programmiersprachen ab: In allen Rezepten werden Regex-Optionen sowie Varianten fur die verschiedenen Programmier- und Skriptsprachen aufgezeigt. Damit lassen sich sprachenspezifische Bugs sicher vermeiden.

Machine Learning

Author: Jason Bell
Publisher: John Wiley & Sons
ISBN: 9781118889497
Release Date: 2014-10-20
Genre: Mathematics

Dig deep into the data with a hands-on guide to machinelearning Machine Learning: Hands-On for Developers and TechnicalProfessionals provides hands-on instruction and fully-codedworking examples for the most common machine learning techniquesused by developers and technical professionals. The book contains abreakdown of each ML variant, explaining how it works and how it isused within certain industries, allowing readers to incorporate thepresented techniques into their own work as they follow along. Acore tenant of machine learning is a strong focus on datapreparation, and a full exploration of the various types oflearning algorithms illustrates how the proper tools can help anydeveloper extract information and insights from existing data. Thebook includes a full complement of Instructor's Materials tofacilitate use in the classroom, making this resource useful forstudents and as a professional reference. At its core, machine learning is a mathematical, algorithm-basedtechnology that forms the basis of historical data mining andmodern big data science. Scientific analysis of big data requires aworking knowledge of machine learning, which forms predictionsbased on known properties learned from training data. MachineLearning is an accessible, comprehensive guide for thenon-mathematician, providing clear guidance that allows readersto: Learn the languages of machine learning including Hadoop,Mahout, and Weka Understand decision trees, Bayesian networks, and artificialneural networks Implement Association Rule, Real Time, and Batch learning Develop a strategic plan for safe, effective, and efficientmachine learning By learning to construct a system that can learn from data,readers can increase their utility across industries. Machinelearning sits at the core of deep dive data analysis andvisualization, which is increasingly in demand as companiesdiscover the goldmine hiding in their existing data. For the techprofessional involved in data science, Machine Learning:Hands-On for Developers and Technical Professionals providesthe skills and techniques required to dig deeper.