<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notes-and-Miscellasnnea on Janusworx</title><link>https://janusworx.com/categories/notes-and-miscellasnnea/</link><description>Recent content in Notes-and-Miscellasnnea on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Mon, 30 Dec 2024 15:04:49 +0530</lastBuildDate><atom:link href="https://janusworx.com/categories/notes-and-miscellasnnea/index.xml" rel="self" type="application/rss+xml"/><item><title>Computer Architecture</title><link>https://janusworx.com/nm/computer-architecture/</link><pubDate>Mon, 30 Dec 2024 15:04:49 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/computer-architecture/</guid><description>&lt;p&gt;I have begun reading Bryant, Halloran &amp;amp; Tahiliani’s, Computer Systems, A Programmer’s Perspective.&lt;/p&gt;
&lt;p&gt;Notes and thoughts as i follow the book …&lt;/p&gt;

&lt;h3 class="relative group"&gt;2024-12-30 17:04
 &lt;div id="2024-12-30-1704" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-12-30-1704" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Learnt about the origins of the word “context”. The original domain was the os (kernel) context-switching between tasks and saving the context it needed (register state, contents of memory) before it made the actual switch&lt;/li&gt;
&lt;li&gt;Boolean logic. Blech. I thought I was done with boolean stuff. I think I can handle most of the operators mentally. It’s just xor that always trips me up&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Hugo Post from a phone</title><link>https://janusworx.com/nm/hugo-phone/</link><pubDate>Sun, 29 Dec 2024 05:04:51 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/hugo-phone/</guid><description>&lt;p&gt;Will this work in a pinch?&lt;/p&gt;</description></item><item><title>Hugo and Forgejo Experiments</title><link>https://janusworx.com/nm/forgejo-experiments/</link><pubDate>Sat, 28 Dec 2024 17:04:51 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/forgejo-experiments/</guid><description>&lt;p&gt;Need to find a way to get Forgejo to build Hugo on my self hosted Forgejo instance and then deploy it with rsync to my remote vm&lt;br&gt;
I want to do live deploys from anywhere. so just adding an md to source control and it should automatically deploy.&lt;br&gt;
That was thing one.&lt;br&gt;
Thing two, is to avoid what I am currently doing.&lt;br&gt;
Running &lt;code&gt;hugo build&lt;/code&gt; and then rsyncing the output every 30s. I don’t want to stress my vm’s storage like that.&lt;br&gt;
But I also want these stream of consciousness notes to get published as I keep typing them. (very micro pub like …)&lt;/p&gt;

&lt;h3 class="relative group"&gt;Temp list …
 &lt;div id="temp-list-" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#temp-list-" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Got too impatient and need to start this asap. Everything else depends on it. So my dream of entirely provisioning the new NUC with ansible is on hold. I need that machine up and running &lt;em&gt;right now.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;del&gt;Get Hugo into version control&lt;/del&gt;&lt;/li&gt;
&lt;li&gt;Robots! Can I disable a section (this section) of the site from being crawled by robots?&lt;/li&gt;
&lt;li&gt;Figure out how to deploy an rsync thing first&lt;/li&gt;
&lt;li&gt;&lt;del&gt;The fastest &lt;em&gt;and&lt;/em&gt; fastest thing would have been to just do this script at home while live reloading,&lt;/del&gt; but then I cannot do the edit and publish from anywhere&lt;/li&gt;
&lt;li&gt;Speaking of anywhere, I’ll need to have an instance of forgejo running somewhere more stable. Homelab internet toppled and fell over, early this month and then again this Christmas. Cannot have that happening when I am out and about again.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3 class="relative group"&gt;2024-12-28 17:40, Get some simple action working in Forgejo
 &lt;div id="2024-12-28-1740-get-some-simple-action-working-in-forgejo" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-12-28-1740-get-some-simple-action-working-in-forgejo" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Trying to get the instructions from &lt;a href="https://gohugo.io/hosting-and-deployment/hosting-on-github/" target="_blank" rel="noreferrer"&gt;step 6&lt;/a&gt; here into a workflow&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-12-28 20:44
 &lt;div id="2024-12-28-2044" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-12-28-2044" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Still struggling. Got &lt;a href="https://gohugo.io/hosting-and-deployment/hosting-on-github/" target="_blank" rel="noreferrer"&gt;distracted&lt;/a&gt; a bit as well&lt;/li&gt;
