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?
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.
@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.
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.
@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 😬.
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. 😂
#HTMX 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. #accessibility #Barrierefreiheit
(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 #usability.)
@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.
@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.
@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.
@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!
Have been an #Xbox Live Gold member sinds 2006 (Saints Row on Xbox 360 was when I got into Xbox). For the past three years I’ve had #GamePass 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.
@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.
@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.
@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.
@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.
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. :')
@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.
@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).
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. 📸
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.
@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.