Raku Recipes
A Problem-Solution Approach
(Sprache: Englisch)
Explore Raku problems and solutions using the latest version of the Raku programming language. In Raku Recipes, the emphasis is on applying Raku code to various important tasks and applications including data science, analytics, microservices, and...
Voraussichtlich lieferbar in 3 Tag(en)
versandkostenfrei
Buch (Kartoniert)
64.19 €
Produktdetails
Produktinformationen zu „Raku Recipes “
Klappentext zu „Raku Recipes “
Explore Raku problems and solutions using the latest version of the Raku programming language. In Raku Recipes, the emphasis is on applying Raku code to various important tasks and applications including data science, analytics, microservices, and desktop/console applications. There are also fun one-liner script recipes and instructions on how to create mini-languages of your very own. All in all, over 70 recipes cover a broad range of the tasks and problems encountered by a modern Raku developer. You'll be able to solve problems starting from basics such as input/output and math, to more complex domains such as microservices web sockets, web hooks, and mini-bots. What You Will Learn
- Put Raku to use in a real world environment
- Work with Raku modules, including design classes, roles, and more
- Query a GeoIP database and extract information from the web
- Carry out text processing such as creating a dictionary with fast searches over it and scraping markdown documents
- Work with MongoDB, WikiData, and other data sources
- Build data science and analytics applications using Raku
- Integrate with Python, C, and other languages and libraries
- Create mini-languages and shell scripting languages
Who This Book Is For
While some prior experience in Raku may be useful, it is not required. Prior programming experience using other scripting languages, such as Perl, is recommended, however.
Inhaltsverzeichnis zu „Raku Recipes “
- How do I start to put (Perl 6|Raku|Camelia) to use in a real world environment.
- Get your tools ready. Put concepts from other languages to use in Perl 6.
- Get involved in the community.
- Install some external and useful modules.
- Detect OS environment and change program behavior according to it.
- Input and output
- Read and process files asynchronously
- Connect input and output of external utilities and files.
- Read and process binary files.
- Watch a file for changes
- Data science and data analytics
- How do I extract unique email addresses/user names from several files.
- How do I create a weighted random number generator. How do I work with a spreadsheet, filtering by row or column, or sorting, or converting row into columns or the other way round.
- How do I apply a series of transformations to a group of elements and then extract a single quantity from them.
- How do I create a random data generator
- How do I process big, structured files.
- Math
- Program a divide-and-conquer algorithm.
- Work with matrices.
- Compute Mandelbrot's and Julia's set
- Look for pairs of integers with a certain property, such as friendly numbers or contiguous primes, to use infinite precision integers.
- Configure a program using JSON/YAML/.ini files.
- Configure a command line command with flags and arguments.
- Use shell environment variables in my program.
- Advanced/distributed configuration with etcd Create a Docker container for an application to distribute it easily
- Automation of system tasks.
- Read files handled as arguments
- How can you generate mathematical sequences and extract random elements from it.
... mehr
Perl 6 modules Design classes, roles and modules in Perl 6. Document your module. Test your module. Release it as an open source module for every one. Use multiple dispatch to speed up applications. Dealing with errors Web and microservices on the client side Text processing Work with data sources. Create a desktop/console application Speed up processing Create mini-languages Fun one-liners How do I write a guessing name in a single line of code. How do I compute the nth element in a sequence with a single line. How do I perform system administration task repeatedly using a single line of code.
- Check log for certain events.
- Check logs interactively on the console.
- Check git commits for patterns, metadata, or store them. Clean up your Docker image store.
- Process the last persons logged to our system
- Design an exception hierarchy.
- Deliver meaningful error messages to the user.
- Catch and deal with errors in your program.
- Debug your application in CommaIDE.
- Make grammars fail graciously with pretty errors.
- Query a GeoIP database Download and extract information from a web site.
- Use a web API to get information from a site.
- Check IP and addresses by querying Internet services.
- Scrape markdown documents.
- Generate a set of static web pages
- Create a dictionary and do fast searches over it
- Compute differences in plain texts
- Create a microservice.
- Work with web sockets, connecting to a client.
- Respond to web hooks.
- Create a mini-bot for Telegram or Slack.
- Test your microservice.
- Work with relational databases. Interface with Redis.
- Use an ORM for hight-level data description and access.
- Work with MongoDB.
- Extract information from WikiData
- Use full-console UI.
- Create an application that uses system windows.
- Package your application for release.
- Make it work with other desktop applications by using service buses.
- Use a common desktop application framework.
- Embed Python programs.
- Embed Perl programs.
- Run external programs and capture output.
- Wrap external libraries in C with NativeCall.
- Work with image processing libraries.
- Use data parallelism with hyper/race. Work with asynchronous input/output
- Work with concurrency using channels and threads.
- Create powerful concurrent programs
- Monitor concurrency using CommaIDE.
- Use mini-languages that show off their possibilities
- Create and process a mini-language for recipes.
- Process recipes and generate reports. Resume common language patterns.
- Convert grammar into a full recipe-processing application that generates HTML or other external format.
... weniger
Autoren-Porträt von J.J. Merelo
J.J. Merelo is a professor at the university of Granada, where he has been teaching since 1988. He has been using Perl since 1994, and Perl 6/Raku intensively since December 2016. He trains, teaches, and consults on Perl and Raku projects. Bibliographische Angaben
- Autor: J.J. Merelo
- 2020, 1st ed., XXIII, 402 Seiten, Maße: 17,8 x 25,4 cm, Kartoniert (TB), Englisch
- Verlag: Springer, Berlin
- ISBN-10: 1484262573
- ISBN-13: 9781484262573
Sprache:
Englisch
Kommentar zu "Raku Recipes"
0 Gebrauchte Artikel zu „Raku Recipes“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Raku Recipes".
Kommentar verfassen