Weeknotes – 006

Watched The Mandalorian last week and it kept getting better and better. It culminated in a jaw dropping season finale that in my opinion, has revived interest in the Star Wars story for most fans. If you are a fan of Star Wars, you have to watch The Mandalorian.

Figured out how to convert the “Published” date in Wyam into the GMT equivalent of my local time. You can find my solution here.

Side-note: I am liking the new “discussion” feature on Github.

Was supposed to create an “Unpopular Posts” Blazor WASM app, but ended up creating the opposite. Anyway, I managed to make the app flexible by having it use query string parameters. That means that you can use the app and embed it into your own Write.as page/site. Just follow the instructions in the readme.

Link: Write.as Popular Posts – Blazor WASM App

Moved to my new team at work last week. It was hectic. Between trying to keep up with multiple chat threads, emails, meetings, I was playing catch-up the whole day. That said, they are a fun bunch. And I've found myself laughing a lot during our meetings.

A WriteFreely user recently got in touch with me, asking if I could modify the Write.as Archive Page Generator app, to make it work with WriteFreely instances. I spent some time with it last week and I ran into a snag. I'm getting this TypeError: Failed to fetch JavaScript error whenever it tries to fetch data from the WriteFreely instance I'm testing.

When I try getting posts from a Write.as blog using a Blazor WASM app, it works. When I try getting posts from a WriteFreely instance blog, using the Blazor WASM app, it won't work. But when I try getting posts from a WriteFreely instance blog, using a .NET Core console app that uses the WriteAs.NET library I wrote, the same library that the Blazor WASM app uses, it works. Something weird is going on.

My quick research into the issue indicates a possible limitation with WebAssembly apps. There must be some security setting on the WriteFreely instance I'm testing, that's blocking my Blazor WASM requests. The Write.as API is obviously not blocking my requests, so something is going on with that WriteFreely instance. I'll have to dig into it some more.

I was listening to the Guild Wars 2 OST, while doing Production support. At one point, it felt like I was fighting a world boss while trying to fix an issue. 😀

The particular song I was listening to was Shadow of the Dragon. Try to listen to it while working on a bug or issue, it will be fun haha.

Tags: #Weeknotes #Blazor #GuildWars2 #TVShow #WebDevelopment

Find me on Mastodon (@dino@writing.exchange) or Micro.blog (@Dino)