Recent submissions

Comment · 3 years ago
I thought Wayland was supposed to save the Linux Phone, not the Linux Desktop?
Comment · 3 years ago
Unicode was absolutely a good change, the burn was the execution
Comment · 3 years ago
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 · 3 years ago
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 · 3 years ago
Getting press and attention, as seen here, for better or worse.
Comment · 3 years ago
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 · 3 years ago
People get along fine without accounts in FAANG. You don't even need an account to use many Google services.
Comment · 3 years ago
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 · 3 years ago
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 · 3 years ago
Mindustry is like a PvP Factorio-lite
Comment · 3 years ago
"Fixing" search is, at this point, to Google, "getting people to click on more ads"
Comment · 4 years ago
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 · 4 years ago
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 · 4 years ago
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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton