plenv
ccheck
plenv | ccheck | |
---|---|---|
11 | 5 | |
509 | 26 | |
- | - | |
0.0 | 0.0 | |
9 months ago | about 3 years ago | |
Shell | Perl | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
plenv
-
Perl support in Liquidprompt
So here it is, a PR with a new implementation of Perlbrew support to the latest version of Liquidprompt and as a bonus, I also added support for plenv and alternative to Perlbrew for handling your Perl installations.
-
Script to install existing modules into new perlbrew env/perl version
If you don’t care that the version isn’t exactly the same 100% of the time, you can use do sh perlbrew clone-modules (that’s plenv migrate-modules for plenv users). If you want real dependency pinning per project you’re better off using something like Carmel on top of perlbrew or plenv so you can specify what versions of each module you want in your cpanfile, run carmel install whenever you switch to another perl version, and then it should just be a matter of letting Carmel find/load the right versions of each module for you with carmel exec …
- Using Docker to Fix a Perl 5.37 Test Failure
-
Installing perl with perlbrew
Since perlbrew has wholly met my needs, I have not spent much time with plenv. This is not a critique, just my point of view. One warning contained in the plenv read me is:
- What Happened to Perl 7?
- plenv - Installation of Perl on user directories 2022
-
Downloading and Installing Perl in 2021
Nice article. You mention preferring plenv but you only give it passing mention. It would be nice if the article also explained the installation process for that.
-
What is X in Perl?
Virtual envs are not as much vital in Perl, but there is plenv or perlbrew
-
Perl perlbrew and plenv is same as Python pyenv.
Perl perlbrew and plenv is same as Python pyenv.
-
Building a microservice in Perl, part 2: Up and running
(Advanced users may want to investigate using perlbrew, plenv, or berrybrew for managing multiple versions of Perl and installing more recent versions than are included on your system.)
ccheck
-
Anyone know what causes intermittent corruption of random visual media files across drives and machines?
Grab a friends computer and amass a large batch of good known files, make sure they are of all different file formats. I am pretty sure you will be able to find entire archives of test data in different formats online, to really reproduce this I am going to assume it should be multiple gb in size. Make sure it contains jpg, videos, text files, pdfs, etc. Now write a script or use some tool like this (https://github.com/jwr/ccheck) to basically compute the sha256 checksum of every file in this test package and write it to a file. Take this package of files and copy them to as many media sources as you have access to, CD/DVDs are great, thumb drive, your laptop, a nas with ZFS (and ECC ram) would be amazing, probably throw it up on cloud storage just to be safe. I would then have the same script run as a cron job, maybe on your main machine to basically continuously check that checksums match their original value. As soon as you notice a checksum mismatch you will want to isolate that file and locate the same one across all the other systems and do a deeper inspection. Open it up in a HEX editor and do a bit by bit comparison to see were the corruption occurred and how bad it is. This will start to give you a better picture of what may be going on.
-
Show HN: Off-site, encrypted backups for $1/TB/month at 99.999999999% durability
Here's my "me too" — I've been happily using rclone for things like photo archives (together with my small consistency checker to check file hashes for corruption https://github.com/jwr/ccheck). I also use Arq Backup with B2 as the destination. This gives me very reasonable storage costs and backups I can access and test regularly.
-
What Happened to Perl 7?
Perl is very well suited for certain tasks (not large software systems, but programs that process data). It is also one of very few languages/ecosystems where you can expect your code to work after >10 years. This is why I sometimes use it, for example my fs consistency checker (https://github.com/jwr/ccheck) was written in Perl specifically because it's a long-term tool and I would like to be able to run it on any system in 15 years.
Compare this long-term approach with the fires in Python or (heaven forbid) Node ecosystems, where things break all the time.
-
I Nearly Lost the Lightroom Catalog with All My Photos
This sort of thing scares me. It's why I started running consistency checks on my important archives (like my photo library), which I keep backed up in multiple places. We tend to think that in a digital world bits are just bits and do not get corrupted — which is decidedly untrue.
I wrote my own consistency checker, as I wasn't happy with what was out there. I wanted it to be simple, and maintainable in the long term (>10 years horizon). See https://github.com/jwr/ccheck if you need something like this. I now update my checksums regularly and check for corruption.
-
How do I safely store my files?
Good point about bitrot. This is why I wrote ccheck.pl (https://github.com/jwr/ccheck) — I wanted to be able to check and detect bitrot in a way that depends on as little technology as possible.
What are some alternatives?
App-perlbrew - Manage perl installations in your $HOME
glacier_deep_archive_backup - Extremely low cost, off-site backup/restore using AWS S3 Glacier Deep Archive
cpm - fast CPAN client
voidvault - Bootstrap Void with FDE
berrybrew - Perlbrew for Windows!
darktable - darktable is an open source photography workflow application and raw developer
roast - 🦋 Raku test suite
plenv-contrib
metacpan-web - Web interface for MetaCPAN