Professional Web Applications Themes

Perl tutorial at U Penn on Tuesday 2 September - PERL Miscellaneous

This year I wrote three new tutorial classes for conferences, but I only gave two of them in practice sessions at Penn in the spring. I've given the new one several times now, so I don't need the practice, but I thought it would be fun to give it in Philadelphia anyway. As usual, I am asking for a (voluntary) donation of $10. If this covers my expenses for the class, I will contribute 30% of the surplus to the EFF, a non-profit legal action group devoted to defending digital rights. (See [url]http://www.eff.org/[/url] for details.) University of Pennsylvania students, faculty, ...

  1. #1

    Default Perl tutorial at U Penn on Tuesday 2 September

    This year I wrote three new tutorial classes for conferences, but I
    only gave two of them in practice sessions at Penn in the spring.
    I've given the new one several times now, so I don't need the
    practice, but I thought it would be fun to give it in Philadelphia
    anyway.

    As usual, I am asking for a (voluntary) donation of $10. If this
    covers my expenses for the class, I will contribute 30% of the surplus
    to the EFF, a non-profit legal action group devoted to defending
    digital rights. (See [url]http://www.eff.org/[/url] for details.) University of
    Pennsylvania students, faculty, and staff are exempt from this request.

    The tutorial is titled:

    "How do I delete a line from a file?"
    Strategies for Lightweight Databases


    WHEN


    Tuesday, September 2.

    The tutorial will start around 6:30 PM and will last until about
    10:00, including a 30-minute break in the middle.

    WHAT

    Here is the brochure description:

    Many programs need cheap, convenient access to small amounts
    of data. There are two commonly used solutions: Flat text
    files and DBM files. This class will look at these in
    detail. Whether you're looking for a good solution for storage
    of your own data, or you have to deal with data stored in one
    of these formats by another program, this class will equip you
    with valuable tools for solving your problems.

    In the first section, we'll look at techniques for managing
    flat text databases and the systems programming that underlies
    these. We'll examine the tradeoffs of variable
    vs. fixed-length records and sorted vs. unsorted files. In the
    second section, we'll take a detailed look at Tie::File, a new
    standard module that provides easy access to text databases.

    The third section will be an overview of Perl's 'DBM' feature,
    including a comparison of the standard DBM modules. We'll see
    several extremely useful but little-known features of DB_File,
    the only one of these standard modules that doesn't have
    serious defects.

    Here's an outline:



    Text Files
    Rotating log file; deleting a user
    Copy the File
    -i.bak
    Using -i inside a program
    Problems with -i
    Atomicity issues
    Essential problem with files; fundamental operations; seeking
    Sorted files
    In-place modification of records
    Overwriting records
    Bytes vs. positions
    Gappy Files
    Fixed-length records
    Numeric indices
    Case study: lastlog
    Indexing
    Void fields
    Generic text indices
    Packed offsets
    Tie::File
    Tie::File Examples
    delete_user revisited
    uppercase_username revisited
    Rotating log file revisited
    Most important thing to know about Tie::File
    Indexing with Tie::File
    Tie::File Internals
    Caching
    Record modification
    Immediate vs. Deferred Writing
    Autodeferring
    Miscellaneous Features
    DBM
    Common DBM Implementations
    What DBM Does
    Small DBMs: ODBM, NDBM, and SDBM
    GDBM
    DB_File
    Indexing revisited
    Ordered hashes
    Partial matching
    Sequential access
    Multiple values
    Filters
    BerkeleyDB


    WHARNING

    This is NOT an introductory class; it assumes that you have some
    familiarity with Perl's basic features.

    WHERE

    The classes will be held in Wu-Chen auditorium on the first floor of
    the new Melvin and Claire Levine Hall at the University of
    Pennsylvania. Levine Hall is located at 3330 Walnut Street in
    Philadelphia.

    For directions to the University, see

    [url]http://www.facilities.upenn.edu/visitUs/[/url]

    A map is available at:

    [url]http://www.facilities.upenn.edu/mapsBldgs/view_map.php3?id=407[/url]


    WHO

    My usual bio says:

    Mark-Jason Dominus has been programming in Perl since 1992. He
    is the author of the 'Memoize', 'Text::Template', and
    'Tie::File' modules, the author of the 'perlreftut' man page,
    and an occasional contributor to the Perl core. He won the
    2001 Larry Wall award for Practical Utility.

    For more details about me, see

    [url]http://perl.plover.com/yak/aboutme.html[/url]

    For more details about classes I teach, see

    [url]http://perl.plover.com/yak/[/url]

    For more details about this class, see

    [url]http://perl.plover.com/yak/lightweight-db/[/url]

    WHOW

    We have plenty of space, but please make an advance reservation so
    that I know how many handouts to bring. To reserve, please send an
    email message to:

    mjd-tpc-practice-lwdb+plover.com

    Please do circulate this notice to any people or mailing lists that
    you think might want to see it.

    My grateful thanks go to Helen Anderson and Chip Buchholtz of the
    University of Pennsylvania School of Engineering and Applied Science
    for providing the space and AV equipment for these classes, and to
    JoDe Hendrick for setting it up.

    WHUH?

    Questions? Send me email.



    [ Note: This message was posted with 'Distribution: phl'. If you
    received it, it is because your news administrator has chosen to
    receive articles that are specifically marked as being of interest
    to the Philadelphia local area. ]

    Mark Jason Dominus Guest

  2. #2

    Default Re: Perl tutorial at U Penn on Tuesday 2 September

    Mark Jason Dominus wrote:


    It is rude of you to set followup to your email.

    Post here, read here.

    (snipped)
    > This year I wrote three new tutorial classes for conferences, but I
    > only gave two of them in practice sessions at Penn in the spring.
    > I've given the new one several times now, so I don't need the
    > practice,
    As a well seasoned educator, I and other educators will tell you
    a lecture can never be practiced enough. When you become smug with
    your ability to deliver a lesson, this is when your lesson will
    certainly turn to crap.

    Each audience will present different challenges. Each audience
    will exhibit a different average education level, will exhibit
    a different average comprehension level. Not practicing, not
    preparing, not adapting, leaves you unprepared.

    No given lesson or lecture, should be the same as the next.
    Each event should be an improvement on the previous.

    You are asking for money. It is your responsibility to deliver
    a person's money's worth as a matter of personal pride.


    Purl Gurl
    Purl Gurl Guest

Similar Threads

  1. directions to good perl module tutorial
    By sheehan81@gmail.com in forum PERL Modules
    Replies: 2
    Last Post: June 23rd, 01:28 AM
  2. Introduction/Tutorial for Perl/Tk?
    By Benjamin Walkenhorst in forum PERL Beginners
    Replies: 2
    Last Post: February 9th, 08:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139