Skip to main content



Get stock and mutual fund quotes from various exchanges

Changes for 1.59_01 - 2024-04-14T08:31:58-07:00

  • YahooJSON.pm - Added code to retrieve cookies and a "crumb" required to continue to utilize the v11 API. Issue #369. The YahooJSON.pm currency module was changed to use the v8 API.
  • Added initial version of CONTRIBUTING.pod that metacpan.org utilizes. It will completely replace the Hacker's Guide in the future.
  • Bloomberg.pm - Changed module to extract data from JSON structure embedded within the HTML - Issue #360
  • NSEIndia.pm - Eliminated need to use temp folders by storing file data from URL into a variable.
#369 #360



113-bit integer arithmetic

Changes for 0.04

  • Allow negative values to be passed to bitwise operators (&, |, ^, ~, >>, <<). These negative values will be converted to their 113-bit 2s-complement value prior to being acted upon by the bitwise operator - thus mimicking perl's treatment of negative 32-bit/64-bit IVs.
  • Add divmod() function.
  • Add new test file t/bitwise_feature.t



Extend Plack::Middleware::Debug with some specific panels for Dancer

Changes for 0.04

  • Change ownership to Dancer Core Team
  • Fix prereqs for dzil


List of new CPAN distributions – Mar 2024 submitted by /u/perlancar
[link] [comments]



SPVM Language

Changes for 0.989101 - 2023-04-14

  • Imcompatible Changes
  • Internal Changes
  • Compilation Error Message Improvement


HTTP/2 Dynamic Benchmarks (PHP vs. ModPerl2), 2024 edition.

I ram these about four years ago, and the time differentials were about the same then as now. Monolithic POSIX-threaded server architectures like mp2 + mpm_event will always dominate in low-latency/scalability HTTP/2 benchmarks because they leverage zero-copy in the runtime.

Anyways, sexy terminal graphs with smag to enjoy!

submitted by /u/joesuf4
[link] [comments]



Some basic stat computations with Perl , Python and RLessons learned:
A) Performance freaks to stop using #rstat 's runif for random generation. The Hoshiro random number generator https://arxiv.org/abs/1805.01407 is 10x faster.
Implementations in #perl 's #PDL, #rstats (dqrng) and #python #numpy are within 20% of each other

B) But does it make a difference in applications? To get to the bottom of this, I coded a truncated random variate generator in #rstats and #perl using #pdl (as well as standard u/perl) using the #GSL packages https://metacpan.org/pod/PDL::GSL::CDF & https://metacpan.org/pod/Math::GSL for accessing the CDF & quantile functions. In this context, it's the calculation of the #CDF that is the computationally intensive part, not the drawing of the random number itself.
Well even in these case, the choice of the generator did matter. Note that the fully vectorized #PDL #perl versions were faster than #rstats

C) I should probably blog about these experiments at some point. Note that #pdl (but not base #perl) are rather competitive choices for large array processing with numerical operations. I mostly stay away of #python , but would not surprise me that for compute intensive stuff (where the heavy duty work is done in C/C++), it does not matter (much) which high level language one uses to build data applications

https://preview.redd.it/qn00sx78gbuc1.png?width=1538&format=png&auto=webp&s=1874b9e710c239e9acea36fb54d957167a69b270

https://preview.redd.it/4by4jbh9gbuc1.png?width=1538&format=png&auto=webp&s=dc9944347983445126e4ab57b43c76202ca719d6

submitted by /u/ReplacementSlight413
[link] [comments]

Programming Feed reshared this.





Cross-platform executor for parallel tasks executed in forked processes

Changes for 0.01 - 2024-04-13

  • Initial release


data pack for Business::ISBN

Changes for 20240413.001 - 2024-04-13T19:53:52Z

  • data update for 2024-04-13


Acceptance testing for JSON-Schema based validators

Changes for 1.023 - 2024-04-13T19:25:31Z



Hi, im working on this perl script wherein i should get all files with filename < 900000

Ex. sample_file_802856.txt sample_file_27364692.txt sample_file_385620.txt

the script should get:

sample_file_802856.txt sample_file_385620.txt

I already have the code but it’s failing on this part coz im having a hard time getting the regex for < 900000 😆

submitted by /u/advinculareily
[link] [comments]



The great new Seven!

Changes for 0.01

  • First version, released on an unsuspecting world.


A SQL Database object abstraction class

