Programming Leftovers
-
Sourceware, one of the longest standing Free Software hosting platforms, joins SFC
A news item from Software Freedom Conservancy.
Important Free Software infrastructure project finds non-profit home
As a home for Free Software projects since 1998, Sourceware is a on the Sourceware projects page.
Becoming an SFC member project will improve future operations carried out by dedicated volunteers to and furthering the mission of Free Software hosting. This will accelerate the Sourceware technical roadmap to improve and modernize the infrastructure.
-
David Humphrey: Thinking about Context
I've written recently about my work on ChatCraft.org. I've been doing a bunch of refactoring and new feature work, and things are in a pretty good state. It mostly works the way I'd expect now. Taras and Steven have filed a bunch of good ideas related to sharing, saving, and forking chats, and I've been exploring using SQLite Wasm for offline storage. But over the weekend I was thinking about something else. Not a feature exactly, but a way of thinking about the linear flow of a chat. The more I've worked with ChatCraft, the more I've learned about this form of dialog. Because a number of separate features flow from this, I thought I'd start by sketching things out in my blog instead of git.
-
Hello World Program in C++ Language
How to create a "Hello world" program in the C++ language by creating a C++ file to write a program, create a main() function, compile it, and run the code.
-
Python Float to String
To convert a Python float to the specified string the “str()” function, “f-string” method, and “repr()” function are used in Python.
-
Python Print Exception Message
The “print()” function, the “logging” module, or the “traceback” module are used along with the “try-except” block to print exception messages in Python.
-
Python Math Range Error
The math range error occurs when a mathematical calculation returns a result that exceeds the maximum value that can be stored in the computer's memory.
-
Matplotlib Colorbar
The “plt.colorbar()” function of “matplotlib” module in Python is used to add vertical or horizontal colorbar in a plot to visualize data with different colors.
-
How to Solve Python SyntaxError Can’t Assign to Function Call
“SyntaxError: Can’t Assign to Function Call '' can occur due to various reasons like incorrect use of “=” operator, or using parentheses instead of brackets.
-
Python Remove Last Character from String
To remove the last character from a string several methods such as using “List Slicing”, using “Loops”, using the “rstrip()” function, etc. are used in Python.
-
Seaborn Subplots
To create a “Seaborn” subplot various method such as using the “plt.subplots()” function and using the “seaborn.FacetGrid()” function is used in Python.
-
Check the Number of Arguments in the Bash Script
Checking the uses of the number of arguments in Bash script for various purposes such as error handling, providing messages based on the number of arguments.
-
Bash Sleep Command
How to use the Bash sleep command to stop the execution of the script for a certain period or do any scheduled task before executing a particular script.
-
Java Catch Multiple Exceptions
Practical guide on catching the multiple exceptions in Java programming using a try-catch statement and the usage of the try-catch blocks in Java programming.