Fedi on Fire first beta is now released! I just had to try and do it... Watch those endless Fediverse posts flow! :meow_hearteyes: Check it out at https://fedionfire.stream
The more I'm thinking about it, the more I consider it.
I want to add a map for my bicycle rides, but I can't find any good PHP maps. The PHP versions of Leaflet on GitHub are no good. They don't work at all. They just gives you errors like "can't load class" or something like that.
So even if I am against it only to challenge myself, I consider using Leaflet in JS for airikr.me/biking.
Or do you have any solution in PHP that works out of the box?
Recently, especially with feddit.de, there are a lot of posts in languages that are not English. This is great for adoption!, but unfortunately I have no idea what the posts are about because I don't speak German. I couldn't find a setting to hide posts in other languages either!...
Coding in #JS again (need to, SDK to $service only available in JS) and I'm frequently using #hoogle to look up what kind of function I'd use in #Haskell (foldMap, unzipWith, ...) and then looking for JS packages that implement them.
I'd really like to see something like this on Mastodon, on Home feed and other main feeds. We should be able to know what the replies are about without having to open the whole thread.
Right now the replies don't mean anything unless I open them. Unmaintained Mastodon client Halcyon manages to do this, so it can be done in core as well. I once tried it via JS but my skills are not enough for it to be reliable enough.
Which JavaScript framework for the web frontend is the smallest, fastest, and best overall? If it's not listed, please mention it as a comment and why 🧑💻 → pls boost this toot :BoostOK:
Here’s a question: suppose I have bunch of HTML inputs (dropdowns, sliders, whatever), and I want their values to set the values of #JS variables, both on load and whenever changed. Is there a way to do that in a generic manner short of dumping all the variables into an object so I can use their member names using array-ish syntax, or pushing everything through an eval()? [shudder]
CSS has a containment property whichs sole purpose is to improve rendering performance.
So, first, we develop an abstraction so developers don't have to worry about implementation details like performance. Then, as soon as we realise that our abstractions are (obviously) dog slow, we add more stuff to make them fast again and have developers worry about that instead.
At this point, we might as well ship websites as compiled binaries.
eh.. trying Prettier and not having a good time, I like to add new lines to make code more readable and it deletes them with no config to stop doing that. Don't think it's right for me, is there a more configurable alternative? #webdev#js#css
I couldn't find an offline browser based text editor so i made one myself! Its pretty bare bones and requires you to manually unregister the service worker but it works! (I'll try to make it so you dont have to eventually)
What is your opinion on creating web interfaces for pet projects? I mean situation where you are making some #petproject with an API of some kind and then you want to add some browser interface to it.
Modern #javascript frameworks and their "build systems" are really complicated despite all of them being marketed as easy to use. Using things like #bootstrap and #htmx is better than go full vanilla #HTML+#CSS+#JS but I'd like to know about some other options if there any
I got carried away last night after reading @bramus post on scroll direction detection using #CSS#scrollDrivenAnimations. It turns out you can control #pixelArt sprites in 8 directions! With zero #JS!
My pure JavaScript module (no mkcert, certutil, etc., required) that automatically provisions and installs locally-trusted TLS certificates for Node.js https servers.
(There seems to be an issue with tests failing on macOS, will debug that tomorrow and likely post a patch release.)
TIL "npm" officially stands for "npm is not an acronym" (twitter.com)
Why not "NINAA"? Because then it would be an acronym.
OC Don't speak German? Here's a userscript for you
Recently, especially with feddit.de, there are a lot of posts in languages that are not English. This is great for adoption!, but unfortunately I have no idea what the posts are about because I don't speak German. I couldn't find a setting to hide posts in other languages either!...
OC kbin-mod-options; Mod options made easy
kbin-mod-options...