Racket News Issue 20
Welcome to the twentieth issue of Racket News.
Unusually I am writing this issue quite late in the day (in my timezone anyway) and as I look to my notes and to everything that has happened since the last issue, it feels like there are quite a few things to mention. As usual I will do my best to touch all of the important developments of the last two weeks - if I miss something let me know and if where you are, you get this a day later, my apologies.
Grab an Americano and enjoy!
Table of Contents
- What’s New?
- Racket Around the Web
- New Releases
- Project in the Spotlight
- Featured Racket Paper
- Upcoming Meetups
What’s New?
- Release 7.5 is almost here - being tagged just over 3 hours ago but unfortunately a proper release announcement won’t make this issue.
- We mentioned in the last issue Jack Firth’s transducer work in the rebellion package - he is now looking for early adopters. Join in if you can help.
- I have posted the status and a proposal for the future of Racket CI to the
dev
mailing list. If you would like to help, join us on slack new#ci
room - if you’re not into slack, get in contact with me. - No updates have been made to the RacketCon webpage but after a short poll Shriram Krishnamurthi has announced on twitter a date for RacketCon 2020 celebrating 25 years of Racket: October 17–18 in Providence, RI, USA.
Racket around the web
Do you blog about Racket? Let me know!
New Releases
If you know of library releases or maybe your own libraries and you want them to be featured, please let me know.
cover-cobertura
(src/pkg) byEFanZh
provides Cobertura XML output format forcover
.diagrama
(src/pkg) by Spencer Florence is a diagram drawing library for Racket.natural-cli
(src/pkg) by Sage Gerard is a collection that helps you write non-trivial command-line interfaces (CLIs).graphics-engine
(src/pkg) by Eric Griffis is an accelerated graphics programming environment.js-voxel
(src/pkg) by Eric Griffis is a general-purpose voxel programming environment.
Project in the Spotlight
This week’s project in the spotlight is Marionette, a Racket library that lets you control Firefox via the Marionette Protocol.
From the website:
Marionette lets you control the Firefox web browser via the Marionette Protocol.
Featured Racket Paper
This issue’s featured paper is Option Contracts by Christos Dimoulas, Robert Bruce Findler, and Matthias Felleisen.
Abstract:
Many languages support behavioral software contracts so that programmers can describe a component’s obligations and promises via logical assertions in its interface. The contract system monitors program execution, checks whether the assertions hold, and, if not, blames the guilty component. Pinning down the violator gets the debugging process started in the right direction. Quality contracts impose a serious run-time cost, however, and programmers therefore compromise in many ways. Some turn off contracts for deployment, but then contracts and code quickly get out of sync during maintenance. Others test contracts randomly or probabilistically. In all cases, programmers have to cope with lack of blame information when the program eventually fails. In response, we propose option contracts as an addition to the contract tool box. Our key insight is that in ordinary contract systems, server components impose their contract on client components, giving them no choice whether to trust the server’s promises or check them. With option contracts, server components may choose to tag a contract as an option and clients may choose to exercise the option or accept it, in which case they also shoulder some responsibility. We show that option contracts permit programmers to specify flexible checking policies, that their cost is reasonable, and that they satisfy a complete monitoring theorem.
An implementation of Option Contracts is available in the package option-contract-lib
. The require incantation is (require racket/contract/option)
.
Upcoming Meetups
Do you know of any upcoming meetups I can advertise? Let me know.
Disclaimer
This issue is brought to you by Paulo Matos. Any mistakes or inaccuracies are solely mine and they do not represent the views of the PLT Team, who develop Racket.
I have also tried to survey the most relevant things that happened in Racket lang recently. If you have done something awesome, wrote a blog post or seen something that I missed - my apologies. Let me know so I can rectify it in the next issue.
Have you seen something cool related Racket? Send it in and we will feature it in the next issue.
from Hacker News https://ift.tt/2qpNe5c