Feed aggregator

Disneyland Adds 'Stars Wars' Touches (and New Droids) for 'Season of the Force' Event

Slashdot - Mon, 2024-04-15 09:34
A monthslong "Star Wars"-themed festival called Season of the Force is now happening at Disneyland — including John Williams compositions in the Star Wars: Galaxy's Edge land during the park's fireworks. SFGate reports: Before the show starts, a voice rings through the land. "Black Spire Outpost has a long and colorful history of heroes and legends, Jedi and Sith, royalty and resistance," it says. "Those who would rule and those who refuse to bow. Here we celebrate that fiery spirit tonight." Then as the first fireworks fly into the sky, the majestic "Star Wars" music begins... During the day, the land is overrun with tiny robots. Season of the Force also includes daily appearances from the new BDX Droids, cute little "explorer companions," per Disneyland, designed to assist with "exploration and research." These new audio-animatronics interact with guests, clicking and whirring with a surprising amount of personality. Sabine Wren from "Ahsoka" is also making appearances in Galaxy's Edge during Season of the Force, and there are specialty food offerings in the land like the Celto Slush (a green, pandan-flavored horchata cold brew coffee drink) and the return of Dewback Chili Noodles (spicy fettuccine with ginger-spiced ground pork, broccolini stems and shredded red cabbage). For the event, Disneyland's long-running Star Tours ride now includes appearances from the Mandalorian (and Grogu), Ahsoka, and Cassian Andor, according to the article. "Also back this year is Hyperspace Mountain, the seasonal overlay of Space Mountain that puts riders into an intergalactic fight between the Resistance and the First Order."

Read more of this story at Slashdot.

Categories: Computer, News

CodeSOD: A Top Level Validator

The Daily WTF - Mon, 2024-04-15 08:30

As oft stated, the specification governing email addresses is complicated, and isn't really well suited for regular expressions. You can get there, but honestly, most applications can get away with checking for something that looks vaguely email like and call it a day.

Now, as complicated as the "accurate" regex can get, we can certainly find worse regexes for validating emails. Morgan did, while on a contract.

The client side had this lovely regex for validating emails:

