Didn’t really work on my OS this week. Well, editor and assembler also run on DOS now, but that wasn’t hard (still cool!):
https://movq.de/v/13bf8c77b9/los-tools-on-dos.mp4
The subshell thingy also works on DOS, I like that.
Recovery run: 3.11 miles, 00:10:52 average pace, 00:33:47 duration
Pinellas County - 3 mile run: 3.15 miles, 00:08:59 average pace, 00:28:16 duration
another cold one. slept hard ran light.
#running
Pinellas County - 5 mile run: 5.07 miles, 00:09:17 average pace, 00:47:04 duration
fucking cold! 39F out there and ran with three layers on. first 30 minutes there was a good rain. for the most part it was an easy run and was fun to combat the cold and rain which is not common here.
#running
Unit Circle
⌘ Read more
@xuu@txt.sour.is The Pod.LastSeen
and Pod.LastUpdated
fields are only ever updated in the Cache.DetectPodFromUserAgent(…)
function as far as I can tell. This function is called in Cache.DetectClientFromRequest(…)
and Cache.DetectClientFromResponse(…)
.
Cache.DetectClientFromRequest(…)
is only invoked when the twtxt.txt is requested and looks at the User-Agent
HTTP request header.
Cache.DetectClientFromResponse(…)
is only called in Cache.FetchFeeds(…)
and looks at the Powered-By
HTTP response header. This header would be set in twtxt.txt HTTP responses from yarnd. A bunch of places invoke Cache.FetchFeeds(…)
, including a periodic job (UpdateFeedsJob.Run()
). Maybe something is iffy around these locations.
Recovery run: 3.11 miles, 00:10:52 average pace, 00:33:47 duration
Pinellas County - 3 mile run: 3.15 miles, 00:09:39 average pace, 00:30:26 duration
legs feel really beat up but i have no idea why.
#running
9front “THIS TIME DEFINITELY” released
The operating system I’m not cool enough to run has pushed out a new release: 9front “THIS TIME DEFINITELY” is now available. 9front is a fork of plan9, created after plan9 languished at Bell Labs. This release enables gefs, the new file system, in the installer, “ip/ipconfig now support dhcpv6 dynamic allocations and handles prefix expirations”, and it comes with some smaller changes, too, of course. Despite every piece of evidence to the contrary, I am s … ⌘ Read more
Pinellas County - Cycling: 4.79 miles, 00:05:43 average pace, 00:27:20 duration
Pinellas County - Long Run: 9.22 miles, 00:10:03 average pace, 01:32:43 duration
this was tough. just low on energy and my legs are really tired. aerobically i was okay and the conditions were not bad. just bad head space and energy levels. tired.
#running
Pinellas County - 5 miles: 4.99 miles, 00:08:49 average pace, 00:44:02 duration
it was chill to start out with. then saw our friends walking their dogs and said hey. and then, saw some friends driving by. and then saying hello to a bunch of people in the park. and then realized there was a 5km race in the park today. yeah, i didn’t keep it chill.
#running
@lyse@lyse.isobeef.org Yeah, what else does one need? 😅
I added more instructions, made it portable (so it runs on my own OS as well as Linux/DOS/whatever), and the assembler is now good enough to be used in the build process to compile the bootloader:
That is pretty cool. 😎
It’s still a “naive” assembler. There are zero optimizations and it can’t do macros (so I had to resort to using cpp
). Since nothing is optimized, it uses longer opcodes than NASM and that makes the bootloader 11 bytes too large. 🥴 I avoided that for now by removing some cosmetic output from the bootloader.
Recovery run: 3.11 miles, 00:10:37 average pace, 00:32:58 duration
easy miles
#running #treadmill
Pinellas County - 3 mile run: 3.12 miles, 00:09:24 average pace, 00:29:20 duration
good pace finally. honestly it was mainly because my body is exhausted today and could not imagine pushing it any more.
#running
From time to time, on #openbsd, you may run ‘bioctl -P sd2’ to change your Full Disk Encryption passphrase ;)
Pinellas County - 5 miles: 5.06 miles, 00:09:02 average pace, 00:45:41 duration
a lot of saliva collected in my mouth about half a mile in. swallowed and it caused me to choke. the rest of the run had a tickle in my throat. run was pretty good just ran too quick i guess.
#running
@lime360@lime360.nekoweb.org Down at the moment due to hardware failure of one of my nodes. I have the spare parts to bring it back online, just need to find the time 😅 Sorry for the inconvenience, I just can’t afford to run the search engine right now on the remaining two nodes 😢😢
Recovery: 3.11 miles, 00:10:02 average pace, 00:31:11 duration
getting some extra miles in. been a little anxious and cannot seem to focus as of late.
#running #treadmill
Pinellas County - 3 mile run: 3.13 miles, 00:09:09 average pace, 00:28:38 duration
really nice out. still went out faster than i wanted and i really need to get better at keeping it on track.
#running
@prologic@twtxt.net It’s opensource. You can run the software in your localhost or server. Cloud service is a free option.
Pinellas County Cycling: 7.75 miles, 00:05:28 average pace, 00:42:22 duration
cross training
#cycling
Pinellas County Running: 5.03 miles, 00:09:19 average pace, 00:46:55 duration
easy five to complete the first week of marathon training. my left glute/hip had some twinges
#running
@lyse@lyse.isobeef.org /Me throws his keyboard off to the side, grabs his camera just in case and runs upstairs screaming “Yeah! Science B_ !”
@kat@yarn.girlonthemoon.xyz To improve you shell programming skills, I highly recommend to check out shellcheck
: https://github.com/koalaman/shellcheck It points out common errors and gives some suggestions on how to improve the code. Some details in shell scripting are very tricky to get right at first. Even after decades of shell programming, I run into “corner cases” every now and then.
E.g. in getlyr
’s line 7 it warns:
echo -e $(gum style --italic --foreground "#f4b8e4" "'$artist', '$song'")
^-- SC2046: Quote this to prevent word splitting.
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
Most likely not all that problematic in this application, but it’s good to know about this underlying concept. Word splitting is basically splitting tokens on whitespace, this can lead to interesting consequences as illustrated by this little code:
$ echo $(echo "Hello World")
Hello World
$ echo "$(echo "Hello World")"
Hello World
In the first case the shells sees two whitespace-separated tokens or arguments for the echo
command. This basically becomes echo Hello World
. So, echo
joins them by a single space. In the second one it sees one argument for the echo
command, so echo
simply echos this single argument that contains three spaces.
Pinellas County - Long Run: 8.50 miles, 00:09:50 average pace, 01:23:31 duration
garmin gps really fucked this one up. it thought i ran a half marathon at like a 7:00 pace or something.
the run was okay. it was a bit warmer and humid this morning, but really i am just a bit worn out i think. it was a bit boring so i turned on the podcast “telepathy tapes” and that was at least background noise.
#running
Hmm, I just noticed that the feed template seems to be broken on your yarnd instance, @kat@yarn.girlonthemoon.xyz. Looking at your raw feed file (and your mates as well), line 6 reads:
# This is hosted by a Yarn.social pod yarn running yarnd ERSION@OMMIT go1.23.4
^^^^^^^^^^^^
Looks like the first letters of the version and commit got somehow chopped off. I’ve no idea what happened here, maybe @prologic@twtxt.net knows something. :-? I’m not familiar with the templating, I just recall @xuu@txt.sour.is reporting in IRC the other day that he’s also having great fun with his custom preamble from time to time.
That “broken” comment doesn’t hurt anything, it’s still a proper comment and hence ignored by clients. It’s just odd, that’s all.
The editor can launch a new shell now:
https://movq.de/v/6ec68b50dd/los86-edit-shell.mp4
Trivial to implement but super useful. It allows for simple but meaningful dev cycles: Edit source code, run/test it, back to editor. That’s what I do in the video.
(The Brainfuck program is silly, but I got nothing else at the moment.)
The I/O cache is also getting better. All that back and forth doesn’t hit the disk at all, once cached.
This whole thing is much more fun and interesting when you run it from a real floppy disk. It’s a 5.25” floppy in the video (so it’s actually floppy 😅). Disk seek times can be catastrophic and you don’t notice any of this on modern disks.
Pinellas County Running: 3.14 miles, 00:09:12 average pace, 00:28:55 duration
third day of training with just a base run. definitely feeling the squats and lunges i did two days ago!
#running
Yeah, @bender@twtxt.net, I absolutely love it! :-D Monty Python just rocks!
This very knight inspired me to make myself a knight helmet with opening visor out of an old washing machine sheet metal years ago for a theater play. It was really great fun, both making the helmet as well as using it during the week in the play as a silly and shady prince who got all his tracts of land by winning dubious games.
I just couldn’t really hear very well in it. And if somebody hit me on the head or just slightly knocked on the helmet, it was incredibly loud. No fine craftmanship by any means and obviously historically extremely questionable at best, but it did the job well enough. One of the running gags was that I had to open the visor when I wanted to talk. Here are some photos in action, you’ll find many more when surfing through the gallery:
- https://wawuwo.de/2016/woche2/montag/017.html#image
- https://wawuwo.de/2016/woche2/dienstag/019.html#image
- https://wawuwo.de/2016/woche2/mittwoch/156.html#image
- https://wawuwo.de/2016/woche2/donnerstag/008.html#image
- https://wawuwo.de/2016/woche2/freitag/036.html#image In one lunch break my page and I decided to dress up and play a game of dice against the kids. However, we used badly cogged dice. We just added a few dots of paint on one of the two dice, so that it had two fours, two fives and two sixes or something like that. I always told my opponents: “You can choose whatever dice you want. Except for the red one, that’s my lucky dice!” As well-behaved children, they then selected the blue, unbiased one. And usually lost. However, I remember there was one kid that beat me with four sixes in row. :-D Although we thought, we make it halfway obvious that this game is truly not fair, it took them extremely long to figure out that we had messed with my lucky dice. When they finally did, they got super angry. Some of them were on the brink of beating me up. That was really nice to see their sense of justice kick it. :-)
- https://wawuwo.de/2016/woche2/freitag/169.html#image
Pinellas County Running: 5.06 miles, 00:08:58 average pace, 00:45:20 duration
5 miles at marathon pace. what is marathon pace? i do not know yet but was trying to start around 9:10 and see how that felt. it was good but maybe not good for a full marathon at this point.
#running
Trimix
⌘ Read more
Pinellas County Running: 3.12 miles, 00:08:53 average pace, 00:27:44 duration
first day of marathon training. i do not have a race in mind but wanted to start training again. was going too fast but 48F and just feeling overall good.
#running
Hey this could be good news for self-hosters and folks that want to run their own yarnd
? 🤔 Vultr is offering 1 vCPU, 500MB Memory and 10GB Storage for FREE! That’s right $0.00 🤣
@bmallred@staystrong.run Oh no! Best of luck to restore everything. Unfortunately, I cannot provide you a copy of your twtxt feed. It turns out when the messages were gone from your feed and I refetched the now empty feed, all messages were also dropped from my local cache. :-/ But it looks like you’re on something already. The message timestamps are all way off, though.
i’m pretty sure i’m running this all off sqlite so if i get too many users on here i might be cooked but oh well i can always try to migrate (<– has heard migrations from sqlite to mysql/postgres are hell)
@bmallred@staystrong.run did you rotate your twtxt file or something happened to your twts? 🤔 asking just in case…
i’ve been transitioning CLI text editors from nano (godforsaken editor) to micro (normal and not overly opinionated to the point where i feel like i’m defusing a bomb trying to learn its keybindings) and the only weird thing is that i can’t get it to persist an alias from nano to micro when i run sudo despite me configuring that. well at least on my servers, it persists on this machine. idk i’ll look at it later
Pinellas County - Long Run: 11.00 miles, 00:09:38 average pace, 01:46:02 duration
just one of those ones you never want to stop. it was dark, quiet, and lonely which just let me zone out with the cool weather and maintain what felt easy. didn’t look at the watch until the end when it notified me it was going to die. adjusted the mileage and time to reflect.
#running
base(2)
or base(16)
in calc to do that. That’s exhausting after a while.
@movq@www.uninformativ.de Thanks! I already found it and patched it to run in my ancient Python version (no match
keyword and exec(…)
only allows globals
and locals
as positional arguments). :-) https://lyse.isobeef.org/tmp/mcalc-patched.py.txt
i recorded my first camcorder video!!!! it’s just me practicing guitar after sooo long of not playing it. my acoustic, to be specific (well, it’s an electric acoustic thing but i can play it without plugging it in lol, i do have a stratocaster though). it’s capped at ~30 minutes because i used one mini DVD for it and decided i wasn’t gonna use another one to extend the run time. so yeah. it was super fun! i hope i can share it soon, i’m ripping the disc with make MKV right now, then i’ll re-encode to a web friendly format, and upload to my site and hope that works well
I am now proud to say, that as of this moment, I am off of Clownflare 🤣 Still using Cloudflare for DNS, but no longer proxying through their services or terminating TLS at their edge. Instead, all my sites and services now terminate TLS on my own edge proxy running Caddy+Wireguard (so all ingress is actually egress 🤣) 🥳 #Clownflare #Cloudflare
Easy: 4.06 miles, 00:08:51 average pace, 00:35:59 duration
51F this morning with a bit of a breeze which was great. felt easy but i think the enjoyment of being outside brought my pace and heart rate up a bit. actually slept well last night and woke up refreshed… been about a month or more i think.
#running
Okay, this is pretty cool. My 8086 toy OS running on my old Pentium from an actual floppy disk. 😍 I just love that sound and the feeling of using floppies. This brings back so many memories from my early DOS days.
The cp-unopt
program copies a file and intentionally uses small unaligned reads/writes (hopefully triggers more bugs).
The I/O cache works “okay-ish”, I guess. When sha1
runs, it has to do a few reads for the first file and basically none for the second one. Both could have been served entirely from the cache, theoretically. (But even just having an I/O cache in the first place speeds up things dramatically.)
Notice how there’s an EA
file. That’s a left-over from OS/2, because I copied some files to the floppy using OS/2. In other words, my FAT12 implementation survives OS/2 writing to it. 🥳 (But I guess it should show up as EA DATA.SF
. My current code starts at the left and stops at the first space.)
https://movq.de/v/d4d50d3c74/los86-on-p133-from-floppy-small2.mp4
Recovery run: 6.21 miles, 00:09:19 average pace, 00:57:51 duration
just running to run. a bit worn out recently so just stuck to the treadmill. first two miles at 10:00, next two and three quarters at 8:34, a quarter mile at 7:30, and a cool down at 10:00 again.
#running #treadmill
Pinelles County Cycling: 1.12 miles, 00:11:02 average pace, 00:12:20 duration
Pinelles County Cycling: 1.12 miles, 00:10:19 average pace, 00:11:32 duration
:diffoff
a vim command...
@prologic@twtxt.net it offends someone with a diff
erent opinion? 🤣
No, seriously… :diffoff
is used to disable vim’s diff mode that’s usually started running vim -d someFile someOtherFile
or by having both files on a split window and applying :diffthis
on both panes. (just learned this this morning)
Pinellas County - Long Run: 13.13 miles, 00:10:34 average pace, 02:18:44 duration
woke up exhausted and felt it the entire day. broke the run up a bit with a mile on/off intervals. the faster pace felt good but towards the end of each i could feel the fatigue accumulating. fucking humid with none of the expected rain which was a disappointment.
#running
Pinelles County Cycling: 1.80 miles, 00:09:33 average pace, 00:17:14 duration