&lt;li&gt;Using Claude now, to help beat my gibberish into shape&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-12-29 10:15
 &lt;div id="2024-12-29-1015" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-12-29-1015" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New day, let’s continue tinkering&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-12-29 13:56
 &lt;div id="2024-12-29-1356" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-12-29-1356" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Got it working, &lt;a href="https://janusworx.com/images/2024/forgejo-actions-success.png" &gt;I did&lt;/a&gt;!&lt;/li&gt;
&lt;li&gt;This is such a relief. This workflow (rather the lack of it) has been such a roadblock to everything I wanted to do.&lt;/li&gt;
&lt;li&gt;Because I need to be able to to this … this crazy write/think/write/think cycle and there was too much friction in the way.&lt;/li&gt;
&lt;li&gt;Here’s to so much more learning in the new year&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Trying to Get Hugo Deploy Automatically</title><link>https://janusworx.com/nm/trying-to-get-hugo-deploy-automatically/</link><pubDate>Fri, 22 Nov 2024 07:54:05 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/trying-to-get-hugo-deploy-automatically/</guid><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Notice:&lt;/strong&gt;&lt;/em&gt; &lt;em&gt;If you’ve come here because of a web search, please don’t read further.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;There’s nothing useful here. I need to find a way to get this section of the site unindexed by robots&lt;/em&gt;&lt;/p&gt;

&lt;h3 class="relative group"&gt;2024-11-22 08:00
 &lt;div id="2024-11-22-0800" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0800" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;p&gt;Wowza, I started right on time!&lt;/p&gt;

&lt;h3 class="relative group"&gt;2024-11-22 08:01
 &lt;div id="2024-11-22-0801" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0801" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Ok I did not want to sully that perfect heading.&lt;/li&gt;
&lt;li&gt;So all the crazy starts at some odd time. You know … like a minute later&lt;/li&gt;
&lt;li&gt;I’m supposed to be packing for vacation.&lt;/li&gt;
&lt;li&gt;Which basically means, begging the better half to do it. And reminding her of things we need.&lt;/li&gt;
&lt;li&gt;I am an absolutely terrible packer. And I have an absolutely loving family. I have never had to worry about how things go into the bag.&lt;/li&gt;
&lt;li&gt;I cannot work on the &lt;a href="https://github.com/jasonbraganza/rederb" target="_blank" rel="noreferrer"&gt;script&lt;/a&gt;. It demands a lot of focus and attention.&lt;/li&gt;
&lt;li&gt;So I’ll do something that I can somehow make tiny progress on, while multitasking&lt;/li&gt;
&lt;li&gt;Like trying to move my blog into my Forgejo instance. and then have it automatically publish my posts.&lt;/li&gt;
&lt;li&gt;Which basically means, I have to abandon my plans of automating all that stuff with Ansible. I’ll get to it. Just later&lt;/li&gt;
&lt;li&gt;and setup that Pi and have a runner on another machine (one of my other Pis? Or desktops?) And see what happens&lt;/li&gt;
&lt;li&gt;We’ll know one way or the other by the end of today&lt;/li&gt;
&lt;li&gt;Why? because I’m tired of typing these posts into a remote terminal daily. I want my Mint and I want my GUI Emacs. And I want something to then automatically do the rest of the grunt work. &lt;em&gt;On y va!&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 08:21
 &lt;div id="2024-11-22-0821" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0821" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;/home/jess/blogs/jw&lt;/code&gt; in your &lt;code&gt;~/.tmux.conf&lt;/code&gt; to enable mouse support to click between panes and other mousy stuff. Just did this. I was driving me batty otherwise&lt;/li&gt;
&lt;li&gt;How do I watch a bash script? hmmpf. never mind. this is for later&lt;/li&gt;
&lt;li&gt;Grr. ok I should just look it up&lt;/li&gt;
&lt;li&gt;&lt;code&gt;watch -n N ./path-to-your-script&lt;/code&gt; where N is time in seconds. Hopefully this quiets the monkey brain&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 08:37
 &lt;div id="2024-11-22-0837" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0837" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;What do i think i need to do?&lt;/li&gt;
&lt;li&gt;Get a Forgejo runner installed&lt;/li&gt;
&lt;li&gt;Put all my Hugo stuff in source control&lt;/li&gt;
&lt;li&gt;&lt;em&gt;(the hard part)&lt;/em&gt; Figure out an action that autopublishes the blog on a push?&lt;/li&gt;
&lt;li&gt;Figure how to integrate all of the above, to my liking&lt;/li&gt;
&lt;li&gt;Success!&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 08:41
 &lt;div id="2024-11-22-0841" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0841" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Ok need to go delete an Amazon free tier account I was using to learn devops&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 09:01
 &lt;div id="2024-11-22-0901" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0901" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Well, that was &lt;a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-closing.html" target="_blank" rel="noreferrer"&gt;surprisingly easy&lt;/a&gt;!&lt;/li&gt;
