summaryrefslogtreecommitdiffstats
path: root/_archive
diff options
context:
space:
mode:
Diffstat (limited to '_archive')
-rw-r--r--_archive/desktop-unix.md31
-rw-r--r--_archive/desktop-unix/dotfiles.tar.gzbin0 -> 6397999 bytes
-rw-r--r--_archive/desktop-unix/linux.pngbin0 -> 206255 bytes
-rw-r--r--_archive/desktop-unix/openbsd.pngbin0 -> 318897 bytes
-rw-r--r--_archive/my-first-pcb.md64
-rw-r--r--_archive/my-first-pcb/back.jpegbin34023 -> 0 bytes
-rw-r--r--_archive/my-first-pcb/back_design.jpegbin31946 -> 0 bytes
-rw-r--r--_archive/my-first-pcb/front.jpegbin28997 -> 0 bytes
-rw-r--r--_archive/my-first-pcb/front_design.jpegbin32174 -> 0 bytes
-rw-r--r--_archive/my-first-pcb/gerber_back.zipbin48217 -> 0 bytes
-rw-r--r--_archive/my-first-pcb/gerber_front.zipbin49605 -> 0 bytes
-rw-r--r--_archive/my-first-pcb/source.tar.gzbin6660 -> 0 bytes
12 files changed, 31 insertions, 64 deletions
diff --git a/_archive/desktop-unix.md b/_archive/desktop-unix.md
new file mode 100644
index 0000000..875e362
--- /dev/null
+++ b/_archive/desktop-unix.md
@@ -0,0 +1,31 @@
+---
+title: Unix-like operating systems
+date: 2025-09-21
+author: Wickramage Don Sadeep Madurange
+thumbnail: linux.png
+layout: post
+---
+
+The year 2020 transformed my personal computing experience. In March 2020, I
+stumbled upon Arch Linux and discovered that I could customize my desktop
+environment to look and work any way I liked. I exercised that newfound freedom
+to create a Matrix-themed setup:
+
+![Arch Linux](linux.png)
+
+The system employs the X display server and the i3 window manager. The terminal
+emulator used is Urxvt. The translucent effect is achieved with the help of the
+Xcompmgr compositor. This sort of setup was popular among minimalist Linux
+users.
+
+In February 2024, I switched to an OpenBSD system with Xenocara (the OpenBSD
+build of X display server) as the display server and i3 as the window manager:
+
+![OpenBSD i3](openbsd.png)
+
+Unlike Linux, OpenBSD includes a coherent desktop environment out of the box.
+Except for the window manager, for which I prefer a tiling one, I'm now using
+the default OpenBSD setup. For the window manager, I use dwm from the Suckless
+team.
+
+Files: [dotfiles.tar.gz](dotfiles.tar.gz)
diff --git a/_archive/desktop-unix/dotfiles.tar.gz b/_archive/desktop-unix/dotfiles.tar.gz
new file mode 100644
index 0000000..c6774c4
--- /dev/null
+++ b/_archive/desktop-unix/dotfiles.tar.gz
Binary files differ
diff --git a/_archive/desktop-unix/linux.png b/_archive/desktop-unix/linux.png
new file mode 100644
index 0000000..40bc33b
--- /dev/null
+++ b/_archive/desktop-unix/linux.png
Binary files differ
diff --git a/_archive/desktop-unix/openbsd.png b/_archive/desktop-unix/openbsd.png
new file mode 100644
index 0000000..d7489f7
--- /dev/null
+++ b/_archive/desktop-unix/openbsd.png
Binary files differ
diff --git a/_archive/my-first-pcb.md b/_archive/my-first-pcb.md
deleted file mode 100644
index 7750f20..0000000
--- a/_archive/my-first-pcb.md
+++ /dev/null
@@ -1,64 +0,0 @@
----
-title: My first PCB
-date: 2025-07-14
-author: Wickramage Don Sadeep Madurange
-layout: post
----
-
-In 2023, I started tinkering with DIY electronics as a hobby. Until now, I've
-been using development boards like the Arduino Uno and ESP-32-WROOM so that I
-can focus on the software. Recently, I decided to step outside of my comfort
-zone and design a PCB from scratch for a door lock I'm working on.
-
-The lock comprises two subsystems: a fingerprint sensor in front of the door
-and a servo connected to the physical lock behind the door. The fingerprint
-sensor authenticates the person and signals the servo behind the door to unlock
-the door over an encrypted RF channel.
-
-<table style="border: none; width: 100%">
- <tr style="border: none;">
- <td style="border: none; width: 49.5%; vertical-align: top; text-align: center;">
- <img src="front_design.jpeg" alt="Design (front)" style="width: 100%">
- <p>Footprint (front)</p>
- </td>
- <td style="border: none; vertical-align: top; text-align: center;">
- <img src="front.jpeg" alt="PCB (front)" style="width: 100%">
- <p>PCB (front)</p>
- </td>
- </tr>
- <tr style="border: none;">
- <td style="border: none; width: 49.5%; vertical-align: top; text-align: center;">
- <img src="back_design.jpeg" alt="Design (back)" style="width: 100%">
- <p>Footprint (back)</p>
- </td>
- <td style="border: none; vertical-align: top; text-align: center;">
- <img src="back.jpeg" alt="PCB (back)" style="width: 100%">
- <p>PCB (back)</p>
- </td>
- </tr>
-</table>
-
-The PCBs have two layers. A copper region serves as the ground plane. The 0.3
-mm wide 1 oz/ft<sup>2</sup> copper traces can carry up to 500 mA (the tracks
-connecting the power source and the linear regulators have a width of 0.5 mm).
-Both subsystems were functional. I was able to control the servo reliably using
-the fingerprint sensor.
-
-The designs aren't without flaws, however. The main shortcoming of the circuits
-is that they draw significant amounts of quiescent currents despite employing
-sleep modes. The linear regulators were a poor choice as they dissipate too
-much heat. The fingerprint sensor and the servo draw 13.8 mA (3.3 V) and 4.6 mA
-(5 V) respectively, as long as they are connected to the power supply.
-
-Although the circuit didn't draw more than 200 mA without a load, the servo
-under load could draw up to 600 mA. I'm sailing too close to the wind with 0.3
-mm copper traces. Instead, 0.4 mm wide 2 oz/ft<sup>2</sup> traces would have
-been safer.
-
-I'm working on improving the design to reduce idle current consumption and
-extend the battery life. Despite its deficiencies, this was my first PCB
-design, and I'm glad that it worked as well as it did. Custom PCB design marks
-an important milestone in my DIY electronics journey.
-
-Files: [gerber_back.zip](gerber_back.zip), [gerber_front.zip](gerber_front.zip),
- [source.tar.gz](source.tar.gz)
diff --git a/_archive/my-first-pcb/back.jpeg b/_archive/my-first-pcb/back.jpeg
deleted file mode 100644
index f458e69..0000000
--- a/_archive/my-first-pcb/back.jpeg
+++ /dev/null
Binary files differ
diff --git a/_archive/my-first-pcb/back_design.jpeg b/_archive/my-first-pcb/back_design.jpeg
deleted file mode 100644
index b6c0f5d..0000000
--- a/_archive/my-first-pcb/back_design.jpeg
+++ /dev/null
Binary files differ
diff --git a/_archive/my-first-pcb/front.jpeg b/_archive/my-first-pcb/front.jpeg
deleted file mode 100644
index 2b2931f..0000000
--- a/_archive/my-first-pcb/front.jpeg
+++ /dev/null
Binary files differ
diff --git a/_archive/my-first-pcb/front_design.jpeg b/_archive/my-first-pcb/front_design.jpeg
deleted file mode 100644
index f81f09c..0000000
--- a/_archive/my-first-pcb/front_design.jpeg
+++ /dev/null
Binary files differ
diff --git a/_archive/my-first-pcb/gerber_back.zip b/_archive/my-first-pcb/gerber_back.zip
deleted file mode 100644
index 26659ad..0000000
--- a/_archive/my-first-pcb/gerber_back.zip
+++ /dev/null
Binary files differ
diff --git a/_archive/my-first-pcb/gerber_front.zip b/_archive/my-first-pcb/gerber_front.zip
deleted file mode 100644
index 864334e..0000000
--- a/_archive/my-first-pcb/gerber_front.zip
+++ /dev/null
Binary files differ
diff --git a/_archive/my-first-pcb/source.tar.gz b/_archive/my-first-pcb/source.tar.gz
deleted file mode 100644
index c31aa22..0000000
--- a/_archive/my-first-pcb/source.tar.gz
+++ /dev/null
Binary files differ