ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Awesome Regex: opinionated list of regular expression tools, tutorials, libraries, and other resources
https://github.com/slevithan/awesome-regex

#ECMAScript #JavaScript

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

Node.js and its many, many new features with Matteo Collina [89-min. video]
@mcollina @jlengstorf
https://www.youtube.com/watch?v=evCnOaVaOTo

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
aral, to SmallWeb
@aral@mastodon.ar.al avatar

The Evergreen Web section in Kitten’s¹ settings now has its own page too (and uses Kitten’s new Streaming HTML² workflow).

If you have the previous version of your site up somewhere, you can use the 404-to-307 technique³ to forward missing pages to your old site so as not to break the Web.

I’ll add local static archive support later.

¹ https://codeberg.org/kitten/app
² https://ar.al/2024/03/08/streaming-html/
³ https://4042307.org

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

knip: find unused files, dependencies and exports in your JavaScript and TypeScript projects
@webpro
https://github.com/webpro/knip

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

esbuild v0.21.0: support for ECMAScript decorators and more
@evanw
https://github.com/evanw/esbuild/releases/tag/v0.21.0

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

ESLint compatibility utilities let you use older plugins with ESLint v9
@nzakas @eslint
https://eslint.org/blog/2024/05/eslint-compatibility-utilities/

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
voxpelli, to javascript
@voxpelli@mastodon.social avatar

Published a new version of my "buffered-async-iterable" module: https://github.com/voxpelli/buffered-async-iterable/releases/tag/v1.0.0

It can now return the result in order (at cost of performance of course) and it also got a new method: mergeIterables(), which interweaves values from multiple async iterables in parallel

jutty, to RSS
@jutty@bsd.cafe avatar

I have this blog set up and ready for writing using a bare, classic web stack with no framework, no static site generator, just html/css files and some short scripts in JS and OCaml.

The only thing I feel is missing is an RSS feed. Presently I am feeling very inclined to just rolling my own RSS using the very same stack (a text editor and scripts) instead of switching to some SSG just to get an RSS feed. Something tells me that this is a sinful, heretic thought.

Ideas welcome on how to avoid such heresy. Encouragement to just do it also welcome.

Floppy, to javascript
@Floppy@mastodon.me.uk avatar

experts, I need advice. I'm trying to extend a class in order to override a method or two. It defines everything in its constructor, and I can't work out how to use anything in the original class from my new one.

Could anyone suggest to me how syntactically I should minimally replace onKeyDown and handleKeyDown with my own versions, while still being able to use functions and properties from the base class? I'd really appreciate the guidance!

Code: https://github.com/mrdoob/three.js/blob/885c2dbab575e6528464e096784680d19914c3f3/examples/jsm/controls/OrbitControls.js

rauschma, to javascript
@rauschma@fosstodon.org avatar

If you were to write flash cards for (as standardized via ECMAScript)—what would you put on them?

Ideas:
– Standard library API—e.g.: What does Array.prototype.splice() do?
– Functionality: How to destructively add a value at the end of an Array?

eyeofmidas, to threejs
@eyeofmidas@mastodon.gamedev.place avatar
medicalbilling, to javascript
@medicalbilling@mstdn.social avatar

Can I hit 200 followers today?

I am looking to with people who are interested in:
Coding
Web Development
Front End
Back end
React/Nextjs
Javascript/Typescript
Tailwind CSS
UI/UX
Open Source
Software Development

sirber, to javascript
@sirber@fosstodon.org avatar

Nice! #bun #javascript runtime works on non AVX2 cpu now!

leanpub, to graphics
@leanpub@mastodon.social avatar

D3 Start to Finish: Learn how to make a custom data visualisation using D3.js. https://leanpub.com/d3-start-to-finish by Peter Cook is the featured book on the Leanpub homepage! https://leanpub.com

develwithoutacause, to javascript
@develwithoutacause@techhub.social avatar

: Always use === over ==.

=== applies much more reasonable behavior for operands of different types, mainly by not coercing them together like == does.

A lot of developers will tell you to learn the rules of coercion and use it when appropriate, however I disagree for one key reason. Consider this example:

if (foo == bar) {  
 doSomething();  
}  

Question: Did the developer mean to use ==? Is the coercion intended or a typo?

It's incredibly difficult to know with any amount of certainty as this depends on the types and semantics of foo and bar.

If I was writing this intentionally, I would feel compelled to write a several line comment about how coercion behavior applies here in a desirable way. And if you need to write that much explanation, it would be much less confusing to actually codify the desired behavior with === and explicit type checks so devs don't have to understand that coercion.

nixCraft, to random
@nixCraft@mastodon.social avatar

As a developer, what one thing would you never admit to anyone? 🤔

msgood531,

@nixCraft that I use a loosly typed programming language

(hypothetical example obviously)

khalidabuhakmeh, (edited ) to webassembly
@khalidabuhakmeh@mastodon.social avatar

I thought I would take up the challenge of getting @enhance_dev working with with the ability to SSR web components directly into the request pipeline.

Yep... it works. TagHelpers make this nice and natural part of the web stack.

Update: You can try it out for yourself at this repo. https://github.com/khalidabuhakmeh/EnhanceWebComponents

kubikpixel, to webdev
@kubikpixel@chaos.social avatar

Oh look, in the future I won't have to worry about the invisibility of dialog boxes on websites because of their overlay.

☝️ Popover API
https://developer.mozilla.org/en-US/docs/Web/API/Popover_API


#webapi #webdev #css #javascript #api #design #html #html5 #visible #popover #webdesign #website #popoverapi #web

stvfrnzl, to Astro
@stvfrnzl@mastodon.online avatar

Inspired by @matthiasott great newsletter: has anyone experience implementing with @astro?

Here's his article: https://buttondown.email/ownyourweb/archive/issue-14/

And here's what I found but couldn't test yet: https://kld.dev/adding-webmentions/

stvfrnzl,
@stvfrnzl@mastodon.online avatar

Hey @marcuslindblom, do you have by any chance documented how to make work with ?

I'm no and wizard so I'm currently stuck. Plenty of tutorials out there, but they're not helping me haha

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