&lt;li&gt;Now to wait for any pending dues. There shouldn’t be any. (or much)&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2024-11-22 09:07:&lt;/em&gt; Created a tiny snippet in Espanso for these dates and times&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2024-11-22 09:09:&lt;/em&gt; Let’s see if it works&lt;/li&gt;
&lt;li&gt;Just realised the whole blogging workflow is now so hacky and organic that it’s going to be difficult to explain to anyhow how I write and publish 😂&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2024-11-22 09:12:&lt;/em&gt; Coffee break&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 09:54
 &lt;div id="2024-11-22-0954" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-0954" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Back from coffee break&lt;/li&gt;
&lt;li&gt;Now trying to get a forgejo runner up&lt;/li&gt;
&lt;li&gt;trying to get used to the dull headache that I get with intermittent fasting at the same time&lt;/li&gt;
&lt;li&gt;Hurrah! &lt;a href="https://forgejo.org/docs/latest/admin/runner-installation/" target="_blank" rel="noreferrer"&gt;Forgejo runner&lt;/a&gt; installed. Now to getting it configured and working with Forgejo.&lt;/li&gt;
&lt;li&gt;I’m cargo culting the instructions, on a newly installed debian pc, without reading the prerequisites that are probably given somewhere. I keep stumbling into stuff that is not installed as I go throgh the instructions. I needed curl, then jq and then gpg. Now I need docker. Grr. Off to do docker&lt;/li&gt;
&lt;li&gt;Alright. &lt;a href="https://docs.docker.com/engine/install/debian/" target="_blank" rel="noreferrer"&gt;Docker’s installed&lt;/a&gt; and &lt;a href="https://docs.docker.com/engine/install/debian/" target="_blank" rel="noreferrer"&gt;post-installation steps&lt;/a&gt; done!&lt;/li&gt;
&lt;li&gt;Got my tiny debian minipc registered as a runner. Note to self: the &lt;em&gt;&lt;code&gt;runner&lt;/code&gt;&lt;/em&gt; user needs to be part of the &lt;code&gt;docker&lt;/code&gt; group as well&lt;/li&gt;
&lt;li&gt;getting my main desktop registered as runner as well, just in case I want to run some intensive job. (and for the added practice)&lt;/li&gt;
&lt;li&gt;done!&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 10:55
 &lt;div id="2024-11-22-1055" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-1055" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;some kubernetes administrative work&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2024-11-22 11:13:&lt;/em&gt; break&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2024-11-22 11:53:&lt;/em&gt; off to do some bank stuff&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2024-11-22 12:45:&lt;/em&gt; back. lunch. nap&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-22 14:40
 &lt;div id="2024-11-22-1440" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-22-1440" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Back for a teensy bit. Let’s see what I can get done&lt;/li&gt;
&lt;li&gt;Trying to get forgejo working with ssh. somehow i cannot git clone repos, down to my machine&lt;/li&gt;
&lt;li&gt;Figured it out. All because the router was not forwarding port 22 in to Forgejo&lt;/li&gt;
&lt;li&gt;Trying to add my blog to git now. piece by piece.&lt;/li&gt;
&lt;li&gt;learning to &lt;code&gt;git submodule add …&lt;/code&gt; now that the themes are children of a git repo&lt;/li&gt;
&lt;li&gt;move over. everything seems to be working.&lt;/li&gt;
&lt;li&gt;tryin to poke at actions now&lt;/li&gt;
&lt;li&gt;got test actions working! woohoo!&lt;/li&gt;
&lt;li&gt;stage is set for me to do my actions now. but that will take time and thinking. something for another day.&lt;/li&gt;
&lt;li&gt;time to go.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;
</description></item><item><title>From Derb to ReDerb, 2024-11-20</title><link>https://janusworx.com/nm/from-derb-to-rederb-2024-11-20/</link><pubDate>Wed, 20 Nov 2024 10:22:31 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/from-derb-to-rederb-2024-11-20/</guid><description>
&lt;h3 class="relative group"&gt;2024-11-20 10:23
 &lt;div id="2024-11-20-1023" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-20-1023" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Getting to work&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Idea: I need to get my Hugo to Gitea to website chain up and running&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;I’m tired of remote tmux panes to write these posts&lt;/li&gt;
