@Htbaa@fosstodon.org avatar

Htbaa

@Htbaa@fosstodon.org

Webdeveloper, #Perl, PHP, #htmx, Accessibility, WordPress, Linux, Gaming, Guitar, little bit of piano and bass.

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

danjac, to react
@danjac@masto.ai avatar

Feels weird going back to maintaining an SPA #React/#django Jenga tower stack when you're used to #HTMX and Alpine, especially on a project that doesn't have a lot of interactivity. The codebase could be at least 30% smaller and be more robust and have fewer moving parts.

It was built maybe 5 years ago, at the height of the SPA madness when this architecture was considered "standard". Standard for a low-interest rate economy perhaps?

Htbaa,
@Htbaa@fosstodon.org avatar

@danjac I still have a couple of SPA’s to manage that are about 9-10 years old. Written in #CoffeeScript 1 (not too bad) and #BackboneJS with a #Perl #Mojolicious backend.

Getting to run the JS dev stuff and keeping it up to date, or rather working with a newer Node version is challenging. Looking back it being a SPA doesn’t do much for 85% of these apps. I should’ve used some #jQuery instead for the interactive parts. That way I could’ve moved to #htmx without any issue.

Htbaa,
@Htbaa@fosstodon.org avatar

@danjac to add the Perl and Mojolicious stuff takes very little work to keep up to date. That’s why I like Perl, great backwards comparability! Mojolicious has a great policy on deprecating stuff, providing documentation on how to migrate and well written change logs to see what’s changed. It’s usually minor stuff if there’s anything at all.

Though I dislike the JS tooling for these apps I’m happy Backbone.js has been very stable as well. Though I still wished I didn’t write SPA’s.

ausretrogamer, to Xbox
@ausretrogamer@mastodon.online avatar

We couldn’t resist, we bought @AntstreamArcade - 𝐿𝒾𝒻𝑒𝓉𝒾𝓂𝑒 𝒫𝒶𝓈𝓈 𝐸𝒹𝒾𝓉𝒾𝑜𝓃 for our Xbox Series S!

First game we had to play?
No, not Galaga, it was Double Dragon!

#Xbox #retrogaming

image/png
image/png
image/png

Htbaa,
@Htbaa@fosstodon.org avatar

@ausretrogamer is this a buy once kind of thing? Or is it subscription based or something?

jake4480, to Youtube
@jake4480@c.im avatar

Lately I've been working on organizing some things, and setting up systems is always key. Even for digital stuff. Maybe ESPECIALLY digital stuff. Just like cleaning your physical house and trying to rid it of clutter (did a lot of that recently, as we always do, sometimes to little avail 🤣), digital clutter is real. Going through my YouTube 'Watch Later' playlist and it's down to 106 things. That feels like a miracle- it was over 200 videos (almost 300) the other day, and just by watching a few seconds of one or two, many just needed filing to another playlist - especially ones I'd already seen and just want to save. And, of course, same as phone screenshots, some things you just have NO idea why you saved it. So you delete those. And wow. 106. Amazing. Maybe I can knock out more next week. Plus, I'm learning some things. They're some really boss videos. If I find some really cool ones, I'll post em here, of course.

#organization #organizing #clutter #DigitalClutter #YouTube

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 I’m currently at 374 videos in my watch later list. It’s usually around 350-360. Doesn’t help when longer videos get added…

I don’t really care much for curating these lists and keeping them tidy. From time to time I delete stuff I’ve lost interest in. But other than that I don’t want to spend too much time on stuff like that. Best would be if it suddenly got deleted 😬.

jake4480, to webdev
@jake4480@c.im avatar

I know it's going around, but one of my big new hobbies is just randomly clicking on my bookmark for https://wiby.me/surprise, which sends you to a random web 1.0 website.

It's fascinating. Websites pop up like this screengrab that's attached, a guy made a website and put a list of comic book characters in songs he documented on it.

Really weird stuff, too.

Old personal websites GALORE. Try it out - but beware, it's addictive. 😂

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 the old web was so much fun.

quadratur, to accessibility German

is made and used by people who take a screw and force it into a wall with a hammer, permanently asking: 'Why should only nails be used like nails?'
They are screwing things up and create a total mess.

(Explanation for outsiders: HTMX wishes to be an extension to websites by changing the purpose of things that are already thought out well and behave in predictable ways. It's like taking a car and change the trunk into an engine, regardless of .)

Htbaa,
@Htbaa@fosstodon.org avatar

@Alexerson @quadratur @wmtalcott really like to know as well as accessibility is part of my job. I don’t see how using #htmx is any different than any of the other (popular) front-end library. If anything htmx is more accessible out of the box since it’s just hypermedia where you know, browsers have already implemented the controls.

If it’s about regions getting updated by htmx you use aria-live, just like with other libraries.

Htbaa,
@Htbaa@fosstodon.org avatar

@quadratur @Alexerson @wmtalcott I agree elements like div’s shouldn’t be used to create links etc. But that isn’t an htmx specific thing (though I do think I’ve seen it used like that in some way in the docs, but pull requests to improve on that are being accepted as I’ve seen). The same can be done with other front-end libraries or even plain JavaScript, which is being done.

It’s important to educate developers in accessibility and best practices.

Htbaa,
@Htbaa@fosstodon.org avatar

@quadratur @mfru @Alexerson @wmtalcott Just looked at all examples on the #htmx website and NONE of them use click events on a div. It's all on buttons. The homepage doesn't imply using a click event on a div to get content. All it's saying is that other elements besides a and form should be able to trigger requests. That's for dynamically loading content, not to reimplement a link.

The htmx examples probably could be improved with the addition of an aria-live attribute though.

RetroWizzard, to retrogaming

Newest addition to the collection is #DoubleDragon for the #AtariJaguar.
#RetroGaming #Atari

image/jpeg

Htbaa,
@Htbaa@fosstodon.org avatar

@RetroWizzard From the Dutch store Intertoys :-). I would get my Jaguar stuff there as well.

