Posts

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

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

One of my frustrations as a web developer is that we as an industry have gotten so bad at doing stylesheets the default behavior for modern web applications is to use shadow root disable the cascade in "cascading style sheets" because people do not know how to properly scope them in their own web pages.

We've basically reverted to the bad old days where styles were defined on each element individually rather than globally, as was the intent of CSS.

zalasur,
@zalasur@mastodon.surazal.net avatar

I just ended up disabling the shadow root by defining my own custom class that inherited from LitElement. Supposedly this is not recommended because it make composition more difficult but I'm not really concerned about that. If I feel up to it I'll re-enable shadow root, but only for the top-level element(s). I definitely don't need 300 nested shadow roots in my page.

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

One of the things about getting older they don't tell you about is that when you see someone post a picture of an item and exclaim, "This antique was made 50 years ago! Can you believe it??" you have to constantly remind your brain that they are not talking about the item being created in the 1940s.

gdinwiddie,
@gdinwiddie@mastodon.social avatar

@zalasur
I have so many fond memories of 50 years ago.

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

I don't think anyone reading this would be shocked in the slightest.

https://www.giantfreakinrobot.com/ent/star-trek-producer-writers-science.html

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

Ok, got one important errand done today. Next up I have to get ready to head up to the northern 'burbs to pick up some soda.

Nearby, there is this old brew pub I used to hang out at in the days before I stopped drinking. The building is still there but the owner sold it last year and there hasn't really been any updates as to what has been going on with the place since the new owners took over. So I'm planning on sneaking over there to take a few pictures of the building. 😈

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

So yesterday I learned that the next-best alternative to Google search (DuckDuckGo) that everyone kept recommending, including myself, is in fact Microsoft Bing with a different skin.

I really hate this timeline. 😅

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

I almost panicked because I just realized I had to book an appointment for an oil change next week, but fortunately it's usually not an issue to find a time slot right after a major holiday.

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

I just stopped working in a project this afternoon in frustration because of a stupid CORS error and I might need to talk to the architect in the morning to fix it because this application's architecture seems designed to turn even the simplest of tasks, AKA setting up an endpoint in the server to return some key/value store data, into a collosal headache.

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

Ok, so.

Delicious in Dungeon: is the entire show like one long animated recipe book? 😅

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

Hey Millennials. Gen X here.

I saw a post from one of you guys that read "Our retirement plan is social collapse".

Our retirement plan when we were growing up well into adulthood was thermonuclear oblivion.

I get where you're coming from, but I would suggest having a Plan B for just in case when civilization doesn't collapse on schedule.

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

I actually don't mind the rain. I'm just hoping that we don't get like a summer's worth of it before June and then nothing for the following three months, just like the last two years have been like.

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

These four screenshots comprising of a 30-tweet thread you did on X could have been a blog post.

Ironically, the screenshots were all properly alt-texted. I mean, if you went through the effort, you could have just posted... the text.

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

Aw. I just got called a "young fellow" on the fedi.

I'm 48. 😂

I guess there are worse things. 😅

lukem,
@lukem@hachyderm.io avatar

@zalasur Better in this direction than "People don't live this long" (read that once and I'm WAAAAAY younger).

zalasur,
@zalasur@mastodon.surazal.net avatar

@lukem When I was twenty I was convinced I wouldn't make it to forty. It just seemed completely incomprehensible to me.

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

Just an FYI, I did not get hacked. I replied to somebody with a long CW that originated from the Georgia Humane Society as a joke apparently. When you reply to a post with a CW your post automatically has that CW, too.

That made it look like I was posting a singles ad from my account.

I've deleted my post just in case anyone got the wrong impression.

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

It's been almost a decade since I've done a live coding stream. This will be fun!

Today I'll be migrating my website from React to Lit, which is a lightweight framework built around web components. I have the scaffolding set up mostly, so now it's time to get this done.

Come watch. Ask questions in chat! You don't need to create an account, just a username is needed to participate.

https://video.surazal.net/w/5S7FPXJMZh1i1eqZLY9mcV

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

Ah ha! I figured out why I was having issues with the rollup tool previously. Once I got past that stubborn error, the rest of the comfort was pretty easy.

I think I'll be able to do that technical stream tomorrow. The web page redesign project is a go!

zalasur,
@zalasur@mastodon.surazal.net avatar

Ok, we're set for a techie stream after lunch. This is different from my normal gaming streams. I won't do a whole lot of talking and will have some copyright-free music playing in the background. Come join me in my adventures in neovim!

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