summaryrefslogtreecommitdiff
path: root/blog/2024-07-20-occ4-day8/index.md
diff options
context:
space:
mode:
authornepèta dyengxuah <nepeta@canaglie.net>2025-04-09 00:03:20 +1000
committernepèta dyengxuah <nepeta@canaglie.net>2025-04-09 00:03:20 +1000
commitc6ff2e34665ab72a8e460b0e08745509c6500233 (patch)
tree8824787ea0db0a03db5840d37d2fc1ceb1dd328b /blog/2024-07-20-occ4-day8/index.md
parent60b603ebd48c3add90ee40fa9421c3919241ccea (diff)
bring shit back in
Diffstat (limited to 'blog/2024-07-20-occ4-day8/index.md')
-rw-r--r--blog/2024-07-20-occ4-day8/index.md53
1 files changed, 53 insertions, 0 deletions
diff --git a/blog/2024-07-20-occ4-day8/index.md b/blog/2024-07-20-occ4-day8/index.md
new file mode 100644
index 0000000..b18141c
--- /dev/null
+++ b/blog/2024-07-20-occ4-day8/index.md
@@ -0,0 +1,53 @@
+# old computer challenge 4: day 8
+
+this is the last day. i've been looking at
+writing 9p filesystems, but i barely get around
+to writing C code in general and i have never,
+for some reason, been able to grasp how to best
+read data from a file into a buffer. i think
+i overthink everything too much and then
+never actually implement anything.
+
+i thought i had mentioned this before, but
+apparently i hadn't, but i was able to watch
+some videos via `treason`. before, when opening
+a file, the audio and video would be immediately
+out of sync. turns out i just had to pause and then
+play, and it worked fine. (except for sometimes,
+probably because of network issues because the video is
+over sshfs, the player would freeze)
+
+i haven't figured out how to make the plumber deal
+well with files with spaces in the name. adding
+a space into the regex rule for file names seems
+to tokenise the whitespace as separate `rc` arguments.
+
+will probably try doing occ again next year.
+it was fun.
+maybe i'll try freeDOS, or duskOS.
+
+i've been thinking of getting a thinkpad x200 or something.
+my dell inspiron is quite bulky and hard to carry around.
+x200s seem to be well supported all around, which is nice too.
+may even try using it to replace my main laptop, as my main laptop
+is falling the fuck apart. the main charging port no longer works,
+only USB-C. the headphone jack is broken, so I need to use bluetooth
+audio. that laptop is from 2021. this 2006 dell laptop is in better
+shape.
+
+`sam` is a nice editor, even though i never actually read the tutorial
+to learn the command syntax. oops
+
+i think i'll be using 9front more, going forward.
+maybe setting this laptop up as a cpu/auth server?
+
+`git9` is ok. `git/walk` seems to only work from
+the repository root, though, because otherwise
+it can't find the `.git/fs`.
+
+i never got around to writing more of `uxn9`
+because i got `npe`'s SDL working. or porting
+sfeed, which i also wanted to do.
+
+there are still a few hours left until the challenge
+is over though so maybe i could try it tonight.