697 karma · joined Aug 21, 2023 (3y ago) · 116 submissions
comment 1d ago · link · parent
But the reality is a ton of domains like graphics, video games, and cloud infrastructure is built on C++.
I think the Spanner and Chrome devs “got stuff done” for instance.
I could go on a tangent about the whole “maker vs coder” debate that has sprung up around AI. It feels similar to the C++ idea you’re talking about. The idea is that people who actually understand code and computer science concepts deeply are too busy yak-shaving to be productive like us “makers”.
That ivory tower type definitely exists.
But this false dichotomy seems to be defense mechanism more than anything.
There are smart people that are basically better at everything. They understand C++ deeply, but can code in Python too, build massive pieces of infrastructure like Spanner, and now they are better at driving AI, too.
Not that I’m defending any of the horrible language design decisions of C++. But, you see what I’m saying. People who have skills beyond is in one area aren’t necessarily deficient in another area. Maybe they are just smarter and more skilled than us in a ton of ways.
comment 1w ago · link · parent
The easiest, and the default choice when I worked at Google, was exactly what you said: a sliding scale.
You could target racks, data centers, clusters, regions, etc. And “drain” the unit. For instance, stop routing traffic to cluster foo.
Then you could increment up stepwise 10%, 20%, etc.
Obviously we didn’t use nginx, and sure there’s interesting engineering involved. But it’s not like these systems are magic. There’s just a lot of clusters and a lot of load balancers. But at the end of the day, it’s just a load balancer.
As another Xoogler in this thread pointed out, there’s two problems:
1) Sometime teams accidentally introduce circular dependencies. Service foo might require service bar to boot and vice versa. Typically that’s fine, but from a rare cold start where both foo and bar are down, you’re in a pickle.
2) Load balancing is “easy”. But the services need to be designed with the aforementioned load balancing strategy in mind. Stuff gets tricky if there’s any pollers, process affinity, multiple components that need to process parts of the same user’s request in tandem. Given that outlook is ancient, I would not be shocked to learn that the system doesn’t respond well to naive “slowest ramp up traffic to a cluster” approaches. For big distributed applications, it takes a lot of meticulous design to build a system that responds well to simple SRE techniques like that.
That is one thing my team at Google would actually consider. We would make the code and architecture more complicated to accommodate the types of naive mitigations one would want to apply in an outage.
comment 1w ago · link · parent
comment 3w ago · link · parent
It’s weird that major features are designed from start to finish without even having so much as a demo.
It feels like there should be a back and forth process between committee proposal -> experimental impl in a major compiler -> community feedback, and so on.
It sounds like it’s basically the waterfall approach to language design? They write a glorious spec and chuck it out to the world, and hope that compilers can implement it and people actually find it useful. Example: modules.
comment 3w ago · link · parent
We’ve known that one important component for learning (not the only thing that matters, but an important one) is the memorization of facts.
There seems to be a big urge to pretend that’s not true. E.g. you can learn arithmetic without memorizing your multiplication tables, literature without engaging with the canon, and now apparently coding without even having coded.
The idea is if we start with a top-down conceptual approach we will eventually vibe our way into knowledge acquisition. Which does sort of work.
However, sorry to be a curmudgeon, but the people who just “do the work” and actually spend time on task to learn a bunch of stuff … are actually more knowledgeable on average.
comment 1mo ago · link · parent
We need a PRD, an EDD, an ADR, success metrics defined, product sign-off, leadership sponsorship, Figma designs, a Jira epic, timeline estimates, sprint planning, and statistically significant A/B experimental outcomes to be able to implement a feature like that!
The good news is that we did automate the coding portion.
comment 2mo ago · link · parent
People are really bothered by perceived inauthenticity and injustice. And care about more things than the utility of the end product.
On top of that, we have a very out of touch political system that has continually ignored the will of the electorate. So then the tech people will say “see, the masses voted with their feet, they love the utility of AI generated art!”. Completely ignoring the perverse incentivizes and regulatory capture that led to that outcome.
If you were to poll 100 people on the street, they would be very against replacing human artists with AI.
comment 2mo ago · link · parent
Netflix seems to just grab radio announcers or something. The dubs are stripped of all emotions and acting. It’s like the voices are reading out an advertisement.
Obviously there’s exceptions, but Disney seems to employ actual actors. The dubs feel natural and native for the most part.
comment 3mo ago · link · parent
I suspect that rate-limits would fly in the face of a lot of narratives like “Azure is ready for hyperscale”. And getting eyes on Github is probably a part of their Copilot product strategy.
comment 4mo ago · link · parent
This is obviously true, and there are surely more web devs than, say, compiler engineers.
But then the logic seems to go as far as to imply nobody does or should be doing these things. Where do they think the “off the shelf” solutions came from?
I worked at <big internet tech company>, and many critical systems written in the 90’s and early 2000s used bespoke compilers, caches, and consensus protocols that were hand rolled by the original developers.
Back then, most of these ideas were already present in academia. But the industry tech wasn’t quite there yet to run these huge services at scale without running into problems (paying a vendor, licensing, the open source solution not quite there or tunable enough to easily integrate it at the needed scale, no company wide consensus on a shared approach yet).
A lot of these handwritten implementations eventually informed the “off the shelf industry solutions” we have today.
I think that’s what gets me down about tech these days. There’s a weird almost anti innovation attitude, which is the opposite of what made me fall in love with this profession. I’m not saying to hand roll a consensus algorithm at your next start up. But there’s definitely a vibe these days that any sort of theoretical, creative, or innovative thinking is suspect. Get back to selling ads!
comment 4mo ago · link · parent
In the US, what the parent comment was getting it, is why are we even talking about this in the first place? What problem is privatization trying to solve?
As an American, I have zero complaints about our postal service or how much we pay for it. Apart from the fact that I wish there were more branch offices and a few more workers at most locations. I don’t think privatization will solve either of those.
Why do we need to reform something that already works?
comment 5mo ago · link · parent
One of its premises is that The Rich are some cohesive group that can trade amongst themselves in a hermetically sealed economy. That seems obviously untrue, there are a lot of different rich people with competing goals and motives.
Another false premise is it argues that finance and tech are completely detached from the so-called “real” economy. It uses the example of money moving between international account, detached from inherent physical value.
That also seems obviously false. The purported benefit of finance and tech is that they act as a force multiplier for the rest of the economy. In exchange they get to skim value off of the top.
If middle class consumption stopped or decreased in a serious way, finance and tech would be impacted. It seems weird to argue otherwise when we have such recent examples, like the great financial crisis.
Also, going back to my first point, if valuations of certain “main street” companies start to fall, it would set in a chain reaction. Because again, the rich aren’t a single cohesive group.
comment 5mo ago · link · parent
Software projects will grow in complexity to consume whatever budget you give it. If you hire 50 devs and give them a bunch of business objectives, they are going to do what they do and write a ton of software.
It’s not obvious to me that it would be theoretically impossible to build a cheaper package manager.
comment 5mo ago · link · parent
Versus any F500 company running their services on GCP.
It’s a bit whacky to think about because Apple will operate Google owned software on GCP. But it should be sandboxed just the same.
I’m not making a normative privacy argument here. Just pointing out that this is cloud business as usual. Perhaps it’s interesting Apple is doing it, but basically everything else is already using either AWS or GCP at this point.
comment 5mo ago · link · parent
Just to make a point: I could throw out SQLite as a project that bans open contributions and is wildly successful.
Also, as others pointed out, Linux is technically open contribution bazaar style by 2000s standards. But if you look at how to actually get involved, there’s way more friction compared to the average GitHub project.
I actually think GCC falls into the same category. Even though it’s technically open contribution these days, it’s not exactly a free for all where any AI agent can open a GitHub pull request and get it reviewed.
You have to mail patches to a mailing list and follow a bunch of super specific and arcane rules set by the grey beards.
comment 5mo ago · link · parent
I didn’t realize this until I was 32.
Obviously some companies will actually punish you. You might get fired from your Amazon or Microsoft job, for instance.
But typically what happens is the work just gets offloaded to another yes-man.
And the funny thing with promotions is most orgs don’t reward work volume. Nobody will remember that you took 11pm meetings or did that one unpleasant migration nobody wanted to do anyways.
comment 5mo ago · link · parent
Wouldn’t it be in Amazon’s interest to run open models and sell time slots at around the cost of running them?
My only guess for why they don’t is that AI labs are currently selling their models at a huge loss, so this isn’t worth Amazon spending low-margin compute on compared to other higher margin products.
What I’m getting at, is maybe we won’t even need to run the models locally for the current status quo to implode. After today’s AI labs run out of free-money runway and actually have to sell their models at a price above running them, there will be the incentive for anyone with compute to just undercut by selling open-models-as-a-service at commodity prices.
comment 6mo ago · link · parent
Yes I know there's no evidence and this is lazy reasoning. But there's probably a bit of truth to this line of thought.
comment 6mo ago · link · parent
Just one example, owning a home protects you against price shocks. As others have pointed out, this can sometimes be a bad thing, because when prices decrease you are also leveraged.
But it’s pretty important to a lot of middle class people that they are protected against forced relocation due to 5x housing price increases.
Of course, there’s other reasons to not own a home.
My point is that localized housing markets have all sorts of factors that are perfectly explainable by economic theory but aren’t just “Econ 101, run the supply and demand” curve.
comment 6mo ago · link · parent
First, that this is challenging to scale across large orgs. Even if your plans produce high quality code, that isn’t true for everyone. I’m definitely struggling with slop code being collectively mailed to me for review my our 1,000 engineers that were told to use their AI subscription all at once.
I feel like we should be taking “prompt engineering” more seriously. And when people mail me code to review, it should also include the agentic workflow and plan. So that when code isn’t up to quality, and can have a discussion about the prompts used to generate it.
My second thought is related to your senior engineer comment. This isn’t surprising, because in most engineering orgs, seniority is completely unrelated to code quality. In fact, many orgs incentive the opposite: “senior” devs that push out buggy code quickly and push accountability downhill to the junior devs.
comment 6mo ago · link · parent
I still think that’s about accurate. Maybe it should’ve been 40%.
Everyone forgets that it was a pretty close election. Clinton could’ve won without the Comey announcement.
comment 6mo ago · link · parent
The fact that basically none of these multi-million dollar companies are vendoring their entire dependency tree.
At most companies, even ones worth millions of dollars, it would be impossible for them to rebuild their software if someone ripped a package off of npm’s registry or whatever.
comment 6mo ago · link · parent
We were deducted points for trivial syntax mistakes.
If these stories I keep hearing are true, then university programs have really taken a nose dive recently. This isn’t a “back in my day” thing, but within the past 5 years.
The pace of the purported decline makes me question if some of these stories are sensationalist. But I don’t know, I keep hearing about them.
comment 6mo ago · link · parent
Code references are less important inside Google editors, because we have a code viewer tool inside the web browser.
Most people read, explore, follow references, and share permalinks to the view-only tool. It’s a lot better than viewing code in GitHub. It’s super fast, is connected to language servers and can actually trace referenced, and overall has a million little features optimized for reading code.
We also have a code reviewer tool, and a separate tool to run and view CI runs.
So what’s left for the editor? Syntax highlighting?
I would tend to view code, run tests and CI, and review in separate tools specialized for their specific use case. The code editor was just a place where I would type in my changes.
I’d imagine this workflow feels weird to people who learned in one-stop-shop IntelliJ and GitHub world. But I can’t emphasize how much better these other tools were compared to GitHib. So a code editor that also lets me read, review, and test code didn’t really matter for me when I had a collection of smaller tools specialized for each individual task.
comment 6mo ago · link · parent
There is no “modern” alternative. If you read Reddit threads, C++ programmers actually believe that it’s a reasonable file reading API.
Most companies that I’ve worked at have just implemented our own on top of the OS syscalls. Which is annoying because it requires at least a Windows and UNIX variant.
Look, I like C++. I’ve been programming in it for years. But some of the stereotypes around C++ programmers are true. I still occasionally run into design decisions so untethered from reality that it still shocks me after all these years.
comment 7mo ago · link · parent
So a lot of code quality debates don’t matter for the typical enterprise app. While a dev spends their afternoon shaving off 100 nanoseconds in the hot path, a second developer on a deadline added a poorly thought out round trip that adds 800milliseconds.
This architectural problems are also more difficult to unwind later since they tend to have cascading effects.