Programming Leftovers
-
Adam Young: Following a code path in the Linux Kernel without a debugger
Sometimes you don’t get to use a debugger. When do bare metal development, often it is faster to get to the root of a problem by throwing in trace statements, and seeing what path is taken through the code.
-
Empowering Open Source at IBC 2023
Collabora is headed to Amsterdam! This year, we will be showcasing some of our recent work on the DAB protocol, as well as the software integration of LCEVC, MPEG's novel enhancement codec, into the GStreamer multimedia framework.
-
Holy Macroni! A recipe for progressive language enhancement
By Brent Pappas Despite its use for refactoring and static analysis tooling, Clang has a massive shortcoming: the Clang AST does not provide provenance information about which CPP macro expansions a given AST node is expanded from; nor does it lower macro expansions down to LLVM Intermediate Representation (IR) code.
-
Rakudo Weekly 2023.37 Issuing
Elizabeth Mattijsen got inspired by their work on the Raku grammar to make three problem solving issues that may affect the future of the Raku Programming Language: As usual all comments and suggestions on these issues are welcome!
-
How to Use the Python Generator Functions Howto
In Python, the generator function is similar to the normal function unless the “yield” keyword is used to return the value instead of the “return” keyword.
-
Scipy Stats Fit
The scipy.stats module is used along with several distribution functions, such as norm(), expon(), and beta(), etc., to fit the data on these distributions.
-
Python String Formatting Tutorial
The “string.format()”, “% Operator”, “f-strings”, and “String Template Class” methods are used to format a string in Python.
-
Python OS Copy
The “os.system()” method of the “os” module takes the string-type command as an argument and executes it to copy the files from one place to another.
-
Python File detach() Method
The file.detach() method in Python is used to detach the binary buffer from a TextIOBase object and returns the underlying raw stream.
-
Python AssertionError
The “assert statement” in Python is used to find errors in the code. If the statement is false, it will show an error message called “AssertionError”.