Skip to content

Commit

Permalink
Merge pull request #4 from roumail/remove-dependencies
Browse files Browse the repository at this point in the history
Update Github actions and update website content
  • Loading branch information
roumail authored Mar 17, 2024
2 parents 9f6c7d4 + c0856ef commit 5c486f1
Show file tree
Hide file tree
Showing 12 changed files with 246 additions and 133 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/release-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Release Website Package

on:
workflow_dispatch:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Install Python dependencies
run: |
pip install poetry
pip install keepachangelog@git+https://github.com/Colin-b/keepachangelog
- name: Get package version and changelog body
run: |
PACKAGE_VERSION=$(poetry version -s)
keepachangelog show $PACKAGE_VERSION > changelog_body.txt
echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV
- name: Build Package
run: poetry build

- name: Tag Release
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git tag -a v${{ env.PACKAGE_VERSION }} -m "Release v${{ env.PACKAGE_VERSION }}"
git push origin v${{ env.PACKAGE_VERSION }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.tar.gz"
bodyFile: changelog_body.txt
token: ${{ secrets.GH_PAT }}

- name: Cleanup
run: rm changelog_body.txt
34 changes: 0 additions & 34 deletions .github/workflows/release.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .last_body_md_sha

This file was deleted.

20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## Removed

- Version retrieval now doesn't use toml package

## [1.0.3] - 2024-03-17

### Removed

- retrieving body of changelog using internal function. Defer to function
keepachangelog
3 changes: 0 additions & 3 deletions body.md

This file was deleted.

7 changes: 3 additions & 4 deletions content/authors/admin/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ last_name: Taimour
superuser: true

# Role/position/tagline
role: "Software developer | Data Scientist | Machine Learning Engineer"
role: "Python Developer | Backend Engineer"

# Organizations/Affiliations to show in About widget
organizations:
Expand All @@ -29,11 +29,10 @@ bio:
# Interests to show in About widget
interests:
- Drumming and Music (in general)
- Software development
- Productivity
- Writing
- Bayesian Statistics
- Data analysis
- Software development in Python and R
- Machine learning

# Education to show in About widget
education:
Expand Down
162 changes: 162 additions & 0 deletions content/post/2024-02-27-falling-into-analysis-paralysis/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
---
title: "Falling Into Analysis Paralysis"
summary: "Exploring how curated I want this blog to be. Is it a technical playground for me to test out ideas or
a flowing stream of consciousness, i.e. musings."
categories: ["musings"]
tags: ["self-reflection"]
authors:
- admin
date: 2024-02-27T19:49:26+01:00
draft: false
toc: true
---

## Dig deeper if you're hesitating

It's been a while since I wrote my last entry! It's been a busy period with the
adaptations needed in one's life after they become new parents. It's been
challenging to say the least. However, writing new entries doesn't take as much
time once you've put your mind to it. Which brings up the first question I've
been pondering ever since I decided to write a blog: Is this platform a digital
garden for me to test out new ideas or more a place for me to unleash and make
sense of my inner world?

This blog entry is clearly one of the latter. And this is not a journal entry
either, which would be rather more personal in nature. These entries stay on the
web for the foreseeable future (unless I take them down myself).

And the answer to the main thesis of this blog entry is ofcourse also: all of
the above. This was one of the primary reasons I have categories for each of the
main topics I'm planning to be writing on. So deciding to write on one topic
does not at all preclude the other. That micro-decision, however, is where the
issue begins. It presents the perfect opportunity to ruminate over getting
certain details right that don't really matter at all.

I know that I certainly fall victim to this now and again. I've been thinking
for sometime now to finish writing the series on the
[scraper](/content/post/series-building-a-scraper-that-scales/_index.md). There
remain a number of ideas remaining to tackle in that series and there's a few
lazy shortcuts I took I've been looking to rectify.

Then on the other hand, I have the third part of the
[series](/content/post/series-decoding-rohail/_index.md) on decoding myself. The
values that I've chosen to base myself off, to guide me through life if you
will, leave a lot of room for interpretation. Circumstances over the past few
months, with the birth of our daughter, a change in job, the industry I'm
working on, and I've even started having regular jam sessions with a band as a
drummer. These are exciting times and have left me with a lot to reflect and
ponder over.

This explains the stream of nature blog entry we have here because it's a
reaffirmation of what this blog is ultimately about: mostly unfiltered
expression.

## It's about showing up: make it happen!

Most of my efforts so far have focused on setting up the website, learning the
different pieces of the puzzle when it comes to statically generated websites.
My goal was always to avoid spending too much time editing the content that I
put out. The tools we have today allow us to run into loops editing things to
our hearts desire. For example, I read somewhere that some of our favourite
bands, when they recorded albums, would only get one take to record the whole
thing due to technology constraints of the time. These kind of constraints mean
that firstly, you need to have mastered your material to the point where you can
do everything in one take and secondly, that some mistakes are bound to creep
in. I think there was probably a far more tolerant view of these mistakes at the
time.

When it comes to my writing, I can be quite accepting of it's imperfections.
That is, unless, I'm actually writing software. In the imperative paradigm of
programming, where you have to give the computer complete instructions of what
needs to be done, for the program to perform as expected, we need to provide
sufficient instructions. Hence, these instructions require a certain amount of
rigorousness, thinking of different edge cases: some of which you are only bound
to find at runtime or when the users of the software use it in unexpected ways.

I was hesitating to write because I have been inundated with a rush of new
information, whether it was from technologies I was encountering in my recent
role, or technical books I was reading at the moment. The book,
[Designing Data-Intensive Applications](https://www.amazon.de/-/en/Designing-Data-Intensive-Applications-Reliable-Maintainable/dp/1449373321/ref=sr_1_1?crid=3FJXGHQ63JL2S&keywords=designing+data-intensive+applications+by+martin+kleppmann&qid=1697911731&sprefix=designing+data%2Caps%2C74&sr=8-1),
for example is a classic and has left me with a lot of food for thought. It's
fundamentally changed the way I look at any application I work on in the past.
However, writing an article discussing it becomes more of a research endeavour,
demanding a somewhat rigorous attitude. And hence, the procrastination.

{{< figure src="/media/albums/technical-list-2023/data-intensive.jpg" >}}

The key takeaway here is that it's more important to show up, to write blog
entries, whatever they may happen to be, than to curate the non-existent entries
you will have on your website. Clearly I had projected this website to be more
of a technical playground and was stuck to that idea instead of letting the
entries come and for the website to organically grow as it will.

The tendency to go for over complicated solutions, or planning for solutions to
problems that don't exist yet is far too common. I see it all the time amongst
developers, and I catch myself doing this far too often. I recently spotted this
in a drumming context, where I saw how different playing in a band can be
compared to practicing on your own. Since the past few months that I've been
playing drums with a guitarist and bassist, it's increased my sense of musical
awareness and forced me revisit some basics I had started to gloss over.
Concretely speaking, I had been drumming at a bpm of about 70-80 for most of the
past three years I had been practicing. Suddenly, I needed to play at almost
double that bpm because that's how fast most rock is played.

## Best to accept vulnerability when you're aiming to show up

I read the book, Who moved my cheese, in the beginning of last year at what may
have been the best possible time to read it. I had started on my freelance
journey about six months ago and I had to start looking for my next mission soon
after returning from holidays. In many ways, once you become a freelancer, you
have to come to terms with accepting uncertainty. I had been a permanent
employee at the same company for all of my professional working experience and
it's very easy to become detached from the realities of looking for new
opportunities. This book punches way above it's weight, for the amount of wisdom
it imparts in a very short number of pages. The key takeaway? How to keep a
healthy mindset about change and reframing it such that you see change for what
it really is: a chance for you to encounter something, perhaps much better than
what you could have possibly imagined for yourself.

{{< figure src="/media/albums/reading-list-2023/cheese.jpg" >}}

The truth is we all think we know exactly how things will play out and most
often than not, it's the fear of change and uncertainty that's stopping you from
taking that next step. That's where vulnerability comes in, where you take a
step, not knowing all the details. This was around the time that I was doing a
lot of reflection on my
[values](http://localhost:1313/personal-values-part-ii/#my-values) and I had
realised that my list of values had one half that I perceived myself to be
naturally good at while there was another half which I tended to ignore. Turns
out the values I was ignoring were the ones that were key to handling
uncertainty better and that allowed me to remain exposed in vulnerable
situations without pulling my hair out as I might have done not too long ago.

## Key ingredients to staying strong when feeling exposed

What purpose do vague words like the ones below serve us anyway when we're faced
with a challenging situation?

1. Acceptance
2. Faith
3. Simplicity
4. Humility

Personally, I've found that it's good that these words are ambiguous. At
different points in your life, they can mean different things to you.
Nonetheless, I find that the key to withstand vulnerability is to remember that
not ever situation calls for a complex solution. We need to be embrace
_Simplicity_ in our actions, have _Faith_ that we're on the right track. We need
to _Accept_ that not everything pan out as we'd want and remember to stay
_Humble_ since it's very likely we were at least partially wrong about any
meaningful endeavour we take. Do we need to fear making mistakes? Why should we?
Fear makes life interesting because it means you're pushing yourself out of your
comfort zone. I guess we can ask ourselves, if we'd really like a life without
fear.

## Circling back to this blog

I don't know what this blog will be about. I don't have to put any labels to
what it be a few years from now. I don't even have to care what it will look
like a few entries from now. It's more important to show up, write and let it
take on a life of it's own.

Thank's for reading!
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
title: "Part III: Embedding Your True North"
summary:
"In the final installment of 'Decoding Rohail,' we move from identifying core
values to living them. This article offers a practical guide on how to
integrate your cherished values into daily actions and decisions and
strategies to help steer you back when you've strayed off course."
"In the final installment of 'Decoding Rohail,' we explore how to move from
identifying core values to living them."
categories: ["musings"]

tags: ["self-reflection", "personal growth", "life lessons", "core values"]
Expand Down
10 changes: 5 additions & 5 deletions draft_posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ series-building-a-scraper-that-scales:

- 2023-10-26-stateful-applications-need-to-be-designed-differently

series-books-i-read-in-2023:
Decided against - ~~series-books-i-read-in-2023:~~

- 2023-10-24-personal-development-books-i-read-in-2023
- 2023-10-24-personal-development-books-i-read-in-2023-continued
- 2023-10-24-personal-development-books-i-read-in-2023-final
- 2023-10-24-technical-books-i-read-in-2023
~~- 2023-10-24-personal-development-books-i-read-in-2023~~
~~2023-10-24-personal-development-books-i-read-in-2023-continued~~
~~2023-10-24-personal-development-books-i-read-in-2023-final~~
~~2023-10-24-technical-books-i-read-in-2023~~
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ packages = [

[tool.poetry.dependencies]
python = "^3.10.0"
toml = "^0.10.2"

[tool.poetry.group.dev.dependencies]
invoke = "^1.6.0"
Expand Down
38 changes: 0 additions & 38 deletions tasks/release.py

This file was deleted.

Loading

0 comments on commit 5c486f1

Please sign in to comment.