Programming Leftovers


-
How To Install CMake on Fedora 35 - idroot
In this tutorial, we will show you how to install CMake on Fedora 35. For those of you who didn’t know, CMake is a free, open-source, and cross-platform compiler designed to build native environments, generate wrappers, build executables in arbitrary combinations. It is also designed to support complex directory hierarchies and applications dependent on several libraries.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the CMake on a Fedora 35.
-
What's coming in Go 1.18 [LWN.net]
Go 1.18, the biggest release of the Go language since Go 1.0 in March 2012, is expected to be released in February. The first beta was released in December with two features which, each on their own, would have made the release a big one. It adds support for generic types and native support for fuzz testing. In the blog post announcing the beta, core developer Russ Cox emphasized that the release "represents an enormous amount of work".
[...]
The type parameter list is surrounded by square brackets, so that it is easy to visually distinguish it from the parameter list, which is surrounded by parentheses. The valid types for a type parameter are delimited by "|" and multiple type parameters are delimited by commas.
This allows defining a generic min() that works for more than one concrete type. Above, we specified that min() takes a type parameter T which is constrained to be one of the types float32, float64, or int. The function takes two arguments, as before. These must be of the same concrete type; the return type is also the same concrete type. In other words, the program would not compile if we attempted to call min() with x being a float32 and y being a float64.
-
Updated: Dockershim Removal FAQ | Kubernetes
This is an update to the original Dockershim Deprecation FAQ article, published in late 2020.
This document goes over some frequently asked questions regarding the deprecation and removal of dockershim, that was announced as a part of the Kubernetes v1.20 release. For more detail on what that means, check out the blog post Don't Panic: Kubernetes and Docker.
Also, you can read check whether dockershim removal affects you to determine how much impact the removal of dockershim would have for you or for your organization.
As the Kubernetes 1.24 release has become imminent, we've been working hard to try to make this a smooth transition.
-
FPGA Starter Videos To Help Soften That Learning Curve | Hackaday
Digi-Key have been producing YouTube videos for a number of years now, and if you weren’t aware, they’re definitely worthy of some viewing time. The playlist we’re highlighting here is a pretty good introduction to FPGAs, specifically those supported by open source tools, with low cost hardware. If you’ve always wanted to get into hacking FPGA platforms, but don’t know where to start, this is going to be a big help. After first covering what an FPGA is and is not, and why you want to use one, [Shawn Hymel] dives in to the toolchain.
We’re really lucky that the bitstream for the Lattice iCE40 was reverse engineered by the super talented Claire (née Clifford) Wolf (AMP hour interview) which enabled the project ICEstorm toolchain to be created. Leveraging Yosys for synthesis and logic mapping, Icarus verilog coupled with GTKwave for simulation, netpnr for place and route and finally the project ICEstorm bitstream tools for packing into iCE40 format and loading onto the hardware. The whole toolchain flow is managed by APIO for simplicity, that is, provided your FPGA board is supported!
[...]
What’s nice about this Digi-Key YT series, is that it doesn’t just cover the basic toolchain flow, then drop you in at the deep end of a big learning curve. There are videos covering subjects such as finite state machines (FSMs), test-benching and simulation, using embedded (block) memories, PLLs, harder subjects like dealing with metastability and clock-domain crossing (OK, he covers one technique – there’s more than one way to skin that particular cat) before finally looking at soft cores like the RISC-V. Lots to learn, and pretty well executed if you ask us! A Github version is available, for those who can’t stand watching the videos!
-
Contextual Policies & LAN Protection (ABE Quantum) in NoScript 11.3!
ABE Quantum is the combination of Contextual Policies, one of the most requested features in NoScript's history, and LAN protection, an important "Classic" defense lost in the 2017 Quantum migration.
After years of waiting and months of hard work, this good stuff (which I personally missed a lot, too) is finally in the hands of all NoScript 11.3 users*, thanks to the precious support by the NLNet Foundation and the Next Generation Internet programme (more specifically the NGI0 PET fund).
The "ABE Quantum" nickname comes, of course, from the Application Boundary Enforcer module of NoScript Classic, which both Contextual Policies and LAN protection are in a sense a "modernized" descendant of, sacrificing some of the extreme flexibility of the original's firewall-inspired policy definition language in order to provide a simpler, more accessible and more intuitive user experience directly integrated in NoScript's main CUSTOM UI.
Speaking of ABE, I want to thank barbaz, a pillar of NoScript's community whose efforts to bring back to life ABE as a stand-alone WebExtension helped a lot also in (re)developing the WAN-to-LAN cross-zone protection, which leverages the modified iputil, DNS and AddressMatcher modules he contributed back to the NoScript Commons Library.
-
Modifying expectations!
I applied to Debian community with a particular timeline and expected it to go that way, but after starting out i realized i had alot to learn in Ruby and the codebase. So far i have worked on issues i am proud of and when i use Debci i see some of the changes i added for example the self-service form remembering values that was filled after an error message / it reloads.
[...]
I had to modify my initial expectations and my mentors have been so supportive. I hope to add more features to Debci and also write more tests. So far, it has been a great experience. Till next time!
-
How to find third-party vulnerabilities in your Java code | Enable Sysadmin
In a previous article, I showed you how to detect third-party vulnerabilities in Python. This article shows how to scan your Java code for the same issues.
-
Rust Compiler February 2022 Steering Cycle
On Friday, February 11th, the Rust Compiler team had a planning meeting for the February steering cycle.
Every fourth Friday, the Rust compiler team decides how it is going to use its scheduled steering and design meeting time over the next three Fridays.
On Friday, 18 February, we will be having a meeting to discuss the draft blog post describing the compiler team's ambitions for 2022. pnkfelix and wesleywiser have prepared the post and circulated it amongst the compiler contributors.
-
Bash Script For Listening To Online Radio - Invidious
Every few weeks, it seems like I suddenly get the urge to do some bash scripting. And today was one of those days. I was at the office and wanted to listen to some online radio, and I thought: what I need is to create a dmenu script for this!
-
Linux Whereis Command [Ed: Linux is just a kernel; this is linux-util (not kernel)]
Most users, while working on a command prompt, need to find out the location of the binary or executable of a file for a command.
In this case, find and whereis both commands can be used. But, the find command is much more time-consuming as compared to the whereis command.
-
Using the Linux host command to dig out DNS details [Ed: This is an ISC command, not “Linux"; We are not “helping” people by calling “the whole thing” just Linux. We are confusing people [1, 2].]
The Linux host command can retrieve a lot of useful information from the domain name service, but has a lot of options that you need to understand to get started.
-
Linux Process Management: The Ultimate Guide [Ed: They're conflating Linux with various tools that have nothing to do with Linux and were not made specifically for that kernel; These are the commands you can sort of almost call "Linux commands" (there are not many).]
In Linux and Unix-based operating systems, a running command instance is known as a process. You can identify each process by a unique process ID. Linux provides command-line tools to list, manage, and monitor these processes efficiently.
You can use these tools to prioritize each process or put them in the background or foreground to manage system resources efficiently.
This guide to process management in Linux includes tools such as ps, kill, renice, and other commands that assist system administrators in managing and listing processes.
-

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