@zalasur@mastodon.surazal.net
@zalasur@mastodon.surazal.net avatar

zalasur

@zalasur@mastodon.surazal.net

I play strategy games, write software, and stream on Peertube (not necessarily in that order). Also, sock monkeys! Preferred pronouns: he/him/his.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

zalasur, to fediverse
@zalasur@mastodon.surazal.net avatar

YouTube is login-walling videos apparently, meaning you need an account to watch them. It's still in testing but some users are reporting that it's live in some places already.

On an unrelated note, even though I ask for donations to help me cover costs for my server I will never hide my content behind a paywall. I just thought I'd throw that out there. ☺️

https://video.surazal.net/

zalasur, to random
@zalasur@mastodon.surazal.net avatar

It's kinda funny how the process of deciding how to implement a certain feature in your application takes s lot more time to code the actual feature.

I spent about a week trying to figure out the best way to implement pagination. On the surface of things the answer was easy: URL parameters. But how to fit that in the app?

I decided against individual subcomponents responsible for parsing the page URL because what if multiple components wanted a "page" parameter? (cont)

zalasur,
@zalasur@mastodon.surazal.net avatar

So to avoid namespace collision in the URL search string I decided to have to top-level pages responsible for parsing URL parameters. That way, if there are multiple pagination controls on the page, then the page itself can assign names for the various parameters and the subcomponents only have to worry about what attributes are assigned to it.

It felt like the "correct" way. And coding time for this feature? Maybe fifteen minutes. This was after a week of thinking about how I wanted to do it 😅

zalasur, to DwarfFortress
@zalasur@mastodon.surazal.net avatar

Today we are embarking on the Dwarf Fortress Volcano Challenge: Clear Glass and Obsidian Castle!

I generated a new world to improve the volcano embark situation a little bit and hit pay dirt! There are many more embarkable volcanoes and they have plenty of resources near by them, so I picked a spot and will embark on to my next challenge:

Can I build a fortress entirely out of clear glass and obsidian?

Let's find out!

https://video.surazal.net/w/9HhmDj1WqnkgTzvXKsVKka

#DwarfFortress #Stream #Streaming #PeerTube

zalasur, to random
@zalasur@mastodon.surazal.net avatar

I had as dream last night where we stayed at an Airbnb for $7,000, but then we discovered that it was $7,000 per person. I woke up in a cold sweat because I thought I was going to have to cough up $14,000 somehow for staying at someone's house for a few days. 😅

zalasur, to random
@zalasur@mastodon.surazal.net avatar

I have the CMS mostly set up now to begin transferring my old fractal images and blog data from my old site to the new one. The blogs won't be a big deal since I only had like 17 entries, but I have almost 60 fractal images and I can either do them all in one sitting, which would take a few hours, or do them a few at a time.

But before I worry about that, I need to do the front end first and set up the pages.

One this project is completed I'll finally retire the old site and set up a redirect.

zalasur, to random
@zalasur@mastodon.surazal.net avatar

I got pagination to work! Even better, it works in an SPA context, so the page doesn't reload just because you want to browse back and forth. The MobX data store keeps items cached in the browser so that each item is fetched only once (unless you refresh the page).

Pagination is one of those "It seems like it should be easy but it really isn't" features on most websites. I've build pagination components on many, many web apps over the years and it still is a bit of a challenge every time.

zalasur, to random
@zalasur@mastodon.surazal.net avatar

Sort of tempted to do another technical stream this weekend. I want to get the blog and fractal pages done so I can move on to the RSS feed stuff.

I might develop a simple plug-in for Keystone.js to help simplify embedding peertube videos on my site. It's a baby step towards implementing ActivityPub but it would be handy to have an easy way to push my video blogs on my regular blog to have a one-stop shop on my website.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines