In his compelling blog post titled “On Troll Hugging, Hole Digging, and Improving Open Source Communities (How to be Better)”, Zoffix Znet describes how to make Open Source communities even better, building on Audrey Tang’s “hug a troll” concept.
…here’s a well-shaped hole. Everyone’s more connected. It’s easy to get in and start digging. And even those who dug the deepest can still go and help out those who are about to start.
The hole digging metaphor isn’t just about the shape of the hole. It’s also about people’s position within it.
He also introduces the seven Hugs for a better community:
- Gift a Shovel
- Feed The Hand That Bites You
- We All Leave Footprints
- Speak Up
- Simply a Hug
- Love Others
- Go For The Third Option
Zoffix shows in his examples that we can all learn to become better. And that he finds himself to be a lot happier because of this learning process:
…I’ve been applying the ideas I discussed in this article for about a week. I think they have something real behind them, as I feel a lot happier now than a week ago and I see some positive changes around me that I think I could attribute to these ideas
A well recommended read!
P6::Journey
Thanks to the pingback functionality, yours truly was pointed to a new blog about Rakudo Perl 6: P6::Journey by p6steve. His blog posts so far:
All yours truly can add is: Welcome to the Rakudo Perl 6 Blogoverse!
Unicode Grant update #4
Samantha McVey continued working on the Unicode support in Rakudo Perl 6 and reports on her progress in a blog post. It describes how using the Knuth-Morris-Pratt String Search Algorithm improved string searching, how looking for a single grapheme can be 9x faster in some situations, that the database is updated to Unicode 10, and that several bugs were fixed and documentation improved. Among many other things. A good read if you want to keep up-to-date in that area of Rakudo Perl 6!
Swiss Perl Workshop in review
Steve Mynott created an excellent diary-like blog-post about the Swiss Perl Workshop, with lots of pictures. Looking forward to many more of these in the future!
In related news, the videos of the Swiss Perl Workshop have been made available by Lee Johnson. The Rakudo Perl 6 related presentations for which videos were made, are:
- How does deoptimization help us go faster (slides) by Jonathan Worthington.
- A Gross Of Weeklies (slides) by Elizabeth Mattijsen.
- Grappling with ∞: High Precision Math in Rakudo Perl 6 by Cal Schwenzfeier.
- From sockets to services: reactive distributed software in Rakudo Perl 6 (slides) by Jonathan Worthington.
Other blog posts
- Plotting with Rakudo Perl 6 by Moritz Lenz.
NativeCall
, using thenative
trait correctly by Sylvain Colinet.- Handling text in Rakudo Perl 6 by sumdoc.
- Playing with Moose and FFmpeg by Wouter.
- Do any of you use Pumking Perl 5 threads? Anything to watch out for? by naive-bison.
- Hunting Documented Bugs by Wenzel P. P. Peppmeyer.
- Bug Squashathon and experimentation with
Bailador
by Lance Wicks. - Rakudo.js update – passes
56%+
of roast tests by Paweł Murias.
Other videos
Some more recent than others, but these somehow slipped through the cracks the past weeks.
- Dumping Rakudo Perl 6 by brian d foy.
- Install Rakudo Perl 6 on Ubuntu Linux 16.04.2 (outdated) by Coding in the cold.
- Sane scripting with Rakudo Perl 6 by Raphael Karpinski.
Other core developments
This week yours truly was reminded that a lot can happen in two weeks. Let me try to recap this in a way that is not overly long without letting important things fall through the cracks:
- Andrew Ruder fixed several issues with
Supply.batch
. Elizabeth Mattijsen continued on that work by making sureList
s are returned rather thanArray
s, which saves an extra copying step. - andreoss made it possible to pipe Perl 6 source code to
perl6
without having theREPL
being invoked. - Daniel Green made the handling of the
ignorecase
andignoremark
when interpolating strings into regexes, much faster thanks to the newnqp::eqatic
,nqp::eqatim
andnqp::eqaticim
opcodes added by Samantha McVey. - Jonathan Worthington did a lot of work on MoarVM, about which he will surely elaborate in a soon to be seen blog post. Meanwhile, he also made sure that
--ll-exception
flag is also honoured in the case of a brokenPromise
returned by astart
block. And he activated output buffering for non-TTY handles by default. This (and other optimizations) makes the writing a million lines benchmark only 1.2x slower than the Pumpking Perl 5 version. - Elizabeth Mattijsen made sure that you can now concatenate a string to a
Junction
, or concatenate twoJunction
s. This also implies that you can now interpolate aJunction
into a string, and thatList.join
is no longer guaranteed to return aStr
(because it will return aJunction
if one of the elements of theList
was aJunction
). - And many other fixes and improvements that aren’t not really visible yet. Such as the merging of a lot of the work that Bart Wiegmans has done on the new JIT, and the work that Timo Paulssen is doing on speeding up the MoarVM heap analyzer.
Meanwhile on FaceBook
- Jeff Goff said: 0th cut of perl6-Grammar-Common up on GitHub – https://github.com/drforr/perl6-Grammar-Common. Add
also does Grammar::Common::Expression::Infix
to your grammar, supply atoken and you get an
rule that you can drop anywhere you want a simple but complete mathematical expression. It provides both grammar rules and some simple actions to generate a basic
.ast
consisting of nested hashes that you can walk on your own, or override the provided methods and generate your own object tree. - Anushka Jodha asked: “Can we use Rakudo Perl 6 with Angular 2 like typescript and scala.js ???”. Jeff Goff answered: “Depends upon what you mean by “use” – It’s always been possible for Pumpking Perl 5 and Angular to coexist, what this project does is adds routes to
Bailador
that lets it serve your Angular 2 code. What I intend to do with this is add a Rakudo Perl 6 wrapper around whatever tool that generates the Angular 2 code which puts a Bailador route in place, then shells out to the Angular toolkit.”
Meanwhile on Twitter
- Appveyor Status Changes by Zoffix Znet.
- It’s already Saturday somewhere by Zoffix Znet.
- #perl6 squashathon now on by Zak Elep.
- 7000th commit on doc repo by Zoffix Znet.
- How to get Rakudo (revisited) by Zoffix Znet.
- perl6.vip was a plan by Zoffix Znet.
- Buffering enabled by Zoffix Znet.
Meanwhile on StackOverflow
- Thread reading interference by lisprogtor.
- Precision base(4) conversion by rx57.
split()
function adding extra chars to array by rx57.split()
on codepoints by rx57.
Meanwhile on perl6-users
- Floating point
Num
addition produces rationals? by Andy Bach. zef install --/test cro
by Norman Gaywood.- Fedora and 2017.08 by ToddAndMargo.
- JSON file parse by n6ghost.
- Thread behaviour by Marcel Timmerman.
Ecosystem Additions
- FastCGI::NativeCall::Async by Jonathan Stowe.
- Net::IP::Lite by Tom Browder.
- Net::ZMQ by Gabriel Ash.
Winding Down
Hope I didn’t miss too much this week. Please let me know if I did. Hope to see you all again next week for more Rakudo Perl 6 news!