RogerBW, to raku
@RogerBW@emacs.ch avatar
cstross, to random
@cstross@wandering.shop avatar

May 28: Do you have advice for other authors that you haven't heard from different sources?

Yes: "there's more than one way to do it." (For almost any value of "it" that doesn't involve mathematics or formal logic.)

This is actually advice from a programmer, Larry Wall (inventor of Perl) but it applies especially strongly to writing fiction. Whatever you're trying to do, consider alternative ways of doing it.

lizmat,
@lizmat@mastodon.social avatar

@elysegrasso @resuna

FWIW, that variant is called the Raku Programming Language nowadays https://raku.org

jbzfn, to programming
@jbzfn@mastodon.social avatar

⏳ Am I too old to create a popular programming language?

"Is it too late to create a popular programming language after age 40? Let's find out!"

https://pldb.io/posts/age.html

lizmat,
@lizmat@mastodon.social avatar

@RL_Dane @jbzfn

I guess historically because Raku was named Perl 6 until October 2019?

Also: the Raku Programming Language uses the tag, as not to bother the good people doing Raku pottery.

RogerBW, to raku
@RogerBW@emacs.ch avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
oalders, to programming
@oalders@fosstodon.org avatar

I'm handling sponsorships for this year's Perl and Raku Conference. Please share this far and wide so that we can get as many new sponsors as possible. ❤️

https://www.perl.com/article/this-is-your-opportunity-to-sponsor-the-perl-and-raku-conference-2024/

#perl @perl @tag@relay.fedi.buzz #programming

sjn,
@sjn@chaos.social avatar

@oalders @perl @tag@relay.fedi.buzz

Everyone! If your depends on or please consider supporting the communities you rely on!

One good way to ensure a sustainable future for ecosystems like these, is to support active and fertile venues for learning and teaching these technologies.

Right now, you can help by supporting the Perl and Raku Conference, and later this year, the London Perl Workshop.

Is this relevant for you? Forward it to your manager! 💯

RogerBW, to raku
@RogerBW@emacs.ch avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
benjamineskola, to random
@benjamineskola@hachyderm.io avatar

Started reading ‘Modern Perl’ on the train to work the other day. was the first programming language I learned, 20 years ago now, but I’ve hardly used it in probably 15 years now.

Not yet sure what I’d use it for, though. Better shell scripts? I’d normally choose Python/Ruby for that.

profoundlynerdy,
@profoundlynerdy@bitbang.social avatar

@benjamineskola There is a very new OOP system: https://ovid.github.io/articles/the-future-of-perl.html which looks good but I haven't actually used it myself.

I work Cybersecurity, I mostly use for quick one-off scans when someone asks me, "are we vulnerable to XYZ?" when XYZ has a (mis)configuration element to it.

A lot of my hobby code is using these days as I really enjoy the language's mutability.

kate, to random
@kate@fosstodon.org avatar

If you’re designing a programming language, please consider allowing hyphens in identifiers. Hyphen-separated text (kebab-case) is more readable than camelCase, and doesn’t require use of the shift key like camelCase and snake_case. There’s no ambiguity with subtraction if you require spaces around binary operators (which every style guide I’ve ever used requires anyway).

snonux,
@snonux@fosstodon.org avatar

@kate supports it!

ovid, to javascript
@ovid@fosstodon.org avatar

I started programming in 1982. Though I'm known as a developer, I tried to remember every other languages I've programmed in.

, #C, 6809 Assembler, , VBScript (and its many variants), , , , , , , Easytrieve, and probably a few others.

I wish I had gotten a job in Prolog, primarily because I loved what I could create with it. I don't love programming; I love creating.

What are you languages?

RogerBW, to raku
@RogerBW@emacs.ch avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
profoundlynerdy, to raku
@profoundlynerdy@bitbang.social avatar

What are some underappreciated superpowers that and/or has EXCLUDING and ?

RogerBW, to raku
@RogerBW@emacs.ch avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
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

RogerBW, to raku
@RogerBW@emacs.ch avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
RogerBW, to raku
@RogerBW@emacs.ch avatar
rakulang,
@rakulang@fosstodon.org avatar

@RogerBW

Solution to 1. with shortcutting:

sub uniqueoccurrences(@a) {
@a.repeated.head =:= Nil
}

https://docs.raku.org/type/Any#method_repeated

Also note that The Raku Programming Language uses the tag, to not interfere with the good people doing Raku pottery.

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

@Perl Per @PerlRakuFoundation's announcement yesterday,* The & Conference 2024 in Las Vegas is now accepting proposals for live in-person session talks! https://tprc.us/talks

Need ideas? That page also has previous conference schedules as well as a wiki link to request topics.

New this year: a peer-reviewed track with its own process: https://science.PerlCommunity.org

samebchase, to raku
@samebchase@fantastic.earth avatar

I want to try out https://www.morling.dev/blog/one-billion-row-challenge/ in

The baseline solution in Java clocks in just under 5 seconds, so with Raku what should be a decent timing for a closest translation of that. The optimized solutions are less than 2 seconds.

What is a good time to target?

samebchase,
@samebchase@fantastic.earth avatar

Dear rakoons, what's the best way to memory map a file?

Do I need to write a C program and use NativeCall or whatever?

Even doing the equivalent of wc -l in pure Raku on a 12 G file takes far too long.

The fast solutions for the 1brc challenge, all seem to be memory mapping the file.

VZ, to raku
@VZ@fosstodon.org avatar

I really like , in theory, and would like to use it more, but whenever I have something to write, I still often end up with using for it.

Just the latest example: I had to write a simple text-wrangling script that needed UUID generation. With Perl, I used App::Fatpacker to embed UUID::Tiny to make the script runnable just about anywhere without any extra dependencies, but there is nothing like that for Raku AFAIK and it just didn't seem worth it to do something more complicated.

mjgardner,
@mjgardner@social.sdf.org avatar

@VZ @leonerd IMHO is great but it’s also a classic case of Fred Brooks’ “second-system effect”: https://archive.org/details/mythicalmanmonth00broo/page/53

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