Raku One-Liners 2

Total Page:16

File Type:pdf, Size:1020Kb

Raku One-Liners 2 Andrew Shitov Raku One-Liners Getting the most of Raku’s expressive syntax for your daily routines DeepText — 2019 Raku One-Liners Getting the most of Raku’s expressive syntax for your daily routines © Andrew Shitov, author, 2019 In this book, you will find a lot of short programs, so short that they can be written in a single line of code. The seven chapters will guide you through Raku’s syntax elements that help to create short, expressive, but still useful programs. It is assumed that the reader knows the basics of the Raku programming language and understands programming in general. Published on 18 October 2019 Published by DeepText, Amsterdam www.deeptext.media ISBN 978-90-821568-9-8 Contents Chapter 1 Command-Line Options Using command-line options ....................................................... 10 -e ............................................................................................ 10 -n ........................................................................................... 10 -p ........................................................................................... 11 Examples of short one-lines ........................................................ 12 Double-space a file .................................................................. 12 Remove all blank lines ............................................................. 12 Number all lines in a file .......................................................... 12 Convert all text to uppercase ................................................... 12 Strip whitespace from the beginning and end of each line ......... 12 Print the first line of a file ....................................................... 13 Print the first 10 lines of a file ................................................. 13 Reading files with $*ARGFILES ................................................. 13 $*ARGFILES and MAIN ........................................................ 14 Chapter 2 Working with Files Renaming files ............................................................................ 16 Merging files horizontally ............................................................ 17 3 Reversing a file ........................................................................... 19 Chapter 3 Working with Numbers Grepping multiples of 3 and 5..................................................... 22 Generating random integers ........................................................ 23 Working with big numbers .......................................................... 26 Testing palindromic numbers ...................................................... 27 Adding up even Fibonacci numbers ............................................. 29 Playing with Fibonacci numbers .................................................. 30 Distance between two points ...................................................... 31 Playing with prime numbers ........................................................ 32 Using map and Seq to compute the value of π ............................. 33 Computing totals ........................................................................ 36 Sum of the numbers equal to the sum of factorials of digits ......... 37 42 via the cubes .......................................................................... 38 Chapter 4 Working with Strings Generating random passwords .................................................... 42 The joy of Unicode ..................................................................... 43 Chapter 5 Working with Dates What’s the date today? ............................................................... 46 4 How many days in the century match the condition? ................... 47 Another solution of the same problem ......................................... 49 Chapter 6 Raku Syntax More on X, .., and … .................................................................. 52 Reduction operator ..................................................................... 54 Example 1: factorial ................................................................ 54 Example 2: using a function ..................................................... 55 Example 3: matrices ................................................................ 55 All the stars of Raku ................................................................... 56 Multiplication operator............................................................ 56 Exponentiation operator .......................................................... 57 A regex repetition quantifier.................................................... 57 Min to max repetitions ............................................................ 57 Slurpy arguments .................................................................... 58 Slurpy-slurpy .......................................................................... 59 Twigil for dynamic scope ......................................................... 60 Compiler variables .................................................................. 61 All methods named as this ....................................................... 61 Whatever ................................................................................ 63 WhateverCode ........................................................................ 64 Homework ............................................................................. 68 Additional assignments ............................................................ 69 The EVAL routine ...................................................................... 69 5 Chapter 7 Raku Golf The first test .............................................................................. 74 The second test .......................................................................... 75 Tips and ideas for the Raku Golf code ......................................... 77 Omitting semicolons ............................................................... 77 Omitting topic variable ............................................................ 77 Using postfix forms ................................................................. 77 Using ranges for making loops .................................................. 77 Choosing between a range and a sequence ................................ 78 Using map instead of a loop ..................................................... 78 Omitting parentheses and quotes ............................................. 78 Using chained comparisons ...................................................... 79 Choosing between methods and functions................................ 79 Using Unicode characters ........................................................ 80 Using superscripts ................................................................... 80 Using \ to make sigilless variables............................................. 80 Using default parameters ......................................................... 80 Using && instead of if ............................................................. 81 Choosing between put and say ................................................. 81 Appendix on Compiler Internals What’s behind 0.1 + 0.2 ............................................................. 84 6 Preface Dear reader, You are reading a book about the Raku programming language. This language has appeared as a rename of Perl 6 in October 2019. Like its parent, Perl 5, the Raku language keeps the spirit of being a powerful tool in many areas, from devops programs for configuration management through different command-line applications to concurrent web servers. In this book, you will find a number of short programs that you may want to use in your daily practice. You will also find a number of one-line snippets that can enter into your bigger programs. The goal of the book is not to give a copy-and-paste list of coding examples, but to explain the various bits of Raku that help to use the language more efficiently. To run the program examples from the rest of the book, you need to down- load and install the most recent Rakudo Star compiler pack from its website, rakudo.org. If you are using the previous, Perl 6-based compiler, create an alias in your .profile file so that you can use the raku command to run the compiler: alias raku=perl6 I wish you a pleasant journey in the magic Raku language. Andrew Shitov Amsterdam, 18 October 2019 Chapter 1 Command-Line Options Using command-line options Let us talk about the command-line options that the Rakudo1 compiler of- fers to us. -e The first option to know when working with Raku is -e. It takes a string with your Perl 6 one-liner and executes it immediately. For example, print the name of the current user: $ perl6 -e'$*USER' ash -n This option repeats the code for each line of input data. This is quite handy when you want to process a file. For example, here’s a one-liner that adds up the values in a row and prints the sum: $ raku -ne'say [+] .split(" ")' data.txt If the data.txt file contains the following: 10 20 30 40 1 2 3 4 5 6 7 8 1 Rakudo (rakudo.org) is an implementation of Raku. The rest of the book assumes you are using the Rakudo compiler and run it as raku from command line. If you have an older version, which has the perl6 executable, make an alias in your .pro- file: alias raku=perl6. 10 then the result of the one-liner is: 100 10 26 There’s no difference whether you use shell’s input redirection or not; the following line also works: $ raku -ne'say [+] .split(" ")' < data.txt Make sure you place the
Recommended publications
  • Langages De Script : Les Alternatives Aujourd'hui 1/85 Langages De Script
    LANGAGES DE SCRIPT LES ALTERNATIVES AUJOURD'HUI Jacquelin Charbonnel Journées Mathrice – Dijon – Mars 2011 Version 1.1 Jacquelin Charbonnel – Journées Mathrice, Dijon, mars 2011 Langages de script : les alternatives aujourd'hui 1/85 Langages de script #!/bin/bash ● à l'origine – langage de macro-commandes mkdir /users/alfred usermod -d /users/alfred alfred – huile inter application passwd alfred groupadd theproject usermod -G theproject alfred Jacquelin Charbonnel – Journées Mathrice, Dijon, mars 2011 Langages de script : les alternatives aujourd'hui 2/85 Langages de script #!/bin/bash ● à l'origine login=$1 – langage de macro-commandes group=$2 – huile inter application mkdir /users/$login ● + variables + arguments usermod -d /users/$login $login passwd $login groupadd $group usermod -G $group $login Jacquelin Charbonnel – Journées Mathrice, Dijon, mars 2011 Langages de script : les alternatives aujourd'hui 3/85 Langages de script ● à l'origine – langage de macro-commandes – huile inter application ● + variables + arguments ● + des commandes internes read r Jacquelin Charbonnel – Journées Mathrice, Dijon, mars 2011 Langages de script : les alternatives aujourd'hui 4/85 Langages de script ● à l'origine – langage de macro-commandes – huile inter application ● + variables + arguments ● + des commandes internes ● + des conditions if ! echo "$r"|grep '^[yYoO]' ; then echo "aborted !" ; exit 1 ; fi Jacquelin Charbonnel – Journées Mathrice, Dijon, mars 2011 Langages de script : les alternatives aujourd'hui 5/85 Langages de script ● à l'origine
    [Show full text]
  • [PDF] Beginning Raku
    Beginning Raku Arne Sommer Version 1.00, 22.12.2019 Table of Contents Introduction. 1 The Little Print . 1 Reading Tips . 2 Content . 3 1. About Raku. 5 1.1. Rakudo. 5 1.2. Running Raku in the browser . 6 1.3. REPL. 6 1.4. One Liners . 8 1.5. Running Programs . 9 1.6. Error messages . 9 1.7. use v6. 10 1.8. Documentation . 10 1.9. More Information. 13 1.10. Speed . 13 2. Variables, Operators, Values and Procedures. 15 2.1. Output with say and print . 15 2.2. Variables . 15 2.3. Comments. 17 2.4. Non-destructive operators . 18 2.5. Numerical Operators . 19 2.6. Operator Precedence . 20 2.7. Values . 22 2.8. Variable Names . 24 2.9. constant. 26 2.10. Sigilless variables . 26 2.11. True and False. 27 2.12. // . 29 3. The Type System. 31 3.1. Strong Typing . 31 3.2. ^mro (Method Resolution Order) . 33 3.3. Everything is an Object . 34 3.4. Special Values . 36 3.5. :D (Defined Adverb) . 38 3.6. Type Conversion . 39 3.7. Comparison Operators . 42 4. Control Flow . 47 4.1. Blocks. 47 4.2. Ranges (A Short Introduction). 47 4.3. loop . 48 4.4. for . 49 4.5. Infinite Loops. 53 4.6. while . 53 4.7. until . 54 4.8. repeat while . 55 4.9. repeat until. 55 4.10. Loop Summary . 56 4.11. if . ..
    [Show full text]
  • Web Development and Perl 6 Talk
    Click to add Title 1 “Even though I am in the thralls of Perl 6, I still do all my web development in Perl 5 because the ecology of modules is so mature.” http://blogs.perl.org/users/ken_youens-clark/2016/10/web-development-with-perl-5.html Web development and Perl 6 Bailador BreakDancer Crust Web Web::App::Ballet Web::App::MVC Web::RF Bailador Nov 2016 BreakDancer Mar 2014 Crust Jan 2016 Web May 2016 Web::App::Ballet Jun 2015 Web::App::MVC Mar 2013 Web::RF Nov 2015 “Even though I am in the thralls of Perl 6, I still do all my web development in Perl 5 because the ecology of modules is so mature.” http://blogs.perl.org/users/ken_youens-clark/2016/10/web-development-with-perl-5.html Crust Web Bailador to the rescue Bailador config my %settings; multi sub setting(Str $name) { %settings{$name} } multi sub setting(Pair $pair) { %settings{$pair.key} = $pair.value } setting 'database' => $*TMPDIR.child('dancr.db'); # webscale authentication method setting 'username' => 'admin'; setting 'password' => 'password'; setting 'layout' => 'main'; Bailador DB sub connect_db() { my $dbh = DBIish.connect( 'SQLite', :database(setting('database').Str) ); return $dbh; } sub init_db() { my $db = connect_db; my $schema = slurp 'schema.sql'; $db.do($schema); } Bailador handler get '/' => { my $db = connect_db(); my $sth = $db.prepare( 'select id, title, text from entries order by id desc' ); $sth.execute; layout template 'show_entries.tt', { msg => get_flash(), add_entry_url => uri_for('/add'), entries => $sth.allrows(:array-of-hash) .map({$_<id> => $_}).hash,
    [Show full text]
  • An Introduction to Raku
    Perl6 An Introduction Perl6 Raku An Introduction The nuts and bolts ● Spec tests ○ Complete test suite for the language. ○ Anything that passes the suite is Raku. The nuts and bolts ● Spec tests ○ Complete test suite for the language. ○ Anything that passes the suite is Raku. ● Rakudo ○ Compiler, compiles Raku to be run on a number of target VM’s (92% written in Raku) The nuts and bolts ● Spec tests ○ Complete test suite for the language. ○ Anything that passes the suite is Raku. ● Rakudo ○ Compiler, compiles Raku to be run on a number of target VM’s (92% written in Raku) ● MoarVM ○ Short for "Metamodel On A Runtime" ○ Threaded, garbage collected VM optimised for Raku The nuts and bolts ● Spec tests ○ Complete test suite for the language. ○ Anything that passes the suite is Raku. ● Rakudo ○ Compiler, compiles Raku to be run on a number of target VM’s (92% written in Raku) ● MoarVM ○ Short for "Metamodel On A Runtime" ○ Threaded, garbage collected VM optimised for Raku ● JVM ○ The Java Virtual machine. The nuts and bolts ● Spec tests ○ Complete test suite for the language. ○ Anything that passes the suite is Raku. ● Rakudo ○ Compiler, compiles Raku to be run on a number of target VM’s (92% written in Raku) ● MoarVM ○ Short for "Metamodel On A Runtime" ○ Threaded, garbage collected VM optimised for Raku ● JVM ○ The Java Virtual machine. ● Rakudo JS (Experimental) ○ Compiles your Raku to a Javascript file that can run in a browser Multiple Programming Paradigms What’s your poison? Multiple Programming Paradigms What’s your poison? ● Functional
    [Show full text]
  • How the Camel Is De-Cocooning (YAPCNA)
    How the Camel! is de-cocooning Elizabeth Mattijsen! YAPC::NA, 23 June 2014 The Inspiration coccoon? Perl 5 Recap: 2000 - 2010 • 2000 - Perl 5.6 • 2002 - Perl 5.8 • 2007 - Perl 5.10 • 2010 - Perl 5.12 + yearly release • The lean years have passed! Perl 6 Recap: 2000 - 2010 • Camel Herders Meeting / Request for Comments • Apocalypses, Exegeses, Synopses • Parrot as a VM for everybody • Pugs (on Haskell) / Perl 6 test-suite • Rakudo (on Parrot) / Niecza (on mono/.NET) • Nothing “Production Ready” The 0’s - Cocooning Years • Perl was busy with itself • Redefining itself • Re-inventing itself • What is Perl ? • These years have passed! Not your normal de-cocooning Perl 5 and Perl 6 will co-exist for a long time to come! Perl 5 in the 10’s • A new release every year! • Many optimisations,5.20 internalis codeout! cleanup! ! • Perl 6-like features: say, state, given/when, ~~, //, …, packageGo {}, lexical getsubs, sub signaturesit! • Perl 6-like Modules: Moose / Moo / Mouse, Method::Signatures,and Promisesuse it! • and a Monthly development release Perl 6 in the 10’s • Niecza more feature-complete, initially • Not Quite Perl (NQP) developed and stand-alone • 6model on NQP with multiple backends • MoarVM - a Virtual Machine for Perl 6 • Rakudo runs on Parrot, JVM, MoarVM • also a Monthly development release Co-existence? Yes! But Perl 6 will become larger and be more future proof! Cool Perl 6 features in Perl 5 • say • yada yada yada (…) • state variables • defined-or (//)! • lexical subs • subroutine signatures • OK as long as it doesn’t involve types print "Foo\n"; Foo ! say "Foo"; Foo print "Foo\n"; !Foo say "Foo"; Foo print "Foo\n"; Foo ! say "Foo"; Foo print "Foo\n"; Foo ! say "Foo"; Foo sub a { ..
    [Show full text]
  • Proceedings YAPC::Europe 2012 .Com Perl Software Development Services Table of Contents 
    Proceedings YAPC::Europe 2012 .com Perl Software Development Services Table of contents Foreword 5 FatPacker: understanding and appreciating the insanity 6 Vorbild::Beitrag::POD 8 CGI.pm MUST DIE - Together we shall annihilate CGI.pm! 9 CPANTS: Kwalitative website and its tools 10 Designing the Internet of Things: Arduino and Perl 11 Dancing with WebSockets 12 Dancer 2 - Official status: 14 Practical Dancer: moving away from CGI 16 Bringing Perl to a Younger Generation 18 Asynchronous programming FTW! 22 Mojolicious 24 Continuous deployment with Perl 36 Array programming for mere mortals 37 Ontology Aware Applications 42 Distributed Code Review in Perl - State of the Practice 48 address-sanitizer - A fast memory error detector 52 Exceptional Perl 6 55 The joy of breaking stuff 59 Macros in Rakudo 66 Why statement modifiers can harm maintainability! 70 A discussion on how to organize a Perl Mongers group 72 Building C/C++ libraries with Perl 74 8PSMET#1*O0OMJOF"DDPNNPEBUJPO3FTFSWBUJPOTBOETUJMMHSPXJOH 8FOFFE1FSM%FWFMPQFST .Z4RM%#"T 8FVTF1FSM 1VQQFU "QBDIF 4PGUXBSF%FWFMPQFST 4ZT"ENJOT .Z42- .FNDBDIF (JU -JOVY $JTDP 8FC%FTJHOFST 'SPOU&OE%FWFMPQFST +VOJQFSBOENPSF /FUXPSL&OHJOFFSTBOENPSFw /08)*3*/( (SFBUMPDBUJPOJOUIFDFOUFSPG"NTUFSEBN $PNQFUJUJWF4BMBSZ3FMPDBUJPO1BDLBHF *OUFSOBUJPOBM SFTVMUESJWFOEZOBNJDXPSLFOWJSPONFOU *OUFSFTUFE XXXCPPLJOHDPNKPCT Foreword 5 Welcome to YAPC::Europe 2012. This is the fourteenth European Perl conference! The Frankfurt 8PSMET#1*O0OMJOF"DDPNNPEBUJPO3FTFSWBUJPOTBOETUJMMHSPXJOH Perlmongers have great pleasure in hosting this event this year. We‘d like to welcome you here in Frankfurt. The city that is now the heart of the Perl community for at least days. We have attendees from more than 40 countries all over the world, so there is a rich mix of different cultures and different people.
    [Show full text]
  • Contemporary Peer Code Review Practices and Associated Benefits
    CONTEMPORARY PEER CODE REVIEW PRACTICES AND ASSOCIATED BENEFITS by AMIANGSHU BOSU JEFFREY C. CARVER, COMMITTEE CHAIR JEFF GRAY MUNAWAR HAFIZ RANDY SMITH MARCUS BROWN A DISSERTATION Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the Department of Computer Science in the Graduate School of The University of Alabama TUSCALOOSA, ALABAMA 2015 Copyright Amiangshu Bosu 2015 ALL RIGHTS RESERVED ABSTRACT Prior research indicates that peer code review is an effective method for reducing the num- ber of defects and improving the quality of code. Besides maintaining the integrity of the code, code review spreads knowledge, expertise, and development techniques among the review par- ticipants. In the recent years, many Open Source Software (OSS) communities and commercial organizations have adopted ‘contemporary’ or ‘modern’ code review, an informal, regular, tool- based process. Because both OSS and commercial developers spend a significant amount of effort performing code reviews, the primary goal of this dissertation is to better understand contemporary code review, its non-technical benefits, factors that influence its outcomes, and its impact on peer impression formation. To address this goal, this dissertation describes empirical studies using surveys, software repository mining, and social network analysis. The first study is a survey of OSS developers to understand their collaboration and the process by which they form impressions of each other. The results suggest that coding-related factors influence impression formation the most among OSS developers. Therefore, the types of interactions where participants can judge a peer’s code or creativity (e.g., code review) should be crucial for peer impression formation.
    [Show full text]
  • How Linux Containers Have Evolved Daniel Walsh 11 Containers Have Come a Long Way in the Past Few Years
    . ........ .... ... .. .. .. ... .. OPENSOURCE.COM Opensource.com publishes stories about creating, adopting, and sharing open source solutions. Visit Opensource.com to learn more about how the open source way is improving technologies, education, business, government, health, law, entertainment, humanitarian efforts, and more. Submit a story idea: https://opensource.com/story Email us: [email protected] Chat with us in Freenode IRC: #opensource.com . OPEN SOURCE YEARBOOK 2017 . OPENSOURCE.COM 3 ............................. AUTOGRAPHS . .... ... .. .. .. ........ ... .. ............................. AUTOGRAPHS . .... ... .. .. .. ........ ... .. OPENSOURCE.COM............................. ........ WRITE FOR US ................... 7 big reasons to contribute to Opensource.com: Career benefits: “I probably would not have gotten my most recent job if it had not been for my articles on 1 Opensource.com.” Raise awareness: “The platform and publicity that is available through Opensource.com is extremely 2 valuable.” Grow your network: “I met a lot of interesting people after that, boosted my blog stats immediately, and 3 even got some business offers!” Contribute back to open source communities: “Writing for Opensource.com has allowed me to give 4 back to a community of users and developers from whom I have truly benefited for many years.” Receive free, professional editing services: “The team helps me, through feedback, on improving my 5 writing skills.” We’re loveable: “I love the Opensource.com team. I have known some of them for years and they are 6 good people.” 7 Writing for us is easy: “I couldn't have been more pleased with my writing experience.” Email us to learn more or to share your feedback about writing for us: https://opensource.com/story Visit our Participate page to more about joining in the Opensource.com community: https://opensource.com/participate Find our editorial team, moderators, authors, and readers on Freenode IRC at #opensource.com: https://opensource.com/irc .
    [Show full text]
  • Perl 6 / Parrot
    Perl 6 / Parrot April 2009 Friday, April 3, 2009 Pieces and Parts Perl 6 Rakudo Pugs Parrot Machine April 2009 Friday, April 3, 2009 Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Parrot is designed with the needs of dynamically typed languages (such as Perl and Python) in mind, and should be able to run programs written in these languages more efficiently than VMs developed with static languages in mind (JVM, .NET). Parrot is also designed to provide interoperability between languages that compile to it. In theory, you will be able to write a class in Perl, subclass it in Python and then instantiate and use that subclass in a Tcl program. April 2009 Friday, April 3, 2009 Parrot Submitted by allison on Tue, 03/17/2009 - 21:54. ... On behalf of the Parrot team, I'm proud to announce Parrot 1.0.0 "Haru Tatsu." April 2009 Friday, April 3, 2009 Four instruction formats ✤ PIR (Parrot Intermediate Representation) ✤ PASM (Parrot Assembly) ✤ PAST (Parrot Abstract Syntax Tree) enables Parrot to accept an abstract syntax tree style input - useful for those writing compilers. ✤ PBC (Parrot Bytecode) The above forms are automatically converted inside Parrot to PBC. Like machine code but understood by the Parrot interpreter. It is not intended to be human-readable or human- writable, but unlike the other forms execution can start immediately, without the need for an assembly phase. PBC is platform independent. April 2009 http://docs.parrot.org/parrot/latest/html/ Friday, April 3, 2009 Parrot PIR Parrot Intermediate Representation is designed to be written by people and generated by compilers.
    [Show full text]
  • Pragmatic Perl 1
    Pragmatic Perl 1 pragmaticperl.com Выпуск 1. Март 2013 Другие выпуски и форматы журнала всегда можно загрузить с http://pragmaticperl. com. С вопросами и предложениями пишите на [email protected]. Авторы статей: Владимир Леттиев (crux), Андрей Шитов (ash) Выпускающий редактор: Вячеслав Тихановский (vti) Ревизия: 2014-11-29 16:01 © «Pragmatic Perl» Оглавление 1 Возрождение Perl .......................... 1 2 YAPC::Europe 2013 «Future Perl» ................ 5 3 Moo — современный минимальный ООП-фреймворк . 14 4 Dancer2 — Революция ....................... 23 5 Padre IDE. В шаге от релиза 1.0 . 25 6 Всё, что вы хотели знать об AnyEvent, но боялись спро- сить ................................... 28 7 Что нового в Perl 5.17.9 ...................... 36 8 Обзор CPAN за февраль 2013 г. 40 9 Интервью с Tatsuhiko Miyagawa . 44 10 Perl Quiz ................................ 47 i Возрождение Perl 1. Возрождение Perl Язык Perl последние несколько лет переживает свое возрождение. И ко- гда, как не в первом выпуске нашего журнала, рассказать об этом? Среди широких масс любителей постучать по клавиатурам язык Perl ассоциируется с чем-то прошедшим и не стоящим внимания современных программистов. Действительно, после начала разра- ботки шестой версии языка, предыдущей, т.е. пятой, не было уделе- но достаточно внимания. Однако, Perl 6 — это совершенно другой язык, который развивается параллельно, и не собирается (впрочем, пока и не может) заменить Perl 5. В этой статье везде, где использу- ется Perl, подразумевается пятая версия, если не указано иное. Выпуски интерпретатора Возрождение Perl началось с выхода perl 5.10 18 декабря 2007 г., через двадцать лет после выхода первой версии интерпретатора. Преды- дущая стабильная версия 5.8 была выпущена пятью годами ранее, в 2002 г.
    [Show full text]
  • Fedora Messaging
    Fedora Messaging Jun 11, 2018 Contents 1 Getting started with fedmsg_meta_fedora_infrastructure3 1.1 Quick introduction to fedmsg_meta...................................3 2 List of Message Topics 5 2.1 anitya...................................................5 2.2 ansible.................................................. 22 2.3 askbot................................................... 24 2.4 autocloud................................................. 32 2.5 bodhi................................................... 39 2.6 bugzilla.................................................. 62 2.7 buildsys.................................................. 66 2.8 ci..................................................... 78 2.9 compose................................................. 101 2.10 copr.................................................... 121 2.11 datanommer............................................... 127 2.12 faf..................................................... 128 2.13 fas.................................................... 129 2.14 fedbadges................................................. 133 2.15 fedimg.................................................. 135 2.16 fedocal.................................................. 139 2.17 fedora_elections............................................. 146 2.18 fedoratagger............................................... 150 2.19 fmn.................................................... 156 2.20 git..................................................... 161 2.21 github..................................................
    [Show full text]
  • Gestion Des Services Avec Opensolaris Opensolaris, Évolution Majeure Des Systèmes Solaris, Apporte Son P
    6,50 F: - 104 L 19275 France Métro : 6,50€ - DOM 7€ - TOM 950 XPF - BEL : 7,50€ - PORT. CONT. : 7,50€ - CH : 13,80CHF - CAN : 13$CAD - MAR : 75MAD AVRIL 2008 NUMÉRO 104 Gestion des services avec OpenSolaris OpenSolaris, évolution majeure des systèmes Solaris, apporte son p. 59 lot d’innovations. Parmi elles, le Service Management Facility (SMF) crée la notion de « service » dans Solaris, et change profondément la façon dont le système et ses démons démarrent par rapport à GNU/Linux. Partez à la découverte des SMF par la pratique… IPv6 p. 32 Configurez votre système pour l’accès au réseau IPv6 avec Freenet6 LDAP p. 66 Manipulez simplement et efficacement les données LDAP avec ldapvi VIRTUALISATION p. 43 Configurez le réseau pour la machine virtuelle QEMU/KVM SÉCURISATION DE CLIENTS LÉGERS PERL 5.10 p. 26 Explorez les nouveautés de Perl 5.10 en partie issues du Après le guide publié dans le développement de Perl 6 numéro 102, nous revenons sur FRAMEWORK PIM p. 90 LTSP5, son utilisation avancée et la sécurité de l’infrastructure avec Découvrez l’infrastructure et le framework KDE Akonadi de le gestionnaire de connexions gestion d’informations personnelles (PIM) sécurisées LDM. JAVA, JVM ET J2EE p. 82 p. 48 Améliorez les applications en production en maîtrisant la gestion de mémoire en Java Administration et Numérodéveloppement 104 1 Avril 2008 sur systèmes UNIX Numéro 104 2 Avril 2008 GNU/LINUX MAGAZINE NUMÉRO 104 Edito « Il était une fois...», euh non, trop classique, 04 KERNEL CORNER « Il y a longtemps, dans une lointaine galaxie...», 04> Noyau 2.6.25 : sécurité, mémoire, spinlocks trop Lucas, « Au commencement..
    [Show full text]