Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Aug 03, 2023

Red Hat and Fedora leftovers
Open Hardware/Modding: Arduino, Raspberry Pi, and More

Weekly report 9, LLVM-libc

↺ Weekly report 9, LLVM-libc
Hi! This week I’ve pretty much finished the work on LLVM/Clang support for Crossdev and LLVM-libc ebuild(s). I have sent PRs for Crossdev and related ebuild changes here:
https://github.com/gentoo/crossdev/pull/10 https://github.com/gentoo/gentoo/pull/32136 This PR includes changes for compiler-rt which are always needed for Clang crossdev, regardless of libc. There are also changes to musl, kernel-2.eclass (for linux-headers), and a new eclass, cross.eclass.

Firefox Developer Experience: Firefox WebDriver Newsletter — 116

↺ Firefox Developer Experience: Firefox WebDriver Newsletter — 116
WebDriver is a remote control interface that enables introspection and control of user agents. As such it can help developers to verify that their websites are working and performing well with all major browsers. The protocol is standardized by the W3C and consists of two separate specifications: WebDriver classic (HTTP) and the new WebDriver BiDi (Bi-Directional).
↺ W3C
↺ WebDriver classic
↺ WebDriver BiDi
This newsletter gives an overview of the work we’ve done as part of the Firefox 116 release cycle.
↺ W3C
↺ WebDriver classic
↺ WebDriver BiDi

Firefox Developer Experience: Firefox DevTools Newsletter — 116

↺ Firefox Developer Experience: Firefox DevTools Newsletter — 116

Firefox Developer Experience: Firefox DevTools Custom Object Formatters

↺ Firefox Developer Experience: Firefox DevTools Custom Object Formatters

Hubert Figuière: Niepce July 2023 updates

↺ Hubert Figuière: Niepce July 2023 updates
This is the July 2023 update for Niepce.
Where we left, the workspace tree view didn't display the hierarchy.
First, I discovered bug in the SQL triggers for folder path update. I was missing the AFTER keyword to have it run after the update.
[...]
For now I chose 3. The risk is that if the parent doesn't exist then the tree will stay lingering. It's just the view though.

Tkinter Text Box

↺ Tkinter Text Box
A Tkinter “text box”, one of the GUI components supported by the Python Tkinter module, is an interactive input field that allows users to enter and edit text.

Pandas Groupby Max

↺ Pandas Groupby Max
The “DataFrame.groupby()” method is used along with the “max()” function to determine the maximum value from the grouped data.

How to Add Numbers in Python

↺ How to Add Numbers in Python
The “+” operator, “operator.add()” method, user-defined function, and the “sum()” method is used to add multiple numbers in Python.

Pandas Apply() Function to Every Row

↺ Pandas Apply() Function to Every Row
In Python, the “df.apply()” function applies the specified functions, such as user-defined, lambda or Numpy functions along the axis of the input DataFrame.

ThreadPoolExecutor Python

↺ ThreadPoolExecutor Python
The “thread pool executor” in Python is a robust mechanism that efficiently manages threads, allowing developers to effectively parallelize their programs.

Pandas GroupBy Index

↺ Pandas GroupBy Index
The “groupby()” method in Python is utilized to split the Pandas DataFrame into groups based on the specified index value.

Pandas Split Columns by Delimiter

↺ Pandas Split Columns by Delimiter
In Python, the “Series.str.split()” function takes the “delimiter” and “expand=True” as an argument to split the string columns by delimiter.

How to use Python readline() function

↺ How to use Python readline() function
The “tkinter mainloop” checks for events, such as button clicks or key presses, and consequently triggers appropriate event handlers.
gemini.tuxmachines.org