From d3d4cfbfa472e9a36e48e008aaad1c99c3f581fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Rom=C3=A1n?= Date: Thu, 21 Mar 2024 12:42:37 -0700 Subject: [PATCH] chore: change thecesrom to cesarcoatl --- README.md | 7 ++-- _config.yml | 10 ++--- .../2020-09-21-working-with-pyenv-on-macos.md | 6 +-- ...020-10-01-configuring-jython-in-pycharm.md | 4 +- .../2020-11-17-let-s-talk-about-ignition.md | 4 +- ...020-12-09-release-ignition-8-1-1-jython.md | 8 ++-- _posts/2020-12-09-release-ignition-8-1-1.md | 8 ++-- ...bleshooting-gpg-signed-commits-on-macos.md | 4 +- _posts/2021-04-02-ignition-8-1-4-release.md | 18 ++++----- _posts/2021-04-29-ignition-8-1-5-release.md | 2 +- ...-updating-pip-and-all-outdated-packages.md | 2 +- ...ommit-ci-and-pydocstyle-join-the-family.md | 2 +- ...nstalled-via-homebrew-to-pyenv-versions.md | 40 +++++++++---------- ...ns-learned-in-packaging-python-projects.md | 6 +-- _posts/2021-12-23-ignition-8-1-13-release.md | 32 +++++++-------- ...alling-starship-on-git-bash-for-windows.md | 10 ++--- _posts/2022-08-18-adventures-in-typing.md | 26 ++++++------ _posts/2022-12-24-welcome-again.md | 8 ++-- about.md | 2 +- index.html | 2 +- 20 files changed, 101 insertions(+), 100 deletions(-) diff --git a/README.md b/README.md index 7f0d2a1..d1b6713 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# blog.coatl.dev -[![time tracker](https://wakatime.com/badge/github/thecesrom/thecesrom.github.io.svg)](https://wakatime.com/badge/github/thecesrom/thecesrom.github.io) -[![GitHub deployments](https://img.shields.io/github/deployments/thecesrom/thecesrom.github.io/github-pages?label=github-pages)](https://blog.coatl.dev/) +# cesar.coatl.dev + +[![time tracker](https://wakatime.com/badge/github/cesarcoatl/cesarcoatl.github.io.svg)](https://wakatime.com/badge/github/cesarcoatl/cesarcoatl.github.io) +[![GitHub deployments](https://img.shields.io/github/deployments/cesarcoatl/cesarcoatl.github.io/github-pages?label=github-pages)](https://cesar.coatl.dev/) Personal blog. diff --git a/_config.yml b/_config.yml index ef315e1..552fca1 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ navbar-links: - coatl.dev: "https://github.com/coatl-dev" - ignition-api: "https://github.com/ignition-api" Projects: - - incendium: "https://github.com/thecesrom/incendium" + - incendium: "https://github.com/ignition-incendium/incendium" # --- Logo --- # @@ -40,9 +40,9 @@ round-avatar: true # Uncomment the links you want to show and add your information to each one. social-network-links: email: "cesar@coatl.dev" - github: thecesrom - mastodon: fosstodon.org/@thecesrom - twitter: thecesrom + github: cesarcoatl + mastodon: fosstodon.org/@cesarcoatl + # twitter: cesarcoatl # If you want to show a link to an RSS in the footer, add the site description here. # If you don't want to show an RSS link, remove the following line. @@ -71,7 +71,7 @@ feed_show_excerpt: true feed_show_tags: true # The keywords to associate with your website, for SEO purposes -keywords: "azure,cesrom,coatl,coatl.dev,coatl-dev,__coatldev__,data,homebrew,macos,pycharm,python,sql,thecesrom,vscode" +keywords: "azure,coatl,coatl.dev,coatl-dev,__coatldev__,data,homebrew,macos,pycharm,python,sql,cesarcoatl,vscode" # --- Colours / background image --- # diff --git a/_posts/2020-09-21-working-with-pyenv-on-macos.md b/_posts/2020-09-21-working-with-pyenv-on-macos.md index 37a8a08..9a50345 100644 --- a/_posts/2020-09-21-working-with-pyenv-on-macos.md +++ b/_posts/2020-09-21-working-with-pyenv-on-macos.md @@ -105,7 +105,7 @@ pyenv install 3.9.5 ### Installing Python 2.7 {: .box-note} -For the [Ignition](https://github.com/thecesrom/Ignition/){:target="_blank"} project I maintain, both Python 2.7.18 or Jython 2.7.1 are required. +For the [Ignition](https://github.com/cesarcoatl/Ignition/){:target="_blank"} project I maintain, both Python 2.7.18 or Jython 2.7.1 are required. So, first, I will install Python 2.7.18. @@ -148,7 +148,7 @@ Run `pyenv versions` to list all Python versions known to pyenv; an asterisk wil ```bash $ pyenv versions -* system (set by /Users/thecesrom/.pyenv/version) +* system (set by /Users/cesarcoatl/.pyenv/version) 2.7.18 3.9.5 ``` @@ -165,7 +165,7 @@ Verify your selection by running `pyenv versions`. $ pyenv versions system 2.7.18 -* 3.9.5 (set by /Users/thecesrom/.pyenv/version) +* 3.9.5 (set by /Users/cesarcoatl/.pyenv/version) ``` Alternatively, you could [specify multiple versions as global at once](https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-global-advanced){:target="_blank"}. diff --git a/_posts/2020-10-01-configuring-jython-in-pycharm.md b/_posts/2020-10-01-configuring-jython-in-pycharm.md index 844a86b..aa115d5 100644 --- a/_posts/2020-10-01-configuring-jython-in-pycharm.md +++ b/_posts/2020-10-01-configuring-jython-in-pycharm.md @@ -125,7 +125,7 @@ $ brew install coatl-dev/coatl-dev/jython@2.7.1 ==> Downloading https://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.1/jython-installer-2.7.1 ==> Downloading from https://repo1.maven.org/maven2/org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar ######################################################################## 100.0% -==> java -jar /Users/thecesrom/Library/Caches/Homebrew/downloads/558a886fedd7c18b1e12419bd4ab398b3ad7aaa902df4f5686ef3b695b89f2b9--jython-installer-2.7.1.jar -s -d /usr/local/Cellar/jython@2.7.1/2.7.1/libexec +==> java -jar /Users/cesarcoatl/Library/Caches/Homebrew/downloads/558a886fedd7c18b1e12419bd4ab398b3ad7aaa902df4f5686ef3b695b89f2b9--jython-installer-2.7.1.jar -s -d /usr/local/Cellar/jython@2.7.1/2.7.1/libexec 🍺 /usr/local/Cellar/jython@2.7.1/2.7.1: 3,785 files, 148.7MB, built in 1 minute 22 seconds ``` @@ -172,7 +172,7 @@ Type "help", "copyright", "credits" or "license" for more information. -J--add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED ``` -To test it I will be using the [jython](https://github.com/thecesrom/Ignition/tree/jython){:target="_blank"} branch of my [Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} project. +To test it I will be using the [jython](https://github.com/cesarcoatl/Ignition/tree/jython){:target="_blank"} branch of my [Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} project. And when I run the Python Console I can do the following: diff --git a/_posts/2020-11-17-let-s-talk-about-ignition.md b/_posts/2020-11-17-let-s-talk-about-ignition.md index d8d2fad..2d23215 100644 --- a/_posts/2020-11-17-let-s-talk-about-ignition.md +++ b/_posts/2020-11-17-let-s-talk-about-ignition.md @@ -11,7 +11,7 @@ date: 2020-11-17 18:55 -0800 --- I started working on [Ignition](https://inductiveautomation.com/ignition/){:target="_blank"} projects at work back in 2015 if my memory does not fail me, but back then my approach was the same I was taught during the 5-day core training. As demand for SCADA projects increased, I started looking for Python IDEs that would allow me to use either Python and/or Jython as the interpreter. After trying Eclipse + PyDev, PyCharm CE, and Visual Studio Code, I found that PyCharm fit my needs. -Since some of my scripts referenced functions from the `system` package from Ignition Scripting API, I was getting squiggly red lines letting me know that PyCharm couldn't find the referenced modules from `system`. So I decided I would recreate those functions as needed, and thinking that fellow Ignition developers could be facing something similar I decided to share with them the functions I had recreated, and so [Ignition mock scripts](https://github.com/thecesrom/Ignition-mock-scripts){:target="_blank"} was born back in December 2017; now archived and replaced by the [Ignition](https://github.com/thecesrom/Igniton){:target="_blank"} repo. +Since some of my scripts referenced functions from the `system` package from Ignition Scripting API, I was getting squiggly red lines letting me know that PyCharm couldn't find the referenced modules from `system`. So I decided I would recreate those functions as needed, and thinking that fellow Ignition developers could be facing something similar I decided to share with them the functions I had recreated, and so [Ignition mock scripts](https://github.com/cesarcoatl/Ignition-mock-scripts){:target="_blank"} was born back in December 2017; now archived and replaced by the [Ignition](https://github.com/cesarcoatl/Igniton){:target="_blank"} repo. After a year or so, the number of modules and functions on the GitHub repo did not include all of the modules and functions of the Scripting API, but that changed when I read at the [forums](https://forum.inductiveautomation.com/t/system-library-files/29773/3){:target="_blank"} someone said that my repo hadn't been updated in a while, and that did it. I decided I would try to recreate all modules and functions from Ignition Scripting API. @@ -22,7 +22,7 @@ Currently, Inductive Automation supports three different versions: 7.9, 8.0, and * 8.0: Same as above, but for version 8.0; 8.0.17 is the latest * jython: Same as `main`, but instead of using Python functions from the standard library it calls Java functions -And for previous versions, I release the source code for each Ignition release [here](https://github.com/thecesrom/Ignition/releases){:target="_blank"}. So instead of going back in time looking for a commit that contains the functions for the Ignition version in use, one could just go to releases and download the one they need. +And for previous versions, I release the source code for each Ignition release [here](https://github.com/cesarcoatl/Ignition/releases){:target="_blank"}. So instead of going back in time looking for a commit that contains the functions for the Ignition version in use, one could just go to releases and download the one they need. Working on this project I have learned some `git`, as well as how to maintain a project that some people may find useful, and finally, it has made me more appreciative of all those maintainers, sometimes unpaid. So please consider supporting them in any way you can. diff --git a/_posts/2020-12-09-release-ignition-8-1-1-jython.md b/_posts/2020-12-09-release-ignition-8-1-1-jython.md index efdeb82..5629284 100644 --- a/_posts/2020-12-09-release-ignition-8-1-1-jython.md +++ b/_posts/2020-12-09-release-ignition-8-1-1-jython.md @@ -7,13 +7,13 @@ tags: - scada date: 2020-12-09 19:22 -0800 --- -## [8.1.1-jython](https://github.com/thecesrom/Ignition/releases/tag/v8.1.1-jython){:target="_blank"} +## [8.1.1-jython](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.1-jython){:target="_blank"} -Repository: [thecesrom/Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} · Tag: [v8.1.1-jython](https://github.com/thecesrom/Ignition/releases/tag/v8.1.1-jython){:target="_blank"} · Commit: [2632b83](https://github.com/thecesrom/Ignition/commit/2632b83f78af7b69dd867371607f34d61e23accb){:target="_blank"} · Released by: [thecesrom](https://github.com/thecesrom){:target="_blank"} +Repository: [cesarcoatl/Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} · Tag: [v8.1.1-jython](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.1-jython){:target="_blank"} · Commit: [2632b83](https://github.com/cesarcoatl/Ignition/commit/2632b83f78af7b69dd867371607f34d61e23accb){:target="_blank"} · Released by: [cesarcoatl](https://github.com/cesarcoatl){:target="_blank"} ### Added -* Added a new system.roster.deleteRoster system function that can delete a roster. ([#10](https://github.com/thecesrom/Ignition/issues/10){:target="_blank"}) +* Added a new system.roster.deleteRoster system function that can delete a roster. ([#10](https://github.com/cesarcoatl/Ignition/issues/10){:target="_blank"}) --- @@ -24,4 +24,4 @@ This release has 4 assets: * Source code (zip) * Source code (tar.gz) -Visit the [release page](https://github.com/thecesrom/Ignition/releases/tag/v8.1.1-jython){:target="_blank"} to download them. +Visit the [release page](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.1-jython){:target="_blank"} to download them. diff --git a/_posts/2020-12-09-release-ignition-8-1-1.md b/_posts/2020-12-09-release-ignition-8-1-1.md index 8a00391..93ed395 100644 --- a/_posts/2020-12-09-release-ignition-8-1-1.md +++ b/_posts/2020-12-09-release-ignition-8-1-1.md @@ -7,13 +7,13 @@ tags: - scada date: 2020-12-09 19:26 -0800 --- -## [8.1.1](https://github.com/thecesrom/Ignition/releases/tag/v8.1.1){:target="_blank"} +## [8.1.1](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.1){:target="_blank"} -Repository: [thecesrom/Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} · Tag: [v8.1.1](https://github.com/thecesrom/Ignition/releases/tag/v8.1.1){:target="_blank"} · Commit: [b4c6cb7](https://github.com/thecesrom/Ignition/commit/b4c6cb72f688754d712fbb5955bcacd3c02a4a86){:target="_blank"} · Released by: [thecesrom](https://github.com/thecesrom){:target="_blank"} +Repository: [cesarcoatl/Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} · Tag: [v8.1.1](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.1){:target="_blank"} · Commit: [b4c6cb7](https://github.com/cesarcoatl/Ignition/commit/b4c6cb72f688754d712fbb5955bcacd3c02a4a86){:target="_blank"} · Released by: [cesarcoatl](https://github.com/cesarcoatl){:target="_blank"} ### Added -* Added a new system.roster.deleteRoster system function that can delete a roster. ([#10](https://github.com/thecesrom/Ignition/issues/10){:target="_blank"}) +* Added a new system.roster.deleteRoster system function that can delete a roster. ([#10](https://github.com/cesarcoatl/Ignition/issues/10){:target="_blank"}) --- @@ -24,4 +24,4 @@ This release has 4 assets: * Source code (zip) * Source code (tar.gz) -Visit the [release page](https://github.com/thecesrom/Ignition/releases/tag/v8.1.1){:target="_blank"} to download them. +Visit the [release page](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.1){:target="_blank"} to download them. diff --git a/_posts/2021-01-27-troubleshooting-gpg-signed-commits-on-macos.md b/_posts/2021-01-27-troubleshooting-gpg-signed-commits-on-macos.md index 365df94..8dac1e7 100644 --- a/_posts/2021-01-27-troubleshooting-gpg-signed-commits-on-macos.md +++ b/_posts/2021-01-27-troubleshooting-gpg-signed-commits-on-macos.md @@ -11,9 +11,9 @@ date: 2021-01-27 11:24 -0800 --- ### Introduction -I've been using GitHub for the past couple of years, but it was not until last year that my contribution activity increased. Some PRs [here](https://github.com/justinlettau/sql-source-control/pull/133) and some others [here](https://github.com/Homebrew/homebrew-cask-versions/pulls?q=is%3Apr+author%3Athecesrom) and [there](https://github.com/Homebrew/homebrew-cask/pulls?q=is%3Apr+author%3Athecesrom). +I've been using GitHub for the past couple of years, but it was not until last year that my contribution activity increased. Some PRs [here](https://github.com/justinlettau/sql-source-control/pull/133) and some others [here](https://github.com/Homebrew/homebrew-cask-versions/pulls?q=is%3Apr+author%3Acesarcoatl) and [there](https://github.com/Homebrew/homebrew-cask/pulls?q=is%3Apr+author%3Acesarcoatl). -I have created [an organization](https://github.com/coatl-dev), started [sponsoring](https://github.com/thecesrom?tab=sponsoring), and switched from HTTP to SSH following [this useful guide](https://docs.github.com/articles/generating-an-ssh-key/). +I have created [an organization](https://github.com/coatl-dev), started [sponsoring](https://github.com/cesarcoatl?tab=sponsoring), and switched from HTTP to SSH following [this useful guide](https://docs.github.com/articles/generating-an-ssh-key/). But yesterday a user's commit `Verified` label caught my attention, so I decided to grab a cup of coffee and learn about [managing commit signature verification](https://docs.github.com/articles/generating-a-gpg-key/), and after following all the necessary steps I was able to generate my GPG key and upload it to GitHub, but there was an issue, which is the main topic of this post. diff --git a/_posts/2021-04-02-ignition-8-1-4-release.md b/_posts/2021-04-02-ignition-8-1-4-release.md index 85347b3..9cbc6af 100644 --- a/_posts/2021-04-02-ignition-8-1-4-release.md +++ b/_posts/2021-04-02-ignition-8-1-4-release.md @@ -7,15 +7,15 @@ tags: - scada date: 2021-04-02 18:10 -0700 --- -This release is for Ignition [8.1.4](#814httpsgithubcomthecesromignitionreleasestagv814target_blank), and [8.1.4-jython](#814-jythonhttpsgithubcomthecesromignitionreleasestagv814-jythontarget_blank). +This release is for Ignition [8.1.4](#814httpsgithubcomcesarcoatlignitionreleasestagv814target_blank), and [8.1.4-jython](#814-jythonhttpsgithubcomcesarcoatlignitionreleasestagv814-jythontarget_blank). -## [8.1.4](https://github.com/thecesrom/Ignition/releases/tag/v8.1.4){:target="_blank"} +## [8.1.4](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.4){:target="_blank"} -Repository: [thecesrom/Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} · Tag: [v8.1.4](https://github.com/thecesrom/Ignition/releases/tag/v8.1.4){:target="_blank"} · Commit: [b4c6cb7](https://github.com/thecesrom/Ignition/commit/b4c6cb72f688754d712fbb5955bcacd3c02a4a86){:target="_blank"} · Released by: [thecesrom](https://github.com/thecesrom){:target="_blank"} +Repository: [cesarcoatl/Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} · Tag: [v8.1.4](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.4){:target="_blank"} · Commit: [b4c6cb7](https://github.com/cesarcoatl/Ignition/commit/b4c6cb72f688754d712fbb5955bcacd3c02a4a86){:target="_blank"} · Released by: [cesarcoatl](https://github.com/cesarcoatl){:target="_blank"} ### Added -- [system.perspective.getProjectInfo](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getProjectInfo) scripting method ([#35](https://github.com/thecesrom/Ignition/issues/35){:target="_blank"}) +- [system.perspective.getProjectInfo](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getProjectInfo) scripting method ([#35](https://github.com/cesarcoatl/Ignition/issues/35){:target="_blank"}) --- @@ -25,15 +25,15 @@ This release has 3 assets: - Source code (zip) - Source code (tar.gz) -Visit the [release page](https://github.com/thecesrom/Ignition/releases/tag/v8.1.4){:target="_blank"} to download them. +Visit the [release page](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.4){:target="_blank"} to download them. -## [8.1.4-jython](https://github.com/thecesrom/Ignition/releases/tag/v8.1.4-jython){:target="_blank"} +## [8.1.4-jython](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.4-jython){:target="_blank"} -Repository: [thecesrom/Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} · Tag: [v8.1.4-jython](https://github.com/thecesrom/Ignition/releases/tag/v8.1.4-jython){:target="_blank"} · Commit: [2632b83](https://github.com/thecesrom/Ignition/commit/2632b83f78af7b69dd867371607f34d61e23accb){:target="_blank"} · Released by: [thecesrom](https://github.com/thecesrom){:target="_blank"} +Repository: [cesarcoatl/Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} · Tag: [v8.1.4-jython](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.4-jython){:target="_blank"} · Commit: [2632b83](https://github.com/cesarcoatl/Ignition/commit/2632b83f78af7b69dd867371607f34d61e23accb){:target="_blank"} · Released by: [cesarcoatl](https://github.com/cesarcoatl){:target="_blank"} ### Added -- [system.perspective.getProjectInfo](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getProjectInfo) scripting method ([#35](https://github.com/thecesrom/Ignition/issues/35){:target="_blank"}) +- [system.perspective.getProjectInfo](https://docs.inductiveautomation.com/display/DOC81/system.perspective.getProjectInfo) scripting method ([#35](https://github.com/cesarcoatl/Ignition/issues/35){:target="_blank"}) --- @@ -43,4 +43,4 @@ This release has 3 assets: - Source code (zip) - Source code (tar.gz) -Visit the [release page](https://github.com/thecesrom/Ignition/releases/tag/v8.1.4-jython){:target="_blank"} to download them. +Visit the [release page](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.4-jython){:target="_blank"} to download them. diff --git a/_posts/2021-04-29-ignition-8-1-5-release.md b/_posts/2021-04-29-ignition-8-1-5-release.md index 69e2cd4..e05632a 100644 --- a/_posts/2021-04-29-ignition-8-1-5-release.md +++ b/_posts/2021-04-29-ignition-8-1-5-release.md @@ -16,7 +16,7 @@ date: 2021-04-29 11:58 -0700 --- -Additionally I'd like to announce the release of [Ignition 8.1.5](https://github.com/thecesrom/Ignition/releases/tag/v8.1.5){:target="_blank"}, and [Ignition 8.1.5-jython](https://github.com/thecesrom/Ignition/releases/tag/v8.1.5-jython){:target="_blank"} for the [Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} GitHub repo. +Additionally I'd like to announce the release of [Ignition 8.1.5](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.5){:target="_blank"}, and [Ignition 8.1.5-jython](https://github.com/cesarcoatl/Ignition/releases/tag/v8.1.5-jython){:target="_blank"} for the [Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} GitHub repo. Feel free to clone it, fork it, or simply download the source. diff --git a/_posts/2021-05-26-the-one-liner-for-updating-pip-and-all-outdated-packages.md b/_posts/2021-05-26-the-one-liner-for-updating-pip-and-all-outdated-packages.md index dfadd9a..ef69f8c 100644 --- a/_posts/2021-05-26-the-one-liner-for-updating-pip-and-all-outdated-packages.md +++ b/_posts/2021-05-26-the-one-liner-for-updating-pip-and-all-outdated-packages.md @@ -10,7 +10,7 @@ tags: - windows date: 2021-05-26 14:59 -0700 --- -I spend most of my time working on a Windows machine for work-related projects, and for [some](https://github.com/thecesrom/Ignition){:target="_blank"} [personal](https://github.com/thecesrom/incendium){:target="_blank"} [projects](https://github.com/coatl-dev/homebrew-coatl-dev){:target="_blank"} I use my still trustworthy [MacBook Air (13-inch, Mid 2012)]({{ site.url }}/2020/09/16/creating-a-bootable-installer-for-macos){:target="_blank"}, and on both systems I spend some of my time working on the Terminal. On Windows I use the new, aptly named, [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701){:target="_blank"}, and on macOS I still use the Terminal; both with a certain level of customization, but more on that on another post. +I spend most of my time working on a Windows machine for work-related projects, and for [some](https://github.com/cesarcoatl/Ignition){:target="_blank"} [personal](https://github.com/ignition-incendium/incendium){:target="_blank"} [projects](https://github.com/coatl-dev/homebrew-coatl-dev){:target="_blank"} I use my still trustworthy [MacBook Air (13-inch, Mid 2012)]({{ site.url }}/2020/09/16/creating-a-bootable-installer-for-macos){:target="_blank"}, and on both systems I spend some of my time working on the Terminal. On Windows I use the new, aptly named, [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701){:target="_blank"}, and on macOS I still use the Terminal; both with a certain level of customization, but more on that on another post. Also, on both systems I have installed Python and some packages, which include black, flake8, isort, pipgrip, pip-autoremove, pre-commit, pydocstyle, and toml. And at some point I wondered if there was a way to update all outdated packages with one single command, so I did what every decent human being does: I asked the Internet. diff --git a/_posts/2021-06-21-pre-commit-ci-and-pydocstyle-join-the-family.md b/_posts/2021-06-21-pre-commit-ci-and-pydocstyle-join-the-family.md index d668220..374d136 100644 --- a/_posts/2021-06-21-pre-commit-ci-and-pydocstyle-join-the-family.md +++ b/_posts/2021-06-21-pre-commit-ci-and-pydocstyle-join-the-family.md @@ -16,7 +16,7 @@ First, `pre-commit.ci`. `pre-commit.ci` is ***"a continuous integration service > Developers spend a fair chunk of time during their development flow on fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered (which is opt-in for each developer's workflow via pre-commit) but also fixes the issues automatically, letting developers focus their time on more valuable problems. -I have enabled `pre-commit.ci` on two of my repos ([Ignition](https://github.com/thecesrom/Ignition){:target="_blank"} and [incendium](https://github.com/thecesrom/incendium){:target="_blank"}) and so far three PRs have been created and successfully merged. +I have enabled `pre-commit.ci` on two of my repos ([Ignition](https://github.com/cesarcoatl/Ignition){:target="_blank"} and [incendium](https://github.com/cesarcoatl/incendium){:target="_blank"}) and so far three PRs have been created and successfully merged. In order to install `pre-commit.ci`, I signed in using my GitHub account and granted access to both repos, and that was it! I had already created the `.pre-commit-config.yaml` file for `pre-commit`, and although it is not required I did add a `ci` section to that file and customize the `autoupdate_commit_msg` value to match the [Conventional Commits](https://www.conventionalcommits.org/){:target="_blank"} style I adopted back in February. Learn more about `pre-commit.ci` configuration [here](https://pre-commit.ci/#configuration){:target="_blank"}. diff --git a/_posts/2021-06-28-how-to-add-python-installed-via-homebrew-to-pyenv-versions.md b/_posts/2021-06-28-how-to-add-python-installed-via-homebrew-to-pyenv-versions.md index 54e8b30..d70ff19 100644 --- a/_posts/2021-06-28-how-to-add-python-installed-via-homebrew-to-pyenv-versions.md +++ b/_posts/2021-06-28-how-to-add-python-installed-via-homebrew-to-pyenv-versions.md @@ -32,10 +32,10 @@ So here I will share a quick guide on how I accomplished that. $ ln -sfv "$(brew --prefix python@3.9)" 3.9 $ ls -al total 0 - drwxr-xr-x 4 thecesrom staff 128 Aug 31 07:51 . - drwxr-xr-x 6 thecesrom staff 192 Jun 8 10:58 .. - drwxr-xr-x 6 thecesrom staff 192 Aug 31 07:48 2.7.18 - lrwxr-xr-x 1 thecesrom staff 25 Aug 31 07:51 3.9 -> /usr/local/opt/python@3.9 + drwxr-xr-x 4 cesarcoatl staff 128 Aug 31 07:51 . + drwxr-xr-x 6 cesarcoatl staff 192 Jun 8 10:58 .. + drwxr-xr-x 6 cesarcoatl staff 192 Aug 31 07:48 2.7.18 + lrwxr-xr-x 1 cesarcoatl staff 25 Aug 31 07:51 3.9 -> /usr/local/opt/python@3.9 ``` 1. If you wish to also include the `include` directory, run the following @@ -46,20 +46,20 @@ So here I will share a quick guide on how I accomplished that. include -> Frameworks/Python.framework/Versions/3.9/include/python3.9 $ ls -al total 64 - drwxr-xr-x 14 thecesrom staff 448 Aug 31 07:43 . - drwxr-xr-x 3 thecesrom staff 96 Jul 3 09:36 .. - drwxr-xr-x 3 thecesrom staff 96 Jun 28 01:57 .brew - drwxr-xr-x 3 thecesrom staff 96 Jun 28 01:57 Frameworks - drwxr-xr-x 3 thecesrom staff 96 Jun 28 01:57 IDLE 3.app - -rw-r--r-- 1 thecesrom staff 3770 Jul 3 09:36 INSTALL_RECEIPT.json - -rw-r--r-- 1 thecesrom staff 13925 Jun 28 01:57 LICENSE - drwxr-xr-x 3 thecesrom staff 96 Jun 28 01:57 Python Launcher 3.app - -rw-r--r-- 1 thecesrom staff 10140 Jun 28 01:57 README.rst - drwxr-xr-x 19 thecesrom staff 608 Aug 31 07:50 bin - lrwxr-xr-x 1 thecesrom staff 58 Aug 31 07:43 include -> Frameworks/Python.framework/Versions/3.9/include/python3.9 - drwxr-xr-x 3 thecesrom staff 96 Jun 28 01:57 lib - drwxr-xr-x 4 thecesrom staff 128 Jun 28 01:57 libexec - drwxr-xr-x 3 thecesrom staff 96 Jun 28 01:57 share + drwxr-xr-x 14 cesarcoatl staff 448 Aug 31 07:43 . + drwxr-xr-x 3 cesarcoatl staff 96 Jul 3 09:36 .. + drwxr-xr-x 3 cesarcoatl staff 96 Jun 28 01:57 .brew + drwxr-xr-x 3 cesarcoatl staff 96 Jun 28 01:57 Frameworks + drwxr-xr-x 3 cesarcoatl staff 96 Jun 28 01:57 IDLE 3.app + -rw-r--r-- 1 cesarcoatl staff 3770 Jul 3 09:36 INSTALL_RECEIPT.json + -rw-r--r-- 1 cesarcoatl staff 13925 Jun 28 01:57 LICENSE + drwxr-xr-x 3 cesarcoatl staff 96 Jun 28 01:57 Python Launcher 3.app + -rw-r--r-- 1 cesarcoatl staff 10140 Jun 28 01:57 README.rst + drwxr-xr-x 19 cesarcoatl staff 608 Aug 31 07:50 bin + lrwxr-xr-x 1 cesarcoatl staff 58 Aug 31 07:43 include -> Frameworks/Python.framework/Versions/3.9/include/python3.9 + drwxr-xr-x 3 cesarcoatl staff 96 Jun 28 01:57 lib + drwxr-xr-x 4 cesarcoatl staff 128 Jun 28 01:57 libexec + drwxr-xr-x 3 cesarcoatl staff 96 Jun 28 01:57 share ``` 1. Create `symlinks` for `idle`, `pip`, `python` and `wheel` at the following location: @@ -86,7 +86,7 @@ So here I will share a quick guide on how I accomplished that. ```bash $ pyenv versions - * system (set by /Users/thecesrom/.pyenv/version) + * system (set by /Users/cesarcoatl/.pyenv/version) 2.7.18 3.9 ``` @@ -103,7 +103,7 @@ So here I will share a quick guide on how I accomplished that. $ pyenv versions system 2.7.18 - * 3.9 (set by /Users/thecesrom/.pyenv/version) + * 3.9 (set by /Users/cesarcoatl/.pyenv/version) ``` 1. And now when I run `python --version` I get the following output: diff --git a/_posts/2021-10-26-lessons-learned-in-packaging-python-projects.md b/_posts/2021-10-26-lessons-learned-in-packaging-python-projects.md index 1836a0e..b6fde33 100644 --- a/_posts/2021-10-26-lessons-learned-in-packaging-python-projects.md +++ b/_posts/2021-10-26-lessons-learned-in-packaging-python-projects.md @@ -13,7 +13,7 @@ tags: - testpypi date: 2021-10-26 15:39 -0700 --- -Recently I embarked upon a mission, and that mission was to package my [Ignition](https://github.com/thecesrom/Ignition) project, which was built based on my scripting needs, but did not make use of all System Functions. +Recently I embarked upon a mission, and that mission was to package my [Ignition](https://github.com/cesarcoatl/Ignition) project, which was built based on my scripting needs, but did not make use of all System Functions. As time passed the project grew along with my needs, but after a comment made by [RadicalRumin](https://forum.inductiveautomation.com/t/system-library-files/29773/3?u=thecesrom.git) at Inductive Automation Forum, I got the boost I needed to implement all System Functions, and created branches for each active version. @@ -125,8 +125,8 @@ On my ["Configuring Jython in PyCharm"]({{ site.url }}/2020/10/01/configuring-jy But! There's always a but. Jython fails to import modules/subpackages under `com.inductiveautomation`. See: [jython#131](https://github.com/jython/jython/issues/131). And that, my friends, is what made me pull the plug on Ignition's `jython` branch, and marking `ignition-api-jython` as **Inactive**. -Could this be fixed? I don't think so, as Jython is somewhat a graveyard at this moment, and I don't have the knowledge nor interest in working on a possible fix. But still, I decided to move the `jython` branch to its own repo ([ignition-api-jython](https://github.com/thecesrom/ignition-api-jython)) in case there is a solution in the future, or if someone is willing to fork it. +Could this be fixed? I don't think so, as Jython is somewhat a graveyard at this moment, and I don't have the knowledge nor interest in working on a possible fix. But still, I decided to move the `jython` branch to its own repo ([ignition-api-jython](https://github.com/ignition-api/jython)) in case there is a solution in the future, or if someone is willing to fork it. -Finally, I learned about automating [publishing to PyPI via GitHub actions](https://github.com/thecesrom/Ignition/blob/HEAD/.github/workflows/pypi_upload.yml), as well as moving away from `setup.py` and use `pyproject.toml` and `setup.cfg` instead, and installing Python packages' extras and using them for `pre-commit`. But that, my friends, will be a story for another time. +Finally, I learned about automating [publishing to PyPI via GitHub actions](https://github.com/cesarcoatl/Ignition/blob/HEAD/.github/workflows/pypi_upload.yml), as well as moving away from `setup.py` and use `pyproject.toml` and `setup.cfg` instead, and installing Python packages' extras and using them for `pre-commit`. But that, my friends, will be a story for another time. Thanks for reading. And happy coding. diff --git a/_posts/2021-12-23-ignition-8-1-13-release.md b/_posts/2021-12-23-ignition-8-1-13-release.md index 94fad0b..d2c3a9c 100644 --- a/_posts/2021-12-23-ignition-8-1-13-release.md +++ b/_posts/2021-12-23-ignition-8-1-13-release.md @@ -27,39 +27,39 @@ python2 -m pip install --upgrade ignition-api #### CI -- update CI workflow ([385ba77](https://github.com/thecesrom/Ignition/commit/385ba776d5aeef99afde2aaae0ca48af080d1c1f)) -- fix `mypy` step ([49620da](https://github.com/thecesrom/Ignition/commit/49620da52802a9bd70db4c6da3d61624741b771a)) +- update CI workflow ([385ba77](https://github.com/cesarcoatl/Ignition/commit/385ba776d5aeef99afde2aaae0ca48af080d1c1f)) +- fix `mypy` step ([49620da](https://github.com/cesarcoatl/Ignition/commit/49620da52802a9bd70db4c6da3d61624741b771a)) #### Documentation -- update packages' descriptions ([275e1c7](https://github.com/thecesrom/Ignition/commit/275e1c7f82ae4395bc3e063d2808530adcdf2f8b)) +- update packages' descriptions ([275e1c7](https://github.com/cesarcoatl/Ignition/commit/275e1c7f82ae4395bc3e063d2808530adcdf2f8b)) #### Features -- simplify `beep` code ([5074d09](https://github.com/thecesrom/Ignition/commit/5074d09498e2eb6b45d553f435a8145da5c9686d)) +- simplify `beep` code ([5074d09](https://github.com/cesarcoatl/Ignition/commit/5074d09498e2eb6b45d553f435a8145da5c9686d)) - **BREAKING**: `system.util.beep()` will print "Beep!" when called regardless of platform #### Miscellaneous Tasks -- add `cliff.toml` file for changelog generation ([e63ff91](https://github.com/thecesrom/Ignition/commit/e63ff91ef1617c8b4c6d5a64a01d2e5f276647f4)) -- format setup.cfg file ([5915921](https://github.com/thecesrom/Ignition/commit/5915921282302c40ffbea5ad20b8213530591b8f)) -- update `.pylintrc` remove `unused-import` ([832cb11](https://github.com/thecesrom/Ignition/commit/832cb1131a22b237c6311be7a2f8e8116fcd64b2)) +- add `cliff.toml` file for changelog generation ([e63ff91](https://github.com/cesarcoatl/Ignition/commit/e63ff91ef1617c8b4c6d5a64a01d2e5f276647f4)) +- format setup.cfg file ([5915921](https://github.com/cesarcoatl/Ignition/commit/5915921282302c40ffbea5ad20b8213530591b8f)) +- update `.pylintrc` remove `unused-import` ([832cb11](https://github.com/cesarcoatl/Ignition/commit/832cb1131a22b237c6311be7a2f8e8116fcd64b2)) #### Refactor -- change return type to `unicode` ([ddb184d](https://github.com/thecesrom/Ignition/commit/ddb184dfc0edabb937c399a85cf64146c6a75380)) -- rename argument from `pageID` to `pageId` ([45bbf4f](https://github.com/thecesrom/Ignition/commit/45bbf4f7704e814f3a3d326f671c9538dba17ada)) -- integrate minor changes ([a008eed](https://github.com/thecesrom/Ignition/commit/a008eed420bf112fd2bdc2876cf61f4315340362)) -- define ColType as a type alias ([d18d44d](https://github.com/thecesrom/Ignition/commit/d18d44dd40acd985cf3c22ec1d04ff435722a185)) -- move `String` alias to `java.util` ([ea530ac](https://github.com/thecesrom/Ignition/commit/ea530ac1918b3e1e0204793ce1b607646c8c4c89)) +- change return type to `unicode` ([ddb184d](https://github.com/cesarcoatl/Ignition/commit/ddb184dfc0edabb937c399a85cf64146c6a75380)) +- rename argument from `pageID` to `pageId` ([45bbf4f](https://github.com/cesarcoatl/Ignition/commit/45bbf4f7704e814f3a3d326f671c9538dba17ada)) +- integrate minor changes ([a008eed](https://github.com/cesarcoatl/Ignition/commit/a008eed420bf112fd2bdc2876cf61f4315340362)) +- define ColType as a type alias ([d18d44d](https://github.com/cesarcoatl/Ignition/commit/d18d44dd40acd985cf3c22ec1d04ff435722a185)) +- move `String` alias to `java.util` ([ea530ac](https://github.com/cesarcoatl/Ignition/commit/ea530ac1918b3e1e0204793ce1b607646c8c4c89)) #### Styling -- tell `isort` to sort using Python 2.7 ([72fd6d0](https://github.com/thecesrom/Ignition/commit/72fd6d060c26dd82b3492983f2e0ac63f8e42d40)) +- tell `isort` to sort using Python 2.7 ([72fd6d0](https://github.com/cesarcoatl/Ignition/commit/72fd6d060c26dd82b3492983f2e0ac63f8e42d40)) #### Build -- update `pydocstyle` hook ([b04be0b](https://github.com/thecesrom/Ignition/commit/b04be0b7e87834ec0c94f1ec96abcab1b9e82ff4)) -- pre-commit autoupdate ([#52](https://github.com/thecesrom/Ignition/pull/52)) ([29ee058](https://github.com/thecesrom/Ignition/commit/29ee058ad3f011633f64c54ad71bcf0794d57ea4)) -- remove files from `MANIFEST.in` ([d0fa375](https://github.com/thecesrom/Ignition/commit/d0fa3755815b7f224b3268b00ee4776be07ff517)) +- update `pydocstyle` hook ([b04be0b](https://github.com/cesarcoatl/Ignition/commit/b04be0b7e87834ec0c94f1ec96abcab1b9e82ff4)) +- pre-commit autoupdate ([#52](https://github.com/cesarcoatl/Ignition/pull/52)) ([29ee058](https://github.com/cesarcoatl/Ignition/commit/29ee058ad3f011633f64c54ad71bcf0794d57ea4)) +- remove files from `MANIFEST.in` ([d0fa375](https://github.com/cesarcoatl/Ignition/commit/d0fa3755815b7f224b3268b00ee4776be07ff517)) diff --git a/_posts/2022-01-21-installing-starship-on-git-bash-for-windows.md b/_posts/2022-01-21-installing-starship-on-git-bash-for-windows.md index 763f3da..378c06b 100644 --- a/_posts/2022-01-21-installing-starship-on-git-bash-for-windows.md +++ b/_posts/2022-01-21-installing-starship-on-git-bash-for-windows.md @@ -79,13 +79,13 @@ $ mkdir -p "$HOME/.local/bin" $ curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir "$HOME/.local/bin" Configuration -> Bin directory: /c/Users/thecesrom/.local/bin +> Bin directory: /c/Users/cesarcoatl/.local/bin > Platform: pc-windows-msvc > Arch: x86_64 > Tarball URL: https://github.com/starship/starship/releases/latest/download/starship-x86_64-pc-windows-msvc.zip -? Install Starship latest to /c/Users/thecesrom/.local/bin? [y/N] y -! Bin directory /c/Users/thecesrom/.local/bin is not in your $PATH +? Install Starship latest to /c/Users/cesarcoatl/.local/bin? [y/N] y +! Bin directory /c/Users/cesarcoatl/.local/bin is not in your $PATH > Installing Starship, please wait… ✓ Starship installed @@ -115,12 +115,12 @@ And just by running that script I am able to update. $ . "$HOME/starship-upgrade.sh" Configuration -> Bin directory: /c/Users/thecesrom/.local/bin +> Bin directory: /c/Users/cesarcoatl/.local/bin > Platform: pc-windows-msvc > Arch: x86_64 > Tarball URL: https://github.com/starship/starship/releases/latest/download/starship-x86_64-pc-windows-msvc.zip -? Install Starship latest to /c/Users/thecesrom/.local/bin? [y/N] y +? Install Starship latest to /c/Users/cesarcoatl/.local/bin? [y/N] y > Installing Starship, please wait… ✓ Starship installed ``` diff --git a/_posts/2022-08-18-adventures-in-typing.md b/_posts/2022-08-18-adventures-in-typing.md index ba891a3..9e0bd67 100644 --- a/_posts/2022-08-18-adventures-in-typing.md +++ b/_posts/2022-08-18-adventures-in-typing.md @@ -23,7 +23,7 @@ Welcome to the third installment of what now I call the "Python packaging series Last time I wrote about my progress and lessons learned while creating the `ignition-api` Python package, and a lot has happened in the last eight months, so let me fill you in. * In March 2022, the **ignition-api** [GitHub organization](https://github.com/ignition-api) was born - * With that, each branch of the **thecesrom/Ignition** repo was moved into its own repo; [jython](https://github.com/ignition-api/jython), [7.9](https://github.com/ignition-api/7.9), [8.0](https://github.com/ignition-api/8.0), and [8.1](https://github.com/ignition-api/8.1) + * With that, each branch of the **cesarcoatl/Ignition** repo was moved into its own repo; [jython](https://github.com/ignition-api/jython), [7.9](https://github.com/ignition-api/7.9), [8.0](https://github.com/ignition-api/8.0), and [8.1](https://github.com/ignition-api/8.1) * In June 29 2022, `ignition-api-stubs` got its Alpha release, and a month later it got its Beta release * Some valuable knowledge in typing was gained (more on `stubgen` and `TypedDict` in another post) * `git-cliff` was replaced by `commitizen` on actively developed repos @@ -44,7 +44,7 @@ The reason why I decided to create an alias called `String` instead of using `An String = Union[str, unicode] ``` -After some debate, I decided to refactor my code and move the `String` alias to `java.lang`, where it belonged all along. Enter commit [ea530ac](https://github.com/thecesrom/Ignition/commit/ea530ac). +After some debate, I decided to refactor my code and move the `String` alias to `java.lang`, where it belonged all along. Enter commit [ea530ac](https://github.com/cesarcoatl/Ignition/commit/ea530ac). `ignition-api` [8.1.13](https://pypi.org/project/ignition-api/8.1.13/) was released in December 2021, and I did not realize my mistake until January 2022 when I upgraded my virtual environment for my `incendium` project and tried to run `pip list`, only then it dawned upon me I had pushed a bad release. @@ -52,27 +52,27 @@ Once anyone updated to `ignition-api` 8.1.13, `pip` under their Python environme ```sh Traceback (most recent call last): - File "/Users/thecesrom/.pyenv/versions/2.7.18/lib/python2.7/runpy.py", line 174, in _run_module_as_main + File "/Users/cesarcoatl/.pyenv/versions/2.7.18/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) - File "/Users/thecesrom/.pyenv/versions/2.7.18/lib/python2.7/runpy.py", line 72, in _run_code + File "/Users/cesarcoatl/.pyenv/versions/2.7.18/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals - File "/Users/thecesrom/.pyenv/versions/2.7.18/envs/incendium/lib/python2.7/site-packages/pip/__main__.py", line 23, in + File "/Users/cesarcoatl/.pyenv/versions/2.7.18/envs/incendium/lib/python2.7/site-packages/pip/__main__.py", line 23, in from pip._internal.cli.main import main as _main # isort:skip # noqa - File "/Users/thecesrom/.pyenv/versions/incendium/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 10, in + File "/Users/cesarcoatl/.pyenv/versions/incendium/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete - File "/Users/thecesrom/.pyenv/versions/incendium/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.py", line 4, in + File "/Users/cesarcoatl/.pyenv/versions/incendium/lib/python2.7/site-packages/pip/_internal/cli/autocompletion.py", line 4, in import optparse - File "/Users/thecesrom/.pyenv/versions/2.7.18/lib/python2.7/optparse.py", line 90, in + File "/Users/cesarcoatl/.pyenv/versions/2.7.18/lib/python2.7/optparse.py", line 90, in from gettext import gettext - File "/Users/thecesrom/.pyenv/versions/2.7.18/lib/python2.7/gettext.py", line 49, in + File "/Users/cesarcoatl/.pyenv/versions/2.7.18/lib/python2.7/gettext.py", line 49, in import locale, copy, os, re, struct, sys - File "/Users/thecesrom/.pyenv/versions/2.7.18/lib/python2.7/copy.py", line 60, in + File "/Users/cesarcoatl/.pyenv/versions/2.7.18/lib/python2.7/copy.py", line 60, in from org.python.core import PyStringMap - File "/Users/thecesrom/.pyenv/versions/incendium/lib/python2.7/site-packages/org/python/core/__init__.py", line 5, in + File "/Users/cesarcoatl/.pyenv/versions/incendium/lib/python2.7/site-packages/org/python/core/__init__.py", line 5, in from java.lang import Object - File "/Users/thecesrom/.pyenv/versions/incendium/lib/python2.7/site-packages/java/lang/__init__.py", line 22, in + File "/Users/cesarcoatl/.pyenv/versions/incendium/lib/python2.7/site-packages/java/lang/__init__.py", line 22, in from typing import Union - File "/Users/thecesrom/.pyenv/versions/incendium/lib/python2.7/site-packages/typing.py", line 1440, in + File "/Users/cesarcoatl/.pyenv/versions/incendium/lib/python2.7/site-packages/typing.py", line 1440, in copy._copy_dispatch[GenericMeta] = _copy_generic AttributeError: 'module' object has no attribute '_copy_dispatch' ``` diff --git a/_posts/2022-12-24-welcome-again.md b/_posts/2022-12-24-welcome-again.md index 2cf9598..981b10a 100644 --- a/_posts/2022-12-24-welcome-again.md +++ b/_posts/2022-12-24-welcome-again.md @@ -40,8 +40,8 @@ Building native extensions. This could take a while... ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension. - current directory: /Users/thecesrom/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/ext -/Users/thecesrom/.rbenv/versions/2.7.4/bin/ruby -I /Users/thecesrom/.rbenv/versions/2.7.4/lib/ruby/2.7.0 -r ./siteconf20221220-4681-wmlash.rb extconf.rb + current directory: /Users/cesarcoatl/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/ext +/Users/cesarcoatl/.rbenv/versions/2.7.4/bin/ruby -I /Users/cesarcoatl/.rbenv/versions/2.7.4/lib/ruby/2.7.0 -r ./siteconf20221220-4681-wmlash.rb extconf.rb checking for -lcrypto... no checking for openssl/ssl.h... yes checking for openssl/err.h... yes @@ -73,8 +73,8 @@ make: *** [rubyeventmachine.bundle] Error 1 make failed, exit code 2 -Gem files will remain installed in /Users/thecesrom/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7 for inspection. -Results logged to /Users/thecesrom/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/extensions/arm64-darwin-22/2.7.0/eventmachine-1.2.7/gem_make.out +Gem files will remain installed in /Users/cesarcoatl/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7 for inspection. +Results logged to /Users/cesarcoatl/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/extensions/arm64-darwin-22/2.7.0/eventmachine-1.2.7/gem_make.out ``` Before my old MacBook Air died, I did manage to install Ubuntu 22.10 and didn't run into any issues running my blog. But since this was my first time trying M1, and having read `not found for architecture arm64`, it did look like an issue with M1's ARM architecture. diff --git a/about.md b/about.md index af456df..649573d 100644 --- a/about.md +++ b/about.md @@ -17,4 +17,4 @@ I've been exposed to computers and coding since an early age, some may say, with ### Socials -Feel free to subscribe to my [feed]({{ site.url }}/feed.xml), or follow me on [GitHub](https://github.com/thecesrom), or [Twitter](https://twitter.com/thecesrom). \ No newline at end of file +Feel free to subscribe to my [feed]({{ site.url }}/feed.xml), or follow me on [GitHub](https://github.com/cesarcoatl), or [Fosstodon](https://fosstodon.org/@cesarcoatl). \ No newline at end of file diff --git a/index.html b/index.html index 14fcdf2..7698d77 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ --- layout: home --- - +