Pinned
Gil Tayar
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 ❤️
325 followers443 following177 posts
Gil Tayar reposted
Hmm... why doesn't `--erasableSyntaxOnly` in @typescriptlang.org not show an error on decorators? 🤔 It passes typechecking with this flag, but Node.js doesn't run it ("invalid token" error)
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.
Gil Tayar reposted
🚨 NEW: The DOJ wants to break up Chrome from Google — the consequences could be catastrophic for the web. 📖 Read our article: Break Google's search monopoly without breaking the web. 👇Link: open-web-advocacy.org/blog/break-g... /1
Gil Tayar reposted
Gil Tayar reposted
Gil Tayar reposted
Node 20 is getting all the require(esm) goodies unflagged now 👀 github.com/nodejs/node/...
Gil Tayar reposted
Gil Tayar reposted
Gil Tayar reposted
Short survey: What languages do you use to compile to #WebAssembly? docs.google.com/forms/d/e/1F... I’ll publish the results on January 1 as a blog post here: 2ality.com 🦋 Reposts appreciated!
Interesting how the browser is now a valid place to run frontend tooling, thanks to tools like @stackblitz.com and @codesandbox.io
Rolldown's wasm build just got significantly faster in browsers thanks to @broooooklyn.bsky.social! One challenge of native bundlers is that they have to ship and run as wasm in browser environments. Some bundlers like rspack doesn't even support this due to the complexity it involves.
Gil Tayar reposted
עוד לא מצאתי כאן את #פידטק, אבל אנסה בכל זאת: נפתח ה cfp של ריאקט נקסט גם השנה לכנס יהיה מסלול ריאקט ומסלול js כללי, ואני ממש ממליצה להגיש. כנס שממש כיף לדבר בו ונותן הרבה תמיכה למי שצריך. דברו איתי בפרטי אם יש לכם שאלות / התייעצויות. הגשות כאן: sessionize.com/reactnext-20... @barzik.bsky.social
If you ignore the clickbait-y title, this post is a surprisingly good assesment of the problems with microservices. And I am a developer who (still) firmly believes microservices are the way to go. venturebeat.com/data-infrast...
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.
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.
Gil Tayar reposted
"I don’t think the goal is really to provide a safety net for everyone — I think it’s actually to speed us up, so we can see more patients, reduce visits down from 15 minutes to 12 minutes to 10. Efficiency, again." www.codastory.com/stayonthesto...
Gil Tayar reposted
And they never tell you what it *really* does.
oh wow you have a SaaS? Let me guess what your website says - "what used to take months and does it in minutes" - "scales effortlessly" - "lets you focus on business logic and leave the hard bits to us" - “unlocks the potential of your team” - “powerful yet easy to use” /1
Gil Tayar reposted
So, How many occurrences of React.Dispatch<React.SetStateAction in your codebase? matanbobi.dev/posts/stop-p...
Gil Tayar reposted
This Monday at 12:30 ET on the JavaScript Jabber podcast NodeJS core contributors @nodeland.dev @jasnell.me @mhdawson.bsky.social join as for part 2 of the conversation about their excellent article "The Nine Node Pillars: 9 Principles for Doing Node.js Right" www.youtube.com/watch?v=bY-f...
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 😁)
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...
Gil Tayar reposted
Doesn't work for me. When I try I find myself glossing over the details. What *does* work for me is writing a detailed description of the pr that guides the reviewer. And that's where I find my bugs! By explaining it to someone else. And the reviewer gets a bonus review guide that really helps.
When opening a Pull Request, I'm the first one to review it. Whenever I push, I spot bugs I added and overlooked before pushing. *Every single time*. Do you review your own PR?
Gil Tayar reposted
The best thing about this release - our community "alpha testers" team caught a few nasty bugs just before we were about to release it a week ago... We then fixed them and now it's finally ready. God I love the @qwik.dev community! 🙌😍
🔥 v1.10.0 is out! github.com/QwikDev/qwik/releases
Gil Tayar reposted
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...
I have used the web locks api for this. developer.mozilla.org/en-US/docs/W... Request lock 🔒 Check if the token is expired with an api call. Refresh if expired. Release lock 🔓
"Those who fail to reread are obliged to read the same story everywhere" This quote by Roland Barthes is one of my favorite. And it's embedded in a longer text about rereading which deserves a reading (and rereading!): www.goodreads.com/quotes/74493...