Ben Lesh

Ben Lesh

@benlesh.bsky.social

RxJS lead. Dad. Art lover. I’ve worked at the NG in FAANG.

3.2K followers149 following210 posts

Pinned

✨Heads up! Observables are shipping natively to a browser near you soon! Huge thank you and congrats to @domfarolino.com ❤️ I've helped / worked on / watched this through different standards bodies for more than 10 years now. ☠️ (I'm going to have a lot of work now to adapt RxJS to this 😅)

So let me get this straight, the Trump administration is going into a tax/business/legal battle with Harvard University? Isn’t that literally the best school in the entire world for law and business?

Just remember, every new lint rule you add is just another reason everyone should hate you. That’s right, you, the engineer that added 10–20 additional lint rules on top of the defaults, after enabling all the built-in rules. Everyone hates you. Even your immediate family. You’re the worst.

"Micro optimization" is an overused term. If someone's doing some hard-to-read trickery to eek out some performance that probably doesn't matter? Sure. "micro optimization" If someone wrote readable, more efficient code? That's just better code, not a "micro optimization".

Ben Lesh reposted

Want to learn more about Observables in Chrome? Learn about it like we did, from @domfarolino.com himself! Shout out to @benlesh.bsky.social, author of the original proposal. Big love to Ben and Dominic, both for bringing this code to life and for teaching us about it! 🤩 youtu.be/IMIVmCkwOT4

youtu.beChrome's New Observable API w/ Dominic Farolino 🔥🤩 | #WeLearnTogether at TechStackNation.comYouTube video by Tech Stack Nation

✨Heads up! Observables are shipping natively to a browser near you soon! Huge thank you and congrats to @domfarolino.com ❤️ I've helped / worked on / watched this through different standards bodies for more than 10 years now. ☠️ (I'm going to have a lot of work now to adapt RxJS to this 😅)

"Good code is self commenting" 🙄 Sure. But even perfect code can't always tell you WHY it's doing what it's doing. Now with AI assistants, they're not going to git blame, and read PRs and issues to know the "whys" ...but they can read inline comments and jsdocs.

Ben Lesh reposted

Replying to @staltz.com

If you'd ask me in 2015 what will web dev look like one decade from now, my imagination would have gone WILD. Instead, we just got Next.js

🚨PSA: When copying GitHub URLs, always hit "Y" first! Hitting "Y" adds the current SHA to the URL. This ensures your link doesn't break as the repository changes over time.

I'd kill for greenfield work. But the money is in maintaining 5+ year old, neglected spaghetti for very productive spaghetti farmers. The real reason to work on OSS is just to have a nice place of your own to enjoy coding.

I'm not sure why I never realized this, but it makes sense. JSX doesn't treat new lines in text the same way that the browser interprets them in HTML text content It's just interesting, in HTML the outcomes below would be the same.

Lmfao. Either a bug in the blue sky app messed up my upload, or I accidently selected this picture of a sloth named Choco that was "adopted" for me for Christmas. Probably the latter

Ben Lesh@benlesh.bsky.social

Progress photos part 2: I used a simple 3 color palette: Ultramarine blue, cadmium yellow light, and alizarin crimson. I used a relatively thin medium for the lower layers: 2:1 turpenoid to safflower oil. Getting heavier with more raw paint as I worked up.

This is the first oil painting I've finished in 25 years. A long overdue gift for my parents. Although there's a lot to improve, I've never been happier with a painting. I'm not really an "artist" anymore, but a hobbyist. So I'll take it

Progress photos part 2: I used a simple 3 color palette: Ultramarine blue, cadmium yellow light, and alizarin crimson. I used a relatively thin medium for the lower layers: 2:1 turpenoid to safflower oil. Getting heavier with more raw paint as I worked up.

Ben Lesh reposted

If you're an architect or team lead using RxJS and Angular, this video is for you! 😎 Featuring @synalx.bsky.social & @pkozlowski.bsky.social responding to the new Observable API from @domfarolino.com and @benlesh.bsky.social 🔥 Red rover, red rover, send @littledan.dev over? 🙏🥰 youtu.be/205cMTcQ82Y

