craigabbott, to javascript
@craigabbott@a11y.info avatar

I was today years old and 4 hours down when I learned you cannot deep clone an instance of a class 😩

MaxArt2501, to javascript
@MaxArt2501@mastodon.social avatar

A response to @cferdinandi 's recent post(s) on JavaScript and Web Components:
https://dev.to/maxart2501/javascript-is-not-the-problem-k4e

I know he didn't explain his position in details, so a 1800-word article sounds a little unfair, but I think dry and sharp statements need adequate context and analysis.

chipx86, to Discord
@chipx86@mastodon.online avatar

Hey, developers: The @reviewboard team's starting a new for devs to hang out, chat, and share what you're building.

https://discord.gg/saMCqHEZ

We have channels for , , / , , , and more.

You don't need to use or contribute to Review Board to hang out. (But you can follow development there, if you want.)

We hope to see people come in and hang out. The aim is a friendly, diverse community of devs.

Feel free to pass along the invite!

stvfrnzl, to Blog
@stvfrnzl@mastodon.online avatar

Five years ago was my graduation from on this very day.

I looked back and wrote a GIANT post: https://stevefrenzel.dev/posts/from-boot-camp-to-blog-five-years-in-the-tech-industry/

Sit back, relax and enjoy the ride.

a11yclub, to CSS
@a11yclub@mastodon.social avatar

Just in: Alongside @karlgroves and @erikKroes, @5t3ph will also be offering a workshop in Amsterdam on 9 June:

Beyond : Requirements for Accessible Components

Participation in half-day workshops costs from € 25, full-day workshops from € 50. Further workshops can be added at any time. Get your tickets: https://ti.to/tollwerk/accessibility-club-summit-2024

More info: https://accessibility.club/event/accessibility-club-summit-2024#schedule-2024-06-09

decompwlj, to mathematics
@decompwlj@mathstodon.xyz avatar
SocketSecurity, to programming
@SocketSecurity@fosstodon.org avatar

LDAPjs, an LDAP client and server API for Node.js, was decommissioned after its maintainer received an abusive email from a user, raising concerns about this form of abuse as a potential attack vector. https://socket.dev/blog/ldapjs-open-source-project-decommissioned-after-maintainer-receives-abusive-email

YurkshireLad, to javascript
@YurkshireLad@mastodon.social avatar

These questions/answers make me glad I'm not working with anymore!

"lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations"

https://github.com/lydiahallie/javascript-questions

davidbisset, to javascript
@davidbisset@phpc.social avatar

A long list of (advanced) #JavaScript questions, and their explanation (created in 2019). #Programming

https://github.com/lydiahallie/javascript-questions

janl, to random
@janl@narrativ.es avatar

Funny, in it is unnerving to use a library version that has not had a release in four days. https://social.vivaldi.net/@Patricia/112447339260051370

masukomi, to javascript
@masukomi@connectified.com avatar

#JavaScript Geeks:

🤔 I really want to figure out how to make #FediThready be able to post to a Mastodon server WITHOUT requiring a back-end.

I'm pretty sure it's possible to do OAuth and store the token locally without one, but i would love it if someone could point me to an example of this rather than figuring it out from first principles.

domhabersack, to javascript
@domhabersack@mastodon.social avatar

You can turn off the “x packages are looking for funding” messages that get logged with each npm install by setting

fund = false

in your project’s or user’s npmrc file.

https://domhabersack.com/blog/npm-fund-false

#javascript

leanpub, to Java
@leanpub@mastodon.social avatar

Modern Thymeleaf Bundle https://leanpub.com/b/modern-thymeleaf-bundle by Wim Deblauwe is the featured bundle on the Leanpub homepage! https://leanpub.com wimdeblauwe@mastodon.social

tommi, (edited ) to 11ty
@tommi@pan.rent avatar

Hey tinkerers!

I have a git submodule that I am adding inside the repository of my website, but I want it to be ignored, except for its README.md.

I have tried two different approaches. In both cases I am able to exclude the git submodule, but I can’t find a way to include the README and use it as a regular template.

Option 1: using .eleventyignore

inputdir/submodule<br></br>!inputdir/submodule/README.md<br></br>

Option 2: using .eleventy.js

