VZ, to raku

I really like #rakulang, in theory, and would like to use it more, but whenever I have something to write, I still often end up with using #perl 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, (edited ) to webdev
@mjgardner@social.sdf.org avatar

@Perl After reading https://doi.org/10.1145/3386327, I’m imagining an alternate #WebDev history where #Netscape hired #LarryWall instead of @BrendanEich. (The latter previously worked for co-founder Jim Clark at #SGI, so as always it’s who you know.)

No, I don't think we would have #Perl in our web browsers (and possibly everywhere else). But #JavaScript might have started less #Self-ish and a little more Perl-ish.

KC1PYT,

@mjgardner @Perl @BrendanEich There was a Mozilla project back in the day to migrate PHP, Python, and Perl to the browser at one point. It's a shame it didn't happen!

has some capability to do this with but you don't get access to the DOM I don't think it's a maintained part of the Raku codebase. Also sad.

snonux, to golang
@snonux@fosstodon.org avatar

I created my first mobile app in using . It's a very simple app for logging small ideas and to do tasks on my Android phone into simple text files. These are synced w/ to my Laptop. From there, a glue script adds them to my DB. I know, weird workflow. But I wanted to highlight how easy it is to build cross-platform mobile apps in Go now. Dont have to use the Android SDK.

https://codeberg.org/snonux/quicklogger

ChristosArgyrop, to python

Daughter seriously puzzled why one would create a programming language in which "almost spaces" are used to block statements. Apparently she experienced the #python FAFO during the coding class at middle school. I have no problem with this, after all #UDoU , but she is asking about #Java (introduced during the remote coding class during the first 2 years of the pandemic) & #javascript now. And this is NOT NORMAL OR OK.

mjgardner,
@mjgardner@social.sdf.org avatar

@ChristosArgyrop Daddy needs to introduce the joy of #sigils: https://raku-advent.blog/2022/12/20/sigils/ (via @codesections)

Tell her they’re like spicy #hashtags. The kids still say “spicy” these days, right?

#RakuLang #Perl #Bash #PHP #programming #coding

samebchase, to raku
@samebchase@fantastic.earth avatar

Great post featuring #rakulang while trying to explain an algorithm using which we can do mental arithmetic to generate pseudorandom numbers.

https://www.hillelwayne.com/post/randomness/

I learnt a few tricks! 👌

timClicks, (edited ) to random
@timClicks@mastodon.nz avatar

0.1 + 0.2 equals what exactly? https://youtube.com/shorts/93iUN_OuqY8

lizmat,
@lizmat@mastodon.social avatar
mjgardner, to Kotlin
@mjgardner@social.sdf.org avatar

I really appreciate today’s #PerlAdventCalendar by @jjatria: https://perladvent.org/2023/2023-12-24.html

On this #ChristmasEve, maybe the #Perl kids and the #Kotlin kids and the #Ruby kids and the #Java kids and the #Python kids and the #RakuLang kids and the #GoLang kids and the #Rust kids and the #PHP kids and the #JavaScript kids and the #Csharp kids and all the other kids I can’t fit into a #Mastodon character limit can all play and have fun with each others’ toys.

Peace on Earth, y’all. 🎁

goldstein, to raku

I solved this day of #AdventOfCode in #Rakulang, which still looks fun, until I try to actually write it and discover once again that basically every operation has some weird footguny semantics. nevertheless, I’m quite happy with the final result, which looks nice and concise.

https://github.com/GoldsteinE/aoc2023/blob/master/day13/code/main.raku

opoku, to raku

I've completed "Pipe Maze" - Day 10 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/10

As I suspected, day 10 was a doozy (especially part 2). I've always had trouble with these enclosed spaces algorithms.

https://git.sr.ht/~opoku/aoc2023/tree/main/item/day10.raku

#RakuLang

M0CUV, to raku
@M0CUV@mastodon.radio avatar

I really should try #AdventOfCode in #rakulang - I just keep reaching for Perl5 because it’s so deeply embedded.

masukomi, to raku
@masukomi@connectified.com avatar

I've been asked to write an article for the #RakuLang advent calendar this year. I have a simple tutorial idea that I think will be good for beginners, and I swear to god I spent half the effing day yesterday fighting with ORM libraries and now I'm thinking "Fuck-it. I'll just write raw SQL."

Personally, I love SQL, but it feels kinda bullshit that that's where I ended up, and it's terrible for a beginner tutorial. Never-mind the fact that dramatically complicates the amount of code I'll need.

sjn, to raku
@sjn@chaos.social avatar

I just submitted a talk to the #Perl and #RakuLang track at #FOSDEM. Deadline for submission is tomorrow (Friday Dec 1st), and it's not too late to share! 😄

https://news.perlfoundation.org/post/fosdem2024

#FOSDEM2024

rq, to random

C actually has enough staying power that I am concerned the two-digit year thing in C standard naming might become an issue as 2089 inches ever closer

mjgardner,
@mjgardner@social.sdf.org avatar

@rq @0xabad1dea Throwback to #YAPC 19100: https://yapc.org/America/previous-years/19100/

#Perl was always as “#Y2K compliant” as #C, but very naïve developers would sometimes use '19' . (localtime)[5] for the current year, thus the jokey name for the final #conference of the previous century.

It’s now called “The Perl and #RakuLang Conference” by @PerlRakuFoundation and will be in #LasVegas next June: https://tprc.us/tprc-2024-las/. See you there!

wrongdog, to programming

Revisiting after 20 years of - I built a generative language model to see what Perl is like after 20 years away.
https://youtu.be/_d3z2wVtDD8?si=iCTQCeeQgsTLFBvN

