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

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!

#webdev #html #css #js

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

brianleroux, to programming
mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

This is hilarious. A engineer invented to make command line scripting easier with , because at a certain point scripts get too complicated and you need a Real Language.

https://github.com/google/zx/

This is exactly ’s use case from thirty-six years ago. But the kids want everywhere and would rather it take more work to convert their ascended scripts to a vastly different syntax.

https://github.com/google/zx/issues/581#issuecomment-1516573139

mjgardner,
@mjgardner@social.sdf.org avatar

https://fuckgov.org/@h Oh, I don’t deny it’s useful. And you’ll never catch me saying it’s bad to stick with what you know if it gets the job done—that’s one reason I continue to use .

My main point was that it’s less work converting to Perl than to .

The “kids want JavaScript everywhere” was admittedly a little snark directed at the “continuous amnesia” of prior art (not unique to developers but their sheer number means it’s really prevalent) as described here: https://www.ufried.com/blog/continuous_amnesia_issue/

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?

#webdev #js #webcomponents #webstandards

janriemer, to programming
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.

#MakeJavaScriptOptional

@ocdtrekkie @jalefkowit

#web #JavaScript #JS #accessibility

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