← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 148
  1. From lazy.nvim to vim.pack

    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.

  2. Profiling Neovim performance

    If you’re experiencing sluggishness or stuttering in Neovim, there’s a straightforward way to measure exactly what’s going on using profile.nvim.

  3. Inside a Neovim terminal, the $NVIM environment variable points to the parent Neovim’s Unix socket.

  4. 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.

  5. 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…

  6. Go is peculiar in the sense that there’s a very tight social contract between the community and the standard library.

  7. 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:

  8. Holiday update

    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.

  9. About me

    I’m a passionate and enthusiastic software developer with 15+ years of professional software engineering experience.

  10. Spring is coming, and the sun has been out a lot more.

  11. 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).

  12. I’m fortunate to work at a company which allows the use of AI, and in this case Google Gemini Advanced.

  13. Starting a blog series

    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.

  14. TV network pings There are situations where the TV loses a packet every 20-30 pings.

  15. Ghostty on macOS

    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).

  16. There are some exciting news in the Go community as of recently on how to manage tools in Go projects.

  17. I’ve been using Neovim as my daily IDE/editor for a bit more than a year now.

  18. GitHub Pages and Google

    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.

  19. This is a quickie, using the GitHub CLI and optionally some Python.

  20. 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.

  21. 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.

  22. 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.

  23. Google Calendar notes

    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”.

  24. Good morning, project!

  25. 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:

  26. Docker notes

    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:

  27. Python notes

    Exceptions Custom exception class MyError(Exception): def __init__(self, message: str | None = None) -> None: self.message = message super().

  28. Postgres notes

    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.

  29. Graphite notes

    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:

  30. GitHub Actions notes

    No double quotes Warning Never use double quotes inside ${{ ... }} as it is simply not supported.

  31. Git notes

    Sane git pull configuration The git pull command is a shorthand for git fetch followed by git merge.

  32. Datadog and custom tracing

    When using Datadog for monitoring, Datadog will only record a trace if there is an incoming request.

  33. Developing with Apple Silicon

    In software development, certain software were not designed to run on the ARM-based Apple Silicon.

  34. Installing Poetry system-wide

    I recently got some feedback (thank you @simmel, much appreciated!)

  35. A guide on how to set up debugging of Poetry in Visual Studio Code, using Pipx and Pyenv.

  36. Encoding UUIDs with base62

    This was just a fun experiment.

  37. Basically, how to set this up.

  38. Building Windows Terminal

    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.

  39. Open source licenses

    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.

  40. This is a short note on how to make a container access and control another container on the same host.

  41. Nuke gizmos to groups

    Recursively replace all gizmos in Nuke script with a group.

  42. 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.

  43. 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.

  44. Cartesian product in Python

    A cartesian product operation can return a set of “combinations” based on given values.

  45. As outlined here, Docker for Windows requires Hyper-V.

  46. Official PySide2 wheels!

    The Qt Company has released official and pip-installable PySide2 wheel snapshots!

  47. Standalone PySide2 wheels

    The Qt Company has yet to release official, standalone and pip-installable PySide2 wheels.

  48. 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.

  49. 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…

  50. Maya 2018 file size bug

    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.