youtu.beAngular Team Responds to Chrome's New Observable API | Architects Study Group | We Learn Together 🔥YouTube video by Tech Stack Nation
Lars Hanisch@flensrocker.de

You're interested in #Observable? Watch @domfarolino.com talking about his project to bring them into the web platform, when he visited us at @techstacknation.com - he's really interested in feedback! youtu.be/IMIVmCkwOT4 #rxjs

Honestly, being forced to work with Microsoft Edge at work has me appreciating it a bit. + Optional vertical tabs + AI tab grouping + Solid AI integration with Copilot + A lot of the same goodness of Chrome in dev tools etc

Y'all, I've been playing Cooking Madness 2. I'm trained and ready to run around making burgers and sushi on a busy street or in an active volcano now.

NBC News@nbcnews.com

The man who was arrested and charged with murder in the shooting death of United Healthcare CEO Brian Thompson once belonged to a group of Ivy League gamers who played assassins, a member of the group tells NBC News.

Ben Lesh reposted

Wrapping setState in startTransition will prevent 100% of the wasted renders for the old state. The problem is the unnecessary synchronous setState, not the number of renders.

Coding and education about coding are completely changing. You can literally have Claude or ChatGPT walk you through best practices and how-tos in nearly anything code-related. Personalized. Free. Interactive. Directly in the codebase you care about. How could online tutorials compete?

To be clear: I have many friends who provide online education for programming. I don't think they're in any immediate danger. But I do think there are some changes coming for them, and I find it a bit concerning.

Ben Lesh reposted

FRIENDS STAY WINNING 🥇 Congratulations @devagr.bsky.social & @cmgriffing.bsky.social 💛✨🥳

SolidJS@solidjs.com

And the #SolidHack2024 winners are... 🏆 🌟 Best SolidStart App: Giffium.com! by @cmgriffing 🎥 🛠️ Best Solid/SolidStart Ecosystem Utility: solid-socket (github.com/devagrawal09...) by @devagr 🔌 Congrats to these amazing projects! 👏

I doubt this will be seen by large numbers of people. 🤣

Ben Lesh@benlesh.bsky.social

Social media has ruined web dev the EXACT same way that it ruined politics. If there were elections in tech, it would be down to a few very popular but completely unqualified candidates who would each have their followers believing they were the "best", and then we'd elect a moron.

Social media has ruined web dev the EXACT same way that it ruined politics. If there were elections in tech, it would be down to a few very popular but completely unqualified candidates who would each have their followers believing they were the "best", and then we'd elect a moron.

To be fair, anyone that was qualified that somehow made it past the popularity/charisma stages would probably bow-out because they're too busy doing more impactful things.

#TypeScript PSA: If you're using `for..of` to do all of your iteration, you don't need to pass/type things as Array, use Iterable! `for..of` does iteration, so any Iterable will work. Passing `Item[]` here would be a unnecessarily restrictive:

Ben Lesh reposted

Big thanks to Dom, Alex, and Pawel for making time to visit our group and chat about what they're working on, thanks to @benlesh.bsky.social for the proposal and introduction to Dom, and thanks to @ag-grid.bsky.social for helping our community host cool discussions like this one! #WeLearnTogether 🥰

Tech Stack Nation@techstacknation.com

Wake up friends, we just dropped a new video! 🔥 If you're using Observables and Angular, you'll love this discussion about the future of Observables featuring @domfarolino.com (Chrome Team) plus @synalx.bsky.social, & @pkozlowski.bsky.social (Angular Team). #WeLearnTogether 🤓 youtu.be/ZXnwj1B29oc

90% of what people are building with AI is useless or silly, where they took about 15 minutes to write a silly prompt and added some storage to the system. That said, it's still better than "Web 3" where 99% of it was useless and silly, but they spent years working on it.