metacpan / metacpan-examples Goto Github PK
View Code? Open in Web Editor NEWSample code to get you up and running quickly
License: Other
Sample code to get you up and running quickly
License: Other
I was told that carton.lock is the old version and cpanfile.snapshot is the new format,
so we should probably migrate.
Likely steps:
rm carton.lock
mv local local.oldlock
(so that carton starts from scratch)carton install
(from inside the developer vm)git rm carton.lock && git add cpanfile.snapshot
Please could you show an example of the most ++'ed modules over a given time period
Put this in it:
Carton error:
exec -Ilib is deprecated. Just run the following command with -I.
Two years ago, @oalders posted an example listing author distributions. It no longer works; I assume the API has changed since then. It would be useful to have a canonical example that people can find and modify, for example to list their distributions on their blogs.
I found: https://metacpan.org/favorite/leaderboard
and it's cohort: https://metacpan.org/favorite/recent
when I went to: https://metacpan.org/favorite/
looking for more options, it was blank
I was looking for a list of users who had clicked favorite on a dist
The following scripts use the scrolling api and they all fail:
scripts/author/1b-scroll-all-authors-es.pl
scripts/author/1c-scroll-all-authors-with-twitter-es.pl
scripts/author/2-twitter-or-github-es.pl
scripts/release/6-latest-releases-with-git-repo-es.pl
scripts/release/7-all-releases-es.pl
Example failure message:
# ERROR: Search::Elasticsearch::Error::Request [https://fastapi.metacpan.org:443/v1]-[500] {"message":"[Request] ** [http://127.0.0.1:9200]-[400] [illegal_argument_exception] Failed to decode scrollId, called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at /home/metacpan/metacpan-api/lib/MetaCPAN/Server/Controller/Scroll.pm line 43. With vars: {'status_code' => 400,'body' => {'error' => {'type' => 'illegal_argument_exception','reason' => 'Failed to decode scrollId','caused_by' => {'reason' => 'Bad Base64 input character decimal 123 in array position 0','type' => 'i_o_exception'},'root_cause' => [{'reason' => 'Failed to decode scrollId','type' => 'illegal_argument_exception'}]},'status' => 400},'request' => {'path' => '/_search/scroll/%7B%22scroll_id%22%3A%22c2NhbjszOzkwNzY2NTc1Ol9qUEdZMWw5U0xtaU1FZXZFU3ZUUWc7MTg5NTE4ODMwOjNYSTBjSE9HVEV1SkNxWkc2Y2tEWVE7MTg5NTgzNzA2OkdxSzNsYXZPUlpHdW1fQ3FfaE5ZdHc7MTt0b3RhbF9oaXRzOjEzMDk3Ow%3D%3D%22%7D','ignore' => [],'qs' => {'scroll' => '5m'},'serialize' => 'std','body' => undef,'method' => 'GET'}}\n"}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.