ai6yr, to twitter
@ai6yr@m.ai6yr.org avatar

%s/twitter.com/x.com/g does not work as expected 😂

n1vux,
@n1vux@mastodon.radio avatar

@driusan @ai6yr

Sigh.
🖥Welcome to Scunthorpe. ⚽️😆😉👎

Modern extended RegExps include

\b word-boundary (Unicode aware when appropriate)

Failure to use it is just embarrassing. 😢

(Update your PCRE if you don't have \b yet.
Offer void in sed which only offers -E,-r ERE.👎
Grep now has -w (word match) and -P PCRE.👍
remains home of the most PCRE.)

mjgardner,
@mjgardner@social.sdf.org avatar

@n1vux @driusan @ai6yr Or as I like to say: isn’t PC

@perl

rrwo, to random
@rrwo@floss.social avatar

Next month will be the 10th anniversary of v5.20, which added experimental signatures, postderef and key/value slices.

I've installed a copy of Perl v5.20 so that I can start testing my CPAN modules with the updated syntax. (I try to support Perl versions from the past ten years.)

It'll be refreshing not to write code like it's 1999.

RogerBW, to raku
@RogerBW@emacs.ch avatar
ovid, to linux
@ovid@fosstodon.org avatar

I keep telling myself that I will never break down and add the following to my .bash_aliases file

alias mdkir=mkdir

But it's so, so tempting.

ovid,
@ovid@fosstodon.org avatar

@luap @l13u7anant

Reminds me of years ago when a new developer (switching from C++ to ) joined a team I was on. We asked him if he preferred or . He replied, "nano."

He didn't last long.

manwar, to Perl

Start your week with yet another @Perl weekly newsletter.

https://perlweekly.com/archive/662.html

mjgardner,
@mjgardner@social.sdf.org avatar

@manwar Bad news, @Perl shut down about a month ago: https://social.sdf.org/@mjgardner/112169057544724389

Please use the hashtag. Also, I've heard that @perl works but its server intentionally obscures follower counts.

mjgardner, to programming
@mjgardner@social.sdf.org avatar

@perl @rakulang It's not a question: You need to show off your favorite language with licensed and merchandise that benefits @PerlRakuFoundation.

has you covered (literally) with uniquely designed t-shirts, hoodies, sweatshirts, phone cases, drinkware, mugs, and stickers: https://the-perl-store.creator-spring.com/

And @freewear has their own set of onion, camel, and logo garments and stickers: https://www.freewear.org/PerlandRaku

ology, to random
@ology@fosstodon.org avatar

Added a visualization program to my https://metacpan.org/dist/Synth-Config module. Here's one of the simplest modular patches.

RogerBW, to raku
@RogerBW@emacs.ch avatar
cnx, to raku
@cnx@larkspur.one avatar

TFW rewriting the clipboard manager from #Raku to #Perl saved 20 times of memory :blobfoxnotlikethis: The service does literally nothing most of the time waiting for an event and keeps all states in the file system and Rakudo still manages to eat up a whooping 168 MB of RAM :floofWoozy: I really like the language but its reference (and now also only) implementation’s performance (or lack thereof) really stops me from keep using it.

BTW, fun fact: if you chop a string in Raku and Perl then concatenate their results together you get the original one :ym_rofl:

unixbhaskar, to programming
mjgardner,
@mjgardner@social.sdf.org avatar

@splatt9990 @unixbhaskar Any code that isn’t immediately discarded will be read more often than entered.

To prevent future readers, including yourself, from wanting to remove their tired eyeballs with a spoon, use https://perldoc.perl.org/English

use v5.18;
use English;

something with a regexp

say $MATCH; # not $&
say $PREMATCH; # not $`
say $POSTMATCH; # not $'

perldoc perlvar documents ’s predefined variables and “English” synonyms: https://perldoc.perl.org/perlvar#SPECIAL-VARIABLES

metacpan, to Perl
@metacpan@fosstodon.org avatar

How to automate staying connected to hotel wifi, by @peateasea.

@Perl

https://www.perl.com/article/hotel-hotspot-hijinks/

mjgardner,
@mjgardner@social.sdf.org avatar

