today's leftovers

-
Use symbolic constants instead of magic numerical constants – EasyHack
There are many situations that you need to use numerical constants in your code. If you use numerical literal values directly instead of symbolic constants, it can cause problems. For example, consider this piece of code that calculate area of a circle:
double area = 3.14 * r * r;
This is not OK, because:
1. The value of π is not 3.14 nor 3.141592. π is an irrational number, and the suitable value depends on the number of decimal places that you can/want to use among unlimited decimals of π.
2. Suppose that you want to change the numerical literal to increase the number of decimals that you use. You should search for 3.14, and check one by one to see if it is actually π, or it is another 3.14 unrelated to the well-known mathematical constant.
-
WhiteSource Adds SBOM Tool That Lists Vulnerabilities [Ed: WhiteSource is almost a de facto Microsoft proxy [1, 2, 3]]
WhiteSource has added a software bill of materials (SBOM) tool to its portfolio that, in addition to capturing the components of an application, also surfaces vulnerabilities that should be addressed.
-
Entire Rust moderation team resigns • The Register
The Rust language community is in disarray following the resignation of the entire moderation team, citing the "structural unaccountability" of the core development team.
The moderation team, represented by Andrew Gallant, posted its resignation to GitHub yesterday, stating that it was "done in protest of the Core Team placing themselves unaccountable to anyone but themselves."
Therefore, the post goes on to explain, "we have been unable to enforce the Rust Code of Conduct [CoC] to the standards the community expects of us."
-
FSFE Calls for 'Device Neutrality' in EU's Proposed 'Digital Markets Act' - FOSS Force
In a press release issued Monday ahead of a planned preliminary vote on the EU’s proposed Digital Markets act by the Internal Market and Consumer Protection Committee, the Free Software Foundation Europe called for device neutrality to be included in the proposed law.
The German-based FSFE is a sister organization to the Free Software Foundation, although the two are legally and financially separate entities
“On the imminent voting of the Digital Markets Act – the latest EU proposal on internet platform regulation – the FSFE demands device neutrality as a fundamental element for safeguarding consumer protection in open, fair, and contestable digital markets,” the FSFE said in its statement.
-
Software Freedom Conservancy donors challenged with largest match yet - Software Freedom Conservancy
Donations will be matched (up to $159,191) thanks almost entirely to contributions by a few very generous anonymous donors. Contributions by individuals keep Software Freedom Conservancy afloat, and it's with your help that we are empowered to do the vital and sometimes overlooked work in software freedom. We also have some gracious donors who brought the amount up a little more to the prime number you see above: Chris Neugebauer and Josh Simmons, Mark Galassi, Stephen Paul Weber, Tony Sebro, and VM Brasseur are contributing to our match fund and encourage others to give as well.
-
Deepin 20.3 Run Through - Invidious
In this video, we are looking at Deepin 20.3. Enjoy!
-
Deepin 20.3
Today we are looking at Deepin 20.3. It comes with Linux Kernel 5.10 and uses about 1.5 - 1.9GB of ram when idling.
-
Crusader Kings III: Royal Court releases February 8, 2022 | GamingOnLinux
With the Crusader Kings III: Royal Court expansion, would-be monarchs will have new ways to manage courts, build nations, and display the prestige of their dynasty for everyone in the realm to see. It's now set to release on February 8, 2022.
This is the first major expansion for the game, that has gone on to receive a very warm reception from players both new and old with it seeing now over 42,000 user reviews on Steam with a Very Positive rating. We enjoyed it a lot here too, so we're also very much looking forward to this!
-
Vulkan 1.2.200 Released With Two New Extensions - Phoronix
Out today is Vulkan 1.2.200 as the newest spec revision to the Vulkan graphics/compute API.
With Vulkan 1.2.200 is the usual assortment of clarifications and corrections to this leading cross-platform graphics API. But besides that usual documentation churn, there are also two new extensions: VK_ARM_rasterization_order_attachment_access and VK_EXT_depth_clip_control.
-
Linux Prepares For Next-Gen AMD CPUs With Up To 12 CCDs - Phoronix
The latest Linux kernel patches confirm that next-gen AMD Zen processors are capable of featuring up to twelve CCDs.
Currently the k10temp Linux driver for temperature monitoring of AMD processors can handle up to eight core-complex dies (CCDs) while next-gen AMD Zen processors will have configurations up to 12 CCDs to accommodate higher core counts.
The latest Linux patches explicitly say, "The newer AMD Family 19h Models 10h-1Fh and A0h-AFh can support up to 12 CCDs. Update the driver to read up to 12 CCDs."
-

- Login or register to post comments
Printer-friendly version- 2387 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