&lt;li&gt;Ok, checked org agenda. seem to have done everything.&lt;/li&gt;
&lt;li&gt;let’s start with &lt;a href="https://github.com/jasonbraganza/derb" target="_blank" rel="noreferrer"&gt;Derb&lt;/a&gt; to &lt;a href="https://github.com/jasonbraganza/rederb" target="_blank" rel="noreferrer"&gt;ReDerb&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;once i have my tmux reference handy, tmux doesn’t seem so hard.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-20 10:41
 &lt;div id="2024-11-20-1041" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-20-1041" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;ok got lost in reddit&lt;/li&gt;
&lt;li&gt;now i will really work&lt;/li&gt;
&lt;li&gt;reading &lt;a href="https://12factor.net/" target="_blank" rel="noreferrer"&gt;https://12factor.net/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;now back to Goland&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-20 11:53
 &lt;div id="2024-11-20-1153" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-20-1153" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;got distracted. just noting the time. caught myself&lt;/li&gt;
&lt;li&gt;viper returns things as type &lt;code&gt;any&lt;/code&gt;. if i want a string, i should do &lt;code&gt;viper.GetString&lt;/code&gt; instead of plain ole &lt;code&gt;viper.Get&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-20 16:26
 &lt;div id="2024-11-20-1626" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-20-1626" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Back from lunch and a nap and tea. I should be more intentional about when i stop though. I was pencils down at 1p me thinks&lt;/li&gt;
&lt;li&gt;break.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-20 17:32
 &lt;div id="2024-11-20-1732" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-20-1732" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;made quite a bit of progress&lt;/li&gt;
&lt;li&gt;learned how to get a base folder&lt;/li&gt;
&lt;li&gt;leearned that slices are what lists are in python&lt;/li&gt;
&lt;li&gt;very slowly getting the hang of putting in types
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>From Derb to ReDerb, 2024-11-19</title><link>https://janusworx.com/nm/2024-11-19-go-rederb-thoughts/</link><pubDate>Tue, 19 Nov 2024 15:40:55 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/2024-11-19-go-rederb-thoughts/</guid><description>&lt;p&gt;Moving my audiobook feed generation script from &lt;a href="https://github.com/jasonbraganza/derb" target="_blank" rel="noreferrer"&gt;Derb&lt;/a&gt; to &lt;a href="https://github.com/jasonbraganza/rederb" target="_blank" rel="noreferrer"&gt;ReDerb&lt;/a&gt;&lt;br&gt;
Just journalling stuff along the way&lt;/p&gt;

&lt;h3 class="relative group"&gt;2024-11-19 15:51
 &lt;div id="2024-11-19-1551" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1551" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;I’m learning Go ya’ll!&lt;/li&gt;
&lt;li&gt;Once I finish this tiny real world project of mine, will try doing some structured DIY things from a book&lt;/li&gt;
&lt;li&gt;Go the language I learned (in theory) seems to be very different from Go the code I see everywhere. Don’t know why. Python wasn’t like that. (until I came across typed Python that is). I mostly attribute all of this to my ignorance&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;Did a huge copy pasta of code from various sources and a couple of llms over the past few days&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;Obviously nothing is working.&lt;/strong&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Trying a code paste here just for kicks&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;Hello World&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Now what? I get dstracted so often!&lt;/li&gt;
&lt;li&gt;This notes thing is an attempt to keep me focussed.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Reminder: I need to figure out Ansible asap, so I can get the posts to code repo to automatically deploy to blog via rsync pipeline working&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;So many things to learn! I’m going to go nuts for sure&lt;/em&gt; How do other people know what they want to do, and then focus on it?&lt;/li&gt;
&lt;li&gt;&lt;em&gt;So many good tech books to read and learn!&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Python &lt;del&gt;plugins&lt;/del&gt; libraries &amp;gt; Go &lt;del&gt;plugins&lt;/del&gt; libraries&lt;/li&gt;
&lt;li&gt;Rather, I think, they’re much better documented. Or maybe Go stuff is not documented for people like me. How do I get to be like them? Folks who can read the stuff that’s written and just grok it? How do I get from here to there?&lt;/li&gt;
&lt;li&gt;It’s been this crazy fantasy of mine, that whenever I write somethingh it will be well documented. My own shabby scripts tell me, this is &lt;em&gt;not&lt;/em&gt; the case. Future Jason is generally stressed and strapped for time. I should remember to make things easy for him&lt;/li&gt;
&lt;li&gt;I need to implement search on the blog. I’ve gotten tired of searching my own words with DuckDuckGo and Google&lt;/li&gt;
&lt;li&gt;Oh I need to get back to my script&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 16:54
 &lt;div id="2024-11-19-1654" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1654" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;All of Aditi “Dot” Saigal’s songs from the &lt;a href="https://www.youtube.com/watch?v=NlLWB_LxwPw" target="_blank" rel="noreferrer"&gt;Archies Soundtrack&lt;/a&gt; on loop&lt;br&gt;