@metacpan I’m sorry, but messages addressed to @Perl are no longer reposted to the 492 members of the Perl community that followed it on the . There is no longer any point in tagging posts with that address as the owner of https://chirp.social shut it down at the end of February.

You should continue to use the hashtag, though!

mjgardner,
@mjgardner@social.sdf.org avatar

@DrHyde @metacpan @perl I have been following @tag@relay.fedi.buzz for a while to see hashtagged posts that don’t otherwise make it to my instance.

Unfortunately, last September’s Mastodon 4.2.0 release broke the underlying service’s basic methodology (which was a questionable kludge.) The latter’s developer, @astro, has been trying to adapt and support more traditional operation. I don’t know how that’s progressed over the past several months.

nixCraft, to linux
@nixCraft@mastodon.social avatar

Besides making a sandwich, what's one thing you wish the 'sudo' command could do in real life?

ankitpati,
@ankitpati@mastodon.social avatar

@po3mah @nixCraft That’s just sudo perl

metacpan, to Perl
@metacpan@fosstodon.org avatar

Most of the MetaCPAN core devs will be attending the Perl Toolchain Summit in Lisbon next month. We plan to get a lot of work done. There is still time to come on board as a sponsor.

https://www.perl.com/article/5-reasons-to-sponsor-the-perl-toolchain-summit/

@Perl

RogerBW, to raku
@RogerBW@emacs.ch avatar
tyil, to python

Update Debian machine
It now has Python 3.11
The IRC bot running on this server now fails to start

And this is why I love more than I will ever be able to love . Especially in the 3.x series, Python stuff just breaks randomly after some updates. Its ridiculous how unreliable it is.

ovid, to random
@ovid@fosstodon.org avatar

I should change my name to #Perl Horber.

metacpan, to random
@metacpan@fosstodon.org avatar
peateasea, to random

Ever been staying at a hotel and gotten annoyed that you always have to open a browser to log in for wireless access? Yup, me too. A recent instance was particularly frustrating and I had to pull out my favourite Swiss Army chainsaw in order to make my life a bit easier.

https://peateasea.de/hotel-hotspot-hijinks/

mjgardner, to random
@mjgardner@social.sdf.org avatar

Correlation may not imply causation but it can still smack people down pretty hard.

Shot: https://social.sdf.org/@mjgardner/112125580954786791

Chaser: https://social.sdf.org/@mjgardner/112125802723575089

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@chessert Apparently not everyone was as tuned in as you were. At v5.10’s introduction I agreed with https://mastodon.social/@gruber/112125241870511100 that given and when sure looked nice and readable, and the smartmatch ~~ magic was inspired by what was then optimistically called , so it had to be okay, right?

I never got around to doing enough git blame code archaeology to determine Patient Zero while I was at that doomed company that went all-in.

DigitalEclipse, to random
@DigitalEclipse@mastodon.online avatar

All four of the Digital Eclipse Arcade games are discounted as part of the Steam Spring Sale -- satisfying single-screen throwbacks that play great on Steam Deck as well as home arcade cabinets. Get the bundle for 20% off:

https://store.steampowered.com/bundle/37834/

Invasion of the Buffet Snatchers gameplay screenshot
Jollyball gameplay screenshot
Q.P.I.D. gameplay screenshot

mjgardner,
@mjgardner@social.sdf.org avatar
jschauma, to sysadmin
@jschauma@mstdn.social avatar

Hey Fediverse! The Spring semester is about to start, and I'll be teaching System Administration again:

https://stevens.netmeister.org/615/

Topics covered include: basic operating system & filesystem concepts, software installation & package management, config management, automation, tools development, TCP/IP networking, common services, system security.

All lectures are online as free videos; if you'd like to follow along, here's the playlist for Week 1:

https://www.youtube.com/playlist?list=PLDadzdouM0VCV7tjurqM8FHY6APK9wvJl

jschauma,
@jschauma@mstdn.social avatar

In our last class, we covered from a perspective. I don't have lecture videos for that week, but here are the slides:

https://stevens.netmeister.org/615/09-writing-system-tools.pdf

We cover "scripting" vs. "programming" vs. software engineering, choosing the right tool for the job, extol the virtues of 's taint checking, lambast "clever" code, and frequently refer to F. Brooks and the Mythical Man-Month. (Yes, we could spend a whole semester on this topic, too.)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines