Alrighty, since many people are fleeing to Twitter from Tumblr's purge, I created a new account there as well. I don't think I'll post as often there, it's just to follow some good people and perhaps share some of their content here (with proper references, of course)
Here it is: https://twitter.com/__urso__
the "glue-code" was to be aware of the turbo-frame header on the request. If present, then we only render the frame needed for the request and ignore the rest of the html surrounding it. Since I'm stitching together a number of libraries on Clojure, this one was on me... but I saw some libraries for Python environments that do the same
Phoenix has something similar, but it works over websockets. Hotwire just intercepts regular http requests, which I prefer
Update on the JS front-end thingy:
I think the rails folks did something fun: hotwire works pretty well in giving the impression of an SPA but with server-side rendering
Since I'm using a clojure stack I had to write some code just so I had to render less than needed when a turbo-frame request shows up, but it wasn't strictly necessary. Most interesting aspect of it is that I was able to develop like an OG web app (productivity up, complexity down) and then plug it later in an afternoon
Long story short, I scrapped everything. Going with good old server side rendering. Should it need an SPA, it can be added later. I feel so much productive now
So I spent some time this morning, yet again, going through the motions of a react stack, then Vue. Both felt too big, the amount of code I'd write was far bigger than the perceived benefits
Then there's (wrapped) webpack, the test stack, bundling and minifying, sometimes transpilation... Half of these tools will be replaced in two years or so. Some already are outdated, but I wanted to cut off time by going to tools I'm already familiar with
Been having a back-and-forth with a friend on UX aspects. We had this idea of allowing people to love/star stuff multiple times. The restriction is that you can only love a certain thing once a day, and the author won't always be notified when you love it beyond the first time
As a developer with little connections to UX work, I'm mildly proud of myself for this little bit
Dear open source users,
If the author of your favorite open source app has announced they stopped developing and supporting the app (because they're frustrated and possibly burned out), please don't suggest they do more free work so that you can continue using the app.
Instead, consider thanking them for their past work and let them know that you enjoyed their app.
another open source developer
NSFW, prince Albert
Comparison between old (captive bead, 5mm) and new (segment clicker, also 5mm).
It is not that common to find info on how uncomfortable certain jewelery can be for sex. The purple one I had, the ball is barely clinging together. I was deathly afraid of someone swallowing it up
New one is much better for jerking off, going inside condoms and, I can only hope, fellatio
Pra quem estava procurando alguma instância brasileira do Bookwyrm, hoje nós subimos a Velha Estante:
(quem não estava procurando ou não faz ideia do que é isso também pode dar uma olhada)
Half a selfie, eye contact
This, by the way, was the reason I didn't sleep at night. The lingering pain took the whole night to go away, it sucked
Learned the lesson to only ever stretch 2mm at a time now
founder of bear.community
bear, geek, loves games, fantasy books, manga, anime and rpdr
also a furry
Bear.community is a 18+ only Mastodon server for bears, chubbies and chasers.