Programming Leftovers

-
What is your favorite Linux scripting or programming language? | Enable Sysadmin
Of all the scripting and programming language options available to you on the Linux platform, which one is your favorite?
-
When costs are nonlinear, keep it small.
It shows Preventive Maintenance as a series of small costs. Minor repairs are a series of bigger costs, and major repairs are much bigger than that. Every maintenance delayed escalates into a minor repair and then a major repair — costs increase nonlinearly with time delay.
-
Old compilers and old bugs
The kernel project goes out of its way to facilitate building with older toolchains. Building a kernel on a new system can be enough of a challenge as it is; being forced to install a custom toolchain first would not improve the situation. So the kernel developers try to keep it possible to build the kernel with the toolchains shipped by most distributors. There are costs to this policy though, including an inability to use newer compiler features. But, as was seen in a recent episode, building with old compilers can subject developers to old compiler bugs too.
On January 5, Russell King reported on a problem he had been chasing for a long time. Some of his 64-bit Arm systems running 5.4 or later kernels would, on rare occasion, report a checksum failure on the ext4 root filesystem. It could take up to three months of uptime for the problem to manifest itself, making it, as King described it, "unrealistic to bisect". He had, however, found a way to more reliably reproduce the failure, making the task of finding out when the problem was introduced plausible, at least.
Starting with King's findings, a number of developers working in the Arm subsystem looked into the issue; their efforts seemed to point out this commit as the culprit. That change, applied in 2019, relaxed the memory barriers used around I/O accessors, optimizing accesses to I/O memory. Reverting this patch made the problem go away.
-
Callback Function in C++ – Linux Hint
A callback function is a function, which is an argument, not a parameter, in another function. The other function can be called the principal function. So two functions are involved: the principal function and the callback function itself. In the parameter list of the principal function, the declaration of the callback function without its definition is present, just as object declarations without assignment are present. The principal function is called with arguments (in main()). One of the arguments in the principal function call is the effective definition of the callback function. In C++, this argument is a reference to the definition of the callback function; it is not the actual definition. The callback function itself is actually called within the definition of the principal function.
The basic callback function in C++ does not guarantee asynchronous behavior in a program. Asynchronous behavior is the real benefit of the callback function scheme. In the asynchronous callback function scheme, the result of the principal function should be obtained for the program before the result of the callback function is obtained. It is possible to do this in C++; however, C++ has a library called future to guarantee the behavior of the asynchronous callback function scheme.
-
Regarding the closure of rt.cpan.
Let me preface this short post with this, I don't have the solution to this problem. Perhaps there is someone in the wider Perl space who is well placed to pick this up, but there seems to be little going on in terms of community engagement.
In the first week of 2021 I noticed a link to this sunset message for rt.cpan behind displayed on the rt.cpan homepage. Firstly I believe the notification on the page could be highlighted better, grey on grey, on a page with lots of grey isn't exactly eye catching.
At the time the linked article didn't contain much information, besides a date. It has since been updated with links to resources to migrate tickets elsewhere.
A reply to my post in the perlmonks news section was concerning to me, I shortly found the infrastructure working group post on topicbox (which I find no link to on any of the perl websites, or release documentation). This thread was concerning in so much as a single volunteer has decided to step back, which is of course fine, but it doesn't seem like the option of asking the wider community if anyone would be willing to step up and take it over has been explored. It doesn't even seem to be being openly discussed.
-
Perl weekly challenge 096 - Raku
-
GNU Linux Bash – script for troubleshoot long term test testing network internet connection connectivity
this script is intended for long term testing of reliability of network connection/connectivity
-
- Login or register to post comments
Printer-friendly version
- 1572 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
Rocket League Still Thriving on Steam While Delisted
As you can see from the above chart, the Rocket League community on Steam has never been as active as now, even though the game is officially delisted. The game is alive and well and continues to be receive frequent updates on Steam – and the increase of the player base through EGS has potentially made the game more enticing than ever to play online, regardless of the platform.
Wile you cannot purchase Rocket League directly on Steam anymore, it can still be obtained through third party resellers. Such third party key are selling at crazy prices, sometimes above 100 USD.
[...]
Also, this is a reminder that Rocket League still works fine on Linux even after the termination of the native port and the big Epic client update in September 2020…
| Small Image Tools that Pack a Real Punch
The spotlight usually focuses on the heavyweight Linux graphics tools such as GIMP, Shotwell, digiKam, Inkscape, and Krita. However, there are many other open source graphics tools that merit attention.
Linux offers a vast collection of open source small utilities that perform functions ranging from the obvious to the bizarre. It is the quality and selection of these tools that help Linux stand out as a productive environment. A good utility cooperates with other applications, integrating seamlessly.
Although command-line tools are very useful for updating, configuring, and repairing a system, their benefits are not only confined to system administration. The majority of the applications featured in this article are command-line tools. They are very light on system resources, fast and efficient, don’t rely on a windowing system, and are great for integrating with other applications and scripting.
The term lightweight is a label attached to computer software which is relatively simpler or faster than its counterparts. Feature bloat is endemic in software especially commercial software. Often, the easiest way to persuade users to upgrade to the latest version is to add new spangly features. This happens with open source software (to a lesser degree), and open source graphics software is not immune to feature bloat. Well, there is no feature bloat here!
To provide an insight into the quality of software that is available, we have compiled a list of small image tools that are incredibly useful.
|
Debian: Rejections, LTS Work, and Bugfixes
| Videos and Shows: KDE Community Edition PinePhone and This Week in Linux
|
Recent comments
29 min 22 sec ago
3 hours 45 min ago
4 hours 10 min ago
4 hours 15 min ago
11 hours 50 min ago
19 hours 59 min ago
20 hours 1 min ago
21 hours 2 min ago
21 hours 35 min ago
21 hours 40 min ago