Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Background I’ve been using the excellent lazy.nvim package manager for more than three years now, and I’ve been super happy with it.
-
If you’re experiencing sluggishness or stuttering in Neovim, there’s a straightforward way to measure exactly what’s going on using profile.nvim.
-
Inside a Neovim terminal, the $NVIM environment variable points to the parent Neovim’s Unix socket.
-
When working with complex Terraform expressions, such as string manipulation using regular expressions, it is often useful to test them in isolation without needing to connect to a remote backend or authenticate with a cloud provider.
-
If you’re using GitHub Pages with the official actions/upload-pages-artifact action and need to serve files from a file/folder prefixed with a period (.) sign, like the .well-known directory (e.g., for a custom Bluesky handle), you’ll hit a problem: v4 of…
-
Go is peculiar in the sense that there’s a very tight social contract between the community and the standard library.
-
Here is how you can create a pointer to a boolean in Go 1.26: // New way in Go 1.26 b := new(true) This is equivalent to the older, more verbose method:
-
Inbetween eggnog and christmas carols, I figured I’d bring a short update about things that have been on my mind that I wish to share before the new year.
-
I’m a passionate and enthusiastic software developer with 15+ years of professional software engineering experience.
-
Spring is coming, and the sun has been out a lot more.
-
I did end up dusting off my gravelbike and biked to work twice this week, which translates into biking 11 km in ~35 minutes x2 (roundtrip).
-
I’m fortunate to work at a company which allows the use of AI, and in this case Google Gemini Advanced.
-
Thorsten Ball has a great blog series called “Joy and Curiosity” over at Register Spill which celebrates the interesting and joyful parts of the week that passed by.
-
TV network pings There are situations where the TV loses a packet every 20-30 pings.
-
I got private beta access (quite late), and Ghostty is probably going to be out in its first public release any day now (update: it was released on 2024-12-26).
-
There are some exciting news in the Go community as of recently on how to manage tools in Go projects.
-
I’ve been using Neovim as my daily IDE/editor for a bit more than a year now.
-
Turns out that if you publish a blog (like I do) on GitHub pages, and you want the site to be indexed by Google, it’s not so easy.
-
This is a quickie, using the GitHub CLI and optionally some Python.
-
I’m working on a rather large project where we would want to replace a WSGI ORM with an ASGI ORM, but it’s tangled up into everything and ORM queries are executed from all over the business logic.
-
Recently, an addition to Python 3.12 might be reverted in cpython#105948, where a new json.AttrDict class could enable accessing a dict using dot notation using a json.load hook.
-
This is a short post on how you can publish wheels onto PyPi, using hatchling’s custom metadata hook, that seamlessly targets different Python interpreter versions.
-
Mobile sync with Apple Calendar Most of the time when adding a new calendar to Google Calendar, and you don’t see it showing up on your Apple calendar (iOS/iPadOS/macOS), the reason might be that the calendar is not selected for “syncing”.
-
Good morning, project!
-
Load an .env file into the environment prior to running something which requires the environment variables: Contents of the .env file MY_SUPER_SECRET_TOKEN="foo" set -a source .env set +a You can now use the variables from the .env file in scripts:
-
SSH access Make your SSH keys visible to the SSH agent: # Linux ssh-add -K # macOS ssh-add --apple-use-keychain Verify your keys are visible to the SSH agent:
-
Exceptions Custom exception class MyError(Exception): def __init__(self, message: str | None = None) -> None: self.message = message super().
-
Good practice when running SQL query in prod Have a rollback strategy For example, create a query which creates a temporary table which holds a list of ids so that this list can later be used to “roll back” changes made to other tables.
-
Combos Pull down default branch, remove merged branches gt repo sync -fr Add gt ss to restack all current stacks onto the newly pulled down default branch:
-
No double quotes Warning Never use double quotes inside ${{ ... }} as it is simply not supported.
-
Sane git pull configuration The git pull command is a shorthand for git fetch followed by git merge.
-
When using Datadog for monitoring, Datadog will only record a trace if there is an incoming request.
-
In software development, certain software were not designed to run on the ARM-based Apple Silicon.
-
I recently got some feedback (thank you @simmel, much appreciated!)
-
A guide on how to set up debugging of Poetry in Visual Studio Code, using Pipx and Pyenv.
-
This was just a fun experiment.
-
Basically, how to set this up.
-
The new Windows Terminal (codenamed “Cascadia”) was revealed at this year’s Microsoft Build conference and quickly received a lot of attention, as it addresses the decades-old terminal experience in Windows.
-
In episode 196 of the (Python) Podcast.init a very commonly discussed topic among open source programmers is covered, which I wanted to share here.
-
This is a short note on how to make a container access and control another container on the same host.
-
Recursively replace all gizmos in Nuke script with a group.
-
A recent discussion on 3DPRO sparked me to scribble down some ideas on how to somewhat painlessly distribute a Python package to be run in DCC applications such as Maya or Nuke as simply as possible.
-
The official docs on setting up an incoming webhook uses the third-party httplib2, which is not part of the Python 3.6 standard library.
-
A cartesian product operation can return a set of “combinations” based on given values.
-
As outlined here, Docker for Windows requires Hyper-V.
-
The Qt Company has released official and pip-installable PySide2 wheel snapshots!
-
The Qt Company has yet to release official, standalone and pip-installable PySide2 wheels.
-
It’s a bit tricky to deal with dates, timezones and daylight savings when you need to store dates in e.g. a database for later reading.
-
This tickles the funny bone. >>> import maya.mel as mel >>> fps = mel.eval('float $fps = `currentTimeUnitToFPS`') >>> print(fps) 24.0 Let me know in the comments below if this can be improved…
-
A very annoying bug came to light in mid-October which makes Maya 2018 binary scene files (*.mb) unreadable if they are larger than ~2 GB in size.