Better HN
topnewbestaskshowjobs
Log inSign up

simfoo

930 karma · joined Jan 17, 2012 (14y ago) · 240 submissions

Submissions

comment 6y ago · link · parent

Most likely the CMake build is simply building more code than Bazel is. I am 100% sure that this is not comparing apples to apples

comment 6y ago · link · parent

I'm wondering at which point it would make sense to split the driver into multiple device family drivers instead of lumping it all together into a mess of unmaintainable abstractions.

comment 6y ago · link · parent

Oh man, really regretting paying 800€ for the 3950X in January now

comment 6y ago · link · parent

My RPi 4 has been running Tailscale at home for some time, forwarding to my home network. Works great and very stable.

I think somebody even compiled Tailscale to run natively on my Synology NAS.

comment 6y ago · link · parent

https://jitsi.org/jitsi-meet/

comment 6y ago · link · parent

In fact I think the government has all the rights to take all belongings after someone dies. After all the person earned it from society, not its descendants.

comment 6y ago · link · parent

True but I think addressing those inconsistencies in the build system is doing it on the wrong level. Ideally this should happen outside the actual build and any dynamic configuration that is derived from the system environment should simply be passed into the build. CMake makes this easy using toolchains.

comment 6y ago · link · parent

My unusual application of Docker here is no exception. Most software builds are needlessly complicated and fragile, especially Autoconf-based builds. Ironically, the worst configure scripts I’ve dealt with come from GNU projects. They waste time doing useless checks (“Does your compiler define size_t?”) then produce a build that doesn’t work anyway because you’re doing something slightly unusual. Worst of all, despite my best efforts, the build will be contaminated by the state of the system doing the build.

Completely agree, Autoconf needs to die. C++ builds don't need to be complex and fragile, even if many environments are supported. Just use a minimal CMake build and resist the urge to implement "clever" things in it.

comment 6y ago · link · parent

Completely agree that you can't compare Bazel and CMake directly, they are not on the same level. But for compiling C++ Bazel will have to compare itself to CMake, which is plain and simple the defacto standard.

All the complex things that Bazel brings into the game (distributed builds and caches primarily) simply don't have any value when the main task that you're trying to make faster is not done well.

I would much rather like to see more tooling that does these things but builds upon layers of battle-tested existing software.

comment 6y ago · link · parent

Might make sense if you use Go or any other language with a straightforward tooling landscape (compilers, package management etc.).

That changes drastically if your codebase contains a lot of C++ and your SW model doesn't quite match the way Bazel tries to push you into. For instance doing any of the following things will quickly turn into a nightmare when using the Bazel C++ rules:

* dynamically linking libraries

* using a containerized approach for library includes (so transitive relative include paths)

* using different toolchains and cross compiling

* interfacing with thirdparty libraries

We are talking seasoned build engineers ending up frustrated after literally months of trying to achieve something that is easy as pie in CMake.

In addition there is still no real IDE support. The CLion plugin is permanently broken and lags behind versions. No real VSCode support. Using custom rules makes this even worse, to the point where CLion will refuse to sync and not having a way to produce a compilation database json.

There are so many bugs open on those projects and no progress or answers. I can not recommend Bazel if C++ or C is what you care about.

comment 6y ago · link · parent

-O3 should include those expensive optimizations. If you want fast builds with minimal optimizations, go with -O1

comment 6y ago · link · parent

Good point. Would still be possible with the threads being blocked in a read() but that would require signals and more logic in the threads, so a central multiplexing and coordinating thread seems like a cleaner solution.

comment 6y ago · link · parent

Honest question: why go through the hassle of multiplexing waiting in a single thread only to dispatch to a thread per client anyway? Simply using blocking IO for the clients in those threads should be much simpler right?

comment 6y ago · link · parent

What's a little confusing is that they are not testing the same versions of the software but (presumably) the distro default version. So these benchmarks are not useful to test kernel and lower level performance differences.

comment 6y ago · link · parent

My guess: It is politically wanted to have graduates that will take any job because they are deep into debt with no chance of getting rid of it through bankruptcy. This pressure keeps wages down and "motivation" up.

comment 6y ago · link · parent

It absolutely is, especially if you do C++ with it. So many bugs and missing features in the native rules and skylark api, it's not even close to a 1.0

comment 6y ago · link · parent

Just opening the context menu of a song (to add it to the queue for example) now requires connectivity and does at least one round-trip to their servers. Unless you actually cut the connection (e.g. air plane mode), then it suddenly works fine

comment 6y ago · link · parent

We have Ryzen 9 3900X workstations at work and I am using a 3950X at home. That's already a huge boost to compile times and they cost way less than the threadrippers

comment 6y ago · link · parent

In fact all three major compilers manage to use memset in all cases, see here: https://godbolt.org/z/hVJfPE

comment 6y ago · link · parent

I would actually consider this a bug of the std library implementation. Would love to see a comparison between different implementations (libc++, libstdc++, MSVC)

comment 6y ago · link · parent

I don't know about Israel but VWs ride-sharing service in Germany is MOIA

comment 6y ago · link · parent

This is not true. VW fully owns AID which is developing its level 4 stack. VW is also invested in Argo

comment 6y ago · link · parent

I think this could be easily addressable by Google: remove the option to have uninstallable apps

comment 6y ago · link · parent

It's fine, I'm not actively looking right now (I really like the website and your manual approach though).

I'm just wondering wether non-web dev jobs don't exist anymore or are just out of fashion/not mentioned that often

comment 6y ago · link · parent

When I look at your signup form I can't really find my profession. I had this problem for a while now but maybe I should simply ask: I do industrial software engineering (in my case in automotive) that targets a mixture of embedded, desktop and server environments. This is done mostly in C/C++ with some Python, Shell and maybe Rust. What is the proper profession name for me? Is this a full stack engineer? Not likely from what I've seen but I really don't know

comment 6y ago · link · parent

Installing today! Thanks for these links, I haven't played that game in 10 years

comment 6y ago · link · parent

Pretty much the same experience. 2y old monorepo company with >150 engineers now, being slowed down by hacks upon hacks in the usage of the bazel build system with around 5 people at the company understanding how bazel works. And those people are discouraged quickly when trying to improve things because of the shear brittleness of the existing build files and "optionated" approaches in the community that don't quite cut our usecases. Even things like enabling remote caching and execution take many months (and even external companies) and still drag on.

Edit: I don't want to come off as too negative about Bazel. But I really think it needs more time and is nowhere near something that I would call a 1.0 let alone a 2.0

comment 7y ago · link · parent

By disabling smooth scrolling (available in settings). Feels much snappier to me

comment 7y ago · link · parent

Imagine if Chernobyl happened in the middle of Europe (it _can_ happen again). Imagine if large parts around it became uninhabitable for hundreds of years.

This risk is not captured by a single deaths/TWh number, so please stop comparing this when debating (current) nuclear energy options (not talking about future designs or even fission-based plants)

comment 7y ago · link · parent

SDS usually stands for self-driving system. Argo provides only the sensors+compute HW+software that can be integrated into different cars from different manufacturers
12345
8