Changes for v1.3.1 - 2024-04-11T22:27:49Z

  • Modified method 'structure' in DB::Object::Mysql::Table to ensure all fields returned are in lowercase.


Libraries and Utilities to work with Dogecoin

Changes for 1.20240413.0031 - 2024-04-12T17:31:00-07:00

  • removed unnecessary warning


Subroutine attribute for compile-time method lookups on its typed lexicals.


test MIDI file contents

Changes for 0.02 - 2024-04-13

  • Add more MIDI event test functions. Break the midi_track interface a bit. Improve the documentation.


Hi,

I am moving to RedHat 9 from RedHat 7. I am running Apache with mod_perl.

I have installed the mod_perl package on the RedHat 9 box. I am getting this error on bit of code that I wrote:

Can't locate XSLoader.pm: /usr/local/lib64/perl5/5.32/XSLoader.pm: Permission denied at /usr/lib64/perl5/vendor_perl/Apache2/XSLoader.pm line 22.\nBEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Apache2/XSLoader.pm line 22.\nCompilation failed in require at /usr/lib64/perl5/vendor_perl/Apache2/Access.pm line 24.\nBEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Apache2/Access.pm line 24. 

When I do a search for XSLoader.pm, I find:
/usr/lib64/perl5/vendor_perl/APR/XSLoader.pm /usr/lib64/perl5/vendor_perl/Apache2/XSLoader.pm /usr/share/perl5/XSLoader.pm 

I am guessing I have some path issue. Any ideas what I may need to do?

thank you

submitted by /u/OrganicStructure1739
[link] [comments]



iterators for objects that know the next element

Changes for 1.148 - 2024-04-10T18:05:54Z

  • need a user release for indexing?


Audit CPAN distributions for known vulnerabilities

Changes for 20240410.001 - 2024-04-10T17:51:12Z

  • data update for 2024-04-10


iterators for objects that know the next element

Changes for 1.147_01 - 2024-04-10T17:42:51Z

  • Try not indexing preprocess/


iterators for objects that know the next element

