News for hackers. Stuff that matters.

bdmatatu

Re:Australia/Lord_Howe is the weirdest timezone on Wednesday October 30, 2024 @07:36AM (#41993797)
> It’s not like programming languages support representing 61-second minutes anyway

Raku supports leap seconds. see https://docs.raku.org/type/Instant

Re:Escaping strings in Bash using !:q on Friday October 02, 2020 @06:22AM (#24661044)
I also like how Raku has extended this with the Q operator, allowing one to specify what should be interpolated (scalars, escape sequences, closures, etc) also with arbitrary delimiters --

   Q/I got $5 \sigh /   # literal
   Q:s/Hello $name/     # just scalars
   Q:b/hello world\n/   # just backslash escape sequences
https://docs.raku.org/syntax/Q
Re:Perl 6 Advent Calendar on Friday December 01, 2017 @01:48PM (#15826157)
In the example, the effects of "use Jolly" are restricted to the enclosing scope, e.g.

  use lib <.>; 
  { use Jolly;
    # inner scope
  }
  # TODO: this does not throw an error