Asymmetrical, The Dear Diary Tracks (June, July, September and October.)&lt;br&gt;
And Plum Pudding, though she’s not on there (or is she? I don’t know)&lt;br&gt;
I love the entire soundtrack! Though I just focus when I loop Aditi’s songs&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Idea: I want to whip up some script to post these posts as an #mjbBabbles thing on my Mastdodon Feed&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Ok going back to work on the script&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 17:06
 &lt;div id="2024-11-19-1706" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1706" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Ok brief note. Why am I rewriting in Go? Or learning Go? Distribution. Easier to deal with a single executable rather than environments and other dependencies.&lt;br&gt;
&lt;em&gt;Update 2024-11-21: Apparently even &lt;a href="https://bellard.org/ts_server/" target="_blank" rel="noreferrer"&gt;Fabrice Bellard thinks similarly&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Ok, now back to work in earnest&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 17:21
 &lt;div id="2024-11-19-1721" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1721" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;😭&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 18:09
 &lt;div id="2024-11-19-1809" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1809" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;I just spend the last however many minutes futzing around on the web.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 18:23
 &lt;div id="2024-11-19-1823" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1823" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Still distracted.&lt;/li&gt;
&lt;li&gt;Script related thought: I’m just going to duplicate what I did in Python in Go. However terribly. Idioms and Fluency are for future Jason to tackle.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 18:34
 &lt;div id="2024-11-19-1834" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1834" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;figured out how to read in environment variables, all over again, because I forgot what I did yesterday and day before.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Note: my script does not like file names with spaces&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;I can wrap them in quotes and &lt;em&gt;then&lt;/em&gt; it works&lt;/li&gt;
&lt;li&gt;it’s miscell&lt;em&gt;a&lt;/em&gt;nea and depend&lt;em&gt;e&lt;/em&gt;cies&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 18:56
 &lt;div id="2024-11-19-1856" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1856" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Got Dale Carnegie’s, How to Stop Worrying and Start Living as my guinea pig audiobook&lt;/li&gt;
&lt;li&gt;Long time since I heard it anyway.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.puddletag.net/index.html" target="_blank" rel="noreferrer"&gt;Puddletagged&lt;/a&gt; everything correctly&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Note: Figure out where Go programs put their user supplied config and furthermore, how do they store their config&lt;/em&gt;&lt;br&gt;
Hardcoding a location to put in my env files for now.&lt;/li&gt;
&lt;li&gt;Ok Claude tells me I need to use Viper&lt;/li&gt;
&lt;li&gt;so going back to read env files again. sigh&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Note: Read some Viper docs&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2024-11-19 19:30
 &lt;div id="2024-11-19-1930" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2024-11-19-1930" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Did a quick and dirty read of the Viper docs and some Claude llm jugglery to figure out why it didn’t pick up my conig path&lt;/li&gt;
&lt;li&gt;Got it working&lt;/li&gt;
&lt;li&gt;godotenv is now replaced by viper. the idea is to give the user (me) a couple of logical places for the config to exit&lt;/li&gt;
&lt;li&gt;Does it have to be an env file? Let me not overcomplicate this now&lt;/li&gt;
&lt;li&gt;Enough for today. More work tomorrow.&lt;/li&gt;
&lt;li&gt;For a solo autodidact like me, working mostly in isolation, llms are a boon. It’s like having a more experienced colleague tell you things. They could be wrong, but at least I have a general direction to point the boat in. I’ll try to be intentional about using it sparingly though.&lt;br&gt;
Finding actual people who are willing to help is hard, specially considering the fact that I hate imposing on people. I found the &lt;a href="https://gophers.slack.com/" target="_blank" rel="noreferrer"&gt;Gopher slack&lt;/a&gt; and the &lt;a href="https://forum.golangbridge.org/" target="_blank" rel="noreferrer"&gt;Go Discourse Forums&lt;/a&gt; and I’ll try using them too. I use the Hugo Discourse and it’s a treasure trove of knowledge.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;
</description></item></channel></rss>