thomasreggi, to programming

I'm bothered that https://www.webcomponents.org/publish uses NPM packages as the main way to publish a web component. I want a better web-component "package manager", something that's simple, uses module imports, can use Tailwind and TypeScript, and just plops out a URL like Deno packages do. It would support LIT and webc. I'd want a storybook-like UI and sample code.

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

If you’re using HTML Validate (you should; it’s ace), update to 7.15.2. It no longer flags multiple buttons with the same name used in forms as a validation error (this is a valid pattern that lets you interpret a form differently on the server based on which button it was submitted with).

https://gitlab.com/html-validate/html-validate/-/issues/212

#web #dev #html #validation #js #NodeJS #htmlValidate #validator

aral,
@aral@mastodon.ar.al avatar

PS. Kitten uses HTML Validate to show you validation issues with your pages as you develop.

:kitten:💕

https://codeberg.org/kitten/app

#SmallWeb #Kitten #web #dev #html #validation #js #NodeJS #htmlValidate #validator

francoisz, to programming
@francoisz@fosstodon.org avatar

10 years ago, I explained that you don't need JavaScript to provide a full-text search - CSS is enough. Although this technique was ground-breaking, almost nobody used it. I think it is time for you to revisit this article 😉 #CSS #JS http://www.redotheweb.com/2013/05/15/client-side-full-text-search-in-css.html

horuskol,
@horuskol@phpc.social avatar

@francoisz

Pretty neat, though I find this caveat a little concerning:
// beware of css injections!

On the other hand , this would generally be a case of the user ballsing things up for themselves.

catraxx,

@francoisz That's honestly pretty cool.

mlibby, to programming

I'm tired of seeing and described as "modern frameworks".

What's even remotely "modern" about them at this point? They're bloated dinosaurs that are one comet strike away from being next week's Active Server Pages.

I think I'd vastly prefer a post-modern framework. Like something that keeps me from writing any JS in the first place.

Blazor in .NET, Phoenix LiveView in Elixir, and Yew in Rust... those are actual modern web frameworks.

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

The Stripe API doesn’t include a way to validate publishable and secret API keys.

Here’s a simple function you can use to do that:
https://codeberg.org/aral/gists/src/branch/main/validateStripeKey.md

#Stripe #API #stripeAPI #JS #NodeJS #web #dev #gist

ramikrispin, to programming
@ramikrispin@mstdn.social avatar

(1/2) Shiny for Python :ablobcatenjoy:

Posit announced this week that the Shiny 🐍 version is moving out from alpha stage to general availability. The Shiny package is one of the great tools in R for building interactive and complex dashboards without or knowledge. It has a HUGE ecosystem, mainly due to community contribution, and it is great to see it expanding to the Python community.

https://shiny.rstudio.com/blog/shiny-python-general-availability.html

colepeters, to programming
@colepeters@mastodon.online avatar

Today on the Begin blog: I take you behind the scenes, under the hood, and through the source code of the new @enhance_dev landing page.

This project was a ton of work, but it was also a ton of fun. I hope this encourages others to see what they can get up to with Enhance!

https://begin.com/blog/posts/2023-04-21-building-the-enhance-landing-page

brianleroux, to programming
brianleroux, to programming

so I built a little prototype while playing around with Node 20

this would allow any language to server side render web components by shelling out

(python, ruby, php, rust, c#, go, java, etc)

is that interesting to anyone here?

brianleroux,

@tanepiper imo not necessary or desirable default. Good if you really need encapsulation but that would be almost always a later iteration imo. Light dom is good !

tanepiper,
@tanepiper@tane.codes avatar

@brianleroux Thanks for the advice - I'm close to officially releasing a first version https://stackblitz.com/edit/vitejs-vite-skkuff?file=main.js - I think this can make some pretty powerful stuff with little work for the developer 😀

janriemer, to programming
miclgael,
@miclgael@mastodon.au avatar

@janriemer Discovered this recently myself!

I noticed a wrapper leaking in with obnoxious padding and no content.

Aha. Empty slot!

strypey, to web
@strypey@mastodon.nzoss.nz avatar

@alcinnz
I'm constantly raising an eyebrow at websites that don't even display basic text and images with JS turned off, or whose layout code is so JS-dependent the page turns into a hot mess without JS running. It's like a road you can't cycle or take public transport on, because the people who designed and built it expect you to be in a private motor vehicle. In both cases, it's hell for accessibility.

@ocdtrekkie @jalefkowit

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