Skip to content

Breaking ground on the new year

Thoughts for the week

Rushing work is the slowest way to make progress.

Exhausted after this week of work, so took a break from cycling and running. Lots of cat naps over the weekend.

Practicalli Spacemacsλ︎

I'm using a mix of Spacemacs and Neovim on MacOSX for work, so am steadily adding tweaks in the few areas where there are differences. This is mostly how environment variables work (or dont work in the case of MacOSX for apps launched from the desktop launcher, e.g. spotlight).

Neovimλ︎

Updated AstroNvim to 3.41.0 using Astronvim config, SPC p A. Many small fixes and enhancements although didnt notice anything significantly impactful.

Installed Neovim 0.9.5 by downloading the nvim.appimage from GitHub Releases page of Neovim repository.

  • Copied the downloaded file to .local/bin and rename the file to include the version number, nvim-0.9.5.appimage. -
  • Change the file to be executable, chmod u+x nvim-0.9.5.appimage.
  • Updated the .local/bin/nvim symlink to point to the new version.
  • ran nvim commmand to check neovim work without configuration
  • ran astro command to chekc neovim works with AstroNvim configuration

Upgraded successful.

Noticed I had only been using Neovim 0.9.2 on one machine, so good time to upgrade.

Building teamsλ︎

It can be challenging joining a very busy team. Blalancing the need to minimise disruption of the existing teams work with taking the teams time to enable new people to have enough knowledge to start contributing.

Identifying specific knowledge transfer topics and timeboxed meetings are an effective approach, especially when coupled with good documentation and architecture diagrams.

MacOSX environment variablesλ︎

Finally found a working approach to running desktop apps that are configured with an environment variable, e.g. Neovide GUI for Neovim with the AstroNvim configuration and Emacs with a custom location (XDG) Spacemacs user configuration.

The launchctl command can set an environment variable that will be used with GUI apps launched from the MacOSX spotlight (or similar desktop launchers).

Neovide with Astronvim config

launchctl setenv NVIM_APPNAME astronvim

Emacs with Spacemacs config

launchctl setenv SPACEMACSDIR /User/practicalli/.config/spacemacs

Adding environment variables in the user .profile or .zprofile files did not make a difference, even after a reboot of MacOSX.

GitHub statisticsλ︎

GitHub Wrapped is an online app that generates visualisation from contributions for a specific GitHub account.

GitHub Wrapped practicalli-johnny 2023 statistics visualisation

GitHub Wrapped uses GitHub Trends which can be used to create a deep dive into the GitHub API to surface metrics about code contributions.

GitHub Trends computes metrics based on your individual commits, rather than look at contributions to repositories.

Generate insights on lines written by language, repository, and time. Easily embed dynamic images into your GitHub profile to share your statistics with the world.

Create an account with GitHub Trends Then, paste this string into your Markdown content, substituting your username.

Markdown Code for GitHub trends language view

[![GitHub Trends SVG](https://api.githubtrends.io/user/svg/github-username/langs)](https://githubtrends.io)

Communicate directly with Use the GitHub Trends API to create customize cards.


Thank you.

🌐 Practical.li Website

Practical.li GitHub Org practicalli-johnny profile

@practicalli@clj.social @practical_li