/* Check if a string is in valid email format. Returns true if valid, false otherwise. */ function isEmail(str) { var regex = /^[-_.a-z0-9]+@(([-_a-z0-9]+\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i; return regex.test(str); }

They check a long list of TLDs to ensure that the email address is potentially valid, or accept an email address. Is the list exhaustive? Of course not. There are loads of TLDs not on this list- perhaps not widely used ones, but it's incomplete. And also, unnecessary.

But not so unnecessary that they didn't do it twice- they mirrored this code on the server side, in PHP:

function isEmail($email) { return(preg_match("/^[-_.[:alnum:]]+@((([[:alnum:]]|[[:alnum:]][[:alnum:]-]*[[:alnum:]])\.)+(ad|ae|aero|af|ag|ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)$|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i" ,$email)); }

Bad code is even better when you have to maintain it in two places and in two languages. I suppose I should just be happy that they're doing some kind of server-side validation.

[Advertisement] Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!
Categories: Computer

California Replaces Gas Plant with Giant, Billion-Dollar Grid Battery

Slashdot - Mon, 2024-04-15 06:15
Meanwhile, in Southern California, nonprofit news site Canary Media reports that an old gas combustion plant is being replaced by a "power bank" named Nova. It's expected to store "more electricity than all but one battery plant currently operating in the U.S." The billion-dollar project, with 680 megawatts and 2,720 megawatt-hours, will help California shift its nation-leading solar generation into the critical evening and nighttime hours, bolstering the grid against the heat waves that have pushed it to the brink multiple times in recent years... The town of Menifee gets to move on from the power plant exhaust that used to join the smog flowing from Los Angeles... And the grid gets a bunch more clean capacity that can, ideally, displace fossil fuels... Moreover, [the power bank] represents Calpine's grand arrival in the energy storage market, after years operating one of the biggest independent gas power plant fleets in the country alongside Vistra and NRG... Federal analysts predict 2024 will be the biggest-ever year for grid battery installations across the U.S., and they highlighted Calpine's project as one of the single largest projects. The 620 megawatts the company plans to energize this year represent more than 4% of the industry's total expected new additions. Many of these new grid batteries will be built in California, which needs all the dispatchable power it can get to meet demand when its massive solar fleet stops producing, and to keep pace with the electrification of vehicles and buildings. The Menifee Power Bank, and the other gigawatts worth of storage expected to come online in the state this year, will deliver much-needed reinforcement. The company says it's planning "a portfolio" of 2,000 megawatts of California battery capacity. But even this 680-megawatt project consists of 1,096 total battery containers holding 26,304 battery modules (or a total of 3 million cells), "all manufactured by Chinese battery powerhouse BYD, according to Robert Stuart, an electrical project manager with Calpine. That's enough electricity to supply 680,000 homes for four hours before it runs out." What's remarkable is just how quickly the project came together. Construction began last August, and is expected to hit 510 megawatts of fully operational capacity over the course of this summer, even as installation continues on other parts of the plant. Erecting a conventional gas plant of comparable scale would have taken three or four years of construction labor, due to the complexity of the systems and the many different trades required for it, Stuart told Canary Media... That speed and flexibility makes batteries a crucial solution as utilities across the nation grapple with a spike in expected electricity demand unlike anything seen in the last few decades. The article notes a 2013 Caifornia policy mandating battery storage for its utility companies, which "kicked off a decade-long project to will an energy storage market into existence through methodical policies and regulations, and the knock-on effects of building the nation's foremost solar fleet." Those energy storage policies succeeded in jumpstarting the modern grid battery market: California leads the nation with more than 7 gigawatts of batteries installed as of last year (though Texas is poised to overtake California in battery installations this year, on the back of no particular policy effort but a general openness to building energy projects)... California's interlocking climate regulations effectively rule out new gas construction. The state's energy roadmap instead calls for massive expansion of battery capacity to shift the ample amounts of solar generation into the evening peaks. "These trends, along with the falling price of batteries and maturing business model for storage, nudged Calpine to get into the battery business, too."

Read more of this story at Slashdot.

Categories: Computer, News

CNN Reporter 'Still Haunted' By Space Shuttle Columbia Disaster

Slashdot - Mon, 2024-04-15 02:54
After nearly 11 years as CNN's space correspondent, Miles O'Brien found himself in 2003 at the Kennedy Space Center in Florida covering the launch of the space shuttle Columbia: As part of the post-launch routine, NASA began sharing several replays of the launch from various cameras trained on the vehicle. And that was when we saw it. Producer Dave Santucci called me into our live truck, and said, "You got to look at this." It was kind of a grainy image of what looked like a puff of smoke, as if someone dropped a bag of flour on the ground and it broke open. We played it over and over again, and it did not look good at all. The giant orange fuel tank was filled with super cold liquid hydrogen and oxygen, so it was enveloped in insulating foam. A big piece of the foam had broken away near a strut called the "bipod," striking the leading edge of the orbiter's left wing. It was made of reinforced carbon to protect the aluminum structure of the spacecraft from the searing heat of re-entry from space. I reached out to some of my sources inside the shuttle program. Everyone had seen it, of course, but the people I spoke with cautioned me not to worry. The foam was very light, and it had fallen off on earlier missions and nothing of concern had happened as a result... I wish I hadn't taken my eye off the ball. Space was my beat, and I was uniquely positioned to put this concerning event into the public domain. Like NASA's leadership, I went through a process of convincing myself that it was going to be okay. But I had this sinking feeling. It didn't feel right. A spacecraft re-entering the atmosphere at 17,500 miles an hour — much faster than a rifle bullet — is enveloped in a glowing inferno of plasma... [As it returned to earth 16 days later] the communication between the ground and the orbiter became non-routine. Producers in the control room realized the gravity of the situation, and we cut to a commercial break to get me off the couch. As I was making my way across the newsroom, I started heaving. I knew in an instant that they were all gone. There was no survivable scenario. I was sickened. It was like a body blow. Somehow I got my act together and started talking. I felt like it was my responsibility to mention the foam strike, to get the information out there to the public. About an hour after Columbia had disintegrated, I shared with a huge global audience what I knew... "That bipod is the place where they think a little piece of foam fell off and hit the leading edge of that wing." During the mission, I could have easily done a story about the foam strike, spreading the word that some NASA engineers believed there may be some reason for concern. What if I had done that? It might have made a difference. "A rescue mission would not have been impossible," the article concludes, "and I feel certain that if NASA managers saw that gaping hole in Columbia's wing, they would've tried. "We will never know for sure, but I do know how so many of us on the ground failed to do our jobs during that mission. It still haunts me." CNN broadcasts the last two episodes of its four-part series Space Shuttle Columbia: The Final Flight tonight at 9 p.m. EST (time-delayed on the west coast until 9 p.m.PST). CNN's web site offers a "preview" of its live TV offerings here. The news episodes (along with past episodes) will also be available on-demand starting Monday — "for pay TV subscribers via CNN.com, CNN connected TV and mobile apps." It's also available for purchase on Amazon Prime.

Read more of this story at Slashdot.

Categories: Computer, News

America's Legal System May Be 'Closing In' on Regulating Cryptocurrencies

Slashdot - Mon, 2024-04-15 01:04
A business columnist at the Los Angeles Times notes Sam Bankman-Fried's judge issued another ruling "that may have a more far-reaching effect on the crypto business. U.S. Judge Failla "cleared the Securities and Exchange Commission to proceed with its lawsuit alleging that the giant crypto broker and exchange Coinbase has been dealing in securities without a license." What's important about Failla's ruling is that she dismissed out of hand Coinbase's argument, which is that cryptocurrencies are novel assets that don't fall within the SEC's jurisdiction — in short, they're not "securities." Crypto promoters have been making the same argument in court and the halls of Congress, where they're urging that the lawmakers craft an entirely new regulatory structure for crypto — preferably one less rigorous than the existing rules and regulations promulgated by the SEC and the Commodity Futures Trading Commission... Failla saw through that argument without breaking a sweat. "The 'crypto' nomenclature may be of recent vintage," she wrote, "but the challenged transactions fall comfortably within the framework that courts have used to identify securities for nearly eighty years...." Since Congress hasn't enacted regulations specifically aimed at crypto, Coinbase said, the SEC's lawsuit should be dismissed. The judge's opinion of that argument was withering. "While certainly sizable and important," she wrote, "the cryptocurrency industry 'falls far short of being a "portion of the American economy" bearing vast economic and political significance....'" Failla's ruling followed another in New York federal court in which a judge deemed crypto to be securities. In that case, Judge Edgardo Ramos refused to dismiss SEC charges against Gemini Trust Co., a crypto trading outfit run by Cameron and Tyler Winkelvoss, and the crypto lender Genesis Global Capital. The SEC charged that a scheme in which Gemini pooled customers' crypto assets and lent them to Genesis while promising the customers high interest returns is an unregistered security. The SEC case, like that against Coinbase, will proceed.... The hangover from March continued into this month. On April 5, a federal jury in New York found Terraform Labs and its chief executive and major shareholder, Do Kwon, liable in what the SEC termed "a massive crypto fraud...." The value of UST fell in effect to zero, the SEC said, "wiping out over $40 billion of total market value ... and sending shock waves through the crypto asset community."

Read more of this story at Slashdot.

Categories: Computer, News

Struggling Movie Exhibitors Beg Studios For More Movies - and Not Just Blockbusters

Slashdot - Mon, 2024-04-15 00:04
Movie exhibitors still face "serious risks," the Los Angeles Times reported Tuesday: Attendance was on the decline even before the pandemic shuttered theaters, thanks to changing consumer habits and competition for people's time and money from other entertainment options. The industry has demonstrated an over-reliance on Imax-friendly studio action tent poles, when theater chains need a deep and diverse roster of movies in order to thrive... It remains to be seen whether the global box office will ever get back to the $40 billion-plus days of 2019 and earlier years. A clearer picture will emerge in 2025 when the writers' and actors' strikes are further in the past. But overall, there's a strong case that moviegoing has proved to be relatively sturdy despite persistent difficulties. Which brings us to this year's CinemaCon convention, where multiplex operators heard from Hollywood studios teasing upcoming blockbusters like Joker: Folie à Deux, Furiosa: A Mad Max Saga, Transformers One, and Deadpool & Wolverine. Exhibitors pleaded with the major studios to release more films of varying budgets on the big screen, while studios made the case that their upcoming slates are robust enough to keep them in business... Box office revenue in the U.S. and Canada is expected to total about $8.5 billion, which is down from $9 billion in 2023 and a far cry from the pre-pandemic yearly tallies that nearly reached $12 billion... Though a fuller release schedule is expected for 2025, talk of budget cuts, greater industry consolidation and corporate mergers has forced exhibitors to prepare for the possibility of a near future with fewer studios making fewer movies.... As the domestic film business has been thrown into turmoil in recent years, Japanese cinema and faith-based content have been two of movie theaters' saving graces. Industry leaders kicked off CinemaCon on Tuesday by singing the praises of Sony-owned anime distributor Crunchyroll's hits — including the latest "Demon Slayer" installment. Mitchel Berger, senior vice president of global commerce at Crunchyroll, said Tuesday that the global anime business generated $14 billion a decade ago and is projected to generate $37 billion next year. "Anime is red hot right now," Berger said. "Fans have known about it for years, but now everyone else is catching up and recognizing that it's a cultural, economic force to be reckoned with.... " Another type of product buoying the exhibition industry right now is faith-based programming, shepherded in large part by "Sound of Freedom" distributor Angel Studios... Theater owners urged studio executives at CinemaCon to put more films in theaters — and not just big-budget tent poles timed for summer movie season and holiday weekends... "Whenever we have a [blockbuster] film — whether it be 'Barbie' or 'Super Mario' ... records are set," added Bill Barstow, co-founder of ACX Cinemas in Nebraska. "But we just don't have enough of them."

Read more of this story at Slashdot.

Categories: Computer, News

Will the US-China Competition to Field Military Drone Swarms Spark a Global Arms Race?

Slashdot - Sun, 2024-04-14 22:59
The Associated Press reports: As their rivalry intensifies, U.S. and Chinese military planners are gearing up for a new kind of warfare in which squadrons of air and sea drones equipped with artificial intelligence work together like swarms of bees to overwhelm an enemy. The planners envision a scenario in which hundreds, even thousands of the machines engage in coordinated battle. A single controller might oversee dozens of drones. Some would scout, others attack. Some would be able to pivot to new objectives in the middle of a mission based on prior programming rather than a direct order. The world's only AI superpowers are engaged in an arms race for swarming drones that is reminiscent of the Cold War, except drone technology will be far more difficult to contain than nuclear weapons. Because software drives the drones' swarming abilities, it could be relatively easy and cheap for rogue nations and militants to acquire their own fleets of killer robots. The Pentagon is pushing urgent development of inexpensive, expendable drones as a deterrent against China acting on its territorial claim on Taiwan. Washington says it has no choice but to keep pace with Beijing. Chinese officials say AI-enabled weapons are inevitable so they, too, must have them. The unchecked spread of swarm technology "could lead to more instability and conflict around the world," said Margarita Konaev, an analyst with Georgetown University's Center for Security and Emerging Technology. "A 2023 Georgetown study of AI-related military spending found that more than a third of known contracts issued by both U.S. and Chinese military services over eight months in 2020 were for intelligent uncrewed systems..." according to the article. "Military analysts, drone makers and AI researchers don't expect fully capable, combat-ready swarms to be fielded for five years or so, though big breakthroughs could happen sooner."

Read more of this story at Slashdot.

Categories: Computer, News

Axios CEO Believes AI Will 'Eviscerate the Unprepared' Among Media Companies

Slashdot - Sun, 2024-04-14 21:59
In the view of Jim VandeHei, CEO of Axios, artificial intelligence will eviscerate the weak, the ordinary, the unprepared in media," reports the New York Times: VandeHei says the only way for media companies to survive is to focus on delivering journalistic expertise, trusted content and in-person human connection. For Axios, that translates into more live events, a membership program centered on its star journalists and an expansion of its high-end subscription newsletters. "We're in the middle of a very fundamental shift in how people relate to news and information," he said, "as profound, if not more profound, than moving from print to digital." "Fast forward five to 10 years from now and we're living in this AI-dominated virtual world — who are the couple of players in the media space offering smart, sane content who are thriving?" he added. "It damn well better be us." Axios is pouring investment into holding more events, both around the world and in the United States. VandeHei said the events portion of his business grew 60% year over year in 2023. The company has also introduced a $1,000-a-year membership program around some of its journalists that will offer exclusive reporting, events and networking. The first one, announced last month, is focused on Eleanor Hawkins, who writes a weekly newsletter for communications professionals. Her newsletter will remain free, but paying subscribers will have access to additional news and data, as well as quarterly calls with Hawkins... Axios will expand Axios Pro, its collection of eight high-end subscription newsletters focused on specific niches in the deals and policy world. The subscriptions start at $599 a year each, and Axios is looking to add one on defense policy... "The premium for people who can tell you things you do not know will only grow in importance, and no machine will do that," VandeHei said....VandeHei said that although he thought publications should be compensated for original intellectual property, "that's not a make-or-break topic." He said Axios had talked to several AI companies about potential deals, but "nothing that's imminent.... One of the big mistakes a lot of media companies made over the last 15 years was worrying too much about how do we get paid by other platforms that are eating our lunch as opposed to figuring out how do we eat people's lunch by having a superior product," he said. "VandeHei said Axios was not currently profitable because of the investment in the new businesses," according to the article. But "The company has continued to hire journalists even as many other news organizations have cut back."

Read more of this story at Slashdot.

Categories: Computer, News

Canonical Says Qualcomm Has Joined Ubuntu's 'Silicon Partner' Program

Slashdot - Sun, 2024-04-14 20:34
Intel, Nvidia, AMD, and Arm are among Canonical's "silicon partners," a program that "ensures maximum Ubuntu compatibility and long-term support with certified hardware," according to Web Pro News. And now Qualcomm is set to be Canonical's next silicon partner, "giving Qualcomm access to optimized versions of Ubuntu for its processors." Companies looking to use Ubuntu on Qualcomm chips will benefit from an OS that provides 10 years of support and security updates. The collaboration is expected to be a boon for AI, edge computing, and IoT applications. "The combination of Qualcomm Technologies' processors with the popularity of Ubuntu among AI and IoT developers is a game changer for the industry," commented Dev Singh, Vice President, Business Development and Head of Building, Enterprise & Industrial Automation, Qualcomm Technologies, Inc... "Optimised Ubuntu and Ubuntu Core images will be available for Qualcomm SoCs," according to the announcement, "enabling enterprises to meet their regulatory, compliance and security demands for AI at the edge and the broader IoT market with a secure operating system that is supported for 10 years." Qualcomm Technologies chose to partner with Canonical to create an optimised Ubuntu for Qualcomm IoT chipsets, giving developers an easy path to create safe, compliant, security-focused, and high-performing applications for multiple industries including industrial, robotics and edge automation... Developers and enterprises can benefit from the Ubuntu Certified Hardware program, which features a growing list of certified ODM boards and devices based on Qualcomm SoCs. These certified devices deliver an optimised Ubuntu experience out-of-the-box, enabling developers to focus on developing applications and bringing products to market.

Read more of this story at Slashdot.

Categories: Computer, News

Stop 'Harmful 5G Fast Lanes', Legal Scholar Warns America's FCC

Slashdot - Sun, 2024-04-14 19:34
America's FCC votes on net neutrality April 25th. And the director of Stanford Law School's "Center for Internet and Society" (also a law professor) says mostly there's "much to celebrate" in the draft rules released earlier this month. Mobile carriers like T-Mobile, AT&T and Verizon that have been degrading video quality for mobile users will have to stop. The FCC kept in place state neutrality protections like California's net neutrality law, allowing for layers of enforcement. The FCC also made it harder for ISPs to evade net neutrality at the point where data enters their networks. However, the draft rules also have "a huge problem." The proposed rules make it possible for mobile ISPs to start picking applications and putting them in a fast lane — where they'll perform better generally and much better if the network gets congested. T-Mobile, AT&T and Verizon are all testing ways to create these 5G fast lanes for apps such as video conferencing, games, and video where the ISP chooses and controls what gets boosted. They use a technical feature in 5G called network slicing, where part of their radio spectrum gets used as a special lane for the chosen app or apps, separated from the usual internet traffic. The FCC's draft order opens the door to these fast lanes, so long as the app provider isn't charged for them. They warn of things like cellphone plans "Optimized for YouTube and TikTok... Or we could see add-ons like Enhanced Video Conferencing for $10 a month, or one-time 24-hour passes to have Prioritized Online Gaming." This isn't imagination. The ISPs write about this in their blogs and press releases. They talk about these efforts and dreams openly at conferences, and their equipment vendors plainly lay out how ISPs can chop up internet service into all manner of fast lanes. These kinds of ISP-controlled fast lanes violate core net neutrality principles and would limit user choice, distort competition, hamper startups, and help cement platform dominance. Even small differences in load times affect how long people stay on a site, how much they pay, and whether they'll come back. Those differences also affect how high up sites show in search results. Thus, letting ISPs choose which apps get to be in a fast lane lets them, not users, pick winners and losers online... [T]he biggest apps will end up in all the fast lanes, while most others would be left out. The ones left out would likely include messaging apps like Signal, local news sites, decentralized Fediverse apps like Mastodon and PeerTube, niche video sites like Dropout, indie music sites like Bandcamp, and the millions of other sites and apps in the long tail. One subheading emphasizes that "This is not controversial," noting that "Even proposed Republican net neutrality bills prohibited ISPs from speeding up and slowing down apps and kinds of apps..." Yet "While draft order acknowledges that some speeding up of apps could violate the no-throttling rule, it added some unclear, nebulous language suggesting that the FCC would review any fast lanes case-by-case, without explaining how it would do that... Companies that do file complaints will waste years litigating the meaning of "unreasonably discriminatory," all the while going up against giant telecoms that stockpile lawyers and lobbyists." "Net neutrality means that we, the people who use the internet, get to decide what we do online, without interference from ISPs. ISPs do not get to interfere with our choices by blocking, speeding up or slowing down apps or kinds of apps..." They urge the FCC to edit their draft order before April 24 to clarify "that the no-throttling rule also prohibits ISPs from creating fast lanes for select apps or kinds of apps."

Read more of this story at Slashdot.

Categories: Computer, News

Is PHP Declining In Popularity?

Slashdot - Sun, 2024-04-14 18:34
The PHP programming language has sunk to its lowest position ever on the long-running TIOBE index of programming language popularity. It now ranks #17 — lower than Assembly Language, Ruby, Swift, Scratch, and MATLAB. InfoWorld reports: When the Tiobe index started in 2001, PHP was about to become the standard language for building websites, said Paul Jansen, CEO of software quality services vendor Tiobe. PHP even reached the top 3 spot in the index, ranking third several times between 2006 and 2010. But as competing web development frameworks such as Ruby on Rails, Django, and React arrived in other languages, PHP's popularity waned. "The major driving languages behind these new frameworks were Ruby, Python, and most notably JavaScript," Jansen noted in his statement accompanying the index. "On top of this competition, some security issues were found in PHP. As a result, PHP had to reinvent itself." Nowadays, PHP still has a strong presence in small and medium websites and is the language leveraged in the WordPress web content management system. "PHP is certainly not gone, but its glory days seem to be over," Jansen said. A note on the rival Pypl Popularity of Programming Language Index argues that the TIOBE Index "is a lagging indicator. It counts the number of web pages with the language name." So while "Objective-C" ranks #30 on TIOBE's index (one rank above Classic Visual Basic), "who is reading those Objective-C web pages? Hardly anyone, according to Google Trends data." On TIOBE's index, Fortran now ranks #10. Meanwhile, PHP ranks #7 on Pypl (based on the frequency of searches for language tutorials). TIOBE's top ten? Python C C++ Java C# JavaScript Go Visual Basic SQL Fortran The next two languages, ranked #11 and #12, are Delphi/Object Pascal and Assembly Language.

Read more of this story at Slashdot.

Categories: Computer, News

APT Interface 'Revamped' For Ubuntu 24.10 and Debian Trixie with Colors and Columns

Slashdot - Sun, 2024-04-14 17:34
Ubuntu 24.10 [expected this October] and Debian GNU/Linux 13 "Trixie" [expected June-July 2025] "will feature a refined APT command-line interface," reports 9to5Linux: APT developer and Canonical engineer Julian Andres Klode took to LinkedIn to present the revamped APT interface powered by the upcoming APT 3.0 package manager that looks to give users a more concise and well-laid-out command-line output when updating, installing, or removing packages via the terminal emulator. The new APT 3.0 UI brings a columnar display that will make it easier for users to quickly scan for a package name, support for colors (red for removals and green for other changes), which makes it easier to quickly distinguish commands at a glance, and smoother install progress bars using Unicode blocks. In addition, the new APT 3.0 command-line interface will be less verbose and offer more padding to make it easier to separate sections and extract the relevant information for you. "Bleeding-edge users and Linux enthusiasts who want to try this right now can check out Debian Unstable..."

Read more of this story at Slashdot.

Categories: Computer, News

Windows 11's Beta Testers May Start Seeing Ads for Microsoft Store Apps

Slashdot - Sun, 2024-04-14 16:34
Engadget warns Windows 11 users that Microsoft is "exploring the idea" of putting ads in their Start menu. Sort of... To be specific, it's looking to place advertisements for apps you can find in the Microsoft Store in the menu's recommended section.... At the moment, Microsoft will only show ads in this version if you're in the US and a Windows Insider in the Beta Channel. You won't be seeing them if you're not a beta tester or if you're using a device managed by an organization. Further, you can disable the advertisements altogether. To do so, just go to Personalization under Settings and then toggle off "Show recommendations for tips, app promotions, and more" in the Start section. Like any other Microsoft experiment, it may never reach wider rollout, but you may want to remember the aforementioned steps, since the company does have history of incorporating ads into its desktop platforms.

Read more of this story at Slashdot.

Categories: Computer, News

Two Boeing Whistleblowers Allege Disregarded Worker Concerns, Pressure For Speed

Slashdot - Sun, 2024-04-14 13:34
"Federal regulators are investigating a whistleblower's claims about flaws in the assembly of Boeing's 787 Dreamliner," NPR reported this week: Longtime Boeing engineer Sam Salehpour went public Tuesday with claims that he observed problems with how parts of the plane's fuselage were fastened together. Salehpour warns that production "shortcuts" could significantly shorten the lifespan of the plane, eventually causing the fuselage to fall apart in mid-flight. "It can cause a catastrophic failure," Salehpour said Tuesday during a press briefing to discuss his claims. A spokesman for the FAA confirmed that the agency is investigating those allegations, which were first reported by the New York Times, but declined to comment further on them. Boeing immediately pushed back. "These claims about the structural integrity of the 787 are inaccurate and do not represent the comprehensive work Boeing has done to ensure the quality and long-term safety of the aircraft," Boeing spokeswoman Jessica Kowal said in a statement. "We are fully confident in the 787 Dreamliner." Salehpour and his lawyers argue that Boeing has never adequately addressed production flaws discovered in 2021 (which included unacceptable gaps between the fuselage panels), according to the article. "Instead, he says the company took 'shortcuts' by applying greater force to fit segments of the fuselage together." "Boeing hid the problem by pushing the pieces together with force to make it appear like that the gap didn't exist," Salehpour told reporters at Tuesday's press briefing. Salehpour says he repeatedly raised these concerns with management, but instead of addressing them, they transferred him to work on a different plane, the 777, where he alleges he saw similar problems. "I literally saw people jumping on the pieces of the airplane to get them to align," he said. "That's not how you build a plane." In a follow-up piece, NPR reports that former Boeing mechanic Davin Fischer "says he spoke up — and paid a steep price for it." He says Boeing's leaders were constantly pushing to speed up production. "Hey, we need to go faster, faster, faster," Fischer said. "They cared more about shareholders and investors than they did planes, their employees, anything." When Fischer finally pushed back, he says he was demoted in retaliation, and then fired from the company in 2019. Fischer says many of his friends who still work at Boeing are afraid to speak out. "People there are scared, a hundred percent," he said. "Because they don't want to get fired." NPR also cites the example of longtime quality manager John Barnett, who said in a 2019 interview with Ralph Nader that his managers at Boeing retaliated against him by docking his pay and creating a hostile environment.

Read more of this story at Slashdot.

Categories: Computer, News

AI Could Explain Why We're Not Meeting Any Aliens, Wild Study Proposes

Slashdot - Sun, 2024-04-14 10:33
An anonymous reader shared this report from ScienceAlert: The Fermi Paradox is the discrepancy between the apparent high likelihood of advanced civilizations existing and the total lack of evidence that they do exist. Many solutions have been proposed for why the discrepancy exists. One of the ideas is the 'Great Filter.' The Great Filter is a hypothesized event or situation that prevents intelligent life from becoming interplanetary and interstellar and even leads to its demise.... [H]ow about the rapid development of AI? A new paper in Acta Astronautica explores the idea that Artificial Intelligence becomes Artificial Super Intelligence (ASI) and that ASI is the Great Filter. The paper's title is "Is Artificial Intelligence the Great Filter that makes advanced technical civilizations rare in the universe?" "Upon reaching a technological singularity, ASI systems will quickly surpass biological intelligence and evolve at a pace that completely outstrips traditional oversight mechanisms, leading to unforeseen and unintended consequences that are unlikely to be aligned with biological interests or ethics," the paper explains... The author says their projects "underscore the critical need to quickly establish regulatory frameworks for AI development on Earth and the advancement of a multiplanetary society to mitigate against such existential threats." "The persistence of intelligent and conscious life in the universe could hinge on the timely and effective implementation of such international regulatory measures and

Read more of this story at Slashdot.

Categories: Computer, News

Fusion Experiment Demonstrates Cheaper Stellerator Using Creative Magnet Workaround

Slashdot - Sun, 2024-04-14 07:33
Popular Science reports that early last week, researchers at the U.S. Energy Department's Princeton Plasma Physics Laboratory revealed their new "MUSE" stellarator — "a unique fusion reactor that uses off-the-shelf and 3D-printed materials to contain its superheated plasma." The researchers' announcement says the technique suggests "a simple way to build future devices for less cost and allow researchers to test new concepts for future fusion power plants." Stellarators typically rely on complicated electromagnets that have complex shapes and create their magnetic fields through the flow of electricity. Those electromagnets must be built precisely with very little room for error, increasing their cost. However, permanent magnets, like the magnets that hold art to refrigerator doors, do not need electric currents to create their fields. They can also be ordered off the shelf from industrial suppliers and then embedded in a 3D-printed shell around the device's vacuum vessel, which holds the plasma. "MUSE is largely constructed with commercially available parts," said Michael Zarnstorff, a senior research physicist at PPPL. "By working with 3D-printing companies and magnet suppliers, we can shop around and buy the precision we need instead of making it ourselves." The original insight that permanent magnets could be the foundation for a new, more affordable stellarator variety came to Zarnstorff in 2014. "I realized that even if they were situated alongside other magnets, rare-earth permanent magnets could generate and maintain the magnetic fields necessary to confine the plasma so fusion reactions can occur," Zarnstorff said, "and that's the property that makes this technique work." [...] In addition to being an engineering breakthrough, MUSE also exhibits a theoretical property known as quasisymmetry to a higher degree than any other stellarator has before. It is also the first device completed anywhere in the world that was designed specifically to have a type of quasisymmetry known as quasiaxisymmetry. Conceived by physicist Allen Boozer at PPPL in the early 1980s, quasisymmetry means that although the shape of the magnetic field inside the stellarator may not be the same around the physical shape of the stellarator, the magnetic field's strength is uniform around the device, leading to good plasma confinement and higher likelihood that fusion reactions will occur. "In fact, MUSE's quasisymmetry optimization is at least 100 times better than any existing stellarator," Zarnstorff said. "The fact that we were able to design and build this stellarator is a real achievement," said Tony Qian, a graduate student in the Princeton Program in Plasma Physics, which is based at PPPL. Also covered by Gizmodo. Thanks to Slashdot reader christoban for sharing the news.

Read more of this story at Slashdot.

Categories: Computer, News

Could a New Charge Double the Service-life of Li-Ion Batteries?

Slashdot - Sun, 2024-04-14 04:33
"An improved charging protocol might help lithium-ion batteries to last much longer," writes Science Daily: The best commercial lithium-ion batteries...have a service life of up to eight years. Batteries are usually charged with a constant current flow. But is this really the most favorable method? A new study by Prof. Philipp Adelhelm's group at HZB and Humboldt-University Berlin answers this question clearly with "no." [In collaboration with teams including the Technical University of Berlin.] Part of the battery tests were carried out at Aalborg University. The batteries were either charged conventionally with constant current (CC) or with a new charging protocol with pulsed current (PC). Post-mortem analyses revealed clear differences after several charging cycles: In the CC samples, the solid electrolyte interface (SEI) at the anode was significantly thicker, which impaired the capacity... PC-charging led to a thinner SEI interface and fewer structural changes in the electrode materials. The study is published in the journal Advanced Energy Materials and analyzes the effect of the charging protocol on the service time of the battery, according to the article. "The frequency of the pulsed current counts..." "Doubling the life of your EV's battery or even your smartphone's battery is no small thing," says Slashdot reader NewtonsLaw...

Read more of this story at Slashdot.

Categories: Computer, News

Data Collected by the US Justice Department Exposed in Consultant's Breach

Slashdot - Sun, 2024-04-14 01:16
DOJ-Collected Information Exposed In Data Breach Affecting 340,000 Information Collected An anonymous reader shared this report from Security Week: Economic analysis and litigation support firm Greylock McKinnon Associates, Inc. (GMA) is notifying over 340,000 individuals that their personal and medical information was compromised in a year-old data breach. The incident was detected on May 30, 2023, but it took the firm roughly eight months to investigate and determine what type of information was compromised and to identify the impacted individuals. According to GMA's notification letter to the affected individuals, a copy of which was submitted to the Maine Attorney General's Office, both personal and Medicare information was compromised in the data breach... "This information may have included your name, date of birth, address, Medicare Health Insurance Claim Number (which contains a Social Security number associated with a member) and some medical information and/or health insurance information," the notification letter reads. The compromised data, GMA says, was obtained by the US Department of Justice "as part of a civil litigation matter". More than 340,000 individuals were affected by the data breach, the company told the Maine Attorney General's Office. The impacted individuals, however, are "not the subject of this investigation or the associated litigation matters", the company tells the affected individuals.

Read more of this story at Slashdot.

Categories: Computer, News

Will America's Next Soldiers Be Machines?

Slashdot - Sat, 2024-04-13 23:43
Foreign Policy magazine visits a U.S. military training exercise that pitted Lt. Isaac McCurdy and his platoon of infantry troops against machines with camera lenses for eyes and sheet metal for skin: Driving on eight screeching wheels and carrying enough firepower on their truck beds to fill a small arms depot, a handful of U.S. Army robots stormed through the battlefield of the fictional city of Ujen. The robots shot up houses where the opposition force hid. Drones that had been loitering over the battlefield for hours hovered above McCurdy and his team and dropped "bombs" — foam footballs, in this case — right on top of them, a perfectly placed artillery shot. Robot dogs, with sensors for heads, searched houses to make sure they were clear. "If you see the whites of someone's eyes or their sunglasses, [and] you shoot back at that, they're going to have a human response," McCurdy said. "If it's a robot pulling up, shooting something that's bigger than you can carry yourself, and it's not going to just die when you shoot a center mass, it's a very different feeling." In the United States' next major war, the Army's brass is hoping that robots will be the ones taking the first punch, doing the dirty, dull, and dangerous jobs that killed hundreds — likely thousands — of the more than 7,000 U.S. service members who died during two decades of wars in the Middle East. The goal is to put a robot in the most dangerous spot on the battlefield instead of a 19-year-old private fresh out of basic training... [Several] Army leaders believe that almost every U.S. Army unit, down to the smallest foot patrols, will soon have drones in the sky to sense, protect, and attack. And it won't be long before the United States is deploying ground robots into battle in human-machine teams. The robots haven't been tested with live ammunition yet — or in colder temperatures, the magazine notes. (And at one point in the exercise, "Army officials jammed themselves, and a swarm of drones dropped out of the sky.) But the U.S. Army is "considering a proposal to add a platoon of robots, the equivalent of 20 to 50 human soldiers, to its armored brigade combat team." Six generals and several colonels watched the exercise, according to the article, which notes that the ultimate goal isn't to replace all human soldiers. "The point is to get the advantage before China or Russia do."

Read more of this story at Slashdot.

Categories: Computer, News

New Spectre V2 Attack Impacts Linux Systems On Intel CPUs

Slashdot - Sat, 2024-04-13 22:34
An anonymous reader shared this report from BleepingComputer: Researchers have demonstrated the "first native Spectre v2 exploit" for a new speculative execution side-channel flaw that impacts Linux systems running on many modern Intel processors. Spectre V2 is a new variant of the original Spectre attack discovered by a team of researchers at the VUSec group from VU Amsterdam. The researchers also released a tool that uses symbolic execution to identify exploitable code segments within the Linux kernel to help with mitigation. The new finding underscores the challenges in balancing performance optimization with security, which makes addressing fundamental CPU flaws complicated even six years after the discovery of the original Spectre.... As the CERT Coordination Center (CERT/CC) disclosed yesterday, the new flaw, tracked as CVE-2024-2201, allows unauthenticated attackers to read arbitrary memory data by leveraging speculative execution, bypassing present security mechanisms designed to isolate privilege levels. "An unauthenticated attacker can exploit this vulnerability to leak privileged memory from the CPU by speculatively jumping to a chosen gadget," reads the CERT/CC announcement. "Current research shows that existing mitigation techniques of disabling privileged eBPF and enabling (Fine)IBT are insufficient in stopping BHI exploitation against the kernel/hypervisor." "For a complete list of impacted Intel processors to the various speculative execution side-channel flaws, check this page updated by the vendor."

Read more of this story at Slashdot.

Categories: Computer, News

Pages