docs(brain): repair internal relative links after restructure
Update all relative markdown links to reflect the new directory layout: - knowledge/concepts/hashmap.md: enumerate link → technologies/python/ - practice/LeetCode/*.md: dsa/ → concepts/, python/ → technologies/python/ - practice/LeetCode/00-practiced-patterns.md: normalize short-form filenames (e.g. 01-two-sum.md → 0001-two-sum.md) - records/journal/2026-06-26.md: devenv/ and tools/ → technologies/ - records/journal/2026-06-29.md: devenv/ → technologies/; remove link to deleted AGENTS.md (replaced with plain-text reference) - records/journal/2026-08-10.md: LeetCode paths updated, normalize filenames; ADR link → GitHub URL; remove links to deleted files (AGENTS.md, todo.md, .local_config.json) - records/journal/2026-08-16.md: normalize LeetCode filename; remove link to deleted AGENTS.md - projects/homelab/overview.md: update all links to reflect plans/ and guides/ sub-folder structure Repository is now structurally coherent — all relative links resolve.
This commit is contained in:
1 parent
fb0ac3de1b
commit
61f5f1fcf1
11 files changed
+67
-66
No files matched your search
@@ -185,7 +185,7 @@ for fruit, quantity in inventory.items():
|
|||||||
# Today we have 8 oranges
|
# Today we have 8 oranges
|
||||||
```
|
```
|
||||||
|
|
||||||
When looping through a sequence, the position index and corresponding value can be retrieved at the same time using the [`enumerate()`](../python/enumerate.md) function.
|
When looping through a sequence, the position index and corresponding value can be retrieved at the same time using the [`enumerate()`](../technologies/python/enumerate.md) function.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
for i, (fruit, quantity) in enumerate(inventory.items(), start=1):
|
for i, (fruit, quantity) in enumerate(inventory.items(), start=1):
|
||||||
|
|||||||
@@ -13,17 +13,17 @@ The tables below provide two complementary views:
|
|||||||
|
|
||||||
| Pattern | Notes | **Problems** |
|
| Pattern | Notes | **Problems** |
|
||||||
| --------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| Array / Linear Scan | The "default" pattern. Many Easy problems are just one pass over an array or string. | [#01](01-two-sum.md)<br>[#13](13-roman-to-integer.md)<br>[#14](14-longest-common-prefix.md)<br>[#28](28-find-the-index-of-the-first-occurrence-in-a-string.md)<br> |
|
| Array / Linear Scan | The "default" pattern. Many Easy problems are just one pass over an array or string. | [#01](0001-two-sum.md)<br>[#13](0013-roman-to-integer.md)<br>[#14](0014-longest-common-prefix.md)<br>[#28](0028-find-the-index-of-the-first-occurrence-in-a-string.md)<br> |
|
||||||
| In-place Edit | Modify the existing container while maintaining a write index | [#26](26-remove-duplicates-from-sorted-array.md)<br>[#27](27-remove-element.md) |
|
| In-place Edit | Modify the existing container while maintaining a write index | [#26](0026-remove-duplicates-from-sorted-array.md)<br>[#27](0027-remove-element.md) |
|
||||||
| String | String-specific manipulation/search. | [#14](14-longest-common-prefix.md) |
|
| String | String-specific manipulation/search. | [#14](0014-longest-common-prefix.md) |
|
||||||
| String Search | Find the first occurrence of a pattern within a larger string. | [#28](28-find-the-index-of-the-first-occurrence-in-a-string.md) |
|
| String Search | Find the first occurrence of a pattern within a larger string. | [#28](0028-find-the-index-of-the-first-occurrence-in-a-string.md) |
|
||||||
| Linked List | Separate from Two Pointers because the mechanics differ. | [#21](21-merge-two-sorted-lists.md) |
|
| Linked List | Separate from Two Pointers because the mechanics differ. | [#21](0021-merge-two-sorted-lists.md) |
|
||||||
| Hash Table | Dictionaries, sets, counting, lookups. | [#01](01-two-sum.md)<br>[#13](13-roman-to-integer.md)<br>[#20](20-valid-parentheses.md) |
|
| Hash Table | Dictionaries, sets, counting, lookups. | [#01](0001-two-sum.md)<br>[#13](0013-roman-to-integer.md)<br>[#20](0020-valid-parentheses.md) |
|
||||||
| Stack | LIFO problems. | [#20](20-valid-parentheses.md) |
|
| Stack | LIFO problems. | [#20](0020-valid-parentheses.md) |
|
||||||
| Queue | FIFO problems. | |
|
| Queue | FIFO problems. | |
|
||||||
| Two Pointers | Left/right, fast/slow, read/write. | [#09](09-palindrome-number.md)<br>[#21](21-merge-two-sorted-lists.md)<br>[#26](26-remove-duplicates-from-sorted-array.md)<br>[#27](27-remove-element.md)<br> |
|
| Two Pointers | Left/right, fast/slow, read/write. | [#09](0009-palindrome-number.md)<br>[#21](0021-merge-two-sorted-lists.md)<br>[#26](0026-remove-duplicates-from-sorted-array.md)<br>[#27](0027-remove-element.md)<br> |
|
||||||
| Sliding Window | Dynamic intervals. | |
|
| Sliding Window | Dynamic intervals. | |
|
||||||
| Binary Search | Search over ordered space. | [#14](14-longest-common-prefix.md)<br>[#35](35-search-insert-position.md) |
|
| Binary Search | Search over ordered space. | [#14](0014-longest-common-prefix.md)<br>[#35](0035-search-insert-position.md) |
|
||||||
| Tree DFS/BFS | Tree traversals. | # |
|
| Tree DFS/BFS | Tree traversals. | # |
|
||||||
| Graph DFS/BFS | Graph traversals. | |
|
| Graph DFS/BFS | Graph traversals. | |
|
||||||
| Heap / Priority Queue | Top-K, scheduling, streaming. | |
|
| Heap / Priority Queue | Top-K, scheduling, streaming. | |
|
||||||
@@ -34,13 +34,13 @@ The tables below provide two complementary views:
|
|||||||
|
|
||||||
| Problem | Primary Pattern | Secondary Pattern |
|
| Problem | Primary Pattern | Secondary Pattern |
|
||||||
| ------------------------------------------------------------------------------------- | ------------------------------- | ------------------------ |
|
| ------------------------------------------------------------------------------------- | ------------------------------- | ------------------------ |
|
||||||
| [#1 Two Sum](01-two-sum.md) | HashMap | Array |
|
| [#1 Two Sum](0001-two-sum.md) | HashMap | Array |
|
||||||
| [#9 Palindrome Number](09-palindrome-number.md) | Two pointers (or half-reversal) | Math |
|
| [#9 Palindrome Number](0009-palindrome-number.md) | Two pointers (or half-reversal) | Math |
|
||||||
| [#13 Roman to Integer](13-roman-to-integer.md) | HashMap | Linear scan |
|
| [#13 Roman to Integer](0013-roman-to-integer.md) | HashMap | Linear scan |
|
||||||
| [#14 Longest Common Prefix](14-longest-common-prefix.md) | String | Linear scan |
|
| [#14 Longest Common Prefix](0014-longest-common-prefix.md) | String | Linear scan |
|
||||||
| [#20 Valid Parentheses](20-valid-parentheses.md) | Stack | HashMap (matching pairs) |
|
| [#20 Valid Parentheses](0020-valid-parentheses.md) | Stack | HashMap (matching pairs) |
|
||||||
| [#21 Merge Two Sorted Lists](21-merge-two-sorted-lists.md) | Two pointers | Linked List |
|
| [#21 Merge Two Sorted Lists](0021-merge-two-sorted-lists.md) | Two pointers | Linked List |
|
||||||
| [#26 Remove Duplicates from Sorted Array](26-remove-duplicates-from-sorted-array.md) | Two pointers | In-place array |
|
| [#26 Remove Duplicates from Sorted Array](0026-remove-duplicates-from-sorted-array.md) | Two pointers | In-place array |
|
||||||
| [#27 Remove Element](27-remove-element.md) | Two pointers | In-place filtering |
|
| [#27 Remove Element](0027-remove-element.md) | Two pointers | In-place filtering |
|
||||||
| [#28 Find First Occurrence](28-find-the-index-of-the-first-occurrence-in-a-string.md) | String Search | Linear scan |
|
| [#28 Find First Occurrence](0028-find-the-index-of-the-first-occurrence-in-a-string.md) | String Search | Linear scan |
|
||||||
| [#35 Search Insert Position](35-search-insert-position.md) | | |
|
| [#35 Search Insert Position](0035-search-insert-position.md) | | |
|
||||||
@@ -244,7 +244,7 @@ Each stored entry must contain two pieces of information:
|
|||||||
- the value
|
- the value
|
||||||
- its index
|
- its index
|
||||||
|
|
||||||
A [**HashMap**](../../knowledge/dsa/hashmap.md) is an excellent fit for this requirement because it stores data as key-value pairs and provides average-case constant-time $O(1)$ lookups.
|
A [**HashMap**](../../knowledge/concepts/hashmap.md) is an excellent fit for this requirement because it stores data as key-value pairs and provides average-case constant-time $O(1)$ lookups.
|
||||||
|
|
||||||
As we traverse the array, we store: `value --> index`
|
As we traverse the array, we store: `value --> index`
|
||||||
|
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ flowchart TD
|
|||||||
```
|
```
|
||||||
**Implementation**:
|
**Implementation**:
|
||||||
|
|
||||||
I have a [guide](../../knowledge/python/zip.md) on `zip()`'s behavior and use cases, but, in a nutshell, this function combines multiple lists or iterables (like tuples or strings) element-by-element, pairing items at the same index together into tuples.
|
I have a [guide](../../knowledge/technologies/python/zip.md) on `zip()`'s behavior and use cases, but, in a nutshell, this function combines multiple lists or iterables (like tuples or strings) element-by-element, pairing items at the same index together into tuples.
|
||||||
|
|
||||||
Consider the following list of strings:
|
Consider the following list of strings:
|
||||||
|
|
||||||
@@ -262,7 +262,7 @@ class Solution:
|
|||||||
return "".join(prefix)
|
return "".join(prefix)
|
||||||
```
|
```
|
||||||
|
|
||||||
### [Binary Search](../../knowledge/dsa/binary-search.md)
|
### [Binary Search](../../knowledge/concepts/binary-search.md)
|
||||||
This is a classic Divide and Conquer approach. Rather than searching over the strings themselves, we search over the **possible prefix lengths**. The search space ranges from `0` to the length of the shortest string. For a candidate length `k`, we ask whether the first `k` characters are shared by every string.
|
This is a classic Divide and Conquer approach. Rather than searching over the strings themselves, we search over the **possible prefix lengths**. The search space ranges from `0` to the length of the shortest string. For a candidate length `k`, we ask whether the first `k` characters are shared by every string.
|
||||||
|
|
||||||
**Algorithm**:
|
**Algorithm**:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Status: Solved
|
|||||||
|
|
||||||
Difficulty: Easy
|
Difficulty: Easy
|
||||||
|
|
||||||
**Relevant Guides:** [Linked List Guide](../../knowledge/dsa/linked-list.md)
|
**Relevant Guides:** [Linked List Guide](../../knowledge/concepts/linked-list.md)
|
||||||
|
|
||||||
## Problem Statement
|
## Problem Statement
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ You must write an algorithm with `O(log n)` runtime complexity.
|
|||||||
- `-104 <= target <= 104`
|
- `-104 <= target <= 104`
|
||||||
|
|
||||||
## Intuition
|
## Intuition
|
||||||
When I saw that an $O(\log N)$ solution is explicitly required, I immediately thought back to [#14](14-longest-common-prefix.md), where **[binary search](../../knowledge/dsa/binary-search.md)** was used to progressively discard parts of the search space that could not contain the answer.
|
When I saw that an $O(\log N)$ solution is explicitly required, I immediately thought back to [#14](0014-longest-common-prefix.md), where **[binary search](../../knowledge/concepts/binary-search.md)** was used to progressively discard parts of the search space that could not contain the answer.
|
||||||
|
|
||||||
Since the array is already sorted, we can use binary search instead of scanning every element. At each step, we compare the target with the middle element. If the target is larger, we know it cannot appear in the left half, so we discard it. Otherwise, we discard the right half. If the target is found, we return its index immediately. If the search space becomes empty, the `left` pointer indicates the position where the target should be inserted while preserving the sorted order.
|
Since the array is already sorted, we can use binary search instead of scanning every element. At each step, we compare the target with the middle element. If the target is larger, we know it cannot appear in the left half, so we discard it. Otherwise, we discard the right half. If the target is found, we return its index immediately. If the search space becomes empty, the `left` pointer indicates the position where the target should be inserted while preserving the sorted order.
|
||||||
## Algorithm
|
## Algorithm
|
||||||
|
|||||||
@@ -1,47 +1,48 @@
|
|||||||
# 🌐 Homelab & Infrastructure Planning
|
# 🌐 Homelab & Infrastructure Planning
|
||||||
|
|
||||||
This section documents the architectural roadmaps, infrastructure designs, deployment automation, and system administration workflows for the homelab ecosystem.
|
This project documents the architectural roadmaps, infrastructure designs, deployment automation, and system administration workflows for the homelab ecosystem.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 📑 Index of Plans
|
## 📑 Plans
|
||||||
|
|
||||||
1. [**NixOS Server & Laptop Migration**](nixos-server-laptop-migration.md)
|
1. [**NixOS Server & Laptop Migration**](plans/nixos-server-laptop-migration.md)
|
||||||
- Converting the desktop into a 24/7 headless production server.
|
- Converting the desktop into a 24/7 headless production server.
|
||||||
- Setting up the laptop as the primary graphical development workstation.
|
- Setting up the laptop as the primary graphical development workstation.
|
||||||
- Decoupling visual configurations (Niri, Hyprland, Waybar, GUI apps) from the server.
|
- Decoupling visual configurations (Niri, Hyprland, Waybar, GUI apps) from the server.
|
||||||
2. [**Domain Migration (`roadtotech.me`)**](domain-migration-roadtotech.md)
|
2. [**Domain Migration (`roadtotech.me`)**](plans/domain-migration-roadtotech.md)
|
||||||
- Step-by-step strategy for cutting over from `arch-services.mywire.org` to `roadtotech.me`.
|
- Step-by-step strategy for cutting over from `arch-services.mywire.org` to `roadtotech.me`.
|
||||||
- DNS delegation options (Dynu vs. Cloudflare), Traefik ACME wildcard SSL, and Authelia session cookie updates.
|
- DNS delegation options (Dynu vs. Cloudflare), Traefik ACME wildcard SSL, and Authelia session cookie updates.
|
||||||
3. [**Core & Sites Cutover and Testing Plan**](core-sites-cutover-testing-plan.md)
|
3. [**Core & Sites Cutover and Testing Plan**](plans/core-sites-cutover-testing-plan.md)
|
||||||
- Zero-downtime, progressive testing and safe cutover guide from `~/Deployments` to `~/Core` and `~/Sites`.
|
- Zero-downtime, progressive testing and safe cutover guide from `~/Deployments` to `~/Core` and `~/Sites`.
|
||||||
- Complete pre-flight verification matrix, rollback commands, and post-validation cleanup.
|
- Complete pre-flight verification matrix, rollback commands, and post-validation cleanup.
|
||||||
4. [**Homelab Infrastructure & Appctl Architecture**](homelab-appctl-architecture.md)
|
4. [**CI/CD & Deployment Strategy**](plans/deployment-and-cicd-strategy.md)
|
||||||
|
- Automating image builds, GitOps updates, Gitea Actions/GitHub Actions, and production rollouts.
|
||||||
|
5. [**Production Folder Structure Reorganization**](plans/folder-structure-reorganization.md)
|
||||||
|
- Establishing strict directory boundaries (`~/Core`, `~/Sites`, `~/Projects`).
|
||||||
|
- Removing development traces and non-production scratchpads from the server.
|
||||||
|
6. [**LVM Storage Optimization & Partition Resizing Strategy**](plans/lvm-storage-optimization-and-resizing.md)
|
||||||
|
- Storage topology analysis, desktop indexer cache reclamation, and zero-data-loss LVM resize runbook.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📑 Guides
|
||||||
|
|
||||||
|
1. [**Homelab Infrastructure & Appctl Architecture**](guides/homelab-appctl-architecture.md)
|
||||||
- Making `appctl` a first-class homelab orchestrator.
|
- Making `appctl` a first-class homelab orchestrator.
|
||||||
- Decoupling monolithic deployments into individual standalone Git repositories.
|
- Decoupling monolithic deployments into individual standalone Git repositories.
|
||||||
5. [**CI/CD & Deployment Strategy**](deployment-and-cicd-strategy.md)
|
2. [**appctl Refactor & Decentralized `app.yaml` Metadata Architecture**](guides/appctl-refactor-and-metadata-sync.md)
|
||||||
- Automating image builds, GitOps updates, Gitea Actions/GitHub Actions, and production rollouts.
|
|
||||||
6. [**Production Folder Structure Reorganization**](folder-structure-reorganization.md)
|
|
||||||
- Establishing strict directory boundaries (`/home/kiskaadee/Production`, `/home/kiskaadee/Deployments`, `/home/kiskaadee/Projects`).
|
|
||||||
- Removing development traces and non-production scratchpads from the server.
|
|
||||||
7. [**appctl Refactor & Decentralized `app.yaml` Metadata Architecture**](appctl-refactor-and-metadata-sync.md)
|
|
||||||
- Decentralizing service configurations into individual app repositories.
|
- Decentralizing service configurations into individual app repositories.
|
||||||
- Clean service aliases, enhanced status listing, and dynamic Homepage `services.yaml` generation.
|
- Clean service aliases, enhanced status listing, and dynamic Homepage `services.yaml` generation.
|
||||||
8. [**appctl Git Synchronization & Full-Stack Lifecycle Strategy**](appctl-git-sync-and-lifecycle.md)
|
3. [**appctl Git Synchronization & Full-Stack Lifecycle Strategy**](guides/appctl-git-sync-and-lifecycle.md)
|
||||||
- Real-time Git sync status in `appctl list` (`✓ Synced`, `⬆ Ahead`, `⬇ Behind`, `* Dirty`).
|
- Real-time Git sync status in `appctl list` (`✓ Synced`, `⬆ Ahead`, `⬇ Behind`, `* Dirty`).
|
||||||
- Network fetch support (`--fetch`) and atomic stack upgrade workflow (`appctl update`).
|
- Network fetch support (`--fetch`) and atomic stack upgrade workflow (`appctl update`).
|
||||||
9. [**Custom API Security Hardening & Threat Analysis**](custom-api-security-and-hardening.md)
|
4. [**Custom API Security Hardening & Threat Analysis**](guides/custom-api-security-and-hardening.md)
|
||||||
- Attack surface review and actionable hardening roadmap for custom endpoints (`learning-hub`, `minecraft-web-admin`).
|
- Attack surface review and actionable hardening roadmap for custom endpoints (`learning-hub`, `minecraft-web-admin`).
|
||||||
- Authelia ForwardAuth integration, rate limiting, and JWT fail-fast validation.
|
- Authelia ForwardAuth integration, rate limiting, and JWT fail-fast validation.
|
||||||
10. [**Real-Time Brain Synchronization & Gitea Push Mirroring**](brain-sync-and-gitea-mirroring.md)
|
5. [**Real-Time Brain Synchronization & Gitea Push Mirroring**](guides/brain-sync-and-gitea-mirroring.md)
|
||||||
- Zero-overhead markdown synchronization architecture between laptop and server using Gitea push mirroring.
|
- Zero-overhead markdown synchronization architecture between laptop and server using Gitea push mirroring.
|
||||||
- Systemd timer reconciliation, instant `doc2site` reflection, and GitHub offsite backup.
|
- Systemd timer reconciliation, instant `doc2site` reflection, and GitHub offsite backup.
|
||||||
11. [**LVM Storage Optimization & Partition Resizing Strategy**](lvm-storage-optimization-and-resizing.md)
|
6. [**WhatsApp & Telegram AI Assistant Backend Architecture**](guides/chatbot-assistant-backend-architecture.md)
|
||||||
- Storage topology analysis, desktop indexer cache reclamation, and zero-data-loss LVM resize runbook.
|
|
||||||
12. [**WhatsApp & Telegram AI Assistant Backend Architecture**](chatbot-assistant-backend-architecture.md)
|
|
||||||
- Architecture, channel trade-offs (Telegram vs WhatsApp), APScheduler cron triggers, and Brain vault RAG integration.
|
- Architecture, channel trade-offs (Telegram vs WhatsApp), APScheduler cron triggers, and Brain vault RAG integration.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -85,9 +85,9 @@ export POSTGRES_DB=db_name
|
|||||||
|
|
||||||
## Questions
|
## Questions
|
||||||
- With NixOS already providing `direnv`, when does it become necessary or advantageous to introduce `devShell`s? which responsibilities belong to each?
|
- With NixOS already providing `direnv`, when does it become necessary or advantageous to introduce `devShell`s? which responsibilities belong to each?
|
||||||
- Answered in [environments](../knowledge/devenv/environments.md)
|
- Answered in [environments](../../knowledge/technologies/environments.md)
|
||||||
- I attempted to namespace the PostgreSQL volume because I expected multiple databases to coexist on this machine. Is naming Docker volumes per application considered good practice? What are the recommended conventions for avoiding collisions while still using PostgreSQL's default data directory?
|
- I attempted to namespace the PostgreSQL volume because I expected multiple databases to coexist on this machine. Is naming Docker volumes per application considered good practice? What are the recommended conventions for avoiding collisions while still using PostgreSQL's default data directory?
|
||||||
- Answered in: [docker](../knowledge/tools/docker.md#docker-volume-names)
|
- Answered in: [docker](../../knowledge/technologies/docker.md#docker-volume-names)
|
||||||
|
|
||||||
## Reflection
|
## Reflection
|
||||||
Today's work was heavily focused on documentation, tooling and process design.
|
Today's work was heavily focused on documentation, tooling and process design.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
## Wins
|
## Wins
|
||||||
Today we've finally commited the work started on the last session with descriptive summary of the work done in the [BiteTrack repository](https://github.com/kiskaadee/bitetrack-api/commit/f78ddda7d613414ef6d270bfbb91a6e9fe8e7879), and [here](https://github.com/kiskaadee/backend-residency/commit/8783033f7424e009d3bf1d19779d00b933b9a115).
|
Today we've finally commited the work started on the last session with descriptive summary of the work done in the [BiteTrack repository](https://github.com/kiskaadee/bitetrack-api/commit/f78ddda7d613414ef6d270bfbb91a6e9fe8e7879), and [here](https://github.com/kiskaadee/backend-residency/commit/8783033f7424e009d3bf1d19779d00b933b9a115).
|
||||||
|
|
||||||
I encountered an additional source of friction, and my main gap for learning which is planning paralysis. So I've introduced some additional changes to the [AGENTS.md](../AGENTS.md) (https://github.com/kiskaadee/backend-residency/commit/5a3b1813b21d58923ce3390d3abbe6f7d5a4c321) that will hopefully help me avoiding falling into confuse-planning-with-productivity traps.
|
I encountered an additional source of friction, and my main gap for learning which is planning paralysis. So I've introduced some additional changes to the AGENTS.md (https://github.com/kiskaadee/backend-residency/commit/5a3b1813b21d58923ce3390d3abbe6f7d5a4c321) that will hopefully help me avoiding falling into confuse-planning-with-productivity traps.
|
||||||
|
|
||||||
Following the new proposed guidelines, the challenge for today was the following:
|
Following the new proposed guidelines, the challenge for today was the following:
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ When I started working on this implemenatation, I found the first Milestone 0 bl
|
|||||||
|
|
||||||
The virtual environment configured via UV was installed succesfully, but some packages could not be executed under NixOS because of dynamically linked binaries
|
The virtual environment configured via UV was installed succesfully, but some packages could not be executed under NixOS because of dynamically linked binaries
|
||||||
|
|
||||||
This is actually related to the previous research in [environments](../knowledge/devenv/environments.md) and [devShell](../knowledge/devenv/devShell.md).
|
This is actually related to the previous research in [environments](../../knowledge/technologies/environments.md) and [devShell](../../knowledge/technologies/devShell.md).
|
||||||
|
|
||||||
Standard Linux distributions follow the Filesystem Hiearchy Standard (FHS) , placing dynamic linkers and shared libraries into expected paths. The pre-compiled binaries are compiled with the hardcoded paths to these expected linkers.
|
Standard Linux distributions follow the Filesystem Hiearchy Standard (FHS) , placing dynamic linkers and shared libraries into expected paths. The pre-compiled binaries are compiled with the hardcoded paths to these expected linkers.
|
||||||
|
|
||||||
|
|||||||
@@ -9,15 +9,15 @@ A comprehensive summary of all progress and work completed in the backend reside
|
|||||||
|
|
||||||
We completed a significant amount of algorithmic and language fluency practice inside the residency sandbox:
|
We completed a significant amount of algorithmic and language fluency practice inside the residency sandbox:
|
||||||
* **LeetCode Exercises Solved & Documented:**
|
* **LeetCode Exercises Solved & Documented:**
|
||||||
* [Two Sum (#1)](../practice/LeetCode/01-two-sum.md) — Walkthrough and hash map optimizations.
|
* [Two Sum (#1)](../../practice/LeetCode/0001-two-sum.md) — Walkthrough and hash map optimizations.
|
||||||
* [Palindrome Number (#9)](../practice/LeetCode/09-palindrome-number.md) — Walkthrough and mathematical approaches.
|
* [Palindrome Number (#9)](../../practice/LeetCode/0009-palindrome-number.md) — Walkthrough and mathematical approaches.
|
||||||
* [Roman to Integer (#13)](../practice/LeetCode/13-roman-to-integer.md) — Walkthrough and value subtraction rules.
|
* [Roman to Integer (#13)](../../practice/LeetCode/0013-roman-to-integer.md) — Walkthrough and value subtraction rules.
|
||||||
* [Longest Common Prefix (#14)](../practice/LeetCode/14-longest-common-prefix.md) — Standard and character comparison approaches.
|
* [Longest Common Prefix (#14)](../../practice/LeetCode/0014-longest-common-prefix.md) — Standard and character comparison approaches.
|
||||||
* [Merge Two Sorted Lists (#21)](../practice/LeetCode/21-merge-two-sorted-lists) — Linked list pointer management.
|
* [Merge Two Sorted Lists (#21)](../../practice/LeetCode/0021-merge-two-sorted-lists.md) — Linked list pointer management.
|
||||||
* [Remove Duplicates from Sorted Array (#26)](../practice/LeetCode/26-remove-duplicates-from-sorted-array.md) — In-place array modification.
|
* [Remove Duplicates from Sorted Array (#26)](../../practice/LeetCode/0026-remove-duplicates-from-sorted-array.md) — In-place array modification.
|
||||||
* [Remove Element (#27)](../practice/LeetCode/27-remove-element.md) — In-place array modification using two-pointers.
|
* [Remove Element (#27)](../../practice/LeetCode/0027-remove-element.md) — In-place array modification using two-pointers.
|
||||||
* [Find the Index of the First Occurrence in a String (#28)](../practice/LeetCode/28-find-the-index-of-the-first-occurrence-in-a-string.md) — Substring matching.
|
* [Find the Index of the First Occurrence in a String (#28)](../../practice/LeetCode/0028-find-the-index-of-the-first-occurrence-in-a-string.md) — Substring matching.
|
||||||
* [Search Insert Position (#35)](../practice/LeetCode/35-search-insert-position.md) — Binary search implementations.
|
* [Search Insert Position (#35)](../../practice/LeetCode/0035-search-insert-position.md) — Binary search implementations.
|
||||||
* **Knowledge Base Expansion:**
|
* **Knowledge Base Expansion:**
|
||||||
* Added detailed guides for Python's `enumerate` and `zip` functions.
|
* Added detailed guides for Python's `enumerate` and `zip` functions.
|
||||||
* Added comprehensive Guides for HashMap fundamentals, Linked Lists, Binary Search, and Pydantic validation concepts.
|
* Added comprehensive Guides for HashMap fundamentals, Linked Lists, Binary Search, and Pydantic validation concepts.
|
||||||
@@ -30,7 +30,7 @@ We completed a significant amount of algorithmic and language fluency practice i
|
|||||||
|
|
||||||
Milestone 1 (Secure User Registration & CRUD) was officially kicked off, and its baseline architecture was completed and verified:
|
Milestone 1 (Secure User Registration & CRUD) was officially kicked off, and its baseline architecture was completed and verified:
|
||||||
* **Repository Architecture & Layout:**
|
* **Repository Architecture & Layout:**
|
||||||
* Restructured the repository to place the codebase files inside the `src/` directory (conforming to [ADR 0004](../docs/adr/0004-project-structure.md)).
|
* Restructured the repository to place the codebase files inside the `src/` directory (conforming to [ADR 0004](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/adr/0004-project-structure.md)).
|
||||||
* Moved project specifications (`SRS.md`, `database.md`, `api-design.md`, `architecture.md`) directly into the implementation repository's `docs/` folder.
|
* Moved project specifications (`SRS.md`, `database.md`, `api-design.md`, `architecture.md`) directly into the implementation repository's `docs/` folder.
|
||||||
* **Database & Schema Specifications:**
|
* **Database & Schema Specifications:**
|
||||||
* Updated [docs/database.md](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/database.md) to split user names into `firstname` and `lastname` (to support recovery mechanics) and removed `CUSTOMER` from user roles.
|
* Updated [docs/database.md](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/database.md) to split user names into `firstname` and `lastname` (to support recovery mechanics) and removed `CUSTOMER` from user roles.
|
||||||
@@ -49,12 +49,12 @@ Milestone 1 (Secure User Registration & CRUD) was officially kicked off, and its
|
|||||||
|
|
||||||
Standardized residency configurations to make the repository completely portable and easy for automated agents to parse:
|
Standardized residency configurations to make the repository completely portable and easy for automated agents to parse:
|
||||||
* **Agent Path Auto-Discovery:**
|
* **Agent Path Auto-Discovery:**
|
||||||
* Configured a git-ignored [.local_config.json](../.local_config.json) to dynamically resolve local filesystem paths to the implementation repository.
|
* Configured a git-ignored `.local_config.json` to dynamically resolve local filesystem paths to the implementation repository.
|
||||||
* Updated [`AGENTS.md`](../AGENTS.md) to guide agents to read this file instead of searching the system.
|
* Updated `AGENTS.md` in the `backend-residency` repository to guide agents to read this file instead of searching the system.
|
||||||
* **Link Portability:**
|
* **Link Portability:**
|
||||||
* Standardized all links across documentation to use relative paths instead of machine-specific absolute files.
|
* Standardized all links across documentation to use relative paths instead of machine-specific absolute files.
|
||||||
* **Roadmap Updates:**
|
* **Roadmap Updates:**
|
||||||
* Checked off completed tasks in [todo.md](../todo.md) and set Milestone 1 status to "In Progress".
|
* Checked off completed tasks in `todo.md` and set Milestone 1 status to "In Progress".
|
||||||
|
|
||||||
---
|
---
|
||||||
## Retrospective
|
## Retrospective
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ A comprehensive summary of all progress and work completed in the backend reside
|
|||||||
|
|
||||||
We completed a significant amount of algorithmic and language fluency practice inside the residency sandbox:
|
We completed a significant amount of algorithmic and language fluency practice inside the residency sandbox:
|
||||||
* **LeetCode Exercises Solved & Documented:**
|
* **LeetCode Exercises Solved & Documented:**
|
||||||
* [Length of Last Word(#58)](../practice/LeetCode/58-length-of-last-word.md) — Binary search implementations.
|
* [Length of Last Word(#58)](../../practice/LeetCode/0058-length-of-last-word.md) — Binary search implementations.
|
||||||
* **Knowledge Base Expansion:**
|
* **Knowledge Base Expansion:**
|
||||||
* Added guide for Python string methods
|
* Added guide for Python string methods
|
||||||
* **Practice Environment:**
|
* **Practice Environment:**
|
||||||
- Refined [AGENTS](../AGENTS.md) rules for linking documents pointing to remote repositories rather than file system static links.
|
- Refined `AGENTS.md` rules for linking documents pointing to remote repositories rather than file system static links.
|
||||||
|
|
||||||
---
|
---
|
||||||
## 🛠️ Build Mode: BiteTrack API
|
## 🛠️ Build Mode: BiteTrack API
|
||||||
|
|||||||
Reference in new issue
Block a user