Doug Parker · @develwithoutacause
241 followers · 991 posts · Server techhub.social

Are there any good conferences / meetups with an open in the or virtual?

There are a few projects I've been working on which I'd love to give talks about and share with the community (not Angular related). Could be talking about any/all of:

1. - A different take on hydration in an HTML-first world. github.com/dgp1130/HydroActive
2. - A ruleset serving as a fast and scalable . github.com/dgp1130/rules_prere
3. - A no-tooling, web standard-based approach to HTML over the wire. blog.dwac.dev/posts/html-fragm

Greatly appreciate boosts for reach!

#web #rfp #bayarea #hydroactive #rules_prerender #bazel #staticsitegenerator #htmlfragments

Last updated 1 year ago

Nick Dumas · @nickdumas
14 followers · 19 posts · Server fosstodon.org

really cooking my goose. trying to stamp builds but the x_defs don't seem to be receiving values from the workspace script

$ bazel build --stamp --workspace_status_script=./tools/git-desc.sh //cmd/echo:echo
...output elided...
$ ./dist/bin/cmd/echo/echo_/echo -version
@
$

code.ndumas.com/ndumas/gomud/s

once i got this working, i'll be able to drop another article

#bazel #golang

Last updated 1 year ago

Nick Dumas · @nickdumas
13 followers · 13 posts · Server fosstodon.org

Spent the last month working with to revamp my builds and make deploying OCI images easier. I've still got a long way to go, I need to cross-compile binaries for a variety of popular OSes and then...I think I might have to write custom rules for publishing artifacts to gitea.

Really exciting tool and the slack community has been really helpful, pushing out new versions within hours of my questions about bugs.

blog.ndumas.com/2023/08/beauti

#bazel #golang

Last updated 1 year ago

David Zaslavsky · @diazona
300 followers · 5167 posts · Server techhub.social

@raiderrobert I learned more than I ever wanted to know about how you can build wheels using

...the elusive `ENAMETOOLONG` error code made multiple appearances 🤦

#python #bazel

Last updated 1 year ago

Doug Parker · @develwithoutacause
233 followers · 892 posts · Server techhub.social

Little / trick for you. When you have a branch will multiple commits and want to make sure none of them introduce any test breakages, run:

$ git rebase main --exec "bazel test //..."

This will checkout every commit since `main` and run `bazel test //...`, stopping if any tests fail.

You can do this with any test command, but what's awesome about Bazel is that the build cache is still valid between commits. Anything which didn't change will be cached.

This means you can easily run *all* tests for *every* commit on a branch with dozens of commits in only a few seconds. The cacheability is *amazing* here. It's an excellent way to verify a every step of a large change.

#git #bazel

Last updated 1 year ago

Reid D. M. · @arrdem
1231 followers · 4568 posts · Server macaw.social
Bart Louwers · @bart
54 followers · 214 posts · Server floss.social

@ianthetechie God speed. Not sure if it is an option, but have you given a try? github.com/bazelbuild/rules_ap

#bazel

Last updated 1 year ago

Diego · @dieortin
13 followers · 105 posts · Server mastodon.green

My discovery of the year has been without a doubt the build system.

Once you get used to the extremely fast incremental builds, shared cache, extensibility etc. there is no going back. I really recommend it, at least for

bazelbuild.com

#softwareengineering #bazel #cpp

Last updated 1 year ago

Al Sutton · @alsutton
450 followers · 779 posts · Server snapp.social

Even after all this time I'm still not a fan of . I use it because that's where the support is for development, but, on a purely build bases, and are, in my experience, more robust build tools.

Today's "Nope, still don't like it" trigger was having a gradle build fail with "Gradle build daemon disappeared unexpectedly..." when the build has been specified as to not use a daemon. That's either poor parameter naming, or documented parameters being ignored.

#gradle #android #bazel #buck

Last updated 1 year ago

hxameer :nixos: :emacs: · @hxameer
11 followers · 341 posts · Server fosstodon.org

build --platforms=//:linux_aarch64 --incompatible_enable_cc_toolchain_resolution

#bazel

Last updated 2 years ago

Doug Parker · @develwithoutacause
206 followers · 742 posts · Server techhub.social

@thePunderWoman That's a thing, and not really a common term. I think many Nooglers get just as confused regardless of background.

Even the internal Bazel docs concede that it's a misnomer. It's just called that to algin with `go_binary`, `java_binary`, etc.

#bazel

Last updated 2 years ago

Reid D. M. · @arrdem
1165 followers · 3366 posts · Server macaw.social
Scott Sweeny :popos: :ubuntu: · @ssweeny
158 followers · 543 posts · Server fosstodon.org

I'm kind of impressed that every single tool or plugin meant to work with is AT MOST half-baked.

#bazel

Last updated 2 years ago

Reid D. M. · @arrdem
1163 followers · 3206 posts · Server macaw.social

wish the rules_python upstream would notice my PR one way or another but hey. corporate OSS project not the community projects I'm used to. either way about to get shmoovin

#bazel

Last updated 2 years ago

Buck Baskin · @buck
4 followers · 6 posts · Server fosstodon.org

One of the things I learned that I didn’t know while developing this feature: . First and foremost, I don’t have a good mental model of how it works, especially when it comes to looking up compilers and setting options for compilers. benefits by being able to easily zip together Python, C++ and generated C++ in Bazel, but working on improving the C++ integration feels like stumbling in the dark hoping I find a light switch

#bazel #formak

Last updated 2 years ago

Mx. Savanni D'Gerinel · @savanni
352 followers · 3127 posts · Server anarchism.space

was the last good build tool.

The jury is still out on and .

Fight me.

#nix #bazel #make

Last updated 2 years ago

Reid D. M. · @arrdem
1153 followers · 3016 posts · Server macaw.social

So here's my review. Good theoretical model. When it works it may as well be alien technology. But it's horrendously underdocumented and obviously not designed for consumption by people who haven't already learned on Blaze. And the OSS rules are pretty low quality. And half the stuff you beed to make it work - cache management, bad action purging, analysis cache persistence, ... happens to not be OSS.

#bazel

Last updated 2 years ago

Paul Meyer · @katexochen
25 followers · 53 posts · Server infosec.exchange

Finally found the time to start transforming my config into a flake. Still some impurities left, but I already find flakes amazing.

At the same time, we're moving our build system, CI and dev tooling to at work. Really interesting to learn both systems side by side.

#nixos #bazel

Last updated 2 years ago

Doug Parker · @develwithoutacause
202 followers · 649 posts · Server techhub.social

Shout out to `bazel query --output graph` and dreampuf.github.io/ for visualizing it. Debugged some tricky dependency graphs today and I'm not sure I could have done it without those tools.

#bazel #graphviz

Last updated 2 years ago

adev · @adev
33 followers · 178 posts · Server hostux.social

is the quintessence of Google bad software:

- Bloated: Hello JVM to compile C++
- Over complex: CLI so stupidly complex you need an overlay CLI (bazelisk) in npm over it.
- Reinvented: they defined half baked config language.
- Partial: try to provide reproducible builds but is not reproducible. Specially compared to Nix.
- Google centric: Made for Monorepo

And forced over the world: Because if Google use it, it should be good for us too right ? Spoiler: No

#bazel

Last updated 2 years ago