💾 Archived View for news.tuxmachines.org › n › 2023 › 04 › 27 › Programming_Leftovers.gmi captured on 2023-04-27 at 07:42:09. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Tux Machines
Posted by Roy Schestowitz on Apr 27, 2023
Open Hardware Summit, LattePanda, and Raspberry Pi
Clonezilla Live 3.1 Released with Memtest86+ 6.10, Improved RAID Support
=> https://linuxhint.com/use-chrono-cpp/ ↺ How to Use Chrono in C++?
The chrono is a built-in C++ library that allows users to easily manage date and time. For more details about its use in C++, follow this guide.
=> https://linuxhint.com/php-serialize-function/ ↺ How to Use PHP serialize() Function
serialize() function can serialize an array, object, or complex data structure into a string that can be stored in a database and passed to another PHP script.
=> https://linuxhint.com/array-reverse-function-php/ ↺ How to Use array_reverse() Function in PHP
The array_reverse() can reverse the order of the elements in an array. It takes an array as its input and returns an array with elements ordered and reversed.
=> https://medevel.com/19-os-flutter-projects-samples/ ↺ 19 Free Open Source Flutter Projects and Samples
Flutter is a free and open-source UI development kit that enables developers to create iOS/Android mobile and desktop apps for macOS, Linux, and Windows using a single codebase.
=> https://linuxhint.com/use-sqlite-web-viewer-app/ ↺ How to Use SQLite Viewer Web App
SQLite Viewer Web App provides excellent features for viewing the SQLite databases online on the browser. Read this guide to learn the steps for using this tool.
=> https://linuxhint.com/introduction-to-golang-programming/ ↺ Introduction to Golang Programming Language
Golang is an open-source programming language developed by Google. Follow this article to learn in detail about this programming language.
=> https://linuxhint.com/create-empty-data-frame-r/ ↺ How to Create an Empty Data Frame R
Tutorial on the various approaches to create an empty DataFrame using the data.frame() function with specified columns in R along with practical examples.
=> https://lemire.me/blog/2023/04/26/vectorized-trimming-of-line-comments/ ↺ Vectorized trimming of line comments
A French graduate student reached out by email yesterday with the following problem. Consider a format such as TOML which has line comments: when a ‘#’ character is encountered, the rest of the line is omitted. Let us look at an example: [...]
=> https://justinblank.com/notebooks/characterizingtechdebt.html ↺ Characterizing Tech Debt
These notes focus on accurately describing what tech debt is, moreso than tactics for handling it.
=> https://maskray.me/blog/2023-04-25-compiler-output-files ↺ Compiler output files
For a GCC or Clang command, there is typically one primary output file, specified by -o or the default (a.out or a.exe). There can also be temporary files and auxiliary files.
=> https://www.r-bloggers.com/2023/04/simulated-annealing-and-logistic-regression-to-the-max/ ↺ simulated annealing and logistic regression to the max
A Riddler puzzle on the three binary and sequential questions one should ask three players hiding their respective U(0,1) realisation, U, V, and W, to best guess which player holds the largest number, max{U,V,W}. [...]
=> https://sethmlarson.dev/urllib3-2.0.0?date=2023-04-26 ↺ urllib3 v2.0.0 is now generally available
It's my honor to present the next major release of urllib3. This major release has been in progress since 2020 and will be the foundation of future improvements to the package. Everyone on our team of contributors is excited to finally share what we've accomplished with you all.
=> https://linuxhint.com/copy-table-new-database-postgres/ ↺ How to Copy a Table from One Database to Another in PostgreSQL
Tutorial on the step-by-step process on how to copy tables from one database to another in PostgreSQL using the pg_dump command along with practical examples.
=> https://blog.tomeuvizoso.net/2023/04/a-long-overdue-update.html ↺ Tomeu Vizoso: A long overdue update
Cannot believe it has been years since my last update here!
There are two things that I would like to tell people about: [...]
=> https://www.tecmint.com/best-nodejs-frameworks-for-developers/ ↺ 18 Best NodeJS Frameworks for App Development in 2023
Node.js is used to build fast, highly scalable network applications based on an event-driven non-blocking input/output model, and single-threaded asynchronous programming.
=> https://balintreczey.hu/blog/improve-build-time-of-rust-java-and-intel-fortran-projects-with-firebuilds-new-release/ ↺ Bálint Réczey: Improve build time of Rust, Java and Intel Fortran projects with Firebuild’s new release!
Firebuild’s latest release incorporated more than 100 changes just from the last two months. They unlocked acceleration of Rust builds with Cargo, fixed Firebuild to work with the latest Java update that slightly changed its behavior, started accelerating Intel’s Fortran compiler in addition to accelerating gfortran that was already supported and included many smaller changes improving the acceleration of other compilers and tools. If your favorite toolchain is not mentioned, there is still a good chance that it is already supported. Give Firebuild a try and tell us about your experience!
=> https://github.com/firebuild/firebuild/pull/1147 ↺ fixed
=> https://balintreczey.hu/blog/how-to-speed-up-your-next-build-with-firebuild/ ↺ Give Firebuild a try
=> https://github.com/firebuild/firebuild/pull/1147 ↺ fixed
=> https://balintreczey.hu/blog/how-to-speed-up-your-next-build-with-firebuild/ ↺ Give Firebuild a try
=> https://blog.rust-lang.org/2023/04/25/Rustup-1.26.0.html ↺ The Rust Programming Language Blog: Announcing Rustup 1.26.0
The rustup working group is happy to announce the release of rustup version 1.26.0. Rustup is the recommended tool to install Rust, a programming language that is empowering everyone to build reliable and efficient software.
=> https://rustup.rs ↺ Rustup
=> https://www.rust-lang.org ↺ Rust
=> https://rustup.rs ↺ Rustup
=> https://www.rust-lang.org ↺ Rust
=> https://tecadmin.net/extract-substrings-using-parameter-expansion-in-bash/ ↺ How to Extract Substrings Using ${} in Bash Scripts
Bash (Bourne Again SHell) is a popular shell scripting language, especially in the Linux and Unix world. One of the most common tasks in shell scripting is manipulating strings, including extracting substrings from a given string.
=> https://tecadmin.net/bash-exit-on-error/ ↺ A Comprehensive Guide to Exiting on Errors in Bash Scripts
Bash scripts are an essential tool for system administrators, programmers, and even regular users who want to automate repetitive tasks.
=> https://tecadmin.net/mastering-bash-exit-codes/ ↺ Mastering Bash Exit Codes: A Comprehensive Guide to Error Handling and Script Success
When working with Bash scripts, it's essential to understand exit codes and how they can improve the way you handle errors and script success. Exit codes are integer values returned by a program or script to indicate the outcome of its execution.
=> https://blog.adafruit.com/2023/04/26/circuitpython-8-1-0-beta-2-released/ ↺ CircuitPython 8.1.0 Beta 2 Released! @circuitpython
Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.
=> https://earthly.dev/blog/python-poetry/ ↺ Managing Dependencies Using Poetry in Python
Python is a versatile language used for various applications. However, managing dependencies, the packages a project relies on can be a complex and time-consuming task. With the growth of the Python ecosystem, developers need to manage a large number of packages and dependencies and ensure that they are compatible with each other.
Poetry provides a solution to these challenges. Poetry is a package manager for Python that allows developers to manage dependencies, create virtual environments, and package their projects for distribution, all using a single command-line tool.
=> https://linuxhint.com/seaborn-axis-labels/ ↺ Seaborn Axis Labels
The “axes.set()” function, Matplotlib library functions, or the “set_xlabel()” and “set_ylabel()” functions can be used to set the axes of the plot.
=> https://linuxhint.com/python-os-mkdir/ ↺ Python OS Mkdir
The “os.mkdir()” method of the “os” module is used to create a single directory, multiple directories, and nested directories in Python.
=> https://linuxhint.com/python-arguments-converted-formatting/ ↺ Python Not All Arguments Converted During String Formatting
This error can be fixed by correcting the syntax of the % operator, using the format() function instead of the % operator, and converting the str into an int.
=> https://linuxhint.com/pandas-read-csv-multiprocessing/ ↺ Pandas Read_csv Multiprocessing
To improve the data loading speed, including its benefits and limitations the “pd.read_csv()” function is used with the multiprocessing module.
=> https://linuxhint.com/python-chmod/ ↺ Python chmod
The “os.chmod()” function of the os module is used to change the ownership of the Python file by accepting the path and mode as an argument.
=> https://linuxhint.com/matplotlib-2d-histogram/ ↺ Matplotlib 2d histogram
In Python, the “plt.hist2d()” function of the “pyplot” module in the “matplotlib” library is used to plot a 2D histogram in Python.
=> https://linuxhint.com/convert-a-string-to-json-python/ ↺ Convert a String to JSON Python
The JSON module functions, the “ast” module function, or the “eval()” function is used to convert a string to JSON in Python.
=> https://linuxhint.com/seaborn-tsplot/ ↺ Seaborn Tsplot
In Python, the “seaborn.lineplot()” method is used to plot multiple lines in a single plot, customize the lines and markers, add title and axis labels, etc.