rolle, to mastodon
@rolle@mementomori.social avatar

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

Gif animation of endless posts on the fediverse, scrolling fast.

edgren, to php

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?

schizanon, (edited ) to webdev
@schizanon@mas.to avatar

Dear

Who are your favorite and who have stopped posting to Twitter? People who support and in the community on the instead of chasing engagement on a hate-site?

I want to them!!!

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!...

ljrk, to programming
@ljrk@todon.eu avatar

Coding in again (need to, SDK to $service only available in JS) and I'm frequently using to look up what kind of function I'd use in (foldMap, unzipWith, ...) and then looking for JS packages that implement them.

Am I doing this right?

rolle, (edited ) to mastodon
@rolle@mementomori.social avatar

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.

Open issue, please upvote: https://github.com/mastodon/mastodon/issues/25888 #Mastodon #MastoAdmin #Halcyon #JS

kubikpixel, (edited ) to webdev
@kubikpixel@chaos.social avatar

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:

#webdev #frontend #js #javascript #website #framework #interactive #devfront #development #whitch

Meyerweb, (edited ) to random
@Meyerweb@mastodon.social avatar

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]

**Edited to add: **I don’t think I got the idea across, so here’s something tangible: https://codepen.io/meyerweb/pen/GRLyZWY

fell, to CSS
@fell@ma.fellr.net avatar

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.

#css #performance #webdevelopment #web #programming #containment #browser #webdev #html #js #javascript

janriemer, (edited ) to javascript

This is mad 🤯

oxc - The Oxidation #Compiler is creating a suite of high-#performance tools for the #JavaScript / #TypeScript language re-written in #Rust - by Boshen:

https://github.com/web-infra-dev/oxc

Its linter is 50 - 100 times faster than #ESLint...

https://github.com/Boshen/bench-javascript-linter

...and its parser is even 2x faster than #swc

https://github.com/Boshen/bench-javascript-parser-written-in-rust

#JS tooling goes brrrrrrrrrrr! 🚀

#RustLang #WebDev #WebDevelopment

schizanon, to webdev
@schizanon@mas.to avatar

I've decided to build one of my long-time pet-projects just to hone my skills a little.

I've been working on sites professionally for about 8 years so I think I should stick to that.

My most recent job was on a app that used so I think I'll use those too.

seems like a good place to host those things.

The idea is like Foursquare/Swarm, but on !

Wish me luck!

arda, to programming
@arda@micro.arda.pw avatar

Brain gymnastics: Which approach would work faster? And why?

joelanman, to webdev
@joelanman@hachyderm.io avatar

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

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Soon you’ll be able to run any Kitten app directly from a git repository*

35 second demo:

https://vimeo.com/899533070

#Kitten #SmallWeb #git #demo #web #dev #html #css #js

aral, to javascript
@aral@mastodon.ar.al avatar

Me: await nagivator.clipboard.writeText(text)

Browser: nagivator is not defined

Me: What? Of course navigator IS defined! What‘s wrong with you?

Browser: nagivator is not defined

Me: Oh.

🤦‍♂️

Jax_, to javascript

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)

https://textedit.labbolab.repl.co/

Features:

Plaintext editor

You can upload files

You can also download the text

Offline use!

Works on mobile!

(If you find this helpful please boost this! (no pressure of course ^^))

wvc, to javascript
@wvc@emacs.ch avatar

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

raiderrobert, to programming
@raiderrobert@mastodon.social avatar

I apologize ahead of time for the wall of text.

It’s a meme at this point about the rate of change in $frontend with the various #JS libraries.

I wanted to spend some time to understand why https://bun.sh appears to be all the rage.

But first I spent some time this week to figure out what the state of testing is—specifically for #React.

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Hands up, who lives in/around Dublin and is interested in Small Web¹ and Kitten²?

(Am I trying to gauge if there’d be enough interest for an impromptu, informal little meetup over food/drinks this evening? Maybe…) ;)

¹ https://ar.al/2020/08/07/what-is-the-small-web/

² https://codeberg.org/kitten/app

#SmallWeb #Kitten #Dublin #Ireland #web #dev #NodeJS #js

Jbasoo, to CSS
@Jbasoo@mastodon.social avatar

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!

https://jamesbasoo.com/blog/scroll-driven-pixel-art-sprite/

Retro style pixel art character walking in various directions

joelanman, to programming
@joelanman@hachyderm.io avatar

Is Playwright a good choice for testing a web app?
#js #webdev

thopan, to linux German

Welchen mit nutzt ihr unter , um , , , zu erstellen/bearbeiten?

Gerne teilen, danke euch.

aral, to javascript
@aral@mastodon.ar.al avatar

Hey folks, I just released Auto Encrypt Localhost* v8.4.0 with better async support and updated dependencies.

https://www.npmjs.com/package/@small-tech/auto-encrypt-localhost

  • 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.)

#AutoEncryptLocalhost #https #mkcert #certutil #JavaScript #js #nodeJS

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