Fwd: [Perlweekly] #42 - What is in a name?

0 views
Skip to first unread message

Fayland Lam

unread,
May 14, 2012, 9:11:46 AM5/14/12
to perl...@googlegroups.com


---------- Forwarded message ----------
From: Gabor Szabo <ga...@szabgab.com>
Date: Mon, May 14, 2012 at 8:43 PM
Subject: [Perlweekly] #42 - What is in a name?
To: perlw...@perlweekly.com


Perl Weekly

Issue #42 - May 14, 2012 - What is in a name?

You can read the newsletter on the web, if you prefer.

Hi,

This issue was put together in Kiev, thanks to Yaroslav Korshak (yko), Alexandra Solov'eva (Sasha), Viacheslav Tykhanovskyi (vti) who organized Perl Mova and invited me to participate. Special thanks to yko and Sasha who even let me stay in their apartment.

I enjoyed myself very much walking around in Kiev and the conference was also great. On the first day there were several talks in English. The second day I spent in the hallway track. vti has already wrote about it (see below), but I hope we'll see several other reports written about the event.

It seems giving names is a central theme of this issue. There are at least 3 items related to the importance and the difficulty of naming things.

Lastly, let me point out, that Damian Conway will give a talk in New York, in May 17. See details below.

Now to the posts...

Announcements

Acme::MetaSyntactic is back!
After a hiatus of five and a half years, Philippe Bruhat (BooK) has finally put together a new version of his module. Not only that, he also pays tribute to the political events in his country. Having this module, no one should have any excuse of giving bad names to their modules or classes or methods. See the other links about naming.
Tweet | Facebook | Google Plus

YAPC::NA Will Be Televised!
YAPC::NA will be streamed live for free. If you were not able to come, this is a good opportunity to follow the talks even if you miss the hallway track and the other social aspects of the conference.
Tweet | Facebook | Google Plus

WWW::UsePerl::Server
Acme created a back-up of all the content use.perl.org had and made it available to you.
Tweet | Facebook | Google Plus

Twitter Bootstrap templates for Dancer Applications
by Max Maischein (Corion)
Tweet | Facebook | Google Plus

Articles

NYTProf, File IO, and an Optimization Gone Awry
In order to speed up processing chromatic added caching to his application, just to find out that the module he was using writes the data it gets to a temp file. After getting rid of the premature optimization, he got faster and nicer looking code.
Tweet | Facebook | Google Plus

On the importance of intuitive names
In light of the post of Joel Berger this writing by Zbigniew Lukasiak is even more interesting. How do you pick names (of classes and methods in this case) to make it easier for people to use them? To make them more obvious?
Tweet | Facebook | Google Plus

Introduction to Perl one-liners
This is the introduction Peteris Krumins added to his recently published e-book about one-liners.
Tweet | Facebook | Google Plus

Write the Wrong Code First
Many people, especially beginners and managers expect you to write good code. Right at the beginning. That's not how most of us work. chromatic puts it quite right. There is a place for rewriting code. There is a place for refactoring. There is also a need for writing automated tests.
Tweet | Facebook | Google Plus

Simple Attribute-Based Template Exporting
chromatic wrote a plugin for Template::Toolkit which is, in his words, less ugly than Haml. Admittedly this is not the way how to write a TT plugin but it is an opportunity to show how to export functions using attributes.
Tweet | Facebook | Google Plus

A file download CGI script in Perl
Sinan Unur wrote a detailed description on how to create a file download script.
Tweet | Facebook | Google Plus

Web-Multitasking: Whos gonna work for the working man?
Sebastian Willing provides several strategies improving the performance of your web application. He also gives descriptive names to each one of them.
Tweet | Facebook | Google Plus

Discussion

Removing Locale::Country::SubCountry from CPAN
Instead of trying to keep this information up to date manually, Ron Savage started to use the Wikipedia to scrape the information and store it in a local SQLite database. People quickly came to his help with suggestions to take over the module and pointers to other sources for the information he was missing.
Tweet | Facebook | Google Plus

On CPAN Namespaces: Urban Namespace Planning
Naming your children and your modules isn't easy. Joel Berger struggles with this (in public) while getting the help of many people. Beyond the specific issue, the question is what should the module name describe? The technology it implements? The problem it solves? Should it be some unrelated name, just to be nice and interesting?
Tweet | Facebook | Google Plus

