Alex 🦅 Eagle

1.9K posts

Alex 🦅 Eagle banner
Alex 🦅 Eagle

Alex 🦅 Eagle

@Jakeherringbone

Enable faster Build&Test with 🌿Bazel https://t.co/tX0ypSyIeS

Sunnyvale, CA Katılım Ağustos 2007
451 Takip Edilen5K Takipçiler
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@steeve @aspect_build @aspect_dev @bunjavascript I looked into it yesterday and I think this is pretty easy to add if one of our customers needs it. That's assuming we continue to use pnpm as the package manager and Bun is okay with that node_modules tree at runtime.
English
0
0
0
44
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@dabit3 I was on the Angular team during the fights over whether Angular 2 should be written in Dart or TypeScript. I'm glad we picked right.
English
0
0
8
443
Addy Osmani
Addy Osmani@addyosmani·
Excited to share idx.dev 🚀 - @Google's new browser-based code environment. It has AI assistance for code-generation, code-completion and explaining code built-in. Also supports modern JavaScript frameworks out of the box. Join the waitlist today 🙏
Addy Osmani tweet media
English
118
557
2.7K
521.6K
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@gramofdata /Users/alexeagle/Projects/rules_js is the path you need if you want it to work on my computer, haha
English
0
0
1
91
LP|Datagram
LP|Datagram@gramofdata·
LLMs are so funny. I'm writing code to load a local copy of rules_js, and Copilot starts generating code as if I were @Jakeherringbone?
LP|Datagram tweet media
English
1
0
1
250
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@anton_malinskiy Sure, like if you had an A/B experiment running, but that's just like Git branching - each version of the app would still ship a layer that incrementally updates users from whatever was the "parent" version it's based on.
English
0
0
0
47
Anton Malinski
Anton Malinski@anton_malinskiy·
@Jakeherringbone IMHO because releases are a partial order set, i.e. two concurrent major versions might be present both latest but also both different. If however there is an order for every single release guaranteed by something outside of container release process then it should be possible
English
1
0
0
111
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
Why isn't it typically the case that software released as a docker image always has a single layer added to the digest of the image from the prior release? Same concept as database migrations.
English
1
1
5
1.4K
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@bradzacher Having lots of BUILD files (aka Bazel packages) is a good practice, and yes they should be largely machine-maintained. It's the connectedness of the dependency graph that requires care.
English
1
0
1
38
Brad Zacher
Brad Zacher@bradzacher·
@Jakeherringbone I had a suspicion that having so many bazel files was harming our perf but I don't know a better automated solution. A manual approach would mean FE engs need to think about build config, but would probably improve build perf. I think we need to perf test the latter approach...
English
1
0
0
39
Brad Zacher
Brad Zacher@bradzacher·
How do people do TS at scale? What tools do people use to check massive monorepos? Bazel? Buck? Nx? Custom tooling?
English
5
0
4
1K
Alex 🦅 Eagle retweetledi
Aspect Build
Aspect Build@aspect_build·
We were very excited to meet up with everyone at Bazel Community Day in SF. Here is a recording of @Jakeherringbone's talk, Migrating away from rules_docker to rules_oci youtu.be/rLDKcNv7xAY
YouTube video
YouTube
English
0
6
11
1.1K
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@bradzacher Most important is to have a directed acyclic dependency graph. Enforce no cycles, and have discipline about layering and adding new dependency edges.
English
1
0
0
41
Brad Zacher
Brad Zacher@bradzacher·
@Jakeherringbone What's the best way to structure a big (>40k file) monolithic codebase so that we can take advantage of caching and parallelism for things like typechecking?
English
1
0
1
57
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
I used to proctor the TypeScript-in-Google3 training class, and built this training course largely on Google's model for wide adoption. It's a mix of lecture and hands-on codelab, and it's all Bazel 6 with bzlmod. Come listen to me for hours on end :)
English
0
0
5
1.3K
Alex 🦅 Eagle
Alex 🦅 Eagle@Jakeherringbone·
@durin42 I updated genrule docs to advise run_binary instead, which has better constraints to prevent criminal behavior 😉
English
0
0
0
146
Augie Fackler
Augie Fackler@durin42·
I have decided that the collective noun for bazel genrules is "crimescene."
English
3
1
11
885