jjatria,

@wrongdog

> All of the reasons I migrated to Python are still valid today - it fits my mental model better

I think this is it. #Perl fits the way my brain works, so it's the language I reach for. I like that it doesn't feel like an obstacle, and allows me to express myself. This will be different languages for different people, and that's OK 🚀

I feel similarly towards #RakuLang, and although I'm less familiar, I liked how my brain felt in #Rust.

Thanks for the article!

WGAvanDijk, to raku
@WGAvanDijk@mastodon.social avatar

TPRF (The Perl and Raku Foundation) is organising a Raku & perl devroom at FOSDEM. Sadly, no booth for Raku & Perl. Still, plenty of interesting stands.

https://fosdem.org/2024/news/2023-11-20-accepted-stands-fosdem-2024/

#RakuLang

ovid, to random
@ovid@fosstodon.org avatar

I think desperately needs private namespaces and and classes. Thus, you could create your own internal Customer class and never worry about stepping on other people's Customer class. So many other languages have this figured out. Perl should, too.

Couple this with lexical importing to avoid transitive dependencies and you're well on your way to building more scalable systems.

mjgardner,
@mjgardner@social.sdf.org avatar

@JayT @ovid As I mentioned in another reply, does have this worked out: https://social.sdf.org/@mjgardner/111441913288155748

It’s funny, though, that has over a dozen reserved pseudo-package names and none of them are for local private namespaces: https://docs.raku.org/language/packages#Pseudo-packages

Not to throw shade, but I think they wish they had the problem of publicly-available modules stomping on private code or vice-versa.

masukomi, to raku
@masukomi@connectified.com avatar

I know it's silly, but I still get a chuckle out of the fact that my implementation of the Maybe Monad in #RakuLang is called "Definitely (Maybe)"

--

This came up because I'm making sure all my resume related stuff is up to date because I'm job hunting. ;)

CIAvash, to raku

If you're looking for a more powerful tool(and regex) than #grep, #ripgrep, …, then rak is the answer
#rak #RakuLang #CLI #LibreSoftware
App::Rak - 21st century grep / find / ack / ag / rg on steroids
https://raku.land/zef:lizmat/App::Rak

masukomi, to ruby
@masukomi@dice.camp avatar

My current contract has just ended, and I'm officially on the hunt for a new job.

If anyone needs a Tech Lead / Principle dev with boatloads of #Ruby / #RubyOnRails experience‡, hit me up.

Resume here: https://masukomi.org/resume/kay_rhodes_resume.html

‡ and a bunch of other languages you're probably not hiring for: #RakuLang, #Scheme, #Lisp, a little #Elixir

masukomi, (edited ) to ruby
@masukomi@connectified.com avatar

My current contract has just ended, and I'm officially on the hunt for a new job.

If anyone needs a Tech Lead / Principle dev with boatloads of #Ruby / #RubyOnRails experience‡, hit me up.

Resume here: https://masukomi.org/resume/kay_rhodes_resume.html

‡ and a bunch of other languages you're probably not hiring for: #RakuLang, #Scheme, #Lisp, a little #Elixir

#fedihire #fedihired #getfedihired

profoundlynerdy, to python
@profoundlynerdy@bitbang.social avatar

With #Python stealing everyone else's thunder, what makes a project a good fit for a scripting language OTHER than Python?

#Perl #Raku #Lua #Ruby #PHP #powershell #bash #programming

profoundlynerdy,
@profoundlynerdy@bitbang.social avatar

@Crell I'm actually a big fan of #Rakulang and its type system. It's incredibly flexible.

  • Types are optional.
  • Type constraints can be applied gradually.
  • Support for coercion between types is fantastic.
  • Parallelism is supported intuitively.

https://docs.raku.org/language/typesystem

I recently wrote a disassembler in it and just really enjoyed using the language.

dboehmer,

@profoundlynerdy #Perl and even more #Rakulang have unmatched #regex capabilities and #Unicode support for text processing. You can match very special text patterns, especially regarding multiple languages or scripts.

Example: find all numbers in a text in Arabic, Roman, Chinese or some other form but not in mixed scripts and with at least 3 graphemes (not characters, not codepoints, not bytes)
@Perl

me, to facepalm
@me@social.taupehat.com avatar

I love how -c told me it was OK

mjgardner,
@mjgardner@social.sdf.org avatar

@me It’s just a comment to #Perl. The same happens with #Nim, #RakuLang, #PHP, #PowerShell, #Python, #Ruby, #Rstats, #make, #Elixir, #Julia

duran, to random Portuguese
@duran@bolha.one avatar

deleted_by_author

  • Loading...
  • massa,
    @massa@hachyderm.io avatar

    @duran Regex é igual coreano: enquanto você é analfabeto, parece uma coisa de outro mundo. Quando você não é mais analfabeto, ainda é difícil e cheio de truques, mas funciona. E pro que se propõe, ainda mais.

    (aí é claro que eu faço meu comercial que existe regex, PCRE, e regex de #RakuLang, que são um nível acima rsrsrs)

    masukomi, to raku
    @masukomi@connectified.com avatar

    Just realized it's #Hacktoberfest If you're looking for a small task to help with this month maybe check out one of these:

    #ChickenScheme
    a tiny command line widget to show your progress through the day.
    https://github.com/masukomi/days_progress

    #RakuLang
    a library for making pretty tables on the command line.
    https://github.com/masukomi/Prettier-Table

    a library for making bar charts
    https://github.com/masukomi/Terminal-Graphing-BarChart

    CLI time tracking (many "good first issue" issues)
    https://github.com/masukomi/hey_3

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