toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

273
active users

#esmodules

0 posts0 participants0 posts today

My esteemed followers, you have posted a total of 375,809 statuses to the #fediverse. 22% of you have posted in the last 24h. You are a chatty bunch! ;-)

Check out my new #sideproject: *fedi-followers*. A privacy-friendly fediverse #followers explorer as #localonly #staticwebapp, decentrally hosted on the #ipfs. See who's actually following (and unfollowing) you over time and much more.

fedi--followers-data0-one.ipns

I've built a thing.

Sometimes my follower count seemingly fluctuates at random. To understand why, I dug into the #MastodonAPI and created "fedi-followers":

A privacy-friendly #fediverse #followers explorer as local-only static web app, decentrally hosted on the #ipfs. See who's actually following (and unfollowing) you over time and much more.

fedi--followers-data0-one.ipns

fedi--followers-data0-one.ipns.dweb.linka privacy-friendly fediverse followers explorer as local-only static web app.

> enough libraries use ES Modules that for many projects you need to either use ES Modules, or figure out how to interoperate ES Modules with your CommonJS code. At the same time, enough code still uses CommonJS that you often need to figure out how to include that legacy code in your otherwise-ES Module project.

borischerny.com/javascript,/ty

Boris Cherny’s Blog · NPM and NodeJS should do more to make ES Modules easy to useComing back to JavaScript and TypeScript after a few years neck deep in Python and Hack, I kept hitting a number of new, cryptic errors when running NodeJS code in my dev environment:

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:

codeberg.org/aral/gists/src/br

Codeberg.orggists/clipboard-writetext-permission-error-when-using-modules-in-safari.md at maingists - A place for me to post and share small, self-contained code snippets.
Replied in thread

But sitting around arguing with fucks on social media isn't gonna help me find that. If anything I'm becoming more like them the more I do.

So I try to think of some silly project to build, something to keep my skills sharp. I know the web, and there's always stuff to learn. #WebComponents and #ESModules have arrived and there's so much potential to create building blocks from those that other people can use.