Forgot your password?
typodupeerror

Comment Re: I've had poor success with this strategy (Score 1) 73

The amount of code to review must be... impossible.

It's high. I have a team of three reviewers, and I think their reviews are kind of thin. They do point out useful improvements, but I think more careful review could find more. That said, I also feel like the overall quality is actually higher.

Ive been coding for 35 years and thought I knew it all, but now find I know nothing. Keeping up is impossible.

I've also been coding professionally for a little over 35 years, and AI is a complete game-changer. It's going to take us a while to figure out just how much. I actually wonder if my focus on code quality is pointless. I put a lot of effort into ensuring that code is clean and readable for humans, but will that really matter? My current project is the realization of something I've been thinking about for 15 years... how to build a crypto API that guides users to use it correctly and safely. But will that actually matter, or will users just point an LLM at it that has more knowledge about what's safe and hygienic than I do?

Mostly I don't think about it. I'm building something I've wanted to build for a long time, doing it incredibly quickly, and having a great time at it. I'm going to do this for another 2-3 years, then retire. I expect to leave behind something that I'd have been immensely proud of a decade ago... an elegant design with a very high quality implementation.

But I'm not sure that it will be better in practice than something quick and dirty, because I'm not sure people are going to be writing code at all in a few years, and I don't know if the readability and maintainability characteristics I'm so careful about will even matter to its users.

Comment Re:He is largely correct (Score 1) 93

The crossing of the two curves indicates the point of maximum product/units that could be sold, not maximum profit.

Fair. In a competitive market those are the same things, but monopoly situations -- especially government-enforced monopolies, like patented drugs -- create curves that behave differently.

Comment Re:Even so... (Score 1) 102

It is the difference between buying shoes for children and buying shoes for adults. Children outgrow shoes, adults wear-out shoes. For desktops: the 8-bit, 16-bit, even 32-bit were the "children shoes" that we rapidly outgrew. The 64-bit processors are the "adult shoes", and won't need to be replaced until they stop working.

To the degree that's true, it's nothing inherent in the processor generations. What's happened is that Moore's Law has slowed dramatically. If there were as much performance difference between a 2026 CPU and a 2020 CPU as there was between a 2006 CPU and a 2000 CPU, we'd still be feeling the need to upgrade regularly.

Consider, for example that between 2000 and 2006, clock speeds tripled, CPUs went from single to dual core, and instructions per clock went up. A 2006 flagship CPU was ~20X faster than a 2000 flagship CPU. From 2020 to 2026 we saw, what, 2X? And most of that gain came from increasing core counts and hybrid big/little cores, which means that most workloads don't realize the full benefit.

When machines are getting an order of magnitude faster every five years, you're going to be upgrading frequently. That hasn't been happening for a while. If we have some major shift in CPU tech that give us 10X faster machines by 2030, the upgrade treadmill will resume.

Comment Re:"peak satellite"? (Score 2) 41

At what point will we run out of space to put all those satellites

Do the math! The Earth is ~12,800 km in diameter, so a LEO shell from 350-450 km up is about 13,300 km in diameter and about 100 km thick. That gives a volume of about 56 billion km^2. If we give every satellite 100 km^3, that means we're limited to about 56 million satellites.

particularly into stationary earth orbit?

Oh, you want geostationary orbit? That's way, way, way bigger (though possibly subject to Kessler syndrome, unlike LEO).

And who manages traffic congestion?

Basically every space agency does this.

Next, let's worry about what happens if one satellite has a catastrophic accident (or is knocked out by an ASAT), and all-of-a-sudden, that orbit starts loading up with junk?

This is a potential concern for high orbits, not so much for where most of the satellites are being deployed.

Enquiring minds want to know! (Particularly so I can short SpaceX stock...)

Space getting "full" is never going to be a constraint on SpaceX's growth, so you should probably look for some different signals.

Comment Re: I've had poor success with this strategy (Score 3, Insightful) 73

Why do you even need to merge? Just change the code directly. Why do you even need a code database? You aren't looking at the code are you?

I absolutely review all of the code, telling the AI to rewrite parts of it, and occasionally doing it myself. I take advantage of the AI to produce not only more code, but higher-quality code (because I will make the AI do refactors that I'd previously have dismissed as not worth the effort). I now get more done in a day than I used to do in a week and, as I said, with higher quality: more/better documentation, cleaner code, more comprehensive test suites, etc.

AI is a huge productivity boost, and it's actually that boost that creates the review and merge bottlenecks. A four-hour merge process isn't a problem when you only produce two merge-ready PRs per week. But I average one merge-ready PR every 2-3 hours.

Comment I've had poor success with this strategy (Score 5, Informative) 73

I've been trying for a while to use a "loop" to optimize one particularly-tedious part of my workflow: Merging.

My employer uses Github with an extensive CI infrastructure to validate all sorts of things. After CI passes, trunk-io takes the commit and retests it in a batch with other commits and if they all pass, merges them as a set of squash commits. If something goes wrong, I have to figure out whether it's a transient failure (in which case I can tell the system to re-run the tests), or whether it requires me to fix and re-push. My commits typically build on one another so I end up with a stack of PRs that have to go through this process. When a commit finally merges the next commit up the stack has to be rebased and re-pushed.

Start to end, getting a commit to merge takes between one and four hours. This is slow enough that even though I don't have to watch the process continuously, just check in on it every half hour or so, it puts a major crimp in my productivity. If I only merge during working hours I can only merge 2-4 commits per day, but on a good day I create double that. This means that I have to be merging evenings and weekends too, or my backlog builds up. (Code review is another obstacle, but I'm focused only on the merge process here.)

