Better HN
topnewbestaskshowjobs
Log inSign up

a_nop

31 karma · joined Jul 22, 2022 (4y ago) · 14 submissions

Submissions

comment 3y ago · link · parent

I thought Wayland was supposed to save the Linux Phone, not the Linux Desktop?

comment 3y ago · link · parent

Unicode was absolutely a good change, the burn was the execution

comment 3y ago · link · parent

They kind of burned a breaking major version transition for no good reason with 2-to-3, now they are prefacing a major change with "it won't be like 2-to-3". It sounds like they may be maintaining two operating modes in CPython 3 instead of going forward with another major transition, just because of that history.

comment 3y ago · link · parent

I imagine they'll keep pushing this back until

a) a catastrophic accident impacts many people or

b) civilians are going to space in more significant numbers.

comment 3y ago · link · parent

Getting press and attention, as seen here, for better or worse.

comment 3y ago · link · parent

Aside, one of the best hacks for networking without a smartphone is a small notepad and a pen in your pocket. Write things down for yourself and others e.g. phone numbers, addresses, email addresses, reminders.

comment 3y ago · link · parent

People get along fine without accounts in FAANG. You don't even need an account to use many Google services.

comment 3y ago · link · parent

Supplying the array length to such a summing function is not a big deal. The compiler is not likely to handle this poorly. Probably gets inlined.

If the syntax is the problem, yeah, if you want first class data structures you might not like C.

comment 3y ago · link · parent

A-10's replacement is drones, says the writing on the wall.

A-10 was developed for a Fulda Gap Cold War escalation, when Soviet Union had many many tanks at its disposal. China doesn't have near as many tanks as Soviets did, and now Russia's stocks are being depleted in Ukraine.

When you have drone/satellite coverage and know where everything is, you don't need loitering CAS as much, you can strike before threats are immediate with standoff munitions like what F-35 deploys, or artillery. Anything else you can clean up with drone Hellfires etc. loitering with less risk.

comment 3y ago · link · parent

Mindustry is like a PvP Factorio-lite

comment 3y ago · link · parent

"Fixing" search is, at this point, to Google, "getting people to click on more ads"

comment 4y ago · link · parent

Participating in class signaling is optional, starting with the choice of where to live. I can tell you from experience that if you find the right neighborhood, you can have good access and security and not have to cut your grass regularly. It's a big country.

comment 4y ago · link · parent

I'll be tickled when they discover the AI is measuring the lens distortion of the camera or some other artifact of the signal chain.

comment 4y ago · link · parent

All of my clients use Bazel now, so I've started using Bazel. I like it a lot, but there are some kludges when you get into any non-trivial chain of dependencies.

First off, if you depend upon another Bazel project which has its own dependencies, you need to clone dependencies from its WORKSPACE into yours for any targets you are hitting. If they chose to include macros for importing their dependencies, you may use those, but this would be opt-in. This is not technically unreasonable; you have all the power you need to have everything in your project depend upon a single version of a shared library or potentially import multiple versions (depending on how tangled the tree is), but you have to use this power, even if you don't care. Compare this to a non-sandboxed, more naive build using whatever version of libraries was found in the environment. You have the means to tightly control what is in the environment, or not care. With Bazel you have to care.

The dependency chain has led to a problem in practice when I tried to use Google's protobufs and Cython at the same time. The protobuf generated Python bindings use a particular version of Cython and override Cython's own Bazel rules, which seemed like a very rude and unnecessary practice. This made it impossible for me to use Cython in the same project as protobufs. A bug report to protobuf was met with "PR welcome."

As far as I can tell there are no "best practices" or features in Bazel to ease this kind of degenerate dependency chaining. If there are, a popular Google library decided not to use them. I consider dependencies to be the best and worst thing about Bazel; when it works it just works, when it doesn't it really doesn't.

All that said, I would probably use Bazel over pretty much any other alternative for business software in C++. For one-offs and PoC it is overkill.