Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Re:So in about 18 months (Score 1) 54

It's not just the US, it's pretty much the entire West since it all adopted the same crazy policies and put idiots and psychos in positions of power because they believed America would always protect them no matter how insane they became.
If anything, the US will struggle along trying to fix itself while Europe and the rest collapse.The US has the resources to become self-sufficient, particularly if Trump takes Canada and Greenland. Europe can't. New Zealand can't. Australia maybe could but lacks the high-tech production of chips and other essentials for modern manufacturing and is a glaring target for Chinese occupation if the US Navy isn't there to protect it; it's a huge pile of resources with a small population and very small military.
We live in a world which has ignored political reality for nearly a hundred years and it's coming back with a bang. Hopefully not a nuclear one.

Comment Re:What did it do? (Score 1) 41

I was working on a twenty-year-old Java project which had very few unit tests last year. In a couple of days with Copilot I added tests for a couple of hundred classes; for the simple ones it generated the entire test and I just needed to run it, for more complex classes it needed more help since it didn't understand things like not trying to mock final classes. The tests also found a handful of bugs that had been in the code for years so I fixed them.

Last week I had to write a test for old C++ code which maps between internal and external error codes because the test didn't exist and we were changing the mappings so I didn't want to break any mappings which weren't supposed to change. So I was able to cut the switch statement from the mapping code and past into the test then have Copilot convert the switch into a map of inputs to outputs so I could test every possible mapping by looking up the result in the map or checking for the default code otherwise (it also wrote most of that part but didn't get it all correct).

There's a modest amount of Copilot code in the actual released software but Copilot does tend to screw up by calling methods which don't exist and things like that which have to be fixed. So it rarely produces a perfect result. I suspect it would work better if it was a project which had been developed using Copilot as maybe then it would have created those methods that it later expects to call.

Another thing it's good at is taking Java code and converting it from looping through a collection into using a stream instead. I swap languages all the time and can never remember all the different stream methods in Java so I just write it as a loop and then tell Copilot to turn it into a stream.

Mostly it's taken out a lot of the work that junior developers might have done in the past. So we're allowing senior devs to do more work in the same time but eliminating the jobs for people who would progress to being senior devs in the future.

Comment M.A.S.H. got it right. (Score 2) 290

War is Hell

War isn't hell
War is war and Hell is hell, and of the two, war is a lot worse.
How do you figure that, Hawkeye?
Easy, Father. Tell me, who goes to Hell?
Sinners, I believe.
Exactly. There are no innocent bystanders in Hell.
But war is chock full of them. Little kids, criples, old ladies.
In fact, except for a few of the brass, almost everybody involved is an innocent bystander.

Comment Re:It depends on the challenge (Score 3, Informative) 46

Exactly. In the 90s we still used to try to optimize C code by using register variables and complex function structure that happened to suit the way the processor worked.

Then we stopped doing that because we realized the new compilers could optimize it a heck of a lot better.

Now we typically don't even write programs that generate machine code any more but feed everything into a VM that generates code on the fly.

I don't remember having to do any serious optimization for years, and it was mostly stuff like batching up messages so we weren't trying to process them one at a time with all the overhead of starting and stopping the processing operation each time.

Comment Re:Glass was reusable (Score 3, Informative) 73

Interestingly I was talking at the weekend to a guy who used to work for a soda company here. He said the glass bottles used to be made and filled locally where he worked because they were heavy and difficult to transport, but switching to plastic allowed the company to centralize production in a city hundreds of miles away and ship them here instead. And, obviously, sack him and most of the other local workers.

But the MBAs got a boost to their stock options.

Comment Re:Why (Score 1) 75

I think it will be difficult for the music industry to push 'this song was created by an AI in which 0.1% of the training data was a song we own' because that would pretty much destroy the AI industry which is based on being able to use other people's content without paying for it and the Tech billionaires are richer than the music billionaires. You're right though that the tech companies like Youtube might agree to block AI music 'because of unresolved legal questions' or some such nonsense.

Comment Re:Why (Score 4, Informative) 75

Because The Mushc Industry must be able to continue rent-seeking and collecting most of the revenue that actual musicians create.

I know a guy who was a moderately successful musician in the 90s with a few songs near the top of the charts back then. He loves AI because he no longer needs a band and can create entire songs by himself.

That terrifies The Music Industry. Because its income is based on gatekeeping and rent-seeking.

Comment Re:Test exposes problem (Score 1) 167

SpaceX chose the very expensive way of blowing everything up after filling the lot with O2 and CH4.

And Apollo 13 cost NASA billions of dollars and came close to killing the crew because they screwed up the oxygen tank tests.

If SpaceX didn't test the tanks before filling them that's probably retarded. But the Apollo 13 oxygen tanks were fine until someone damaged them with improper testing. It's not inconceivable that someone damaged these tanks after testing and either didn't realize or decided the damage wasn't serious enough to matter.

Slashdot Top Deals

If I set here and stare at nothing long enough, people might think I'm an engineer working on something. -- S.R. McElroy

Working...