jake4480, to random
@jake4480@c.im avatar

Ah, Steam. I just grabbed 10 games that were all on sale for just pennies. Total, less than $7. 😂 🔥

#Steam #SteamGames #SteamSale #WeirdGames #CheapGames #IndieGames

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 and it’ll probably take 5 years to have at least played one of them 😅.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 I’ve been tempted by the Steamdeck for a while now especially since I’m having a lot of fun with BattleBit Remastered but it’s not supported. Most stuff in my library is old and the games I do want to play aren’t supported…

So for the time being no Steamdeck for me. Though I suspect it’s a great device!

Htbaa, to Xbox Dutch
@Htbaa@fosstodon.org avatar

Have been an Live Gold member sinds 2006 (Saints Row on Xbox 360 was when I got into Xbox). For the past three years I’ve had Ultimate but it has expired today. I’ve hardly used it though. Was going to get another three years of Xbox Live Gold and upgrade it to GamePass Ultimate. But just yesterday they changed the conversion ratio (3 years now gives 2).

As I’m still on Xbox One S and don’t play that often anymore I think I’ll be without online for the first time in years.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 my brother and I did that home console trick so we can both make use of one subscription, so he’ll be out of GamePass now as well. Though he plays even less than me. I mainly play Switch. The Xbox One S is such a drag to use. It’s interface is so sloooooow and don’t feel like getting a Series X because what games are there to play? Both Xbox and PlayStation this gen are incredibly boring. At least for me.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 aside from some of the mainline Nintendo games I buy everything on a discount. Have a couple of hundred games in my backlog anyway. I could stop buying new games for a couple of years and still have new stuff to play… Having an #Evercade makes that even worse haha since that has several games per cartridge, though not all of them are great.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 yeah I have plenty of consoles as well. Running out of storage space. One day I’ll buy a house big enough haha.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 I’m renting as well and it’s a decent sized house. Living here alone as well so if that would ever change I need twice as much room 😬. It doesn’t help to have several hobbies.

I never sell my consoles unless I upgrade it. I do have some other hardware and stuff to get rid off but putting it on some marketplace is too tedious and time consuming. So I don’t 😁. But I really should.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 lol. It’s just a standard family sized house though. By Dutch standards that’s really not that big though very comfortable if you live by yourself (or with a partner). I have two vacuum robots for upstairs and downstairs. They work daily as that’s much needed with a dog that sheds all year long. I usually try to get the cleaning done in one big haul. Not a fan of it though.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 yeah you need to make sure they can move around. But I think they’re great. Saves me a lot of time :-).

louis, to golang
@louis@emacs.ch avatar

I want to share an update of my web app project. I was working on it the last few days and chose to use only #Bootstrap, #htmx and server-side rendering with a #Golang backend.

The goal is to replicate (or replace) an existing app that is built with a heavy and very limited proprietary RAD tool.

It feels a little old school (say hello to FORM :-D), but it is SO GOOD. With htmx and traditional server-side rendering I can build anything, debug anything and it just works. I now have around 6k lines of HTML and Go code, did not write a single line of JavaScript and use no JSON. Also, I don't have to build a JSON API on the backend for every piece of data I need. SQL is my "REST API" now.

Feels very productive. I think I found joy in web development again. :')

Htbaa,
@Htbaa@fosstodon.org avatar

@simeon @louis have you tried boosting? I’ve also seen a guy fetch pages in the background when you hover on a link (not sure how to do that with mobile though) and make use of cache headers (expiry of just a few seconds) and it made his webapp super snappy.

Htbaa,
@Htbaa@fosstodon.org avatar

@simeon @louis It took me a bit to find it but here https://youtu.be/JE3zQpEAaxk?t=342 he explains how he gets the snappy responses using HTTP caching etc. A little bit after he explains it. Haven't rewatched it but it looks like standard htmx with some hyperscript (which is from the htmx developer).

Htbaa,
@Htbaa@fosstodon.org avatar

@simeon @louis Looks like a nice solution. Take note it can only be used with GET requests.

Have you tried it yet?

Htbaa,
@Htbaa@fosstodon.org avatar

@simeon @louis ugh the boring part 😩😬. Good luck!

Htbaa,
@Htbaa@fosstodon.org avatar

@simeon @louis something like PocketBase appeals to me to get some of that stuff out of the way. But haven’t really tried it out yet.

BasicAppleGuy, to random
@BasicAppleGuy@mastodon.social avatar

I was today years old when I learned you can take iPad screenshots by dragging your finger from the bottom left bezel towards the middle of the screen. 📸

video/mp4

Htbaa,
@Htbaa@fosstodon.org avatar

@BasicAppleGuy oh so that’s what happened. I thought some buttons got stuck in the protective case.

Htbaa, to Nintendo Dutch
@Htbaa@fosstodon.org avatar

My #Nintendo #3DS #StreetPass puzzle collection is finally complete!

For the last pink pieces which you can only get from StreetPass I used my modded 3DS. I’ve StreetPassed my other 3DS about 90 times 🙈 so it’s all legit.

Htbaa,
@Htbaa@fosstodon.org avatar

@jake4480 I think you should be good then. When I modded my backup 3DS last year it was pretty easy to do. Just follow the steps from that popular online guide and you’re good.

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