Gil Tayar

@gil.tayar.org

software developer @ microsoft ⚜ dad ⚜ ENM ⚜ javascript fan ⚜ Builder of build systems http://github.com/giltayar/bilt ⚜ and lots of love ❤️

ECMAScript Euphoria! 🎉 We don't always post when a single proposal advances, but when we do, it's Temporal -> Stage 4. Just days shy of 9 years from Stage 1, a herculean effort on the part of many champions, delegates, invited experts, and contributors, past and present. Thank you all! 🙌

If I create a simple loader that just console.logs the source code, and I import a `.ts` file using the @nodejs.org support for it, I get the TS code and not the transpiled code. This means that loaders that analyze the source code will now need to understand TS.

Source code with the following code:

registerHooks({
  load: (url, context, nextLoad) => {
    const ret = nextLoad(url, context)

    console.log(ret.source)

    return ret;
  }
})

await import('./main.ts')

If a package is used only in `import type`, should that package be in `dependencies` or `devDependencies`. It feels wrong for it to be in `dependencies` because the JS runtime doesn't see it, but it MUST be in `dependencies` because `.d.ts` files generated by the package refer to it. 😢

עוד לא מצאתי כאן את #פידטק, אבל אנסה בכל זאת: נפתח ה cfp של ריאקט נקסט גם השנה לכנס יהיה מסלול ריאקט ומסלול js כללי, ואני ממש ממליצה להגיש. כנס שממש כיף לדבר בו ונותן הרבה תמיכה למי שצריך. דברו איתי בפרטי אם יש לכם שאלות / התייעצויות. הגשות כאן: sessionize.com/reactnext-20... @barzik.bsky.social

ReactNext 2025: Call for Speakers

ReactNext is Israel's largest Frontend conference, bringing together over 1,000 developers from Israel and around the world. For nearly a decade, it h...

sessionize.com

Look at this post - it has a *link* in it! How is that possible? Digging a bit, it seems that the 🦋 app has support for rich text (docs.bsky.app/docs/advance...), so I'm guessing that while the 🦋 client doesn't support writing it, the Ouranos client below does, and the 🦋 client shows it.

Links, mentions, and rich text | Bluesky

Posts in Bluesky use rich text to handle links, mentions, and other kinds of decorated text.

docs.bsky.app

Boris@bmann.ca · 2y ago

The main Ouranos build now supports third-party data types (called Lexicons in #atproto) -- Frontpage links, LinkAt linktree-like pages, and WhtWnd blogs. @smokesignal.events is on deck after some Lexicon fixes. Just the beginning of seeing what apps can evolve here.

@nx.dev - why oh why does remote caching only work in CI, and I have to `export CI=1` to make it work locally? This feels _very_ opinionated, from a tool that in general is not. A CLI argument or `nx.json` option would have been better, as I would really love to use remote caching on dev machines.

Isn't it funny how many people dogged on component fetching because it created waterfalls that are now hailing RSCs because they enable... component fetching, albeit on the server. It removes one side of a round trip for a fetch, but a waterfall is a waterfall and you know what they say...

It's not a coincidence that the icon for LLM actions is something like ✨. Because LLMs feel like magic. And just like magic in fantasy and fairy tales, LLMs can totally backfire on you!

OMG! Google Slides can now show speaker notes in a separate window ***automatically***! (Without me needing to move windows from screen to screen in an awkward way at the start of the presentation) Too bad I got so used to not having speaker notes, that I don't need them anymore. 😁

A screenshot showing an option in Chrome Settings that shows "Window management" with a dropdown next to it showing "Allowing"

Isn't it infuriaritingly confusing, that if you want to have a number `num` be *at most* 10, then you have to write const finalNum = Math.min(num, 10) My intuition is shouting at me "Math.max! Math.max!", and I have to shut it up and accept that "at most" mean "Math.min". 🤷‍♂️

In a nice turn of events, a week after I learned about this API I found a use for it at work. Thank you @ambarvm.bsky.social for this piece of info. 🙏 (and did I lose `p-mutex`? Nope - I used it to fake this API when running Vitest tests 😁)

Gil Tayar@gil.tayar.org · 2y ago

TIL: browsers have a native lock API. It even makes sense! Goodbye `p-mutex`? Will switch and see. Learning - first check native API before reaching to a library. These days, you might just find what you're looking for. developer.mozilla.org/en-US/docs/W...