Paul Evans · @leonerd
333 followers · 712 posts · Server fosstodon.org


Another new module - this one to make subroutine signature parameters that are aliases of the caller's value, rather than a copy. Makes it easier to write functions that mutate the caller's arguments

metacpan.org/pod/Signature::At

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
331 followers · 710 posts · Server fosstodon.org


A small module wrapping the extended sub parser provided by XS::Parse::Sublike. Using this, code can use new experimental features such named parameters to functions.

metacpan.org/pod/Sublike::Exte

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
331 followers · 710 posts · Server fosstodon.org


A new version of (0.4.4) and its corresponding wrapper module, Tickit (0.74). These provide a modern terminal application framework.

Latest additions are support for subscript and superscript formatting attribute, and left/right horizontal mouse wheel events.

#todayiachieved #libtickit #perl

Last updated 1 year ago

Paul Evans · @leonerd
328 followers · 679 posts · Server fosstodon.org


A pop-up outline treeview of the document's structure in `sdview`, allowing quick jump scrolling to any of the headings.

metacpan.org/release/PEVANS/Ap

(hopefully this post will allow a video attachment)

#todayiachieved

Last updated 1 year ago

Paul Evans · @leonerd
327 followers · 671 posts · Server fosstodon.org


A set of development boards for the new AVR ATtiny 2-series chips. ATtiny824, ATtiny1626 and ATtiny3227. They don't make an 8pin chip in this range, so no smaller one this time. These will hopefully go up on my store in a few days

#todayiachieved #tindie

Last updated 1 year ago

Paul Evans · @leonerd
327 followers · 665 posts · Server fosstodon.org


Learning that an LM311 does not have rail-to-rail input, and won't work properly on full range signals when powered only at 5V. I think I shall need another chip instead.
Anyone got any jellybean suggestions for a 5V RRIO comparator?

#todayiachieved

Last updated 1 year ago

Paul Evans · @leonerd
327 followers · 665 posts · Server fosstodon.org


A Tickit-based viewer for my `sdview` program, rendering POD, Markdown, nroff, and possibly other document formats nicely to the terminal.

Here it is viewing its own documentation page.

#todayiachieved #perl #tickit

Last updated 1 year ago

Paul Evans · @leonerd
327 followers · 665 posts · Server fosstodon.org


A little test program (to blink an LED, talk UART and report on the GPIO pins), and a breakout board, for the new AVR ATtiny824 chip. Hopefully soon a new product to appear on my Tindie store, and a blog post to write about how to build code for these things on Debian.

#todayiachieved

Last updated 1 year ago

Paul Evans · @leonerd
324 followers · 655 posts · Server fosstodon.org


An enormous amount of debugging into ultimately a really weird core behavior. I don't quite think I want to call it a bug but it is definitely odd and needs a better approach

github.com/Perl/perl5/issues/2

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
322 followers · 649 posts · Server fosstodon.org


Reliable reading of two SPI ADCs concurrently - i.e. sampling at the same time.

I learned that a 4066 makes a terrible SPI bus multiplexer. Far better to use some 74'125s instead

Now I can read two analog signals at high speed with matched timing. This will be required for plotting IV curves.

It's here, somewhere under this messy jumble of wires.

#todayiachieved

Last updated 1 year ago

Paul Evans · @leonerd
321 followers · 644 posts · Server fosstodon.org


A driver for an ST7735 colour TFT display running on an microcontroller. What's great about mine is that I can read values back from the display, by putting the SPI controller into hiZ output to read the bizarre half-duplex IO mode this display chip uses.
(The actual colours on the display look much nicer to the eye than my phone camera can pick up)

#todayiachieved #avr #attiny

Last updated 1 year ago

Paul Evans · @leonerd
319 followers · 631 posts · Server fosstodon.org


A new module that implements another field attribute for `Object::Pad`-based classes. This one permits more generic constraint checks on values that are assigned to fields.

metacpan.org/pod/Object::Pad::

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
318 followers · 620 posts · Server fosstodon.org


Implementing code-injections in Text::Treesitter + the example highlight script. It can now render embedded POD within source, for example.

Here it is again, showing both code-folding and embedded POD within its own source code

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
318 followers · 620 posts · Server fosstodon.org


Refreshed all the Object::Pad extension attribute modules. Overall updates to the tests (to use Test2), and also use the newer `field` keyword instead of the much older and now discouraged `has`

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
318 followers · 620 posts · Server fosstodon.org


A new version of Object::Pad for , which removes the "experimental" warning from uses of field initialiser expressions that are not just constants. These are now considered a stable feature.

metacpan.org/release/PEVANS/Ob

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
318 followers · 620 posts · Server fosstodon.org


Honestly not a whole lot that was finished. I've progressed a bunch of projects but nothing that is really note-worthy yet.
But this is OK - not every day has to be something notable.

#todayiachieved

Last updated 1 year ago

Paul Evans · @leonerd
315 followers · 609 posts · Server fosstodon.org


A PR that removes the "experimental" warning from most of new the "builtin" functions in
, now that they seem tested and useful enough to declare stable.
Still currently in Draft state until we can discuss it with the new PSC, once the vote finishes.

github.com/Perl/perl5/pull/213

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
315 followers · 609 posts · Server fosstodon.org


A new release of libvterm, which incorporates a whole bunch of little bugfixes to OSC 52 and DECSM parsing. Also adds notification about focus reporting, and handles mouse buttons 6/7 for horizontal scrolling.

launchpad.net/libvterm/trunk/v

#todayiachieved

Last updated 1 year ago

Paul Evans · @leonerd
315 followers · 609 posts · Server fosstodon.org


A new keyword to be part of the `class` feature, which allows easy access to the class name of the invocant, which is accessible even early during object construction, before the `$self` is actually available. This makes class-based dispatch easily possible.

github.com/Perl/perl5/pull/213

#todayiachieved #perl

Last updated 1 year ago

Paul Evans · @leonerd
315 followers · 609 posts · Server fosstodon.org


Adding code-folding support to my highlight example script. Here it is drawing fold regions while highlighting its own source code

#todayiachieved #treesitter #perl

Last updated 1 year ago