Changes for 1.147 - 2024-04-10T16:55:14Z

  • Release again to investigate PAUSE indexing issue (#16)
#16


Neo4j community graph database driver for Bolt and HTTP

Changes for 0.48 - 2024-04-10

  • The cypher_params config option now allows 'v2' as a synonym for v2.
  • Minor documentation updates.



Synthesizer settings librarian

Changes for 0.0047 - 2024-04-09T11:28:00Z

  • Improve the specs logic.
  • Improve eg/patch-visualizer.pl.
  • Fix eg/synth-config-mojo.pl to use database specs.



Neo4j community graph database driver for Bolt and HTTP

Changes for 0.47 - 2024-04-09

  • Returning a Result object from a managed transaction function now issues a warning that the Result may not be valid outside the function.
  • Clarify in documentation that concurrent_tx is a legacy feature.
  • Minor documentation fixes.
  • Minor testing improvements.


A Simple base module to implement almost every RESTful API with just a few lines of configuration

Changes for 2.8

  • Change: 83a1a2c4ca5a3ef6e388483c992621f1efead921 Author: Tobias Kirschstein <nupfel@users.noreply.github.com> Date : 2023-08-11 09:55:35 +0000
  • Change: 81d1da85d621ba6f88942bb2a047adb8c01bd9db Author: Michael Schout <schoutm@gmail.com> Date : 2023-08-05 15:32:01 +0000
  • Plus 26 releases after 2023-04-10 00:00:00 +0000.


I work in infosec, specifically in penetration testing. I learned Perl to some extent years ago when Metasploit was still written in Perl (They switched to Ruby). It seems these days that most people in my industry like Python, and some of the most important modules we use in my field are in Python. Does Perl offer any modules as comprehensive as Impacket for hacking protocols such as SMB, WMI, Kerberos, etc?

submitted by /u/aecyberpro
[link] [comments]



Information about the CGI environment

Changes for 0.81 - 2024-04-09T10:08:29Z

  • Use Test::Needs Added t/version.t Added t/tabs.t Mark axios/1.6.7, ias_crawler and ZoominfoBot as robots Block "/**/ORDER/**/BY/**/" in the argument Strip NUL byte poison



An open source web-based network management tool.

Changes for 2.075001 - 2024-04-09

  • ENHANCEMENTS
  • BUG FIXES


I think we need to create the next generation of Perl devs, because one day we’ll all be dead. What will Perl become if we don’t train as many people as we can?

submitted by /u/karjala
[link] [comments]






communicate with the i3 window manager

Changes for 0.19 - 2024-04-09

  • use Carp for errors (includes stacktraces)
  • introduce (preferred) RUN_COMMAND spelling
  • migrate tooling to ExtUtils::MakeMaker
  • implement the tick event
  • introduce the sync IPC command
  • introduce the GET_BINDING_STATE IPC command


INI file reader that supports make-style variable references and multiple assignment operators.

Changes for 0.16 - 2024-04-10

  • Improved ans corrected POD.


submitted by /u/davorg
[link] [comments]


Perl programming using KDE's Kate editor in Linux tutorial submitted by /u/nmariusp
[link] [comments]


Mojolicious plugin providing CSRF protection at the routing level

Changes for 1.01 - 2024-04-07T13:58:46Z

  • Apply fixes for Mojolicious 9+



A new release of PDL is out! It's been about a year since I last posted on here about a PDL release (last was PDL 2.083).

A selection of changes since PDL 2.083:

  • Diab Jerius reported that a previous change to [xyz]vals to return at least a double had a regression for code that requests an explicit type smaller than that. Fixed in 2.085.
    Diab Jerius also reported several other edge cases: 1, 2, 3 including a fix for vsearch.

    Also, Diab Jerius modularised the primitive ops tests which allows for faster parallel testing.

  • Harald Jörg reported that large arrays would cause PDL::FFT to crash. Fixed by switching from the stack VLAs to heap allocation. Fixed in 2.085.
    While it is recommended to use PDL::FFTW3 instead, PDL::FFT is bundled with PDL for the cases where PDL::FFTW3 can not be easily installed.
  • Bas Couwenberg reported and fixed a previously deprecated API in HDF4 which has now been removed and replaced. Fixed in 2.085.
    As part of the Debian release process, Bas Couwenberg reported a failure on i386. Fixed in 2.087.
  • Shawn Laffan provided an improvement to PDL::GIS::Proj so that it would load correctly on Windows via Alien::proj.
  • Po-Chuan Hsieh provided a build fix for FreeBSD on amd64. I also happened to talk to James E Keenan around the same time about PDL builds on FreeBSD so this was followed up by adding CI testing for FreeBSD. Fixed in 2.085.
  • Ryan Egesdahl provided a fix for macOS Ventura which changed the location of GLUT headers. Fixed in 2.085.
  • Eli Schwartz reported an upstream Gentoo bug when building with LTO that uncovered 64-bit issues in Minuit and Slatec Fortran code. Fixed in 2.086.
  • @vadim-160102 reported several issues with stringification: 1, 2; one of which uncovered a bug in conversion of ulonglong to Perl scalar.
  • Karl Glazebrook, @vadim-160102, and users from PerlMonks provided valuable reports in tracking down issues with dataflow https://github.com/PDLPorters/pdl/issues/461. Fix available in 2.086.
  • Jörg Sommrey contributed improved typemap handling which allows for using the typemap definitions that are available in Perl's default typemap. Available in 2.086.
  • Ed has added many improvements to the PP code generator and internal API as well as several new functions. Please see the Changes file for details!
    Of note are several speed improvements that are inspired by Eric Wheeler's note about the speed of sequence().

A full list of closed issues and PRs is here. Thanks to all the contributors!

There are also some things to report from the wider World of PDL:

  • Jörg Sommrey has released a PDL interface to GLPK (GNU Linear Programming Kit) for mathematical optimization: https://metacpan.org/pod/PDL::Opt::GLPK.
  • The PGPLOT distribution now incorporates PDL::Graphics::PGPLOT module that was in the PDL distribution. The dependencies remain the same.
  • PDL::Graphics::Simple had some small updates to the drivers. This is preparation for splitting the backend engines to their respective backend distributions (not yet released) and defining an API version that the engines conform to.

submitted by /u/zmughal
[link] [comments]



A peppered AES-encrypted Argon2 encoder for Crypt::Passphrase

Changes for 0.008 - 2024-04-07T13:41:40Z

  • Add support for aes-cbc-pad and aes-ecb-pad


A peppered AES-encrypted Bcrypt encoder for Crypt::Passphrase

Changes for 0.002 - 2024-04-07T13:38:27Z

  • Add support for aes-cbc-pad and aes-ecb-pad