I migrated a mid-size polyglot project from Makefiles to Bazel and C++ was a large component of the project.
Some obstacles:
1. Building with QT5 MOC & UI files. There is a great library[0] for it but it has hardcoded paths to the QT binaries and header files assuming a system-wide installation. I had to patch the rule to point to our QT location. Then it worked fine.
2. There is no rule to build a fully static library[1]. Since we were shipping a static library to clients via our Makefile system, that was somewhat annoying.
3. We were using system links like `$PROJECT_ROOT/links/GCC/vX.Y.Z/ -> /opt/gcc/...` to point to all the build tools, but these didn't work in Bazel I think because it required absolute paths for any binaries it calls. We ended up putting them in a .bazelrc but we would need a different one for Windows and Linux.
4. Not good integration with IDEs
5. (edit) The Bazel toolchain system is confusing and I couldn't understand it after reading all its docs
Ultimately we did not keep using Bazel because we were building Python binaries and py_binary was too slow on Windows. And we didn't have enough time to write a PyInstaller rule.
Regarding #3, my approach to solve problems like this is to make a custom repository rule which creates the desired symlinks. The repository rule can invoke external programs or examine the environment as necessary to figure out how this should be created.
Basically, you create a repository rule that symlinks your $PROJECT_ROOT/links/GCC/vX.Y.Z/ to $repo/... somewhere, and then generates a BUILD file for the repository.
Writing your own repository rule is not especially difficult and they do have a lot of power not available to ordinary rules. This is the API that you can use from within repository rules--you can see that it lets you run arbitrary programs, create files and symlinks, download files, etc.
#2: To be fair it is reasonably easy to make a cc_static_library_binary-ish rule which merges all transitive .a-s (just generate an ar script and call archiver). But I have to admit that I spent non-trivial time on maintaining our "CROSSTOOL in skylark" (forgot the term) for 20+ target platforms before and it helped a lot on understanding the (still incomplete) C++ sandwich.
I find the language "Paid: $___" confusing because it is past tense and reads like the task has been completed. I suggest changing it to "Will Pay" or "Bounty"
> Gnome's Wayland implementation is much better then KDE at this moment
Agreed, with a caveat— Gnome's Mutter compositor for Wayland has bugs. It does not support server side rendered window decorations while KDE does. This means that the title bars for Alacritty[0] terminal emulator and the mpv[1] video player are ugly and not so functional. This is an intentional decision by the GNOME team[2]. Also the screen locks while watching videos on mpv because Mutter does not support the idle-inhibit protocol, although work is currently being done on this[3].
The window decorations stuff drives me batty. Titlebar and buttons aside, there seems to be a widespread misunderstanding about window shadows. There is some vague effort afoot[1], but a surprising number of developers don't really care whether they're consistent (note, nobody even mentions shadows in that extremely long gitlab issue you linked to), despite the Gtk folks going to tremendous efforts to make them look nice for their specific toolkit. Which is great, until you have a Gtk 3 app beside a Gtk 4 app and it looks like they're each being affected by a different light source, begging the question: why do we even have them? Shadows are supposed to create a consistent sense of space and guide the eye around the desktop, but if they're all different, that isn't happening. They're just noise.
To be fair, it's difficult because Wayland clients might have rounded corners and other odd shapes, and I'm not in a position to really look into it myself so I shouldn't complain, but argh, the indifference about it is frustrating.
Ugh. I enjoy the GNOME look and feel but every thread on their big tracker makes me want to switch desktop environments. "Your standard is irrelevant because we don't want to follow it" is something I'd sooner expect from Microsoft than from an open source collective.
I've seen with my own eyes an Argo AI car not pulling to the side for a Pittsburgh police car in downtown Pittsburgh on Liberty Ave. The police car had its lights blaring and was forced to go around via the oncoming lane. It was awkward because every other car on the road made way for the officer, but Argo AI did not.
> We plan to fund Andi through a freemium business model, with free anonymous search for everyone for ever, and paid plans for professionals and businesses, including APIs and using Andi for corporate information, with supplemental revenue from anonymous referral link attribution. We're focused on building the product right now, and will figure out the details once we're further along.
> We are committed to staying 100% advertising free. Commercial considerations or partnerships will have zero impact on our search results or recommendations. Our recommendations are always made based on the best results we can find for our customers, and are never subject to commercial influence.
> By sharing search revenue with content producers and media companies that join our network, our mission is to provide funding to great content and reduce media's reliance on invasive ad-tech. Contact us at [email protected] to get involved!
There are only 2 employees[1] of the company so there is a low amount of revenue they need to be self-sufficient
You can't just walk up to a bitcoin ATM, put in cash and get out bitcoin, you typically need an account associated with the ATM that requires you to be linked with a bank account or otherwise mandating very invasive KYC that basically turns them into a functional intermediary in the sense that they can track all your payments and arbitrarily deny service based on your identity like e.g. coinbase.
LocalBitcoins is not practical, nobody wants to meet up in the streets to trade cash for bitcoins.
Some obstacles:
1. Building with QT5 MOC & UI files. There is a great library[0] for it but it has hardcoded paths to the QT binaries and header files assuming a system-wide installation. I had to patch the rule to point to our QT location. Then it worked fine.
2. There is no rule to build a fully static library[1]. Since we were shipping a static library to clients via our Makefile system, that was somewhat annoying.
3. We were using system links like `$PROJECT_ROOT/links/GCC/vX.Y.Z/ -> /opt/gcc/...` to point to all the build tools, but these didn't work in Bazel I think because it required absolute paths for any binaries it calls. We ended up putting them in a .bazelrc but we would need a different one for Windows and Linux.
4. Not good integration with IDEs
5. (edit) The Bazel toolchain system is confusing and I couldn't understand it after reading all its docs
Ultimately we did not keep using Bazel because we were building Python binaries and py_binary was too slow on Windows. And we didn't have enough time to write a PyInstaller rule.
[0]: https://github.com/justbuchanan/bazel_rules_qt
[1]: https://github.com/bazelbuild/bazel/issues/1920