Screenshot of a memory dump of the compiled code of a FORTH word that I wrote, which is doing the memory dump itself. 😁
=> More informations about this toot | View the thread
@rek Heck!!!! 😨
"I had an anxiety attack, maybe it was fatigue, but more likely it was the fear of big waves. Ever since one threw me overboard I felt nervous when a high wave approached our boat." via https://100r.co/site/victoria_to_sitka_logbook.html
=> More informations about this toot | View the thread
Now I've written DO...WHILE loops in FORTH itself! giggles This is too fun.
=> More informations about this toot | View the thread
Adding multi-line comments to FORTH, in FORTH:
: (
KEY CHAR ) = 0BRANCH [ -20 , ]
;
There's more to be understood here re: [ and ] and , but that's the high level!
Now I can write comments like,
( hello world! this input is ignored! )
=> More informations about this toot | View the thread
I wish I could explain how cool this is, how powerful it is!
FORTH can rewrite its own interpreter/compiler at runtime or compile-time (as you prefer). You can write words that run their own logic at compile-time (like Lisp macros). You can replace any built-in core function with your own. You can define IF...THEN yourself and any loop construct from with in FORTH itself. FORTH has full access to the same memory it runs in (including the dictionary of all words), so it can modify itself in any way.
You can even create new types of syntax for single- and multi-line comments from within FORTH!
🤯 🤯 🤯
=> More informations about this toot | View the thread
What gets me is that, if someone unfamiliar with FORTH tries to read this or run it, they're going to have a terribly confusing time.
I haven't figured out yet how to present this in a way that's accessible. 🤔
=> More informations about this toot | View the thread
What a fun week and a half:
https://codeberg.org/kira/forth32/
This is an implementation of FORTH, following the jonesforth tutorial[1]. The original is written in x86 assembly, mine is in C.
It works! I'm so thrilled. I've bounced off of trying to implement this perhaps, say, 3 or 4 times? Each time I'd get stuck, and a couple of months later I'd have another go at it, and I'd grok the thing I had been stuck on the previous time.
And this time I made it to the end (of the main implementation).
The base system is 3900 bytes: that includes the stacks, string buffer, and all of the built-in words.
What a joy! It's so cool to finally understand how FORTH works from the ground up. It's complicated but elegant & simple.
[1] https://github.com/nornagon/jonesforth/blob/master/jonesforth.S
=> More informations about this toot | View the thread
Many years of C, and today I learned about the # and ## preprocessor operators:
[#]x => "x"
x##x => xy
Very handy!
=> More informations about this toot | View the thread
PhysicsGirl stands for the first time in 2 years!
https://youtube.com/shorts/2ntx91cOYEc
She's been dealing with very severe Long COVID since 2022, and has been bed-bound, I think, since then.
I heard anecdotally that she had a good stellate ganglion block injection (SGB), which is, as I understand it, a relatively new Long COVID treatment.
Really excited for her, and what this could mean for other folx dealing with Long COVID (and perhaps also ME/CFS)!
=> More informations about this toot | View the thread
Hey @rek or @neauoire, how did you make the gravy for
"[...] poutine a-la-Pino for dinner, steamed potatoes(frying wasn't going to happen) with a homemade gravy on top"? This sounds tasty.
=> More informations about this toot | View the thread
Hey @rek, I've started reading y'alls' Sitka logbook!
You mention toasting break in a cast iron pan: how do you do yours? I looked around online and folx seem to be frying bread in butter -- curious what your approach is and if it's more toaster-like.
=> More informations about this toot | View the thread
Oh! Yay, it seems to be possible on Firefox:
https://support.mozilla.org/en-US/kb/block-autoplay
I wish this was the default. >_<
=> More informations about this toot | View the thread
I really dislike autoplay.
I wish my browser gave me the option to not let any video play until I click on it.
It feels so consistent though with the no-consent culture of most of society.
=> More informations about this toot | View the thread
It would be cool if authors had a "piracy tip jar" on their websites.
That way, if someone pirated a copy of one of their books because they just wanted a DRM-free copy, they could still pay the author directly for it (skipping the publisher middleman) if they enjoyed or appreciated their work.
We could call it the "Piracy OR Random Kindness Tip Jar", so nobody needs to incriminate themselves. 😇
=> More informations about this toot | View the thread
Hung up some dried fireweed stalks collected last autumn on the balcony, to ret.
Retting is a process of "controlled rot", where, as I understand it, the dried plant stem is exposed to water, creating a bacteria-friendly environment. Those bacteria eat away at the materials that bind the bast fibres to the rest of the plant.
There is a sweet spot, I am told, where the fibres can peel off easily. Too much retting though, and the fibres also start to degrade.
My idea is that, since it's rainy season in the pacific northwest, these stalks will get exposed to plenty of moisture.
So, we'll see what happens! :D This is my first ret!
=> View attached media | View attached media
=> More informations about this toot | View the thread
Today I learned about sakiori, a Japenese weaving art, that reuses old fabric to create new. Some garments are over 100 years old.
It originated in northern Japan, where it was too cold to grow cotton. So, any fabric was treated with care & reused as many times as possible.
https://www.youtube.com/watch?v=AEJoSil2jSA
[#]solarpunk
=> More informations about this toot | View the thread
The answer to the "how will we have enough energy" question re: moving away from fossil fuels, that nobody wants to hear:
Use less energy.
It's wild to me that this simple solution doesn't seem to enter the conversation.
Humans are so clever & creative: surely we can figure out ways to use less energy instead of trying to keep the hilariously wasteful american lifestyle alive?
=> More informations about this toot | View the thread
TIL about hay bale spontaneous combustion.
https://mmiab.ca/blog/farm-insurance-101-what-to-do-when-your-hay-bales-catch-on-fire/
=> More informations about this toot | View the thread
Gorgeous, informative, and just really well made write-up on the bamboo scaffolders of Hong Kong:
https://multimedia.scmp.com/infographics/culture/article/3183200/bamboo-scaffolding/index.html
:boost_ok: :boost_ok: :boost_ok:
[#]solarpunk
=> More informations about this toot | View the thread
Updated my now page. 💔
http://kira.eight45.net/now.html
CW: disability
=> More informations about this toot | View the thread
=> This profile with reblog | Go to tty@sunbeam.city account This content has been proxied by September (3851b).Proxy Information
text/gemini