There are enough possible odd failure cases in the merge process that I haven't been successful at writing a script to manage it. So I thought "Hey, why not have Claude supervise it? Claude is capable of exercising some judgment and problem-solving, right?".

Not really. If there's a problem blocking the PR at the bottom of the stack from merging, Claude is perfectly capable of analyzing the situation and determining what needs to be done to unblock it, and of performing the operations necessary -- but only with active prompting. Claude can set a timer to go periodically check the status and recognize the problem, but no matter what I do I can't get it to autonomously take the next step of correctly diagnosing and then acting on that diagnosis. Even given explicit instructions to do so, Claude either (a) fails to investigate enough, (b) fails to identify correct actions or (c) fails to perform them. When I wake up in the morning and ask Claude what the situation is, it generally correctly and accurately summarizes exactly what's wrong and exactly what needs to be done to fix it, and then when I ask why it didn't do those things it tells me that it clearly should have, but it just didn't.

I've tried various architectures, using one instance to prompt another one, using pairs of instances set up with distinct, complementary responsibilities, using instances set up with adversarial responsibilities (this is the most effective), but I just can't get it do to this work effectively.

Comment Re:There's a working group of cryptographers... (Score 2) 93

There's a working group of cryptographers who are spending some of their time researching Bitcoin (and other cryptocurrencies) in an attempt to reduce their value to zero.

Cite?

I find that extremely unlikely. The cryptography behind BTC is very simple and very robust. Oh, it's certainly the case that if someone were to break any of the cryptographic elements they'd have made a name for themselves that would result in them being showered with opportunities in both academia and industry, but (a) that's extraordinarily unlikely and (b) the primary benefit of doing that work wouldn't be related in any way to BTC. Oh, and it would also take down lots of other important uses of cryptography, like TLS. That doesn't make it not worth doing. The fact that it would break so much other stuff is what makes it worth doing.

Comment Re:He is largely correct (Score 1) 93

Where I differ is refusing to associate cost/price with value.

"Value" is too variable and subjective to be a global concept. The only useful way to define "value" is "What a given person or entity will pay". Your gamr-boi puts a very high value on a game. I would value the game at very close to zero. Probably not actually zero... if you offered me a big bundle of games for a penny, I'd buy them because a there's some tiny possibility that I might want to play one or two of them sometime in the future. Especially if the purchase is digital (e.g. Steam) so I don't actually have to store them anywhere. Another person might place the value somewhere between the gamr-boi's "lots" and my "almost nothing".

And "price" is just the aggregate combination of all the potential buyers' values, matched against suppliers' offerings. So price is inherently and inextricably associated with value. Specifically, the value that everyone puts on a good defines the shape of the demand curve, and the price is where the demand curve meets the supply curve.

Your video game example is not a great one, because non-rivalrous goods (my having the game doesn't preclude you from also having it, unlike, say, socks, where my possession of a particular pair of socks means you can't have them) introduce some complications into this analysis. It's much easier to understand the relationship between value and price with traditional physical goods first.

Comment Re:He is largely correct (Score 5, Informative) 93

There are two curves, a supply curve and a demand curve. Where they cross is the price. This is extremely simplified :P

In general: the price is as high as the seller can get away with. "Supply and Demand" as "basic economics" only works in niche cases.

Where the curves cross is the highest profit the seller can get away with. This is precisely how the curves are defined.

When talking about supply and demand, people commonly misunderstand that both curves are fundamentally about price, not availability or desirability. The supply curve is "How much is available at each price level". The demand curve is "How much will be bought at each price level". At prices above or below the intersection point, sellers are failing to maximize their profit.

It's profit-maximization that pushes prices to the supply/demand intersection point.

Note that monopoly or monopsony don't invalidate the supply/demand curves, they just alter them. Even with a perfect monopoly, the supply and demand curves still exist; at different price levels the monopolist can obtain more or less to sell, and at different price levels the buyers will purchase more or less. Supply and demand curves don't work or not work in different market conditions. Supply and demand curves always hold, non-competitive market conditions just shift the curves. Even government price setting doesn't change this fundamental reality... it makes price ranges legally inaccessible, which just alters the curve shapes by adding legal risk to the "price".

Supply/demand curves aren't a prediction, they're an observation, and the basic concept is near-tautological.

Comment Re:"Up to date" (Score 1) 102

And they could be up to date for many, many, many years if Linux was installed on those, instead.

Well, if by "many, many, many" you mean "about five". Red Hat provides longer support terms, but not for free.

And then after those years shift from a "update" path to an "upgrade" path and have many years more.

True, sort of. Assuming the upgrade works, which it often does... but not always.

I'm no Windows fanboy, in fact the last version of Windows I used was Windows 2000. I switched to Linux completely by mid-2001 and I've never looked back. But it's really not as rosy as you paint it. The commercial OSes (Windows and OS X) actually do a much better job of delivering long-term support and (in the case of OS X) upgrades. I don't personally care about that for my machines, because I have no problem managing them, and even debugging the occasional update or upgrade failure. But I'm actually glad most of my relatives use Windows, because I would not enjoy having to help them do the same.

Comment Re: Cool Cool (Score 1) 90

You seem to have completely missed the point, which is that what Biden *should* have done -- while his party held both houses -- is changed the law, rather than issuing an order that broke the law. Trump has been far, far worse about this, but it's clear that part of Trump's goal (or the goal of someone with his ear, since I'm not sure he is capable of making and pursuing goals over longer time periods than a few days) is to establish that the president doesn't need Congress.

Slashdot Top Deals

fortune: cpu time/usefulness ratio too high -- core dumped.

Working...