17 private links
This blog post describes a model that we found useful for talking about CPAN dependencies and reverse dependencies at the QA Hackathon. At the head of the river is Perl itself with the core modules. The river flows into the sea, which contains all distributions that aren't used by any other distribution. Other distributions sit somewhere along the river, their position determined by their reverse dependencies. This post introduces the core concepts, but nothing more.
Remember the saying from Perl-people? "We suck at marketing". Well, not all of us. Some of us are rather good at marketing. Some well-known Perl heroes are good at what they do and good at promoting that, and promoting Perl at the same time. I do my bit and it seems to be appreciated every now and then. I will tell you what I do for marketing Perl, what I think the effect of that is, and how easy it is for you to join me to show other people how awesome Perl is. I will mention some of my Perl heroes, YAPC's, Fosdem, workshops, PM meetings, tuits, buttons, stickers, and more.
A persistent key-value store for fast storage environments.
RocksDB is an embeddable persistent key-value store for fast storage.
UnQLite is a in-process software library which implements a self-contained, serverless, zero-configuration, transactional NoSQL database engine. UnQLite is a document store database similar to MongoDB, Redis, CouchDB etc. as well a standard Key/Value store similar to BerkeleyDB, LevelDB, etc.
UnQLite is an embedded NoSQL (Key/Value store and Document-store) database engine. Unlike most other NoSQL databases, UnQLite does not have a separate server process. UnQLite reads and writes directly to ordinary disk files. A complete database with multiple collections, is contained in a single disk file. The database file format is cross-platform, you can freely copy a database between 32-bit and 64-bit systems or between big-endian and little-endian architectures. UnQLite features includes:
- Serverless, NoSQL database engine.
- Transactional (ACID) database.
- Zero configuration.
- Single database file, does not use temporary files.
- Cross-platform file format.
- UnQLite is a Self-Contained C library without dependency.
- Standard Key/Value store.
- Document store (JSON) database via Jx9.
- Support cursors for linear records traversal.
- Pluggable run-time interchangeable storage engine.
- Support for on-disk as well in-memory databases.
- Built with a powerful disk storage engine which support O(1) lookup.
- Thread safe and full reentrant.
- Simple, Clean and easy to use API.
- Support Terabyte sized databases.
- BSD licensed product.
- Amalgamation: All C source code for UnQLite and Jx9 are combined into a single source file.
- Highly available online support.
Column-store features
When your database grows into millions of records spread over lots of tables and used in business or science data warehouse applications, you really want a column-store database management system.
MonetDB innovates at all layers of a DBMS, e.g. a storage model based on vertical fragmentation, a modern CPU-tuned query execution architecture, automatic and self-tuning indexes, run-time query optimization, and a modular software architecture.
# Loading from __DATA__
my @hosts = <DATA>;
chomp @hosts;
# => ["coucou.com", "coco.com", "cici.com", "chichi.com", "cucu.com", "cece.com" ]
__DATA__
coucou.com
coco.com
cici.com
chichi.com
cucu.com
cece.com
# Loading from file ./hosts
use Mojo::File;
my $file = Mojo::File->new('hosts');
my @hosts = grep { $_ ne '' } grep { $_ !~ m/^#/ } split '\n', $file->slurp;
# => ["coucou.com", "coco.com", "cici.com", "chichi.com", "cucu.com", "cece.com" ]
# ./hosts
# Deals with comments and blank lines
coucou.com
coco.com
# More hosts
cici.com
chichi.com
cucu.com
cece.com
Three weird tricks to make your object-oriented codemore encapsulated, more reusable, and more maintainable.
App::UpdateCPANfile reads cpanfile, pin dependencies, update dependencies and write back to cpanfile.
an overview of Type::Tiny
Perl 5 with modern defaults
Useful One-Line Scripts for Perl Jul 11 2018 | version 1.11 |
---|
Compiled by Peteris Krumins (peter@catonmat.net, @pkrumins on Twitter)
http://www.catonmat.net -- good coders code, great reuse
Latest version of this file is always at:
http://www.catonmat.net/download/perl1line.txt
This file is also available in other languages:
Chinese: https://github.com/vinian/perl1line.txt
Please email me peter@catonmat.net if you wish to translate it.
Perl One-Liners on Github:
https://github.com/pkrumins/perl1line.txt
You can send me pull requests over GitHub! I accept bug fixes,
new one-liners, translations and everything else related.
I have also written "Perl One-Liners Explained" ebook that's based on
this file. It explains all the one-liners here. Get it at:
http://www.catonmat.net/blog/perl-book/
No Starch Press has published "Perl One-Liners" as a real book too:
http://nostarch.com/perloneliners