Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Backward compatibility concerns (Score 4, Insightful) 94

I just completed a migration from PHP 7 to 8 for an old, 1.5M LOC codebase. I will avoid PHP for new projects based on that experience alone.

The level of disregard for existing codebases in 8 is astounding. Yes, languages or features need to evolve, and historical baggage and design mistakes can be annoying or ugly. But the downstream effects of changing those things can be truly immense and sometimes it is better to just live with the warts. The current PHP steering committee seems to want PHP to be an entirely different language than it was 20 years ago and we're all paying the price in man-hours and surprise bugs. They have changed so, so many things, and some of those things are mind-boggling language fundamentals such as type coercion rules that are difficult if not impossible to detect and warn about in advance.

Comment Re: What crime (Score 1) 151

"His detractors say he actually instigated Manning to deliver to him secret data."

I've heard that argument repeated as well but I don't think that's accurate. IANAL but journalists routinely work with sources to avoid detection and encourage leaks. The NY Times has a web page dedicated to doing both:

https://www.nytimes.com/tips

Submission + - The PermaTab Web Browser 3

lee1 writes: The UHI human interaction research group has been intensively studying a pervasive problem facing users of the web: the problem of tabs. How to organize them, preserve them, keep track of them. We have carefully considered the pros and cons of various approaches offered by different browsers, and by extensions: tab trees, second rows of tabs, vertical tabs, 3D tabs, musical tabs, you name it.

None of them were good enough.

Submission + - China Sanction Lockheed Martin over Arms Sales to Taiwan (cnn.com)

hackingbear writes: China said on Tuesday it would place sanctions on Lockheed Martin for its involvement in arms sales to Taiwan, a move that could further escalate tensions between Beijing and Washington. Taiwan, an island broke off from mainland China after the Republic of China government lost in a protracted civil war, has spent billions of dollars on advanced American military hardware since the US dumped the island and established formal diplomatic relation with the People's Republic in 1978 in a quasi-partnership to fight the Cold War. The US State Department last week approved a request by Taiwan to upgrade its Patriot Surface-to-Air missiles at an estimated cost of $620 million, according to Taiwan's government-run Central News Agency. In response, China is imposing "sanctions on the main contractor of this arms sale, Lockheed Martin," Chinese foreign ministry spokesman Zhao Lijian said, without going into detail. The United States should "stop selling arms to Taiwan and cut its military ties to Taiwan, so it won't do further harm to bilateral relations between China and the United States," he added. It is also considered a tit-for-tat response against the US sanctions on Chinese firms Huawei and ZTE for their alleged business deals with Iran, a long-time arch rival of the US and Israel. It is not clear what kind of impact, if any, China’s action would have on Lockheed Martin. Some analysts have estimated that China represents 2 percent of the company’s revenue. Lockheed Martin subsidiary Sikorsky is involved in a joint venture called Shanghai Sikorsky Aircraft Co, a civilian helicopter company.

Slashdot Top Deals

Between infinite and short there is a big difference. -- G.H. Gonnet

Working...