Skip to content

Last Week in Pony - November 6, 2022

Items of Note

Pony Development Sync

Audio from the November 1st, 2022 sync is available.

If you are interested in attending a Pony Development Sync, please do! We have it on Zoom specifically because Zoom is the friendliest platform that allows folks without an explicit invitation to join. Every week, a development sync reminder with full information about the sync is posted to the announce stream on the Ponylang Zulip. You can stay up-to-date with the sync schedule by subscribing to the sync calendar. We do our best to keep the calendar correctly updated.

Windows Support for Lori

The work to add support for Windows in the Lori networking library that we highlighted last week has been released.

A Nasty Little Windows Bug was Closed

This week, we discovered what looked like Windows IOCP events “getting lost”. Eventually, that was narrowed down to “IOCP timers aren’t firing”. To the much more interesting, Time.nanos can wrap around on Windows causing a timer that was previously 30 seconds to become 30 minutes and make it look like the program hung or that “a timer event got lost”.

PR #4427 has full details and you can get some background from the Zulip topic.

Office Hours

We have an open Zoom meeting every Friday for the community to get together and well, do whatever they want. In theory, Sean T. Allen “owns” the meeting and will often set an agenda. Anyone is welcome to show up and participate. Lately, the meetings have been based around the work on getting a Postgres driver working and the corresponding work on Lori. Other office hours topics have been “open support time” where more experienced community member help others diagnose bugs or otherwise, get unstuck with the Pony projects they are working. And sometimes, it is just a gab fest. And sometimes, no one shows up!

This week’s office hours was mostly Adrian Boyko watching Sean do some ponylang or related PRs and CI maintenance. It also included a bit of conversation about the “nasty little Windows bug” from above and branch prediction in “modern CPUs”.

The meeting concluded with Adrian showing Sean a demo his software defined radio that he wrote in Pony and explaining a bit about how it works.

Interested in giving attending a go? There’s a topic for that in the Zulip.

Releases

  • Version 0.5.0 of seantallen-org/lori has been released. See the release notes for more details.

Highlighted Issues

Pony is a volunteer driven project. Nothing gets down without someone volunteering their time and helping to push things forward. Yes, there are folks who dedicate more time than others and a core team that dedicates time specifically for guiding Pony’s development. Everyone’s time is limited, so each week, we highlight a couple of issues that we hope will inspire someone to volunteer their time to help fix.

In addition to our highlighted issues, you can find more that we are looking for assistance on by visiting just about any repository in the ponylang org and looking for issues labeled with “help wanted” This weeks issues as selected by Ryan A. Hagenson are:

base64 decode over allocating buffer space

encode/base64 currently over-allocates space during decoding, wasting memory in a stdlib method. Someone taking this issue will have to think carefully about edge cases and the order of multiplication/division given the size of the encoded data. There is an existing Zulip thread on the topic.

Ponyc issue #4051

Remove “person” from Type Aliases description

Our Tutorial used a Person type to introduce type aliases, however in the process we made an oversight suggesting that every person has a home. This original oversight has been fixed, but we would like to rewrite the section to use something like animal classification instead. Ryan A. Hagenson, having worked on the Tutorial and animal classification before, is willing to help anyone who wishes to jump in on this issue. (Bonus points if the rewrite include lemur classification as that is what Ryan worked with in a previous life…oddly enough that classification work is what he was doing when he discovered Pony!)

Pony tutorial issue #446

If you are interested in working on either issue or any other issue from a Ponylang repository, you can get in touch on the issue in question or even better, join us on the Ponylang Zulip strike up a conversation.

RFCs

Major changes in Pony go through a community driven process where members of the community can write up “requests for change” that detail what they think should be changed and why. RFCs can range from simple to complex. We welcome your participation.

We have two RFCs that saw activity in the past week.

The empty ranges RFC is going into its second week in “final comment period”. Some excellent points have been raised on the RFC and in all likelihood, it is either going to be adopted as a “short-term change” on the way to something larger, or, it is going to expand into something much bigger than it currently is with a large breakage radius. Lots of good stuff going on there.

The ANSI erase codes RFC was new last week and, being rather simple, has moved quickly into “final comment period”.

Final Comment Period

RFCs that are in a final comment period before they are either accepted or rejected.


Last Week In Pony is a weekly blog post to catch you up on the latest news for the Pony programming language. To learn more about Pony, check out our website, our Twitter account @ponylang, or our Zulip community.

Got something you think should be featured? There’s a GitHub issue for that! Add a comment to the open “Last Week in Pony” issue.

Interested in making a change, or keeping up with changes to Pony? Check out the RFC repo. Contributors welcome!