Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-04 Thread David Christensen
debian-user: I would like to use the Perl module Digest::SHA256 on Debian: 2025-04-02 15:57:50 root@laalaa ~ # cat /etc/debian_version ; uname -a 11.11 Linux laalaa 5.10.0-34-amd64 #1 SMP Debian 5.10.234-1 (2025-02-24) x86_64 GNU/Linux 2025-04-02 15:58:20 root@laalaa ~ # perl -v This is

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-03 Thread Michael Paoli
(response bits in-line): On Wed, Apr 2, 2025 at 4:08 PM David Christensen wrote: > I would like to use the Perl module Digest::SHA256 on Debian: > # cat /etc/debian_version ; uname -a > 11.11 > Linux laalaa 5.10.0-34-amd64 #1 SMP Debian 5.10.234-1 (2025-02-24) > x86_64 GNU/Linux &

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-03 Thread Nicholas Geovanis
On Thu, Apr 3, 2025, 6:38 AM wrote: > Greg Wooledge wrote: > > On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > > FWIW, it seems that the author of the older package has died. :( > You know I can't help it, every time I see something like that I think of Ian Murdock.

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-03 Thread debian-user
Greg Wooledge wrote: > On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > > But installing libdigest-sha-perl does not provide Digest::SHA256: > > They are different modules. > > https://metacpan.org/pod/Digest::SHA256 > https://metacpan.org/pod/Digest:

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-02 Thread Greg Wooledge
On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: > But installing libdigest-sha-perl does not provide Digest::SHA256: They are different modules. https://metacpan.org/pod/Digest::SHA256 https://metacpan.org/pod/Digest::SHA Digest::SHA256 appears to be much, much older

Re: Perl module Digest::SHA256 and Debian package libdigest-sha-perl

2025-04-02 Thread David Christensen
On 4/2/25 16:18, Greg Wooledge wrote: On Wed, Apr 02, 2025 at 16:07:36 -0700, David Christensen wrote: But installing libdigest-sha-perl does not provide Digest::SHA256: They are different modules. https://metacpan.org/pod/Digest::SHA256 https://metacpan.org/pod/Digest::SHA Digest::SHA256

Re: needrestart no longer depends on libmodule-scandeps-perl?

2024-11-21 Thread Jeffrey Walton
On Tue, Nov 19, 2024 at 1:39 PM Mike Kupfer wrote: > > I noticed that after updating 'needrestart' to 3.6-4+deb12u2, the > 'libmodule-scandeps-perl' package now shows up in the autoremove list. > (In a VM that still has the 3.6-4+deb12u1 'needrestart', t

Re: apt-get changelog [was: needrestart no longer depends on libmodule-scandeps-perl?]

2024-11-20 Thread Mike Kupfer
Charles Curley wrote: > On Wed, 20 Nov 2024 06:22:50 +0100 > wrote: > > > Hm. "apt-get changelog needrestart" works for me? Since apt delegates > > to apt-get, it should do the same... in fact, it works, too. > > > > What's missing? > > Possibly trixie v. bookworm. Specifically, I think it ha

needrestart no longer depends on libmodule-scandeps-perl?

2024-11-20 Thread Mike Kupfer
I noticed that after updating 'needrestart' to 3.6-4+deb12u2, the 'libmodule-scandeps-perl' package now shows up in the autoremove list. (In a VM that still has the 3.6-4+deb12u1 'needrestart', trying to remove 'libmodule-scandeps-perl' will also remove &

Re: apt-get changelog [was: needrestart no longer depends on libmodule-scandeps-perl?]

2024-11-20 Thread tomas
On Wed, Nov 20, 2024 at 06:36:08AM -0700, Charles Curley wrote: > On Wed, 20 Nov 2024 06:22:50 +0100 > wrote: > > > Hm. "apt-get changelog needrestart" works for me? Since apt delegates > > to apt-get, it should do the same... in fact, it works, too. > > > > What's missing? > > Possibly trixie

Re: apt-get changelog [was: needrestart no longer depends on libmodule-scandeps-perl?]

2024-11-20 Thread Charles Curley
On Wed, 20 Nov 2024 06:22:50 +0100 wrote: > Hm. "apt-get changelog needrestart" works for me? Since apt delegates > to apt-get, it should do the same... in fact, it works, too. > > What's missing? Possibly trixie v. bookworm. Bookworm: charles@issola:~$ apt-get changelog needrestart Err:1 htt

apt-get changelog [was: needrestart no longer depends on libmodule-scandeps-perl?]

2024-11-20 Thread tomas
On Tue, Nov 19, 2024 at 11:39:53AM -0800, Mike Kupfer wrote: > Christian Britz wrote: > > > See the changelog: > > * debian/control: Drop Depends on libmodule-scandeps-perl > > Thanks. I had tried looking at the changelog, but Synaptic and apt were > unable to find

Re: needrestart no longer depends on libmodule-scandeps-perl?

2024-11-19 Thread Mike Kupfer
Erwan David wrote: > However the depency is back for 3.7-3 in testing The dependency was removed for 3.7-3.1, which is in unstable at the moment. mike

Re: needrestart no longer depends on libmodule-scandeps-perl?

2024-11-19 Thread Erwan David
Le 19/11/2024 à 20:39, Mike Kupfer a écrit : Christian Britz wrote: See the changelog: * debian/control: Drop Depends on libmodule-scandeps-perl Thanks. I had tried looking at the changelog, but Synaptic and apt were unable to find it. Okay. After some poking around, I now see a couple

Re: needrestart no longer depends on libmodule-scandeps-perl?

2024-11-19 Thread Mike Kupfer
Christian Britz wrote: > See the changelog: > * debian/control: Drop Depends on libmodule-scandeps-perl Thanks. I had tried looking at the changelog, but Synaptic and apt were unable to find it. Okay. After some poking around, I now see a couple ways to get at the changelog. One is th

Re: needrestart no longer depends on libmodule-scandeps-perl?

2024-11-19 Thread Christian Britz
Am 19.11.24 um 19:16 schrieb Mike Kupfer: > I noticed that after updating 'needrestart' to 3.6-4+deb12u2, the > 'libmodule-scandeps-perl' package now shows up in the autoremove list. > (In a VM that still has the 3.6-4+deb12u1 'needrestart', trying to

Re: images in Perl/Tk

2024-03-19 Thread mick.crane
On 2024-03-19 13:29, debian-u...@howorth.org.uk wrote: There's a bug in your program above, when used for PNG or JPEG. It's a perl error and I expect you would have got an answer on perlmonks as I suggested. The error is described on https://docstore.mik.ua/orelly/perl3/tk/ch17_01

Re: images in Perl/Tk

2024-03-19 Thread debian-user
"mick.crane" wrote: > On 2024-03-19 00:42, Michael Lange wrote: > > Hi, > > > > On Mon, 18 Mar 2024 19:23:39 + > > "mick.crane" wrote: > > > >> I try to load images with Perl/Tk but there is message, > >> "cou

Re: images in Perl/Tk

2024-03-19 Thread Gareth Evans
On Tue 19/03/2024 at 12:00, mick.crane wrote: > On 2024-03-19 00:42, Michael Lange wrote: >> Hi, >> >> On Mon, 18 Mar 2024 19:23:39 + >> "mick.crane" wrote: >> >>> I try to load images with Perl/Tk but there is message, >>> "

Re: images in Perl/Tk

2024-03-19 Thread mick.crane
On 2024-03-19 00:42, Michael Lange wrote: Hi, On Mon, 18 Mar 2024 19:23:39 + "mick.crane" wrote: I try to load images with Perl/Tk but there is message, "couldn't recognize data in image file "test.jpeg" at /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm

Re: images in Perl/Tk

2024-03-18 Thread Michael Lange
Hi, On Mon, 18 Mar 2024 19:23:39 + "mick.crane" wrote: > I try to load images with Perl/Tk but there is message, > "couldn't recognize data in image file "test.jpeg" at > /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21" > I'

Re: images in Perl/Tk

2024-03-18 Thread debian-user
"mick.crane" wrote: > I try to load images with Perl/Tk but there is message, > "couldn't recognize data in image file "test.jpeg" at > /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21" > I've tried different images/pngs/jpg

images in Perl/Tk

2024-03-18 Thread mick.crane
I try to load images with Perl/Tk but there is message, "couldn't recognize data in image file "test.jpeg" at /usr/lib/x86_64-linux-gnu/perl5/5.38/Tk/Image.pm line 21" I've tried different images/pngs/jpgs with same error. images load OK in other viewers. Inst

printing QR-codes on labels with 300dpi label printers with LaTeX (was: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping)

2024-03-09 Thread hw
On Fri, 2024-03-08 at 23:21 +0700, Max Nikulin wrote: > On 08/03/2024 12:35, hw wrote: > > On Thu, 2024-03-07 at 23:15 -0500, Jeffrey Walton wrote: > > > > > > I have a USB thermal printer for the shipping labels, > > > . > > > > This printer has only

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-08 Thread Max Nikulin
On 08/03/2024 12:35, hw wrote: On Thu, 2024-03-07 at 23:15 -0500, Jeffrey Walton wrote: I have a USB thermal printer for the shipping labels, . This printer has only 300dpi. If you print QR-codes on it make sure you can scan them: they have to be

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-08 Thread Jeffrey Walton
rmal printer for the shipping labels, > > <https://www.amazon.com/gp/product/B08V28J3JS>. > > > > I see Debian carries libbusiness-us-usps-webtools-perl. I visited the > > module's GitHub at > > <https://github.com/ssimms/business-us-usps-webtools>, but th

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-08 Thread Charles Curley
t;. > > I see Debian carries libbusiness-us-usps-webtools-perl. I visited the > module's GitHub at > <https://github.com/ssimms/business-us-usps-webtools>, but the > examples are on the lite side. I don't see a workflow similar to > creating and printing a shipping lab

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-08 Thread gene heskett
siness-us-usps-webtools-perl. I visited the module's GitHub at <https://github.com/ssimms/business-us-usps-webtools>, but the examples are on the lite side. I don't see a workflow similar to creating and printing a shipping label. My question is, can I use the module to create and

Re: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-07 Thread hw
om/gp/product/B08V28J3JS>. > > I see Debian carries libbusiness-us-usps-webtools-perl. I visited the > module's GitHub at > <https://github.com/ssimms/business-us-usps-webtools>, but the > examples are on the lite side. I don't see a workflow similar to > creating and

libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping

2024-03-07 Thread Jeffrey Walton
Hi Everyone, I need to generate some shipping labels for drop-off at the USPS post office using USPS Ground Advantage. I have a USB thermal printer for the shipping labels, <https://www.amazon.com/gp/product/B08V28J3JS>. I see Debian carries libbusiness-us-usps-webtools-perl. I visit

Re: Perl module installation via CPAN and signature error

2024-01-11 Thread Vincent Lefevre
With strace, I could see the command that was executed: gpg --verify --batch --no-tty -q --logger-fd=1 --keyserver=hkp://pool.sks-keyservers.net:11371 on a temporary file, but almost equivalent to the CHECKSUMS file. Now, I can try that directly: qaa:~> gpg --verify --batch --no-tty -q --log

Perl module installation via CPAN and signature error

2024-01-11 Thread Vincent Lefevre
Hi, I have 2 Debian/unstable machines on the same network, with the same .cpan/CPAN/MyConfig.pm file. On one of them, I get no errors: qaa:~> cpan -i XML::RPC CPAN: HTTP::Tiny loaded ok (v0.086) CPAN: Net::SSLeay loaded ok (v1.92) CPAN: IO::Socket::SSL loaded ok (v2.084) Fetching with HTTP::Tiny

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Celejar
On Thu, 03 Aug 2023 21:33:24 +0100 Steve McIntyre wrote: > Andy Smith wrote: > >On Thu, Aug 03, 2023 at 06:23:15PM +, Russell L. Harris wrote: > >> On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: > >> > On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: > >> > > Fo

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Steve McIntyre
Andy Smith wrote: >On Thu, Aug 03, 2023 at 06:23:15PM +, Russell L. Harris wrote: >> On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: >> > On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: >> > > For that matter, is RSS still in use? >> > >> > $ r2e list | wc -l >>

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Andy Smith
Hi Russell, On Thu, Aug 03, 2023 at 06:23:15PM +, Russell L. Harris wrote: > On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: > > On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: > > > For that matter, is RSS still in use? > > > > $ r2e list | wc -l > > 72 > > An

Re: Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Russell L. Harris
On Thu, Aug 03, 2023 at 05:29:33PM +, Andy Smith wrote: Hello, On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: For that matter, is RSS still in use? $ r2e list | wc -l 72 Andy, I don't understand; kindly explain. I have a blog and a web site, both of which I create w

Feeds aren't yet dead (Was: Re: perl module listgarden)

2023-08-03 Thread Andy Smith
Hello, On Thu, Aug 03, 2023 at 03:07:47AM +, Russell L. Harris wrote: > For that matter, is RSS still in use? $ r2e list | wc -l 72 Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting

Re: perl module listgarden

2023-08-03 Thread debian-user
"Russell L. Harris" wrote: > On Wed, Aug 02, 2023 at 03:18:12PM -0700, David Christensen wrote: > >On 8/2/23 14:03, Russell L. Harris wrote: > >>I have not used Perl for several years, and I do not know how to > >>proceed. > >>I am tryin

Re: perl module listgarden

2023-08-02 Thread Russell L. Harris
On Wed, Aug 02, 2023 at 03:18:12PM -0700, David Christensen wrote: On 8/2/23 14:03, Russell L. Harris wrote: I have not used Perl for several years, and I do not know how to proceed. I am trying to install Dan Bricklin's RSS feed generator, ListGarden. metacpan.org cannot find the listg

Re: perl module listgarden

2023-08-02 Thread David Christensen
On 8/2/23 14:03, Russell L. Harris wrote: I have not used Perl for several years, and I do not know how to proceed. I am trying to install Dan Bricklin's RSS feed generator, ListGarden. metacpan.org cannot find the listgarden module. Here is the output: perl listgarden.pl Can

perl module listgarden

2023-08-02 Thread Russell L. Harris
I have not used Perl for several years, and I do not know how to proceed. I am trying to install Dan Bricklin's RSS feed generator, ListGarden. metacpan.org cannot find the listgarden module. Here is the output: perl listgarden.pl Can't locate ListGarden.pm in @INC (you may need

Re: Is perl still the No.1 language for sysadmin?

2023-04-10 Thread Tom Dial
On 4/8/23 08:19, Emanuel Berg wrote: Tom Dial wrote: Look at the use of parentheses in Lisp [...] I have thought about that - is Lisp possible without them? But how do you then know priority? I'm sure someone tried to get rid of them, but how? Its quite a few years since I had anything t

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
Andrew M.A. Cater wrote: > You don't want to believe that - Epimenides the Cretan > asserts that "all Cretans are liars" Face it, the Greek invented it, the Italians (Romans) perfected/spread it ... All honor to diplomacy, you are not going to expect me to say anything else, I think our advantag

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
Stefan Monnier wrote: I usually taunt people with "All generalizations suck". >>> >>> Can't it be the exception to confirm the rule? >> >> There is a barber in Crete who shaves all men who don't >> shave themselves > > You're just pointing out that *impredicative* > generalizations suck even

Re: my immature thoughts on perl

2023-04-09 Thread Andrew M.A. Cater
On Sun, Apr 09, 2023 at 11:18:14AM -0400, Stefan Monnier wrote: > >> > I usually taunt people with "All generalizations suck". > >> Can't it be the exception to confirm the rule? > > There is a barber in Crete who shaves all men who don't > > shave themselves [1]. > You don't want to believe that

Re: my immature thoughts on perl

2023-04-09 Thread Stefan Monnier
>> > I usually taunt people with "All generalizations suck". >> Can't it be the exception to confirm the rule? > There is a barber in Crete who shaves all men who don't > shave themselves [1]. You're just pointing out that *impredicative* generalizations suck even more than the rest. Ste

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
tomas wrote: > There is a barber in Crete who shaves all men who don't > shave themselves [1] > https://en.wikipedia.org/wiki/Barber_paradox Yeah, but that isn't really a paradox, is it? It's like all the programs that will increase inflation :) -- underground experts united https://dataswamp.

Re: my immature thoughts on perl

2023-04-08 Thread tomas
On Sat, Apr 08, 2023 at 02:37:56PM +0200, Emanuel Berg wrote: > tomas wrote: > > >>> Perl is the best language, maybe Lisp is the best > >>> language. But everything else isn't as good. > >> > >> Every categorical generalisation is wrong. (E

Re: my immature thoughts on perl

2023-04-08 Thread tomas
On Sat, Apr 08, 2023 at 06:08:31AM +, davidson wrote: [...] > Clippy 2.0 has a hype train, and my BS detector is blazing like a > forest fire. Thank you for that one: "ChatGPT: Clippy Strikes Back". Cheers -- t signature.asc Description: PGP signature

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Max Nikulin
On 08/04/2023 23:20, Greg Wooledge wrote: One of the basic goals of structured programming languages was to eliminate reliance on line numbers -- which were the hallmark of many other languages in use at the time. or reliance on labels (represented by numbers) for goto destination as in early

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread John Conover
Andy Smith writes: > > It is almost as if one small set of metrics aren't enough to decide, > for everyone, in every case, which language should be used! > > Similarly, the idea posted in this thread to objectively quantify > every feature a language can possibly have and then see which one > has

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Andy Smith
Hello, On Mon, Apr 03, 2023 at 08:20:36PM +0200, Thomas Schmitt wrote: > 1.00 is best, higher numbers indicate wastefulness. > > C has 1.00 for energy consumption and for processing time. > For memory needs it's at rank 3 with 1.17. > Perl has 79.58 for energy (rank 27 of

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
rhkramer wrote: >> I was never a fan of Dijkstra's "Go To Statement Considered >> Harmful" and perceive modern spaghetti inheritence as more >> obscure than any goto noodling. > > Good point! But that's not modern :) -- underground experts united https://dataswamp.org/~incal

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread rhkramer
On Saturday, April 08, 2023 01:44:48 PM Thomas Schmitt wrote: > I was never a fan of Dijkstra's "Go To Statement Considered Harmful" > and perceive modern spaghetti inheritence as more obscure than any goto > noodling. Good point! -- rhk (sig revised 20230312 -- modified first paragraph, some

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > Yes, "structured programming" was the term used. Structured > programming uses functions, while loops, if/then/else statements, and > so on, instead of "GOTO 1230" type commands, to control a program's flow. Like with Rocky Mountain BASIC of HP 9000 machines in contras

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
>>> Ha, but can't we do better, I would like all the >>> properties (stuff possible to express and do) in >>> a programming language encoded, and then count them to >>> determine what language is the most powerful. >> >> We know that except for some particularly limited >> languages, they'll all mu

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
> Yes, "structured programming" was the term used. > Structured programming uses functions, while loops, > if/then/else statements, and so on, instead of "GOTO 1230" > type commands, to control a program's flow. > > One of the basic goals of structured programming languages > was to eliminate relia

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
Stefan Monnier wrote: >> Ha, but can't we do better, I would like all the properties >> (stuff possible to express and do) in a programming >> language encoded, and then count them to determine what >> language is the most powerful. > > We know that except for some particularly limited languages,

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Greg Wooledge wrote: > Yes, "structured programming" was the term used. > Structured programming uses functions, while loops, > if/then/else statements, and so on, instead of "GOTO 1230" > type commands, to control a program's flow. > > One of the basic goals of structured programming languages >

Re: my immature thoughts on perl

2023-04-08 Thread Stefan Monnier
> Ha, but can't we do better, I would like all the properties > (stuff possible to express and do) in a programming language > encoded, and then count them to determine what language is the > most powerful. We know that except for some particularly limited languages, they'll all mutually equivalen

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Greg Wooledge
On Sat, Apr 08, 2023 at 10:23:15AM -0400, rhkra...@gmail.com wrote: > My first language was Algol, a language that wrote out keywords and such so > that it was easier to understand (for me) what a given program was doing. It > was also structured (if that is the right word), having things like g

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
davidson wrote: > On Sat, 8 Apr 2023 Emanuel Berg wrote: > >> Tom Dial wrote: >> > Look at the use of parentheses in Lisp [...] I have thought about that - is Lisp possible without them? But how do you then know priority? I'm sure someone tried to get rid of them, but how?

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Jeffrey Walton wrote: > Here are three more data points. > >* Emacs - 41 CVEs since 2000 [1] >* Vi - 61 CVEs since 1999 [2] >* Vim - 656 CVEs since 2001 [3] > > I'm not sure how many CVEs overlap for Vim due to Vi. Hm ... what does this stat indicate? :O Haha why do Vim has so many?

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
Andy Smith wrote: > That is, why are you asking people to convince you to like > Perl? There are lots of languages and you appear to have > found one you like better. Maybe there is no answer in particular why Perl has it's trajectory. Maybe it can't be expressed in a formula.

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Stefan Monnier wrote: >> Here are three more data points. >> >>* Emacs - 41 CVEs since 2000 [1] >>* Vi - 61 CVEs since 1999 [2] >>* Vim - 656 CVEs since 2001 [3] >> >> I'm not sure how many CVEs overlap for Vim due to Vi. > > I don't know what the number of CVEs tells us about > a proj

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
ainly far more proficient than I, but one of the things > that ultimately drove me from Perl to Python is the striking > contrast between Perl's TIMTOWTDI with Python's "There > should be one -- and preferably only one -- obvious way to > do it." Maybe good programme

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread davidson
On Sat, 8 Apr 2023 Emanuel Berg wrote: Tom Dial wrote: Look at the use of parentheses in Lisp [...] I have thought about that - is Lisp possible without them? But how do you then know priority? I'm sure someone tried to get rid of them, but how? Its quite a few years since I had anything to

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
debian-user wrote: > But cropping and ignoring the actual point of Stefan's mail > rather misses the point and insults him. Those don't work on him anyway :) -- underground experts united https://dataswamp.org/~incal

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Greg Wooledge wrote: > The word "via" appears in all three of your selections. > That makes me think that the web site is using some kind of > a "close-enough match" heuristic, and is (unhelpfully) > matching "via" as close enough to "vim". It's called the typographic attack vector ... -- under

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Jeffrey Walton wrote: > The Vim folks had a bad week this week: > https://ubuntu.com/security/notices/USN-5995-1 . There were > 30 CVEs fixed this week. What's the deal with that LOL :) -- underground experts united https://dataswamp.org/~incal

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Tom Dial wrote: >>> Look at the use of parentheses in Lisp [...] >>> >> I have thought about that - is Lisp possible without them? >> But how do you then know priority? I'm sure someone tried >> to get rid of them, but how? > > Its quite a few years since I had anything to do with Lisp, > and even

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread rhkramer
the early days of programming, languages were written based on what the language designer was familiar with (and what he did or didn't like) about those languages. Without having much familiarity with Perl, I might guess that Larry Wall was familiar with things like awk, sed, bash and such,

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Tom Dial wrote: >>> Look at the use of parentheses in Lisp [...] >> >> I have thought about that - is Lisp possible without them? >> But how do you then know priority? I'm sure someone tried >> to get rid of them, but how? > > Its quite a few years since I had anything to do with Lisp, > and even

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Joel Roth wrote: > There is a new object system being cooked up, based on > decades of experience with OO in perl and other languages. > > There is already more than enough OO goodness for me to get > my work done :-) Guys, word on the street the former OO guys at C++ don't

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Eduard Bloch wrote: > I don't think so, Sir! Python has certain advantages but the > "meaningful whitespace" is IMHO not one of them. > > That said, I have been an active Perl user ~20y ago My rule is a couple of weeks is enough to get "damaged" from it, so

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
davidson wrote: >>> Here's a bash version. It's not fast, but at least it >>> doesn't invoke perl repeatedly. (If you're going to invoke >>> perl *at all* you should simply rewrite the whole thing in >>> perl, IMHO, or at worst have a

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Greg Wooledge wrote: >>>>> I am surprised this thread has not started >>>>> a mini-flame war. >>>> >>>> We are working on it ... >>> >>> Maybe i can help by stating that Perl and Python are among >>> the largest

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Michel Verdier wrote: > #!/usr/bin/perl -w > > use strict; > > # echo $PATH | tr ':' '\n' | perl -MFile::Slurp -ne > 'chomp;@e=read_dir($_,prefix=>1); print map "$_\n",@e'|xargs file|perl -pe > 's/\S+\s+//'|grep -v 

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Greg Wooledge
On Sat, Apr 08, 2023 at 02:57:42PM +0200, Emanuel Berg wrote: > Thomas Schmitt wrote: > > >>> I am surprised this thread has not started > >>> a mini-flame war. > >> > >> We are working on it ... > > > > Maybe i can help by stating

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Thomas Schmitt wrote: >>> I am surprised this thread has not started >>> a mini-flame war. >> >> We are working on it ... > > Maybe i can help by stating that Perl and Python are among > the largest resource hogs known in the world of languages. What,

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
hon expert must be LIGHTNING! But it is still very much within bounds of reason both up and down ... Okay, guys, enough with the theory here, I'm gonna tell you the truth right now. Let's see, Python has much faster devel. Perl is cool for text, it also belongs to another world. Lisp is

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
coreyh wrote: >>> I think you should use Ruby if you like Ruby better! >> >> Perl is the best language, maybe Lisp is the best language. >> But everything else isn't as good. > > The Language Wars Are Over: ChatGPT Won > https://bourgoin.dev/posts/pr

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
tomas wrote: >>> Perl is the best language, maybe Lisp is the best >>> language. But everything else isn't as good. >> >> Every categorical generalisation is wrong. (Even this one >> :) ) > > I usually taunt people with "All generalizations s

Re: my immature thoughts on perl

2023-04-07 Thread davidson
On Sat, 8 Apr 2023 to...@tuxteam.de wrote: On Sat, Apr 08, 2023 at 07:06:28AM +0800, cor...@free.fr wrote: On 08/04/2023 03:28, Emanuel Berg wrote: Andy Smith wrote: I think you should use Ruby if you like Ruby better! Perl is the best language, maybe Lisp is the best language. But

Re: my immature thoughts on perl

2023-04-07 Thread tomas
On Sat, Apr 08, 2023 at 07:06:28AM +0800, cor...@free.fr wrote: > On 08/04/2023 03:28, Emanuel Berg wrote: > > Andy Smith wrote: > > > > > I think you should use Ruby if you like Ruby better! > > > > Perl is the best language, maybe Lisp is the best langua

Re: my immature thoughts on perl

2023-04-07 Thread tomas
On Fri, Apr 07, 2023 at 08:09:12PM +, Andrew M.A. Cater wrote: > On Fri, Apr 07, 2023 at 09:28:59PM +0200, Emanuel Berg wrote: > > Andy Smith wrote: > > > > > I think you should use Ruby if you like Ruby better! > > > > Perl is the best language, mayb

Re: Is perl still the No.1 language for sysadmin?

2023-04-07 Thread davidson
On Mon, 3 Apr 2023 Michel Verdier wrote: Le 3 avril 2023 Greg Wooledge a écrit : Here's a bash version. It's not fast, but at least it doesn't invoke perl repeatedly. (If you're going to invoke perl *at all* you should simply rewrite the whole thing in perl, IMHO, or at w

Re: my immature thoughts on perl

2023-04-07 Thread coreyh
On 08/04/2023 03:28, Emanuel Berg wrote: Andy Smith wrote: I think you should use Ruby if you like Ruby better! Perl is the best language, maybe Lisp is the best language. But everything else isn't as good. The Language Wars Are Over: ChatGPT Won https://bourgoin.dev/posts/progra

Re: my immature thoughts on perl

2023-04-07 Thread Andrew M.A. Cater
On Fri, Apr 07, 2023 at 09:28:59PM +0200, Emanuel Berg wrote: > Andy Smith wrote: > > > I think you should use Ruby if you like Ruby better! > > Perl is the best language, maybe Lisp is the best language. > But everything else isn't as good. > Every categorical g

Re: my immature thoughts on perl

2023-04-07 Thread Emanuel Berg
Andy Smith wrote: > I think you should use Ruby if you like Ruby better! Perl is the best language, maybe Lisp is the best language. But everything else isn't as good. -- underground experts united https://dataswamp.org/~incal

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Greg Wooledge
On Wed, Apr 05, 2023 at 01:39:27PM +0200, to...@tuxteam.de wrote: > On Wed, Apr 05, 2023 at 01:37:31PM +0200, Nicolas George wrote: > > Greg Wooledge (12023-04-05): > > > bash has that, too -- you just have to enable it (shopt -s globstar), > > > as it's not enabled by default. > > > > Ah, bash ha

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Nicolas George
to...@tuxteam.de (12023-04-05): > It does have <(...), too. <(…) and >(…) are quite common, =(…) is significantly rarer. Regards, -- Nicolas George

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread tomas
On Wed, Apr 05, 2023 at 01:37:31PM +0200, Nicolas George wrote: > Greg Wooledge (12023-04-05): > > bash has that, too -- you just have to enable it (shopt -s globstar), > > as it's not enabled by default. > > Ah, bash has recursive globbing, that is good to know. It does not have > glob qualifiers

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Nicolas George
Greg Wooledge (12023-04-05): > bash has that, too -- you just have to enable it (shopt -s globstar), > as it's not enabled by default. Ah, bash has recursive globbing, that is good to know. It does not have glob qualifiers nor temp file process substitution, AFAICS, though. Glob qualifiers is whe

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Greg Wooledge
On Wed, Apr 05, 2023 at 12:01:50PM +0200, Nicolas George wrote: > 2. If you are relying on nonstandard shell constructs, then go directly > for zsh and use recursive globbing and glob patterns. bash has that, too -- you just have to enable it (shopt -s globstar), as it's not enabled by default. S

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Nicolas George
Michael (12023-04-05): > out of curiosity, why not omit xargs altogether and do someting like: > > #!/bin/bash > [...] >printf '%s\0' "$d"/* > done | >while read -r -d '' line; do > [...] > > or do i miss something? 1. Your script will execute the command once per argument, xargs will ex

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Michael
On Wednesday, 5 April 2023 11:48:35 CEST, Michael wrote: or do i miss something? yes i did!!! sorry, please ignore my previous post! greetings...

Re: Is perl still the No.1 language for sysadmin?

2023-04-05 Thread Michael
On Monday, 3 April 2023 22:03:59 CEST, Greg Wooledge wrote: With this option, you can supply a stream of NUL-delimited filenames to xargs -0, and process them safely. No explosions will occur, no matter what filenames are passed. out of curiosity, why not omit xargs altogether and do someting

Re: Is perl still the No.1 language for sysadmin?

2023-04-04 Thread Celejar
in this thread are certainly far more proficient than I, but one of the things that ultimately drove me from Perl to Python is the striking contrast between Perl's TIMTOWTDI with Python's "There should be one -- and preferably only one -- obvious way to do it." Maybe good programme

Re: Is perl still the No.1 language for sysadmin?

2023-04-04 Thread local10
Apr 4, 2023, 13:40 by a...@strugglers.net: > Turns out though ChatGPT is--as virtually all ML code--written > in Python, that's at least according to Wikipedia and not too > surprising. There you go. Depending on what you make of it, > there may not come much after Python > I see, thanks. R

  1   2   3   4   5   6   7   8   9   10   >