Programming Leftovers

-
Bash Scripting: Arithmetic operations
The need to perform basic arithmetic operations is common in all types of programming, including in Bash scripts. A Linux system has multiple ways to perform arithmetic operations, and it is up to the user to decide the best method for the scenario at hand.
In this tutorial, you will learn several ways to use arithmetic operations to perform basic calculations inside of a Bash script on Linux. Check out the examples below to see how these different methods work.
-
Bash Scripting: Execute command from within the script
Bash scripts are, essentially, just a series of Linux commands that have been chained together in order to accomplish something. Depending on your code, there are a few different ways to execute commands inside the script.
In this tutorial, we will go over a few ways to execute commands from within a Bash script on a Linux system.
-
Bash Script: Hello World Example
When getting started with a new scripting or programming language, such as Bash scripting on Linux, the first thing a user learns to create is a Hello World script.
This serves as a basic introduction into Bash scripts, and gives you a simple idea of how a script is formatted in Bash. In this tutorial, we will take you through the steps to create your first Hello World Bash script on a Linux system.
It does not matter which Linux distro you are running, and you do not need any previous experience to follow along with the steps below. Let’s get started!
-
This Week In Rust: This Week in Rust 431
-
Rust 1.59.0 released [LWN.net]
Version 1.59.0 of the Rust language has been released. There are a number of new features, including support for inline assembly (in unsafe blocks, naturally), the ability to use tuples and slices on the left-hand side of an assignment, const generic defaults, and more. Incremental compilation is also disabled by default in this release to work around a known bug.
-
Announcing Rust 1.59.0 | Rust Blog
The Rust team has published a new version of Rust, 1.59.0. Rust is a programming language that is empowering everyone to build reliable and efficient software.
-
Rust compiler ambitions for 2022 (Inside Rust) [LWN.net]
The Inside Rust Blog has posted the Rust compiler team's goals for this year in the hope of encouraging others to help.
-
#36: pub/sub for live market monitoring with R and Redis
There is an saying that “you can take the boy out of the valley, but you cannot the valley out of the boy” so for those of us who spent a decade or two in finance and on trading floors, having “some” market price information available becomes second nature. And/or sometimes it is just good fun to program this.
A good while back Josh posted a gist on a simple-yet-robust while loop. It (very cleverly) uses his quantmod package to access the SP500 in “real-time”. (I use quotes here because at the end of retail broadband one is not at the same market action as someone co-located in a New Jersey data center. It is however not delayed: as an index, it is not immediately tradeable as a stock, etf, or derivative may be all of which are only disseminated as delayed price information, usually by ten minutes.) I quite enjoyed the gist and used it and started tinkering with it. For example, it collects data but only saves (i.e. “persists”) it after market close. If for whatever reason one needs to restart recent history is gone. In any event, I used his code and generalized it a little and published this about a year ago as function intradayMarketMonitor() in my dang package. (See this blog post announcing it.) The chart of the left shows this in action, the chart is a snapshot from a couple of days ago when the vignettes (more on them below) were written.
-
Oplà IoT Kit Gets Italian, Spanish, German and French Translations
A big part of the Oplà IoT Kit’s value comes from its online content. When you get the kit, one of the first tasks is to visit opla.arduino.cc, where a host of awesome resources are available.
And now it’s expanding on its usefulness by adding four new languages to the content.
-
Qt Creator 7 Beta2 released
Qt Safe Renderer 2.0 will provide a new Monitor component for improved functional safety.
-
Qt Safe Renderer – Introducing the Monitor
Qt Safe Renderer is our solution for the creation of user interfaces to safety critical systems. Available since 2017 the Qt Safe Renderer is used by multiple customers and certified for several different functional safety standards. With the upcoming version 2.0 we are introducing a new approach for validating the correct rendering of safety critical information – the Monitor.
-
Qt Installer Framework and Online Installer 4.3.0 released
We are happy to announce the Qt Installer Framework, Online Installer, and Maintenance Tool 4.3.0 releases today.
-

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