236 points · by todsacerdoti · 3y ago · 145 comments
I've wondered about this a lot lately. It's not limited to software engineering only, you see it in other creative/human domains as well. Media production. Teaching. So on.
But it's made me wonder, why doesn't the equation ever invert:
"The <fill_in_the_blank> world has tried to develop _management_ processes that allow people to be plugged into them like interchangeable components."
Why has management never come under the scrutiny of "one size fits all" and the subsequent salary/headcount reduction?
One size fits all is less efficient at both the managerial and employee levels, the advantage is largely risk minimization.
Except that it is only local or small risk minimization; the catastrophic existential risks end up maximized to the point of becoming inevitable.
With companies, the MBAs happily optimize away anything that isn't immediate revenue. So manufacturing gets offshored, along with all the deep knowledge of how to make things. R&D gets shrunk and minimized because it is a quarterly expense with returns not immediately specified. They kill or sell off all the "dogs" of products and try to milk the "cash cows". This makes the numbers look great until things change and the "cash cows" need updating for a new market environment. But the company now has no idea how to do it because they have no seasoned and up to date product development, no R&D technology development, and no manufacturing know-how. So, it goes into a death spiral if it hasn't already been disrupted.
On the societal level, MBAs justified the western world outsourcing all the manufacturing because it was "fungible" and cheaper to do it offshore, made more profits this quarter. Meanwhile, all that know-how was stolen by China, who isn't interested in quarterly profits, but in global hegemony, and now has both economic and strategic chokeholds on the western democracies (everything from corners on lithium and solar panel markets, to spies in western corporations, to backdoors in key commercial and likely military microchips). The entire strategic advantage of the west was sold out for a few dozen quarters of increased profits. This will go down as a colossal strategic blunder of historic proportions.
All thanks to trying to standardize management.
This seems a little simplistic? "China" isn't a monolith, and I'm pretty sure Chinese companies are just as interested in quarterly profits as Western ones. It's not like they're all state enterprises. And they didn't "steal" know-how - they earned it, by doing stuff (aside from the odd case of corporate espionage, which certainly cuts both ways). Nor is the United States any less interested in global hegemony than China.
I suggest that the reason for manufacturing moving to China is simply because labor is cheaper there (large population and weak labor laws). The Chinese government has played its hand well, but it doesn't represent some grand asymmetry in strategic planning - it's just the hand of the market as always.
In terms of what is wrong with this apocalyptic view of the future, I would start with the idea that China has some unassailable chokehold on the West. A lot of influence over our supply chain (which is at the moment divesting), sure. Someone like Peter Zeihan can articulate it better than I can here (ex https://www.youtube.com/watch?v=QzT38jCUpgU), but China is really on its knees at the moment owing in large part to the instability of authoritarian regimes. We might see them get back on their feet in the next few years but we might just as easily see a catastrophic collapse of their government and economy. Time will tell.
Because China is experiencing all kinds of internal demographic and political turmoil, and they’re still much further behind than people realize, what I worry about more in the long run is decay of western education than anything externally driven. We are our own worst enemy, and we risk hollowing out what has historically been the engine of innovation for the majority of the world (I am talking primarily about the pipeline feeding people into US University systems since World War II and high level technical/tinkering environments, as I think European education seems to have lost a decent amount of innovative capability a while ago, though I know much less about it). That problem is deeper than the problem of products of that system being sold off as you describe, but related. That poses a far bigger long term risk to domestic and global prosperity than China, imo, although China is still a massive risk for at least the next decade if Xi continues his current trajectory, and the education problem is of course related to our ability to confront that.
I see two extremely important problems that need to be solved:
1. The most intelligent and competent members of the public need to be pulled from all backgrounds, colors and creeds and be rigorously evaluated purely for ability and merit regardless of all other criteria. Historically there has been bias in favor of the host nation population. Now there is bias in favor of restorative education and nepotism. While truly restorative education has merit, it cannot interfere with attempts to identify and nurture the best of the best, which is of upmost national security importance, and is important for the maintenance and improvement of the machinery which has given us so much material prosperity.
2. We need to accept that not everyone is able to handle the complexity of the world we have created and educate those who are not in that first highly selective pool of people how to be good citizens, participate in complex systems in a way that’s beneficial for all parties despite the complexity, achieve high status, and create a compact that actually rewards them for being good citizens regardless of intellectual ability. There is a very toxic aspect in the upper echelons of modern society where those not able to handle the insane complexity and competitiveness of technocracy are essentially lied to by most of our educational system to continue schooling and training indefinitely, or they are ousted from the training environment and treated like livestock. Many people then end up clinging on to large bureaucratic systems for meaning and survival, which becomes further and further out of sync with real societal needs. This is a much harder problem to solve than the first given modern organizational complexity, but people will not accept the solution to the first problem (which is inevitably unbalanced and discriminatory against those less able) unless the system as a whole is explicitly rewarding and accepting everyone for participation and giving them achievable pathways to high status.
I see that second problem as THE problem of the 21st century. If that problem is not solved, or if it is forcibly “solved” arrogantly and stupidly, I worry the world will be plunged into a level of dysfunction that makes the past 3 years look like nirvana. If that problem is solved we could find ourselves enjoying the highest levels of prosperity, meaning, belonging, and global uplift in the history of mankind in the decades to come.
It's easier to hire humans that act like robots than to design robots that act like humans. Robots have an uncanny valley described on wikipedia, that, when reversed, leaves us with a robot-centric human critique:
In aesthetics, the uncanny valley is a hypothesized relation between a human's degree of resemblance to a robot and the emotional response to the human. The concept suggests that humans that imperfectly resemble actual robots provoke uncanny or strangely familiar feelings of uneasiness and revulsion in observers. "Valley" denotes a dip in the human observer's affinity for the robotic human, a relation that otherwise increases with the human's robot likeness.
Inspired by:
https://en.wikipedia.org/wiki/Uncanny_valley https://medium.com/@jannaq/the-robot-takeover-is-already-her...
It's not very unlike the board of investors of a business hiring or firing management, except instead of a board of investors you have co-op members.
I think the pushback would be the founders and early employees willing to share equally with later employees/members.
You run into an abstracted version of that in software all the time, but it’s way more ubiquitous that just a software or business problem. There’s always a limit to interchangeability/some kind of assumed context. That rabbit hole is incredibly deep. I don’t think I’ve ever run into anything comparable. If you pull on that thread long enough you end up in deep esoteric discussions about perception and philosophy and the history of categories/evolution. And whether or not all of that rabbit hole I ended up in is an unrelated tangent or not requires dealing with the same exact problem (which is whether or not the boundaries you’ve placed around something are legitimate/fit your definition, or if they belong somewhere else/you’re missing very important hidden context).
https://www.businessinsider.com/mcdonalds-hamburger-universi...
This makes them them harder to replace, but it also makes it harder for them to switch companies.
capital flows through trust networks
have i missed anything?
If you want to create a management style that optimizes for quality of product or optimizes for management styles that reflect the needs of labor, instead of a process that optimizes for minimizing labor, then you need to change the incentivization plan accordingly.
Previously:
Lisping at JPL (2020) - https://news.ycombinator.com/item?id=28113434 - Aug 2021 (9 comments)
Lisping at JPL (2002) - https://news.ycombinator.com/item?id=22087419 - Jan 2020 (307 comments)
Lisping at JPL (2002) - https://news.ycombinator.com/item?id=13626074 - Feb 2017 (37 comments)
Lisping at JPL (2002) - https://news.ycombinator.com/item?id=7989328 - July 2014 (19 comments)
The rise and fall of Lisp at the Jet Propulsion Lab (2002) - https://news.ycombinator.com/item?id=2212211 - Feb 2011 (36 comments)
The Rise and Fall of Lisp at the Jet Propulsion Lab. - https://news.ycombinator.com/item?id=304736 - Sept 2008 (72 comments)
I don't think so. What gave you that idea?
You might get hired into an overstaffed team and not do that much for a year until it's crunch time and then you're underfunded so it takes an extra year. Arguably you spent three years to achieve one year's worth of accomplishments.
Big hardware development has probably accelerated some overall--the development of new chip architectures and "big iron" computer systems was at least multiple years when I was a product manager, but especially safety critical systems or things you get one shot at still take slow deliberate process.
Assuming they keep at pace, there will imminently be a static fire and it will be headed to space this year. And to emphasize it's not some evolutionary thing but a complete rethinking of rocket design, unlike anything before, that stands to once again completely revolutionize the industry should it succeed.
Going from spitballing to revolutionizing space, in 6 years (2 of those years being during a highly disruptive pandemic), on a private budget? I'm inclined to say the problem is government, but I'm almost wondering if that isn't just a knee-jerk. It just seems that in modern time that many "businesses", government included, just don't really have the capacity to move quickly - even when it's 100% possible.
So at one point in time your mentor would have held the status / degree / title of Bachelor of Science. They were then promoted to Master, and then to Doctor.
That’s probably what you’re saying, and this isn’t really a correction. It’s simply something interesting that I wanted to share with everyone else.
> At one point an attempt was made to port one part of the system (the planner) to C++. This attempt had to be abandoned after a year. Based on this experience I think it's safe to say that if not for Lisp the Remote Agent would have failed.
I like Lisp and am certainly no fan of the complexity of C++, and barely know it because of such, but is this the conclusion that should be taken? Porting an existing and in-work application from one language to another, with the two languages being rather wildly different, seems like trouble from the start. It doesn't address, however, the idea of starting from the beginning with another language. The conclusion quoted seems to skip over the possibility of using another language from the start.
I'm sure there's many examples I haven't heard of that are legitimate (using lisp for almost all of a specific domain at scale and having a mature codebase, tho that's arguable) but I've yet to see any example that has meat on it's bones, besides the company that did crash bandicoot on the PS1.
And even that one I'm unsure of as I feel it's been mythologized with how often it's pointed to.
I don't blame them though, I root for lisp very much. I'd rather see this articles like this posted and picked apart for validity vs not hearing about them at all.
Well, good instincts, because it wasn't. Naughty Dog used Lisp to write a compiler for an s-expression based C-like language called GOAL (it was kind of a macro-assembler with a register allocator). The reason for using s-expressions was to get a syntactic macro system at compile time.
The game engine was written in this GOAL language. There was no list processing (car, cdr) or garbage collection happening on a PS2, only during compilation in macro-expansion.
There are implementations with other forms of memory management, and they have long supported other kinds of datastructures.
https://building.nubank.com.br/working-with-clojure-at-nuban...
They were even sponsors on 2022 European Lisp Symposium.
https://www.siscog.pt/en-gb/news/siscog-sponsors-the-2022-eu...
but nowadays it's C# and python in Revit
Changed from https://mecrisp-stellaris-folkdoc.sourceforge.io/lisp.html now. Thanks!
Nope. Just a blatant copyright violation.
(They even copied the copyright notice. That's cheeky.)
I know that's a really tall order, but I'd love some kind of tool that tries to do something close to this, even if it's just a listing of other sites that have the same text with a button click.
Such as: Year 2033 - lisp is still a great language for $xyz Year 2043 - I was wrong, I should have used COBOL all along, how was I so blind?
How do you feel about Clojure?
I’m a seasoned software engineer in 2023 that has worked up and down the stack that has always wanted to get into Lisp. What’s the 2023 way to do it?
I feel pretty much the same way today as I did then.
> How do you feel about Clojure?
I've never used but, but from what I've read it looks pretty spiffy.
> I’m a seasoned software engineer in 2023 that has worked up and down the stack that has always wanted to get into Lisp. What’s the 2023 way to do it?
Just do it. There are a zillion Lisps to choose from and a zillion tutorials and books, just pick one and start writing (or, even better, reading) some code.
My personal favorite is Clozure Common Lisp on a Mac. For a starter text, PG's and PN's (Peter Norvig) books are pretty good. But nothing beats just picking a little project and building something.
I have also done a lot of personal coding in CL. Most recently I wrote a spam filter that I use in production on my personal mail server.
Businesses wants interchangeable programmers for many reasons: so they can ramp team size up and down, so hiring is easy, etc. But the number one reason in my experience is to minimize the bargaining power of the programmers. Execs absolutely _hate_ having star programmers holding them up for raises. Building complicated in-house tooling in a language like lisp might make it rain, but the devs are then in a position to demand a slice. Procurement 101 is always have secondary vendors to keep your main vendors honest. Lower productivity is an acceptable price to avoid being held up.
This is a very different context from somewhere like JPL where any programmer there could already leave for more money in industry. Anyone there is already committed to the mission. The cost of lower productivity isn't justified, and might make certain activities simply impossible given the current budgets.
Just to be clear: we are in agreement, right? The author of TFA is stating this, and that the JPL misunderstood its own context. It wasn't the kind of business/project where your second paragraph applies, and so the practices they adopted were mistmatched.
Most woodworkers I've known prefer a square shaped driver. Unless the costs of the screw significantly impact your margins, Phillips screws suck.
I felt this way through my entire engineering life until I bought a sailboat.
Everything on marine stuff tends to be flat-head or similar design -- engaging a flat driver into a slot in a bumpy/roll-y ocean is hell. The self-centering engagement aspect of a cross-socket style drive is absolutely fantastic after a long day of trying to tighten flat-slot fastened tube-clamps and the like at sea during calm conditions, let alone during weather.
That said -- yes, phillips head sucks, they round out and won't handle any decent amount of torque over repeated sessions without deformation. Robertson (square)/allen/torx kind of suck at sea, because they lack any form of self-centering without using special taper drivers.
In a perfect world I think that I would like to use pozi-driv fasteners and drivers everywhere, but the reality is that there are so many types of specialty hardware in use in the marine-world that it would be difficult -- if not impossible -- to switch it all entirely over.
I am unsure exactly what you are referencing with “tube-clamps”. If you mean hoop-clamps or hose-clamps, then those usually have “self-cantering” hexagonal heads as well as the slot: https://duckduckgo.com/?q=stainless+steel+hose+clamp&iar=ima...
But I can definitely think of places with slot-heads on deck of the yachts I have been on, which would be a bitch in swell. And stripping a thread would also suck!
Everything on marine stuff tends to be flat-head or similar design
-- engaging a flat driver into a slot in a bumpy/roll-y ocean is
*hell*.
Off topic: the hell of a bumpy/roll-y ocean manually controlled lift crane arm operation is improved by a single rotating supporting pillar with an expandable webb-y forklift mechanism that goes in the water and retrieves the dive vessel with a one button push and Ai selfguiding.1: Which I just learned last month they make special screwdrivers for! https://www.amazon.com/Combo-Driver-4-Inch-Klein-Tools/dp/B0...
Americans overeat and don't exercise, as a standard practice. Do you think that's best?
To me that really means "industry best practice at commercial businesses". Moving to a different language because the new one is cool is a big wast of $
I have often worked with programming languages, editors, operating systems etc. that weren’t my #1 choice. However I have usually been happy and productive, using code generation, editor tools or whatever to automate the things I don’t like.
You love Lisp and hate Java? Great! Use it to generate the Java code you don’t want to write. And be smart. Don’t tell management you are using Lisp. If they ask why you are 10x more productive than anybody else, just say you are using a code automation tool to be more productive. Which is true! Or simply shrug your shoulders, and humbly say ”years of experience” :)
The developers I admire and want to hire are the ones that can be thrown into a shitty disaster area where everything is broken, and all the tools are unfamiliar and crappy, and still somehow manage to turn it around and fix it. They are f*** heroes. The software developer equivalent of the Navy Seals.
Yeah, but the question is how productive are those things that are getting done.
A 100% productive assembly language programmer is not the same as a 100% productive Python programmer.
Just like using a HLL (which generates machine language) isn't a measure of machine language productivity.
Whatever approach you settle on is a language. E.g "Bob's Lisp-based Java Generator" is a language. It's neither Java, nor Lisp. That language helps give Bob a certain productivity.
What Bob is doing represents the vast minority, and could create a maintenance problem for the organization, and its army of people who know only Java. Code generation isn't a practical recipe by which every programmer everywhere can hit productivity in any language.
But I've started to wonder. In some ways I feel "our" area in the company has been a victim of our own success: By doing things in smart/efficient ways, the tasks we've done has become seen as simple, we didn't need to recruit as much, and eventually because of the low number of people occupied on the task in the organization it is seen as easier or less important and we are more vulnerable to churn than larger teams.
I've seen simpler problems getting solved in (what I think is) very inefficient ways and I used to scoff at that. But now I think what they gain is a large robust team, which can handle both churn and have more weight politically in the organization. Solving something inefficiently simply offers a way to have more people do the same task, for redundancy.
In a sense, once an organization hits a certain size it seems that efficiency in a programming language is an anti-feature. You WANT a larger set of programmers to be happily working on something just to have a larger team around the code and redundancy in people. If a programming language / environment allows you to be too efficient, then too few people get the job done and you become vulnerable.
At least, that's the best explanation I have at what's really going on in the industry.
I agree with your general concern. I hate it when, not only do I know that I am in fact lazy, but that is not why I have done less in this case. I genuinely believe the smaller solution is far far preferable. All too often "don't do it" is by far the better option for what so much internal tooling does.
To that end, I push back against you wanting a less efficient language. I think efficiency is itself a trap. Redundancy and general pacing is a good thing. Languages that try and forego that are not doing themselves any favors.
But, and this is fully to your point, if you don't have the spots in your organization that are fully tolerant to mistakes and bad ideas, than you don't have room in your organization to grow. And if you don't have room to grow as an organization, than you probably don't have room to grow the software, either.
So I took a chunk of my downtime and wrote a deployment engine, to eliminate some of the common mistakes, and ideally make things much faster/predictable.
In hindsight I can see why the team didn't like the idea: in addition to the new Perl code that someone would have to support, it was a serious risk to their jobs. If deployments that previously took 2-3 hours of tedium were reduced to 20 minutes of scripting, why would they need 4 people to do it?
(where "advanced" means: a paradigm that results in greater economy of code per unit of work done, easier debugging, easier testing, complete elimination of entire classes of bug (such as in an immutable language), easier maintenance etc...)
As opposed to, say, functional languages, for which it seems far harder for some reason to create spaghetticode
Bad developers write spaghetti-code. Languages don’t write anything.