Programming Leftovers


-
My Favorite Modules: Errno
The open or die idiom is fairly ubiquitous in Perl. To be useful, the exception should say something about what went wrong: open ... or die "Open error: $!", for example.
The $! built-in variable (a.k.a. $ERRNO or $OS_ERROR if use English; is in effect) gives you access to the C language errno variable, which through the magic of Perl interpolates an error message appropriate to the error given.
But there are times when some error analysis is in order. Fortunately, $! is a dualvar, so if you access it in numeric context rather than string context, you get the actual numeric value of the error code. But for both portability and maintainability you don't want to compare $! to a numeric literal. Thus, Errno.
-
Google’s Flutter 3 adds support for macOS and Linux desktop apps
-
Flutter 3 brings Linux and macOS apps, Material You, more - 9to5Google
Flutter, Google’s massive cross-platform app development framework, has reached version 3, bringing Material You, Linux, & macOS support, and more.
-
Python Software Foundation News: The 2022 Python Language Summit
Every year, just before the start of PyCon US, around 30 core developers, triagers, and special guests gather for the Python Language Summit: an all-day event of talks where the future direction of Python is discussed. The summit in 2022 was the first in-person summit since 2019, due to disruption caused by the coronavirus pandemic in 2020-21.
-
The 2022 Python Language Summit (PSF blog) [LWN.net]
Over on the Python Software Foundation (PSF) blog, Alex Waygood has a report from this year's Python Language Summit. There are reports from each of the nine sessions, including "Python without the GIL", The 'Faster CPython' project: 3.12 and beyond", "F-Strings in the grammar", lightning talks, and more.
-
Improved Delivery Time for Librem 5 USA: May 2022 Update
We are almost there! We have overcome a number supply chain and manufacturing challenges for the Librem 5 USA and have been steadily shipping through orders this Spring. It’s been really gratifying to hear all of the positive feedback from Librem 5 USA customers who now have their phones. Based on the current backlog of orders we project now we will hit shipping parity (that point where a new order is fulfilled within our standard 10-business-day lead time) some time in June, and as a result we’ve reduced the lead time for new Librem 5 USA orders to a conservative 60 days.
-

- Login or register to post comments
Printer-friendly version- 1711 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago