@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 😅

pbump, to random
@pbump@journa.host avatar

Went through a big new report from Pew Research Center to illustrate how cultural insecurity helps define Trump's base of support. https://www.washingtonpost.com/politics/2024/06/06/trump-supporters-polling-race-immigration/

zalasur,
@zalasur@mastodon.surazal.net avatar

@pbump I think it's a lot less "insecurity" and more "violent hostility"

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

My favorite* thing is having to trouble-shoot code that was working perfectly fine yesterday but decided to break for mysterious reasons with no clue as to the root cause so I have to put a literal debug statement between every line of code.

And compilation takes like several minutes, by the way.

  • No this sucks
zalasur,
@zalasur@mastodon.surazal.net avatar

Ugh god dammit I forgot to put quotes around the word "string".

Thanks, JavaScript.

Mrfunkedude, to random
@Mrfunkedude@mastodon.social avatar

If a Linux user runs the OS as their main, yet never opens terminal, are they still allowed to be smug?

zalasur,
@zalasur@mastodon.surazal.net avatar

@Mrfunkedude Doubly so, I would think

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.

Mrfunkedude, to random
@Mrfunkedude@mastodon.social avatar

It’s morning. I should probably get out of bed at some point.

zalasur, (edited )
@zalasur@mastodon.surazal.net avatar

@Mrfunkedude This is the worst Idea you've had all day so far

ai6yr, to Insurance
@ai6yr@m.ai6yr.org avatar

Homeowners associations in Colorado banning gas grills due to pressure from the insurance industry. Insurers threatening to cancel insurance for those HOAs if the grills are not banned. https://www.youtube.com/watch?v=5HBYHVqn2aA

zalasur,
@zalasur@mastodon.surazal.net avatar

@ai6yr I had to stop watching that about a third of the way through when the guy started comparing his grill to his dog.

I get that you'd be upset, sir, but let's not get overdramatic here. 😆

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

I think it's gotta be some sort of truism that every new generation of software developers decide they all hate object oriented programming, so they end up reinventing it... poorly.

zalasur,
@zalasur@mastodon.surazal.net avatar

I can say these things on a public forum because I spend so much time waiting for this %&$! Vue3 application to compile

batkaren, to random
@batkaren@mastodon.online avatar

"Isn't everyone just a decaying meat puppet, slave to an increasingly failing processor?" I ask the Arby's cashier.

She stares absently into the middle distance and nods.

zalasur,
@zalasur@mastodon.surazal.net avatar

@batkaren "So that will be a yes to the horsy sauce?"

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

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.

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 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

My second most favorite fact about Steve Bannon is that he used to be a World of Warcraft gold farmer.

My first most favorite fact is that he's gonna go to jail.

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

If there's anything in the past five years that the tech industry has proven, it's how it's demonstrated the incredible power of imprinting.

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

Sweet! I solved the problem of not having to use random byte strings for my image filenames while still ensuring every filename is unique and doesn't conflict with another image.

Since S3 buckets are flat, filename collisions are a real concern. The usual strategy is to use random strings but I didn't like that, so I used a slug key index to enforce uniqueness. The slug is derived from the filename so as long as the slug doesn't conflict, neither does the filename.

Problem solved.

zalasur, (edited ) to random
@zalasur@mastodon.surazal.net avatar

Anyone have a good recommendation for a decent beard trimmer? I'm accidentally* letting my face grow out again and I'd like to get something that doesn't cause me epic face rash every time I use it.

*Lazily I think is the better term

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

It's kind of telling that when I posted a critique of the Arch Linux user base, a few people interpreted that to mean I was complaining about how difficult Arch Linux was.

Just to be clear: Arch isn't even that hard to use. The documentation is very comprehensive. And the user base is helpful, even if getting an answer out of them can be like pulling your own teeth with a set of rusty pliers. 😉

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

Ah, dangit, I forgot I need to edit the file and merge the audio tracks. No audio otherwise.

Also, I have to reduce the resolution to 720p. I was wondering why it was taking so long to transcode and I was like, oh yeah it's still in the higher resolution and frame rate. 😅

Meyerweb, to random
@Meyerweb@mastodon.social avatar

Looks like YouTube did something in the last hour or two to prevent video playback when uBlock Origin is enabled. I get playback errors with it on, no problems with it off.

zalasur,
@zalasur@mastodon.surazal.net avatar

@Meyerweb Still working for me

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

I've been a little less active on the front so I haven't had to delete my old VODs in a while but I'm starting to push 500 GB with my storage provider again so it's spring cleaning time.

I do download and archive my streams to long term storage. Maybe when I win the lottery I'll re-upload all of them for good but for now my funds are finite.

At least it's better than twitch or YouTube which have a much shorter retention period for their live streaming VODs. I keep mine for 3 months

  • 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