module.exports = function (eleventyConfig) {<br></br>  eleventyConfig.ignores.add('inputdir/submodule');<br></br>  eleventyConfig.ignores.add('inputdir/submodule/README.md'); // added it first to be sure<br></br>  eleventyConfig.ignores.delete('inputdir/submodule/README.md');<br></br>};<br></br>

Do you have any suggestions to fix this? The ignore section in Eleventy’s documentation is not helping much…

Thanks a lot!

cc: @eleventy @

(https://discord.com/channels/741017160297611315/1022195881698672650/threads/1233153676416254133 and on GitHub Discussions

premartinpatrick, to Twitch French
@premartinpatrick@mastouille.fr avatar

On s'occupe de la partie serveur du site de loterie à partir de 10h30 sur ma chaîne . Codage en maintenant que la partie / et est bouclée.

RDV sur https://www.twitch.tv/patrickpremartin pour y assister.

Hier j'ai fait un peu de , ce ne fut pas si laborieux que ça. Voici comment seront choisis les numéros de ticket de loterie par les participants : https://youtu.be/vdTp7XzNmBE

eldamir, to javascript
@eldamir@hachyderm.io avatar

How to check and make sure that a data is null in ?

davidbisset, to javascript
@davidbisset@phpc.social avatar

Five Basic Things About #JavaScript That Will Help Non JavaScript-Focused Web #Designers
https://frontendmasters.com/blog/5-things-designers-can-do-with-javascript/

henrikjernevad, to javascript
@henrikjernevad@mastodon.social avatar

Another leak in the JavaScript single-threaded facade (or a bug in Jest, really).

Asserting expect(...).toStrictEqual(...) fails with two structurally identical objects created by two different Node worker threads because their prototypes are not the same (though identical). Asserting expect(structuredClone(...)).toStrictEqual(structuredClone(...)) works.

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

Here’s a niche gotcha with the clipboard API’s navigator.clipboard.writeText() method that’s unique to Safari:

If you access a function from a module within your gesture handler (e.g., click handler), you will get a permission error.

The (sadly hacky and not as robust) workaround is to set a global variable from your module instead.

Full gist:

https://codeberg.org/aral/gists/src/branch/main/clipboard-writetext-permission-error-when-using-modules-in-safari.md

christian, to webdev
@christian@aldr.social avatar

Enhancing my JavaScript knowledge bit by bit - today with a fun short clip by @cferdinandi and @kevinpowell; explaining var, let, and const - and when/where to use them for declaring a variable.

https://www.youtube.com/watch?v=pobWEaHNChY

selfhtml, to webdev German
@selfhtml@bildung.social avatar

HELP WANTED

Auf unserer Baustellenseite finden sich alle Seiten mit ToDos. Trotzdem wollen wir einzelne Baustellen, die immer wieder auffallen, Euch hier besonders ans Herz legen:

https://forum.selfhtml.org/self/2024/mar/01/baustellen-im-wiki-helfende-hande-gesucht/1813827#m1813827

scottjenson, to ChatGPT
@scottjenson@social.coop avatar

My experimentation with + programming has been a mixed bag:
Pros:

  • It often gets it right the first try
  • It's faster to change the prompt than edit the code
  • it can explain code fairly well

Cons

  • I can ask the exact same prompt and get different code that WONT work!
  • After several iterations, the code just stops compiling
  • I frequently save revisions of files so I can upload a working file and iterate from there.
  • It's SO SLOW to wait for it to type out
scottjenson,
@scottjenson@social.coop avatar

I've been wading into code/APIs I have zero experience with and making remarkable progress. I'm thinking of it as creating a good starting tutorial.

I'm still giving it fairly tiny utility programs (I am just prototyping crazy stuff) I'm not building anything complex. But as a Designer the fact that I can build a working prototype in or so damn fast is remarkable.

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?

vanilla, to programming
@vanilla@social.spicyweb.dev avatar

Last month's exclusive video at The Spicy Web demonstrating a CodePen example of Signals—what they are, how they work, and why frontend frameworks and fans of vanilla alike are adopting them rapid-fire—is now available to view for free! Check it out:

https://www.spicyweb.dev/videos/2024/signals-are-eating-the-web/

mobileatom, to javascript
@mobileatom@flipboard.com avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • rosin
  • ngwrru68w68
  • GTA5RPClips
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • Leos
  • khanakhh
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • tacticalgear
  • tester
  • JUstTest
  • All magazines