Programming Leftovers
-
There is Rust in the Kernel! - Invidious
In this video I discuss the implications of the Rust programming language being used in the Linux Kernel
-
This Week In Rust: This Week in Rust 474
-
Day 23: Sigils followup: semantics and language design - Raku Advent Calendar
Until a few days ago, I’d intended for this post to be an update on the Raku persistent data structures I’m deveoping. And I have included a (very brief) status update at the end of this post. But something more pressing has come to my attention: Someone on the Internet was wrong — and that someone was me.
Specifically, in my post about sigils the other day, I significantly misdescribed the semantics that Raku applies to sigiled-variables. And – considering that the post was about sigils, the final third focused on Raku’s sigils, and much of that section discussed the semantics of those sigils – being wrong about the semantics of Raku’s sigils isn’t exactly a trivial mistake. Oops!
In partial mitigation, I’ll mention one thing: no on pointed out my incorrect description of the relevant semantics, even though the post generated over two hundred comments of discussion, most of it thoughtful. Now, it could be no one read all the way to Part 3 of a 7,000 word post (an understandable choice!). But, considering the well-known popularity of correcting people on the Internet, I view the lack of any correction as some evidence that my misunderstanding wasn’t obvious to others either. In fact, I only discovered the issue when I decided, while replying to a comment on that post, to write an an oddly-designed Raku class to illustrate the semantics I’d described; much to my suprise, it showed that I’d gotten those semantics wrong.
-
Perl Weekly Challenge 196: Pattern 132 and Range List
-
Get the window width and height in Javascript, Vanilla Javascript
The script below displays the window width and window height dimensions.
When the window is resized the window dimensions are reloaded using the window.addEventListener resize function.
We assign window.innerWidth and window.innerHeight properties to variables and then use the document.write to print the dimensions on the screen.
-
Memfault Adds Embedded Linux to IoT Device Reliability Platform
Memfault, the provider of the first IoT reliability platform, announced today its platform includes full support for embedded Linux. The expansion offers cross-platform support for developers building on MCUs, Android, or embedded Linux for any hardware device for an unlimited number of devices running any use case, anywhere.
With Memfault’s IoT reliability platform, developers can solve operational challenges via fleet observability, remote debugging, and smart firmware over-the-air (OTA) management. Embedded Linux developers will now have easy access to Memfault’s device reliability engineering tools that offer product, engineering, and support teams deep insights into embedded device performance, irrespective of the hardware. Memfault’s device reliability engineering capabilities will be available across all product lines enabling teams to make product changes irrespective of device hardware and operating system with the confidence that it won’t impact their device fleets.