Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
These notes cover how to add Dear ImGui into an existing C project using the SDL3_Renderer backend.
-
As someone who has been using Firefox Profiles for years, I was initially excited by the announcement of the new profile management feature.
-
TL;DR: To ensure SDL2 rendering is pixel perfect, you must use “nearest pixel sampling” for the render quality, and mark the process as “DPI aware” on Windows.
-
PlantUML is very useful for creating architecture diagrams using text.
-
Overview Subcarriers In order to understand frames (and their component parts), it is helpful to first have a refresher on subcarriers: A carrier is formed of multiple smaller subcarriers: The subcarrier: the building blocks of a carrier; a smaller freque…
-
TL;DR: It’s possible to generate a C stack trace in Windows with GCC, but it’s easier with MSVC or LLVM/Clang.
-
TL;DR: To add a British English dictionary for spellchecking in Firefox, first install the British English Language Pack, then install a British English Dictionary such as this one.
-
TL;DR: Beware that Android phones may silently ignore your configured MCC/MNC/slice!
-
TL;DR: To change the IP and port used by Open5GS’s WebUI, modify the service file to set HOSTNAME=x.x.x.x and PORT=yyyy for the Environment field.
-
TL;DR: The Samba share permissions are determined by the TrueNAS user.
-
TL;DR: If you want to configure Poetry to use a local virtualenv (e.g. .venv/) instead of storing the virtualenv in the cache, first you must set virtualenvs.in-project = true, second you must then re-create the virtualenv with poetry env remove <...> and…
-
TL;DR: Old versions of Valgrind detect false positive memory issues in SDL2 applications.
-
TL;DR: Instead of using sys.path.append(<path>) in init-hook to configure Pylint, use source-roots = "<path>".
-
Tl;DR: Run poetry init convert a Python script into a Poetry package, then edit the resulting pyproject.toml to define the package, entry points (scripts), dependencies and more.
-
TL;DR: To generate coverage data in CMake: enable CTest, enable debug, build and link all relevant targets with --coverage, then run ctest --test-dir build -T Coverage.
-
Unity is a test framework written in C, which is commonly used for unit testing embedded software.
-
TL;DR: If you installed Docker Desktop with a local admin account, you must manually add your (non-admin) user account to the docker-users group.
-
I have been working through the excellent Crafting Interpreters by Robert Nystrom.
-
The memory used by a C program is laid out in various segments:
-
TL;DR: Some rough notes on how I switched hosting this website from Netlify to Uberspace, and analytics from Plausible to Goatcounter.
-
TL;DR: Follow these steps to implement a post series in Hugo, just like the one at the top of this page!
-
Following is an interactive overview of OFDMA, which is used many wireless standards, including 5G NR, to enable efficient use of bandwidth for multiple users.
-
TL;DR: Dropbox on my Debian machine had stopped syncing.
-
Time for some routine maintenance.
-
To allow TCP port 12345: $ sudo ufw allow 12345/tcp
-
TL;DR: On Windows, I recommend installing Zig via Scoop, then setting up the ZLS (Zig Language Server) with VS Code.
-
TL;DR: Tried to run backup, it failed because the rsync.net username and hostname have changed.
-
To show the current Git branch in Bash, e.g.: user@host:/path/to/directory (branch_name)$
-
TL;DR: Create a map (m) in a Jupyter Notebook by calling m = explore(...) on a geopandas.GeoDataFrame.
-
I was excited today to see that Box2D v3.0 has been released.
-
TL;DR: Do not run pipx install rye.
-
It’s common to see docker run -it or docker run -itd, but what do those arguments actually mean?
-
To recursively update Git submodules: git submodule update --init --recursive
-
Prior to Python 3.12, recursive type require from __future__ import annotations: Example of a recursive type from __future__ import annotations class Something: def __init__(self, parent: Something | None) -> None: self.parent: Something | None = parent
-
In Python, there is no need to write arguments --like_this.
-
The terms Open RAN and OpenRAN are often used interchangeably, but can have different meanings depending upon the context1: Open RAN (with a space): Refers to the general concept of an open Radio Access Network (RAN) architecture, which can be disaggregat…
-
Just as Black and isort can be used to format Python code, clang-format can be used to format C/C++/C# code (and more1).
-
In these notes, we use the pytest parametrize decorator to apply marks to some values for that parameter, rather than marking the whole test.
-
Xming is a server1 that can be used to display X11 applications on a Windows machine.
-
direnv is a very simple but useful tool.
-
TL;DR: If a VM gets stuck during boot, simply pausing and resuming can get it unstuck.
-
In February 2018, I used a bit of a hack to create a global resources object by using Hugo v0.32 page resources, i.e. .Resources.Get.
-
These notes cover how to add support for code highlighting that automatically respects the user’s light☀️/dark🌑 mode configuration using pure CSS.
-
Some Poetry issues1 are fixed by upgrading pkginfo.
-
For some applications of geodesy, the Earth is modelled as an ellipsoid, since the planet bulges at the equator.
-
Since Python 3.3, the standard library has included unitest.mock, which provides utilities for mocking out parts of the system for testing.
-
It is easy to support dark mode with pure CSS.
-
These notes cover how this website switched from Pygments to Chroma for code syntax highlighting.
-
TL;DR: Backup status was showing as “Idle” even though logs indicate backups had been succeeding.
-
TL;DR: I attempt installing Coolify on Raspberry Pi OS, but it fails because my OS turns out to be 32-bit, and Coolify requires 64-bit.