Don't use Cache::Memcached for UTF8 strings
A story in which Thomas Kalusner (domm) find out the hard way that Cache::Memcached does not fully support utf8 but Cache::Memcached::Fast does. That sounds simple but see the discussion that followed.
Tweet | Facebook | Google Plus

Testing

CPAN Testers Summary - April 2012 - Pictures At An Exhibition
The CPAN Testers Fund got its first individual donations (hint, you can donate too) and Barbie explains why it *is* important to run the tests during the installation process or how that could be avoided by looking at the data in the CPAN Testers database.
Tweet | Facebook | Google Plus

Code

Simulating multiple, lazy attributes
If I told you that you'll see an example of 'native attribute traits and accessor currying of Moose', would you be interested? What if it helped you reduce code and make it easy to write accessors for a configuration file? Written by Chris Weyl of White-Point Star, LLC.
Tweet | Facebook | Google Plus

Reddit API for Perl
Jeff Ober put together a Perl module to access Reddit. It already has many parts such as posting a new article, voting, commenting and searching Reddit. It looks like something very useful for me. The funny thing is that on the TODO list you can see 'unit testing'. Oh well.
Tweet | Facebook | Google Plus

Using the VirusTotal API v2.0
Christopher Frenz, the author of Pro Perl Parsing, has recently opened a blog showing Perl examples. This one is a small example on using the VirusTotal API to check if a file has viruses in it. I found a module on CPAN called VT::API that implements version 1.0 of the API while this examples is for version 2.0. I hope the CPAN module will be updated to the new version of the API... I can also imagine a command line tool using this code and later maybe even a GUI for it.
Tweet | Facebook | Google Plus

Mix Perl and C++/CLI
xiaoayfeng shows a small example how to embed Perl into an application written in C.
Tweet | Facebook | Google Plus

Event reports

Perl Mova / YAPC::Russia 2012 is over!
by Viacheslav Tykhanovskyi (vti)
Tweet | Facebook | Google Plus

Fun

Damian Conway in New York on May 17, 2012
Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically Connected Quantum-Relativistic Parallel Spacetimes...Made Easy!
Tweet | Facebook | Google Plus

Perl 6

Perl 6 and D separated at birth
This is interesting. I never looked at it, but if the D programming language is really that similar to the power of Perl 6 and it is in a form that can be used in production systems, then it might be interesting to check it out. I love Perl 6 and if I can have something that is similar to it today, then... then the question, why is it not in wide-spread usage yet? Brad Gilbert recommeds to learn D.
Tweet | Facebook | Google Plus

Since the Hackathon...
After the fun and productive hackathon in Oslo, Jonathan Worthington is back at his own desk planning to implement many additional parts of Perl 6.
Tweet | Facebook | Google Plus

The self promotion section

Registration process with Perl Dancer
A very simple version of double opt-in registration: Let visitors type in an e-mail, and send them a code so they can verify they are in control of that address.
Tweet | Facebook | Google Plus

Events

I usually list the next 3-4 events here. The list of all the events can be found on on the web site. If your Perl event is not in the list, let me know.

Nordic Perl workshop
June 4-5, 2012, Stockholm, Sweden
Tweet | Facebook | Google Plus

YAPC::NA
June 13-15, 2012, Madison, Wisconsin, USA
Tweet | Facebook | Google Plus

French Perl workshop
June 29-30, 2012, Strasbourg
Tweet | Facebook | Google Plus

Quack And Hack 2012
June 30-July 1, 2012, Philadelphia
Tweet | Facebook | Google Plus

You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics.
Want to see more? See the archives of all the issues.
Reading this as a non-subscriber? click here to join us free of charge.
(C) Copyright Gabor Szabo. The articles are copyright the respective authors.

You can unsubscribe here if you don't want to receive mails any more.

You can freely redistribute this message if you keep the whole message intact, including the Copyright notice and this text.


_______________________________________________
Perlweekly mailing list
Perlw...@perlweekly.com
http://mail.perlweekly.com/mailman/listinfo/perlweekly




--
Fayland Lam // http://www.fayland.org/
Reply all
Reply to author
Forward
0 new messages