new text adn interests page
This commit is contained in:
@@ -52,18 +52,38 @@
|
||||
</p>
|
||||
</div>
|
||||
<br>
|
||||
<div class="exp-flex">
|
||||
<p class="exp-body">I love my custom Linux setup. I use Hyprland, which automatically arranges app windows
|
||||
on my screen so everything stays organized without dragging things around. I also use Quickshell, which
|
||||
lets me customize menus, shortcuts, and system controls to work exactly how I want.
|
||||
My system is based on Arch Linux or Manjaro Linux, which are versions of Linux that give you more
|
||||
control and customization than a typical computer setup. The result is a clean, fast, and super
|
||||
efficient desktop that's hard to go back from.
|
||||
<a class="outlink" href="https://git.samantha42.xyz/samantha/dotfiles">Git repo</a>
|
||||
</p>
|
||||
<img src="/static/images/sql.png" style="height: 400px; align-self: center;">
|
||||
</div>
|
||||
</section>
|
||||
<p class="exp-body">
|
||||
Programming can be a chore, but for me it's a source of joy. It's something I do as a hobby, and I
|
||||
don't use LLMs much. It's about having fun and making a fool of yourself. It's not about how good it is,
|
||||
in this case, I'd rather just listen to music and drink a cup of tea. I enjoy the struggle to debug, the small beauty in understanding why a bug was there in the first place.
|
||||
</p>
|
||||
|
||||
<img src="/static/images/sql.png" style="width: 70%; padding: 10px 15% 10px; align-self: center;">
|
||||
<p class="exp-body">
|
||||
I chose SQLite3 because it's a SQL-based database that doesn't need a live server, just a single db file.
|
||||
The idea is to use a monolith to control the book records, so no collisions should happen. The IDs and other
|
||||
fields are kept very basic because of SQLite's minimal type support.
|
||||
|
||||
Entries are ints and strings. The history of changes, saved as events, is stored as blobs, since retrieving
|
||||
these should only happen on rare occasions. Mostly the resulting changes are saved, while the more granular
|
||||
event-by-business-action log is timestamped, and its id relates to the resulting entries (account movements).
|
||||
</p>
|
||||
|
||||
<img src="/static/images/directory.png" style="width: 60%; padding: 10px 15% 10px; align-self: center;">
|
||||
|
||||
<p class="exp-body">
|
||||
Space can be a concern, so I save attachments in a compressed format. By separating attachments, a linked
|
||||
directory could be saved on a hard disk drive instead, as these will probably almost never get accessed after
|
||||
saving. Only occasionally in an audit scenario.
|
||||
<br>
|
||||
The filename is the id from the db. This way, if there's ever a corruption scare, I could read the db as a
|
||||
text file and find the metadata from the id. It also makes naming irrelevant, so filenames can't collide.
|
||||
</p>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="product">
|
||||
<div class="section-head">
|
||||
|
||||
Reference in New Issue
Block a user